~ubuntu-branches/ubuntu/trusty/libnetfilter-log/trusty-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Wirt
  • Date: 2010-12-16 15:13:31 UTC
  • mfrom: (2.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20101216151331-1dmyy8bl4w1t0xi3
Tags: 1.0.0-1
* New upstream version (Closes: #589157)
* Update maintainer address
* Bump standards version
* Move libnetfilter-log1-dbg to section debug
* Add ${misc:Depends} to binary packages

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.
 
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
699
PACKAGE_NAME=
729
701
PACKAGE_VERSION=
730
702
PACKAGE_STRING=
731
703
PACKAGE_BUGREPORT=
 
704
PACKAGE_URL=
732
705
 
733
706
# Factoring default headers for most tests.
734
707
ac_includes_default="\
766
739
# include <unistd.h>
767
740
#endif"
768
741
 
769
 
ac_subst_vars='SHELL
770
 
PATH_SEPARATOR
771
 
PACKAGE_NAME
772
 
PACKAGE_TARNAME
773
 
PACKAGE_VERSION
774
 
PACKAGE_STRING
775
 
PACKAGE_BUGREPORT
776
 
exec_prefix
777
 
prefix
778
 
program_transform_name
779
 
bindir
780
 
sbindir
781
 
libexecdir
782
 
datarootdir
783
 
datadir
784
 
sysconfdir
785
 
sharedstatedir
786
 
localstatedir
787
 
includedir
788
 
oldincludedir
789
 
docdir
790
 
infodir
791
 
htmldir
792
 
dvidir
793
 
pdfdir
794
 
psdir
795
 
libdir
796
 
localedir
797
 
mandir
798
 
DEFS
799
 
ECHO_C
800
 
ECHO_N
801
 
ECHO_T
802
 
LIBS
803
 
build_alias
804
 
host_alias
805
 
target_alias
806
 
build
807
 
build_cpu
808
 
build_vendor
809
 
build_os
810
 
host
811
 
host_cpu
812
 
host_vendor
813
 
host_os
814
 
target
815
 
target_cpu
816
 
target_vendor
817
 
target_os
818
 
INSTALL_PROGRAM
819
 
INSTALL_SCRIPT
820
 
INSTALL_DATA
821
 
am__isrc
822
 
CYGPATH_W
823
 
PACKAGE
824
 
VERSION
825
 
ACLOCAL
826
 
AUTOCONF
827
 
AUTOMAKE
828
 
AUTOHEADER
829
 
MAKEINFO
830
 
install_sh
831
 
STRIP
832
 
INSTALL_STRIP_PROGRAM
833
 
mkdir_p
834
 
AWK
835
 
SET_MAKE
836
 
am__leading_dot
837
 
AMTAR
838
 
am__tar
839
 
am__untar
840
 
CC
841
 
CFLAGS
842
 
LDFLAGS
843
 
CPPFLAGS
844
 
ac_ct_CC
845
 
EXEEXT
846
 
OBJEXT
847
 
DEPDIR
848
 
am__include
849
 
am__quote
850
 
AMDEP_TRUE
851
 
AMDEP_FALSE
852
 
AMDEPBACKSLASH
853
 
CCDEPMODE
854
 
am__fastdepCC_TRUE
855
 
am__fastdepCC_FALSE
 
742
ac_subst_vars='am__EXEEXT_FALSE
 
743
am__EXEEXT_TRUE
 
744
LTLIBOBJS
 
745
LIBOBJS
 
746
LIBNFLOG_LIBS
 
747
LIBNFNETLINK_LIBS
 
748
LIBNFNETLINK_CFLAGS
 
749
PKG_CONFIG_LIBDIR
 
750
PKG_CONFIG_PATH
 
751
PKG_CONFIG
 
752
LIBTOOL_DEPS
 
753
CPP
 
754
OTOOL64
 
755
OTOOL
 
756
LIPO
 
757
NMEDIT
 
758
DSYMUTIL
 
759
lt_ECHO
 
760
RANLIB
 
761
AR
 
762
OBJDUMP
 
763
LN_S
 
764
NM
 
765
ac_ct_DUMPBIN
 
766
DUMPBIN
 
767
LD
 
768
FGREP
 
769
EGREP
 
770
GREP
856
771
SED
857
 
GREP
858
 
EGREP
859
 
LN_S
860
 
ECHO
861
 
AR
862
 
RANLIB
863
 
DSYMUTIL
864
 
NMEDIT
865
 
CPP
866
 
CXX
867
 
CXXFLAGS
868
 
ac_ct_CXX
869
 
CXXDEPMODE
870
 
am__fastdepCXX_TRUE
871
 
am__fastdepCXX_FALSE
872
 
CXXCPP
873
 
F77
874
 
FFLAGS
875
 
ac_ct_F77
876
772
LIBTOOL
877
 
LIBTOOL_DEPS
878
 
PKG_CONFIG
879
 
LIBNFNETLINK_CFLAGS
880
 
LIBNFNETLINK_LIBS
881
 
LIBNFLOG_LIBS
882
 
LIBOBJS
883
 
LTLIBOBJS'
 
773
am__fastdepCC_FALSE
 
774
am__fastdepCC_TRUE
 
775
CCDEPMODE
 
776
AMDEPBACKSLASH
 
777
AMDEP_FALSE
 
778
AMDEP_TRUE
 
779
am__quote
 
780
am__include
 
781
DEPDIR
 
782
OBJEXT
 
783
EXEEXT
 
784
ac_ct_CC
 
785
CPPFLAGS
 
786
LDFLAGS
 
787
CFLAGS
 
788
CC
 
789
am__untar
 
790
am__tar
 
791
AMTAR
 
792
am__leading_dot
 
793
SET_MAKE
 
794
AWK
 
795
mkdir_p
 
796
MKDIR_P
 
797
INSTALL_STRIP_PROGRAM
 
798
STRIP
 
799
install_sh
 
800
MAKEINFO
 
801
AUTOHEADER
 
802
AUTOMAKE
 
803
AUTOCONF
 
804
ACLOCAL
 
805
VERSION
 
806
PACKAGE
 
807
CYGPATH_W
 
808
am__isrc
 
809
INSTALL_DATA
 
810
INSTALL_SCRIPT
 
811
INSTALL_PROGRAM
 
812
target_os
 
813
target_vendor
 
814
target_cpu
 
815
target
 
816
host_os
 
817
host_vendor
 
818
host_cpu
 
819
host
 
820
build_os
 
821
build_vendor
 
822
build_cpu
 
823
build
 
824
target_alias
 
825
host_alias
 
826
build_alias
 
827
LIBS
 
828
ECHO_T
 
829
ECHO_N
 
830
ECHO_C
 
831
DEFS
 
832
mandir
 
833
localedir
 
834
libdir
 
835
psdir
 
836
pdfdir
 
837
dvidir
 
838
htmldir
 
839
infodir
 
840
docdir
 
841
oldincludedir
 
842
includedir
 
843
localstatedir
 
844
sharedstatedir
 
845
sysconfdir
 
846
datadir
 
847
datarootdir
 
848
libexecdir
 
849
sbindir
 
850
bindir
 
851
program_transform_name
 
852
prefix
 
853
exec_prefix
 
854
PACKAGE_URL
 
855
PACKAGE_BUGREPORT
 
856
PACKAGE_STRING
 
857
PACKAGE_VERSION
 
858
PACKAGE_TARNAME
 
859
PACKAGE_NAME
 
860
PATH_SEPARATOR
 
861
SHELL'
884
862
ac_subst_files=''
 
863
ac_user_opts='
 
864
enable_option_checking
 
865
enable_dependency_tracking
 
866
enable_shared
 
867
enable_static
 
868
with_pic
 
869
enable_fast_install
 
870
with_gnu_ld
 
871
enable_libtool_lock
 
872
'
885
873
      ac_precious_vars='build_alias
886
874
host_alias
887
875
target_alias
891
879
LIBS
892
880
CPPFLAGS
893
881
CPP
894
 
CXX
895
 
CXXFLAGS
896
 
CCC
897
 
CXXCPP
898
 
F77
899
 
FFLAGS
900
882
PKG_CONFIG
 
883
PKG_CONFIG_PATH
 
884
PKG_CONFIG_LIBDIR
901
885
LIBNFNETLINK_CFLAGS
902
886
LIBNFNETLINK_LIBS'
903
887
 
905
889
# Initialize some variables set by options.
906
890
ac_init_help=
907
891
ac_init_version=false
 
892
ac_unrecognized_opts=
 
893
ac_unrecognized_sep=
908
894
# The variables have the same names as the options, with
909
895
# dashes changed to underlines.
910
896
cache_file=/dev/null
1003
989
    datarootdir=$ac_optarg ;;
1004
990
 
1005
991
  -disable-* | --disable-*)
1006
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
992
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1007
993
    # Reject names that are not valid shell variable names.
1008
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1009
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1010
 
   { (exit 1); exit 1; }; }
1011
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1012
 
    eval enable_$ac_feature=no ;;
 
994
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
995
      as_fn_error "invalid feature name: $ac_useropt"
 
996
    ac_useropt_orig=$ac_useropt
 
997
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
998
    case $ac_user_opts in
 
999
      *"
 
1000
"enable_$ac_useropt"
 
1001
"*) ;;
 
1002
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1003
         ac_unrecognized_sep=', ';;
 
1004
    esac
 
1005
    eval enable_$ac_useropt=no ;;
1013
1006
 
1014
1007
  -docdir | --docdir | --docdi | --doc | --do)
1015
1008
    ac_prev=docdir ;;
1022
1015
    dvidir=$ac_optarg ;;
1023
1016
 
1024
1017
  -enable-* | --enable-*)
1025
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1018
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1026
1019
    # Reject names that are not valid shell variable names.
1027
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1028
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1029
 
   { (exit 1); exit 1; }; }
1030
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1031
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
1020
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1021
      as_fn_error "invalid feature name: $ac_useropt"
 
1022
    ac_useropt_orig=$ac_useropt
 
1023
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1024
    case $ac_user_opts in
 
1025
      *"
 
1026
"enable_$ac_useropt"
 
1027
"*) ;;
 
1028
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1029
         ac_unrecognized_sep=', ';;
 
1030
    esac
 
1031
    eval enable_$ac_useropt=\$ac_optarg ;;
1032
1032
 
1033
1033
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1034
1034
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1219
1219
    ac_init_version=: ;;
1220
1220
 
1221
1221
  -with-* | --with-*)
1222
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1222
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1223
1223
    # Reject names that are not valid shell variable names.
1224
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1225
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1226
 
   { (exit 1); exit 1; }; }
1227
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1228
 
    eval with_$ac_package=\$ac_optarg ;;
 
1224
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1225
      as_fn_error "invalid package name: $ac_useropt"
 
1226
    ac_useropt_orig=$ac_useropt
 
1227
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1228
    case $ac_user_opts in
 
1229
      *"
 
1230
"with_$ac_useropt"
 
1231
"*) ;;
 
1232
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1233
         ac_unrecognized_sep=', ';;
 
1234
    esac
 
1235
    eval with_$ac_useropt=\$ac_optarg ;;
1229
1236
 
1230
1237
  -without-* | --without-*)
1231
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1238
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1232
1239
    # Reject names that are not valid shell variable names.
1233
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1234
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1235
 
   { (exit 1); exit 1; }; }
1236
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1237
 
    eval with_$ac_package=no ;;
 
1240
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1241
      as_fn_error "invalid package name: $ac_useropt"
 
1242
    ac_useropt_orig=$ac_useropt
 
1243
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1244
    case $ac_user_opts in
 
1245
      *"
 
1246
"with_$ac_useropt"
 
1247
"*) ;;
 
1248
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1249
         ac_unrecognized_sep=', ';;
 
1250
    esac
 
1251
    eval with_$ac_useropt=no ;;
1238
1252
 
1239
1253
  --x)
1240
1254
    # Obsolete; use --with-x.
1254
1268
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1255
1269
    x_libraries=$ac_optarg ;;
1256
1270
 
1257
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1258
 
Try \`$0 --help' for more information." >&2
1259
 
   { (exit 1); exit 1; }; }
 
1271
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1272
Try \`$0 --help' for more information."
1260
1273
    ;;
1261
1274
 
1262
1275
  *=*)
1263
1276
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1264
1277
    # Reject names that are not valid shell variable names.
1265
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1266
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1267
 
   { (exit 1); exit 1; }; }
 
1278
    case $ac_envvar in #(
 
1279
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1280
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1281
    esac
1268
1282
    eval $ac_envvar=\$ac_optarg
1269
1283
    export $ac_envvar ;;
1270
1284
 
1271
1285
  *)
1272
1286
    # FIXME: should be removed in autoconf 3.0.
1273
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1287
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1274
1288
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1275
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1289
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1276
1290
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1277
1291
    ;;
1278
1292
 
1281
1295
 
1282
1296
if test -n "$ac_prev"; then
1283
1297
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1284
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1285
 
   { (exit 1); exit 1; }; }
1286
 
fi
1287
 
 
1288
 
# Be sure to have absolute directory names.
 
1298
  as_fn_error "missing argument to $ac_option"
 
1299
fi
 
1300
 
 
1301
if test -n "$ac_unrecognized_opts"; then
 
1302
  case $enable_option_checking in
 
1303
    no) ;;
 
1304
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1305
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1306
  esac
 
1307
fi
 
1308
 
 
1309
# Check all directory arguments for consistency.
1289
1310
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1290
1311
                datadir sysconfdir sharedstatedir localstatedir includedir \
1291
1312
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1292
1313
                libdir localedir mandir
1293
1314
do
1294
1315
  eval ac_val=\$$ac_var
 
1316
  # Remove trailing slashes.
 
1317
  case $ac_val in
 
1318
    */ )
 
1319
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1320
      eval $ac_var=\$ac_val;;
 
1321
  esac
 
1322
  # Be sure to have absolute directory names.
1295
1323
  case $ac_val in
1296
1324
    [\\/$]* | ?:[\\/]* )  continue;;
1297
1325
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1298
1326
  esac
1299
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1300
 
   { (exit 1); exit 1; }; }
 
1327
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1301
1328
done
1302
1329
 
1303
1330
# There might be people who depend on the old broken behavior: `$host'
1311
1338
if test "x$host_alias" != x; then
1312
1339
  if test "x$build_alias" = x; then
1313
1340
    cross_compiling=maybe
1314
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1341
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1315
1342
    If a cross compiler is detected then cross compile mode will be used." >&2
1316
1343
  elif test "x$build_alias" != "x$host_alias"; then
1317
1344
    cross_compiling=yes
1327
1354
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1328
1355
ac_ls_di=`ls -di .` &&
1329
1356
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1330
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1331
 
   { (exit 1); exit 1; }; }
 
1357
  as_fn_error "working directory cannot be determined"
1332
1358
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1333
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1334
 
   { (exit 1); exit 1; }; }
 
1359
  as_fn_error "pwd does not report name of working directory"
1335
1360
 
1336
1361
 
1337
1362
# Find the source files, if location was not specified.
1338
1363
if test -z "$srcdir"; then
1339
1364
  ac_srcdir_defaulted=yes
1340
1365
  # Try the directory containing this script, then the parent directory.
1341
 
  ac_confdir=`$as_dirname -- "$0" ||
1342
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1343
 
         X"$0" : 'X\(//\)[^/]' \| \
1344
 
         X"$0" : 'X\(//\)$' \| \
1345
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1346
 
echo X"$0" |
 
1366
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1367
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1368
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1369
         X"$as_myself" : 'X\(//\)$' \| \
 
1370
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1371
$as_echo X"$as_myself" |
1347
1372
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1348
1373
            s//\1/
1349
1374
            q
1370
1395
fi
1371
1396
if test ! -r "$srcdir/$ac_unique_file"; then
1372
1397
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1373
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1374
 
   { (exit 1); exit 1; }; }
 
1398
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1375
1399
fi
1376
1400
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1377
1401
ac_abs_confdir=`(
1378
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1379
 
   { (exit 1); exit 1; }; }
 
1402
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1380
1403
        pwd)`
1381
1404
# When building in place, set srcdir=.
1382
1405
if test "$ac_abs_confdir" = "$ac_pwd"; then
1424
1447
 
1425
1448
Installation directories:
1426
1449
  --prefix=PREFIX         install architecture-independent files in PREFIX
1427
 
                          [$ac_default_prefix]
 
1450
                          [$ac_default_prefix]
1428
1451
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1429
 
                          [PREFIX]
 
1452
                          [PREFIX]
1430
1453
 
1431
1454
By default, \`make install' will install all the files in
1432
1455
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1436
1459
For better control, use the options below.
1437
1460
 
1438
1461
Fine tuning of the installation directories:
1439
 
  --bindir=DIR           user executables [EPREFIX/bin]
1440
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1441
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1442
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1443
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1444
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1445
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1446
 
  --includedir=DIR       C header files [PREFIX/include]
1447
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1448
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1449
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1450
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1451
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1452
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1453
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1454
 
  --htmldir=DIR          html documentation [DOCDIR]
1455
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1456
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1457
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1462
  --bindir=DIR            user executables [EPREFIX/bin]
 
1463
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1464
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1465
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1466
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1467
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1468
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1469
  --includedir=DIR        C header files [PREFIX/include]
 
1470
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1471
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1472
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1473
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1474
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1475
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1476
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
 
1477
  --htmldir=DIR           html documentation [DOCDIR]
 
1478
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1479
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1480
  --psdir=DIR             ps documentation [DOCDIR]
1458
1481
_ACEOF
1459
1482
 
1460
1483
  cat <<\_ACEOF
1476
1499
  cat <<\_ACEOF
1477
1500
 
1478
1501
Optional Features:
 
1502
  --disable-option-checking  ignore unrecognized --enable/--with options
1479
1503
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1480
1504
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1481
1505
  --disable-dependency-tracking  speeds up one-time build
1489
1513
Optional Packages:
1490
1514
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1491
1515
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1492
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1493
1516
  --with-pic              try to use only PIC/non-PIC objects [default=use
1494
1517
                          both]
1495
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1518
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1496
1519
 
1497
1520
Some influential environment variables:
1498
1521
  CC          C compiler command
1500
1523
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1501
1524
              nonstandard directory <lib dir>
1502
1525
  LIBS        libraries to pass to the linker, e.g. -l<library>
1503
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1526
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1504
1527
              you have headers in a nonstandard directory <include dir>
1505
1528
  CPP         C preprocessor
1506
 
  CXX         C++ compiler command
1507
 
  CXXFLAGS    C++ compiler flags
1508
 
  CXXCPP      C++ preprocessor
1509
 
  F77         Fortran 77 compiler command
1510
 
  FFLAGS      Fortran 77 compiler flags
1511
1529
  PKG_CONFIG  path to pkg-config utility
 
1530
  PKG_CONFIG_PATH
 
1531
              directories to add to pkg-config's search path
 
1532
  PKG_CONFIG_LIBDIR
 
1533
              path overriding pkg-config's built-in search path
1512
1534
  LIBNFNETLINK_CFLAGS
1513
1535
              C compiler flags for LIBNFNETLINK, overriding pkg-config
1514
1536
  LIBNFNETLINK_LIBS
1517
1539
Use these variables to override the choices made by `configure' or to help
1518
1540
it to find libraries and programs with nonstandard names/locations.
1519
1541
 
 
1542
Report bugs to the package provider.
1520
1543
_ACEOF
1521
1544
ac_status=$?
1522
1545
fi
1524
1547
if test "$ac_init_help" = "recursive"; then
1525
1548
  # If there are subdirs, report their specific --help.
1526
1549
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1527
 
    test -d "$ac_dir" || continue
 
1550
    test -d "$ac_dir" ||
 
1551
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1552
      continue
1528
1553
    ac_builddir=.
1529
1554
 
1530
1555
case "$ac_dir" in
1531
1556
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1532
1557
*)
1533
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1558
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1534
1559
  # A ".." for each directory in $ac_dir_suffix.
1535
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1560
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1536
1561
  case $ac_top_builddir_sub in
1537
1562
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1538
1563
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1568
1593
      echo &&
1569
1594
      $SHELL "$ac_srcdir/configure" --help=recursive
1570
1595
    else
1571
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1596
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1572
1597
    fi || ac_status=$?
1573
1598
    cd "$ac_pwd" || { ac_status=$?; break; }
1574
1599
  done
1578
1603
if $ac_init_version; then
1579
1604
  cat <<\_ACEOF
1580
1605
configure
1581
 
generated by GNU Autoconf 2.61
 
1606
generated by GNU Autoconf 2.65
1582
1607
 
1583
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1584
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1608
Copyright (C) 2009 Free Software Foundation, Inc.
1585
1609
This configure script is free software; the Free Software Foundation
1586
1610
gives unlimited permission to copy, distribute and modify it.
1587
1611
_ACEOF
1588
1612
  exit
1589
1613
fi
 
1614
 
 
1615
## ------------------------ ##
 
1616
## Autoconf initialization. ##
 
1617
## ------------------------ ##
 
1618
 
 
1619
# ac_fn_c_try_compile LINENO
 
1620
# --------------------------
 
1621
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1622
ac_fn_c_try_compile ()
 
1623
{
 
1624
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1625
  rm -f conftest.$ac_objext
 
1626
  if { { ac_try="$ac_compile"
 
1627
case "(($ac_try" in
 
1628
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1629
  *) ac_try_echo=$ac_try;;
 
1630
esac
 
1631
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1632
$as_echo "$ac_try_echo"; } >&5
 
1633
  (eval "$ac_compile") 2>conftest.err
 
1634
  ac_status=$?
 
1635
  if test -s conftest.err; then
 
1636
    grep -v '^ *+' conftest.err >conftest.er1
 
1637
    cat conftest.er1 >&5
 
1638
    mv -f conftest.er1 conftest.err
 
1639
  fi
 
1640
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1641
  test $ac_status = 0; } && {
 
1642
         test -z "$ac_c_werror_flag" ||
 
1643
         test ! -s conftest.err
 
1644
       } && test -s conftest.$ac_objext; then :
 
1645
  ac_retval=0
 
1646
else
 
1647
  $as_echo "$as_me: failed program was:" >&5
 
1648
sed 's/^/| /' conftest.$ac_ext >&5
 
1649
 
 
1650
        ac_retval=1
 
1651
fi
 
1652
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1653
  as_fn_set_status $ac_retval
 
1654
 
 
1655
} # ac_fn_c_try_compile
 
1656
 
 
1657
# ac_fn_c_try_link LINENO
 
1658
# -----------------------
 
1659
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1660
ac_fn_c_try_link ()
 
1661
{
 
1662
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1663
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1664
  if { { ac_try="$ac_link"
 
1665
case "(($ac_try" in
 
1666
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1667
  *) ac_try_echo=$ac_try;;
 
1668
esac
 
1669
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1670
$as_echo "$ac_try_echo"; } >&5
 
1671
  (eval "$ac_link") 2>conftest.err
 
1672
  ac_status=$?
 
1673
  if test -s conftest.err; then
 
1674
    grep -v '^ *+' conftest.err >conftest.er1
 
1675
    cat conftest.er1 >&5
 
1676
    mv -f conftest.er1 conftest.err
 
1677
  fi
 
1678
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1679
  test $ac_status = 0; } && {
 
1680
         test -z "$ac_c_werror_flag" ||
 
1681
         test ! -s conftest.err
 
1682
       } && test -s conftest$ac_exeext && {
 
1683
         test "$cross_compiling" = yes ||
 
1684
         $as_test_x conftest$ac_exeext
 
1685
       }; then :
 
1686
  ac_retval=0
 
1687
else
 
1688
  $as_echo "$as_me: failed program was:" >&5
 
1689
sed 's/^/| /' conftest.$ac_ext >&5
 
1690
 
 
1691
        ac_retval=1
 
1692
fi
 
1693
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1694
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1695
  # interfere with the next link command; also delete a directory that is
 
1696
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1697
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1698
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1699
  as_fn_set_status $ac_retval
 
1700
 
 
1701
} # ac_fn_c_try_link
 
1702
 
 
1703
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1704
# -------------------------------------------------------
 
1705
# Tests whether HEADER exists and can be compiled using the include files in
 
1706
# INCLUDES, setting the cache variable VAR accordingly.
 
1707
ac_fn_c_check_header_compile ()
 
1708
{
 
1709
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1710
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1711
$as_echo_n "checking for $2... " >&6; }
 
1712
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1713
  $as_echo_n "(cached) " >&6
 
1714
else
 
1715
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1716
/* end confdefs.h.  */
 
1717
$4
 
1718
#include <$2>
 
1719
_ACEOF
 
1720
if ac_fn_c_try_compile "$LINENO"; then :
 
1721
  eval "$3=yes"
 
1722
else
 
1723
  eval "$3=no"
 
1724
fi
 
1725
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1726
fi
 
1727
eval ac_res=\$$3
 
1728
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1729
$as_echo "$ac_res" >&6; }
 
1730
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1731
 
 
1732
} # ac_fn_c_check_header_compile
 
1733
 
 
1734
# ac_fn_c_try_cpp LINENO
 
1735
# ----------------------
 
1736
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1737
ac_fn_c_try_cpp ()
 
1738
{
 
1739
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1740
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1741
case "(($ac_try" in
 
1742
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1743
  *) ac_try_echo=$ac_try;;
 
1744
esac
 
1745
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1746
$as_echo "$ac_try_echo"; } >&5
 
1747
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1748
  ac_status=$?
 
1749
  if test -s conftest.err; then
 
1750
    grep -v '^ *+' conftest.err >conftest.er1
 
1751
    cat conftest.er1 >&5
 
1752
    mv -f conftest.er1 conftest.err
 
1753
  fi
 
1754
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1755
  test $ac_status = 0; } >/dev/null && {
 
1756
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1757
         test ! -s conftest.err
 
1758
       }; then :
 
1759
  ac_retval=0
 
1760
else
 
1761
  $as_echo "$as_me: failed program was:" >&5
 
1762
sed 's/^/| /' conftest.$ac_ext >&5
 
1763
 
 
1764
    ac_retval=1
 
1765
fi
 
1766
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1767
  as_fn_set_status $ac_retval
 
1768
 
 
1769
} # ac_fn_c_try_cpp
 
1770
 
 
1771
# ac_fn_c_try_run LINENO
 
1772
# ----------------------
 
1773
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1774
# that executables *can* be run.
 
1775
ac_fn_c_try_run ()
 
1776
{
 
1777
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1778
  if { { ac_try="$ac_link"
 
1779
case "(($ac_try" in
 
1780
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1781
  *) ac_try_echo=$ac_try;;
 
1782
esac
 
1783
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1784
$as_echo "$ac_try_echo"; } >&5
 
1785
  (eval "$ac_link") 2>&5
 
1786
  ac_status=$?
 
1787
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1788
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1789
  { { case "(($ac_try" in
 
1790
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1791
  *) ac_try_echo=$ac_try;;
 
1792
esac
 
1793
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1794
$as_echo "$ac_try_echo"; } >&5
 
1795
  (eval "$ac_try") 2>&5
 
1796
  ac_status=$?
 
1797
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1798
  test $ac_status = 0; }; }; then :
 
1799
  ac_retval=0
 
1800
else
 
1801
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1802
       $as_echo "$as_me: failed program was:" >&5
 
1803
sed 's/^/| /' conftest.$ac_ext >&5
 
1804
 
 
1805
       ac_retval=$ac_status
 
1806
fi
 
1807
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1808
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1809
  as_fn_set_status $ac_retval
 
1810
 
 
1811
} # ac_fn_c_try_run
 
1812
 
 
1813
# ac_fn_c_check_func LINENO FUNC VAR
 
1814
# ----------------------------------
 
1815
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1816
ac_fn_c_check_func ()
 
1817
{
 
1818
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1819
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1820
$as_echo_n "checking for $2... " >&6; }
 
1821
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1822
  $as_echo_n "(cached) " >&6
 
1823
else
 
1824
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1825
/* end confdefs.h.  */
 
1826
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1827
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1828
#define $2 innocuous_$2
 
1829
 
 
1830
/* System header to define __stub macros and hopefully few prototypes,
 
1831
    which can conflict with char $2 (); below.
 
1832
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1833
    <limits.h> exists even on freestanding compilers.  */
 
1834
 
 
1835
#ifdef __STDC__
 
1836
# include <limits.h>
 
1837
#else
 
1838
# include <assert.h>
 
1839
#endif
 
1840
 
 
1841
#undef $2
 
1842
 
 
1843
/* Override any GCC internal prototype to avoid an error.
 
1844
   Use char because int might match the return type of a GCC
 
1845
   builtin and then its argument prototype would still apply.  */
 
1846
#ifdef __cplusplus
 
1847
extern "C"
 
1848
#endif
 
1849
char $2 ();
 
1850
/* The GNU C library defines this for functions which it implements
 
1851
    to always fail with ENOSYS.  Some functions are actually named
 
1852
    something starting with __ and the normal name is an alias.  */
 
1853
#if defined __stub_$2 || defined __stub___$2
 
1854
choke me
 
1855
#endif
 
1856
 
 
1857
int
 
1858
main ()
 
1859
{
 
1860
return $2 ();
 
1861
  ;
 
1862
  return 0;
 
1863
}
 
1864
_ACEOF
 
1865
if ac_fn_c_try_link "$LINENO"; then :
 
1866
  eval "$3=yes"
 
1867
else
 
1868
  eval "$3=no"
 
1869
fi
 
1870
rm -f core conftest.err conftest.$ac_objext \
 
1871
    conftest$ac_exeext conftest.$ac_ext
 
1872
fi
 
1873
eval ac_res=\$$3
 
1874
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1875
$as_echo "$ac_res" >&6; }
 
1876
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1877
 
 
1878
} # ac_fn_c_check_func
1590
1879
cat >config.log <<_ACEOF
1591
1880
This file contains any messages produced by compilers while
1592
1881
running configure, to aid debugging if configure makes a mistake.
1593
1882
 
1594
1883
It was created by $as_me, which was
1595
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1884
generated by GNU Autoconf 2.65.  Invocation command line was
1596
1885
 
1597
1886
  $ $0 $@
1598
1887
 
1628
1917
do
1629
1918
  IFS=$as_save_IFS
1630
1919
  test -z "$as_dir" && as_dir=.
1631
 
  echo "PATH: $as_dir"
1632
 
done
 
1920
    $as_echo "PATH: $as_dir"
 
1921
  done
1633
1922
IFS=$as_save_IFS
1634
1923
 
1635
1924
} >&5
1663
1952
    | -silent | --silent | --silen | --sile | --sil)
1664
1953
      continue ;;
1665
1954
    *\'*)
1666
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1955
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1667
1956
    esac
1668
1957
    case $ac_pass in
1669
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1958
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1670
1959
    2)
1671
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1960
      as_fn_append ac_configure_args1 " '$ac_arg'"
1672
1961
      if test $ac_must_keep_next = true; then
1673
1962
        ac_must_keep_next=false # Got value, back to normal.
1674
1963
      else
1684
1973
          -* ) ac_must_keep_next=true ;;
1685
1974
        esac
1686
1975
      fi
1687
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1976
      as_fn_append ac_configure_args " '$ac_arg'"
1688
1977
      ;;
1689
1978
    esac
1690
1979
  done
1691
1980
done
1692
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1693
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1981
{ ac_configure_args0=; unset ac_configure_args0;}
 
1982
{ ac_configure_args1=; unset ac_configure_args1;}
1694
1983
 
1695
1984
# When interrupted or exit'd, cleanup temporary files, and complete
1696
1985
# config.log.  We remove comments because anyway the quotes in there
1715
2004
    case $ac_val in #(
1716
2005
    *${as_nl}*)
1717
2006
      case $ac_var in #(
1718
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1719
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
2007
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2008
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1720
2009
      esac
1721
2010
      case $ac_var in #(
1722
2011
      _ | IFS | as_nl) ;; #(
1723
 
      *) $as_unset $ac_var ;;
 
2012
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2013
      *) { eval $ac_var=; unset $ac_var;} ;;
1724
2014
      esac ;;
1725
2015
    esac
1726
2016
  done
1749
2039
    do
1750
2040
      eval ac_val=\$$ac_var
1751
2041
      case $ac_val in
1752
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2042
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1753
2043
      esac
1754
 
      echo "$ac_var='\''$ac_val'\''"
 
2044
      $as_echo "$ac_var='\''$ac_val'\''"
1755
2045
    done | sort
1756
2046
    echo
1757
2047
 
1766
2056
      do
1767
2057
        eval ac_val=\$$ac_var
1768
2058
        case $ac_val in
1769
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2059
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1770
2060
        esac
1771
 
        echo "$ac_var='\''$ac_val'\''"
 
2061
        $as_echo "$ac_var='\''$ac_val'\''"
1772
2062
      done | sort
1773
2063
      echo
1774
2064
    fi
1784
2074
      echo
1785
2075
    fi
1786
2076
    test "$ac_signal" != 0 &&
1787
 
      echo "$as_me: caught signal $ac_signal"
1788
 
    echo "$as_me: exit $exit_status"
 
2077
      $as_echo "$as_me: caught signal $ac_signal"
 
2078
    $as_echo "$as_me: exit $exit_status"
1789
2079
  } >&5
1790
2080
  rm -f core *.core core.conftest.* &&
1791
2081
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1792
2082
    exit $exit_status
1793
2083
' 0
1794
2084
for ac_signal in 1 2 13 15; do
1795
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2085
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1796
2086
done
1797
2087
ac_signal=0
1798
2088
 
1799
2089
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1800
2090
rm -f -r conftest* confdefs.h
1801
2091
 
 
2092
$as_echo "/* confdefs.h */" > confdefs.h
 
2093
 
1802
2094
# Predefined preprocessor variables.
1803
2095
 
1804
2096
cat >>confdefs.h <<_ACEOF
1805
2097
#define PACKAGE_NAME "$PACKAGE_NAME"
1806
2098
_ACEOF
1807
2099
 
1808
 
 
1809
2100
cat >>confdefs.h <<_ACEOF
1810
2101
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1811
2102
_ACEOF
1812
2103
 
1813
 
 
1814
2104
cat >>confdefs.h <<_ACEOF
1815
2105
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1816
2106
_ACEOF
1817
2107
 
1818
 
 
1819
2108
cat >>confdefs.h <<_ACEOF
1820
2109
#define PACKAGE_STRING "$PACKAGE_STRING"
1821
2110
_ACEOF
1822
2111
 
1823
 
 
1824
2112
cat >>confdefs.h <<_ACEOF
1825
2113
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1826
2114
_ACEOF
1827
2115
 
 
2116
cat >>confdefs.h <<_ACEOF
 
2117
#define PACKAGE_URL "$PACKAGE_URL"
 
2118
_ACEOF
 
2119
 
1828
2120
 
1829
2121
# Let the site file select an alternate cache file if it wants to.
1830
 
# Prefer explicitly selected file to automatically selected ones.
 
2122
# Prefer an explicitly selected file to automatically selected ones.
 
2123
ac_site_file1=NONE
 
2124
ac_site_file2=NONE
1831
2125
if test -n "$CONFIG_SITE"; then
1832
 
  set x "$CONFIG_SITE"
 
2126
  ac_site_file1=$CONFIG_SITE
1833
2127
elif test "x$prefix" != xNONE; then
1834
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
2128
  ac_site_file1=$prefix/share/config.site
 
2129
  ac_site_file2=$prefix/etc/config.site
1835
2130
else
1836
 
  set x "$ac_default_prefix/share/config.site" \
1837
 
        "$ac_default_prefix/etc/config.site"
 
2131
  ac_site_file1=$ac_default_prefix/share/config.site
 
2132
  ac_site_file2=$ac_default_prefix/etc/config.site
1838
2133
fi
1839
 
shift
1840
 
for ac_site_file
 
2134
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1841
2135
do
1842
 
  if test -r "$ac_site_file"; then
1843
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1844
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
2136
  test "x$ac_site_file" = xNONE && continue
 
2137
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2138
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2139
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1845
2140
    sed 's/^/| /' "$ac_site_file" >&5
1846
2141
    . "$ac_site_file"
1847
2142
  fi
1848
2143
done
1849
2144
 
1850
2145
if test -r "$cache_file"; then
1851
 
  # Some versions of bash will fail to source /dev/null (special
1852
 
  # files actually), so we avoid doing that.
1853
 
  if test -f "$cache_file"; then
1854
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1855
 
echo "$as_me: loading cache $cache_file" >&6;}
 
2146
  # Some versions of bash will fail to source /dev/null (special files
 
2147
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2148
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2149
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2150
$as_echo "$as_me: loading cache $cache_file" >&6;}
1856
2151
    case $cache_file in
1857
2152
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1858
2153
      *)                      . "./$cache_file";;
1859
2154
    esac
1860
2155
  fi
1861
2156
else
1862
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1863
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2157
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2158
$as_echo "$as_me: creating cache $cache_file" >&6;}
1864
2159
  >$cache_file
1865
2160
fi
1866
2161
 
1874
2169
  eval ac_new_val=\$ac_env_${ac_var}_value
1875
2170
  case $ac_old_set,$ac_new_set in
1876
2171
    set,)
1877
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1878
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2172
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2173
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1879
2174
      ac_cache_corrupted=: ;;
1880
2175
    ,set)
1881
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1882
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2176
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2177
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1883
2178
      ac_cache_corrupted=: ;;
1884
2179
    ,);;
1885
2180
    *)
1886
2181
      if test "x$ac_old_val" != "x$ac_new_val"; then
1887
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1888
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1889
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1890
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1891
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1892
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1893
 
        ac_cache_corrupted=:
 
2182
        # differences in whitespace do not lead to failure.
 
2183
        ac_old_val_w=`echo x $ac_old_val`
 
2184
        ac_new_val_w=`echo x $ac_new_val`
 
2185
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2186
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2187
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2188
          ac_cache_corrupted=:
 
2189
        else
 
2190
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2191
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2192
          eval $ac_var=\$ac_old_val
 
2193
        fi
 
2194
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2195
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2196
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2197
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1894
2198
      fi;;
1895
2199
  esac
1896
2200
  # Pass precious variables to config.status.
1897
2201
  if test "$ac_new_set" = set; then
1898
2202
    case $ac_new_val in
1899
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2203
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1900
2204
    *) ac_arg=$ac_var=$ac_new_val ;;
1901
2205
    esac
1902
2206
    case " $ac_configure_args " in
1903
2207
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1904
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2208
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1905
2209
    esac
1906
2210
  fi
1907
2211
done
1908
2212
if $ac_cache_corrupted; then
1909
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1910
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1911
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1912
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1913
 
   { (exit 1); exit 1; }; }
 
2213
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2214
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2215
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2216
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2217
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1914
2218
fi
1915
 
 
1916
 
 
1917
 
 
1918
 
 
1919
 
 
1920
 
 
1921
 
 
1922
 
 
1923
 
 
1924
 
 
1925
 
 
1926
 
 
1927
 
 
1928
 
 
1929
 
 
1930
 
 
 
2219
## -------------------- ##
 
2220
## Main body of script. ##
 
2221
## -------------------- ##
1931
2222
 
1932
2223
ac_ext=c
1933
2224
ac_cpp='$CPP $CPPFLAGS'
1939
2230
 
1940
2231
ac_aux_dir=
1941
2232
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1942
 
  if test -f "$ac_dir/install-sh"; then
1943
 
    ac_aux_dir=$ac_dir
1944
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
1945
 
    break
1946
 
  elif test -f "$ac_dir/install.sh"; then
1947
 
    ac_aux_dir=$ac_dir
1948
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
1949
 
    break
1950
 
  elif test -f "$ac_dir/shtool"; then
1951
 
    ac_aux_dir=$ac_dir
1952
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
1953
 
    break
1954
 
  fi
 
2233
  for ac_t in install-sh install.sh shtool; do
 
2234
    if test -f "$ac_dir/$ac_t"; then
 
2235
      ac_aux_dir=$ac_dir
 
2236
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2237
      break 2
 
2238
    fi
 
2239
  done
1955
2240
done
1956
2241
if test -z "$ac_aux_dir"; then
1957
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1958
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1959
 
   { (exit 1); exit 1; }; }
 
2242
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1960
2243
fi
1961
2244
 
1962
2245
# These three variables are undocumented and unsupported,
1970
2253
 
1971
2254
# Make sure we can run config.sub.
1972
2255
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1973
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1974
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1975
 
   { (exit 1); exit 1; }; }
 
2256
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1976
2257
 
1977
 
{ echo "$as_me:$LINENO: checking build system type" >&5
1978
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1979
 
if test "${ac_cv_build+set}" = set; then
1980
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2258
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
2259
$as_echo_n "checking build system type... " >&6; }
 
2260
if test "${ac_cv_build+set}" = set; then :
 
2261
  $as_echo_n "(cached) " >&6
1981
2262
else
1982
2263
  ac_build_alias=$build_alias
1983
2264
test "x$ac_build_alias" = x &&
1984
2265
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1985
2266
test "x$ac_build_alias" = x &&
1986
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1987
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1988
 
   { (exit 1); exit 1; }; }
 
2267
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
1989
2268
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1990
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1991
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1992
 
   { (exit 1); exit 1; }; }
 
2269
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1993
2270
 
1994
2271
fi
1995
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1996
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
2272
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
2273
$as_echo "$ac_cv_build" >&6; }
1997
2274
case $ac_cv_build in
1998
2275
*-*-*) ;;
1999
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2000
 
echo "$as_me: error: invalid value of canonical build" >&2;}
2001
 
   { (exit 1); exit 1; }; };;
 
2276
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2002
2277
esac
2003
2278
build=$ac_cv_build
2004
2279
ac_save_IFS=$IFS; IFS='-'
2014
2289
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2015
2290
 
2016
2291
 
2017
 
{ echo "$as_me:$LINENO: checking host system type" >&5
2018
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2019
 
if test "${ac_cv_host+set}" = set; then
2020
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2292
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
2293
$as_echo_n "checking host system type... " >&6; }
 
2294
if test "${ac_cv_host+set}" = set; then :
 
2295
  $as_echo_n "(cached) " >&6
2021
2296
else
2022
2297
  if test "x$host_alias" = x; then
2023
2298
  ac_cv_host=$ac_cv_build
2024
2299
else
2025
2300
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2026
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2027
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2028
 
   { (exit 1); exit 1; }; }
 
2301
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2029
2302
fi
2030
2303
 
2031
2304
fi
2032
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2033
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2305
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
2306
$as_echo "$ac_cv_host" >&6; }
2034
2307
case $ac_cv_host in
2035
2308
*-*-*) ;;
2036
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2037
 
echo "$as_me: error: invalid value of canonical host" >&2;}
2038
 
   { (exit 1); exit 1; }; };;
 
2309
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2039
2310
esac
2040
2311
host=$ac_cv_host
2041
2312
ac_save_IFS=$IFS; IFS='-'
2051
2322
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2052
2323
 
2053
2324
 
2054
 
{ echo "$as_me:$LINENO: checking target system type" >&5
2055
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2056
 
if test "${ac_cv_target+set}" = set; then
2057
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2325
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 
2326
$as_echo_n "checking target system type... " >&6; }
 
2327
if test "${ac_cv_target+set}" = set; then :
 
2328
  $as_echo_n "(cached) " >&6
2058
2329
else
2059
2330
  if test "x$target_alias" = x; then
2060
2331
  ac_cv_target=$ac_cv_host
2061
2332
else
2062
2333
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2063
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2064
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2065
 
   { (exit 1); exit 1; }; }
 
2334
    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2066
2335
fi
2067
2336
 
2068
2337
fi
2069
 
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2070
 
echo "${ECHO_T}$ac_cv_target" >&6; }
 
2338
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
 
2339
$as_echo "$ac_cv_target" >&6; }
2071
2340
case $ac_cv_target in
2072
2341
*-*-*) ;;
2073
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2074
 
echo "$as_me: error: invalid value of canonical target" >&2;}
2075
 
   { (exit 1); exit 1; }; };;
 
2342
*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2076
2343
esac
2077
2344
target=$ac_cv_target
2078
2345
ac_save_IFS=$IFS; IFS='-'
2095
2362
    NONENONEs,x,x, &&
2096
2363
  program_prefix=${target_alias}-
2097
2364
 
2098
 
am__api_version='1.10'
 
2365
 
 
2366
 
 
2367
am__api_version='1.11'
2099
2368
 
2100
2369
# Find a good install program.  We prefer a C program (faster),
2101
2370
# so one script is as good as another.  But avoid the broken or
2110
2379
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2111
2380
# OS/2's system install, which has a completely different semantic
2112
2381
# ./install, which can be erroneously created by make from ./install.sh.
2113
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2114
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
2382
# Reject install programs that cannot install multiple files.
 
2383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2384
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2115
2385
if test -z "$INSTALL"; then
2116
 
if test "${ac_cv_path_install+set}" = set; then
2117
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2386
if test "${ac_cv_path_install+set}" = set; then :
 
2387
  $as_echo_n "(cached) " >&6
2118
2388
else
2119
2389
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2120
2390
for as_dir in $PATH
2121
2391
do
2122
2392
  IFS=$as_save_IFS
2123
2393
  test -z "$as_dir" && as_dir=.
2124
 
  # Account for people who put trailing slashes in PATH elements.
2125
 
case $as_dir/ in
2126
 
  ./ | .// | /cC/* | \
 
2394
    # Account for people who put trailing slashes in PATH elements.
 
2395
case $as_dir/ in #((
 
2396
  ./ | .// | /[cC]/* | \
2127
2397
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2128
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2398
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2129
2399
  /usr/ucb/* ) ;;
2130
2400
  *)
2131
2401
    # OSF1 and SCO ODT 3.0 have their own names for install.
2143
2413
            # program-specific install script used by HP pwplus--don't use.
2144
2414
            :
2145
2415
          else
2146
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2147
 
            break 3
 
2416
            rm -rf conftest.one conftest.two conftest.dir
 
2417
            echo one > conftest.one
 
2418
            echo two > conftest.two
 
2419
            mkdir conftest.dir
 
2420
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2421
              test -s conftest.one && test -s conftest.two &&
 
2422
              test -s conftest.dir/conftest.one &&
 
2423
              test -s conftest.dir/conftest.two
 
2424
            then
 
2425
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2426
              break 3
 
2427
            fi
2148
2428
          fi
2149
2429
        fi
2150
2430
      done
2151
2431
    done
2152
2432
    ;;
2153
2433
esac
2154
 
done
 
2434
 
 
2435
  done
2155
2436
IFS=$as_save_IFS
2156
2437
 
 
2438
rm -rf conftest.one conftest.two conftest.dir
2157
2439
 
2158
2440
fi
2159
2441
  if test "${ac_cv_path_install+set}" = set; then
2166
2448
    INSTALL=$ac_install_sh
2167
2449
  fi
2168
2450
fi
2169
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2170
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2451
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2452
$as_echo "$INSTALL" >&6; }
2171
2453
 
2172
2454
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2173
2455
# It thinks the first close brace ends the variable substitution.
2177
2459
 
2178
2460
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2179
2461
 
2180
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2181
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
2462
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2463
$as_echo_n "checking whether build environment is sane... " >&6; }
2182
2464
# Just in case
2183
2465
sleep 1
2184
2466
echo timestamp > conftest.file
 
2467
# Reject unsafe characters in $srcdir or the absolute working directory
 
2468
# name.  Accept space and tab only in the latter.
 
2469
am_lf='
 
2470
'
 
2471
case `pwd` in
 
2472
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2473
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2474
esac
 
2475
case $srcdir in
 
2476
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2477
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2478
esac
 
2479
 
2185
2480
# Do `set' in a subshell so we don't clobber the current shell's
2186
2481
# arguments.  Must try -L first in case configure is actually a
2187
2482
# symlink; some systems play weird games with the mod time of symlinks
2188
2483
# (eg FreeBSD returns the mod time of the symlink's containing
2189
2484
# directory).
2190
2485
if (
2191
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2486
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2192
2487
   if test "$*" = "X"; then
2193
2488
      # -L didn't work.
2194
 
      set X `ls -t $srcdir/configure conftest.file`
 
2489
      set X `ls -t "$srcdir/configure" conftest.file`
2195
2490
   fi
2196
2491
   rm -f conftest.file
2197
2492
   if test "$*" != "X $srcdir/configure conftest.file" \
2201
2496
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2202
2497
      # broken ls alias from the environment.  This has actually
2203
2498
      # happened.  Such a system could not be considered "sane".
2204
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2205
 
alias in your environment" >&5
2206
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2207
 
alias in your environment" >&2;}
2208
 
   { (exit 1); exit 1; }; }
 
2499
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2500
alias in your environment" "$LINENO" 5
2209
2501
   fi
2210
2502
 
2211
2503
   test "$2" = conftest.file
2214
2506
   # Ok.
2215
2507
   :
2216
2508
else
2217
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2218
 
Check your system clock" >&5
2219
 
echo "$as_me: error: newly created file is older than distributed files!
2220
 
Check your system clock" >&2;}
2221
 
   { (exit 1); exit 1; }; }
 
2509
   as_fn_error "newly created file is older than distributed files!
 
2510
Check your system clock" "$LINENO" 5
2222
2511
fi
2223
 
{ echo "$as_me:$LINENO: result: yes" >&5
2224
 
echo "${ECHO_T}yes" >&6; }
 
2512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2513
$as_echo "yes" >&6; }
2225
2514
test "$program_prefix" != NONE &&
2226
2515
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2227
2516
# Use a double $ so make ignores it.
2228
2517
test "$program_suffix" != NONE &&
2229
2518
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2230
 
# Double any \ or $.  echo might interpret backslashes.
 
2519
# Double any \ or $.
2231
2520
# By default was `s,x,x', remove it if useless.
2232
 
cat <<\_ACEOF >conftest.sed
2233
 
s/[\\$]/&&/g;s/;s,x,x,$//
2234
 
_ACEOF
2235
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2236
 
rm -f conftest.sed
 
2521
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2522
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2237
2523
 
2238
2524
# expand $ac_aux_dir to an absolute path
2239
2525
am_aux_dir=`cd $ac_aux_dir && pwd`
2240
2526
 
2241
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2527
if test x"${MISSING+set}" != xset; then
 
2528
  case $am_aux_dir in
 
2529
  *\ * | *\     *)
 
2530
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2531
  *)
 
2532
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2533
  esac
 
2534
fi
2242
2535
# Use eval to expand $SHELL
2243
2536
if eval "$MISSING --run true"; then
2244
2537
  am_missing_run="$MISSING --run "
2245
2538
else
2246
2539
  am_missing_run=
2247
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2248
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2249
 
fi
2250
 
 
2251
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2252
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2540
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2541
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2542
fi
 
2543
 
 
2544
if test x"${install_sh}" != xset; then
 
2545
  case $am_aux_dir in
 
2546
  *\ * | *\     *)
 
2547
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2548
  *)
 
2549
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2550
  esac
 
2551
fi
 
2552
 
 
2553
# Installed binaries are usually stripped using `strip' when the user
 
2554
# run `make install-strip'.  However `strip' might not be the right
 
2555
# tool to use in cross-compilation environments, therefore Automake
 
2556
# will honor the `STRIP' environment variable to overrule this program.
 
2557
if test "$cross_compiling" != no; then
 
2558
  if test -n "$ac_tool_prefix"; then
 
2559
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2560
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2561
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2562
$as_echo_n "checking for $ac_word... " >&6; }
 
2563
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2564
  $as_echo_n "(cached) " >&6
 
2565
else
 
2566
  if test -n "$STRIP"; then
 
2567
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2568
else
 
2569
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2570
for as_dir in $PATH
 
2571
do
 
2572
  IFS=$as_save_IFS
 
2573
  test -z "$as_dir" && as_dir=.
 
2574
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2575
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2576
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2577
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2578
    break 2
 
2579
  fi
 
2580
done
 
2581
  done
 
2582
IFS=$as_save_IFS
 
2583
 
 
2584
fi
 
2585
fi
 
2586
STRIP=$ac_cv_prog_STRIP
 
2587
if test -n "$STRIP"; then
 
2588
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2589
$as_echo "$STRIP" >&6; }
 
2590
else
 
2591
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2592
$as_echo "no" >&6; }
 
2593
fi
 
2594
 
 
2595
 
 
2596
fi
 
2597
if test -z "$ac_cv_prog_STRIP"; then
 
2598
  ac_ct_STRIP=$STRIP
 
2599
  # Extract the first word of "strip", so it can be a program name with args.
 
2600
set dummy strip; ac_word=$2
 
2601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2602
$as_echo_n "checking for $ac_word... " >&6; }
 
2603
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2604
  $as_echo_n "(cached) " >&6
 
2605
else
 
2606
  if test -n "$ac_ct_STRIP"; then
 
2607
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2608
else
 
2609
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2610
for as_dir in $PATH
 
2611
do
 
2612
  IFS=$as_save_IFS
 
2613
  test -z "$as_dir" && as_dir=.
 
2614
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2615
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2616
    ac_cv_prog_ac_ct_STRIP="strip"
 
2617
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2618
    break 2
 
2619
  fi
 
2620
done
 
2621
  done
 
2622
IFS=$as_save_IFS
 
2623
 
 
2624
fi
 
2625
fi
 
2626
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2627
if test -n "$ac_ct_STRIP"; then
 
2628
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2629
$as_echo "$ac_ct_STRIP" >&6; }
 
2630
else
 
2631
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2632
$as_echo "no" >&6; }
 
2633
fi
 
2634
 
 
2635
  if test "x$ac_ct_STRIP" = x; then
 
2636
    STRIP=":"
 
2637
  else
 
2638
    case $cross_compiling:$ac_tool_warned in
 
2639
yes:)
 
2640
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2641
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2642
ac_tool_warned=yes ;;
 
2643
esac
 
2644
    STRIP=$ac_ct_STRIP
 
2645
  fi
 
2646
else
 
2647
  STRIP="$ac_cv_prog_STRIP"
 
2648
fi
 
2649
 
 
2650
fi
 
2651
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2652
 
 
2653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2654
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2253
2655
if test -z "$MKDIR_P"; then
2254
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2255
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2656
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2657
  $as_echo_n "(cached) " >&6
2256
2658
else
2257
2659
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2258
2660
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2259
2661
do
2260
2662
  IFS=$as_save_IFS
2261
2663
  test -z "$as_dir" && as_dir=.
2262
 
  for ac_prog in mkdir gmkdir; do
 
2664
    for ac_prog in mkdir gmkdir; do
2263
2665
         for ac_exec_ext in '' $ac_executable_extensions; do
2264
2666
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2265
2667
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2271
2673
           esac
2272
2674
         done
2273
2675
       done
2274
 
done
 
2676
  done
2275
2677
IFS=$as_save_IFS
2276
2678
 
2277
2679
fi
2278
2680
 
 
2681
  test -d ./--version && rmdir ./--version
2279
2682
  if test "${ac_cv_path_mkdir+set}" = set; then
2280
2683
    MKDIR_P="$ac_cv_path_mkdir -p"
2281
2684
  else
2283
2686
    # value for MKDIR_P within a source directory, because that will
2284
2687
    # break other packages using the cache if that directory is
2285
2688
    # removed, or if the value is a relative name.
2286
 
    test -d ./--version && rmdir ./--version
2287
2689
    MKDIR_P="$ac_install_sh -d"
2288
2690
  fi
2289
2691
fi
2290
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2291
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2692
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2693
$as_echo "$MKDIR_P" >&6; }
2292
2694
 
2293
2695
mkdir_p="$MKDIR_P"
2294
2696
case $mkdir_p in
2300
2702
do
2301
2703
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2302
2704
set dummy $ac_prog; ac_word=$2
2303
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2304
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2305
 
if test "${ac_cv_prog_AWK+set}" = set; then
2306
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2705
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2706
$as_echo_n "checking for $ac_word... " >&6; }
 
2707
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2708
  $as_echo_n "(cached) " >&6
2307
2709
else
2308
2710
  if test -n "$AWK"; then
2309
2711
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2313
2715
do
2314
2716
  IFS=$as_save_IFS
2315
2717
  test -z "$as_dir" && as_dir=.
2316
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2718
    for ac_exec_ext in '' $ac_executable_extensions; do
2317
2719
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2318
2720
    ac_cv_prog_AWK="$ac_prog"
2319
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2721
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2320
2722
    break 2
2321
2723
  fi
2322
2724
done
2323
 
done
 
2725
  done
2324
2726
IFS=$as_save_IFS
2325
2727
 
2326
2728
fi
2327
2729
fi
2328
2730
AWK=$ac_cv_prog_AWK
2329
2731
if test -n "$AWK"; then
2330
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2331
 
echo "${ECHO_T}$AWK" >&6; }
 
2732
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2733
$as_echo "$AWK" >&6; }
2332
2734
else
2333
 
  { echo "$as_me:$LINENO: result: no" >&5
2334
 
echo "${ECHO_T}no" >&6; }
 
2735
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2736
$as_echo "no" >&6; }
2335
2737
fi
2336
2738
 
2337
2739
 
2338
2740
  test -n "$AWK" && break
2339
2741
done
2340
2742
 
2341
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2342
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2343
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2344
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2345
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2744
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2745
set x ${MAKE-make}
 
2746
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2747
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2748
  $as_echo_n "(cached) " >&6
2346
2749
else
2347
2750
  cat >conftest.make <<\_ACEOF
2348
2751
SHELL = /bin/sh
2359
2762
rm -f conftest.make
2360
2763
fi
2361
2764
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2362
 
  { echo "$as_me:$LINENO: result: yes" >&5
2363
 
echo "${ECHO_T}yes" >&6; }
 
2765
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2766
$as_echo "yes" >&6; }
2364
2767
  SET_MAKE=
2365
2768
else
2366
 
  { echo "$as_me:$LINENO: result: no" >&5
2367
 
echo "${ECHO_T}no" >&6; }
 
2769
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2770
$as_echo "no" >&6; }
2368
2771
  SET_MAKE="MAKE=${MAKE-make}"
2369
2772
fi
2370
2773
 
2383
2786
  am__isrc=' -I$(srcdir)'
2384
2787
  # test to see if srcdir already configured
2385
2788
  if test -f $srcdir/config.status; then
2386
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2387
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2388
 
   { (exit 1); exit 1; }; }
 
2789
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2389
2790
  fi
2390
2791
fi
2391
2792
 
2401
2802
 
2402
2803
# Define the identity of the package.
2403
2804
 PACKAGE=libnetfilter_log
2404
 
 VERSION=0.0.16
 
2805
 VERSION=1.0.0
2405
2806
 
2406
2807
 
2407
2808
cat >>confdefs.h <<_ACEOF
2429
2830
 
2430
2831
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2431
2832
 
2432
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2433
 
 
2434
 
# Installed binaries are usually stripped using `strip' when the user
2435
 
# run `make install-strip'.  However `strip' might not be the right
2436
 
# tool to use in cross-compilation environments, therefore Automake
2437
 
# will honor the `STRIP' environment variable to overrule this program.
2438
 
if test "$cross_compiling" != no; then
2439
 
  if test -n "$ac_tool_prefix"; then
2440
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2441
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2442
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2443
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2444
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2445
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2446
 
else
2447
 
  if test -n "$STRIP"; then
2448
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2449
 
else
2450
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451
 
for as_dir in $PATH
2452
 
do
2453
 
  IFS=$as_save_IFS
2454
 
  test -z "$as_dir" && as_dir=.
2455
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2456
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2457
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2458
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2459
 
    break 2
2460
 
  fi
2461
 
done
2462
 
done
2463
 
IFS=$as_save_IFS
2464
 
 
2465
 
fi
2466
 
fi
2467
 
STRIP=$ac_cv_prog_STRIP
2468
 
if test -n "$STRIP"; then
2469
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2470
 
echo "${ECHO_T}$STRIP" >&6; }
2471
 
else
2472
 
  { echo "$as_me:$LINENO: result: no" >&5
2473
 
echo "${ECHO_T}no" >&6; }
2474
 
fi
2475
 
 
2476
 
 
2477
 
fi
2478
 
if test -z "$ac_cv_prog_STRIP"; then
2479
 
  ac_ct_STRIP=$STRIP
2480
 
  # Extract the first word of "strip", so it can be a program name with args.
2481
 
set dummy strip; ac_word=$2
2482
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2483
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2484
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2485
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2486
 
else
2487
 
  if test -n "$ac_ct_STRIP"; then
2488
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2489
 
else
2490
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491
 
for as_dir in $PATH
2492
 
do
2493
 
  IFS=$as_save_IFS
2494
 
  test -z "$as_dir" && as_dir=.
2495
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2496
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2497
 
    ac_cv_prog_ac_ct_STRIP="strip"
2498
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2499
 
    break 2
2500
 
  fi
2501
 
done
2502
 
done
2503
 
IFS=$as_save_IFS
2504
 
 
2505
 
fi
2506
 
fi
2507
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2508
 
if test -n "$ac_ct_STRIP"; then
2509
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2510
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2511
 
else
2512
 
  { echo "$as_me:$LINENO: result: no" >&5
2513
 
echo "${ECHO_T}no" >&6; }
2514
 
fi
2515
 
 
2516
 
  if test "x$ac_ct_STRIP" = x; then
2517
 
    STRIP=":"
2518
 
  else
2519
 
    case $cross_compiling:$ac_tool_warned in
2520
 
yes:)
2521
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2522
 
whose name does not start with the host triplet.  If you think this
2523
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2524
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2525
 
whose name does not start with the host triplet.  If you think this
2526
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2527
 
ac_tool_warned=yes ;;
2528
 
esac
2529
 
    STRIP=$ac_ct_STRIP
2530
 
  fi
2531
 
else
2532
 
  STRIP="$ac_cv_prog_STRIP"
2533
 
fi
2534
 
 
2535
 
fi
2536
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2537
 
 
2538
2833
# We need awk for the "check" target.  The system "awk" is bad on
2539
2834
# some platforms.
2540
2835
# Always define AMTAR for backward compatibility.
2556
2851
if test -n "$ac_tool_prefix"; then
2557
2852
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2558
2853
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2559
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2560
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2561
 
if test "${ac_cv_prog_CC+set}" = set; then
2562
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2854
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2855
$as_echo_n "checking for $ac_word... " >&6; }
 
2856
if test "${ac_cv_prog_CC+set}" = set; then :
 
2857
  $as_echo_n "(cached) " >&6
2563
2858
else
2564
2859
  if test -n "$CC"; then
2565
2860
  ac_cv_prog_CC="$CC" # Let the user override the test.
2569
2864
do
2570
2865
  IFS=$as_save_IFS
2571
2866
  test -z "$as_dir" && as_dir=.
2572
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2867
    for ac_exec_ext in '' $ac_executable_extensions; do
2573
2868
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2574
2869
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2575
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2870
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2576
2871
    break 2
2577
2872
  fi
2578
2873
done
2579
 
done
 
2874
  done
2580
2875
IFS=$as_save_IFS
2581
2876
 
2582
2877
fi
2583
2878
fi
2584
2879
CC=$ac_cv_prog_CC
2585
2880
if test -n "$CC"; then
2586
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2587
 
echo "${ECHO_T}$CC" >&6; }
 
2881
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2882
$as_echo "$CC" >&6; }
2588
2883
else
2589
 
  { echo "$as_me:$LINENO: result: no" >&5
2590
 
echo "${ECHO_T}no" >&6; }
 
2884
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2885
$as_echo "no" >&6; }
2591
2886
fi
2592
2887
 
2593
2888
 
2596
2891
  ac_ct_CC=$CC
2597
2892
  # Extract the first word of "gcc", so it can be a program name with args.
2598
2893
set dummy gcc; ac_word=$2
2599
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2600
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2601
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2602
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2894
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2895
$as_echo_n "checking for $ac_word... " >&6; }
 
2896
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2897
  $as_echo_n "(cached) " >&6
2603
2898
else
2604
2899
  if test -n "$ac_ct_CC"; then
2605
2900
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2609
2904
do
2610
2905
  IFS=$as_save_IFS
2611
2906
  test -z "$as_dir" && as_dir=.
2612
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2907
    for ac_exec_ext in '' $ac_executable_extensions; do
2613
2908
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2614
2909
    ac_cv_prog_ac_ct_CC="gcc"
2615
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2910
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2616
2911
    break 2
2617
2912
  fi
2618
2913
done
2619
 
done
 
2914
  done
2620
2915
IFS=$as_save_IFS
2621
2916
 
2622
2917
fi
2623
2918
fi
2624
2919
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2625
2920
if test -n "$ac_ct_CC"; then
2626
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2627
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2921
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
2922
$as_echo "$ac_ct_CC" >&6; }
2628
2923
else
2629
 
  { echo "$as_me:$LINENO: result: no" >&5
2630
 
echo "${ECHO_T}no" >&6; }
 
2924
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2925
$as_echo "no" >&6; }
2631
2926
fi
2632
2927
 
2633
2928
  if test "x$ac_ct_CC" = x; then
2635
2930
  else
2636
2931
    case $cross_compiling:$ac_tool_warned in
2637
2932
yes:)
2638
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2639
 
whose name does not start with the host triplet.  If you think this
2640
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2641
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2642
 
whose name does not start with the host triplet.  If you think this
2643
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2933
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2934
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2644
2935
ac_tool_warned=yes ;;
2645
2936
esac
2646
2937
    CC=$ac_ct_CC
2653
2944
          if test -n "$ac_tool_prefix"; then
2654
2945
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2655
2946
set dummy ${ac_tool_prefix}cc; ac_word=$2
2656
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2657
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2658
 
if test "${ac_cv_prog_CC+set}" = set; then
2659
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2947
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2948
$as_echo_n "checking for $ac_word... " >&6; }
 
2949
if test "${ac_cv_prog_CC+set}" = set; then :
 
2950
  $as_echo_n "(cached) " >&6
2660
2951
else
2661
2952
  if test -n "$CC"; then
2662
2953
  ac_cv_prog_CC="$CC" # Let the user override the test.
2666
2957
do
2667
2958
  IFS=$as_save_IFS
2668
2959
  test -z "$as_dir" && as_dir=.
2669
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2960
    for ac_exec_ext in '' $ac_executable_extensions; do
2670
2961
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2671
2962
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2672
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2963
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2673
2964
    break 2
2674
2965
  fi
2675
2966
done
2676
 
done
 
2967
  done
2677
2968
IFS=$as_save_IFS
2678
2969
 
2679
2970
fi
2680
2971
fi
2681
2972
CC=$ac_cv_prog_CC
2682
2973
if test -n "$CC"; then
2683
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2684
 
echo "${ECHO_T}$CC" >&6; }
 
2974
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2975
$as_echo "$CC" >&6; }
2685
2976
else
2686
 
  { echo "$as_me:$LINENO: result: no" >&5
2687
 
echo "${ECHO_T}no" >&6; }
 
2977
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2978
$as_echo "no" >&6; }
2688
2979
fi
2689
2980
 
2690
2981
 
2693
2984
if test -z "$CC"; then
2694
2985
  # Extract the first word of "cc", so it can be a program name with args.
2695
2986
set dummy cc; ac_word=$2
2696
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2697
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2698
 
if test "${ac_cv_prog_CC+set}" = set; then
2699
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2987
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2988
$as_echo_n "checking for $ac_word... " >&6; }
 
2989
if test "${ac_cv_prog_CC+set}" = set; then :
 
2990
  $as_echo_n "(cached) " >&6
2700
2991
else
2701
2992
  if test -n "$CC"; then
2702
2993
  ac_cv_prog_CC="$CC" # Let the user override the test.
2707
2998
do
2708
2999
  IFS=$as_save_IFS
2709
3000
  test -z "$as_dir" && as_dir=.
2710
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3001
    for ac_exec_ext in '' $ac_executable_extensions; do
2711
3002
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2712
3003
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2713
3004
       ac_prog_rejected=yes
2714
3005
       continue
2715
3006
     fi
2716
3007
    ac_cv_prog_CC="cc"
2717
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3008
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2718
3009
    break 2
2719
3010
  fi
2720
3011
done
2721
 
done
 
3012
  done
2722
3013
IFS=$as_save_IFS
2723
3014
 
2724
3015
if test $ac_prog_rejected = yes; then
2737
3028
fi
2738
3029
CC=$ac_cv_prog_CC
2739
3030
if test -n "$CC"; then
2740
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2741
 
echo "${ECHO_T}$CC" >&6; }
 
3031
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3032
$as_echo "$CC" >&6; }
2742
3033
else
2743
 
  { echo "$as_me:$LINENO: result: no" >&5
2744
 
echo "${ECHO_T}no" >&6; }
 
3034
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3035
$as_echo "no" >&6; }
2745
3036
fi
2746
3037
 
2747
3038
 
2752
3043
  do
2753
3044
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2754
3045
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2755
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2756
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2757
 
if test "${ac_cv_prog_CC+set}" = set; then
2758
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3046
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3047
$as_echo_n "checking for $ac_word... " >&6; }
 
3048
if test "${ac_cv_prog_CC+set}" = set; then :
 
3049
  $as_echo_n "(cached) " >&6
2759
3050
else
2760
3051
  if test -n "$CC"; then
2761
3052
  ac_cv_prog_CC="$CC" # Let the user override the test.
2765
3056
do
2766
3057
  IFS=$as_save_IFS
2767
3058
  test -z "$as_dir" && as_dir=.
2768
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3059
    for ac_exec_ext in '' $ac_executable_extensions; do
2769
3060
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2770
3061
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2771
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3062
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2772
3063
    break 2
2773
3064
  fi
2774
3065
done
2775
 
done
 
3066
  done
2776
3067
IFS=$as_save_IFS
2777
3068
 
2778
3069
fi
2779
3070
fi
2780
3071
CC=$ac_cv_prog_CC
2781
3072
if test -n "$CC"; then
2782
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2783
 
echo "${ECHO_T}$CC" >&6; }
 
3073
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3074
$as_echo "$CC" >&6; }
2784
3075
else
2785
 
  { echo "$as_me:$LINENO: result: no" >&5
2786
 
echo "${ECHO_T}no" >&6; }
 
3076
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3077
$as_echo "no" >&6; }
2787
3078
fi
2788
3079
 
2789
3080
 
2796
3087
do
2797
3088
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2798
3089
set dummy $ac_prog; ac_word=$2
2799
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2800
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2801
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2802
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3090
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3091
$as_echo_n "checking for $ac_word... " >&6; }
 
3092
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3093
  $as_echo_n "(cached) " >&6
2803
3094
else
2804
3095
  if test -n "$ac_ct_CC"; then
2805
3096
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2809
3100
do
2810
3101
  IFS=$as_save_IFS
2811
3102
  test -z "$as_dir" && as_dir=.
2812
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3103
    for ac_exec_ext in '' $ac_executable_extensions; do
2813
3104
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2814
3105
    ac_cv_prog_ac_ct_CC="$ac_prog"
2815
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3106
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2816
3107
    break 2
2817
3108
  fi
2818
3109
done
2819
 
done
 
3110
  done
2820
3111
IFS=$as_save_IFS
2821
3112
 
2822
3113
fi
2823
3114
fi
2824
3115
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2825
3116
if test -n "$ac_ct_CC"; then
2826
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2827
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3117
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3118
$as_echo "$ac_ct_CC" >&6; }
2828
3119
else
2829
 
  { echo "$as_me:$LINENO: result: no" >&5
2830
 
echo "${ECHO_T}no" >&6; }
 
3120
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3121
$as_echo "no" >&6; }
2831
3122
fi
2832
3123
 
2833
3124
 
2839
3130
  else
2840
3131
    case $cross_compiling:$ac_tool_warned in
2841
3132
yes:)
2842
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2843
 
whose name does not start with the host triplet.  If you think this
2844
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2845
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2846
 
whose name does not start with the host triplet.  If you think this
2847
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3133
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3134
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2848
3135
ac_tool_warned=yes ;;
2849
3136
esac
2850
3137
    CC=$ac_ct_CC
2854
3141
fi
2855
3142
 
2856
3143
 
2857
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2858
 
See \`config.log' for more details." >&5
2859
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
2860
 
See \`config.log' for more details." >&2;}
2861
 
   { (exit 1); exit 1; }; }
 
3144
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3145
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3146
as_fn_error "no acceptable C compiler found in \$PATH
 
3147
See \`config.log' for more details." "$LINENO" 5; }
2862
3148
 
2863
3149
# Provide some information about the compiler.
2864
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2865
 
ac_compiler=`set X $ac_compile; echo $2`
2866
 
{ (ac_try="$ac_compiler --version >&5"
2867
 
case "(($ac_try" in
2868
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2869
 
  *) ac_try_echo=$ac_try;;
2870
 
esac
2871
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2872
 
  (eval "$ac_compiler --version >&5") 2>&5
2873
 
  ac_status=$?
2874
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875
 
  (exit $ac_status); }
2876
 
{ (ac_try="$ac_compiler -v >&5"
2877
 
case "(($ac_try" in
2878
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2879
 
  *) ac_try_echo=$ac_try;;
2880
 
esac
2881
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2882
 
  (eval "$ac_compiler -v >&5") 2>&5
2883
 
  ac_status=$?
2884
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885
 
  (exit $ac_status); }
2886
 
{ (ac_try="$ac_compiler -V >&5"
2887
 
case "(($ac_try" in
2888
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2889
 
  *) ac_try_echo=$ac_try;;
2890
 
esac
2891
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2892
 
  (eval "$ac_compiler -V >&5") 2>&5
2893
 
  ac_status=$?
2894
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895
 
  (exit $ac_status); }
 
3150
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3151
set X $ac_compile
 
3152
ac_compiler=$2
 
3153
for ac_option in --version -v -V -qversion; do
 
3154
  { { ac_try="$ac_compiler $ac_option >&5"
 
3155
case "(($ac_try" in
 
3156
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3157
  *) ac_try_echo=$ac_try;;
 
3158
esac
 
3159
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3160
$as_echo "$ac_try_echo"; } >&5
 
3161
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3162
  ac_status=$?
 
3163
  if test -s conftest.err; then
 
3164
    sed '10a\
 
3165
... rest of stderr output deleted ...
 
3166
         10q' conftest.err >conftest.er1
 
3167
    cat conftest.er1 >&5
 
3168
  fi
 
3169
  rm -f conftest.er1 conftest.err
 
3170
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3171
  test $ac_status = 0; }
 
3172
done
2896
3173
 
2897
 
cat >conftest.$ac_ext <<_ACEOF
2898
 
/* confdefs.h.  */
2899
 
_ACEOF
2900
 
cat confdefs.h >>conftest.$ac_ext
2901
 
cat >>conftest.$ac_ext <<_ACEOF
 
3174
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2902
3175
/* end confdefs.h.  */
2903
3176
 
2904
3177
int
2910
3183
}
2911
3184
_ACEOF
2912
3185
ac_clean_files_save=$ac_clean_files
2913
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3186
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2914
3187
# Try to create an executable without -o first, disregard a.out.
2915
3188
# It will help us diagnose broken compilers, and finding out an intuition
2916
3189
# of exeext.
2917
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2918
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2919
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2920
 
#
2921
 
# List of possible output files, starting from the most likely.
2922
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2923
 
# only as a last resort.  b.out is created by i960 compilers.
2924
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2925
 
#
2926
 
# The IRIX 6 linker writes into existing files which may not be
2927
 
# executable, retaining their permissions.  Remove them first so a
2928
 
# subsequent execution test works.
 
3190
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3191
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3192
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3193
 
 
3194
# The possible output files:
 
3195
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3196
 
2929
3197
ac_rmfiles=
2930
3198
for ac_file in $ac_files
2931
3199
do
2932
3200
  case $ac_file in
2933
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3201
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2934
3202
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2935
3203
  esac
2936
3204
done
2937
3205
rm -f $ac_rmfiles
2938
3206
 
2939
 
if { (ac_try="$ac_link_default"
 
3207
if { { ac_try="$ac_link_default"
2940
3208
case "(($ac_try" in
2941
3209
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2942
3210
  *) ac_try_echo=$ac_try;;
2943
3211
esac
2944
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3212
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3213
$as_echo "$ac_try_echo"; } >&5
2945
3214
  (eval "$ac_link_default") 2>&5
2946
3215
  ac_status=$?
2947
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948
 
  (exit $ac_status); }; then
 
3216
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3217
  test $ac_status = 0; }; then :
2949
3218
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2950
3219
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2951
3220
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2955
3224
do
2956
3225
  test -f "$ac_file" || continue
2957
3226
  case $ac_file in
2958
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
3227
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2959
3228
        ;;
2960
3229
    [ab].out )
2961
3230
        # We found the default executable, but exeext='' is most
2962
3231
        # certainly right.
2963
3232
        break;;
2964
3233
    *.* )
2965
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3234
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2966
3235
        then :; else
2967
3236
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2968
3237
        fi
2981
3250
else
2982
3251
  ac_file=''
2983
3252
fi
2984
 
 
2985
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2986
 
echo "${ECHO_T}$ac_file" >&6; }
2987
 
if test -z "$ac_file"; then
2988
 
  echo "$as_me: failed program was:" >&5
 
3253
if test -z "$ac_file"; then :
 
3254
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3255
$as_echo "no" >&6; }
 
3256
$as_echo "$as_me: failed program was:" >&5
2989
3257
sed 's/^/| /' conftest.$ac_ext >&5
2990
3258
 
2991
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2992
 
See \`config.log' for more details." >&5
2993
 
echo "$as_me: error: C compiler cannot create executables
2994
 
See \`config.log' for more details." >&2;}
2995
 
   { (exit 77); exit 77; }; }
 
3259
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3260
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3261
{ as_fn_set_status 77
 
3262
as_fn_error "C compiler cannot create executables
 
3263
See \`config.log' for more details." "$LINENO" 5; }; }
 
3264
else
 
3265
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3266
$as_echo "yes" >&6; }
2996
3267
fi
2997
 
 
 
3268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3269
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3270
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3271
$as_echo "$ac_file" >&6; }
2998
3272
ac_exeext=$ac_cv_exeext
2999
3273
 
3000
 
# Check that the compiler produces executables we can run.  If not, either
3001
 
# the compiler is broken, or we cross compile.
3002
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3003
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3004
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3005
 
# If not cross compiling, check that we can run a simple program.
3006
 
if test "$cross_compiling" != yes; then
3007
 
  if { ac_try='./$ac_file'
3008
 
  { (case "(($ac_try" in
3009
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3010
 
  *) ac_try_echo=$ac_try;;
3011
 
esac
3012
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3013
 
  (eval "$ac_try") 2>&5
3014
 
  ac_status=$?
3015
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016
 
  (exit $ac_status); }; }; then
3017
 
    cross_compiling=no
3018
 
  else
3019
 
    if test "$cross_compiling" = maybe; then
3020
 
        cross_compiling=yes
3021
 
    else
3022
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3023
 
If you meant to cross compile, use \`--host'.
3024
 
See \`config.log' for more details." >&5
3025
 
echo "$as_me: error: cannot run C compiled programs.
3026
 
If you meant to cross compile, use \`--host'.
3027
 
See \`config.log' for more details." >&2;}
3028
 
   { (exit 1); exit 1; }; }
3029
 
    fi
3030
 
  fi
3031
 
fi
3032
 
{ echo "$as_me:$LINENO: result: yes" >&5
3033
 
echo "${ECHO_T}yes" >&6; }
3034
 
 
3035
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3274
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3036
3275
ac_clean_files=$ac_clean_files_save
3037
 
# Check that the compiler produces executables we can run.  If not, either
3038
 
# the compiler is broken, or we cross compile.
3039
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3040
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3041
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3042
 
echo "${ECHO_T}$cross_compiling" >&6; }
3043
 
 
3044
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3045
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3046
 
if { (ac_try="$ac_link"
 
3276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3277
$as_echo_n "checking for suffix of executables... " >&6; }
 
3278
if { { ac_try="$ac_link"
3047
3279
case "(($ac_try" in
3048
3280
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3049
3281
  *) ac_try_echo=$ac_try;;
3050
3282
esac
3051
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3283
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3284
$as_echo "$ac_try_echo"; } >&5
3052
3285
  (eval "$ac_link") 2>&5
3053
3286
  ac_status=$?
3054
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055
 
  (exit $ac_status); }; then
 
3287
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3288
  test $ac_status = 0; }; then :
3056
3289
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3057
3290
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3058
3291
# work properly (i.e., refer to `conftest.exe'), while it won't with
3060
3293
for ac_file in conftest.exe conftest conftest.*; do
3061
3294
  test -f "$ac_file" || continue
3062
3295
  case $ac_file in
3063
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3296
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3064
3297
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3065
3298
          break;;
3066
3299
    * ) break;;
3067
3300
  esac
3068
3301
done
3069
3302
else
3070
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3071
 
See \`config.log' for more details." >&5
3072
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3073
 
See \`config.log' for more details." >&2;}
3074
 
   { (exit 1); exit 1; }; }
 
3303
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3304
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3305
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3306
See \`config.log' for more details." "$LINENO" 5; }
3075
3307
fi
3076
 
 
3077
 
rm -f conftest$ac_cv_exeext
3078
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3079
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
3308
rm -f conftest conftest$ac_cv_exeext
 
3309
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3310
$as_echo "$ac_cv_exeext" >&6; }
3080
3311
 
3081
3312
rm -f conftest.$ac_ext
3082
3313
EXEEXT=$ac_cv_exeext
3083
3314
ac_exeext=$EXEEXT
3084
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3085
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3086
 
if test "${ac_cv_objext+set}" = set; then
3087
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3315
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3316
/* end confdefs.h.  */
 
3317
#include <stdio.h>
 
3318
int
 
3319
main ()
 
3320
{
 
3321
FILE *f = fopen ("conftest.out", "w");
 
3322
 return ferror (f) || fclose (f) != 0;
 
3323
 
 
3324
  ;
 
3325
  return 0;
 
3326
}
 
3327
_ACEOF
 
3328
ac_clean_files="$ac_clean_files conftest.out"
 
3329
# Check that the compiler produces executables we can run.  If not, either
 
3330
# the compiler is broken, or we cross compile.
 
3331
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3332
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3333
if test "$cross_compiling" != yes; then
 
3334
  { { ac_try="$ac_link"
 
3335
case "(($ac_try" in
 
3336
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3337
  *) ac_try_echo=$ac_try;;
 
3338
esac
 
3339
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3340
$as_echo "$ac_try_echo"; } >&5
 
3341
  (eval "$ac_link") 2>&5
 
3342
  ac_status=$?
 
3343
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3344
  test $ac_status = 0; }
 
3345
  if { ac_try='./conftest$ac_cv_exeext'
 
3346
  { { case "(($ac_try" in
 
3347
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3348
  *) ac_try_echo=$ac_try;;
 
3349
esac
 
3350
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3351
$as_echo "$ac_try_echo"; } >&5
 
3352
  (eval "$ac_try") 2>&5
 
3353
  ac_status=$?
 
3354
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3355
  test $ac_status = 0; }; }; then
 
3356
    cross_compiling=no
 
3357
  else
 
3358
    if test "$cross_compiling" = maybe; then
 
3359
        cross_compiling=yes
 
3360
    else
 
3361
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3362
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3363
as_fn_error "cannot run C compiled programs.
 
3364
If you meant to cross compile, use \`--host'.
 
3365
See \`config.log' for more details." "$LINENO" 5; }
 
3366
    fi
 
3367
  fi
 
3368
fi
 
3369
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3370
$as_echo "$cross_compiling" >&6; }
 
3371
 
 
3372
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3373
ac_clean_files=$ac_clean_files_save
 
3374
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3375
$as_echo_n "checking for suffix of object files... " >&6; }
 
3376
if test "${ac_cv_objext+set}" = set; then :
 
3377
  $as_echo_n "(cached) " >&6
3088
3378
else
3089
 
  cat >conftest.$ac_ext <<_ACEOF
3090
 
/* confdefs.h.  */
3091
 
_ACEOF
3092
 
cat confdefs.h >>conftest.$ac_ext
3093
 
cat >>conftest.$ac_ext <<_ACEOF
 
3379
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3094
3380
/* end confdefs.h.  */
3095
3381
 
3096
3382
int
3102
3388
}
3103
3389
_ACEOF
3104
3390
rm -f conftest.o conftest.obj
3105
 
if { (ac_try="$ac_compile"
 
3391
if { { ac_try="$ac_compile"
3106
3392
case "(($ac_try" in
3107
3393
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3108
3394
  *) ac_try_echo=$ac_try;;
3109
3395
esac
3110
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3396
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3397
$as_echo "$ac_try_echo"; } >&5
3111
3398
  (eval "$ac_compile") 2>&5
3112
3399
  ac_status=$?
3113
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114
 
  (exit $ac_status); }; then
 
3400
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3401
  test $ac_status = 0; }; then :
3115
3402
  for ac_file in conftest.o conftest.obj conftest.*; do
3116
3403
  test -f "$ac_file" || continue;
3117
3404
  case $ac_file in
3118
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
3405
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3119
3406
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3120
3407
       break;;
3121
3408
  esac
3122
3409
done
3123
3410
else
3124
 
  echo "$as_me: failed program was:" >&5
 
3411
  $as_echo "$as_me: failed program was:" >&5
3125
3412
sed 's/^/| /' conftest.$ac_ext >&5
3126
3413
 
3127
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3128
 
See \`config.log' for more details." >&5
3129
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3130
 
See \`config.log' for more details." >&2;}
3131
 
   { (exit 1); exit 1; }; }
 
3414
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3415
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3416
as_fn_error "cannot compute suffix of object files: cannot compile
 
3417
See \`config.log' for more details." "$LINENO" 5; }
3132
3418
fi
3133
 
 
3134
3419
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3135
3420
fi
3136
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3137
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
3421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3422
$as_echo "$ac_cv_objext" >&6; }
3138
3423
OBJEXT=$ac_cv_objext
3139
3424
ac_objext=$OBJEXT
3140
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3141
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3142
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3143
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3425
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3426
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3427
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3428
  $as_echo_n "(cached) " >&6
3144
3429
else
3145
 
  cat >conftest.$ac_ext <<_ACEOF
3146
 
/* confdefs.h.  */
3147
 
_ACEOF
3148
 
cat confdefs.h >>conftest.$ac_ext
3149
 
cat >>conftest.$ac_ext <<_ACEOF
 
3430
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3150
3431
/* end confdefs.h.  */
3151
3432
 
3152
3433
int
3160
3441
  return 0;
3161
3442
}
3162
3443
_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
 
3444
if ac_fn_c_try_compile "$LINENO"; then :
3180
3445
  ac_compiler_gnu=yes
3181
3446
else
3182
 
  echo "$as_me: failed program was:" >&5
3183
 
sed 's/^/| /' conftest.$ac_ext >&5
3184
 
 
3185
 
        ac_compiler_gnu=no
 
3447
  ac_compiler_gnu=no
3186
3448
fi
3187
 
 
3188
3449
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3189
3450
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3190
3451
 
3191
3452
fi
3192
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3193
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3194
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3454
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3455
if test $ac_compiler_gnu = yes; then
 
3456
  GCC=yes
 
3457
else
 
3458
  GCC=
 
3459
fi
3195
3460
ac_test_CFLAGS=${CFLAGS+set}
3196
3461
ac_save_CFLAGS=$CFLAGS
3197
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3198
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3199
 
if test "${ac_cv_prog_cc_g+set}" = set; then
3200
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3462
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3463
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3464
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3465
  $as_echo_n "(cached) " >&6
3201
3466
else
3202
3467
  ac_save_c_werror_flag=$ac_c_werror_flag
3203
3468
   ac_c_werror_flag=yes
3204
3469
   ac_cv_prog_cc_g=no
3205
3470
   CFLAGS="-g"
3206
 
   cat >conftest.$ac_ext <<_ACEOF
3207
 
/* confdefs.h.  */
3208
 
_ACEOF
3209
 
cat confdefs.h >>conftest.$ac_ext
3210
 
cat >>conftest.$ac_ext <<_ACEOF
 
3471
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3211
3472
/* end confdefs.h.  */
3212
3473
 
3213
3474
int
3218
3479
  return 0;
3219
3480
}
3220
3481
_ACEOF
3221
 
rm -f conftest.$ac_objext
3222
 
if { (ac_try="$ac_compile"
3223
 
case "(($ac_try" in
3224
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3225
 
  *) ac_try_echo=$ac_try;;
3226
 
esac
3227
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3228
 
  (eval "$ac_compile") 2>conftest.er1
3229
 
  ac_status=$?
3230
 
  grep -v '^ *+' conftest.er1 >conftest.err
3231
 
  rm -f conftest.er1
3232
 
  cat conftest.err >&5
3233
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3234
 
  (exit $ac_status); } && {
3235
 
         test -z "$ac_c_werror_flag" ||
3236
 
         test ! -s conftest.err
3237
 
       } && test -s conftest.$ac_objext; then
 
3482
if ac_fn_c_try_compile "$LINENO"; then :
3238
3483
  ac_cv_prog_cc_g=yes
3239
3484
else
3240
 
  echo "$as_me: failed program was:" >&5
3241
 
sed 's/^/| /' conftest.$ac_ext >&5
3242
 
 
3243
 
        CFLAGS=""
3244
 
      cat >conftest.$ac_ext <<_ACEOF
3245
 
/* confdefs.h.  */
3246
 
_ACEOF
3247
 
cat confdefs.h >>conftest.$ac_ext
3248
 
cat >>conftest.$ac_ext <<_ACEOF
 
3485
  CFLAGS=""
 
3486
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3249
3487
/* end confdefs.h.  */
3250
3488
 
3251
3489
int
3256
3494
  return 0;
3257
3495
}
3258
3496
_ACEOF
3259
 
rm -f conftest.$ac_objext
3260
 
if { (ac_try="$ac_compile"
3261
 
case "(($ac_try" in
3262
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3263
 
  *) ac_try_echo=$ac_try;;
3264
 
esac
3265
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3266
 
  (eval "$ac_compile") 2>conftest.er1
3267
 
  ac_status=$?
3268
 
  grep -v '^ *+' conftest.er1 >conftest.err
3269
 
  rm -f conftest.er1
3270
 
  cat conftest.err >&5
3271
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272
 
  (exit $ac_status); } && {
3273
 
         test -z "$ac_c_werror_flag" ||
3274
 
         test ! -s conftest.err
3275
 
       } && test -s conftest.$ac_objext; then
3276
 
  :
 
3497
if ac_fn_c_try_compile "$LINENO"; then :
 
3498
 
3277
3499
else
3278
 
  echo "$as_me: failed program was:" >&5
3279
 
sed 's/^/| /' conftest.$ac_ext >&5
3280
 
 
3281
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3500
  ac_c_werror_flag=$ac_save_c_werror_flag
3282
3501
         CFLAGS="-g"
3283
 
         cat >conftest.$ac_ext <<_ACEOF
3284
 
/* confdefs.h.  */
3285
 
_ACEOF
3286
 
cat confdefs.h >>conftest.$ac_ext
3287
 
cat >>conftest.$ac_ext <<_ACEOF
 
3502
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3288
3503
/* end confdefs.h.  */
3289
3504
 
3290
3505
int
3295
3510
  return 0;
3296
3511
}
3297
3512
_ACEOF
3298
 
rm -f conftest.$ac_objext
3299
 
if { (ac_try="$ac_compile"
3300
 
case "(($ac_try" in
3301
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3302
 
  *) ac_try_echo=$ac_try;;
3303
 
esac
3304
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3305
 
  (eval "$ac_compile") 2>conftest.er1
3306
 
  ac_status=$?
3307
 
  grep -v '^ *+' conftest.er1 >conftest.err
3308
 
  rm -f conftest.er1
3309
 
  cat conftest.err >&5
3310
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311
 
  (exit $ac_status); } && {
3312
 
         test -z "$ac_c_werror_flag" ||
3313
 
         test ! -s conftest.err
3314
 
       } && test -s conftest.$ac_objext; then
 
3513
if ac_fn_c_try_compile "$LINENO"; then :
3315
3514
  ac_cv_prog_cc_g=yes
3316
 
else
3317
 
  echo "$as_me: failed program was:" >&5
3318
 
sed 's/^/| /' conftest.$ac_ext >&5
3319
 
 
3320
 
 
3321
 
fi
3322
 
 
3323
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3324
 
fi
3325
 
 
3326
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3327
 
fi
3328
 
 
 
3515
fi
 
3516
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3517
fi
 
3518
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3519
fi
3329
3520
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3330
3521
   ac_c_werror_flag=$ac_save_c_werror_flag
3331
3522
fi
3332
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3333
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3523
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3524
$as_echo "$ac_cv_prog_cc_g" >&6; }
3334
3525
if test "$ac_test_CFLAGS" = set; then
3335
3526
  CFLAGS=$ac_save_CFLAGS
3336
3527
elif test $ac_cv_prog_cc_g = yes; then
3346
3537
    CFLAGS=
3347
3538
  fi
3348
3539
fi
3349
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3350
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3351
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
3352
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3541
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3542
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3543
  $as_echo_n "(cached) " >&6
3353
3544
else
3354
3545
  ac_cv_prog_cc_c89=no
3355
3546
ac_save_CC=$CC
3356
 
cat >conftest.$ac_ext <<_ACEOF
3357
 
/* confdefs.h.  */
3358
 
_ACEOF
3359
 
cat confdefs.h >>conftest.$ac_ext
3360
 
cat >>conftest.$ac_ext <<_ACEOF
 
3547
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361
3548
/* end confdefs.h.  */
3362
3549
#include <stdarg.h>
3363
3550
#include <stdio.h>
3414
3601
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3415
3602
do
3416
3603
  CC="$ac_save_CC $ac_arg"
3417
 
  rm -f conftest.$ac_objext
3418
 
if { (ac_try="$ac_compile"
3419
 
case "(($ac_try" in
3420
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3421
 
  *) ac_try_echo=$ac_try;;
3422
 
esac
3423
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3424
 
  (eval "$ac_compile") 2>conftest.er1
3425
 
  ac_status=$?
3426
 
  grep -v '^ *+' conftest.er1 >conftest.err
3427
 
  rm -f conftest.er1
3428
 
  cat conftest.err >&5
3429
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430
 
  (exit $ac_status); } && {
3431
 
         test -z "$ac_c_werror_flag" ||
3432
 
         test ! -s conftest.err
3433
 
       } && test -s conftest.$ac_objext; then
 
3604
  if ac_fn_c_try_compile "$LINENO"; then :
3434
3605
  ac_cv_prog_cc_c89=$ac_arg
3435
 
else
3436
 
  echo "$as_me: failed program was:" >&5
3437
 
sed 's/^/| /' conftest.$ac_ext >&5
3438
 
 
3439
 
 
3440
3606
fi
3441
 
 
3442
3607
rm -f core conftest.err conftest.$ac_objext
3443
3608
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3444
3609
done
3449
3614
# AC_CACHE_VAL
3450
3615
case "x$ac_cv_prog_cc_c89" in
3451
3616
  x)
3452
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3453
 
echo "${ECHO_T}none needed" >&6; } ;;
 
3617
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3618
$as_echo "none needed" >&6; } ;;
3454
3619
  xno)
3455
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3456
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
3620
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3621
$as_echo "unsupported" >&6; } ;;
3457
3622
  *)
3458
3623
    CC="$CC $ac_cv_prog_cc_c89"
3459
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3460
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3624
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3625
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3461
3626
esac
 
3627
if test "x$ac_cv_prog_cc_c89" != xno; then :
3462
3628
 
 
3629
fi
3463
3630
 
3464
3631
ac_ext=c
3465
3632
ac_cpp='$CPP $CPPFLAGS'
3474
3641
am_make=${MAKE-make}
3475
3642
cat > confinc << 'END'
3476
3643
am__doit:
3477
 
        @echo done
 
3644
        @echo this is the am__doit target
3478
3645
.PHONY: am__doit
3479
3646
END
3480
3647
# If we don't find an include directive, just comment out the code.
3481
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3482
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
3648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3649
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3483
3650
am__include="#"
3484
3651
am__quote=
3485
3652
_am_result=none
3486
3653
# First try GNU make style include.
3487
3654
echo "include confinc" > confmf
3488
 
# We grep out `Entering directory' and `Leaving directory'
3489
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3490
 
# In particular we don't look at `^make:' because GNU make might
3491
 
# be invoked under some other name (usually "gmake"), in which
3492
 
# case it prints its new name instead of `make'.
3493
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3494
 
   am__include=include
3495
 
   am__quote=
3496
 
   _am_result=GNU
3497
 
fi
 
3655
# Ignore all kinds of additional output from `make'.
 
3656
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3657
*the\ am__doit\ target*)
 
3658
  am__include=include
 
3659
  am__quote=
 
3660
  _am_result=GNU
 
3661
  ;;
 
3662
esac
3498
3663
# Now try BSD make style include.
3499
3664
if test "$am__include" = "#"; then
3500
3665
   echo '.include "confinc"' > confmf
3501
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3502
 
      am__include=.include
3503
 
      am__quote="\""
3504
 
      _am_result=BSD
3505
 
   fi
 
3666
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3667
   *the\ am__doit\ target*)
 
3668
     am__include=.include
 
3669
     am__quote="\""
 
3670
     _am_result=BSD
 
3671
     ;;
 
3672
   esac
3506
3673
fi
3507
3674
 
3508
3675
 
3509
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3510
 
echo "${ECHO_T}$_am_result" >&6; }
 
3676
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3677
$as_echo "$_am_result" >&6; }
3511
3678
rm -f confinc confmf
3512
3679
 
3513
3680
# Check whether --enable-dependency-tracking was given.
3514
 
if test "${enable_dependency_tracking+set}" = set; then
 
3681
if test "${enable_dependency_tracking+set}" = set; then :
3515
3682
  enableval=$enable_dependency_tracking;
3516
3683
fi
3517
3684
 
3531
3698
 
3532
3699
depcc="$CC"   am_compiler_list=
3533
3700
 
3534
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3535
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3536
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3537
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3702
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3703
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3704
  $as_echo_n "(cached) " >&6
3538
3705
else
3539
3706
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3540
3707
  # We make a subdir and do the tests there.  Otherwise we can end up
3559
3726
  if test "$am_compiler_list" = ""; then
3560
3727
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3561
3728
  fi
 
3729
  am__universal=false
 
3730
  case " $depcc " in #(
 
3731
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3732
     esac
 
3733
 
3562
3734
  for depmode in $am_compiler_list; do
3563
3735
    # Setup a source with many dependencies, because some compilers
3564
3736
    # like to wrap large dependency lists on column 80 (with \), and
3576
3748
    done
3577
3749
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3578
3750
 
 
3751
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3752
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3753
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3754
    # versions had trouble with output in subdirs
 
3755
    am__obj=sub/conftest.${OBJEXT-o}
 
3756
    am__minus_obj="-o $am__obj"
3579
3757
    case $depmode in
 
3758
    gcc)
 
3759
      # This depmode causes a compiler race in universal mode.
 
3760
      test "$am__universal" = false || continue
 
3761
      ;;
3580
3762
    nosideeffect)
3581
3763
      # after this tag, mechanisms are not by side-effect, so they'll
3582
3764
      # only be used when explicitly requested
3586
3768
        break
3587
3769
      fi
3588
3770
      ;;
 
3771
    msvisualcpp | msvcmsys)
 
3772
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3773
      # not run yet.  These depmodes are late enough in the game, and
 
3774
      # so weak that their functioning should not be impacted.
 
3775
      am__obj=conftest.${OBJEXT-o}
 
3776
      am__minus_obj=
 
3777
      ;;
3589
3778
    none) break ;;
3590
3779
    esac
3591
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3592
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3593
 
    # handle `-M -o', and we need to detect this.
3594
3780
    if depmode=$depmode \
3595
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3781
       source=sub/conftest.c object=$am__obj \
3596
3782
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3597
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3783
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3598
3784
         >/dev/null 2>conftest.err &&
3599
3785
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3600
3786
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3601
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3787
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3602
3788
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3603
3789
      # icc doesn't choke on unknown options, it will just issue warnings
3604
3790
      # or remarks (even with -Werror).  So we grep stderr for any message
3622
3808
fi
3623
3809
 
3624
3810
fi
3625
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3626
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
3811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3812
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3627
3813
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3628
3814
 
3629
3815
 if
3637
3823
fi
3638
3824
 
3639
3825
 
3640
 
# Check whether --enable-shared was given.
3641
 
if test "${enable_shared+set}" = set; then
3642
 
  enableval=$enable_shared; p=${PACKAGE-default}
3643
 
    case $enableval in
3644
 
    yes) enable_shared=yes ;;
3645
 
    no) enable_shared=no ;;
3646
 
    *)
3647
 
      enable_shared=no
3648
 
      # Look at the argument we got.  We use all the common list separators.
3649
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3650
 
      for pkg in $enableval; do
3651
 
        IFS="$lt_save_ifs"
3652
 
        if test "X$pkg" = "X$p"; then
3653
 
          enable_shared=yes
3654
 
        fi
3655
 
      done
3656
 
      IFS="$lt_save_ifs"
3657
 
      ;;
3658
 
    esac
3659
 
else
3660
 
  enable_shared=yes
3661
 
fi
3662
 
 
3663
 
 
3664
 
# Check whether --enable-static was given.
3665
 
if test "${enable_static+set}" = set; then
3666
 
  enableval=$enable_static; p=${PACKAGE-default}
3667
 
    case $enableval in
3668
 
    yes) enable_static=yes ;;
3669
 
    no) enable_static=no ;;
3670
 
    *)
3671
 
     enable_static=no
3672
 
      # Look at the argument we got.  We use all the common list separators.
3673
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3674
 
      for pkg in $enableval; do
3675
 
        IFS="$lt_save_ifs"
3676
 
        if test "X$pkg" = "X$p"; then
3677
 
          enable_static=yes
3678
 
        fi
3679
 
      done
3680
 
      IFS="$lt_save_ifs"
3681
 
      ;;
3682
 
    esac
3683
 
else
3684
 
  enable_static=yes
3685
 
fi
3686
 
 
3687
 
 
3688
 
# Check whether --enable-fast-install was given.
3689
 
if test "${enable_fast_install+set}" = set; then
3690
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
3691
 
    case $enableval in
3692
 
    yes) enable_fast_install=yes ;;
3693
 
    no) enable_fast_install=no ;;
3694
 
    *)
3695
 
      enable_fast_install=no
3696
 
      # Look at the argument we got.  We use all the common list separators.
3697
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3698
 
      for pkg in $enableval; do
3699
 
        IFS="$lt_save_ifs"
3700
 
        if test "X$pkg" = "X$p"; then
3701
 
          enable_fast_install=yes
3702
 
        fi
3703
 
      done
3704
 
      IFS="$lt_save_ifs"
3705
 
      ;;
3706
 
    esac
3707
 
else
3708
 
  enable_fast_install=yes
3709
 
fi
3710
 
 
3711
 
 
3712
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3713
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3714
 
if test "${lt_cv_path_SED+set}" = set; then
3715
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3716
 
else
3717
 
  # Loop through the user's path and test for sed and gsed.
3718
 
# Then use that list of sed's as ones to test for truncation.
3719
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3826
case `pwd` in
 
3827
  *\ * | *\     *)
 
3828
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
3829
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
3830
esac
 
3831
 
 
3832
 
 
3833
 
 
3834
macro_version='2.2.6b'
 
3835
macro_revision='1.3017'
 
3836
 
 
3837
 
 
3838
 
 
3839
 
 
3840
 
 
3841
 
 
3842
 
 
3843
 
 
3844
 
 
3845
 
 
3846
 
 
3847
 
 
3848
 
 
3849
ltmain="$ac_aux_dir/ltmain.sh"
 
3850
 
 
3851
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
3852
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
3853
if test "${ac_cv_path_SED+set}" = set; then :
 
3854
  $as_echo_n "(cached) " >&6
 
3855
else
 
3856
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
3857
     for ac_i in 1 2 3 4 5 6 7; do
 
3858
       ac_script="$ac_script$as_nl$ac_script"
 
3859
     done
 
3860
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
3861
     { ac_script=; unset ac_script;}
 
3862
     if test -z "$SED"; then
 
3863
  ac_path_SED_found=false
 
3864
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3865
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3720
3866
for as_dir in $PATH
3721
3867
do
3722
3868
  IFS=$as_save_IFS
3723
3869
  test -z "$as_dir" && as_dir=.
3724
 
  for lt_ac_prog in sed gsed; do
 
3870
    for ac_prog in sed gsed; do
3725
3871
    for ac_exec_ext in '' $ac_executable_extensions; do
3726
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3727
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3728
 
      fi
 
3872
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
3873
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
3874
# Check for GNU ac_path_SED and select it if it is found.
 
3875
  # Check for GNU $ac_path_SED
 
3876
case `"$ac_path_SED" --version 2>&1` in
 
3877
*GNU*)
 
3878
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
3879
*)
 
3880
  ac_count=0
 
3881
  $as_echo_n 0123456789 >"conftest.in"
 
3882
  while :
 
3883
  do
 
3884
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3885
    mv "conftest.tmp" "conftest.in"
 
3886
    cp "conftest.in" "conftest.nl"
 
3887
    $as_echo '' >> "conftest.nl"
 
3888
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3889
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3890
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
3891
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
3892
      # Best one so far, save it but keep looking for a better one
 
3893
      ac_cv_path_SED="$ac_path_SED"
 
3894
      ac_path_SED_max=$ac_count
 
3895
    fi
 
3896
    # 10*(2^10) chars as input seems more than enough
 
3897
    test $ac_count -gt 10 && break
 
3898
  done
 
3899
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3900
esac
 
3901
 
 
3902
      $ac_path_SED_found && break 3
3729
3903
    done
3730
3904
  done
3731
 
done
 
3905
  done
3732
3906
IFS=$as_save_IFS
3733
 
lt_ac_max=0
3734
 
lt_ac_count=0
3735
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3736
 
# along with /bin/sed that truncates output.
3737
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3738
 
  test ! -f $lt_ac_sed && continue
3739
 
  cat /dev/null > conftest.in
3740
 
  lt_ac_count=0
3741
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3742
 
  # Check for GNU sed and select it if it is found.
3743
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3744
 
    lt_cv_path_SED=$lt_ac_sed
3745
 
    break
 
3907
  if test -z "$ac_cv_path_SED"; then
 
3908
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
3746
3909
  fi
3747
 
  while true; do
3748
 
    cat conftest.in conftest.in >conftest.tmp
3749
 
    mv conftest.tmp conftest.in
3750
 
    cp conftest.in conftest.nl
3751
 
    echo >>conftest.nl
3752
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3753
 
    cmp -s conftest.out conftest.nl || break
3754
 
    # 10000 chars as input seems more than enough
3755
 
    test $lt_ac_count -gt 10 && break
3756
 
    lt_ac_count=`expr $lt_ac_count + 1`
3757
 
    if test $lt_ac_count -gt $lt_ac_max; then
3758
 
      lt_ac_max=$lt_ac_count
3759
 
      lt_cv_path_SED=$lt_ac_sed
3760
 
    fi
3761
 
  done
3762
 
done
3763
 
 
3764
 
fi
3765
 
 
3766
 
SED=$lt_cv_path_SED
3767
 
 
3768
 
{ echo "$as_me:$LINENO: result: $SED" >&5
3769
 
echo "${ECHO_T}$SED" >&6; }
3770
 
 
3771
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3772
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3773
 
if test "${ac_cv_path_GREP+set}" = set; then
3774
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3775
 
else
3776
 
  # Extract the first word of "grep ggrep" to use in msg output
3777
 
if test -z "$GREP"; then
3778
 
set dummy grep ggrep; ac_prog_name=$2
3779
 
if test "${ac_cv_path_GREP+set}" = set; then
3780
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3781
 
else
 
3910
else
 
3911
  ac_cv_path_SED=$SED
 
3912
fi
 
3913
 
 
3914
fi
 
3915
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
3916
$as_echo "$ac_cv_path_SED" >&6; }
 
3917
 SED="$ac_cv_path_SED"
 
3918
  rm -f conftest.sed
 
3919
 
 
3920
test -z "$SED" && SED=sed
 
3921
Xsed="$SED -e 1s/^X//"
 
3922
 
 
3923
 
 
3924
 
 
3925
 
 
3926
 
 
3927
 
 
3928
 
 
3929
 
 
3930
 
 
3931
 
 
3932
 
 
3933
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
3934
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
3935
if test "${ac_cv_path_GREP+set}" = set; then :
 
3936
  $as_echo_n "(cached) " >&6
 
3937
else
 
3938
  if test -z "$GREP"; then
3782
3939
  ac_path_GREP_found=false
3783
 
# Loop through the user's path and test for each of PROGNAME-LIST
3784
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3940
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3941
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3785
3942
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3786
3943
do
3787
3944
  IFS=$as_save_IFS
3788
3945
  test -z "$as_dir" && as_dir=.
3789
 
  for ac_prog in grep ggrep; do
3790
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3791
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3792
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3793
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
3946
    for ac_prog in grep ggrep; do
 
3947
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3948
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3949
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3950
# Check for GNU ac_path_GREP and select it if it is found.
3794
3951
  # Check for GNU $ac_path_GREP
3795
3952
case `"$ac_path_GREP" --version 2>&1` in
3796
3953
*GNU*)
3797
3954
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3798
3955
*)
3799
3956
  ac_count=0
3800
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3957
  $as_echo_n 0123456789 >"conftest.in"
3801
3958
  while :
3802
3959
  do
3803
3960
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3804
3961
    mv "conftest.tmp" "conftest.in"
3805
3962
    cp "conftest.in" "conftest.nl"
3806
 
    echo 'GREP' >> "conftest.nl"
 
3963
    $as_echo 'GREP' >> "conftest.nl"
3807
3964
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3808
3965
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3809
 
    ac_count=`expr $ac_count + 1`
 
3966
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3810
3967
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3811
3968
      # Best one so far, save it but keep looking for a better one
3812
3969
      ac_cv_path_GREP="$ac_path_GREP"
3818
3975
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3819
3976
esac
3820
3977
 
3821
 
 
3822
 
    $ac_path_GREP_found && break 3
3823
 
  done
3824
 
done
3825
 
 
3826
 
done
 
3978
      $ac_path_GREP_found && break 3
 
3979
    done
 
3980
  done
 
3981
  done
3827
3982
IFS=$as_save_IFS
3828
 
 
3829
 
 
3830
 
fi
3831
 
 
3832
 
GREP="$ac_cv_path_GREP"
3833
 
if test -z "$GREP"; then
3834
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3835
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3836
 
   { (exit 1); exit 1; }; }
3837
 
fi
3838
 
 
 
3983
  if test -z "$ac_cv_path_GREP"; then
 
3984
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
3985
  fi
3839
3986
else
3840
3987
  ac_cv_path_GREP=$GREP
3841
3988
fi
3842
3989
 
3843
 
 
3844
3990
fi
3845
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3846
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
3991
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
3992
$as_echo "$ac_cv_path_GREP" >&6; }
3847
3993
 GREP="$ac_cv_path_GREP"
3848
3994
 
3849
3995
 
3850
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
3851
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3852
 
if test "${ac_cv_path_EGREP+set}" = set; then
3853
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
3997
$as_echo_n "checking for egrep... " >&6; }
 
3998
if test "${ac_cv_path_EGREP+set}" = set; then :
 
3999
  $as_echo_n "(cached) " >&6
3854
4000
else
3855
4001
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3856
4002
   then ac_cv_path_EGREP="$GREP -E"
3857
4003
   else
3858
 
     # Extract the first word of "egrep" to use in msg output
3859
 
if test -z "$EGREP"; then
3860
 
set dummy egrep; ac_prog_name=$2
3861
 
if test "${ac_cv_path_EGREP+set}" = set; then
3862
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3863
 
else
 
4004
     if test -z "$EGREP"; then
3864
4005
  ac_path_EGREP_found=false
3865
 
# Loop through the user's path and test for each of PROGNAME-LIST
3866
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4006
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4007
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3867
4008
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3868
4009
do
3869
4010
  IFS=$as_save_IFS
3870
4011
  test -z "$as_dir" && as_dir=.
3871
 
  for ac_prog in egrep; do
3872
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3873
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3874
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3875
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4012
    for ac_prog in egrep; do
 
4013
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4014
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4015
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4016
# Check for GNU ac_path_EGREP and select it if it is found.
3876
4017
  # Check for GNU $ac_path_EGREP
3877
4018
case `"$ac_path_EGREP" --version 2>&1` in
3878
4019
*GNU*)
3879
4020
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3880
4021
*)
3881
4022
  ac_count=0
3882
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4023
  $as_echo_n 0123456789 >"conftest.in"
3883
4024
  while :
3884
4025
  do
3885
4026
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3886
4027
    mv "conftest.tmp" "conftest.in"
3887
4028
    cp "conftest.in" "conftest.nl"
3888
 
    echo 'EGREP' >> "conftest.nl"
 
4029
    $as_echo 'EGREP' >> "conftest.nl"
3889
4030
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3890
4031
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3891
 
    ac_count=`expr $ac_count + 1`
 
4032
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3892
4033
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3893
4034
      # Best one so far, save it but keep looking for a better one
3894
4035
      ac_cv_path_EGREP="$ac_path_EGREP"
3900
4041
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3901
4042
esac
3902
4043
 
3903
 
 
3904
 
    $ac_path_EGREP_found && break 3
3905
 
  done
3906
 
done
3907
 
 
3908
 
done
 
4044
      $ac_path_EGREP_found && break 3
 
4045
    done
 
4046
  done
 
4047
  done
3909
4048
IFS=$as_save_IFS
3910
 
 
3911
 
 
3912
 
fi
3913
 
 
3914
 
EGREP="$ac_cv_path_EGREP"
3915
 
if test -z "$EGREP"; then
3916
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3917
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3918
 
   { (exit 1); exit 1; }; }
3919
 
fi
3920
 
 
 
4049
  if test -z "$ac_cv_path_EGREP"; then
 
4050
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4051
  fi
3921
4052
else
3922
4053
  ac_cv_path_EGREP=$EGREP
3923
4054
fi
3924
4055
 
3925
 
 
3926
4056
   fi
3927
4057
fi
3928
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3929
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4058
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
4059
$as_echo "$ac_cv_path_EGREP" >&6; }
3930
4060
 EGREP="$ac_cv_path_EGREP"
3931
4061
 
3932
4062
 
 
4063
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
4064
$as_echo_n "checking for fgrep... " >&6; }
 
4065
if test "${ac_cv_path_FGREP+set}" = set; then :
 
4066
  $as_echo_n "(cached) " >&6
 
4067
else
 
4068
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
4069
   then ac_cv_path_FGREP="$GREP -F"
 
4070
   else
 
4071
     if test -z "$FGREP"; then
 
4072
  ac_path_FGREP_found=false
 
4073
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4074
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4075
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4076
do
 
4077
  IFS=$as_save_IFS
 
4078
  test -z "$as_dir" && as_dir=.
 
4079
    for ac_prog in fgrep; do
 
4080
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4081
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4082
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
4083
# Check for GNU ac_path_FGREP and select it if it is found.
 
4084
  # Check for GNU $ac_path_FGREP
 
4085
case `"$ac_path_FGREP" --version 2>&1` in
 
4086
*GNU*)
 
4087
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
4088
*)
 
4089
  ac_count=0
 
4090
  $as_echo_n 0123456789 >"conftest.in"
 
4091
  while :
 
4092
  do
 
4093
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4094
    mv "conftest.tmp" "conftest.in"
 
4095
    cp "conftest.in" "conftest.nl"
 
4096
    $as_echo 'FGREP' >> "conftest.nl"
 
4097
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4098
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4099
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4100
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
4101
      # Best one so far, save it but keep looking for a better one
 
4102
      ac_cv_path_FGREP="$ac_path_FGREP"
 
4103
      ac_path_FGREP_max=$ac_count
 
4104
    fi
 
4105
    # 10*(2^10) chars as input seems more than enough
 
4106
    test $ac_count -gt 10 && break
 
4107
  done
 
4108
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4109
esac
 
4110
 
 
4111
      $ac_path_FGREP_found && break 3
 
4112
    done
 
4113
  done
 
4114
  done
 
4115
IFS=$as_save_IFS
 
4116
  if test -z "$ac_cv_path_FGREP"; then
 
4117
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4118
  fi
 
4119
else
 
4120
  ac_cv_path_FGREP=$FGREP
 
4121
fi
 
4122
 
 
4123
   fi
 
4124
fi
 
4125
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
4126
$as_echo "$ac_cv_path_FGREP" >&6; }
 
4127
 FGREP="$ac_cv_path_FGREP"
 
4128
 
 
4129
 
 
4130
test -z "$GREP" && GREP=grep
 
4131
 
 
4132
 
 
4133
 
 
4134
 
 
4135
 
 
4136
 
 
4137
 
 
4138
 
 
4139
 
 
4140
 
 
4141
 
 
4142
 
 
4143
 
 
4144
 
 
4145
 
 
4146
 
 
4147
 
 
4148
 
3933
4149
 
3934
4150
# Check whether --with-gnu-ld was given.
3935
 
if test "${with_gnu_ld+set}" = set; then
 
4151
if test "${with_gnu_ld+set}" = set; then :
3936
4152
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3937
4153
else
3938
4154
  with_gnu_ld=no
3941
4157
ac_prog=ld
3942
4158
if test "$GCC" = yes; then
3943
4159
  # Check if gcc -print-prog-name=ld gives a path.
3944
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3945
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
4160
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
4161
$as_echo_n "checking for ld used by $CC... " >&6; }
3946
4162
  case $host in
3947
4163
  *-*-mingw*)
3948
4164
    # gcc leaves a trailing carriage return which upsets mingw
3955
4171
    [\\/]* | ?:[\\/]*)
3956
4172
      re_direlt='/[^/][^/]*/\.\./'
3957
4173
      # Canonicalize the pathname of ld
3958
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3959
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3960
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
4174
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
4175
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
4176
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3961
4177
      done
3962
4178
      test -z "$LD" && LD="$ac_prog"
3963
4179
      ;;
3971
4187
    ;;
3972
4188
  esac
3973
4189
elif test "$with_gnu_ld" = yes; then
3974
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
3975
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
4190
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
4191
$as_echo_n "checking for GNU ld... " >&6; }
3976
4192
else
3977
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3978
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
4193
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
4194
$as_echo_n "checking for non-GNU ld... " >&6; }
3979
4195
fi
3980
 
if test "${lt_cv_path_LD+set}" = set; then
3981
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4196
if test "${lt_cv_path_LD+set}" = set; then :
 
4197
  $as_echo_n "(cached) " >&6
3982
4198
else
3983
4199
  if test -z "$LD"; then
3984
4200
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4008
4224
 
4009
4225
LD="$lt_cv_path_LD"
4010
4226
if test -n "$LD"; then
4011
 
  { echo "$as_me:$LINENO: result: $LD" >&5
4012
 
echo "${ECHO_T}$LD" >&6; }
 
4227
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
4228
$as_echo "$LD" >&6; }
4013
4229
else
4014
 
  { echo "$as_me:$LINENO: result: no" >&5
4015
 
echo "${ECHO_T}no" >&6; }
 
4230
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4231
$as_echo "no" >&6; }
4016
4232
fi
4017
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4018
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4019
 
   { (exit 1); exit 1; }; }
4020
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4021
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4022
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4023
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4233
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
4234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
4235
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
4236
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
4237
  $as_echo_n "(cached) " >&6
4024
4238
else
4025
4239
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4026
4240
case `$LD -v 2>&1 </dev/null` in
4032
4246
  ;;
4033
4247
esac
4034
4248
fi
4035
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4036
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
4249
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
4250
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4037
4251
with_gnu_ld=$lt_cv_prog_gnu_ld
4038
4252
 
4039
4253
 
4040
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4041
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4042
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
4043
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4044
 
else
4045
 
  lt_cv_ld_reload_flag='-r'
4046
 
fi
4047
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4048
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4049
 
reload_flag=$lt_cv_ld_reload_flag
4050
 
case $reload_flag in
4051
 
"" | " "*) ;;
4052
 
*) reload_flag=" $reload_flag" ;;
4053
 
esac
4054
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4055
 
case $host_os in
4056
 
  darwin*)
4057
 
    if test "$GCC" = yes; then
4058
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4059
 
    else
4060
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4061
 
    fi
4062
 
    ;;
4063
 
esac
4064
 
 
4065
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4066
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4067
 
if test "${lt_cv_path_NM+set}" = set; then
4068
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4254
 
 
4255
 
 
4256
 
 
4257
 
 
4258
 
 
4259
 
 
4260
 
 
4261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
4262
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
4263
if test "${lt_cv_path_NM+set}" = set; then :
 
4264
  $as_echo_n "(cached) " >&6
4069
4265
else
4070
4266
  if test -n "$NM"; then
4071
4267
  # Let the user override the test.
4108
4304
    done
4109
4305
    IFS="$lt_save_ifs"
4110
4306
  done
4111
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4112
 
fi
4113
 
fi
4114
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4115
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4116
 
NM="$lt_cv_path_NM"
4117
 
 
4118
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4119
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
4307
  : ${lt_cv_path_NM=no}
 
4308
fi
 
4309
fi
 
4310
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
4311
$as_echo "$lt_cv_path_NM" >&6; }
 
4312
if test "$lt_cv_path_NM" != "no"; then
 
4313
  NM="$lt_cv_path_NM"
 
4314
else
 
4315
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
4316
  if test -n "$ac_tool_prefix"; then
 
4317
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4318
  do
 
4319
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4320
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4321
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4322
$as_echo_n "checking for $ac_word... " >&6; }
 
4323
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
4324
  $as_echo_n "(cached) " >&6
 
4325
else
 
4326
  if test -n "$DUMPBIN"; then
 
4327
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
4328
else
 
4329
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4330
for as_dir in $PATH
 
4331
do
 
4332
  IFS=$as_save_IFS
 
4333
  test -z "$as_dir" && as_dir=.
 
4334
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4335
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4336
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
4337
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4338
    break 2
 
4339
  fi
 
4340
done
 
4341
  done
 
4342
IFS=$as_save_IFS
 
4343
 
 
4344
fi
 
4345
fi
 
4346
DUMPBIN=$ac_cv_prog_DUMPBIN
 
4347
if test -n "$DUMPBIN"; then
 
4348
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
4349
$as_echo "$DUMPBIN" >&6; }
 
4350
else
 
4351
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4352
$as_echo "no" >&6; }
 
4353
fi
 
4354
 
 
4355
 
 
4356
    test -n "$DUMPBIN" && break
 
4357
  done
 
4358
fi
 
4359
if test -z "$DUMPBIN"; then
 
4360
  ac_ct_DUMPBIN=$DUMPBIN
 
4361
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4362
do
 
4363
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4364
set dummy $ac_prog; ac_word=$2
 
4365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4366
$as_echo_n "checking for $ac_word... " >&6; }
 
4367
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
4368
  $as_echo_n "(cached) " >&6
 
4369
else
 
4370
  if test -n "$ac_ct_DUMPBIN"; then
 
4371
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
4372
else
 
4373
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4374
for as_dir in $PATH
 
4375
do
 
4376
  IFS=$as_save_IFS
 
4377
  test -z "$as_dir" && as_dir=.
 
4378
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4379
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4380
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
4381
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4382
    break 2
 
4383
  fi
 
4384
done
 
4385
  done
 
4386
IFS=$as_save_IFS
 
4387
 
 
4388
fi
 
4389
fi
 
4390
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
4391
if test -n "$ac_ct_DUMPBIN"; then
 
4392
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
4393
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
4394
else
 
4395
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4396
$as_echo "no" >&6; }
 
4397
fi
 
4398
 
 
4399
 
 
4400
  test -n "$ac_ct_DUMPBIN" && break
 
4401
done
 
4402
 
 
4403
  if test "x$ac_ct_DUMPBIN" = x; then
 
4404
    DUMPBIN=":"
 
4405
  else
 
4406
    case $cross_compiling:$ac_tool_warned in
 
4407
yes:)
 
4408
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4409
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4410
ac_tool_warned=yes ;;
 
4411
esac
 
4412
    DUMPBIN=$ac_ct_DUMPBIN
 
4413
  fi
 
4414
fi
 
4415
 
 
4416
 
 
4417
  if test "$DUMPBIN" != ":"; then
 
4418
    NM="$DUMPBIN"
 
4419
  fi
 
4420
fi
 
4421
test -z "$NM" && NM=nm
 
4422
 
 
4423
 
 
4424
 
 
4425
 
 
4426
 
 
4427
 
 
4428
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
4429
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
4430
if test "${lt_cv_nm_interface+set}" = set; then :
 
4431
  $as_echo_n "(cached) " >&6
 
4432
else
 
4433
  lt_cv_nm_interface="BSD nm"
 
4434
  echo "int some_variable = 0;" > conftest.$ac_ext
 
4435
  (eval echo "\"\$as_me:4435: $ac_compile\"" >&5)
 
4436
  (eval "$ac_compile" 2>conftest.err)
 
4437
  cat conftest.err >&5
 
4438
  (eval echo "\"\$as_me:4438: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4439
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
4440
  cat conftest.err >&5
 
4441
  (eval echo "\"\$as_me:4441: output\"" >&5)
 
4442
  cat conftest.out >&5
 
4443
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
4444
    lt_cv_nm_interface="MS dumpbin"
 
4445
  fi
 
4446
  rm -f conftest*
 
4447
fi
 
4448
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
4449
$as_echo "$lt_cv_nm_interface" >&6; }
 
4450
 
 
4451
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
4452
$as_echo_n "checking whether ln -s works... " >&6; }
4120
4453
LN_S=$as_ln_s
4121
4454
if test "$LN_S" = "ln -s"; then
4122
 
  { echo "$as_me:$LINENO: result: yes" >&5
4123
 
echo "${ECHO_T}yes" >&6; }
4124
 
else
4125
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4126
 
echo "${ECHO_T}no, using $LN_S" >&6; }
4127
 
fi
4128
 
 
4129
 
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4130
 
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4131
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
4132
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4455
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4456
$as_echo "yes" >&6; }
 
4457
else
 
4458
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
4459
$as_echo "no, using $LN_S" >&6; }
 
4460
fi
 
4461
 
 
4462
# find the maximum length of command line arguments
 
4463
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
4464
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
4465
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
4466
  $as_echo_n "(cached) " >&6
 
4467
else
 
4468
    i=0
 
4469
  teststring="ABCD"
 
4470
 
 
4471
  case $build_os in
 
4472
  msdosdjgpp*)
 
4473
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
4474
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
4475
    # during glob expansion).  Even if it were fixed, the result of this
 
4476
    # check would be larger than it should be.
 
4477
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
4478
    ;;
 
4479
 
 
4480
  gnu*)
 
4481
    # Under GNU Hurd, this test is not required because there is
 
4482
    # no limit to the length of command line arguments.
 
4483
    # Libtool will interpret -1 as no limit whatsoever
 
4484
    lt_cv_sys_max_cmd_len=-1;
 
4485
    ;;
 
4486
 
 
4487
  cygwin* | mingw* | cegcc*)
 
4488
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
4489
    # about 5 minutes as the teststring grows exponentially.
 
4490
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
4491
    # you end up with a "frozen" computer, even though with patience
 
4492
    # the test eventually succeeds (with a max line length of 256k).
 
4493
    # Instead, let's just punt: use the minimum linelength reported by
 
4494
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
4495
    lt_cv_sys_max_cmd_len=8192;
 
4496
    ;;
 
4497
 
 
4498
  amigaos*)
 
4499
    # On AmigaOS with pdksh, this test takes hours, literally.
 
4500
    # So we just punt and use a minimum line length of 8192.
 
4501
    lt_cv_sys_max_cmd_len=8192;
 
4502
    ;;
 
4503
 
 
4504
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
4505
    # This has been around since 386BSD, at least.  Likely further.
 
4506
    if test -x /sbin/sysctl; then
 
4507
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
4508
    elif test -x /usr/sbin/sysctl; then
 
4509
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
4510
    else
 
4511
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
4512
    fi
 
4513
    # And add a safety zone
 
4514
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4515
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4516
    ;;
 
4517
 
 
4518
  interix*)
 
4519
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
4520
    lt_cv_sys_max_cmd_len=196608
 
4521
    ;;
 
4522
 
 
4523
  osf*)
 
4524
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
4525
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
4526
    # nice to cause kernel panics so lets avoid the loop below.
 
4527
    # First set a reasonable default.
 
4528
    lt_cv_sys_max_cmd_len=16384
 
4529
    #
 
4530
    if test -x /sbin/sysconfig; then
 
4531
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
4532
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
4533
      esac
 
4534
    fi
 
4535
    ;;
 
4536
  sco3.2v5*)
 
4537
    lt_cv_sys_max_cmd_len=102400
 
4538
    ;;
 
4539
  sysv5* | sco5v6* | sysv4.2uw2*)
 
4540
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
4541
    if test -n "$kargmax"; then
 
4542
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
4543
    else
 
4544
      lt_cv_sys_max_cmd_len=32768
 
4545
    fi
 
4546
    ;;
 
4547
  *)
 
4548
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
4549
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
4550
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4551
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4552
    else
 
4553
      # Make teststring a little bigger before we do anything with it.
 
4554
      # a 1K string should be a reasonable start.
 
4555
      for i in 1 2 3 4 5 6 7 8 ; do
 
4556
        teststring=$teststring$teststring
 
4557
      done
 
4558
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
4559
      # If test is not a shell built-in, we'll probably end up computing a
 
4560
      # maximum length that is only half of the actual maximum length, but
 
4561
      # we can't tell.
 
4562
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
4563
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
4564
              test $i != 17 # 1/2 MB should be enough
 
4565
      do
 
4566
        i=`expr $i + 1`
 
4567
        teststring=$teststring$teststring
 
4568
      done
 
4569
      # Only check the string length outside the loop.
 
4570
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
4571
      teststring=
 
4572
      # Add a significant safety factor because C++ compilers can tack on
 
4573
      # massive amounts of additional arguments before passing them to the
 
4574
      # linker.  It appears as though 1/2 is a usable value.
 
4575
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
4576
    fi
 
4577
    ;;
 
4578
  esac
 
4579
 
 
4580
fi
 
4581
 
 
4582
if test -n $lt_cv_sys_max_cmd_len ; then
 
4583
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
4584
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
4585
else
 
4586
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
4587
$as_echo "none" >&6; }
 
4588
fi
 
4589
max_cmd_len=$lt_cv_sys_max_cmd_len
 
4590
 
 
4591
 
 
4592
 
 
4593
 
 
4594
 
 
4595
 
 
4596
: ${CP="cp -f"}
 
4597
: ${MV="mv -f"}
 
4598
: ${RM="rm -f"}
 
4599
 
 
4600
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
4601
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
4602
# Try some XSI features
 
4603
xsi_shell=no
 
4604
( _lt_dummy="a/b/c"
 
4605
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
4606
      = c,a/b,, \
 
4607
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
4608
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
4609
  && xsi_shell=yes
 
4610
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
4611
$as_echo "$xsi_shell" >&6; }
 
4612
 
 
4613
 
 
4614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
4615
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
4616
lt_shell_append=no
 
4617
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
4618
    >/dev/null 2>&1 \
 
4619
  && lt_shell_append=yes
 
4620
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
4621
$as_echo "$lt_shell_append" >&6; }
 
4622
 
 
4623
 
 
4624
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
4625
  lt_unset=unset
 
4626
else
 
4627
  lt_unset=false
 
4628
fi
 
4629
 
 
4630
 
 
4631
 
 
4632
 
 
4633
 
 
4634
# test EBCDIC or ASCII
 
4635
case `echo X|tr X '\101'` in
 
4636
 A) # ASCII based system
 
4637
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
4638
  lt_SP2NL='tr \040 \012'
 
4639
  lt_NL2SP='tr \015\012 \040\040'
 
4640
  ;;
 
4641
 *) # EBCDIC based system
 
4642
  lt_SP2NL='tr \100 \n'
 
4643
  lt_NL2SP='tr \r\n \100\100'
 
4644
  ;;
 
4645
esac
 
4646
 
 
4647
 
 
4648
 
 
4649
 
 
4650
 
 
4651
 
 
4652
 
 
4653
 
 
4654
 
 
4655
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
4656
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
4657
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
4658
  $as_echo_n "(cached) " >&6
 
4659
else
 
4660
  lt_cv_ld_reload_flag='-r'
 
4661
fi
 
4662
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
4663
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
4664
reload_flag=$lt_cv_ld_reload_flag
 
4665
case $reload_flag in
 
4666
"" | " "*) ;;
 
4667
*) reload_flag=" $reload_flag" ;;
 
4668
esac
 
4669
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4670
case $host_os in
 
4671
  darwin*)
 
4672
    if test "$GCC" = yes; then
 
4673
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
4674
    else
 
4675
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4676
    fi
 
4677
    ;;
 
4678
esac
 
4679
 
 
4680
 
 
4681
 
 
4682
 
 
4683
 
 
4684
 
 
4685
 
 
4686
 
 
4687
 
 
4688
if test -n "$ac_tool_prefix"; then
 
4689
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
4690
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
4691
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4692
$as_echo_n "checking for $ac_word... " >&6; }
 
4693
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
4694
  $as_echo_n "(cached) " >&6
 
4695
else
 
4696
  if test -n "$OBJDUMP"; then
 
4697
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
4698
else
 
4699
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4700
for as_dir in $PATH
 
4701
do
 
4702
  IFS=$as_save_IFS
 
4703
  test -z "$as_dir" && as_dir=.
 
4704
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4705
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4706
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
4707
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4708
    break 2
 
4709
  fi
 
4710
done
 
4711
  done
 
4712
IFS=$as_save_IFS
 
4713
 
 
4714
fi
 
4715
fi
 
4716
OBJDUMP=$ac_cv_prog_OBJDUMP
 
4717
if test -n "$OBJDUMP"; then
 
4718
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
4719
$as_echo "$OBJDUMP" >&6; }
 
4720
else
 
4721
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4722
$as_echo "no" >&6; }
 
4723
fi
 
4724
 
 
4725
 
 
4726
fi
 
4727
if test -z "$ac_cv_prog_OBJDUMP"; then
 
4728
  ac_ct_OBJDUMP=$OBJDUMP
 
4729
  # Extract the first word of "objdump", so it can be a program name with args.
 
4730
set dummy objdump; ac_word=$2
 
4731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4732
$as_echo_n "checking for $ac_word... " >&6; }
 
4733
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
4734
  $as_echo_n "(cached) " >&6
 
4735
else
 
4736
  if test -n "$ac_ct_OBJDUMP"; then
 
4737
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
4738
else
 
4739
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4740
for as_dir in $PATH
 
4741
do
 
4742
  IFS=$as_save_IFS
 
4743
  test -z "$as_dir" && as_dir=.
 
4744
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4745
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4746
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
4747
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4748
    break 2
 
4749
  fi
 
4750
done
 
4751
  done
 
4752
IFS=$as_save_IFS
 
4753
 
 
4754
fi
 
4755
fi
 
4756
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
4757
if test -n "$ac_ct_OBJDUMP"; then
 
4758
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
4759
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
4760
else
 
4761
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4762
$as_echo "no" >&6; }
 
4763
fi
 
4764
 
 
4765
  if test "x$ac_ct_OBJDUMP" = x; then
 
4766
    OBJDUMP="false"
 
4767
  else
 
4768
    case $cross_compiling:$ac_tool_warned in
 
4769
yes:)
 
4770
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4771
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4772
ac_tool_warned=yes ;;
 
4773
esac
 
4774
    OBJDUMP=$ac_ct_OBJDUMP
 
4775
  fi
 
4776
else
 
4777
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
4778
fi
 
4779
 
 
4780
test -z "$OBJDUMP" && OBJDUMP=objdump
 
4781
 
 
4782
 
 
4783
 
 
4784
 
 
4785
 
 
4786
 
 
4787
 
 
4788
 
 
4789
 
 
4790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
4791
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
4792
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
4793
  $as_echo_n "(cached) " >&6
4133
4794
else
4134
4795
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4135
4796
lt_cv_file_magic_test_file=
4179
4840
  fi
4180
4841
  ;;
4181
4842
 
 
4843
cegcc)
 
4844
  # use the weaker test based on 'objdump'. See mingw*.
 
4845
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
4846
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4847
  ;;
 
4848
 
4182
4849
darwin* | rhapsody*)
4183
4850
  lt_cv_deplibs_check_method=pass_all
4184
4851
  ;;
4185
4852
 
4186
4853
freebsd* | dragonfly*)
4187
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
4854
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4188
4855
    case $host_cpu in
4189
4856
    i*86 )
4190
4857
      # Not sure whether the presence of OpenBSD here was a mistake.
4237
4904
  ;;
4238
4905
 
4239
4906
# This must be Linux ELF.
4240
 
linux* | k*bsd*-gnu)
 
4907
linux* | k*bsd*-gnu | kopensolaris*-gnu)
4241
4908
  lt_cv_deplibs_check_method=pass_all
4242
4909
  ;;
4243
4910
 
4244
4911
netbsd* | netbsdelf*-gnu)
4245
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
4912
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4246
4913
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4247
4914
  else
4248
4915
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4255
4922
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4256
4923
  ;;
4257
4924
 
4258
 
nto-qnx*)
4259
 
  lt_cv_deplibs_check_method=unknown
 
4925
*nto* | *qnx*)
 
4926
  lt_cv_deplibs_check_method=pass_all
4260
4927
  ;;
4261
4928
 
4262
4929
openbsd*)
4263
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
4930
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4264
4931
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4265
4932
  else
4266
4933
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4279
4946
  lt_cv_deplibs_check_method=pass_all
4280
4947
  ;;
4281
4948
 
 
4949
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
4950
  lt_cv_deplibs_check_method=pass_all
 
4951
  ;;
 
4952
 
4282
4953
sysv4 | sysv4.3*)
4283
4954
  case $host_vendor in
4284
4955
  motorola)
4306
4977
  esac
4307
4978
  ;;
4308
4979
 
4309
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
4980
tpf*)
4310
4981
  lt_cv_deplibs_check_method=pass_all
4311
4982
  ;;
4312
4983
esac
4313
4984
 
4314
4985
fi
4315
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4316
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 
4986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
4987
$as_echo "$lt_cv_deplibs_check_method" >&6; }
4317
4988
file_magic_cmd=$lt_cv_file_magic_cmd
4318
4989
deplibs_check_method=$lt_cv_deplibs_check_method
4319
4990
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4321
4992
 
4322
4993
 
4323
4994
 
 
4995
 
 
4996
 
 
4997
 
 
4998
 
 
4999
 
 
5000
 
 
5001
 
 
5002
 
 
5003
if test -n "$ac_tool_prefix"; then
 
5004
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
5005
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
5006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5007
$as_echo_n "checking for $ac_word... " >&6; }
 
5008
if test "${ac_cv_prog_AR+set}" = set; then :
 
5009
  $as_echo_n "(cached) " >&6
 
5010
else
 
5011
  if test -n "$AR"; then
 
5012
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
5013
else
 
5014
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5015
for as_dir in $PATH
 
5016
do
 
5017
  IFS=$as_save_IFS
 
5018
  test -z "$as_dir" && as_dir=.
 
5019
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5020
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5021
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5022
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5023
    break 2
 
5024
  fi
 
5025
done
 
5026
  done
 
5027
IFS=$as_save_IFS
 
5028
 
 
5029
fi
 
5030
fi
 
5031
AR=$ac_cv_prog_AR
 
5032
if test -n "$AR"; then
 
5033
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
5034
$as_echo "$AR" >&6; }
 
5035
else
 
5036
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5037
$as_echo "no" >&6; }
 
5038
fi
 
5039
 
 
5040
 
 
5041
fi
 
5042
if test -z "$ac_cv_prog_AR"; then
 
5043
  ac_ct_AR=$AR
 
5044
  # Extract the first word of "ar", so it can be a program name with args.
 
5045
set dummy ar; ac_word=$2
 
5046
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5047
$as_echo_n "checking for $ac_word... " >&6; }
 
5048
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
5049
  $as_echo_n "(cached) " >&6
 
5050
else
 
5051
  if test -n "$ac_ct_AR"; then
 
5052
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
5053
else
 
5054
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5055
for as_dir in $PATH
 
5056
do
 
5057
  IFS=$as_save_IFS
 
5058
  test -z "$as_dir" && as_dir=.
 
5059
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5060
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5061
    ac_cv_prog_ac_ct_AR="ar"
 
5062
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5063
    break 2
 
5064
  fi
 
5065
done
 
5066
  done
 
5067
IFS=$as_save_IFS
 
5068
 
 
5069
fi
 
5070
fi
 
5071
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
5072
if test -n "$ac_ct_AR"; then
 
5073
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
5074
$as_echo "$ac_ct_AR" >&6; }
 
5075
else
 
5076
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5077
$as_echo "no" >&6; }
 
5078
fi
 
5079
 
 
5080
  if test "x$ac_ct_AR" = x; then
 
5081
    AR="false"
 
5082
  else
 
5083
    case $cross_compiling:$ac_tool_warned in
 
5084
yes:)
 
5085
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5086
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5087
ac_tool_warned=yes ;;
 
5088
esac
 
5089
    AR=$ac_ct_AR
 
5090
  fi
 
5091
else
 
5092
  AR="$ac_cv_prog_AR"
 
5093
fi
 
5094
 
 
5095
test -z "$AR" && AR=ar
 
5096
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
5097
 
 
5098
 
 
5099
 
 
5100
 
 
5101
 
 
5102
 
 
5103
 
 
5104
 
 
5105
 
 
5106
 
 
5107
 
 
5108
if test -n "$ac_tool_prefix"; then
 
5109
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
5110
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
5111
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5112
$as_echo_n "checking for $ac_word... " >&6; }
 
5113
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
5114
  $as_echo_n "(cached) " >&6
 
5115
else
 
5116
  if test -n "$STRIP"; then
 
5117
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
5118
else
 
5119
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5120
for as_dir in $PATH
 
5121
do
 
5122
  IFS=$as_save_IFS
 
5123
  test -z "$as_dir" && as_dir=.
 
5124
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5125
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5126
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
5127
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5128
    break 2
 
5129
  fi
 
5130
done
 
5131
  done
 
5132
IFS=$as_save_IFS
 
5133
 
 
5134
fi
 
5135
fi
 
5136
STRIP=$ac_cv_prog_STRIP
 
5137
if test -n "$STRIP"; then
 
5138
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
5139
$as_echo "$STRIP" >&6; }
 
5140
else
 
5141
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5142
$as_echo "no" >&6; }
 
5143
fi
 
5144
 
 
5145
 
 
5146
fi
 
5147
if test -z "$ac_cv_prog_STRIP"; then
 
5148
  ac_ct_STRIP=$STRIP
 
5149
  # Extract the first word of "strip", so it can be a program name with args.
 
5150
set dummy strip; ac_word=$2
 
5151
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5152
$as_echo_n "checking for $ac_word... " >&6; }
 
5153
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
5154
  $as_echo_n "(cached) " >&6
 
5155
else
 
5156
  if test -n "$ac_ct_STRIP"; then
 
5157
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
5158
else
 
5159
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5160
for as_dir in $PATH
 
5161
do
 
5162
  IFS=$as_save_IFS
 
5163
  test -z "$as_dir" && as_dir=.
 
5164
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5165
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5166
    ac_cv_prog_ac_ct_STRIP="strip"
 
5167
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5168
    break 2
 
5169
  fi
 
5170
done
 
5171
  done
 
5172
IFS=$as_save_IFS
 
5173
 
 
5174
fi
 
5175
fi
 
5176
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
5177
if test -n "$ac_ct_STRIP"; then
 
5178
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
5179
$as_echo "$ac_ct_STRIP" >&6; }
 
5180
else
 
5181
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5182
$as_echo "no" >&6; }
 
5183
fi
 
5184
 
 
5185
  if test "x$ac_ct_STRIP" = x; then
 
5186
    STRIP=":"
 
5187
  else
 
5188
    case $cross_compiling:$ac_tool_warned in
 
5189
yes:)
 
5190
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5191
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5192
ac_tool_warned=yes ;;
 
5193
esac
 
5194
    STRIP=$ac_ct_STRIP
 
5195
  fi
 
5196
else
 
5197
  STRIP="$ac_cv_prog_STRIP"
 
5198
fi
 
5199
 
 
5200
test -z "$STRIP" && STRIP=:
 
5201
 
 
5202
 
 
5203
 
 
5204
 
 
5205
 
 
5206
 
 
5207
if test -n "$ac_tool_prefix"; then
 
5208
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
5209
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
5210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5211
$as_echo_n "checking for $ac_word... " >&6; }
 
5212
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
5213
  $as_echo_n "(cached) " >&6
 
5214
else
 
5215
  if test -n "$RANLIB"; then
 
5216
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
5217
else
 
5218
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5219
for as_dir in $PATH
 
5220
do
 
5221
  IFS=$as_save_IFS
 
5222
  test -z "$as_dir" && as_dir=.
 
5223
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5224
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5225
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
5226
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5227
    break 2
 
5228
  fi
 
5229
done
 
5230
  done
 
5231
IFS=$as_save_IFS
 
5232
 
 
5233
fi
 
5234
fi
 
5235
RANLIB=$ac_cv_prog_RANLIB
 
5236
if test -n "$RANLIB"; then
 
5237
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
5238
$as_echo "$RANLIB" >&6; }
 
5239
else
 
5240
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5241
$as_echo "no" >&6; }
 
5242
fi
 
5243
 
 
5244
 
 
5245
fi
 
5246
if test -z "$ac_cv_prog_RANLIB"; then
 
5247
  ac_ct_RANLIB=$RANLIB
 
5248
  # Extract the first word of "ranlib", so it can be a program name with args.
 
5249
set dummy ranlib; ac_word=$2
 
5250
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5251
$as_echo_n "checking for $ac_word... " >&6; }
 
5252
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
5253
  $as_echo_n "(cached) " >&6
 
5254
else
 
5255
  if test -n "$ac_ct_RANLIB"; then
 
5256
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
5257
else
 
5258
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5259
for as_dir in $PATH
 
5260
do
 
5261
  IFS=$as_save_IFS
 
5262
  test -z "$as_dir" && as_dir=.
 
5263
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5264
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5265
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
5266
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5267
    break 2
 
5268
  fi
 
5269
done
 
5270
  done
 
5271
IFS=$as_save_IFS
 
5272
 
 
5273
fi
 
5274
fi
 
5275
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
5276
if test -n "$ac_ct_RANLIB"; then
 
5277
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
5278
$as_echo "$ac_ct_RANLIB" >&6; }
 
5279
else
 
5280
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5281
$as_echo "no" >&6; }
 
5282
fi
 
5283
 
 
5284
  if test "x$ac_ct_RANLIB" = x; then
 
5285
    RANLIB=":"
 
5286
  else
 
5287
    case $cross_compiling:$ac_tool_warned in
 
5288
yes:)
 
5289
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5290
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5291
ac_tool_warned=yes ;;
 
5292
esac
 
5293
    RANLIB=$ac_ct_RANLIB
 
5294
  fi
 
5295
else
 
5296
  RANLIB="$ac_cv_prog_RANLIB"
 
5297
fi
 
5298
 
 
5299
test -z "$RANLIB" && RANLIB=:
 
5300
 
 
5301
 
 
5302
 
 
5303
 
 
5304
 
 
5305
 
 
5306
# Determine commands to create old-style static archives.
 
5307
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
5308
old_postinstall_cmds='chmod 644 $oldlib'
 
5309
old_postuninstall_cmds=
 
5310
 
 
5311
if test -n "$RANLIB"; then
 
5312
  case $host_os in
 
5313
  openbsd*)
 
5314
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
5315
    ;;
 
5316
  *)
 
5317
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
5318
    ;;
 
5319
  esac
 
5320
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
5321
fi
 
5322
 
 
5323
 
 
5324
 
 
5325
 
 
5326
 
 
5327
 
 
5328
 
 
5329
 
 
5330
 
 
5331
 
 
5332
 
 
5333
 
 
5334
 
 
5335
 
 
5336
 
 
5337
 
 
5338
 
 
5339
 
 
5340
 
 
5341
 
 
5342
 
 
5343
 
 
5344
 
 
5345
 
 
5346
 
 
5347
 
 
5348
 
 
5349
 
 
5350
 
 
5351
 
 
5352
 
 
5353
 
 
5354
 
 
5355
 
4324
5356
# If no C compiler was specified, use CC.
4325
5357
LTCC=${LTCC-"$CC"}
4326
5358
 
4331
5363
compiler=$CC
4332
5364
 
4333
5365
 
4334
 
# Check whether --enable-libtool-lock was given.
4335
 
if test "${enable_libtool_lock+set}" = set; then
4336
 
  enableval=$enable_libtool_lock;
4337
 
fi
4338
 
 
4339
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4340
 
 
4341
 
# Some flags need to be propagated to the compiler or linker for good
4342
 
# libtool support.
4343
 
case $host in
4344
 
ia64-*-hpux*)
4345
 
  # Find out which ABI we are using.
4346
 
  echo 'int i;' > conftest.$ac_ext
4347
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4348
 
  (eval $ac_compile) 2>&5
4349
 
  ac_status=$?
4350
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4351
 
  (exit $ac_status); }; then
4352
 
    case `/usr/bin/file conftest.$ac_objext` in
4353
 
    *ELF-32*)
4354
 
      HPUX_IA64_MODE="32"
4355
 
      ;;
4356
 
    *ELF-64*)
4357
 
      HPUX_IA64_MODE="64"
4358
 
      ;;
4359
 
    esac
4360
 
  fi
4361
 
  rm -rf conftest*
4362
 
  ;;
4363
 
*-*-irix6*)
4364
 
  # Find out which ABI we are using.
4365
 
  echo '#line 4365 "configure"' > conftest.$ac_ext
4366
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4367
 
  (eval $ac_compile) 2>&5
4368
 
  ac_status=$?
4369
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370
 
  (exit $ac_status); }; then
4371
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
4372
 
    case `/usr/bin/file conftest.$ac_objext` in
4373
 
    *32-bit*)
4374
 
      LD="${LD-ld} -melf32bsmip"
4375
 
      ;;
4376
 
    *N32*)
4377
 
      LD="${LD-ld} -melf32bmipn32"
4378
 
      ;;
4379
 
    *64-bit*)
4380
 
      LD="${LD-ld} -melf64bmip"
4381
 
      ;;
4382
 
    esac
4383
 
   else
4384
 
    case `/usr/bin/file conftest.$ac_objext` in
4385
 
    *32-bit*)
4386
 
      LD="${LD-ld} -32"
4387
 
      ;;
4388
 
    *N32*)
4389
 
      LD="${LD-ld} -n32"
4390
 
      ;;
4391
 
    *64-bit*)
4392
 
      LD="${LD-ld} -64"
4393
 
      ;;
4394
 
    esac
4395
 
   fi
4396
 
  fi
4397
 
  rm -rf conftest*
4398
 
  ;;
4399
 
 
4400
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4401
 
s390*-*linux*|sparc*-*linux*)
4402
 
  # Find out which ABI we are using.
4403
 
  echo 'int i;' > conftest.$ac_ext
4404
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4405
 
  (eval $ac_compile) 2>&5
4406
 
  ac_status=$?
4407
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4408
 
  (exit $ac_status); }; then
4409
 
    case `/usr/bin/file conftest.o` in
4410
 
    *32-bit*)
4411
 
      case $host in
4412
 
        x86_64-*kfreebsd*-gnu)
4413
 
          LD="${LD-ld} -m elf_i386_fbsd"
4414
 
          ;;
4415
 
        x86_64-*linux*)
4416
 
          LD="${LD-ld} -m elf_i386"
4417
 
          ;;
4418
 
        ppc64-*linux*|powerpc64-*linux*)
4419
 
          LD="${LD-ld} -m elf32ppclinux"
4420
 
          ;;
4421
 
        s390x-*linux*)
4422
 
          LD="${LD-ld} -m elf_s390"
4423
 
          ;;
4424
 
        sparc64-*linux*)
4425
 
          LD="${LD-ld} -m elf32_sparc"
4426
 
          ;;
4427
 
      esac
4428
 
      ;;
4429
 
    *64-bit*)
4430
 
      case $host in
4431
 
        x86_64-*kfreebsd*-gnu)
4432
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
4433
 
          ;;
4434
 
        x86_64-*linux*)
4435
 
          LD="${LD-ld} -m elf_x86_64"
4436
 
          ;;
4437
 
        ppc*-*linux*|powerpc*-*linux*)
4438
 
          LD="${LD-ld} -m elf64ppc"
4439
 
          ;;
4440
 
        s390*-*linux*)
4441
 
          LD="${LD-ld} -m elf64_s390"
4442
 
          ;;
4443
 
        sparc*-*linux*)
4444
 
          LD="${LD-ld} -m elf64_sparc"
4445
 
          ;;
4446
 
      esac
4447
 
      ;;
4448
 
    esac
4449
 
  fi
4450
 
  rm -rf conftest*
4451
 
  ;;
4452
 
 
4453
 
*-*-sco3.2v5*)
4454
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4455
 
  SAVE_CFLAGS="$CFLAGS"
4456
 
  CFLAGS="$CFLAGS -belf"
4457
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4458
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4459
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
4460
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4461
 
else
4462
 
  ac_ext=c
4463
 
ac_cpp='$CPP $CPPFLAGS'
4464
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4465
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4466
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4467
 
 
4468
 
     cat >conftest.$ac_ext <<_ACEOF
4469
 
/* confdefs.h.  */
4470
 
_ACEOF
4471
 
cat confdefs.h >>conftest.$ac_ext
4472
 
cat >>conftest.$ac_ext <<_ACEOF
4473
 
/* end confdefs.h.  */
4474
 
 
4475
 
int
4476
 
main ()
4477
 
{
4478
 
 
4479
 
  ;
4480
 
  return 0;
4481
 
}
4482
 
_ACEOF
4483
 
rm -f conftest.$ac_objext conftest$ac_exeext
4484
 
if { (ac_try="$ac_link"
4485
 
case "(($ac_try" in
4486
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4487
 
  *) ac_try_echo=$ac_try;;
4488
 
esac
4489
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4490
 
  (eval "$ac_link") 2>conftest.er1
4491
 
  ac_status=$?
4492
 
  grep -v '^ *+' conftest.er1 >conftest.err
4493
 
  rm -f conftest.er1
4494
 
  cat conftest.err >&5
4495
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496
 
  (exit $ac_status); } && {
4497
 
         test -z "$ac_c_werror_flag" ||
4498
 
         test ! -s conftest.err
4499
 
       } && test -s conftest$ac_exeext &&
4500
 
       $as_test_x conftest$ac_exeext; then
4501
 
  lt_cv_cc_needs_belf=yes
4502
 
else
4503
 
  echo "$as_me: failed program was:" >&5
4504
 
sed 's/^/| /' conftest.$ac_ext >&5
4505
 
 
4506
 
        lt_cv_cc_needs_belf=no
4507
 
fi
4508
 
 
4509
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4510
 
      conftest$ac_exeext conftest.$ac_ext
4511
 
     ac_ext=c
4512
 
ac_cpp='$CPP $CPPFLAGS'
4513
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4514
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4515
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4516
 
 
4517
 
fi
4518
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4519
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4520
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4521
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4522
 
    CFLAGS="$SAVE_CFLAGS"
4523
 
  fi
4524
 
  ;;
4525
 
sparc*-*solaris*)
4526
 
  # Find out which ABI we are using.
4527
 
  echo 'int i;' > conftest.$ac_ext
4528
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4529
 
  (eval $ac_compile) 2>&5
4530
 
  ac_status=$?
4531
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532
 
  (exit $ac_status); }; then
4533
 
    case `/usr/bin/file conftest.o` in
4534
 
    *64-bit*)
4535
 
      case $lt_cv_prog_gnu_ld in
4536
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
4537
 
      *)
4538
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
4539
 
          LD="${LD-ld} -64"
4540
 
        fi
4541
 
        ;;
4542
 
      esac
4543
 
      ;;
4544
 
    esac
4545
 
  fi
4546
 
  rm -rf conftest*
4547
 
  ;;
4548
 
 
4549
 
 
4550
 
esac
4551
 
 
4552
 
need_locks="$enable_libtool_lock"
4553
 
 
4554
 
 
4555
 
ac_ext=c
4556
 
ac_cpp='$CPP $CPPFLAGS'
4557
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4558
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4559
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4560
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4561
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4562
 
# On Suns, sometimes $CPP names a directory.
4563
 
if test -n "$CPP" && test -d "$CPP"; then
4564
 
  CPP=
4565
 
fi
4566
 
if test -z "$CPP"; then
4567
 
  if test "${ac_cv_prog_CPP+set}" = set; then
4568
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4569
 
else
4570
 
      # Double quotes because CPP needs to be expanded
4571
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4572
 
    do
4573
 
      ac_preproc_ok=false
4574
 
for ac_c_preproc_warn_flag in '' yes
4575
 
do
4576
 
  # Use a header file that comes with gcc, so configuring glibc
4577
 
  # with a fresh cross-compiler works.
4578
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4579
 
  # <limits.h> exists even on freestanding compilers.
4580
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4581
 
  # not just through cpp. "Syntax error" is here to catch this case.
4582
 
  cat >conftest.$ac_ext <<_ACEOF
4583
 
/* confdefs.h.  */
4584
 
_ACEOF
4585
 
cat confdefs.h >>conftest.$ac_ext
4586
 
cat >>conftest.$ac_ext <<_ACEOF
4587
 
/* end confdefs.h.  */
4588
 
#ifdef __STDC__
4589
 
# include <limits.h>
4590
 
#else
4591
 
# include <assert.h>
4592
 
#endif
4593
 
                     Syntax error
4594
 
_ACEOF
4595
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4596
 
case "(($ac_try" in
4597
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4598
 
  *) ac_try_echo=$ac_try;;
4599
 
esac
4600
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4601
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4602
 
  ac_status=$?
4603
 
  grep -v '^ *+' conftest.er1 >conftest.err
4604
 
  rm -f conftest.er1
4605
 
  cat conftest.err >&5
4606
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607
 
  (exit $ac_status); } >/dev/null && {
4608
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4609
 
         test ! -s conftest.err
4610
 
       }; then
4611
 
  :
4612
 
else
4613
 
  echo "$as_me: failed program was:" >&5
4614
 
sed 's/^/| /' conftest.$ac_ext >&5
4615
 
 
4616
 
  # Broken: fails on valid input.
4617
 
continue
4618
 
fi
4619
 
 
4620
 
rm -f conftest.err conftest.$ac_ext
4621
 
 
4622
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4623
 
  # can be detected and how.
4624
 
  cat >conftest.$ac_ext <<_ACEOF
4625
 
/* confdefs.h.  */
4626
 
_ACEOF
4627
 
cat confdefs.h >>conftest.$ac_ext
4628
 
cat >>conftest.$ac_ext <<_ACEOF
4629
 
/* end confdefs.h.  */
4630
 
#include <ac_nonexistent.h>
4631
 
_ACEOF
4632
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4633
 
case "(($ac_try" in
4634
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4635
 
  *) ac_try_echo=$ac_try;;
4636
 
esac
4637
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4638
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4639
 
  ac_status=$?
4640
 
  grep -v '^ *+' conftest.er1 >conftest.err
4641
 
  rm -f conftest.er1
4642
 
  cat conftest.err >&5
4643
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644
 
  (exit $ac_status); } >/dev/null && {
4645
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4646
 
         test ! -s conftest.err
4647
 
       }; then
4648
 
  # Broken: success on invalid input.
4649
 
continue
4650
 
else
4651
 
  echo "$as_me: failed program was:" >&5
4652
 
sed 's/^/| /' conftest.$ac_ext >&5
4653
 
 
4654
 
  # Passes both tests.
4655
 
ac_preproc_ok=:
4656
 
break
4657
 
fi
4658
 
 
4659
 
rm -f conftest.err conftest.$ac_ext
4660
 
 
4661
 
done
4662
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4663
 
rm -f conftest.err conftest.$ac_ext
4664
 
if $ac_preproc_ok; then
4665
 
  break
4666
 
fi
4667
 
 
4668
 
    done
4669
 
    ac_cv_prog_CPP=$CPP
4670
 
 
4671
 
fi
4672
 
  CPP=$ac_cv_prog_CPP
4673
 
else
4674
 
  ac_cv_prog_CPP=$CPP
4675
 
fi
4676
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
4677
 
echo "${ECHO_T}$CPP" >&6; }
4678
 
ac_preproc_ok=false
4679
 
for ac_c_preproc_warn_flag in '' yes
4680
 
do
4681
 
  # Use a header file that comes with gcc, so configuring glibc
4682
 
  # with a fresh cross-compiler works.
4683
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4684
 
  # <limits.h> exists even on freestanding compilers.
4685
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4686
 
  # not just through cpp. "Syntax error" is here to catch this case.
4687
 
  cat >conftest.$ac_ext <<_ACEOF
4688
 
/* confdefs.h.  */
4689
 
_ACEOF
4690
 
cat confdefs.h >>conftest.$ac_ext
4691
 
cat >>conftest.$ac_ext <<_ACEOF
4692
 
/* end confdefs.h.  */
4693
 
#ifdef __STDC__
4694
 
# include <limits.h>
4695
 
#else
4696
 
# include <assert.h>
4697
 
#endif
4698
 
                     Syntax error
4699
 
_ACEOF
4700
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4701
 
case "(($ac_try" in
4702
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4703
 
  *) ac_try_echo=$ac_try;;
4704
 
esac
4705
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4706
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4707
 
  ac_status=$?
4708
 
  grep -v '^ *+' conftest.er1 >conftest.err
4709
 
  rm -f conftest.er1
4710
 
  cat conftest.err >&5
4711
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712
 
  (exit $ac_status); } >/dev/null && {
4713
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4714
 
         test ! -s conftest.err
4715
 
       }; then
4716
 
  :
4717
 
else
4718
 
  echo "$as_me: failed program was:" >&5
4719
 
sed 's/^/| /' conftest.$ac_ext >&5
4720
 
 
4721
 
  # Broken: fails on valid input.
4722
 
continue
4723
 
fi
4724
 
 
4725
 
rm -f conftest.err conftest.$ac_ext
4726
 
 
4727
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4728
 
  # can be detected and how.
4729
 
  cat >conftest.$ac_ext <<_ACEOF
4730
 
/* confdefs.h.  */
4731
 
_ACEOF
4732
 
cat confdefs.h >>conftest.$ac_ext
4733
 
cat >>conftest.$ac_ext <<_ACEOF
4734
 
/* end confdefs.h.  */
4735
 
#include <ac_nonexistent.h>
4736
 
_ACEOF
4737
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4738
 
case "(($ac_try" in
4739
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4740
 
  *) ac_try_echo=$ac_try;;
4741
 
esac
4742
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4743
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4744
 
  ac_status=$?
4745
 
  grep -v '^ *+' conftest.er1 >conftest.err
4746
 
  rm -f conftest.er1
4747
 
  cat conftest.err >&5
4748
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749
 
  (exit $ac_status); } >/dev/null && {
4750
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4751
 
         test ! -s conftest.err
4752
 
       }; then
4753
 
  # Broken: success on invalid input.
4754
 
continue
4755
 
else
4756
 
  echo "$as_me: failed program was:" >&5
4757
 
sed 's/^/| /' conftest.$ac_ext >&5
4758
 
 
4759
 
  # Passes both tests.
4760
 
ac_preproc_ok=:
4761
 
break
4762
 
fi
4763
 
 
4764
 
rm -f conftest.err conftest.$ac_ext
4765
 
 
4766
 
done
4767
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4768
 
rm -f conftest.err conftest.$ac_ext
4769
 
if $ac_preproc_ok; then
4770
 
  :
4771
 
else
4772
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4773
 
See \`config.log' for more details." >&5
4774
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4775
 
See \`config.log' for more details." >&2;}
4776
 
   { (exit 1); exit 1; }; }
4777
 
fi
4778
 
 
4779
 
ac_ext=c
4780
 
ac_cpp='$CPP $CPPFLAGS'
4781
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4782
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4783
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4784
 
 
4785
 
 
4786
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4787
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4788
 
if test "${ac_cv_header_stdc+set}" = set; then
4789
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4790
 
else
4791
 
  cat >conftest.$ac_ext <<_ACEOF
4792
 
/* confdefs.h.  */
4793
 
_ACEOF
4794
 
cat confdefs.h >>conftest.$ac_ext
4795
 
cat >>conftest.$ac_ext <<_ACEOF
4796
 
/* end confdefs.h.  */
4797
 
#include <stdlib.h>
4798
 
#include <stdarg.h>
4799
 
#include <string.h>
4800
 
#include <float.h>
4801
 
 
4802
 
int
4803
 
main ()
4804
 
{
4805
 
 
4806
 
  ;
4807
 
  return 0;
4808
 
}
4809
 
_ACEOF
4810
 
rm -f conftest.$ac_objext
4811
 
if { (ac_try="$ac_compile"
4812
 
case "(($ac_try" in
4813
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4814
 
  *) ac_try_echo=$ac_try;;
4815
 
esac
4816
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4817
 
  (eval "$ac_compile") 2>conftest.er1
4818
 
  ac_status=$?
4819
 
  grep -v '^ *+' conftest.er1 >conftest.err
4820
 
  rm -f conftest.er1
4821
 
  cat conftest.err >&5
4822
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823
 
  (exit $ac_status); } && {
4824
 
         test -z "$ac_c_werror_flag" ||
4825
 
         test ! -s conftest.err
4826
 
       } && test -s conftest.$ac_objext; then
4827
 
  ac_cv_header_stdc=yes
4828
 
else
4829
 
  echo "$as_me: failed program was:" >&5
4830
 
sed 's/^/| /' conftest.$ac_ext >&5
4831
 
 
4832
 
        ac_cv_header_stdc=no
4833
 
fi
4834
 
 
4835
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4836
 
 
4837
 
if test $ac_cv_header_stdc = yes; then
4838
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4839
 
  cat >conftest.$ac_ext <<_ACEOF
4840
 
/* confdefs.h.  */
4841
 
_ACEOF
4842
 
cat confdefs.h >>conftest.$ac_ext
4843
 
cat >>conftest.$ac_ext <<_ACEOF
4844
 
/* end confdefs.h.  */
4845
 
#include <string.h>
4846
 
 
4847
 
_ACEOF
4848
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4849
 
  $EGREP "memchr" >/dev/null 2>&1; then
4850
 
  :
4851
 
else
4852
 
  ac_cv_header_stdc=no
4853
 
fi
4854
 
rm -f conftest*
4855
 
 
4856
 
fi
4857
 
 
4858
 
if test $ac_cv_header_stdc = yes; then
4859
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4860
 
  cat >conftest.$ac_ext <<_ACEOF
4861
 
/* confdefs.h.  */
4862
 
_ACEOF
4863
 
cat confdefs.h >>conftest.$ac_ext
4864
 
cat >>conftest.$ac_ext <<_ACEOF
4865
 
/* end confdefs.h.  */
4866
 
#include <stdlib.h>
4867
 
 
4868
 
_ACEOF
4869
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4870
 
  $EGREP "free" >/dev/null 2>&1; then
4871
 
  :
4872
 
else
4873
 
  ac_cv_header_stdc=no
4874
 
fi
4875
 
rm -f conftest*
4876
 
 
4877
 
fi
4878
 
 
4879
 
if test $ac_cv_header_stdc = yes; then
4880
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4881
 
  if test "$cross_compiling" = yes; then
4882
 
  :
4883
 
else
4884
 
  cat >conftest.$ac_ext <<_ACEOF
4885
 
/* confdefs.h.  */
4886
 
_ACEOF
4887
 
cat confdefs.h >>conftest.$ac_ext
4888
 
cat >>conftest.$ac_ext <<_ACEOF
4889
 
/* end confdefs.h.  */
4890
 
#include <ctype.h>
4891
 
#include <stdlib.h>
4892
 
#if ((' ' & 0x0FF) == 0x020)
4893
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4894
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4895
 
#else
4896
 
# define ISLOWER(c) \
4897
 
                   (('a' <= (c) && (c) <= 'i') \
4898
 
                     || ('j' <= (c) && (c) <= 'r') \
4899
 
                     || ('s' <= (c) && (c) <= 'z'))
4900
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4901
 
#endif
4902
 
 
4903
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4904
 
int
4905
 
main ()
4906
 
{
4907
 
  int i;
4908
 
  for (i = 0; i < 256; i++)
4909
 
    if (XOR (islower (i), ISLOWER (i))
4910
 
        || toupper (i) != TOUPPER (i))
4911
 
      return 2;
4912
 
  return 0;
4913
 
}
4914
 
_ACEOF
4915
 
rm -f conftest$ac_exeext
4916
 
if { (ac_try="$ac_link"
4917
 
case "(($ac_try" in
4918
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4919
 
  *) ac_try_echo=$ac_try;;
4920
 
esac
4921
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4922
 
  (eval "$ac_link") 2>&5
4923
 
  ac_status=$?
4924
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4926
 
  { (case "(($ac_try" in
4927
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4928
 
  *) ac_try_echo=$ac_try;;
4929
 
esac
4930
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4931
 
  (eval "$ac_try") 2>&5
4932
 
  ac_status=$?
4933
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934
 
  (exit $ac_status); }; }; then
4935
 
  :
4936
 
else
4937
 
  echo "$as_me: program exited with status $ac_status" >&5
4938
 
echo "$as_me: failed program was:" >&5
4939
 
sed 's/^/| /' conftest.$ac_ext >&5
4940
 
 
4941
 
( exit $ac_status )
4942
 
ac_cv_header_stdc=no
4943
 
fi
4944
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4945
 
fi
4946
 
 
4947
 
 
4948
 
fi
4949
 
fi
4950
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4951
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4952
 
if test $ac_cv_header_stdc = yes; then
4953
 
 
4954
 
cat >>confdefs.h <<\_ACEOF
4955
 
#define STDC_HEADERS 1
4956
 
_ACEOF
4957
 
 
4958
 
fi
4959
 
 
4960
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4961
 
 
4962
 
 
4963
 
 
4964
 
 
4965
 
 
4966
 
 
4967
 
 
4968
 
 
4969
 
 
4970
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4971
 
                  inttypes.h stdint.h unistd.h
4972
 
do
4973
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4974
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4975
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4976
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4977
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4978
 
else
4979
 
  cat >conftest.$ac_ext <<_ACEOF
4980
 
/* confdefs.h.  */
4981
 
_ACEOF
4982
 
cat confdefs.h >>conftest.$ac_ext
4983
 
cat >>conftest.$ac_ext <<_ACEOF
4984
 
/* end confdefs.h.  */
4985
 
$ac_includes_default
4986
 
 
4987
 
#include <$ac_header>
4988
 
_ACEOF
4989
 
rm -f conftest.$ac_objext
4990
 
if { (ac_try="$ac_compile"
4991
 
case "(($ac_try" in
4992
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4993
 
  *) ac_try_echo=$ac_try;;
4994
 
esac
4995
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4996
 
  (eval "$ac_compile") 2>conftest.er1
4997
 
  ac_status=$?
4998
 
  grep -v '^ *+' conftest.er1 >conftest.err
4999
 
  rm -f conftest.er1
5000
 
  cat conftest.err >&5
5001
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5002
 
  (exit $ac_status); } && {
5003
 
         test -z "$ac_c_werror_flag" ||
5004
 
         test ! -s conftest.err
5005
 
       } && test -s conftest.$ac_objext; then
5006
 
  eval "$as_ac_Header=yes"
5007
 
else
5008
 
  echo "$as_me: failed program was:" >&5
5009
 
sed 's/^/| /' conftest.$ac_ext >&5
5010
 
 
5011
 
        eval "$as_ac_Header=no"
5012
 
fi
5013
 
 
5014
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5015
 
fi
5016
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5017
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5018
 
echo "${ECHO_T}$ac_res" >&6; }
5019
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5020
 
  cat >>confdefs.h <<_ACEOF
5021
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5022
 
_ACEOF
5023
 
 
5024
 
fi
5025
 
 
5026
 
done
5027
 
 
5028
 
 
5029
 
 
5030
 
for ac_header in dlfcn.h
5031
 
do
5032
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5033
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5034
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5035
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5036
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5037
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5038
 
fi
5039
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5040
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5041
 
echo "${ECHO_T}$ac_res" >&6; }
5042
 
else
5043
 
  # Is the header compilable?
5044
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5045
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5046
 
cat >conftest.$ac_ext <<_ACEOF
5047
 
/* confdefs.h.  */
5048
 
_ACEOF
5049
 
cat confdefs.h >>conftest.$ac_ext
5050
 
cat >>conftest.$ac_ext <<_ACEOF
5051
 
/* end confdefs.h.  */
5052
 
$ac_includes_default
5053
 
#include <$ac_header>
5054
 
_ACEOF
5055
 
rm -f conftest.$ac_objext
5056
 
if { (ac_try="$ac_compile"
5057
 
case "(($ac_try" in
5058
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5059
 
  *) ac_try_echo=$ac_try;;
5060
 
esac
5061
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5062
 
  (eval "$ac_compile") 2>conftest.er1
5063
 
  ac_status=$?
5064
 
  grep -v '^ *+' conftest.er1 >conftest.err
5065
 
  rm -f conftest.er1
5066
 
  cat conftest.err >&5
5067
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068
 
  (exit $ac_status); } && {
5069
 
         test -z "$ac_c_werror_flag" ||
5070
 
         test ! -s conftest.err
5071
 
       } && test -s conftest.$ac_objext; then
5072
 
  ac_header_compiler=yes
5073
 
else
5074
 
  echo "$as_me: failed program was:" >&5
5075
 
sed 's/^/| /' conftest.$ac_ext >&5
5076
 
 
5077
 
        ac_header_compiler=no
5078
 
fi
5079
 
 
5080
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5081
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5082
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
5083
 
 
5084
 
# Is the header present?
5085
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5086
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5087
 
cat >conftest.$ac_ext <<_ACEOF
5088
 
/* confdefs.h.  */
5089
 
_ACEOF
5090
 
cat confdefs.h >>conftest.$ac_ext
5091
 
cat >>conftest.$ac_ext <<_ACEOF
5092
 
/* end confdefs.h.  */
5093
 
#include <$ac_header>
5094
 
_ACEOF
5095
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5096
 
case "(($ac_try" in
5097
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5098
 
  *) ac_try_echo=$ac_try;;
5099
 
esac
5100
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5101
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5102
 
  ac_status=$?
5103
 
  grep -v '^ *+' conftest.er1 >conftest.err
5104
 
  rm -f conftest.er1
5105
 
  cat conftest.err >&5
5106
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107
 
  (exit $ac_status); } >/dev/null && {
5108
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5109
 
         test ! -s conftest.err
5110
 
       }; then
5111
 
  ac_header_preproc=yes
5112
 
else
5113
 
  echo "$as_me: failed program was:" >&5
5114
 
sed 's/^/| /' conftest.$ac_ext >&5
5115
 
 
5116
 
  ac_header_preproc=no
5117
 
fi
5118
 
 
5119
 
rm -f conftest.err conftest.$ac_ext
5120
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5121
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
5122
 
 
5123
 
# So?  What about this header?
5124
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5125
 
  yes:no: )
5126
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5127
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5128
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5129
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5130
 
    ac_header_preproc=yes
5131
 
    ;;
5132
 
  no:yes:* )
5133
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5134
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5135
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5136
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5137
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5138
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5139
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5140
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5141
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5142
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5143
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5144
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5145
 
 
5146
 
    ;;
5147
 
esac
5148
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5149
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5150
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5151
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5152
 
else
5153
 
  eval "$as_ac_Header=\$ac_header_preproc"
5154
 
fi
5155
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5156
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5157
 
echo "${ECHO_T}$ac_res" >&6; }
5158
 
 
5159
 
fi
5160
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5161
 
  cat >>confdefs.h <<_ACEOF
5162
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5163
 
_ACEOF
5164
 
 
5165
 
fi
5166
 
 
5167
 
done
5168
 
 
5169
 
ac_ext=cpp
5170
 
ac_cpp='$CXXCPP $CPPFLAGS'
5171
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5172
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5173
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5174
 
if test -z "$CXX"; then
5175
 
  if test -n "$CCC"; then
5176
 
    CXX=$CCC
5177
 
  else
5178
 
    if test -n "$ac_tool_prefix"; then
5179
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5180
 
  do
5181
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5182
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5183
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5184
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5185
 
if test "${ac_cv_prog_CXX+set}" = set; then
5186
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5187
 
else
5188
 
  if test -n "$CXX"; then
5189
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5190
 
else
5191
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5192
 
for as_dir in $PATH
5193
 
do
5194
 
  IFS=$as_save_IFS
5195
 
  test -z "$as_dir" && as_dir=.
5196
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5197
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5198
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5199
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5200
 
    break 2
5201
 
  fi
5202
 
done
5203
 
done
5204
 
IFS=$as_save_IFS
5205
 
 
5206
 
fi
5207
 
fi
5208
 
CXX=$ac_cv_prog_CXX
5209
 
if test -n "$CXX"; then
5210
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
5211
 
echo "${ECHO_T}$CXX" >&6; }
5212
 
else
5213
 
  { echo "$as_me:$LINENO: result: no" >&5
5214
 
echo "${ECHO_T}no" >&6; }
5215
 
fi
5216
 
 
5217
 
 
5218
 
    test -n "$CXX" && break
5219
 
  done
5220
 
fi
5221
 
if test -z "$CXX"; then
5222
 
  ac_ct_CXX=$CXX
5223
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5224
 
do
5225
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5226
 
set dummy $ac_prog; ac_word=$2
5227
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5228
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5229
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5230
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5231
 
else
5232
 
  if test -n "$ac_ct_CXX"; then
5233
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5234
 
else
5235
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236
 
for as_dir in $PATH
5237
 
do
5238
 
  IFS=$as_save_IFS
5239
 
  test -z "$as_dir" && as_dir=.
5240
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5241
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5242
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5243
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5244
 
    break 2
5245
 
  fi
5246
 
done
5247
 
done
5248
 
IFS=$as_save_IFS
5249
 
 
5250
 
fi
5251
 
fi
5252
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5253
 
if test -n "$ac_ct_CXX"; then
5254
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5255
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
5256
 
else
5257
 
  { echo "$as_me:$LINENO: result: no" >&5
5258
 
echo "${ECHO_T}no" >&6; }
5259
 
fi
5260
 
 
5261
 
 
5262
 
  test -n "$ac_ct_CXX" && break
5263
 
done
5264
 
 
5265
 
  if test "x$ac_ct_CXX" = x; then
5266
 
    CXX="g++"
5267
 
  else
5268
 
    case $cross_compiling:$ac_tool_warned in
5269
 
yes:)
5270
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5271
 
whose name does not start with the host triplet.  If you think this
5272
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5273
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5274
 
whose name does not start with the host triplet.  If you think this
5275
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5276
 
ac_tool_warned=yes ;;
5277
 
esac
5278
 
    CXX=$ac_ct_CXX
5279
 
  fi
5280
 
fi
5281
 
 
5282
 
  fi
5283
 
fi
5284
 
# Provide some information about the compiler.
5285
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5286
 
ac_compiler=`set X $ac_compile; echo $2`
5287
 
{ (ac_try="$ac_compiler --version >&5"
5288
 
case "(($ac_try" in
5289
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5290
 
  *) ac_try_echo=$ac_try;;
5291
 
esac
5292
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5293
 
  (eval "$ac_compiler --version >&5") 2>&5
5294
 
  ac_status=$?
5295
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296
 
  (exit $ac_status); }
5297
 
{ (ac_try="$ac_compiler -v >&5"
5298
 
case "(($ac_try" in
5299
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5300
 
  *) ac_try_echo=$ac_try;;
5301
 
esac
5302
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5303
 
  (eval "$ac_compiler -v >&5") 2>&5
5304
 
  ac_status=$?
5305
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306
 
  (exit $ac_status); }
5307
 
{ (ac_try="$ac_compiler -V >&5"
5308
 
case "(($ac_try" in
5309
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5310
 
  *) ac_try_echo=$ac_try;;
5311
 
esac
5312
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5313
 
  (eval "$ac_compiler -V >&5") 2>&5
5314
 
  ac_status=$?
5315
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5316
 
  (exit $ac_status); }
5317
 
 
5318
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5319
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5320
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5321
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5322
 
else
5323
 
  cat >conftest.$ac_ext <<_ACEOF
5324
 
/* confdefs.h.  */
5325
 
_ACEOF
5326
 
cat confdefs.h >>conftest.$ac_ext
5327
 
cat >>conftest.$ac_ext <<_ACEOF
5328
 
/* end confdefs.h.  */
5329
 
 
5330
 
int
5331
 
main ()
5332
 
{
5333
 
#ifndef __GNUC__
5334
 
       choke me
5335
 
#endif
5336
 
 
5337
 
  ;
5338
 
  return 0;
5339
 
}
5340
 
_ACEOF
5341
 
rm -f conftest.$ac_objext
5342
 
if { (ac_try="$ac_compile"
5343
 
case "(($ac_try" in
5344
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5345
 
  *) ac_try_echo=$ac_try;;
5346
 
esac
5347
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5348
 
  (eval "$ac_compile") 2>conftest.er1
5349
 
  ac_status=$?
5350
 
  grep -v '^ *+' conftest.er1 >conftest.err
5351
 
  rm -f conftest.er1
5352
 
  cat conftest.err >&5
5353
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5354
 
  (exit $ac_status); } && {
5355
 
         test -z "$ac_cxx_werror_flag" ||
5356
 
         test ! -s conftest.err
5357
 
       } && test -s conftest.$ac_objext; then
5358
 
  ac_compiler_gnu=yes
5359
 
else
5360
 
  echo "$as_me: failed program was:" >&5
5361
 
sed 's/^/| /' conftest.$ac_ext >&5
5362
 
 
5363
 
        ac_compiler_gnu=no
5364
 
fi
5365
 
 
5366
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5367
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5368
 
 
5369
 
fi
5370
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5371
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5372
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
5373
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
5374
 
ac_save_CXXFLAGS=$CXXFLAGS
5375
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5376
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5377
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
5378
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5379
 
else
5380
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5381
 
   ac_cxx_werror_flag=yes
5382
 
   ac_cv_prog_cxx_g=no
5383
 
   CXXFLAGS="-g"
5384
 
   cat >conftest.$ac_ext <<_ACEOF
5385
 
/* confdefs.h.  */
5386
 
_ACEOF
5387
 
cat confdefs.h >>conftest.$ac_ext
5388
 
cat >>conftest.$ac_ext <<_ACEOF
5389
 
/* end confdefs.h.  */
5390
 
 
5391
 
int
5392
 
main ()
5393
 
{
5394
 
 
5395
 
  ;
5396
 
  return 0;
5397
 
}
5398
 
_ACEOF
5399
 
rm -f conftest.$ac_objext
5400
 
if { (ac_try="$ac_compile"
5401
 
case "(($ac_try" in
5402
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5403
 
  *) ac_try_echo=$ac_try;;
5404
 
esac
5405
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5406
 
  (eval "$ac_compile") 2>conftest.er1
5407
 
  ac_status=$?
5408
 
  grep -v '^ *+' conftest.er1 >conftest.err
5409
 
  rm -f conftest.er1
5410
 
  cat conftest.err >&5
5411
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5412
 
  (exit $ac_status); } && {
5413
 
         test -z "$ac_cxx_werror_flag" ||
5414
 
         test ! -s conftest.err
5415
 
       } && test -s conftest.$ac_objext; then
5416
 
  ac_cv_prog_cxx_g=yes
5417
 
else
5418
 
  echo "$as_me: failed program was:" >&5
5419
 
sed 's/^/| /' conftest.$ac_ext >&5
5420
 
 
5421
 
        CXXFLAGS=""
5422
 
      cat >conftest.$ac_ext <<_ACEOF
5423
 
/* confdefs.h.  */
5424
 
_ACEOF
5425
 
cat confdefs.h >>conftest.$ac_ext
5426
 
cat >>conftest.$ac_ext <<_ACEOF
5427
 
/* end confdefs.h.  */
5428
 
 
5429
 
int
5430
 
main ()
5431
 
{
5432
 
 
5433
 
  ;
5434
 
  return 0;
5435
 
}
5436
 
_ACEOF
5437
 
rm -f conftest.$ac_objext
5438
 
if { (ac_try="$ac_compile"
5439
 
case "(($ac_try" in
5440
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5441
 
  *) ac_try_echo=$ac_try;;
5442
 
esac
5443
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5444
 
  (eval "$ac_compile") 2>conftest.er1
5445
 
  ac_status=$?
5446
 
  grep -v '^ *+' conftest.er1 >conftest.err
5447
 
  rm -f conftest.er1
5448
 
  cat conftest.err >&5
5449
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450
 
  (exit $ac_status); } && {
5451
 
         test -z "$ac_cxx_werror_flag" ||
5452
 
         test ! -s conftest.err
5453
 
       } && test -s conftest.$ac_objext; then
5454
 
  :
5455
 
else
5456
 
  echo "$as_me: failed program was:" >&5
5457
 
sed 's/^/| /' conftest.$ac_ext >&5
5458
 
 
5459
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5460
 
         CXXFLAGS="-g"
5461
 
         cat >conftest.$ac_ext <<_ACEOF
5462
 
/* confdefs.h.  */
5463
 
_ACEOF
5464
 
cat confdefs.h >>conftest.$ac_ext
5465
 
cat >>conftest.$ac_ext <<_ACEOF
5466
 
/* end confdefs.h.  */
5467
 
 
5468
 
int
5469
 
main ()
5470
 
{
5471
 
 
5472
 
  ;
5473
 
  return 0;
5474
 
}
5475
 
_ACEOF
5476
 
rm -f conftest.$ac_objext
5477
 
if { (ac_try="$ac_compile"
5478
 
case "(($ac_try" in
5479
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5480
 
  *) ac_try_echo=$ac_try;;
5481
 
esac
5482
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5483
 
  (eval "$ac_compile") 2>conftest.er1
5484
 
  ac_status=$?
5485
 
  grep -v '^ *+' conftest.er1 >conftest.err
5486
 
  rm -f conftest.er1
5487
 
  cat conftest.err >&5
5488
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5489
 
  (exit $ac_status); } && {
5490
 
         test -z "$ac_cxx_werror_flag" ||
5491
 
         test ! -s conftest.err
5492
 
       } && test -s conftest.$ac_objext; then
5493
 
  ac_cv_prog_cxx_g=yes
5494
 
else
5495
 
  echo "$as_me: failed program was:" >&5
5496
 
sed 's/^/| /' conftest.$ac_ext >&5
5497
 
 
5498
 
 
5499
 
fi
5500
 
 
5501
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5502
 
fi
5503
 
 
5504
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5505
 
fi
5506
 
 
5507
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5508
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5509
 
fi
5510
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5511
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5512
 
if test "$ac_test_CXXFLAGS" = set; then
5513
 
  CXXFLAGS=$ac_save_CXXFLAGS
5514
 
elif test $ac_cv_prog_cxx_g = yes; then
5515
 
  if test "$GXX" = yes; then
5516
 
    CXXFLAGS="-g -O2"
5517
 
  else
5518
 
    CXXFLAGS="-g"
5519
 
  fi
5520
 
else
5521
 
  if test "$GXX" = yes; then
5522
 
    CXXFLAGS="-O2"
5523
 
  else
5524
 
    CXXFLAGS=
5525
 
  fi
5526
 
fi
5527
 
ac_ext=cpp
5528
 
ac_cpp='$CXXCPP $CPPFLAGS'
5529
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5530
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5531
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5532
 
 
5533
 
depcc="$CXX"  am_compiler_list=
5534
 
 
5535
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5536
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5537
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5538
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5539
 
else
5540
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5541
 
  # We make a subdir and do the tests there.  Otherwise we can end up
5542
 
  # making bogus files that we don't know about and never remove.  For
5543
 
  # instance it was reported that on HP-UX the gcc test will end up
5544
 
  # making a dummy file named `D' -- because `-MD' means `put the output
5545
 
  # in D'.
5546
 
  mkdir conftest.dir
5547
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
5548
 
  # using a relative directory.
5549
 
  cp "$am_depcomp" conftest.dir
5550
 
  cd conftest.dir
5551
 
  # We will build objects and dependencies in a subdirectory because
5552
 
  # it helps to detect inapplicable dependency modes.  For instance
5553
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
5554
 
  # side effect of compilation, but ICC will put the dependencies in
5555
 
  # the current directory while Tru64 will put them in the object
5556
 
  # directory.
5557
 
  mkdir sub
5558
 
 
5559
 
  am_cv_CXX_dependencies_compiler_type=none
5560
 
  if test "$am_compiler_list" = ""; then
5561
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5562
 
  fi
5563
 
  for depmode in $am_compiler_list; do
5564
 
    # Setup a source with many dependencies, because some compilers
5565
 
    # like to wrap large dependency lists on column 80 (with \), and
5566
 
    # we should not choose a depcomp mode which is confused by this.
5567
 
    #
5568
 
    # We need to recreate these files for each test, as the compiler may
5569
 
    # overwrite some of them when testing with obscure command lines.
5570
 
    # This happens at least with the AIX C compiler.
5571
 
    : > sub/conftest.c
5572
 
    for i in 1 2 3 4 5 6; do
5573
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5574
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5575
 
      # Solaris 8's {/usr,}/bin/sh.
5576
 
      touch sub/conftst$i.h
5577
 
    done
5578
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5579
 
 
5580
 
    case $depmode in
5581
 
    nosideeffect)
5582
 
      # after this tag, mechanisms are not by side-effect, so they'll
5583
 
      # only be used when explicitly requested
5584
 
      if test "x$enable_dependency_tracking" = xyes; then
5585
 
        continue
5586
 
      else
5587
 
        break
5588
 
      fi
5589
 
      ;;
5590
 
    none) break ;;
5591
 
    esac
5592
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5593
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5594
 
    # handle `-M -o', and we need to detect this.
5595
 
    if depmode=$depmode \
5596
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5597
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5598
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5599
 
         >/dev/null 2>conftest.err &&
5600
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5601
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5602
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5603
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5604
 
      # icc doesn't choke on unknown options, it will just issue warnings
5605
 
      # or remarks (even with -Werror).  So we grep stderr for any message
5606
 
      # that says an option was ignored or not supported.
5607
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5608
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
5609
 
      # The diagnosis changed in icc 8.0:
5610
 
      #   icc: Command line remark: option '-MP' not supported
5611
 
      if (grep 'ignoring option' conftest.err ||
5612
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5613
 
        am_cv_CXX_dependencies_compiler_type=$depmode
5614
 
        break
5615
 
      fi
5616
 
    fi
5617
 
  done
5618
 
 
5619
 
  cd ..
5620
 
  rm -rf conftest.dir
5621
 
else
5622
 
  am_cv_CXX_dependencies_compiler_type=none
5623
 
fi
5624
 
 
5625
 
fi
5626
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5627
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5628
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5629
 
 
5630
 
 if
5631
 
  test "x$enable_dependency_tracking" != xno \
5632
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5633
 
  am__fastdepCXX_TRUE=
5634
 
  am__fastdepCXX_FALSE='#'
5635
 
else
5636
 
  am__fastdepCXX_TRUE='#'
5637
 
  am__fastdepCXX_FALSE=
5638
 
fi
5639
 
 
5640
 
 
5641
 
 
5642
 
 
5643
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5644
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5645
 
    (test "X$CXX" != "Xg++"))) ; then
5646
 
  ac_ext=cpp
5647
 
ac_cpp='$CXXCPP $CPPFLAGS'
5648
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5649
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5650
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5651
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5652
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5653
 
if test -z "$CXXCPP"; then
5654
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5655
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5656
 
else
5657
 
      # Double quotes because CXXCPP needs to be expanded
5658
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
5659
 
    do
5660
 
      ac_preproc_ok=false
5661
 
for ac_cxx_preproc_warn_flag in '' yes
5662
 
do
5663
 
  # Use a header file that comes with gcc, so configuring glibc
5664
 
  # with a fresh cross-compiler works.
5665
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5666
 
  # <limits.h> exists even on freestanding compilers.
5667
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5668
 
  # not just through cpp. "Syntax error" is here to catch this case.
5669
 
  cat >conftest.$ac_ext <<_ACEOF
5670
 
/* confdefs.h.  */
5671
 
_ACEOF
5672
 
cat confdefs.h >>conftest.$ac_ext
5673
 
cat >>conftest.$ac_ext <<_ACEOF
5674
 
/* end confdefs.h.  */
5675
 
#ifdef __STDC__
5676
 
# include <limits.h>
5677
 
#else
5678
 
# include <assert.h>
5679
 
#endif
5680
 
                     Syntax error
5681
 
_ACEOF
5682
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5683
 
case "(($ac_try" in
5684
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5685
 
  *) ac_try_echo=$ac_try;;
5686
 
esac
5687
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5688
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5689
 
  ac_status=$?
5690
 
  grep -v '^ *+' conftest.er1 >conftest.err
5691
 
  rm -f conftest.er1
5692
 
  cat conftest.err >&5
5693
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694
 
  (exit $ac_status); } >/dev/null && {
5695
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5696
 
         test ! -s conftest.err
5697
 
       }; then
5698
 
  :
5699
 
else
5700
 
  echo "$as_me: failed program was:" >&5
5701
 
sed 's/^/| /' conftest.$ac_ext >&5
5702
 
 
5703
 
  # Broken: fails on valid input.
5704
 
continue
5705
 
fi
5706
 
 
5707
 
rm -f conftest.err conftest.$ac_ext
5708
 
 
5709
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5710
 
  # can be detected and how.
5711
 
  cat >conftest.$ac_ext <<_ACEOF
5712
 
/* confdefs.h.  */
5713
 
_ACEOF
5714
 
cat confdefs.h >>conftest.$ac_ext
5715
 
cat >>conftest.$ac_ext <<_ACEOF
5716
 
/* end confdefs.h.  */
5717
 
#include <ac_nonexistent.h>
5718
 
_ACEOF
5719
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5720
 
case "(($ac_try" in
5721
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5722
 
  *) ac_try_echo=$ac_try;;
5723
 
esac
5724
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5725
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5726
 
  ac_status=$?
5727
 
  grep -v '^ *+' conftest.er1 >conftest.err
5728
 
  rm -f conftest.er1
5729
 
  cat conftest.err >&5
5730
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5731
 
  (exit $ac_status); } >/dev/null && {
5732
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5733
 
         test ! -s conftest.err
5734
 
       }; then
5735
 
  # Broken: success on invalid input.
5736
 
continue
5737
 
else
5738
 
  echo "$as_me: failed program was:" >&5
5739
 
sed 's/^/| /' conftest.$ac_ext >&5
5740
 
 
5741
 
  # Passes both tests.
5742
 
ac_preproc_ok=:
5743
 
break
5744
 
fi
5745
 
 
5746
 
rm -f conftest.err conftest.$ac_ext
5747
 
 
5748
 
done
5749
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5750
 
rm -f conftest.err conftest.$ac_ext
5751
 
if $ac_preproc_ok; then
5752
 
  break
5753
 
fi
5754
 
 
5755
 
    done
5756
 
    ac_cv_prog_CXXCPP=$CXXCPP
5757
 
 
5758
 
fi
5759
 
  CXXCPP=$ac_cv_prog_CXXCPP
5760
 
else
5761
 
  ac_cv_prog_CXXCPP=$CXXCPP
5762
 
fi
5763
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
5764
 
echo "${ECHO_T}$CXXCPP" >&6; }
5765
 
ac_preproc_ok=false
5766
 
for ac_cxx_preproc_warn_flag in '' yes
5767
 
do
5768
 
  # Use a header file that comes with gcc, so configuring glibc
5769
 
  # with a fresh cross-compiler works.
5770
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5771
 
  # <limits.h> exists even on freestanding compilers.
5772
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5773
 
  # not just through cpp. "Syntax error" is here to catch this case.
5774
 
  cat >conftest.$ac_ext <<_ACEOF
5775
 
/* confdefs.h.  */
5776
 
_ACEOF
5777
 
cat confdefs.h >>conftest.$ac_ext
5778
 
cat >>conftest.$ac_ext <<_ACEOF
5779
 
/* end confdefs.h.  */
5780
 
#ifdef __STDC__
5781
 
# include <limits.h>
5782
 
#else
5783
 
# include <assert.h>
5784
 
#endif
5785
 
                     Syntax error
5786
 
_ACEOF
5787
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5788
 
case "(($ac_try" in
5789
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5790
 
  *) ac_try_echo=$ac_try;;
5791
 
esac
5792
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5793
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5794
 
  ac_status=$?
5795
 
  grep -v '^ *+' conftest.er1 >conftest.err
5796
 
  rm -f conftest.er1
5797
 
  cat conftest.err >&5
5798
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5799
 
  (exit $ac_status); } >/dev/null && {
5800
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5801
 
         test ! -s conftest.err
5802
 
       }; then
5803
 
  :
5804
 
else
5805
 
  echo "$as_me: failed program was:" >&5
5806
 
sed 's/^/| /' conftest.$ac_ext >&5
5807
 
 
5808
 
  # Broken: fails on valid input.
5809
 
continue
5810
 
fi
5811
 
 
5812
 
rm -f conftest.err conftest.$ac_ext
5813
 
 
5814
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5815
 
  # can be detected and how.
5816
 
  cat >conftest.$ac_ext <<_ACEOF
5817
 
/* confdefs.h.  */
5818
 
_ACEOF
5819
 
cat confdefs.h >>conftest.$ac_ext
5820
 
cat >>conftest.$ac_ext <<_ACEOF
5821
 
/* end confdefs.h.  */
5822
 
#include <ac_nonexistent.h>
5823
 
_ACEOF
5824
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5825
 
case "(($ac_try" in
5826
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5827
 
  *) ac_try_echo=$ac_try;;
5828
 
esac
5829
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5830
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5831
 
  ac_status=$?
5832
 
  grep -v '^ *+' conftest.er1 >conftest.err
5833
 
  rm -f conftest.er1
5834
 
  cat conftest.err >&5
5835
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836
 
  (exit $ac_status); } >/dev/null && {
5837
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5838
 
         test ! -s conftest.err
5839
 
       }; then
5840
 
  # Broken: success on invalid input.
5841
 
continue
5842
 
else
5843
 
  echo "$as_me: failed program was:" >&5
5844
 
sed 's/^/| /' conftest.$ac_ext >&5
5845
 
 
5846
 
  # Passes both tests.
5847
 
ac_preproc_ok=:
5848
 
break
5849
 
fi
5850
 
 
5851
 
rm -f conftest.err conftest.$ac_ext
5852
 
 
5853
 
done
5854
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5855
 
rm -f conftest.err conftest.$ac_ext
5856
 
if $ac_preproc_ok; then
5857
 
  :
5858
 
else
5859
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5860
 
See \`config.log' for more details." >&5
5861
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5862
 
See \`config.log' for more details." >&2;}
5863
 
   { (exit 1); exit 1; }; }
5864
 
fi
5865
 
 
5866
 
ac_ext=cpp
5867
 
ac_cpp='$CXXCPP $CPPFLAGS'
5868
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5869
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5870
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5871
 
 
5872
 
fi
5873
 
 
5874
 
 
5875
 
ac_ext=f
5876
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5877
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5878
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5879
 
if test -n "$ac_tool_prefix"; then
5880
 
  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
5881
 
  do
5882
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5883
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5884
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5885
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5886
 
if test "${ac_cv_prog_F77+set}" = set; then
5887
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5888
 
else
5889
 
  if test -n "$F77"; then
5890
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
5891
 
else
5892
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5893
 
for as_dir in $PATH
5894
 
do
5895
 
  IFS=$as_save_IFS
5896
 
  test -z "$as_dir" && as_dir=.
5897
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5898
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5899
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5900
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5901
 
    break 2
5902
 
  fi
5903
 
done
5904
 
done
5905
 
IFS=$as_save_IFS
5906
 
 
5907
 
fi
5908
 
fi
5909
 
F77=$ac_cv_prog_F77
5910
 
if test -n "$F77"; then
5911
 
  { echo "$as_me:$LINENO: result: $F77" >&5
5912
 
echo "${ECHO_T}$F77" >&6; }
5913
 
else
5914
 
  { echo "$as_me:$LINENO: result: no" >&5
5915
 
echo "${ECHO_T}no" >&6; }
5916
 
fi
5917
 
 
5918
 
 
5919
 
    test -n "$F77" && break
5920
 
  done
5921
 
fi
5922
 
if test -z "$F77"; then
5923
 
  ac_ct_F77=$F77
5924
 
  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
5925
 
do
5926
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5927
 
set dummy $ac_prog; ac_word=$2
5928
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5929
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5930
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5931
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5932
 
else
5933
 
  if test -n "$ac_ct_F77"; then
5934
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5935
 
else
5936
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5937
 
for as_dir in $PATH
5938
 
do
5939
 
  IFS=$as_save_IFS
5940
 
  test -z "$as_dir" && as_dir=.
5941
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5942
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5943
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
5944
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5945
 
    break 2
5946
 
  fi
5947
 
done
5948
 
done
5949
 
IFS=$as_save_IFS
5950
 
 
5951
 
fi
5952
 
fi
5953
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5954
 
if test -n "$ac_ct_F77"; then
5955
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5956
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
5957
 
else
5958
 
  { echo "$as_me:$LINENO: result: no" >&5
5959
 
echo "${ECHO_T}no" >&6; }
5960
 
fi
5961
 
 
5962
 
 
5963
 
  test -n "$ac_ct_F77" && break
5964
 
done
5965
 
 
5966
 
  if test "x$ac_ct_F77" = x; then
5967
 
    F77=""
5968
 
  else
5969
 
    case $cross_compiling:$ac_tool_warned in
5970
 
yes:)
5971
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5972
 
whose name does not start with the host triplet.  If you think this
5973
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5974
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5975
 
whose name does not start with the host triplet.  If you think this
5976
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5977
 
ac_tool_warned=yes ;;
5978
 
esac
5979
 
    F77=$ac_ct_F77
5980
 
  fi
5981
 
fi
5982
 
 
5983
 
 
5984
 
# Provide some information about the compiler.
5985
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5986
 
ac_compiler=`set X $ac_compile; echo $2`
5987
 
{ (ac_try="$ac_compiler --version >&5"
5988
 
case "(($ac_try" in
5989
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5990
 
  *) ac_try_echo=$ac_try;;
5991
 
esac
5992
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5993
 
  (eval "$ac_compiler --version >&5") 2>&5
5994
 
  ac_status=$?
5995
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996
 
  (exit $ac_status); }
5997
 
{ (ac_try="$ac_compiler -v >&5"
5998
 
case "(($ac_try" in
5999
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6000
 
  *) ac_try_echo=$ac_try;;
6001
 
esac
6002
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6003
 
  (eval "$ac_compiler -v >&5") 2>&5
6004
 
  ac_status=$?
6005
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006
 
  (exit $ac_status); }
6007
 
{ (ac_try="$ac_compiler -V >&5"
6008
 
case "(($ac_try" in
6009
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6010
 
  *) ac_try_echo=$ac_try;;
6011
 
esac
6012
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6013
 
  (eval "$ac_compiler -V >&5") 2>&5
6014
 
  ac_status=$?
6015
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016
 
  (exit $ac_status); }
6017
 
rm -f a.out
6018
 
 
6019
 
# If we don't use `.F' as extension, the preprocessor is not run on the
6020
 
# input file.  (Note that this only needs to work for GNU compilers.)
6021
 
ac_save_ext=$ac_ext
6022
 
ac_ext=F
6023
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6024
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6025
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6026
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6027
 
else
6028
 
  cat >conftest.$ac_ext <<_ACEOF
6029
 
      program main
6030
 
#ifndef __GNUC__
6031
 
       choke me
6032
 
#endif
6033
 
 
6034
 
      end
6035
 
_ACEOF
6036
 
rm -f conftest.$ac_objext
6037
 
if { (ac_try="$ac_compile"
6038
 
case "(($ac_try" in
6039
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6040
 
  *) ac_try_echo=$ac_try;;
6041
 
esac
6042
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6043
 
  (eval "$ac_compile") 2>conftest.er1
6044
 
  ac_status=$?
6045
 
  grep -v '^ *+' conftest.er1 >conftest.err
6046
 
  rm -f conftest.er1
6047
 
  cat conftest.err >&5
6048
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6049
 
  (exit $ac_status); } && {
6050
 
         test -z "$ac_f77_werror_flag" ||
6051
 
         test ! -s conftest.err
6052
 
       } && test -s conftest.$ac_objext; then
6053
 
  ac_compiler_gnu=yes
6054
 
else
6055
 
  echo "$as_me: failed program was:" >&5
6056
 
sed 's/^/| /' conftest.$ac_ext >&5
6057
 
 
6058
 
        ac_compiler_gnu=no
6059
 
fi
6060
 
 
6061
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6062
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6063
 
 
6064
 
fi
6065
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6066
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6067
 
ac_ext=$ac_save_ext
6068
 
ac_test_FFLAGS=${FFLAGS+set}
6069
 
ac_save_FFLAGS=$FFLAGS
6070
 
FFLAGS=
6071
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6072
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6073
 
if test "${ac_cv_prog_f77_g+set}" = set; then
6074
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6075
 
else
6076
 
  FFLAGS=-g
6077
 
cat >conftest.$ac_ext <<_ACEOF
6078
 
      program main
6079
 
 
6080
 
      end
6081
 
_ACEOF
6082
 
rm -f conftest.$ac_objext
6083
 
if { (ac_try="$ac_compile"
6084
 
case "(($ac_try" in
6085
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6086
 
  *) ac_try_echo=$ac_try;;
6087
 
esac
6088
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6089
 
  (eval "$ac_compile") 2>conftest.er1
6090
 
  ac_status=$?
6091
 
  grep -v '^ *+' conftest.er1 >conftest.err
6092
 
  rm -f conftest.er1
6093
 
  cat conftest.err >&5
6094
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6095
 
  (exit $ac_status); } && {
6096
 
         test -z "$ac_f77_werror_flag" ||
6097
 
         test ! -s conftest.err
6098
 
       } && test -s conftest.$ac_objext; then
6099
 
  ac_cv_prog_f77_g=yes
6100
 
else
6101
 
  echo "$as_me: failed program was:" >&5
6102
 
sed 's/^/| /' conftest.$ac_ext >&5
6103
 
 
6104
 
        ac_cv_prog_f77_g=no
6105
 
fi
6106
 
 
6107
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6108
 
 
6109
 
fi
6110
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6111
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6112
 
if test "$ac_test_FFLAGS" = set; then
6113
 
  FFLAGS=$ac_save_FFLAGS
6114
 
elif test $ac_cv_prog_f77_g = yes; then
6115
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6116
 
    FFLAGS="-g -O2"
6117
 
  else
6118
 
    FFLAGS="-g"
6119
 
  fi
6120
 
else
6121
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6122
 
    FFLAGS="-O2"
6123
 
  else
6124
 
    FFLAGS=
6125
 
  fi
6126
 
fi
6127
 
 
6128
 
G77=`test $ac_compiler_gnu = yes && echo yes`
6129
 
ac_ext=c
6130
 
ac_cpp='$CPP $CPPFLAGS'
6131
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6132
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6133
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6134
 
 
6135
 
 
6136
 
 
6137
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6138
 
# find the maximum length of command line arguments
6139
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6140
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6141
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6142
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6143
 
else
6144
 
    i=0
6145
 
  teststring="ABCD"
6146
 
 
6147
 
  case $build_os in
6148
 
  msdosdjgpp*)
6149
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6150
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6151
 
    # during glob expansion).  Even if it were fixed, the result of this
6152
 
    # check would be larger than it should be.
6153
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6154
 
    ;;
6155
 
 
6156
 
  gnu*)
6157
 
    # Under GNU Hurd, this test is not required because there is
6158
 
    # no limit to the length of command line arguments.
6159
 
    # Libtool will interpret -1 as no limit whatsoever
6160
 
    lt_cv_sys_max_cmd_len=-1;
6161
 
    ;;
6162
 
 
6163
 
  cygwin* | mingw*)
6164
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6165
 
    # about 5 minutes as the teststring grows exponentially.
6166
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
6167
 
    # you end up with a "frozen" computer, even though with patience
6168
 
    # the test eventually succeeds (with a max line length of 256k).
6169
 
    # Instead, let's just punt: use the minimum linelength reported by
6170
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
6171
 
    lt_cv_sys_max_cmd_len=8192;
6172
 
    ;;
6173
 
 
6174
 
  amigaos*)
6175
 
    # On AmigaOS with pdksh, this test takes hours, literally.
6176
 
    # So we just punt and use a minimum line length of 8192.
6177
 
    lt_cv_sys_max_cmd_len=8192;
6178
 
    ;;
6179
 
 
6180
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6181
 
    # This has been around since 386BSD, at least.  Likely further.
6182
 
    if test -x /sbin/sysctl; then
6183
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6184
 
    elif test -x /usr/sbin/sysctl; then
6185
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6186
 
    else
6187
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6188
 
    fi
6189
 
    # And add a safety zone
6190
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6191
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6192
 
    ;;
6193
 
 
6194
 
  interix*)
6195
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6196
 
    lt_cv_sys_max_cmd_len=196608
6197
 
    ;;
6198
 
 
6199
 
  osf*)
6200
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6201
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6202
 
    # nice to cause kernel panics so lets avoid the loop below.
6203
 
    # First set a reasonable default.
6204
 
    lt_cv_sys_max_cmd_len=16384
6205
 
    #
6206
 
    if test -x /sbin/sysconfig; then
6207
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6208
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6209
 
      esac
6210
 
    fi
6211
 
    ;;
6212
 
  sco3.2v5*)
6213
 
    lt_cv_sys_max_cmd_len=102400
6214
 
    ;;
6215
 
  sysv5* | sco5v6* | sysv4.2uw2*)
6216
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6217
 
    if test -n "$kargmax"; then
6218
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
6219
 
    else
6220
 
      lt_cv_sys_max_cmd_len=32768
6221
 
    fi
6222
 
    ;;
6223
 
  *)
6224
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6225
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
6226
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6227
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6228
 
    else
6229
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6230
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6231
 
               = "XX$teststring") >/dev/null 2>&1 &&
6232
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
6233
 
              lt_cv_sys_max_cmd_len=$new_result &&
6234
 
              test $i != 17 # 1/2 MB should be enough
6235
 
      do
6236
 
        i=`expr $i + 1`
6237
 
        teststring=$teststring$teststring
6238
 
      done
6239
 
      teststring=
6240
 
      # Add a significant safety factor because C++ compilers can tack on massive
6241
 
      # amounts of additional arguments before passing them to the linker.
6242
 
      # It appears as though 1/2 is a usable value.
6243
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6244
 
    fi
6245
 
    ;;
6246
 
  esac
6247
 
 
6248
 
fi
6249
 
 
6250
 
if test -n $lt_cv_sys_max_cmd_len ; then
6251
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6252
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6253
 
else
6254
 
  { echo "$as_me:$LINENO: result: none" >&5
6255
 
echo "${ECHO_T}none" >&6; }
6256
 
fi
6257
 
 
6258
 
 
6259
 
 
6260
 
 
6261
 
 
6262
5366
# Check for command to grab the raw symbol name followed by C symbol from nm.
6263
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6264
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6265
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6266
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
5368
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
5369
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
5370
  $as_echo_n "(cached) " >&6
6267
5371
else
6268
5372
 
6269
5373
# These are sane defaults that work on at least a few old systems.
6275
5379
# Regexp to match symbols that can be accessed directly from C.
6276
5380
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6277
5381
 
6278
 
# Transform an extracted symbol line into a proper C declaration
6279
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6280
 
 
6281
 
# Transform an extracted symbol line into symbol name and symbol address
6282
 
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'"
6283
 
 
6284
5382
# Define system-specific variables.
6285
5383
case $host_os in
6286
5384
aix*)
6287
5385
  symcode='[BCDT]'
6288
5386
  ;;
6289
 
cygwin* | mingw* | pw32*)
 
5387
cygwin* | mingw* | pw32* | cegcc*)
6290
5388
  symcode='[ABCDGISTW]'
6291
5389
  ;;
6292
 
hpux*) # Its linker distinguishes data from code symbols
 
5390
hpux*)
6293
5391
  if test "$host_cpu" = ia64; then
6294
5392
    symcode='[ABCDEGRST]'
6295
5393
  fi
6296
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6297
 
  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'"
6298
 
  ;;
6299
 
linux* | k*bsd*-gnu)
6300
 
  if test "$host_cpu" = ia64; then
6301
 
    symcode='[ABCDGIRSTW]'
6302
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6303
 
    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'"
6304
 
  fi
6305
5394
  ;;
6306
5395
irix* | nonstopux*)
6307
5396
  symcode='[BCDEGRST]'
6326
5415
  ;;
6327
5416
esac
6328
5417
 
 
5418
# If we're using GNU nm, then use its standard symbol codes.
 
5419
case `$NM -V 2>&1` in
 
5420
*GNU* | *'with BFD'*)
 
5421
  symcode='[ABCDGIRSTW]' ;;
 
5422
esac
 
5423
 
 
5424
# Transform an extracted symbol line into a proper C declaration.
 
5425
# Some systems (esp. on ia64) link data and code symbols differently,
 
5426
# so use this general approach.
 
5427
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
5428
 
 
5429
# Transform an extracted symbol line into symbol name and symbol address
 
5430
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
5431
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'"
 
5432
 
6329
5433
# Handle CRLF in mingw tool chain
6330
5434
opt_cr=
6331
5435
case $build_os in
6332
5436
mingw*)
6333
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
5437
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6334
5438
  ;;
6335
5439
esac
6336
5440
 
6337
 
# If we're using GNU nm, then use its standard symbol codes.
6338
 
case `$NM -V 2>&1` in
6339
 
*GNU* | *'with BFD'*)
6340
 
  symcode='[ABCDGIRSTW]' ;;
6341
 
esac
6342
 
 
6343
 
# Try without a prefix undercore, then with it.
 
5441
# Try without a prefix underscore, then with it.
6344
5442
for ac_symprfx in "" "_"; do
6345
5443
 
6346
5444
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6347
5445
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6348
5446
 
6349
5447
  # Write the raw and C identifiers.
6350
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
5448
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
5449
    # Fake it for dumpbin and say T for any non-static function
 
5450
    # and D for any global variable.
 
5451
    # Also find C++ and __fastcall symbols from MSVC++,
 
5452
    # which start with @ or ?.
 
5453
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
5454
"     {last_section=section; section=\$ 3};"\
 
5455
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
5456
"     \$ 0!~/External *\|/{next};"\
 
5457
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
5458
"     {if(hide[section]) next};"\
 
5459
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
5460
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
5461
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
5462
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
5463
"     ' prfx=^$ac_symprfx"
 
5464
  else
 
5465
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
5466
  fi
6351
5467
 
6352
5468
  # Check to see that the pipe works correctly.
6353
5469
  pipe_works=no
6354
5470
 
6355
5471
  rm -f conftest*
6356
 
  cat > conftest.$ac_ext <<EOF
 
5472
  cat > conftest.$ac_ext <<_LT_EOF
6357
5473
#ifdef __cplusplus
6358
5474
extern "C" {
6359
5475
#endif
6360
5476
char nm_test_var;
6361
 
void nm_test_func(){}
 
5477
void nm_test_func(void);
 
5478
void nm_test_func(void){}
6362
5479
#ifdef __cplusplus
6363
5480
}
6364
5481
#endif
6365
5482
int main(){nm_test_var='a';nm_test_func();return(0);}
6366
 
EOF
 
5483
_LT_EOF
6367
5484
 
6368
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5485
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6369
5486
  (eval $ac_compile) 2>&5
6370
5487
  ac_status=$?
6371
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6372
 
  (exit $ac_status); }; then
 
5488
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5489
  test $ac_status = 0; }; then
6373
5490
    # Now try to grab the symbols.
6374
5491
    nlist=conftest.nm
6375
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
5492
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6376
5493
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6377
5494
  ac_status=$?
6378
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6379
 
  (exit $ac_status); } && test -s "$nlist"; then
 
5495
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5496
  test $ac_status = 0; } && test -s "$nlist"; then
6380
5497
      # Try sorting and uniquifying the output.
6381
5498
      if sort "$nlist" | uniq > "$nlist"T; then
6382
5499
        mv -f "$nlist"T "$nlist"
6385
5502
      fi
6386
5503
 
6387
5504
      # Make sure that we snagged all the symbols we need.
6388
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
6389
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
6390
 
          cat <<EOF > conftest.$ac_ext
 
5505
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
5506
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
5507
          cat <<_LT_EOF > conftest.$ac_ext
6391
5508
#ifdef __cplusplus
6392
5509
extern "C" {
6393
5510
#endif
6394
5511
 
6395
 
EOF
 
5512
_LT_EOF
6396
5513
          # Now generate the symbol file.
6397
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6398
 
 
6399
 
          cat <<EOF >> conftest.$ac_ext
6400
 
#if defined (__STDC__) && __STDC__
6401
 
# define lt_ptr_t void *
6402
 
#else
6403
 
# define lt_ptr_t char *
6404
 
# define const
6405
 
#endif
6406
 
 
6407
 
/* The mapping between symbol names and symbols. */
 
5514
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
5515
 
 
5516
          cat <<_LT_EOF >> conftest.$ac_ext
 
5517
 
 
5518
/* The mapping between symbol names and symbols.  */
6408
5519
const struct {
6409
5520
  const char *name;
6410
 
  lt_ptr_t address;
 
5521
  void       *address;
6411
5522
}
6412
 
lt_preloaded_symbols[] =
 
5523
lt__PROGRAM__LTX_preloaded_symbols[] =
6413
5524
{
6414
 
EOF
6415
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6416
 
          cat <<\EOF >> conftest.$ac_ext
6417
 
  {0, (lt_ptr_t) 0}
 
5525
  { "@PROGRAM@", (void *) 0 },
 
5526
_LT_EOF
 
5527
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
5528
          cat <<\_LT_EOF >> conftest.$ac_ext
 
5529
  {0, (void *) 0}
6418
5530
};
6419
5531
 
 
5532
/* This works around a problem in FreeBSD linker */
 
5533
#ifdef FREEBSD_WORKAROUND
 
5534
static const void *lt_preloaded_setup() {
 
5535
  return lt__PROGRAM__LTX_preloaded_symbols;
 
5536
}
 
5537
#endif
 
5538
 
6420
5539
#ifdef __cplusplus
6421
5540
}
6422
5541
#endif
6423
 
EOF
 
5542
_LT_EOF
6424
5543
          # Now try linking the two files.
6425
5544
          mv conftest.$ac_objext conftstm.$ac_objext
6426
5545
          lt_save_LIBS="$LIBS"
6427
5546
          lt_save_CFLAGS="$CFLAGS"
6428
5547
          LIBS="conftstm.$ac_objext"
6429
5548
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6430
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
5549
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6431
5550
  (eval $ac_link) 2>&5
6432
5551
  ac_status=$?
6433
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
5552
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5553
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6435
5554
            pipe_works=yes
6436
5555
          fi
6437
5556
          LIBS="$lt_save_LIBS"
6465
5584
  lt_cv_sys_global_symbol_to_cdecl=
6466
5585
fi
6467
5586
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6468
 
  { echo "$as_me:$LINENO: result: failed" >&5
6469
 
echo "${ECHO_T}failed" >&6; }
6470
 
else
6471
 
  { echo "$as_me:$LINENO: result: ok" >&5
6472
 
echo "${ECHO_T}ok" >&6; }
6473
 
fi
6474
 
 
6475
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
6476
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6477
 
if test "${lt_cv_objdir+set}" = set; then
6478
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6479
 
else
6480
 
  rm -f .libs 2>/dev/null
6481
 
mkdir .libs 2>/dev/null
6482
 
if test -d .libs; then
6483
 
  lt_cv_objdir=.libs
6484
 
else
6485
 
  # MS-DOS does not allow filenames that begin with a dot.
6486
 
  lt_cv_objdir=_libs
6487
 
fi
6488
 
rmdir .libs 2>/dev/null
6489
 
fi
6490
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6491
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
6492
 
objdir=$lt_cv_objdir
6493
 
 
6494
 
 
6495
 
 
6496
 
 
6497
 
 
6498
 
case $host_os in
6499
 
aix3*)
6500
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
6501
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
6502
 
  # vanish in a puff of smoke.
6503
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
6504
 
    COLLECT_NAMES=
6505
 
    export COLLECT_NAMES
6506
 
  fi
6507
 
  ;;
6508
 
esac
6509
 
 
6510
 
# Sed substitution that helps us do robust quoting.  It backslashifies
6511
 
# metacharacters that are still active within double-quoted strings.
6512
 
Xsed='sed -e 1s/^X//'
6513
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
6514
 
 
6515
 
# Same as above, but do not quote variable references.
6516
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
6517
 
 
6518
 
# Sed substitution to delay expansion of an escaped shell variable in a
6519
 
# double_quote_subst'ed string.
6520
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6521
 
 
6522
 
# Sed substitution to avoid accidental globbing in evaled expressions
6523
 
no_glob_subst='s/\*/\\\*/g'
6524
 
 
6525
 
# Constants:
6526
 
rm="rm -f"
6527
 
 
6528
 
# Global variables:
6529
 
default_ofile=libtool
6530
 
can_build_shared=yes
6531
 
 
6532
 
# All known linkers require a `.a' archive for static linking (except MSVC,
6533
 
# which needs '.lib').
6534
 
libext=a
6535
 
ltmain="$ac_aux_dir/ltmain.sh"
6536
 
ofile="$default_ofile"
6537
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
6538
 
 
6539
 
if test -n "$ac_tool_prefix"; then
6540
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6541
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6542
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6543
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6544
 
if test "${ac_cv_prog_AR+set}" = set; then
6545
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6546
 
else
6547
 
  if test -n "$AR"; then
6548
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
6549
 
else
6550
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551
 
for as_dir in $PATH
6552
 
do
6553
 
  IFS=$as_save_IFS
6554
 
  test -z "$as_dir" && as_dir=.
6555
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6556
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6557
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6558
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6559
 
    break 2
6560
 
  fi
6561
 
done
6562
 
done
6563
 
IFS=$as_save_IFS
6564
 
 
6565
 
fi
6566
 
fi
6567
 
AR=$ac_cv_prog_AR
6568
 
if test -n "$AR"; then
6569
 
  { echo "$as_me:$LINENO: result: $AR" >&5
6570
 
echo "${ECHO_T}$AR" >&6; }
6571
 
else
6572
 
  { echo "$as_me:$LINENO: result: no" >&5
6573
 
echo "${ECHO_T}no" >&6; }
6574
 
fi
6575
 
 
6576
 
 
6577
 
fi
6578
 
if test -z "$ac_cv_prog_AR"; then
6579
 
  ac_ct_AR=$AR
6580
 
  # Extract the first word of "ar", so it can be a program name with args.
6581
 
set dummy ar; ac_word=$2
6582
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6583
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6584
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6585
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6586
 
else
6587
 
  if test -n "$ac_ct_AR"; then
6588
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6589
 
else
6590
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6591
 
for as_dir in $PATH
6592
 
do
6593
 
  IFS=$as_save_IFS
6594
 
  test -z "$as_dir" && as_dir=.
6595
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6596
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6597
 
    ac_cv_prog_ac_ct_AR="ar"
6598
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6599
 
    break 2
6600
 
  fi
6601
 
done
6602
 
done
6603
 
IFS=$as_save_IFS
6604
 
 
6605
 
fi
6606
 
fi
6607
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6608
 
if test -n "$ac_ct_AR"; then
6609
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6610
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
6611
 
else
6612
 
  { echo "$as_me:$LINENO: result: no" >&5
6613
 
echo "${ECHO_T}no" >&6; }
6614
 
fi
6615
 
 
6616
 
  if test "x$ac_ct_AR" = x; then
6617
 
    AR="false"
6618
 
  else
6619
 
    case $cross_compiling:$ac_tool_warned in
6620
 
yes:)
6621
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6622
 
whose name does not start with the host triplet.  If you think this
6623
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6624
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6625
 
whose name does not start with the host triplet.  If you think this
6626
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6627
 
ac_tool_warned=yes ;;
6628
 
esac
6629
 
    AR=$ac_ct_AR
6630
 
  fi
6631
 
else
6632
 
  AR="$ac_cv_prog_AR"
6633
 
fi
6634
 
 
6635
 
if test -n "$ac_tool_prefix"; then
6636
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6637
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6638
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6639
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6640
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
6641
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6642
 
else
6643
 
  if test -n "$RANLIB"; then
6644
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6645
 
else
6646
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6647
 
for as_dir in $PATH
6648
 
do
6649
 
  IFS=$as_save_IFS
6650
 
  test -z "$as_dir" && as_dir=.
6651
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6652
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6653
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6654
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6655
 
    break 2
6656
 
  fi
6657
 
done
6658
 
done
6659
 
IFS=$as_save_IFS
6660
 
 
6661
 
fi
6662
 
fi
6663
 
RANLIB=$ac_cv_prog_RANLIB
6664
 
if test -n "$RANLIB"; then
6665
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
6666
 
echo "${ECHO_T}$RANLIB" >&6; }
6667
 
else
6668
 
  { echo "$as_me:$LINENO: result: no" >&5
6669
 
echo "${ECHO_T}no" >&6; }
6670
 
fi
6671
 
 
6672
 
 
6673
 
fi
6674
 
if test -z "$ac_cv_prog_RANLIB"; then
6675
 
  ac_ct_RANLIB=$RANLIB
6676
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6677
 
set dummy ranlib; ac_word=$2
6678
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6679
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6680
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6681
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6682
 
else
6683
 
  if test -n "$ac_ct_RANLIB"; then
6684
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6685
 
else
6686
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6687
 
for as_dir in $PATH
6688
 
do
6689
 
  IFS=$as_save_IFS
6690
 
  test -z "$as_dir" && as_dir=.
6691
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6692
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6693
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6694
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6695
 
    break 2
6696
 
  fi
6697
 
done
6698
 
done
6699
 
IFS=$as_save_IFS
6700
 
 
6701
 
fi
6702
 
fi
6703
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6704
 
if test -n "$ac_ct_RANLIB"; then
6705
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6706
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6707
 
else
6708
 
  { echo "$as_me:$LINENO: result: no" >&5
6709
 
echo "${ECHO_T}no" >&6; }
6710
 
fi
6711
 
 
6712
 
  if test "x$ac_ct_RANLIB" = x; then
6713
 
    RANLIB=":"
6714
 
  else
6715
 
    case $cross_compiling:$ac_tool_warned in
6716
 
yes:)
6717
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6718
 
whose name does not start with the host triplet.  If you think this
6719
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6720
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6721
 
whose name does not start with the host triplet.  If you think this
6722
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6723
 
ac_tool_warned=yes ;;
6724
 
esac
6725
 
    RANLIB=$ac_ct_RANLIB
6726
 
  fi
6727
 
else
6728
 
  RANLIB="$ac_cv_prog_RANLIB"
6729
 
fi
6730
 
 
6731
 
if test -n "$ac_tool_prefix"; then
6732
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6733
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
6734
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6735
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6736
 
if test "${ac_cv_prog_STRIP+set}" = set; then
6737
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6738
 
else
6739
 
  if test -n "$STRIP"; then
6740
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6741
 
else
6742
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6743
 
for as_dir in $PATH
6744
 
do
6745
 
  IFS=$as_save_IFS
6746
 
  test -z "$as_dir" && as_dir=.
6747
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6748
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6749
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6750
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6751
 
    break 2
6752
 
  fi
6753
 
done
6754
 
done
6755
 
IFS=$as_save_IFS
6756
 
 
6757
 
fi
6758
 
fi
6759
 
STRIP=$ac_cv_prog_STRIP
6760
 
if test -n "$STRIP"; then
6761
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
6762
 
echo "${ECHO_T}$STRIP" >&6; }
6763
 
else
6764
 
  { echo "$as_me:$LINENO: result: no" >&5
6765
 
echo "${ECHO_T}no" >&6; }
6766
 
fi
6767
 
 
6768
 
 
6769
 
fi
6770
 
if test -z "$ac_cv_prog_STRIP"; then
6771
 
  ac_ct_STRIP=$STRIP
6772
 
  # Extract the first word of "strip", so it can be a program name with args.
6773
 
set dummy strip; ac_word=$2
6774
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6775
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6776
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6777
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6778
 
else
6779
 
  if test -n "$ac_ct_STRIP"; then
6780
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6781
 
else
6782
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6783
 
for as_dir in $PATH
6784
 
do
6785
 
  IFS=$as_save_IFS
6786
 
  test -z "$as_dir" && as_dir=.
6787
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6788
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6789
 
    ac_cv_prog_ac_ct_STRIP="strip"
6790
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6791
 
    break 2
6792
 
  fi
6793
 
done
6794
 
done
6795
 
IFS=$as_save_IFS
6796
 
 
6797
 
fi
6798
 
fi
6799
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6800
 
if test -n "$ac_ct_STRIP"; then
6801
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6802
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6803
 
else
6804
 
  { echo "$as_me:$LINENO: result: no" >&5
6805
 
echo "${ECHO_T}no" >&6; }
6806
 
fi
6807
 
 
6808
 
  if test "x$ac_ct_STRIP" = x; then
6809
 
    STRIP=":"
6810
 
  else
6811
 
    case $cross_compiling:$ac_tool_warned in
6812
 
yes:)
6813
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6814
 
whose name does not start with the host triplet.  If you think this
6815
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6816
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6817
 
whose name does not start with the host triplet.  If you think this
6818
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6819
 
ac_tool_warned=yes ;;
6820
 
esac
6821
 
    STRIP=$ac_ct_STRIP
6822
 
  fi
6823
 
else
6824
 
  STRIP="$ac_cv_prog_STRIP"
6825
 
fi
6826
 
 
6827
 
 
6828
 
old_CC="$CC"
6829
 
old_CFLAGS="$CFLAGS"
6830
 
 
6831
 
# Set sane defaults for various variables
6832
 
test -z "$AR" && AR=ar
6833
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
6834
 
test -z "$AS" && AS=as
6835
 
test -z "$CC" && CC=cc
6836
 
test -z "$LTCC" && LTCC=$CC
6837
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6838
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
6839
 
test -z "$LD" && LD=ld
6840
 
test -z "$LN_S" && LN_S="ln -s"
6841
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
6842
 
test -z "$NM" && NM=nm
6843
 
test -z "$SED" && SED=sed
6844
 
test -z "$OBJDUMP" && OBJDUMP=objdump
6845
 
test -z "$RANLIB" && RANLIB=:
6846
 
test -z "$STRIP" && STRIP=:
6847
 
test -z "$ac_objext" && ac_objext=o
6848
 
 
6849
 
# Determine commands to create old-style static archives.
6850
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6851
 
old_postinstall_cmds='chmod 644 $oldlib'
6852
 
old_postuninstall_cmds=
6853
 
 
6854
 
if test -n "$RANLIB"; then
6855
 
  case $host_os in
6856
 
  openbsd*)
6857
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6858
 
    ;;
6859
 
  *)
6860
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6861
 
    ;;
6862
 
  esac
6863
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6864
 
fi
6865
 
 
6866
 
for cc_temp in $compiler""; do
6867
 
  case $cc_temp in
6868
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6869
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6870
 
    \-*) ;;
6871
 
    *) break;;
6872
 
  esac
6873
 
done
6874
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6875
 
 
6876
 
 
6877
 
# Only perform the check for file, if the check method requires it
6878
 
case $deplibs_check_method in
6879
 
file_magic*)
6880
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6881
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6882
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6883
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6884
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6885
 
else
6886
 
  case $MAGIC_CMD in
6887
 
[\\/*] |  ?:[\\/]*)
6888
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6889
 
  ;;
6890
 
*)
6891
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
6892
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6893
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6894
 
  for ac_dir in $ac_dummy; do
6895
 
    IFS="$lt_save_ifs"
6896
 
    test -z "$ac_dir" && ac_dir=.
6897
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
6898
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6899
 
      if test -n "$file_magic_test_file"; then
6900
 
        case $deplibs_check_method in
6901
 
        "file_magic "*)
6902
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6903
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6904
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6905
 
            $EGREP "$file_magic_regex" > /dev/null; then
6906
 
            :
6907
 
          else
6908
 
            cat <<EOF 1>&2
6909
 
 
6910
 
*** Warning: the command libtool uses to detect shared libraries,
6911
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
6912
 
*** The result is that libtool may fail to recognize shared libraries
6913
 
*** as such.  This will affect the creation of libtool libraries that
6914
 
*** depend on shared libraries, but programs linked with such libtool
6915
 
*** libraries will work regardless of this problem.  Nevertheless, you
6916
 
*** may want to report the problem to your system manager and/or to
6917
 
*** bug-libtool@gnu.org
6918
 
 
6919
 
EOF
6920
 
          fi ;;
6921
 
        esac
6922
 
      fi
6923
 
      break
6924
 
    fi
6925
 
  done
6926
 
  IFS="$lt_save_ifs"
6927
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
6928
 
  ;;
6929
 
esac
6930
 
fi
6931
 
 
6932
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6933
 
if test -n "$MAGIC_CMD"; then
6934
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6935
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6936
 
else
6937
 
  { echo "$as_me:$LINENO: result: no" >&5
6938
 
echo "${ECHO_T}no" >&6; }
6939
 
fi
6940
 
 
6941
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
6942
 
  if test -n "$ac_tool_prefix"; then
6943
 
    { echo "$as_me:$LINENO: checking for file" >&5
6944
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6945
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6946
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6947
 
else
6948
 
  case $MAGIC_CMD in
6949
 
[\\/*] |  ?:[\\/]*)
6950
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6951
 
  ;;
6952
 
*)
6953
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
6954
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6955
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6956
 
  for ac_dir in $ac_dummy; do
6957
 
    IFS="$lt_save_ifs"
6958
 
    test -z "$ac_dir" && ac_dir=.
6959
 
    if test -f $ac_dir/file; then
6960
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
6961
 
      if test -n "$file_magic_test_file"; then
6962
 
        case $deplibs_check_method in
6963
 
        "file_magic "*)
6964
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6965
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6966
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6967
 
            $EGREP "$file_magic_regex" > /dev/null; then
6968
 
            :
6969
 
          else
6970
 
            cat <<EOF 1>&2
6971
 
 
6972
 
*** Warning: the command libtool uses to detect shared libraries,
6973
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
6974
 
*** The result is that libtool may fail to recognize shared libraries
6975
 
*** as such.  This will affect the creation of libtool libraries that
6976
 
*** depend on shared libraries, but programs linked with such libtool
6977
 
*** libraries will work regardless of this problem.  Nevertheless, you
6978
 
*** may want to report the problem to your system manager and/or to
6979
 
*** bug-libtool@gnu.org
6980
 
 
6981
 
EOF
6982
 
          fi ;;
6983
 
        esac
6984
 
      fi
6985
 
      break
6986
 
    fi
6987
 
  done
6988
 
  IFS="$lt_save_ifs"
6989
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
6990
 
  ;;
6991
 
esac
6992
 
fi
6993
 
 
6994
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6995
 
if test -n "$MAGIC_CMD"; then
6996
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6997
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6998
 
else
6999
 
  { echo "$as_me:$LINENO: result: no" >&5
7000
 
echo "${ECHO_T}no" >&6; }
7001
 
fi
7002
 
 
7003
 
  else
7004
 
    MAGIC_CMD=:
7005
 
  fi
7006
 
fi
7007
 
 
7008
 
  fi
7009
 
  ;;
7010
 
esac
 
5587
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
5588
$as_echo "failed" >&6; }
 
5589
else
 
5590
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
5591
$as_echo "ok" >&6; }
 
5592
fi
 
5593
 
 
5594
 
 
5595
 
 
5596
 
 
5597
 
 
5598
 
 
5599
 
 
5600
 
 
5601
 
 
5602
 
 
5603
 
 
5604
 
 
5605
 
 
5606
 
 
5607
 
 
5608
 
 
5609
 
 
5610
 
 
5611
 
 
5612
 
 
5613
 
 
5614
 
 
5615
 
 
5616
# Check whether --enable-libtool-lock was given.
 
5617
if test "${enable_libtool_lock+set}" = set; then :
 
5618
  enableval=$enable_libtool_lock;
 
5619
fi
 
5620
 
 
5621
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
5622
 
 
5623
# Some flags need to be propagated to the compiler or linker for good
 
5624
# libtool support.
 
5625
case $host in
 
5626
ia64-*-hpux*)
 
5627
  # Find out which ABI we are using.
 
5628
  echo 'int i;' > conftest.$ac_ext
 
5629
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
5630
  (eval $ac_compile) 2>&5
 
5631
  ac_status=$?
 
5632
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5633
  test $ac_status = 0; }; then
 
5634
    case `/usr/bin/file conftest.$ac_objext` in
 
5635
      *ELF-32*)
 
5636
        HPUX_IA64_MODE="32"
 
5637
        ;;
 
5638
      *ELF-64*)
 
5639
        HPUX_IA64_MODE="64"
 
5640
        ;;
 
5641
    esac
 
5642
  fi
 
5643
  rm -rf conftest*
 
5644
  ;;
 
5645
*-*-irix6*)
 
5646
  # Find out which ABI we are using.
 
5647
  echo '#line 5647 "configure"' > conftest.$ac_ext
 
5648
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
5649
  (eval $ac_compile) 2>&5
 
5650
  ac_status=$?
 
5651
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5652
  test $ac_status = 0; }; then
 
5653
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
5654
      case `/usr/bin/file conftest.$ac_objext` in
 
5655
        *32-bit*)
 
5656
          LD="${LD-ld} -melf32bsmip"
 
5657
          ;;
 
5658
        *N32*)
 
5659
          LD="${LD-ld} -melf32bmipn32"
 
5660
          ;;
 
5661
        *64-bit*)
 
5662
          LD="${LD-ld} -melf64bmip"
 
5663
        ;;
 
5664
      esac
 
5665
    else
 
5666
      case `/usr/bin/file conftest.$ac_objext` in
 
5667
        *32-bit*)
 
5668
          LD="${LD-ld} -32"
 
5669
          ;;
 
5670
        *N32*)
 
5671
          LD="${LD-ld} -n32"
 
5672
          ;;
 
5673
        *64-bit*)
 
5674
          LD="${LD-ld} -64"
 
5675
          ;;
 
5676
      esac
 
5677
    fi
 
5678
  fi
 
5679
  rm -rf conftest*
 
5680
  ;;
 
5681
 
 
5682
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
5683
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
5684
  # Find out which ABI we are using.
 
5685
  echo 'int i;' > conftest.$ac_ext
 
5686
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
5687
  (eval $ac_compile) 2>&5
 
5688
  ac_status=$?
 
5689
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5690
  test $ac_status = 0; }; then
 
5691
    case `/usr/bin/file conftest.o` in
 
5692
      *32-bit*)
 
5693
        case $host in
 
5694
          x86_64-*kfreebsd*-gnu)
 
5695
            LD="${LD-ld} -m elf_i386_fbsd"
 
5696
            ;;
 
5697
          x86_64-*linux*)
 
5698
            LD="${LD-ld} -m elf_i386"
 
5699
            ;;
 
5700
          ppc64-*linux*|powerpc64-*linux*)
 
5701
            LD="${LD-ld} -m elf32ppclinux"
 
5702
            ;;
 
5703
          s390x-*linux*)
 
5704
            LD="${LD-ld} -m elf_s390"
 
5705
            ;;
 
5706
          sparc64-*linux*)
 
5707
            LD="${LD-ld} -m elf32_sparc"
 
5708
            ;;
 
5709
        esac
 
5710
        ;;
 
5711
      *64-bit*)
 
5712
        case $host in
 
5713
          x86_64-*kfreebsd*-gnu)
 
5714
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
5715
            ;;
 
5716
          x86_64-*linux*)
 
5717
            LD="${LD-ld} -m elf_x86_64"
 
5718
            ;;
 
5719
          ppc*-*linux*|powerpc*-*linux*)
 
5720
            LD="${LD-ld} -m elf64ppc"
 
5721
            ;;
 
5722
          s390*-*linux*|s390*-*tpf*)
 
5723
            LD="${LD-ld} -m elf64_s390"
 
5724
            ;;
 
5725
          sparc*-*linux*)
 
5726
            LD="${LD-ld} -m elf64_sparc"
 
5727
            ;;
 
5728
        esac
 
5729
        ;;
 
5730
    esac
 
5731
  fi
 
5732
  rm -rf conftest*
 
5733
  ;;
 
5734
 
 
5735
*-*-sco3.2v5*)
 
5736
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
5737
  SAVE_CFLAGS="$CFLAGS"
 
5738
  CFLAGS="$CFLAGS -belf"
 
5739
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
5740
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
5741
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
5742
  $as_echo_n "(cached) " >&6
 
5743
else
 
5744
  ac_ext=c
 
5745
ac_cpp='$CPP $CPPFLAGS'
 
5746
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5747
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5748
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5749
 
 
5750
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5751
/* end confdefs.h.  */
 
5752
 
 
5753
int
 
5754
main ()
 
5755
{
 
5756
 
 
5757
  ;
 
5758
  return 0;
 
5759
}
 
5760
_ACEOF
 
5761
if ac_fn_c_try_link "$LINENO"; then :
 
5762
  lt_cv_cc_needs_belf=yes
 
5763
else
 
5764
  lt_cv_cc_needs_belf=no
 
5765
fi
 
5766
rm -f core conftest.err conftest.$ac_objext \
 
5767
    conftest$ac_exeext conftest.$ac_ext
 
5768
     ac_ext=c
 
5769
ac_cpp='$CPP $CPPFLAGS'
 
5770
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5771
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5772
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5773
 
 
5774
fi
 
5775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
5776
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
5777
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
5778
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
5779
    CFLAGS="$SAVE_CFLAGS"
 
5780
  fi
 
5781
  ;;
 
5782
sparc*-*solaris*)
 
5783
  # Find out which ABI we are using.
 
5784
  echo 'int i;' > conftest.$ac_ext
 
5785
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
5786
  (eval $ac_compile) 2>&5
 
5787
  ac_status=$?
 
5788
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5789
  test $ac_status = 0; }; then
 
5790
    case `/usr/bin/file conftest.o` in
 
5791
    *64-bit*)
 
5792
      case $lt_cv_prog_gnu_ld in
 
5793
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
5794
      *)
 
5795
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
5796
          LD="${LD-ld} -64"
 
5797
        fi
 
5798
        ;;
 
5799
      esac
 
5800
      ;;
 
5801
    esac
 
5802
  fi
 
5803
  rm -rf conftest*
 
5804
  ;;
 
5805
esac
 
5806
 
 
5807
need_locks="$enable_libtool_lock"
7011
5808
 
7012
5809
 
7013
5810
  case $host_os in
7015
5812
    if test -n "$ac_tool_prefix"; then
7016
5813
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7017
5814
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7018
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7019
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7020
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7021
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5815
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5816
$as_echo_n "checking for $ac_word... " >&6; }
 
5817
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
5818
  $as_echo_n "(cached) " >&6
7022
5819
else
7023
5820
  if test -n "$DSYMUTIL"; then
7024
5821
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7028
5825
do
7029
5826
  IFS=$as_save_IFS
7030
5827
  test -z "$as_dir" && as_dir=.
7031
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5828
    for ac_exec_ext in '' $ac_executable_extensions; do
7032
5829
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7033
5830
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7034
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5831
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7035
5832
    break 2
7036
5833
  fi
7037
5834
done
7038
 
done
 
5835
  done
7039
5836
IFS=$as_save_IFS
7040
5837
 
7041
5838
fi
7042
5839
fi
7043
5840
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7044
5841
if test -n "$DSYMUTIL"; then
7045
 
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7046
 
echo "${ECHO_T}$DSYMUTIL" >&6; }
 
5842
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
5843
$as_echo "$DSYMUTIL" >&6; }
7047
5844
else
7048
 
  { echo "$as_me:$LINENO: result: no" >&5
7049
 
echo "${ECHO_T}no" >&6; }
 
5845
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5846
$as_echo "no" >&6; }
7050
5847
fi
7051
5848
 
7052
5849
 
7055
5852
  ac_ct_DSYMUTIL=$DSYMUTIL
7056
5853
  # Extract the first word of "dsymutil", so it can be a program name with args.
7057
5854
set dummy dsymutil; ac_word=$2
7058
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7059
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7060
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7061
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5855
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5856
$as_echo_n "checking for $ac_word... " >&6; }
 
5857
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
5858
  $as_echo_n "(cached) " >&6
7062
5859
else
7063
5860
  if test -n "$ac_ct_DSYMUTIL"; then
7064
5861
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7068
5865
do
7069
5866
  IFS=$as_save_IFS
7070
5867
  test -z "$as_dir" && as_dir=.
7071
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5868
    for ac_exec_ext in '' $ac_executable_extensions; do
7072
5869
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7073
5870
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7074
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5871
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7075
5872
    break 2
7076
5873
  fi
7077
5874
done
7078
 
done
 
5875
  done
7079
5876
IFS=$as_save_IFS
7080
5877
 
7081
5878
fi
7082
5879
fi
7083
5880
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7084
5881
if test -n "$ac_ct_DSYMUTIL"; then
7085
 
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7086
 
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
 
5882
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
5883
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7087
5884
else
7088
 
  { echo "$as_me:$LINENO: result: no" >&5
7089
 
echo "${ECHO_T}no" >&6; }
 
5885
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5886
$as_echo "no" >&6; }
7090
5887
fi
7091
5888
 
7092
5889
  if test "x$ac_ct_DSYMUTIL" = x; then
7094
5891
  else
7095
5892
    case $cross_compiling:$ac_tool_warned in
7096
5893
yes:)
7097
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7098
 
whose name does not start with the host triplet.  If you think this
7099
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7100
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7101
 
whose name does not start with the host triplet.  If you think this
7102
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5894
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5895
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7103
5896
ac_tool_warned=yes ;;
7104
5897
esac
7105
5898
    DSYMUTIL=$ac_ct_DSYMUTIL
7111
5904
    if test -n "$ac_tool_prefix"; then
7112
5905
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7113
5906
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7114
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7115
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7116
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
7117
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5908
$as_echo_n "checking for $ac_word... " >&6; }
 
5909
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
5910
  $as_echo_n "(cached) " >&6
7118
5911
else
7119
5912
  if test -n "$NMEDIT"; then
7120
5913
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7124
5917
do
7125
5918
  IFS=$as_save_IFS
7126
5919
  test -z "$as_dir" && as_dir=.
7127
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5920
    for ac_exec_ext in '' $ac_executable_extensions; do
7128
5921
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7129
5922
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7130
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5923
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7131
5924
    break 2
7132
5925
  fi
7133
5926
done
7134
 
done
 
5927
  done
7135
5928
IFS=$as_save_IFS
7136
5929
 
7137
5930
fi
7138
5931
fi
7139
5932
NMEDIT=$ac_cv_prog_NMEDIT
7140
5933
if test -n "$NMEDIT"; then
7141
 
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
7142
 
echo "${ECHO_T}$NMEDIT" >&6; }
 
5934
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
5935
$as_echo "$NMEDIT" >&6; }
7143
5936
else
7144
 
  { echo "$as_me:$LINENO: result: no" >&5
7145
 
echo "${ECHO_T}no" >&6; }
 
5937
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5938
$as_echo "no" >&6; }
7146
5939
fi
7147
5940
 
7148
5941
 
7151
5944
  ac_ct_NMEDIT=$NMEDIT
7152
5945
  # Extract the first word of "nmedit", so it can be a program name with args.
7153
5946
set dummy nmedit; ac_word=$2
7154
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7155
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7156
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7157
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5947
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5948
$as_echo_n "checking for $ac_word... " >&6; }
 
5949
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
5950
  $as_echo_n "(cached) " >&6
7158
5951
else
7159
5952
  if test -n "$ac_ct_NMEDIT"; then
7160
5953
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7164
5957
do
7165
5958
  IFS=$as_save_IFS
7166
5959
  test -z "$as_dir" && as_dir=.
7167
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5960
    for ac_exec_ext in '' $ac_executable_extensions; do
7168
5961
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7169
5962
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7170
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5963
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7171
5964
    break 2
7172
5965
  fi
7173
5966
done
7174
 
done
 
5967
  done
7175
5968
IFS=$as_save_IFS
7176
5969
 
7177
5970
fi
7178
5971
fi
7179
5972
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7180
5973
if test -n "$ac_ct_NMEDIT"; then
7181
 
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7182
 
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
 
5974
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
5975
$as_echo "$ac_ct_NMEDIT" >&6; }
7183
5976
else
7184
 
  { echo "$as_me:$LINENO: result: no" >&5
7185
 
echo "${ECHO_T}no" >&6; }
 
5977
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5978
$as_echo "no" >&6; }
7186
5979
fi
7187
5980
 
7188
5981
  if test "x$ac_ct_NMEDIT" = x; then
7190
5983
  else
7191
5984
    case $cross_compiling:$ac_tool_warned in
7192
5985
yes:)
7193
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7194
 
whose name does not start with the host triplet.  If you think this
7195
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7196
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7197
 
whose name does not start with the host triplet.  If you think this
7198
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5986
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5987
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7199
5988
ac_tool_warned=yes ;;
7200
5989
esac
7201
5990
    NMEDIT=$ac_ct_NMEDIT
7204
5993
  NMEDIT="$ac_cv_prog_NMEDIT"
7205
5994
fi
7206
5995
 
7207
 
 
7208
 
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7209
 
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
7210
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7211
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5996
    if test -n "$ac_tool_prefix"; then
 
5997
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
5998
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
5999
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6000
$as_echo_n "checking for $ac_word... " >&6; }
 
6001
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
6002
  $as_echo_n "(cached) " >&6
 
6003
else
 
6004
  if test -n "$LIPO"; then
 
6005
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
6006
else
 
6007
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6008
for as_dir in $PATH
 
6009
do
 
6010
  IFS=$as_save_IFS
 
6011
  test -z "$as_dir" && as_dir=.
 
6012
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6013
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6014
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
6015
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6016
    break 2
 
6017
  fi
 
6018
done
 
6019
  done
 
6020
IFS=$as_save_IFS
 
6021
 
 
6022
fi
 
6023
fi
 
6024
LIPO=$ac_cv_prog_LIPO
 
6025
if test -n "$LIPO"; then
 
6026
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
6027
$as_echo "$LIPO" >&6; }
 
6028
else
 
6029
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6030
$as_echo "no" >&6; }
 
6031
fi
 
6032
 
 
6033
 
 
6034
fi
 
6035
if test -z "$ac_cv_prog_LIPO"; then
 
6036
  ac_ct_LIPO=$LIPO
 
6037
  # Extract the first word of "lipo", so it can be a program name with args.
 
6038
set dummy lipo; ac_word=$2
 
6039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6040
$as_echo_n "checking for $ac_word... " >&6; }
 
6041
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
6042
  $as_echo_n "(cached) " >&6
 
6043
else
 
6044
  if test -n "$ac_ct_LIPO"; then
 
6045
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
6046
else
 
6047
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6048
for as_dir in $PATH
 
6049
do
 
6050
  IFS=$as_save_IFS
 
6051
  test -z "$as_dir" && as_dir=.
 
6052
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6053
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6054
    ac_cv_prog_ac_ct_LIPO="lipo"
 
6055
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6056
    break 2
 
6057
  fi
 
6058
done
 
6059
  done
 
6060
IFS=$as_save_IFS
 
6061
 
 
6062
fi
 
6063
fi
 
6064
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
6065
if test -n "$ac_ct_LIPO"; then
 
6066
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
6067
$as_echo "$ac_ct_LIPO" >&6; }
 
6068
else
 
6069
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6070
$as_echo "no" >&6; }
 
6071
fi
 
6072
 
 
6073
  if test "x$ac_ct_LIPO" = x; then
 
6074
    LIPO=":"
 
6075
  else
 
6076
    case $cross_compiling:$ac_tool_warned in
 
6077
yes:)
 
6078
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6079
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6080
ac_tool_warned=yes ;;
 
6081
esac
 
6082
    LIPO=$ac_ct_LIPO
 
6083
  fi
 
6084
else
 
6085
  LIPO="$ac_cv_prog_LIPO"
 
6086
fi
 
6087
 
 
6088
    if test -n "$ac_tool_prefix"; then
 
6089
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
6090
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
6091
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6092
$as_echo_n "checking for $ac_word... " >&6; }
 
6093
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
6094
  $as_echo_n "(cached) " >&6
 
6095
else
 
6096
  if test -n "$OTOOL"; then
 
6097
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
6098
else
 
6099
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6100
for as_dir in $PATH
 
6101
do
 
6102
  IFS=$as_save_IFS
 
6103
  test -z "$as_dir" && as_dir=.
 
6104
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6105
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6106
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
6107
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6108
    break 2
 
6109
  fi
 
6110
done
 
6111
  done
 
6112
IFS=$as_save_IFS
 
6113
 
 
6114
fi
 
6115
fi
 
6116
OTOOL=$ac_cv_prog_OTOOL
 
6117
if test -n "$OTOOL"; then
 
6118
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
6119
$as_echo "$OTOOL" >&6; }
 
6120
else
 
6121
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6122
$as_echo "no" >&6; }
 
6123
fi
 
6124
 
 
6125
 
 
6126
fi
 
6127
if test -z "$ac_cv_prog_OTOOL"; then
 
6128
  ac_ct_OTOOL=$OTOOL
 
6129
  # Extract the first word of "otool", so it can be a program name with args.
 
6130
set dummy otool; ac_word=$2
 
6131
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6132
$as_echo_n "checking for $ac_word... " >&6; }
 
6133
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
6134
  $as_echo_n "(cached) " >&6
 
6135
else
 
6136
  if test -n "$ac_ct_OTOOL"; then
 
6137
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
6138
else
 
6139
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6140
for as_dir in $PATH
 
6141
do
 
6142
  IFS=$as_save_IFS
 
6143
  test -z "$as_dir" && as_dir=.
 
6144
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6145
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6146
    ac_cv_prog_ac_ct_OTOOL="otool"
 
6147
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6148
    break 2
 
6149
  fi
 
6150
done
 
6151
  done
 
6152
IFS=$as_save_IFS
 
6153
 
 
6154
fi
 
6155
fi
 
6156
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
6157
if test -n "$ac_ct_OTOOL"; then
 
6158
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
6159
$as_echo "$ac_ct_OTOOL" >&6; }
 
6160
else
 
6161
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6162
$as_echo "no" >&6; }
 
6163
fi
 
6164
 
 
6165
  if test "x$ac_ct_OTOOL" = x; then
 
6166
    OTOOL=":"
 
6167
  else
 
6168
    case $cross_compiling:$ac_tool_warned in
 
6169
yes:)
 
6170
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6171
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6172
ac_tool_warned=yes ;;
 
6173
esac
 
6174
    OTOOL=$ac_ct_OTOOL
 
6175
  fi
 
6176
else
 
6177
  OTOOL="$ac_cv_prog_OTOOL"
 
6178
fi
 
6179
 
 
6180
    if test -n "$ac_tool_prefix"; then
 
6181
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
6182
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
6183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6184
$as_echo_n "checking for $ac_word... " >&6; }
 
6185
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
6186
  $as_echo_n "(cached) " >&6
 
6187
else
 
6188
  if test -n "$OTOOL64"; then
 
6189
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
6190
else
 
6191
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6192
for as_dir in $PATH
 
6193
do
 
6194
  IFS=$as_save_IFS
 
6195
  test -z "$as_dir" && as_dir=.
 
6196
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6197
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6198
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
6199
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6200
    break 2
 
6201
  fi
 
6202
done
 
6203
  done
 
6204
IFS=$as_save_IFS
 
6205
 
 
6206
fi
 
6207
fi
 
6208
OTOOL64=$ac_cv_prog_OTOOL64
 
6209
if test -n "$OTOOL64"; then
 
6210
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
6211
$as_echo "$OTOOL64" >&6; }
 
6212
else
 
6213
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6214
$as_echo "no" >&6; }
 
6215
fi
 
6216
 
 
6217
 
 
6218
fi
 
6219
if test -z "$ac_cv_prog_OTOOL64"; then
 
6220
  ac_ct_OTOOL64=$OTOOL64
 
6221
  # Extract the first word of "otool64", so it can be a program name with args.
 
6222
set dummy otool64; ac_word=$2
 
6223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6224
$as_echo_n "checking for $ac_word... " >&6; }
 
6225
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
6226
  $as_echo_n "(cached) " >&6
 
6227
else
 
6228
  if test -n "$ac_ct_OTOOL64"; then
 
6229
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
6230
else
 
6231
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6232
for as_dir in $PATH
 
6233
do
 
6234
  IFS=$as_save_IFS
 
6235
  test -z "$as_dir" && as_dir=.
 
6236
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6237
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6238
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
6239
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6240
    break 2
 
6241
  fi
 
6242
done
 
6243
  done
 
6244
IFS=$as_save_IFS
 
6245
 
 
6246
fi
 
6247
fi
 
6248
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
6249
if test -n "$ac_ct_OTOOL64"; then
 
6250
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
6251
$as_echo "$ac_ct_OTOOL64" >&6; }
 
6252
else
 
6253
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6254
$as_echo "no" >&6; }
 
6255
fi
 
6256
 
 
6257
  if test "x$ac_ct_OTOOL64" = x; then
 
6258
    OTOOL64=":"
 
6259
  else
 
6260
    case $cross_compiling:$ac_tool_warned in
 
6261
yes:)
 
6262
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6263
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6264
ac_tool_warned=yes ;;
 
6265
esac
 
6266
    OTOOL64=$ac_ct_OTOOL64
 
6267
  fi
 
6268
else
 
6269
  OTOOL64="$ac_cv_prog_OTOOL64"
 
6270
fi
 
6271
 
 
6272
 
 
6273
 
 
6274
 
 
6275
 
 
6276
 
 
6277
 
 
6278
 
 
6279
 
 
6280
 
 
6281
 
 
6282
 
 
6283
 
 
6284
 
 
6285
 
 
6286
 
 
6287
 
 
6288
 
 
6289
 
 
6290
 
 
6291
 
 
6292
 
 
6293
 
 
6294
 
 
6295
 
 
6296
 
 
6297
 
 
6298
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
6299
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
6300
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
6301
  $as_echo_n "(cached) " >&6
7212
6302
else
7213
6303
  lt_cv_apple_cc_single_mod=no
7214
6304
      if test -z "${LT_MULTI_MODULE}"; then
7215
 
   # By default we will add the -single_module flag. You can override
7216
 
   # by either setting the environment variable LT_MULTI_MODULE
7217
 
   # non-empty at configure time, or by adding -multi_module to the
7218
 
   # link flags.
7219
 
   echo "int foo(void){return 1;}" > conftest.c
7220
 
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7221
 
     -dynamiclib ${wl}-single_module conftest.c
7222
 
   if test -f libconftest.dylib; then
7223
 
     lt_cv_apple_cc_single_mod=yes
7224
 
     rm -rf libconftest.dylib*
7225
 
   fi
7226
 
   rm conftest.c
 
6305
        # By default we will add the -single_module flag. You can override
 
6306
        # by either setting the environment variable LT_MULTI_MODULE
 
6307
        # non-empty at configure time, or by adding -multi_module to the
 
6308
        # link flags.
 
6309
        rm -rf libconftest.dylib*
 
6310
        echo "int foo(void){return 1;}" > conftest.c
 
6311
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6312
-dynamiclib -Wl,-single_module conftest.c" >&5
 
6313
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6314
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
6315
        _lt_result=$?
 
6316
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
6317
          lt_cv_apple_cc_single_mod=yes
 
6318
        else
 
6319
          cat conftest.err >&5
 
6320
        fi
 
6321
        rm -rf libconftest.dylib*
 
6322
        rm -f conftest.*
7227
6323
      fi
7228
6324
fi
7229
 
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7230
 
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
7231
 
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7232
 
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
7233
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7234
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6325
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
6326
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
6327
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
6328
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
6329
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
6330
  $as_echo_n "(cached) " >&6
7235
6331
else
7236
6332
  lt_cv_ld_exported_symbols_list=no
7237
6333
      save_LDFLAGS=$LDFLAGS
7238
6334
      echo "_main" > conftest.sym
7239
6335
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7240
 
      cat >conftest.$ac_ext <<_ACEOF
7241
 
/* confdefs.h.  */
7242
 
_ACEOF
7243
 
cat confdefs.h >>conftest.$ac_ext
7244
 
cat >>conftest.$ac_ext <<_ACEOF
 
6336
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7245
6337
/* end confdefs.h.  */
7246
6338
 
7247
6339
int
7252
6344
  return 0;
7253
6345
}
7254
6346
_ACEOF
7255
 
rm -f conftest.$ac_objext conftest$ac_exeext
7256
 
if { (ac_try="$ac_link"
7257
 
case "(($ac_try" in
7258
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7259
 
  *) ac_try_echo=$ac_try;;
7260
 
esac
7261
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7262
 
  (eval "$ac_link") 2>conftest.er1
7263
 
  ac_status=$?
7264
 
  grep -v '^ *+' conftest.er1 >conftest.err
7265
 
  rm -f conftest.er1
7266
 
  cat conftest.err >&5
7267
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7268
 
  (exit $ac_status); } && {
7269
 
         test -z "$ac_c_werror_flag" ||
7270
 
         test ! -s conftest.err
7271
 
       } && test -s conftest$ac_exeext &&
7272
 
       $as_test_x conftest$ac_exeext; then
 
6347
if ac_fn_c_try_link "$LINENO"; then :
7273
6348
  lt_cv_ld_exported_symbols_list=yes
7274
6349
else
7275
 
  echo "$as_me: failed program was:" >&5
7276
 
sed 's/^/| /' conftest.$ac_ext >&5
7277
 
 
7278
 
        lt_cv_ld_exported_symbols_list=no
7279
 
fi
7280
 
 
7281
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7282
 
      conftest$ac_exeext conftest.$ac_ext
7283
 
   LDFLAGS="$save_LDFLAGS"
7284
 
 
7285
 
fi
7286
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7287
 
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
 
6350
  lt_cv_ld_exported_symbols_list=no
 
6351
fi
 
6352
rm -f core conftest.err conftest.$ac_objext \
 
6353
    conftest$ac_exeext conftest.$ac_ext
 
6354
        LDFLAGS="$save_LDFLAGS"
 
6355
 
 
6356
fi
 
6357
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
6358
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7288
6359
    case $host_os in
7289
 
    rhapsody* | darwin1.[0123])
 
6360
    rhapsody* | darwin1.[012])
7290
6361
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7291
6362
    darwin1.*)
7292
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7293
 
    darwin*)
 
6363
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6364
    darwin*) # darwin 5.x on
7294
6365
      # if running on 10.5 or later, the deployment target defaults
7295
6366
      # to the OS version, if on x86, and 10.4, the deployment
7296
6367
      # target defaults to 10.4. Don't you love it?
7297
6368
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7298
 
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7299
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7300
 
   10.[012]*)
7301
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7302
 
   10.*)
7303
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6369
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
6370
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6371
        10.[012]*)
 
6372
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6373
        10.*)
 
6374
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7304
6375
      esac
7305
6376
    ;;
7306
6377
  esac
7310
6381
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7311
6382
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7312
6383
    else
7313
 
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
6384
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7314
6385
    fi
7315
6386
    if test "$DSYMUTIL" != ":"; then
7316
 
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
6387
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7317
6388
    else
7318
6389
      _lt_dsymutil=
7319
6390
    fi
7320
6391
    ;;
7321
6392
  esac
7322
6393
 
7323
 
 
7324
 
enable_dlopen=no
7325
 
enable_win32_dll=no
7326
 
 
7327
 
# Check whether --enable-libtool-lock was given.
7328
 
if test "${enable_libtool_lock+set}" = set; then
7329
 
  enableval=$enable_libtool_lock;
7330
 
fi
7331
 
 
7332
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
6394
ac_ext=c
 
6395
ac_cpp='$CPP $CPPFLAGS'
 
6396
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6397
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6398
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
6400
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
6401
# On Suns, sometimes $CPP names a directory.
 
6402
if test -n "$CPP" && test -d "$CPP"; then
 
6403
  CPP=
 
6404
fi
 
6405
if test -z "$CPP"; then
 
6406
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
6407
  $as_echo_n "(cached) " >&6
 
6408
else
 
6409
      # Double quotes because CPP needs to be expanded
 
6410
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
6411
    do
 
6412
      ac_preproc_ok=false
 
6413
for ac_c_preproc_warn_flag in '' yes
 
6414
do
 
6415
  # Use a header file that comes with gcc, so configuring glibc
 
6416
  # with a fresh cross-compiler works.
 
6417
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6418
  # <limits.h> exists even on freestanding compilers.
 
6419
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6420
  # not just through cpp. "Syntax error" is here to catch this case.
 
6421
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6422
/* end confdefs.h.  */
 
6423
#ifdef __STDC__
 
6424
# include <limits.h>
 
6425
#else
 
6426
# include <assert.h>
 
6427
#endif
 
6428
                     Syntax error
 
6429
_ACEOF
 
6430
if ac_fn_c_try_cpp "$LINENO"; then :
 
6431
 
 
6432
else
 
6433
  # Broken: fails on valid input.
 
6434
continue
 
6435
fi
 
6436
rm -f conftest.err conftest.$ac_ext
 
6437
 
 
6438
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6439
  # can be detected and how.
 
6440
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6441
/* end confdefs.h.  */
 
6442
#include <ac_nonexistent.h>
 
6443
_ACEOF
 
6444
if ac_fn_c_try_cpp "$LINENO"; then :
 
6445
  # Broken: success on invalid input.
 
6446
continue
 
6447
else
 
6448
  # Passes both tests.
 
6449
ac_preproc_ok=:
 
6450
break
 
6451
fi
 
6452
rm -f conftest.err conftest.$ac_ext
 
6453
 
 
6454
done
 
6455
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6456
rm -f conftest.err conftest.$ac_ext
 
6457
if $ac_preproc_ok; then :
 
6458
  break
 
6459
fi
 
6460
 
 
6461
    done
 
6462
    ac_cv_prog_CPP=$CPP
 
6463
 
 
6464
fi
 
6465
  CPP=$ac_cv_prog_CPP
 
6466
else
 
6467
  ac_cv_prog_CPP=$CPP
 
6468
fi
 
6469
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
6470
$as_echo "$CPP" >&6; }
 
6471
ac_preproc_ok=false
 
6472
for ac_c_preproc_warn_flag in '' yes
 
6473
do
 
6474
  # Use a header file that comes with gcc, so configuring glibc
 
6475
  # with a fresh cross-compiler works.
 
6476
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6477
  # <limits.h> exists even on freestanding compilers.
 
6478
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6479
  # not just through cpp. "Syntax error" is here to catch this case.
 
6480
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6481
/* end confdefs.h.  */
 
6482
#ifdef __STDC__
 
6483
# include <limits.h>
 
6484
#else
 
6485
# include <assert.h>
 
6486
#endif
 
6487
                     Syntax error
 
6488
_ACEOF
 
6489
if ac_fn_c_try_cpp "$LINENO"; then :
 
6490
 
 
6491
else
 
6492
  # Broken: fails on valid input.
 
6493
continue
 
6494
fi
 
6495
rm -f conftest.err conftest.$ac_ext
 
6496
 
 
6497
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6498
  # can be detected and how.
 
6499
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6500
/* end confdefs.h.  */
 
6501
#include <ac_nonexistent.h>
 
6502
_ACEOF
 
6503
if ac_fn_c_try_cpp "$LINENO"; then :
 
6504
  # Broken: success on invalid input.
 
6505
continue
 
6506
else
 
6507
  # Passes both tests.
 
6508
ac_preproc_ok=:
 
6509
break
 
6510
fi
 
6511
rm -f conftest.err conftest.$ac_ext
 
6512
 
 
6513
done
 
6514
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6515
rm -f conftest.err conftest.$ac_ext
 
6516
if $ac_preproc_ok; then :
 
6517
 
 
6518
else
 
6519
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
6520
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
6521
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
6522
See \`config.log' for more details." "$LINENO" 5; }
 
6523
fi
 
6524
 
 
6525
ac_ext=c
 
6526
ac_cpp='$CPP $CPPFLAGS'
 
6527
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6528
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6529
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6530
 
 
6531
 
 
6532
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
6533
$as_echo_n "checking for ANSI C header files... " >&6; }
 
6534
if test "${ac_cv_header_stdc+set}" = set; then :
 
6535
  $as_echo_n "(cached) " >&6
 
6536
else
 
6537
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6538
/* end confdefs.h.  */
 
6539
#include <stdlib.h>
 
6540
#include <stdarg.h>
 
6541
#include <string.h>
 
6542
#include <float.h>
 
6543
 
 
6544
int
 
6545
main ()
 
6546
{
 
6547
 
 
6548
  ;
 
6549
  return 0;
 
6550
}
 
6551
_ACEOF
 
6552
if ac_fn_c_try_compile "$LINENO"; then :
 
6553
  ac_cv_header_stdc=yes
 
6554
else
 
6555
  ac_cv_header_stdc=no
 
6556
fi
 
6557
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6558
 
 
6559
if test $ac_cv_header_stdc = yes; then
 
6560
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
6561
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6562
/* end confdefs.h.  */
 
6563
#include <string.h>
 
6564
 
 
6565
_ACEOF
 
6566
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
6567
  $EGREP "memchr" >/dev/null 2>&1; then :
 
6568
 
 
6569
else
 
6570
  ac_cv_header_stdc=no
 
6571
fi
 
6572
rm -f conftest*
 
6573
 
 
6574
fi
 
6575
 
 
6576
if test $ac_cv_header_stdc = yes; then
 
6577
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
6578
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6579
/* end confdefs.h.  */
 
6580
#include <stdlib.h>
 
6581
 
 
6582
_ACEOF
 
6583
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
6584
  $EGREP "free" >/dev/null 2>&1; then :
 
6585
 
 
6586
else
 
6587
  ac_cv_header_stdc=no
 
6588
fi
 
6589
rm -f conftest*
 
6590
 
 
6591
fi
 
6592
 
 
6593
if test $ac_cv_header_stdc = yes; then
 
6594
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
6595
  if test "$cross_compiling" = yes; then :
 
6596
  :
 
6597
else
 
6598
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6599
/* end confdefs.h.  */
 
6600
#include <ctype.h>
 
6601
#include <stdlib.h>
 
6602
#if ((' ' & 0x0FF) == 0x020)
 
6603
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
6604
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
6605
#else
 
6606
# define ISLOWER(c) \
 
6607
                   (('a' <= (c) && (c) <= 'i') \
 
6608
                     || ('j' <= (c) && (c) <= 'r') \
 
6609
                     || ('s' <= (c) && (c) <= 'z'))
 
6610
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
6611
#endif
 
6612
 
 
6613
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
6614
int
 
6615
main ()
 
6616
{
 
6617
  int i;
 
6618
  for (i = 0; i < 256; i++)
 
6619
    if (XOR (islower (i), ISLOWER (i))
 
6620
        || toupper (i) != TOUPPER (i))
 
6621
      return 2;
 
6622
  return 0;
 
6623
}
 
6624
_ACEOF
 
6625
if ac_fn_c_try_run "$LINENO"; then :
 
6626
 
 
6627
else
 
6628
  ac_cv_header_stdc=no
 
6629
fi
 
6630
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
6631
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
6632
fi
 
6633
 
 
6634
fi
 
6635
fi
 
6636
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
6637
$as_echo "$ac_cv_header_stdc" >&6; }
 
6638
if test $ac_cv_header_stdc = yes; then
 
6639
 
 
6640
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
6641
 
 
6642
fi
 
6643
 
 
6644
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
6645
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
6646
                  inttypes.h stdint.h unistd.h
 
6647
do :
 
6648
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6649
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
6650
"
 
6651
eval as_val=\$$as_ac_Header
 
6652
   if test "x$as_val" = x""yes; then :
 
6653
  cat >>confdefs.h <<_ACEOF
 
6654
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6655
_ACEOF
 
6656
 
 
6657
fi
 
6658
 
 
6659
done
 
6660
 
 
6661
 
 
6662
for ac_header in dlfcn.h
 
6663
do :
 
6664
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
6665
"
 
6666
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
6667
  cat >>confdefs.h <<_ACEOF
 
6668
#define HAVE_DLFCN_H 1
 
6669
_ACEOF
 
6670
 
 
6671
fi
 
6672
 
 
6673
done
 
6674
 
 
6675
 
 
6676
 
 
6677
# Set options
 
6678
 
 
6679
 
 
6680
 
 
6681
        enable_dlopen=no
 
6682
 
 
6683
 
 
6684
  enable_win32_dll=no
 
6685
 
 
6686
 
 
6687
            # Check whether --enable-shared was given.
 
6688
if test "${enable_shared+set}" = set; then :
 
6689
  enableval=$enable_shared; p=${PACKAGE-default}
 
6690
    case $enableval in
 
6691
    yes) enable_shared=yes ;;
 
6692
    no) enable_shared=no ;;
 
6693
    *)
 
6694
      enable_shared=no
 
6695
      # Look at the argument we got.  We use all the common list separators.
 
6696
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
6697
      for pkg in $enableval; do
 
6698
        IFS="$lt_save_ifs"
 
6699
        if test "X$pkg" = "X$p"; then
 
6700
          enable_shared=yes
 
6701
        fi
 
6702
      done
 
6703
      IFS="$lt_save_ifs"
 
6704
      ;;
 
6705
    esac
 
6706
else
 
6707
  enable_shared=yes
 
6708
fi
 
6709
 
 
6710
 
 
6711
 
 
6712
 
 
6713
 
 
6714
 
 
6715
 
 
6716
 
 
6717
 
 
6718
  # Check whether --enable-static was given.
 
6719
if test "${enable_static+set}" = set; then :
 
6720
  enableval=$enable_static; p=${PACKAGE-default}
 
6721
    case $enableval in
 
6722
    yes) enable_static=yes ;;
 
6723
    no) enable_static=no ;;
 
6724
    *)
 
6725
     enable_static=no
 
6726
      # Look at the argument we got.  We use all the common list separators.
 
6727
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
6728
      for pkg in $enableval; do
 
6729
        IFS="$lt_save_ifs"
 
6730
        if test "X$pkg" = "X$p"; then
 
6731
          enable_static=yes
 
6732
        fi
 
6733
      done
 
6734
      IFS="$lt_save_ifs"
 
6735
      ;;
 
6736
    esac
 
6737
else
 
6738
  enable_static=yes
 
6739
fi
 
6740
 
 
6741
 
 
6742
 
 
6743
 
 
6744
 
 
6745
 
 
6746
 
 
6747
 
7333
6748
 
7334
6749
 
7335
6750
# Check whether --with-pic was given.
7336
 
if test "${with_pic+set}" = set; then
 
6751
if test "${with_pic+set}" = set; then :
7337
6752
  withval=$with_pic; pic_mode="$withval"
7338
6753
else
7339
6754
  pic_mode=default
7340
6755
fi
7341
6756
 
 
6757
 
7342
6758
test -z "$pic_mode" && pic_mode=default
7343
6759
 
 
6760
 
 
6761
 
 
6762
 
 
6763
 
 
6764
 
 
6765
 
 
6766
  # Check whether --enable-fast-install was given.
 
6767
if test "${enable_fast_install+set}" = set; then :
 
6768
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
6769
    case $enableval in
 
6770
    yes) enable_fast_install=yes ;;
 
6771
    no) enable_fast_install=no ;;
 
6772
    *)
 
6773
      enable_fast_install=no
 
6774
      # Look at the argument we got.  We use all the common list separators.
 
6775
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
6776
      for pkg in $enableval; do
 
6777
        IFS="$lt_save_ifs"
 
6778
        if test "X$pkg" = "X$p"; then
 
6779
          enable_fast_install=yes
 
6780
        fi
 
6781
      done
 
6782
      IFS="$lt_save_ifs"
 
6783
      ;;
 
6784
    esac
 
6785
else
 
6786
  enable_fast_install=yes
 
6787
fi
 
6788
 
 
6789
 
 
6790
 
 
6791
 
 
6792
 
 
6793
 
 
6794
 
 
6795
 
 
6796
 
 
6797
 
 
6798
 
 
6799
# This can be used to rebuild libtool when needed
 
6800
LIBTOOL_DEPS="$ltmain"
 
6801
 
 
6802
# Always use our own libtool.
 
6803
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
6804
 
 
6805
 
 
6806
 
 
6807
 
 
6808
 
 
6809
 
 
6810
 
 
6811
 
 
6812
 
 
6813
 
 
6814
 
 
6815
 
 
6816
 
 
6817
 
 
6818
 
 
6819
 
 
6820
 
 
6821
 
 
6822
 
 
6823
 
 
6824
 
 
6825
 
 
6826
 
 
6827
 
 
6828
 
 
6829
test -z "$LN_S" && LN_S="ln -s"
 
6830
 
 
6831
 
 
6832
 
 
6833
 
 
6834
 
 
6835
 
 
6836
 
 
6837
 
 
6838
 
 
6839
 
 
6840
 
 
6841
 
 
6842
 
 
6843
 
 
6844
if test -n "${ZSH_VERSION+set}" ; then
 
6845
   setopt NO_GLOB_SUBST
 
6846
fi
 
6847
 
 
6848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
6849
$as_echo_n "checking for objdir... " >&6; }
 
6850
if test "${lt_cv_objdir+set}" = set; then :
 
6851
  $as_echo_n "(cached) " >&6
 
6852
else
 
6853
  rm -f .libs 2>/dev/null
 
6854
mkdir .libs 2>/dev/null
 
6855
if test -d .libs; then
 
6856
  lt_cv_objdir=.libs
 
6857
else
 
6858
  # MS-DOS does not allow filenames that begin with a dot.
 
6859
  lt_cv_objdir=_libs
 
6860
fi
 
6861
rmdir .libs 2>/dev/null
 
6862
fi
 
6863
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
6864
$as_echo "$lt_cv_objdir" >&6; }
 
6865
objdir=$lt_cv_objdir
 
6866
 
 
6867
 
 
6868
 
 
6869
 
 
6870
 
 
6871
cat >>confdefs.h <<_ACEOF
 
6872
#define LT_OBJDIR "$lt_cv_objdir/"
 
6873
_ACEOF
 
6874
 
 
6875
 
 
6876
 
 
6877
 
 
6878
 
 
6879
 
 
6880
 
 
6881
 
 
6882
 
 
6883
 
 
6884
 
 
6885
 
 
6886
 
 
6887
 
 
6888
 
 
6889
 
 
6890
 
 
6891
case $host_os in
 
6892
aix3*)
 
6893
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
6894
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
6895
  # vanish in a puff of smoke.
 
6896
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
6897
    COLLECT_NAMES=
 
6898
    export COLLECT_NAMES
 
6899
  fi
 
6900
  ;;
 
6901
esac
 
6902
 
 
6903
# Sed substitution that helps us do robust quoting.  It backslashifies
 
6904
# metacharacters that are still active within double-quoted strings.
 
6905
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
6906
 
 
6907
# Same as above, but do not quote variable references.
 
6908
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
6909
 
 
6910
# Sed substitution to delay expansion of an escaped shell variable in a
 
6911
# double_quote_subst'ed string.
 
6912
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
6913
 
 
6914
# Sed substitution to delay expansion of an escaped single quote.
 
6915
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
6916
 
 
6917
# Sed substitution to avoid accidental globbing in evaled expressions
 
6918
no_glob_subst='s/\*/\\\*/g'
 
6919
 
 
6920
# Global variables:
 
6921
ofile=libtool
 
6922
can_build_shared=yes
 
6923
 
 
6924
# All known linkers require a `.a' archive for static linking (except MSVC,
 
6925
# which needs '.lib').
 
6926
libext=a
 
6927
 
 
6928
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
6929
 
 
6930
old_CC="$CC"
 
6931
old_CFLAGS="$CFLAGS"
 
6932
 
 
6933
# Set sane defaults for various variables
 
6934
test -z "$CC" && CC=cc
 
6935
test -z "$LTCC" && LTCC=$CC
 
6936
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
6937
test -z "$LD" && LD=ld
 
6938
test -z "$ac_objext" && ac_objext=o
 
6939
 
 
6940
for cc_temp in $compiler""; do
 
6941
  case $cc_temp in
 
6942
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
6943
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
6944
    \-*) ;;
 
6945
    *) break;;
 
6946
  esac
 
6947
done
 
6948
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
6949
 
 
6950
 
 
6951
# Only perform the check for file, if the check method requires it
 
6952
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
6953
case $deplibs_check_method in
 
6954
file_magic*)
 
6955
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
6956
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
6957
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
6958
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
6959
  $as_echo_n "(cached) " >&6
 
6960
else
 
6961
  case $MAGIC_CMD in
 
6962
[\\/*] |  ?:[\\/]*)
 
6963
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
6964
  ;;
 
6965
*)
 
6966
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
6967
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
6968
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
6969
  for ac_dir in $ac_dummy; do
 
6970
    IFS="$lt_save_ifs"
 
6971
    test -z "$ac_dir" && ac_dir=.
 
6972
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
6973
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
6974
      if test -n "$file_magic_test_file"; then
 
6975
        case $deplibs_check_method in
 
6976
        "file_magic "*)
 
6977
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
6978
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
6979
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
6980
            $EGREP "$file_magic_regex" > /dev/null; then
 
6981
            :
 
6982
          else
 
6983
            cat <<_LT_EOF 1>&2
 
6984
 
 
6985
*** Warning: the command libtool uses to detect shared libraries,
 
6986
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
6987
*** The result is that libtool may fail to recognize shared libraries
 
6988
*** as such.  This will affect the creation of libtool libraries that
 
6989
*** depend on shared libraries, but programs linked with such libtool
 
6990
*** libraries will work regardless of this problem.  Nevertheless, you
 
6991
*** may want to report the problem to your system manager and/or to
 
6992
*** bug-libtool@gnu.org
 
6993
 
 
6994
_LT_EOF
 
6995
          fi ;;
 
6996
        esac
 
6997
      fi
 
6998
      break
 
6999
    fi
 
7000
  done
 
7001
  IFS="$lt_save_ifs"
 
7002
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7003
  ;;
 
7004
esac
 
7005
fi
 
7006
 
 
7007
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7008
if test -n "$MAGIC_CMD"; then
 
7009
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
7010
$as_echo "$MAGIC_CMD" >&6; }
 
7011
else
 
7012
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7013
$as_echo "no" >&6; }
 
7014
fi
 
7015
 
 
7016
 
 
7017
 
 
7018
 
 
7019
 
 
7020
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
7021
  if test -n "$ac_tool_prefix"; then
 
7022
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
7023
$as_echo_n "checking for file... " >&6; }
 
7024
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7025
  $as_echo_n "(cached) " >&6
 
7026
else
 
7027
  case $MAGIC_CMD in
 
7028
[\\/*] |  ?:[\\/]*)
 
7029
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7030
  ;;
 
7031
*)
 
7032
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7033
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7034
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7035
  for ac_dir in $ac_dummy; do
 
7036
    IFS="$lt_save_ifs"
 
7037
    test -z "$ac_dir" && ac_dir=.
 
7038
    if test -f $ac_dir/file; then
 
7039
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
7040
      if test -n "$file_magic_test_file"; then
 
7041
        case $deplibs_check_method in
 
7042
        "file_magic "*)
 
7043
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7044
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7045
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7046
            $EGREP "$file_magic_regex" > /dev/null; then
 
7047
            :
 
7048
          else
 
7049
            cat <<_LT_EOF 1>&2
 
7050
 
 
7051
*** Warning: the command libtool uses to detect shared libraries,
 
7052
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7053
*** The result is that libtool may fail to recognize shared libraries
 
7054
*** as such.  This will affect the creation of libtool libraries that
 
7055
*** depend on shared libraries, but programs linked with such libtool
 
7056
*** libraries will work regardless of this problem.  Nevertheless, you
 
7057
*** may want to report the problem to your system manager and/or to
 
7058
*** bug-libtool@gnu.org
 
7059
 
 
7060
_LT_EOF
 
7061
          fi ;;
 
7062
        esac
 
7063
      fi
 
7064
      break
 
7065
    fi
 
7066
  done
 
7067
  IFS="$lt_save_ifs"
 
7068
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7069
  ;;
 
7070
esac
 
7071
fi
 
7072
 
 
7073
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7074
if test -n "$MAGIC_CMD"; then
 
7075
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
7076
$as_echo "$MAGIC_CMD" >&6; }
 
7077
else
 
7078
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7079
$as_echo "no" >&6; }
 
7080
fi
 
7081
 
 
7082
 
 
7083
  else
 
7084
    MAGIC_CMD=:
 
7085
  fi
 
7086
fi
 
7087
 
 
7088
  fi
 
7089
  ;;
 
7090
esac
 
7091
 
7344
7092
# Use C for the default configuration in the libtool script
7345
 
tagname=
 
7093
 
7346
7094
lt_save_CC="$CC"
7347
7095
ac_ext=c
7348
7096
ac_cpp='$CPP $CPPFLAGS'
7365
7113
lt_simple_link_test_code='int main(){return(0);}'
7366
7114
 
7367
7115
 
 
7116
 
 
7117
 
 
7118
 
 
7119
 
 
7120
 
7368
7121
# If no C compiler was specified, use CC.
7369
7122
LTCC=${LTCC-"$CC"}
7370
7123
 
7374
7127
# Allow CC to be a program name with arguments.
7375
7128
compiler=$CC
7376
7129
 
 
7130
# Save the default compiler, since it gets overwritten when the other
 
7131
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
7132
compiler_DEFAULT=$CC
7377
7133
 
7378
7134
# save warnings/boilerplate of simple test code
7379
7135
ac_outfile=conftest.$ac_objext
7380
7136
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7381
7137
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7382
7138
_lt_compiler_boilerplate=`cat conftest.err`
7383
 
$rm conftest*
 
7139
$RM conftest*
7384
7140
 
7385
7141
ac_outfile=conftest.$ac_objext
7386
7142
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7387
7143
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7388
7144
_lt_linker_boilerplate=`cat conftest.err`
7389
 
$rm -r conftest*
7390
 
 
7391
 
 
 
7145
$RM -r conftest*
 
7146
 
 
7147
 
 
7148
if test -n "$compiler"; then
7392
7149
 
7393
7150
lt_prog_compiler_no_builtin_flag=
7394
7151
 
7395
7152
if test "$GCC" = yes; then
7396
7153
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7397
7154
 
7398
 
 
7399
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7400
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7401
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7402
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7155
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7156
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
7157
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
7158
  $as_echo_n "(cached) " >&6
7403
7159
else
7404
7160
  lt_cv_prog_compiler_rtti_exceptions=no
7405
 
  ac_outfile=conftest.$ac_objext
 
7161
   ac_outfile=conftest.$ac_objext
7406
7162
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7407
7163
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7408
7164
   # Insert the option either (1) after the last *FLAGS variable, or
7414
7170
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7415
7171
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7416
7172
   -e 's:$: $lt_compiler_flag:'`
7417
 
   (eval echo "\"\$as_me:7417: $lt_compile\"" >&5)
 
7173
   (eval echo "\"\$as_me:7173: $lt_compile\"" >&5)
7418
7174
   (eval "$lt_compile" 2>conftest.err)
7419
7175
   ac_status=$?
7420
7176
   cat conftest.err >&5
7421
 
   echo "$as_me:7421: \$? = $ac_status" >&5
 
7177
   echo "$as_me:7177: \$? = $ac_status" >&5
7422
7178
   if (exit $ac_status) && test -s "$ac_outfile"; then
7423
7179
     # The compiler can only warn and ignore the option if not recognized
7424
7180
     # So say no if there are warnings other than the usual output.
7425
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7181
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7426
7182
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7427
7183
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7428
7184
       lt_cv_prog_compiler_rtti_exceptions=yes
7429
7185
     fi
7430
7186
   fi
7431
 
   $rm conftest*
 
7187
   $RM conftest*
7432
7188
 
7433
7189
fi
7434
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7435
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
7190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7191
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7436
7192
 
7437
7193
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7438
7194
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7442
7198
 
7443
7199
fi
7444
7200
 
7445
 
lt_prog_compiler_wl=
 
7201
 
 
7202
 
 
7203
 
 
7204
 
 
7205
 
 
7206
  lt_prog_compiler_wl=
7446
7207
lt_prog_compiler_pic=
7447
7208
lt_prog_compiler_static=
7448
7209
 
7449
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7450
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
7210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
7211
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7451
7212
 
7452
7213
  if test "$GCC" = yes; then
7453
7214
    lt_prog_compiler_wl='-Wl,'
7463
7224
      ;;
7464
7225
 
7465
7226
    amigaos*)
7466
 
      # FIXME: we need at least 68020 code to build shared libraries, but
7467
 
      # adding the `-m68020' flag to GCC prevents building anything better,
7468
 
      # like `-m68040'.
7469
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
7227
      case $host_cpu in
 
7228
      powerpc)
 
7229
            # see comment about AmigaOS4 .so support
 
7230
            lt_prog_compiler_pic='-fPIC'
 
7231
        ;;
 
7232
      m68k)
 
7233
            # FIXME: we need at least 68020 code to build shared libraries, but
 
7234
            # adding the `-m68020' flag to GCC prevents building anything better,
 
7235
            # like `-m68040'.
 
7236
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
7237
        ;;
 
7238
      esac
7470
7239
      ;;
7471
7240
 
7472
7241
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7473
7242
      # PIC is the default for these OSes.
7474
7243
      ;;
7475
7244
 
7476
 
    mingw* | cygwin* | pw32* | os2*)
 
7245
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7477
7246
      # This hack is so that the source file can tell whether it is being
7478
7247
      # built for inclusion in a dll (and should export symbols for example).
7479
7248
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7487
7256
      lt_prog_compiler_pic='-fno-common'
7488
7257
      ;;
7489
7258
 
 
7259
    hpux*)
 
7260
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
7261
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
7262
      # sets the default TLS model and affects inlining.
 
7263
      case $host_cpu in
 
7264
      hppa*64*)
 
7265
        # +Z the default
 
7266
        ;;
 
7267
      *)
 
7268
        lt_prog_compiler_pic='-fPIC'
 
7269
        ;;
 
7270
      esac
 
7271
      ;;
 
7272
 
7490
7273
    interix[3-9]*)
7491
7274
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7492
7275
      # Instead, we relocate shared libraries at runtime.
7499
7282
      enable_shared=no
7500
7283
      ;;
7501
7284
 
 
7285
    *nto* | *qnx*)
 
7286
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7287
      # it will coredump.
 
7288
      lt_prog_compiler_pic='-fPIC -shared'
 
7289
      ;;
 
7290
 
7502
7291
    sysv4*MP*)
7503
7292
      if test -d /usr/nec; then
7504
7293
        lt_prog_compiler_pic=-Kconform_pic
7505
7294
      fi
7506
7295
      ;;
7507
7296
 
7508
 
    hpux*)
7509
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7510
 
      # not for PA HP-UX.
7511
 
      case $host_cpu in
7512
 
      hppa*64*|ia64*)
7513
 
        # +Z the default
7514
 
        ;;
7515
 
      *)
7516
 
        lt_prog_compiler_pic='-fPIC'
7517
 
        ;;
7518
 
      esac
7519
 
      ;;
7520
 
 
7521
7297
    *)
7522
7298
      lt_prog_compiler_pic='-fPIC'
7523
7299
      ;;
7534
7310
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7535
7311
      fi
7536
7312
      ;;
7537
 
      darwin*)
7538
 
        # PIC is the default on this platform
7539
 
        # Common symbols not allowed in MH_DYLIB files
7540
 
       case $cc_basename in
7541
 
         xlc*)
7542
 
         lt_prog_compiler_pic='-qnocommon'
7543
 
         lt_prog_compiler_wl='-Wl,'
7544
 
         ;;
7545
 
       esac
7546
 
       ;;
7547
7313
 
7548
 
    mingw* | cygwin* | pw32* | os2*)
 
7314
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7549
7315
      # This hack is so that the source file can tell whether it is being
7550
7316
      # built for inclusion in a dll (and should export symbols for example).
7551
7317
      lt_prog_compiler_pic='-DDLL_EXPORT'
7573
7339
      lt_prog_compiler_static='-non_shared'
7574
7340
      ;;
7575
7341
 
7576
 
    newsos6)
7577
 
      lt_prog_compiler_pic='-KPIC'
7578
 
      lt_prog_compiler_static='-Bstatic'
7579
 
      ;;
7580
 
 
7581
 
    linux* | k*bsd*-gnu)
 
7342
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
7582
7343
      case $cc_basename in
7583
 
      icc* | ecc*)
 
7344
      # old Intel for x86_64 which still supported -KPIC.
 
7345
      ecc*)
7584
7346
        lt_prog_compiler_wl='-Wl,'
7585
7347
        lt_prog_compiler_pic='-KPIC'
7586
7348
        lt_prog_compiler_static='-static'
7587
7349
        ;;
 
7350
      # icc used to be incompatible with GCC.
 
7351
      # ICC 10 doesn't accept -KPIC any more.
 
7352
      icc* | ifort*)
 
7353
        lt_prog_compiler_wl='-Wl,'
 
7354
        lt_prog_compiler_pic='-fPIC'
 
7355
        lt_prog_compiler_static='-static'
 
7356
        ;;
 
7357
      # Lahey Fortran 8.1.
 
7358
      lf95*)
 
7359
        lt_prog_compiler_wl='-Wl,'
 
7360
        lt_prog_compiler_pic='--shared'
 
7361
        lt_prog_compiler_static='--static'
 
7362
        ;;
7588
7363
      pgcc* | pgf77* | pgf90* | pgf95*)
7589
7364
        # Portland Group compilers (*not* the Pentium gcc compiler,
7590
7365
        # which looks to be a dead project)
7597
7372
        # All Alpha code is PIC.
7598
7373
        lt_prog_compiler_static='-non_shared'
7599
7374
        ;;
 
7375
      xl*)
 
7376
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
7377
        lt_prog_compiler_wl='-Wl,'
 
7378
        lt_prog_compiler_pic='-qpic'
 
7379
        lt_prog_compiler_static='-qstaticlink'
 
7380
        ;;
7600
7381
      *)
7601
 
        case `$CC -V 2>&1 | sed 5q` in
 
7382
        case `$CC -V 2>&1 | sed 5q` in
7602
7383
        *Sun\ C*)
7603
7384
          # Sun C 5.9
7604
7385
          lt_prog_compiler_pic='-KPIC'
7616
7397
      esac
7617
7398
      ;;
7618
7399
 
 
7400
    newsos6)
 
7401
      lt_prog_compiler_pic='-KPIC'
 
7402
      lt_prog_compiler_static='-Bstatic'
 
7403
      ;;
 
7404
 
 
7405
    *nto* | *qnx*)
 
7406
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7407
      # it will coredump.
 
7408
      lt_prog_compiler_pic='-fPIC -shared'
 
7409
      ;;
 
7410
 
7619
7411
    osf3* | osf4* | osf5*)
7620
7412
      lt_prog_compiler_wl='-Wl,'
7621
7413
      # All OSF/1 code is PIC.
7678
7470
    esac
7679
7471
  fi
7680
7472
 
7681
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7682
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
 
7473
case $host_os in
 
7474
  # For platforms which do not support PIC, -DPIC is meaningless:
 
7475
  *djgpp*)
 
7476
    lt_prog_compiler_pic=
 
7477
    ;;
 
7478
  *)
 
7479
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
7480
    ;;
 
7481
esac
 
7482
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
 
7483
$as_echo "$lt_prog_compiler_pic" >&6; }
 
7484
 
 
7485
 
 
7486
 
 
7487
 
 
7488
 
7683
7489
 
7684
7490
#
7685
7491
# Check to make sure the PIC flag actually works.
7686
7492
#
7687
7493
if test -n "$lt_prog_compiler_pic"; then
7688
 
 
7689
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7690
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7691
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7692
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7494
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7495
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
7496
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
7497
  $as_echo_n "(cached) " >&6
7693
7498
else
7694
7499
  lt_cv_prog_compiler_pic_works=no
7695
 
  ac_outfile=conftest.$ac_objext
 
7500
   ac_outfile=conftest.$ac_objext
7696
7501
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7697
7502
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7698
7503
   # Insert the option either (1) after the last *FLAGS variable, or
7704
7509
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7705
7510
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7706
7511
   -e 's:$: $lt_compiler_flag:'`
7707
 
   (eval echo "\"\$as_me:7707: $lt_compile\"" >&5)
 
7512
   (eval echo "\"\$as_me:7512: $lt_compile\"" >&5)
7708
7513
   (eval "$lt_compile" 2>conftest.err)
7709
7514
   ac_status=$?
7710
7515
   cat conftest.err >&5
7711
 
   echo "$as_me:7711: \$? = $ac_status" >&5
 
7516
   echo "$as_me:7516: \$? = $ac_status" >&5
7712
7517
   if (exit $ac_status) && test -s "$ac_outfile"; then
7713
7518
     # The compiler can only warn and ignore the option if not recognized
7714
7519
     # So say no if there are warnings other than the usual output.
7715
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7520
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7716
7521
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7717
7522
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7718
7523
       lt_cv_prog_compiler_pic_works=yes
7719
7524
     fi
7720
7525
   fi
7721
 
   $rm conftest*
 
7526
   $RM conftest*
7722
7527
 
7723
7528
fi
7724
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7725
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
 
7529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
7530
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7726
7531
 
7727
7532
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7728
7533
    case $lt_prog_compiler_pic in
7735
7540
fi
7736
7541
 
7737
7542
fi
7738
 
case $host_os in
7739
 
  # For platforms which do not support PIC, -DPIC is meaningless:
7740
 
  *djgpp*)
7741
 
    lt_prog_compiler_pic=
7742
 
    ;;
7743
 
  *)
7744
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7745
 
    ;;
7746
 
esac
 
7543
 
 
7544
 
 
7545
 
 
7546
 
 
7547
 
7747
7548
 
7748
7549
#
7749
7550
# Check to make sure the static flag actually works.
7750
7551
#
7751
7552
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7752
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7753
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7754
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7755
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
7554
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
7555
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
7556
  $as_echo_n "(cached) " >&6
7756
7557
else
7757
7558
  lt_cv_prog_compiler_static_works=no
7758
7559
   save_LDFLAGS="$LDFLAGS"
7764
7565
     if test -s conftest.err; then
7765
7566
       # Append any errors to the config.log.
7766
7567
       cat conftest.err 1>&5
7767
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
7568
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7768
7569
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7769
7570
       if diff conftest.exp conftest.er2 >/dev/null; then
7770
7571
         lt_cv_prog_compiler_static_works=yes
7773
7574
       lt_cv_prog_compiler_static_works=yes
7774
7575
     fi
7775
7576
   fi
7776
 
   $rm -r conftest*
 
7577
   $RM -r conftest*
7777
7578
   LDFLAGS="$save_LDFLAGS"
7778
7579
 
7779
7580
fi
7780
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7781
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
 
7581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
7582
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7782
7583
 
7783
7584
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7784
7585
    :
7787
7588
fi
7788
7589
 
7789
7590
 
7790
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7791
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7792
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7793
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7794
 
else
7795
 
  lt_cv_prog_compiler_c_o=no
7796
 
   $rm -r conftest 2>/dev/null
7797
 
   mkdir conftest
7798
 
   cd conftest
7799
 
   mkdir out
7800
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7801
 
 
7802
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7803
 
   # Insert the option either (1) after the last *FLAGS variable, or
7804
 
   # (2) before a word containing "conftest.", or (3) at the end.
7805
 
   # Note that $ac_compile itself does not contain backslashes and begins
7806
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7807
 
   lt_compile=`echo "$ac_compile" | $SED \
7808
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7809
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7810
 
   -e 's:$: $lt_compiler_flag:'`
7811
 
   (eval echo "\"\$as_me:7811: $lt_compile\"" >&5)
7812
 
   (eval "$lt_compile" 2>out/conftest.err)
7813
 
   ac_status=$?
7814
 
   cat out/conftest.err >&5
7815
 
   echo "$as_me:7815: \$? = $ac_status" >&5
7816
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7817
 
   then
7818
 
     # The compiler can only warn and ignore the option if not recognized
7819
 
     # So say no if there are warnings
7820
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7821
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7822
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7823
 
       lt_cv_prog_compiler_c_o=yes
7824
 
     fi
7825
 
   fi
7826
 
   chmod u+w . 2>&5
7827
 
   $rm conftest*
7828
 
   # SGI C++ compiler will create directory out/ii_files/ for
7829
 
   # template instantiation
7830
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7831
 
   $rm out/* && rmdir out
7832
 
   cd ..
7833
 
   rmdir conftest
7834
 
   $rm conftest*
7835
 
 
7836
 
fi
7837
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7838
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
7591
 
 
7592
 
 
7593
 
 
7594
 
 
7595
 
 
7596
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7597
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
7598
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
7599
  $as_echo_n "(cached) " >&6
 
7600
else
 
7601
  lt_cv_prog_compiler_c_o=no
 
7602
   $RM -r conftest 2>/dev/null
 
7603
   mkdir conftest
 
7604
   cd conftest
 
7605
   mkdir out
 
7606
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7607
 
 
7608
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
7609
   # Insert the option either (1) after the last *FLAGS variable, or
 
7610
   # (2) before a word containing "conftest.", or (3) at the end.
 
7611
   # Note that $ac_compile itself does not contain backslashes and begins
 
7612
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
7613
   lt_compile=`echo "$ac_compile" | $SED \
 
7614
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
7615
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
7616
   -e 's:$: $lt_compiler_flag:'`
 
7617
   (eval echo "\"\$as_me:7617: $lt_compile\"" >&5)
 
7618
   (eval "$lt_compile" 2>out/conftest.err)
 
7619
   ac_status=$?
 
7620
   cat out/conftest.err >&5
 
7621
   echo "$as_me:7621: \$? = $ac_status" >&5
 
7622
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
7623
   then
 
7624
     # The compiler can only warn and ignore the option if not recognized
 
7625
     # So say no if there are warnings
 
7626
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
7627
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
7628
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
7629
       lt_cv_prog_compiler_c_o=yes
 
7630
     fi
 
7631
   fi
 
7632
   chmod u+w . 2>&5
 
7633
   $RM conftest*
 
7634
   # SGI C++ compiler will create directory out/ii_files/ for
 
7635
   # template instantiation
 
7636
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
7637
   $RM out/* && rmdir out
 
7638
   cd ..
 
7639
   $RM -r conftest
 
7640
   $RM conftest*
 
7641
 
 
7642
fi
 
7643
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
7644
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
7645
 
 
7646
 
 
7647
 
 
7648
 
 
7649
 
 
7650
 
 
7651
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7652
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
7653
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
7654
  $as_echo_n "(cached) " >&6
 
7655
else
 
7656
  lt_cv_prog_compiler_c_o=no
 
7657
   $RM -r conftest 2>/dev/null
 
7658
   mkdir conftest
 
7659
   cd conftest
 
7660
   mkdir out
 
7661
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7662
 
 
7663
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
7664
   # Insert the option either (1) after the last *FLAGS variable, or
 
7665
   # (2) before a word containing "conftest.", or (3) at the end.
 
7666
   # Note that $ac_compile itself does not contain backslashes and begins
 
7667
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
7668
   lt_compile=`echo "$ac_compile" | $SED \
 
7669
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
7670
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
7671
   -e 's:$: $lt_compiler_flag:'`
 
7672
   (eval echo "\"\$as_me:7672: $lt_compile\"" >&5)
 
7673
   (eval "$lt_compile" 2>out/conftest.err)
 
7674
   ac_status=$?
 
7675
   cat out/conftest.err >&5
 
7676
   echo "$as_me:7676: \$? = $ac_status" >&5
 
7677
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
7678
   then
 
7679
     # The compiler can only warn and ignore the option if not recognized
 
7680
     # So say no if there are warnings
 
7681
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
7682
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
7683
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
7684
       lt_cv_prog_compiler_c_o=yes
 
7685
     fi
 
7686
   fi
 
7687
   chmod u+w . 2>&5
 
7688
   $RM conftest*
 
7689
   # SGI C++ compiler will create directory out/ii_files/ for
 
7690
   # template instantiation
 
7691
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
7692
   $RM out/* && rmdir out
 
7693
   cd ..
 
7694
   $RM -r conftest
 
7695
   $RM conftest*
 
7696
 
 
7697
fi
 
7698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
7699
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
7700
 
 
7701
 
7839
7702
 
7840
7703
 
7841
7704
hard_links="nottested"
7842
7705
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7843
7706
  # do not overwrite the value of need_locks provided by the user
7844
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7845
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
7707
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
7708
$as_echo_n "checking if we can lock with hard links... " >&6; }
7846
7709
  hard_links=yes
7847
 
  $rm conftest*
 
7710
  $RM conftest*
7848
7711
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7849
7712
  touch conftest.a
7850
7713
  ln conftest.a conftest.b 2>&5 || hard_links=no
7851
7714
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7852
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
7853
 
echo "${ECHO_T}$hard_links" >&6; }
 
7715
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
7716
$as_echo "$hard_links" >&6; }
7854
7717
  if test "$hard_links" = no; then
7855
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7856
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
7718
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
7719
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7857
7720
    need_locks=warn
7858
7721
  fi
7859
7722
else
7860
7723
  need_locks=no
7861
7724
fi
7862
7725
 
7863
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7864
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
7726
 
 
7727
 
 
7728
 
 
7729
 
 
7730
 
 
7731
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
7732
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7865
7733
 
7866
7734
  runpath_var=
7867
7735
  allow_undefined_flag=
7868
 
  enable_shared_with_static_runtimes=no
 
7736
  always_export_symbols=no
7869
7737
  archive_cmds=
7870
7738
  archive_expsym_cmds=
7871
 
  old_archive_From_new_cmds=
7872
 
  old_archive_from_expsyms_cmds=
 
7739
  compiler_needs_object=no
 
7740
  enable_shared_with_static_runtimes=no
7873
7741
  export_dynamic_flag_spec=
7874
 
  whole_archive_flag_spec=
7875
 
  thread_safe_flag_spec=
 
7742
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
7743
  hardcode_automatic=no
 
7744
  hardcode_direct=no
 
7745
  hardcode_direct_absolute=no
7876
7746
  hardcode_libdir_flag_spec=
7877
7747
  hardcode_libdir_flag_spec_ld=
7878
7748
  hardcode_libdir_separator=
7879
 
  hardcode_direct=no
7880
7749
  hardcode_minus_L=no
7881
7750
  hardcode_shlibpath_var=unsupported
 
7751
  inherit_rpath=no
7882
7752
  link_all_deplibs=unknown
7883
 
  hardcode_automatic=no
7884
7753
  module_cmds=
7885
7754
  module_expsym_cmds=
7886
 
  always_export_symbols=no
7887
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
7755
  old_archive_from_new_cmds=
 
7756
  old_archive_from_expsyms_cmds=
 
7757
  thread_safe_flag_spec=
 
7758
  whole_archive_flag_spec=
7888
7759
  # include_expsyms should be a list of space-separated symbols to be *always*
7889
7760
  # included in the symbol list
7890
7761
  include_expsyms=
7900
7771
  # preloaded symbol tables.
7901
7772
  # Exclude shared library initialization/finalization symbols.
7902
7773
  extract_expsyms_cmds=
7903
 
  # Just being paranoid about ensuring that cc_basename is set.
7904
 
  for cc_temp in $compiler""; do
7905
 
  case $cc_temp in
7906
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7907
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7908
 
    \-*) ;;
7909
 
    *) break;;
7910
 
  esac
7911
 
done
7912
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7913
7774
 
7914
7775
  case $host_os in
7915
 
  cygwin* | mingw* | pw32*)
 
7776
  cygwin* | mingw* | pw32* | cegcc*)
7916
7777
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
7917
7778
    # When not using gcc, we currently assume that we are using
7918
7779
    # Microsoft Visual C++.
7927
7788
  openbsd*)
7928
7789
    with_gnu_ld=no
7929
7790
    ;;
 
7791
  linux* | k*bsd*-gnu)
 
7792
    link_all_deplibs=no
 
7793
    ;;
7930
7794
  esac
7931
7795
 
7932
7796
  ld_shlibs=yes
7938
7802
    # are reset later if shared libraries are not supported. Putting them
7939
7803
    # here allows them to be overridden if necessary.
7940
7804
    runpath_var=LD_RUN_PATH
7941
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
7805
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7942
7806
    export_dynamic_flag_spec='${wl}--export-dynamic'
7943
7807
    # ancient GNU ld didn't support --whole-archive et. al.
7944
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7945
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7946
 
      else
7947
 
        whole_archive_flag_spec=
 
7808
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
7809
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
7810
    else
 
7811
      whole_archive_flag_spec=
7948
7812
    fi
7949
7813
    supports_anon_versioning=no
7950
 
    case `$LD -v 2>/dev/null` in
 
7814
    case `$LD -v 2>&1` in
 
7815
      *GNU\ gold*) supports_anon_versioning=yes ;;
7951
7816
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7952
7817
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7953
7818
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7961
7826
      # On AIX/PPC, the GNU linker is very broken
7962
7827
      if test "$host_cpu" != ia64; then
7963
7828
        ld_shlibs=no
7964
 
        cat <<EOF 1>&2
 
7829
        cat <<_LT_EOF 1>&2
7965
7830
 
7966
7831
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7967
7832
*** to be unable to reliably create shared libraries on AIX.
7969
7834
*** really care for shared libraries, you may want to modify your PATH
7970
7835
*** so that a non-GNU linker is found, and then restart.
7971
7836
 
7972
 
EOF
 
7837
_LT_EOF
7973
7838
      fi
7974
7839
      ;;
7975
7840
 
7976
7841
    amigaos*)
7977
 
      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)'
7978
 
      hardcode_libdir_flag_spec='-L$libdir'
7979
 
      hardcode_minus_L=yes
7980
 
 
7981
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7982
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
7983
 
      # to version 4, is to share data among multiple programs linked
7984
 
      # with the same dynamic library.  Since this doesn't match the
7985
 
      # behavior of shared libraries on other platforms, we can't use
7986
 
      # them.
7987
 
      ld_shlibs=no
 
7842
      case $host_cpu in
 
7843
      powerpc)
 
7844
            # see comment about AmigaOS4 .so support
 
7845
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
7846
            archive_expsym_cmds=''
 
7847
        ;;
 
7848
      m68k)
 
7849
            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)'
 
7850
            hardcode_libdir_flag_spec='-L$libdir'
 
7851
            hardcode_minus_L=yes
 
7852
        ;;
 
7853
      esac
7988
7854
      ;;
7989
7855
 
7990
7856
    beos*)
7991
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
7857
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7992
7858
        allow_undefined_flag=unsupported
7993
7859
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7994
7860
        # support --undefined.  This deserves some investigation.  FIXME
7998
7864
      fi
7999
7865
      ;;
8000
7866
 
8001
 
    cygwin* | mingw* | pw32*)
8002
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
7867
    cygwin* | mingw* | pw32* | cegcc*)
 
7868
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8003
7869
      # as there is no search path for DLLs.
8004
7870
      hardcode_libdir_flag_spec='-L$libdir'
8005
7871
      allow_undefined_flag=unsupported
8006
7872
      always_export_symbols=no
8007
7873
      enable_shared_with_static_runtimes=yes
8008
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
7874
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8009
7875
 
8010
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
7876
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8011
7877
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8012
7878
        # If the export-symbols file already is a .def file (1st line
8013
7879
        # is EXPORTS), use it as is; otherwise, prepend...
8038
7904
      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'
8039
7905
      ;;
8040
7906
 
8041
 
    gnu* | linux* | k*bsd*-gnu)
8042
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
7907
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
7908
      tmp_diet=no
 
7909
      if test "$host_os" = linux-dietlibc; then
 
7910
        case $cc_basename in
 
7911
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
7912
        esac
 
7913
      fi
 
7914
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
7915
         && test "$tmp_diet" = no
 
7916
      then
8043
7917
        tmp_addflag=
 
7918
        tmp_sharedflag='-shared'
8044
7919
        case $cc_basename,$host_cpu in
8045
 
        pgcc*)                          # Portland Group C compiler
8046
 
          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'
 
7920
        pgcc*)                          # Portland Group C compiler
 
7921
          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'
8047
7922
          tmp_addflag=' $pic_flag'
8048
7923
          ;;
8049
7924
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8050
 
          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'
 
7925
          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'
8051
7926
          tmp_addflag=' $pic_flag -Mnomain' ;;
8052
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
7927
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8053
7928
          tmp_addflag=' -i_dynamic' ;;
8054
7929
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8055
7930
          tmp_addflag=' -i_dynamic -nofor_main' ;;
8056
7931
        ifc* | ifort*)                  # Intel Fortran compiler
8057
7932
          tmp_addflag=' -nofor_main' ;;
 
7933
        lf95*)                          # Lahey Fortran 8.1
 
7934
          whole_archive_flag_spec=
 
7935
          tmp_sharedflag='--shared' ;;
 
7936
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
7937
          tmp_sharedflag='-qmkshrobj'
 
7938
          tmp_addflag= ;;
8058
7939
        esac
8059
7940
        case `$CC -V 2>&1 | sed 5q` in
8060
7941
        *Sun\ C*)                       # Sun C 5.9
8061
 
          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'
 
7942
          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'
 
7943
          compiler_needs_object=yes
8062
7944
          tmp_sharedflag='-G' ;;
8063
7945
        *Sun\ F*)                       # Sun Fortran 8.3
8064
7946
          tmp_sharedflag='-G' ;;
8065
 
        *)
8066
 
          tmp_sharedflag='-shared' ;;
8067
7947
        esac
8068
7948
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8069
7949
 
8070
 
        if test $supports_anon_versioning = yes; then
8071
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8072
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8073
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
8074
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8075
 
        fi
8076
 
        link_all_deplibs=no
 
7950
        if test "x$supports_anon_versioning" = xyes; then
 
7951
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
7952
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
7953
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
7954
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
7955
        fi
 
7956
 
 
7957
        case $cc_basename in
 
7958
        xlf*)
 
7959
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
7960
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
7961
          hardcode_libdir_flag_spec=
 
7962
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
7963
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
7964
          if test "x$supports_anon_versioning" = xyes; then
 
7965
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
7966
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
7967
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
7968
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
7969
          fi
 
7970
          ;;
 
7971
        esac
8077
7972
      else
8078
 
        ld_shlibs=no
 
7973
        ld_shlibs=no
8079
7974
      fi
8080
7975
      ;;
8081
7976
 
8082
7977
    netbsd* | netbsdelf*-gnu)
8083
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
7978
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8084
7979
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8085
7980
        wlarc=
8086
7981
      else
8090
7985
      ;;
8091
7986
 
8092
7987
    solaris*)
8093
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
7988
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8094
7989
        ld_shlibs=no
8095
 
        cat <<EOF 1>&2
 
7990
        cat <<_LT_EOF 1>&2
8096
7991
 
8097
7992
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8098
7993
*** create shared libraries on Solaris systems.  Therefore, libtool
8101
7996
*** your PATH or compiler configuration so that the native linker is
8102
7997
*** used, and then restart.
8103
7998
 
8104
 
EOF
8105
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
7999
_LT_EOF
 
8000
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8106
8001
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8107
8002
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8108
8003
      else
8126
8021
_LT_EOF
8127
8022
        ;;
8128
8023
        *)
8129
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8130
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8131
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8132
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
8024
          # For security reasons, it is highly recommended that you always
 
8025
          # use absolute paths for naming shared libraries, and exclude the
 
8026
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
8027
          # requires that you compile everything twice, which is a pain.
 
8028
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8029
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8030
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8031
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8133
8032
          else
8134
8033
            ld_shlibs=no
8135
8034
          fi
8145
8044
      ;;
8146
8045
 
8147
8046
    *)
8148
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8047
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8149
8048
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8150
8049
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8151
8050
      else
8187
8086
      else
8188
8087
        # If we're using GNU nm, then we don't want the "-C" option.
8189
8088
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
8190
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8191
 
          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'
 
8089
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
8090
          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'
8192
8091
        else
8193
 
          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'
 
8092
          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'
8194
8093
        fi
8195
8094
        aix_use_runtimelinking=no
8196
8095
 
8199
8098
        # need to do runtime linking.
8200
8099
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8201
8100
          for ld_flag in $LDFLAGS; do
8202
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8203
 
            aix_use_runtimelinking=yes
8204
 
            break
8205
 
          fi
 
8101
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
8102
            aix_use_runtimelinking=yes
 
8103
            break
 
8104
          fi
8206
8105
          done
8207
8106
          ;;
8208
8107
        esac
8219
8118
 
8220
8119
      archive_cmds=''
8221
8120
      hardcode_direct=yes
 
8121
      hardcode_direct_absolute=yes
8222
8122
      hardcode_libdir_separator=':'
8223
8123
      link_all_deplibs=yes
 
8124
      file_list_spec='${wl}-f,'
8224
8125
 
8225
8126
      if test "$GCC" = yes; then
8226
8127
        case $host_os in aix4.[012]|aix4.[012].*)
8227
8128
        # We only want to do this on AIX 4.2 and lower, the check
8228
8129
        # below for broken collect2 doesn't work under 4.3+
8229
8130
          collect2name=`${CC} -print-prog-name=collect2`
8230
 
          if test -f "$collect2name" && \
8231
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
8131
          if test -f "$collect2name" &&
 
8132
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8232
8133
          then
8233
 
          # We have reworked collect2
8234
 
          :
 
8134
          # We have reworked collect2
 
8135
          :
8235
8136
          else
8236
 
          # We have old collect2
8237
 
          hardcode_direct=unsupported
8238
 
          # It fails to find uninstalled libraries when the uninstalled
8239
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
8240
 
          # to unsupported forces relinking
8241
 
          hardcode_minus_L=yes
8242
 
          hardcode_libdir_flag_spec='-L$libdir'
8243
 
          hardcode_libdir_separator=
 
8137
          # We have old collect2
 
8138
          hardcode_direct=unsupported
 
8139
          # It fails to find uninstalled libraries when the uninstalled
 
8140
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
8141
          # to unsupported forces relinking
 
8142
          hardcode_minus_L=yes
 
8143
          hardcode_libdir_flag_spec='-L$libdir'
 
8144
          hardcode_libdir_separator=
8244
8145
          fi
8245
8146
          ;;
8246
8147
        esac
8248
8149
        if test "$aix_use_runtimelinking" = yes; then
8249
8150
          shared_flag="$shared_flag "'${wl}-G'
8250
8151
        fi
 
8152
        link_all_deplibs=no
8251
8153
      else
8252
8154
        # not using gcc
8253
8155
        if test "$host_cpu" = ia64; then
8254
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8255
 
        # chokes on -Wl,-G. The following line is correct:
 
8156
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
8157
        # chokes on -Wl,-G. The following line is correct:
8256
8158
          shared_flag='-G'
8257
8159
        else
8258
8160
          if test "$aix_use_runtimelinking" = yes; then
8263
8165
        fi
8264
8166
      fi
8265
8167
 
 
8168
      export_dynamic_flag_spec='${wl}-bexpall'
8266
8169
      # It seems that -bexpall does not export symbols beginning with
8267
8170
      # underscore (_), so it is better to generate a list of symbols to export.
8268
8171
      always_export_symbols=yes
8270
8173
        # Warning - without using the other runtime loading flags (-brtl),
8271
8174
        # -berok will link without error, but may produce a broken library.
8272
8175
        allow_undefined_flag='-berok'
8273
 
       # Determine the default libpath from the value encoded in an empty executable.
8274
 
       cat >conftest.$ac_ext <<_ACEOF
8275
 
/* confdefs.h.  */
8276
 
_ACEOF
8277
 
cat confdefs.h >>conftest.$ac_ext
8278
 
cat >>conftest.$ac_ext <<_ACEOF
 
8176
        # Determine the default libpath from the value encoded in an
 
8177
        # empty executable.
 
8178
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8279
8179
/* end confdefs.h.  */
8280
8180
 
8281
8181
int
8286
8186
  return 0;
8287
8187
}
8288
8188
_ACEOF
8289
 
rm -f conftest.$ac_objext conftest$ac_exeext
8290
 
if { (ac_try="$ac_link"
8291
 
case "(($ac_try" in
8292
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8293
 
  *) ac_try_echo=$ac_try;;
8294
 
esac
8295
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8296
 
  (eval "$ac_link") 2>conftest.er1
8297
 
  ac_status=$?
8298
 
  grep -v '^ *+' conftest.er1 >conftest.err
8299
 
  rm -f conftest.er1
8300
 
  cat conftest.err >&5
8301
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8302
 
  (exit $ac_status); } && {
8303
 
         test -z "$ac_c_werror_flag" ||
8304
 
         test ! -s conftest.err
8305
 
       } && test -s conftest$ac_exeext &&
8306
 
       $as_test_x conftest$ac_exeext; then
 
8189
if ac_fn_c_try_link "$LINENO"; then :
8307
8190
 
8308
8191
lt_aix_libpath_sed='
8309
8192
    /Import File Strings/,/^$/ {
8317
8200
if test -z "$aix_libpath"; then
8318
8201
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8319
8202
fi
8320
 
else
8321
 
  echo "$as_me: failed program was:" >&5
8322
 
sed 's/^/| /' conftest.$ac_ext >&5
8323
 
 
8324
 
 
8325
8203
fi
8326
 
 
8327
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8328
 
      conftest$ac_exeext conftest.$ac_ext
 
8204
rm -f core conftest.err conftest.$ac_objext \
 
8205
    conftest$ac_exeext conftest.$ac_ext
8329
8206
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8330
8207
 
8331
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8332
 
        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"
8333
 
       else
 
8208
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
8209
        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"
 
8210
      else
8334
8211
        if test "$host_cpu" = ia64; then
8335
8212
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8336
8213
          allow_undefined_flag="-z nodefs"
8337
8214
          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"
8338
8215
        else
8339
 
         # Determine the default libpath from the value encoded in an empty executable.
8340
 
         cat >conftest.$ac_ext <<_ACEOF
8341
 
/* confdefs.h.  */
8342
 
_ACEOF
8343
 
cat confdefs.h >>conftest.$ac_ext
8344
 
cat >>conftest.$ac_ext <<_ACEOF
 
8216
         # Determine the default libpath from the value encoded in an
 
8217
         # empty executable.
 
8218
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8345
8219
/* end confdefs.h.  */
8346
8220
 
8347
8221
int
8352
8226
  return 0;
8353
8227
}
8354
8228
_ACEOF
8355
 
rm -f conftest.$ac_objext conftest$ac_exeext
8356
 
if { (ac_try="$ac_link"
8357
 
case "(($ac_try" in
8358
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8359
 
  *) ac_try_echo=$ac_try;;
8360
 
esac
8361
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8362
 
  (eval "$ac_link") 2>conftest.er1
8363
 
  ac_status=$?
8364
 
  grep -v '^ *+' conftest.er1 >conftest.err
8365
 
  rm -f conftest.er1
8366
 
  cat conftest.err >&5
8367
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8368
 
  (exit $ac_status); } && {
8369
 
         test -z "$ac_c_werror_flag" ||
8370
 
         test ! -s conftest.err
8371
 
       } && test -s conftest$ac_exeext &&
8372
 
       $as_test_x conftest$ac_exeext; then
 
8229
if ac_fn_c_try_link "$LINENO"; then :
8373
8230
 
8374
8231
lt_aix_libpath_sed='
8375
8232
    /Import File Strings/,/^$/ {
8383
8240
if test -z "$aix_libpath"; then
8384
8241
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8385
8242
fi
8386
 
else
8387
 
  echo "$as_me: failed program was:" >&5
8388
 
sed 's/^/| /' conftest.$ac_ext >&5
8389
 
 
8390
 
 
8391
8243
fi
8392
 
 
8393
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8394
 
      conftest$ac_exeext conftest.$ac_ext
 
8244
rm -f core conftest.err conftest.$ac_objext \
 
8245
    conftest$ac_exeext conftest.$ac_ext
8395
8246
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8396
8247
 
8397
8248
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8409
8260
      ;;
8410
8261
 
8411
8262
    amigaos*)
8412
 
      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)'
8413
 
      hardcode_libdir_flag_spec='-L$libdir'
8414
 
      hardcode_minus_L=yes
8415
 
      # see comment about different semantics on the GNU ld section
8416
 
      ld_shlibs=no
 
8263
      case $host_cpu in
 
8264
      powerpc)
 
8265
            # see comment about AmigaOS4 .so support
 
8266
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8267
            archive_expsym_cmds=''
 
8268
        ;;
 
8269
      m68k)
 
8270
            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)'
 
8271
            hardcode_libdir_flag_spec='-L$libdir'
 
8272
            hardcode_minus_L=yes
 
8273
        ;;
 
8274
      esac
8417
8275
      ;;
8418
8276
 
8419
8277
    bsdi[45]*)
8420
8278
      export_dynamic_flag_spec=-rdynamic
8421
8279
      ;;
8422
8280
 
8423
 
    cygwin* | mingw* | pw32*)
 
8281
    cygwin* | mingw* | pw32* | cegcc*)
8424
8282
      # When not using gcc, we currently assume that we are using
8425
8283
      # Microsoft Visual C++.
8426
8284
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8432
8290
      # Tell ltmain to make .dll files, not .so files.
8433
8291
      shrext_cmds=".dll"
8434
8292
      # FIXME: Setting linknames here is a bad hack.
8435
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
8293
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8436
8294
      # The linker will automatically build a .lib file if we build a DLL.
8437
 
      old_archive_From_new_cmds='true'
 
8295
      old_archive_from_new_cmds='true'
8438
8296
      # FIXME: Should let the user specify the lib program.
8439
8297
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8440
8298
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8442
8300
      ;;
8443
8301
 
8444
8302
    darwin* | rhapsody*)
8445
 
      case $host_os in
8446
 
        rhapsody* | darwin1.[012])
8447
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8448
 
         ;;
8449
 
       *) # Darwin 1.3 on
8450
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8451
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8452
 
         else
8453
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
8454
 
             10.[012])
8455
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8456
 
               ;;
8457
 
             10.*)
8458
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8459
 
               ;;
8460
 
           esac
8461
 
         fi
8462
 
         ;;
8463
 
      esac
8464
 
      archive_cmds_need_lc=no
8465
 
      hardcode_direct=no
8466
 
      hardcode_automatic=yes
8467
 
      hardcode_shlibpath_var=unsupported
8468
 
      whole_archive_flag_spec=''
8469
 
      link_all_deplibs=yes
8470
 
    if test "$GCC" = yes ; then
8471
 
        output_verbose_link_cmd='echo'
8472
 
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8473
 
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8474
 
        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}"
8475
 
        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}"
8476
 
    else
8477
 
      case $cc_basename in
8478
 
        xlc*)
8479
 
         output_verbose_link_cmd='echo'
8480
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8481
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8482
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8483
 
         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}'
8484
 
          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}'
8485
 
          ;;
8486
 
       *)
8487
 
         ld_shlibs=no
8488
 
          ;;
8489
 
      esac
8490
 
    fi
 
8303
 
 
8304
 
 
8305
  archive_cmds_need_lc=no
 
8306
  hardcode_direct=no
 
8307
  hardcode_automatic=yes
 
8308
  hardcode_shlibpath_var=unsupported
 
8309
  whole_archive_flag_spec=''
 
8310
  link_all_deplibs=yes
 
8311
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
8312
  case $cc_basename in
 
8313
     ifort*) _lt_dar_can_shared=yes ;;
 
8314
     *) _lt_dar_can_shared=$GCC ;;
 
8315
  esac
 
8316
  if test "$_lt_dar_can_shared" = "yes"; then
 
8317
    output_verbose_link_cmd=echo
 
8318
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
8319
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
8320
    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}"
 
8321
    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}"
 
8322
 
 
8323
  else
 
8324
  ld_shlibs=no
 
8325
  fi
 
8326
 
8491
8327
      ;;
8492
8328
 
8493
8329
    dgux*)
8529
8365
 
8530
8366
    hpux9*)
8531
8367
      if test "$GCC" = yes; then
8532
 
        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'
 
8368
        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'
8533
8369
      else
8534
 
        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'
 
8370
        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'
8535
8371
      fi
8536
8372
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8537
8373
      hardcode_libdir_separator=:
8551
8387
      fi
8552
8388
      if test "$with_gnu_ld" = no; then
8553
8389
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8390
        hardcode_libdir_flag_spec_ld='+b $libdir'
8554
8391
        hardcode_libdir_separator=:
8555
 
 
8556
8392
        hardcode_direct=yes
 
8393
        hardcode_direct_absolute=yes
8557
8394
        export_dynamic_flag_spec='${wl}-E'
8558
 
 
8559
8395
        # hardcode_minus_L: Not really in the search PATH,
8560
8396
        # but as the default location of the library.
8561
8397
        hardcode_minus_L=yes
8569
8405
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8570
8406
          ;;
8571
8407
        ia64*)
8572
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
8408
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8573
8409
          ;;
8574
8410
        *)
8575
8411
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8594
8430
 
8595
8431
        case $host_cpu in
8596
8432
        hppa*64*|ia64*)
8597
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
8598
8433
          hardcode_direct=no
8599
8434
          hardcode_shlibpath_var=no
8600
8435
          ;;
8601
8436
        *)
8602
8437
          hardcode_direct=yes
 
8438
          hardcode_direct_absolute=yes
8603
8439
          export_dynamic_flag_spec='${wl}-E'
8604
8440
 
8605
8441
          # hardcode_minus_L: Not really in the search PATH,
8612
8448
 
8613
8449
    irix5* | irix6* | nonstopux*)
8614
8450
      if test "$GCC" = yes; then
8615
 
        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'
 
8451
        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'
 
8452
        # Try to use the -exported_symbol ld option, if it does not
 
8453
        # work, assume that -exports_file does not work either and
 
8454
        # implicitly export all symbols.
 
8455
        save_LDFLAGS="$LDFLAGS"
 
8456
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
8457
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8458
/* end confdefs.h.  */
 
8459
int foo(void) {}
 
8460
_ACEOF
 
8461
if ac_fn_c_try_link "$LINENO"; then :
 
8462
  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'
 
8463
 
 
8464
fi
 
8465
rm -f core conftest.err conftest.$ac_objext \
 
8466
    conftest$ac_exeext conftest.$ac_ext
 
8467
        LDFLAGS="$save_LDFLAGS"
8616
8468
      else
8617
 
        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'
8618
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
8469
        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'
 
8470
        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'
8619
8471
      fi
 
8472
      archive_cmds_need_lc='no'
8620
8473
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8621
8474
      hardcode_libdir_separator=:
 
8475
      inherit_rpath=yes
8622
8476
      link_all_deplibs=yes
8623
8477
      ;;
8624
8478
 
8625
8479
    netbsd* | netbsdelf*-gnu)
8626
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
8480
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8627
8481
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8628
8482
      else
8629
8483
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8641
8495
      hardcode_shlibpath_var=no
8642
8496
      ;;
8643
8497
 
 
8498
    *nto* | *qnx*)
 
8499
      ;;
 
8500
 
8644
8501
    openbsd*)
8645
8502
      if test -f /usr/libexec/ld.so; then
8646
8503
        hardcode_direct=yes
8647
8504
        hardcode_shlibpath_var=no
8648
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
8505
        hardcode_direct_absolute=yes
 
8506
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8649
8507
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8650
8508
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8651
8509
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8661
8519
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8662
8520
             ;;
8663
8521
          esac
8664
 
        fi
 
8522
        fi
8665
8523
      else
8666
8524
        ld_shlibs=no
8667
8525
      fi
8671
8529
      hardcode_libdir_flag_spec='-L$libdir'
8672
8530
      hardcode_minus_L=yes
8673
8531
      allow_undefined_flag=unsupported
8674
 
      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'
8675
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
8532
      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'
 
8533
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8676
8534
      ;;
8677
8535
 
8678
8536
    osf3*)
8679
8537
      if test "$GCC" = yes; then
8680
8538
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8681
 
        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'
 
8539
        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'
8682
8540
      else
8683
8541
        allow_undefined_flag=' -expect_unresolved \*'
8684
 
        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'
 
8542
        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'
8685
8543
      fi
 
8544
      archive_cmds_need_lc='no'
8686
8545
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8687
8546
      hardcode_libdir_separator=:
8688
8547
      ;;
8690
8549
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8691
8550
      if test "$GCC" = yes; then
8692
8551
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8693
 
        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'
 
8552
        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'
8694
8553
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8695
8554
      else
8696
8555
        allow_undefined_flag=' -expect_unresolved \*'
8697
 
        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'
8698
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8699
 
        $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'
 
8556
        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'
 
8557
        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~
 
8558
        $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'
8700
8559
 
8701
8560
        # Both c and cxx compiler support -rpath directly
8702
8561
        hardcode_libdir_flag_spec='-rpath $libdir'
8703
8562
      fi
 
8563
      archive_cmds_need_lc='no'
8704
8564
      hardcode_libdir_separator=:
8705
8565
      ;;
8706
8566
 
8707
8567
    solaris*)
8708
 
      no_undefined_flag=' -z text'
 
8568
      no_undefined_flag=' -z defs'
8709
8569
      if test "$GCC" = yes; then
8710
8570
        wlarc='${wl}'
8711
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8712
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8713
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
8571
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8572
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
8573
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8714
8574
      else
8715
 
        wlarc=''
8716
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8717
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8718
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
8575
        case `$CC -V 2>&1` in
 
8576
        *"Compilers 5.0"*)
 
8577
          wlarc=''
 
8578
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8579
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
8580
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
8581
          ;;
 
8582
        *)
 
8583
          wlarc='${wl}'
 
8584
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
8585
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
8586
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
8587
          ;;
 
8588
        esac
8719
8589
      fi
8720
8590
      hardcode_libdir_flag_spec='-R$libdir'
8721
8591
      hardcode_shlibpath_var=no
8725
8595
        # The compiler driver will combine and reorder linker options,
8726
8596
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
8727
8597
        # but is careful enough not to reorder.
8728
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
8598
        # Supported since Solaris 2.6 (maybe 2.5.1?)
8729
8599
        if test "$GCC" = yes; then
8730
8600
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8731
8601
        else
8814
8684
      allow_undefined_flag='${wl}-z,nodefs'
8815
8685
      archive_cmds_need_lc=no
8816
8686
      hardcode_shlibpath_var=no
8817
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
8687
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
8818
8688
      hardcode_libdir_separator=':'
8819
8689
      link_all_deplibs=yes
8820
8690
      export_dynamic_flag_spec='${wl}-Bexport'
8821
8691
      runpath_var='LD_RUN_PATH'
8822
8692
 
8823
8693
      if test "$GCC" = yes; then
8824
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8825
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8694
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8695
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8826
8696
      else
8827
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8828
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8697
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8698
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8829
8699
      fi
8830
8700
      ;;
8831
8701
 
8839
8709
      ld_shlibs=no
8840
8710
      ;;
8841
8711
    esac
 
8712
 
 
8713
    if test x$host_vendor = xsni; then
 
8714
      case $host in
 
8715
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
8716
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
8717
        ;;
 
8718
      esac
 
8719
    fi
8842
8720
  fi
8843
8721
 
8844
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8845
 
echo "${ECHO_T}$ld_shlibs" >&6; }
 
8722
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
8723
$as_echo "$ld_shlibs" >&6; }
8846
8724
test "$ld_shlibs" = no && can_build_shared=no
8847
8725
 
 
8726
with_gnu_ld=$with_gnu_ld
 
8727
 
 
8728
 
 
8729
 
 
8730
 
 
8731
 
 
8732
 
 
8733
 
 
8734
 
 
8735
 
 
8736
 
 
8737
 
 
8738
 
 
8739
 
 
8740
 
 
8741
 
8848
8742
#
8849
8743
# Do we need to explicitly link libc?
8850
8744
#
8862
8756
      # Test whether the compiler implicitly links with -lc since on some
8863
8757
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8864
8758
      # to ld, don't add -lc before -lgcc.
8865
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8866
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8867
 
      $rm conftest*
 
8759
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
8760
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
8761
      $RM conftest*
8868
8762
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8869
8763
 
8870
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
8764
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8871
8765
  (eval $ac_compile) 2>&5
8872
8766
  ac_status=$?
8873
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874
 
  (exit $ac_status); } 2>conftest.err; then
 
8767
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8768
  test $ac_status = 0; } 2>conftest.err; then
8875
8769
        soname=conftest
8876
8770
        lib=conftest
8877
8771
        libobjs=conftest.$ac_objext
8885
8779
        libname=conftest
8886
8780
        lt_save_allow_undefined_flag=$allow_undefined_flag
8887
8781
        allow_undefined_flag=
8888
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8889
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
8782
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
8783
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8890
8784
  ac_status=$?
8891
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892
 
  (exit $ac_status); }
 
8785
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8786
  test $ac_status = 0; }
8893
8787
        then
8894
8788
          archive_cmds_need_lc=no
8895
8789
        else
8899
8793
      else
8900
8794
        cat conftest.err 1>&5
8901
8795
      fi
8902
 
      $rm conftest*
8903
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8904
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
 
8796
      $RM conftest*
 
8797
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
 
8798
$as_echo "$archive_cmds_need_lc" >&6; }
8905
8799
      ;;
8906
8800
    esac
8907
8801
  fi
8908
8802
  ;;
8909
8803
esac
8910
8804
 
8911
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8912
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8913
 
library_names_spec=
8914
 
libname_spec='lib$name'
8915
 
soname_spec=
8916
 
shrext_cmds=".so"
8917
 
postinstall_cmds=
8918
 
postuninstall_cmds=
8919
 
finish_cmds=
8920
 
finish_eval=
8921
 
shlibpath_var=
8922
 
shlibpath_overrides_runpath=unknown
8923
 
version_type=none
8924
 
dynamic_linker="$host_os ld.so"
8925
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
8805
 
 
8806
 
 
8807
 
 
8808
 
 
8809
 
 
8810
 
 
8811
 
 
8812
 
 
8813
 
 
8814
 
 
8815
 
 
8816
 
 
8817
 
 
8818
 
 
8819
 
 
8820
 
 
8821
 
 
8822
 
 
8823
 
 
8824
 
 
8825
 
 
8826
 
 
8827
 
 
8828
 
 
8829
 
 
8830
 
 
8831
 
 
8832
 
 
8833
 
 
8834
 
 
8835
 
 
8836
 
 
8837
 
 
8838
 
 
8839
 
 
8840
 
 
8841
 
 
8842
 
 
8843
 
 
8844
 
 
8845
 
 
8846
 
 
8847
 
 
8848
 
 
8849
 
 
8850
 
 
8851
 
 
8852
 
 
8853
 
 
8854
 
 
8855
 
 
8856
 
 
8857
 
 
8858
 
 
8859
 
 
8860
 
 
8861
 
 
8862
 
 
8863
 
 
8864
 
 
8865
 
 
8866
 
 
8867
 
 
8868
 
 
8869
 
 
8870
 
 
8871
 
 
8872
 
 
8873
 
 
8874
 
 
8875
 
 
8876
 
 
8877
 
 
8878
 
 
8879
 
 
8880
 
 
8881
 
 
8882
 
 
8883
 
 
8884
 
 
8885
 
 
8886
 
 
8887
 
 
8888
 
 
8889
 
 
8890
 
 
8891
 
 
8892
 
 
8893
 
 
8894
 
 
8895
 
 
8896
 
 
8897
 
 
8898
 
 
8899
 
 
8900
 
 
8901
 
 
8902
 
 
8903
 
 
8904
 
 
8905
 
 
8906
 
 
8907
 
 
8908
 
 
8909
 
 
8910
 
 
8911
 
 
8912
 
 
8913
 
 
8914
 
 
8915
 
 
8916
 
 
8917
 
 
8918
 
 
8919
 
 
8920
 
 
8921
 
 
8922
 
 
8923
 
 
8924
 
 
8925
 
 
8926
 
 
8927
 
 
8928
 
 
8929
 
 
8930
 
 
8931
 
 
8932
 
 
8933
 
 
8934
 
 
8935
 
 
8936
 
 
8937
 
 
8938
 
 
8939
 
 
8940
 
 
8941
 
 
8942
 
 
8943
 
 
8944
 
 
8945
 
 
8946
 
 
8947
 
 
8948
 
 
8949
 
 
8950
 
 
8951
 
 
8952
 
 
8953
 
 
8954
 
 
8955
 
 
8956
 
 
8957
 
 
8958
 
 
8959
 
 
8960
 
 
8961
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
8962
$as_echo_n "checking dynamic linker characteristics... " >&6; }
8926
8963
 
8927
8964
if test "$GCC" = yes; then
8928
8965
  case $host_os in
8930
8967
    *) lt_awk_arg="/^libraries:/" ;;
8931
8968
  esac
8932
8969
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8933
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
8970
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8934
8971
    # if the path contains ";" then we assume it to be the separator
8935
8972
    # otherwise default to the standard path separator (i.e. ":") - it is
8936
8973
    # assumed that no part of a normal pathname contains ";" but that should
8937
8974
    # okay in the real world where ";" in dirpaths is itself problematic.
8938
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
8975
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8939
8976
  else
8940
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
8977
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8941
8978
  fi
8942
8979
  # Ok, now we have the path, separated by spaces, we can step through it
8943
8980
  # and add multilib dir if necessary.
8951
8988
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8952
8989
    fi
8953
8990
  done
8954
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
8991
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8955
8992
BEGIN {RS=" "; FS="/|\n";} {
8956
8993
  lt_foo="";
8957
8994
  lt_count=0;
8971
9008
  if (lt_foo != "") { lt_freq[lt_foo]++; }
8972
9009
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
8973
9010
}'`
8974
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
9011
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8975
9012
else
8976
9013
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8977
9014
fi
 
9015
library_names_spec=
 
9016
libname_spec='lib$name'
 
9017
soname_spec=
 
9018
shrext_cmds=".so"
 
9019
postinstall_cmds=
 
9020
postuninstall_cmds=
 
9021
finish_cmds=
 
9022
finish_eval=
 
9023
shlibpath_var=
 
9024
shlibpath_overrides_runpath=unknown
 
9025
version_type=none
 
9026
dynamic_linker="$host_os ld.so"
 
9027
sys_lib_dlsearch_path_spec="/lib /usr/lib"
8978
9028
need_lib_prefix=unknown
8979
9029
hardcode_into_libs=no
8980
9030
 
9011
9061
      aix4 | aix4.[01] | aix4.[01].*)
9012
9062
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9013
9063
           echo ' yes '
9014
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
9064
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9015
9065
        :
9016
9066
      else
9017
9067
        can_build_shared=no
9037
9087
  ;;
9038
9088
 
9039
9089
amigaos*)
9040
 
  library_names_spec='$libname.ixlibrary $libname.a'
9041
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
9042
 
  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'
 
9090
  case $host_cpu in
 
9091
  powerpc)
 
9092
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
9093
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
9094
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9095
    ;;
 
9096
  m68k)
 
9097
    library_names_spec='$libname.ixlibrary $libname.a'
 
9098
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
9099
    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'
 
9100
    ;;
 
9101
  esac
9043
9102
  ;;
9044
9103
 
9045
9104
beos*)
9062
9121
  # libtool to hard-code these into programs
9063
9122
  ;;
9064
9123
 
9065
 
cygwin* | mingw* | pw32*)
 
9124
cygwin* | mingw* | pw32* | cegcc*)
9066
9125
  version_type=windows
9067
9126
  shrext_cmds=".dll"
9068
9127
  need_version=no
9069
9128
  need_lib_prefix=no
9070
9129
 
9071
9130
  case $GCC,$host_os in
9072
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
9131
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9073
9132
    library_names_spec='$libname.dll.a'
9074
9133
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9075
9134
    postinstall_cmds='base_file=`basename \${file}`~
9076
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
9135
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9077
9136
      dldir=$destdir/`dirname \$dlpath`~
9078
9137
      test -d \$dldir || mkdir -p \$dldir~
9079
9138
      $install_prog $dir/$dlname \$dldir/$dlname~
9080
 
      chmod a+x \$dldir/$dlname'
 
9139
      chmod a+x \$dldir/$dlname~
 
9140
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
9141
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
9142
      fi'
9081
9143
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9082
9144
      dlpath=$dir/\$dldll~
9083
 
       $rm \$dlpath'
 
9145
       $RM \$dlpath'
9084
9146
    shlibpath_overrides_runpath=yes
9085
9147
 
9086
9148
    case $host_os in
9089
9151
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9090
9152
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9091
9153
      ;;
9092
 
    mingw*)
 
9154
    mingw* | cegcc*)
9093
9155
      # MinGW DLLs use traditional 'lib' prefix
9094
9156
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9095
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9096
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
9157
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9158
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9097
9159
        # It is most probably a Windows format PATH printed by
9098
9160
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9099
9161
        # path with ; separators, and with drive letters. We can handle the
9100
9162
        # drive letters (cygwin fileutils understands them), so leave them,
9101
9163
        # especially as we might pass files found there to a mingw objdump,
9102
9164
        # which wouldn't understand a cygwinified path. Ahh.
9103
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
9165
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9104
9166
      else
9105
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9167
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9106
9168
      fi
9107
9169
      ;;
9108
9170
    pw32*)
9126
9188
  version_type=darwin
9127
9189
  need_lib_prefix=no
9128
9190
  need_version=no
9129
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
9191
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9130
9192
  soname_spec='${libname}${release}${major}$shared_ext'
9131
9193
  shlibpath_overrides_runpath=yes
9132
9194
  shlibpath_var=DYLD_LIBRARY_PATH
9225
9287
    fi
9226
9288
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9227
9289
    ;;
9228
 
   hppa*64*)
9229
 
     shrext_cmds='.sl'
9230
 
     hardcode_into_libs=yes
9231
 
     dynamic_linker="$host_os dld.sl"
9232
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9233
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9234
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9235
 
     soname_spec='${libname}${release}${shared_ext}$major'
9236
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9237
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9238
 
     ;;
9239
 
   *)
 
9290
  hppa*64*)
 
9291
    shrext_cmds='.sl'
 
9292
    hardcode_into_libs=yes
 
9293
    dynamic_linker="$host_os dld.sl"
 
9294
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
9295
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
9296
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9297
    soname_spec='${libname}${release}${shared_ext}$major'
 
9298
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
9299
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
9300
    ;;
 
9301
  *)
9240
9302
    shrext_cmds='.sl'
9241
9303
    dynamic_linker="$host_os dld.sl"
9242
9304
    shlibpath_var=SHLIB_PATH
9304
9366
  ;;
9305
9367
 
9306
9368
# This must be Linux ELF.
9307
 
linux* | k*bsd*-gnu)
 
9369
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9308
9370
  version_type=linux
9309
9371
  need_lib_prefix=no
9310
9372
  need_version=no
9313
9375
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9314
9376
  shlibpath_var=LD_LIBRARY_PATH
9315
9377
  shlibpath_overrides_runpath=no
 
9378
  # Some binutils ld are patched to set DT_RUNPATH
 
9379
  save_LDFLAGS=$LDFLAGS
 
9380
  save_libdir=$libdir
 
9381
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
9382
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
9383
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9384
/* end confdefs.h.  */
 
9385
 
 
9386
int
 
9387
main ()
 
9388
{
 
9389
 
 
9390
  ;
 
9391
  return 0;
 
9392
}
 
9393
_ACEOF
 
9394
if ac_fn_c_try_link "$LINENO"; then :
 
9395
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
9396
  shlibpath_overrides_runpath=yes
 
9397
fi
 
9398
fi
 
9399
rm -f core conftest.err conftest.$ac_objext \
 
9400
    conftest$ac_exeext conftest.$ac_ext
 
9401
  LDFLAGS=$save_LDFLAGS
 
9402
  libdir=$save_libdir
 
9403
 
9316
9404
  # This implies no fast_install, which is unacceptable.
9317
9405
  # Some rework will be needed to allow for fast_install
9318
9406
  # before this can be enabled.
9320
9408
 
9321
9409
  # Append ld.so.conf contents to the search path
9322
9410
  if test -f /etc/ld.so.conf; then
9323
 
    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' ' '`
 
9411
    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' ' '`
9324
9412
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9325
9413
  fi
9326
9414
 
9349
9437
  version_type=sunos
9350
9438
  need_lib_prefix=no
9351
9439
  need_version=no
9352
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9440
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9353
9441
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9354
9442
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9355
9443
    dynamic_linker='NetBSD (a.out) ld.so'
9370
9458
  shlibpath_overrides_runpath=yes
9371
9459
  ;;
9372
9460
 
9373
 
nto-qnx*)
9374
 
  version_type=linux
 
9461
*nto* | *qnx*)
 
9462
  version_type=qnx
9375
9463
  need_lib_prefix=no
9376
9464
  need_version=no
9377
9465
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9378
9466
  soname_spec='${libname}${release}${shared_ext}$major'
9379
9467
  shlibpath_var=LD_LIBRARY_PATH
9380
 
  shlibpath_overrides_runpath=yes
 
9468
  shlibpath_overrides_runpath=no
 
9469
  hardcode_into_libs=yes
 
9470
  dynamic_linker='ldqnx.so'
9381
9471
  ;;
9382
9472
 
9383
9473
openbsd*)
9386
9476
  need_lib_prefix=no
9387
9477
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9388
9478
  case $host_os in
9389
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9390
 
    *)                         need_version=no  ;;
 
9479
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
9480
    *)                          need_version=no  ;;
9391
9481
  esac
9392
9482
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9393
9483
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9394
9484
  shlibpath_var=LD_LIBRARY_PATH
9395
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9485
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9396
9486
    case $host_os in
9397
9487
      openbsd2.[89] | openbsd2.[89].*)
9398
9488
        shlibpath_overrides_runpath=no
9464
9554
    sni)
9465
9555
      shlibpath_overrides_runpath=no
9466
9556
      need_lib_prefix=no
9467
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
9468
9557
      runpath_var=LD_RUN_PATH
9469
9558
      ;;
9470
9559
    siemens)
9495
9584
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9496
9585
  soname_spec='${libname}${release}${shared_ext}$major'
9497
9586
  shlibpath_var=LD_LIBRARY_PATH
 
9587
  shlibpath_overrides_runpath=yes
9498
9588
  hardcode_into_libs=yes
9499
9589
  if test "$with_gnu_ld" = yes; then
9500
9590
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9501
 
    shlibpath_overrides_runpath=no
9502
9591
  else
9503
9592
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9504
 
    shlibpath_overrides_runpath=yes
9505
9593
    case $host_os in
9506
9594
      sco3.2v5*)
9507
9595
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9511
9599
  sys_lib_dlsearch_path_spec='/usr/lib'
9512
9600
  ;;
9513
9601
 
 
9602
tpf*)
 
9603
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
9604
  version_type=linux
 
9605
  need_lib_prefix=no
 
9606
  need_version=no
 
9607
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9608
  shlibpath_var=LD_LIBRARY_PATH
 
9609
  shlibpath_overrides_runpath=no
 
9610
  hardcode_into_libs=yes
 
9611
  ;;
 
9612
 
9514
9613
uts4*)
9515
9614
  version_type=linux
9516
9615
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9522
9621
  dynamic_linker=no
9523
9622
  ;;
9524
9623
esac
9525
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9526
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
9624
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
9625
$as_echo "$dynamic_linker" >&6; }
9527
9626
test "$dynamic_linker" = no && can_build_shared=no
9528
9627
 
9529
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9530
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9531
 
else
9532
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
9533
 
fi
9534
 
 
9535
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9536
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9537
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9538
 
else
9539
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
9540
 
fi
9541
 
 
9542
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9543
 
 
9544
9628
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9545
9629
if test "$GCC" = yes; then
9546
9630
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9547
9631
fi
9548
9632
 
9549
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9550
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
9633
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
9634
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
9635
fi
 
9636
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
9637
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
9638
fi
 
9639
 
 
9640
 
 
9641
 
 
9642
 
 
9643
 
 
9644
 
 
9645
 
 
9646
 
 
9647
 
 
9648
 
 
9649
 
 
9650
 
 
9651
 
 
9652
 
 
9653
 
 
9654
 
 
9655
 
 
9656
 
 
9657
 
 
9658
 
 
9659
 
 
9660
 
 
9661
 
 
9662
 
 
9663
 
 
9664
 
 
9665
 
 
9666
 
 
9667
 
 
9668
 
 
9669
 
 
9670
 
 
9671
 
 
9672
 
 
9673
 
 
9674
 
 
9675
 
 
9676
 
 
9677
 
 
9678
 
 
9679
 
 
9680
 
 
9681
 
 
9682
 
 
9683
 
 
9684
 
 
9685
 
 
9686
 
 
9687
 
 
9688
 
 
9689
 
 
9690
 
 
9691
 
 
9692
 
 
9693
 
 
9694
 
 
9695
 
 
9696
 
 
9697
 
 
9698
 
 
9699
 
 
9700
 
 
9701
 
 
9702
 
 
9703
 
 
9704
 
 
9705
 
 
9706
 
 
9707
 
 
9708
 
 
9709
 
 
9710
 
 
9711
 
 
9712
 
 
9713
 
 
9714
 
 
9715
 
 
9716
 
 
9717
 
 
9718
 
 
9719
 
 
9720
 
 
9721
 
 
9722
 
 
9723
 
 
9724
 
 
9725
 
 
9726
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
9727
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9551
9728
hardcode_action=
9552
 
if test -n "$hardcode_libdir_flag_spec" || \
9553
 
   test -n "$runpath_var" || \
 
9729
if test -n "$hardcode_libdir_flag_spec" ||
 
9730
   test -n "$runpath_var" ||
9554
9731
   test "X$hardcode_automatic" = "Xyes" ; then
9555
9732
 
9556
 
  # We can hardcode non-existant directories.
 
9733
  # We can hardcode non-existent directories.
9557
9734
  if test "$hardcode_direct" != no &&
9558
9735
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
9559
9736
     # have to relink, otherwise we might link with an installed library
9560
9737
     # when we should be linking with a yet-to-be-installed one
9561
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
9738
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9562
9739
     test "$hardcode_minus_L" != no; then
9563
9740
    # Linking always hardcodes the temporary library directory.
9564
9741
    hardcode_action=relink
9571
9748
  # directories.
9572
9749
  hardcode_action=unsupported
9573
9750
fi
9574
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
9575
 
echo "${ECHO_T}$hardcode_action" >&6; }
 
9751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
9752
$as_echo "$hardcode_action" >&6; }
9576
9753
 
9577
 
if test "$hardcode_action" = relink; then
 
9754
if test "$hardcode_action" = relink ||
 
9755
   test "$inherit_rpath" = yes; then
9578
9756
  # Fast installation is not supported
9579
9757
  enable_fast_install=no
9580
9758
elif test "$shlibpath_overrides_runpath" = yes ||
9583
9761
  enable_fast_install=needless
9584
9762
fi
9585
9763
 
9586
 
striplib=
9587
 
old_striplib=
9588
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9589
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9590
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9591
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9592
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9593
 
  { echo "$as_me:$LINENO: result: yes" >&5
9594
 
echo "${ECHO_T}yes" >&6; }
9595
 
else
9596
 
# FIXME - insert some real tests, host_os isn't really good enough
9597
 
  case $host_os in
9598
 
   darwin*)
9599
 
       if test -n "$STRIP" ; then
9600
 
         striplib="$STRIP -x"
9601
 
         old_striplib="$STRIP -S"
9602
 
         { echo "$as_me:$LINENO: result: yes" >&5
9603
 
echo "${ECHO_T}yes" >&6; }
9604
 
       else
9605
 
  { echo "$as_me:$LINENO: result: no" >&5
9606
 
echo "${ECHO_T}no" >&6; }
9607
 
fi
9608
 
       ;;
9609
 
   *)
9610
 
  { echo "$as_me:$LINENO: result: no" >&5
9611
 
echo "${ECHO_T}no" >&6; }
9612
 
    ;;
9613
 
  esac
9614
 
fi
9615
 
 
9616
 
if test "x$enable_dlopen" != xyes; then
 
9764
 
 
9765
 
 
9766
 
 
9767
 
 
9768
 
 
9769
  if test "x$enable_dlopen" != xyes; then
9617
9770
  enable_dlopen=unknown
9618
9771
  enable_dlopen_self=unknown
9619
9772
  enable_dlopen_self_static=unknown
9628
9781
    lt_cv_dlopen_self=yes
9629
9782
    ;;
9630
9783
 
9631
 
  mingw* | pw32*)
 
9784
  mingw* | pw32* | cegcc*)
9632
9785
    lt_cv_dlopen="LoadLibrary"
9633
9786
    lt_cv_dlopen_libs=
9634
 
   ;;
 
9787
    ;;
9635
9788
 
9636
9789
  cygwin*)
9637
9790
    lt_cv_dlopen="dlopen"
9638
9791
    lt_cv_dlopen_libs=
9639
 
   ;;
 
9792
    ;;
9640
9793
 
9641
9794
  darwin*)
9642
9795
  # if libdl is installed we need to link against it
9643
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9644
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9645
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9646
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9796
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
9797
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
9798
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
9799
  $as_echo_n "(cached) " >&6
9647
9800
else
9648
9801
  ac_check_lib_save_LIBS=$LIBS
9649
9802
LIBS="-ldl  $LIBS"
9650
 
cat >conftest.$ac_ext <<_ACEOF
9651
 
/* confdefs.h.  */
9652
 
_ACEOF
9653
 
cat confdefs.h >>conftest.$ac_ext
9654
 
cat >>conftest.$ac_ext <<_ACEOF
 
9803
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9655
9804
/* end confdefs.h.  */
9656
9805
 
9657
9806
/* Override any GCC internal prototype to avoid an error.
9669
9818
  return 0;
9670
9819
}
9671
9820
_ACEOF
9672
 
rm -f conftest.$ac_objext conftest$ac_exeext
9673
 
if { (ac_try="$ac_link"
9674
 
case "(($ac_try" in
9675
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9676
 
  *) ac_try_echo=$ac_try;;
9677
 
esac
9678
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9679
 
  (eval "$ac_link") 2>conftest.er1
9680
 
  ac_status=$?
9681
 
  grep -v '^ *+' conftest.er1 >conftest.err
9682
 
  rm -f conftest.er1
9683
 
  cat conftest.err >&5
9684
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9685
 
  (exit $ac_status); } && {
9686
 
         test -z "$ac_c_werror_flag" ||
9687
 
         test ! -s conftest.err
9688
 
       } && test -s conftest$ac_exeext &&
9689
 
       $as_test_x conftest$ac_exeext; then
 
9821
if ac_fn_c_try_link "$LINENO"; then :
9690
9822
  ac_cv_lib_dl_dlopen=yes
9691
9823
else
9692
 
  echo "$as_me: failed program was:" >&5
9693
 
sed 's/^/| /' conftest.$ac_ext >&5
9694
 
 
9695
 
        ac_cv_lib_dl_dlopen=no
 
9824
  ac_cv_lib_dl_dlopen=no
9696
9825
fi
9697
 
 
9698
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9699
 
      conftest$ac_exeext conftest.$ac_ext
 
9826
rm -f core conftest.err conftest.$ac_objext \
 
9827
    conftest$ac_exeext conftest.$ac_ext
9700
9828
LIBS=$ac_check_lib_save_LIBS
9701
9829
fi
9702
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9703
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9704
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
9830
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
9831
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
9832
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
9705
9833
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9706
9834
else
9707
9835
 
9711
9839
 
9712
9840
fi
9713
9841
 
9714
 
   ;;
 
9842
    ;;
9715
9843
 
9716
9844
  *)
9717
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
9718
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9719
 
if test "${ac_cv_func_shl_load+set}" = set; then
9720
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9721
 
else
9722
 
  cat >conftest.$ac_ext <<_ACEOF
9723
 
/* confdefs.h.  */
9724
 
_ACEOF
9725
 
cat confdefs.h >>conftest.$ac_ext
9726
 
cat >>conftest.$ac_ext <<_ACEOF
9727
 
/* end confdefs.h.  */
9728
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9729
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9730
 
#define shl_load innocuous_shl_load
9731
 
 
9732
 
/* System header to define __stub macros and hopefully few prototypes,
9733
 
    which can conflict with char shl_load (); below.
9734
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9735
 
    <limits.h> exists even on freestanding compilers.  */
9736
 
 
9737
 
#ifdef __STDC__
9738
 
# include <limits.h>
9739
 
#else
9740
 
# include <assert.h>
9741
 
#endif
9742
 
 
9743
 
#undef shl_load
9744
 
 
9745
 
/* Override any GCC internal prototype to avoid an error.
9746
 
   Use char because int might match the return type of a GCC
9747
 
   builtin and then its argument prototype would still apply.  */
9748
 
#ifdef __cplusplus
9749
 
extern "C"
9750
 
#endif
9751
 
char shl_load ();
9752
 
/* The GNU C library defines this for functions which it implements
9753
 
    to always fail with ENOSYS.  Some functions are actually named
9754
 
    something starting with __ and the normal name is an alias.  */
9755
 
#if defined __stub_shl_load || defined __stub___shl_load
9756
 
choke me
9757
 
#endif
9758
 
 
9759
 
int
9760
 
main ()
9761
 
{
9762
 
return shl_load ();
9763
 
  ;
9764
 
  return 0;
9765
 
}
9766
 
_ACEOF
9767
 
rm -f conftest.$ac_objext conftest$ac_exeext
9768
 
if { (ac_try="$ac_link"
9769
 
case "(($ac_try" in
9770
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9771
 
  *) ac_try_echo=$ac_try;;
9772
 
esac
9773
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9774
 
  (eval "$ac_link") 2>conftest.er1
9775
 
  ac_status=$?
9776
 
  grep -v '^ *+' conftest.er1 >conftest.err
9777
 
  rm -f conftest.er1
9778
 
  cat conftest.err >&5
9779
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780
 
  (exit $ac_status); } && {
9781
 
         test -z "$ac_c_werror_flag" ||
9782
 
         test ! -s conftest.err
9783
 
       } && test -s conftest$ac_exeext &&
9784
 
       $as_test_x conftest$ac_exeext; then
9785
 
  ac_cv_func_shl_load=yes
9786
 
else
9787
 
  echo "$as_me: failed program was:" >&5
9788
 
sed 's/^/| /' conftest.$ac_ext >&5
9789
 
 
9790
 
        ac_cv_func_shl_load=no
9791
 
fi
9792
 
 
9793
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9794
 
      conftest$ac_exeext conftest.$ac_ext
9795
 
fi
9796
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9797
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9798
 
if test $ac_cv_func_shl_load = yes; then
 
9845
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
9846
if test "x$ac_cv_func_shl_load" = x""yes; then :
9799
9847
  lt_cv_dlopen="shl_load"
9800
9848
else
9801
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9802
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9803
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9804
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9849
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
9850
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
9851
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
9852
  $as_echo_n "(cached) " >&6
9805
9853
else
9806
9854
  ac_check_lib_save_LIBS=$LIBS
9807
9855
LIBS="-ldld  $LIBS"
9808
 
cat >conftest.$ac_ext <<_ACEOF
9809
 
/* confdefs.h.  */
9810
 
_ACEOF
9811
 
cat confdefs.h >>conftest.$ac_ext
9812
 
cat >>conftest.$ac_ext <<_ACEOF
 
9856
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9813
9857
/* end confdefs.h.  */
9814
9858
 
9815
9859
/* Override any GCC internal prototype to avoid an error.
9827
9871
  return 0;
9828
9872
}
9829
9873
_ACEOF
9830
 
rm -f conftest.$ac_objext conftest$ac_exeext
9831
 
if { (ac_try="$ac_link"
9832
 
case "(($ac_try" in
9833
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9834
 
  *) ac_try_echo=$ac_try;;
9835
 
esac
9836
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9837
 
  (eval "$ac_link") 2>conftest.er1
9838
 
  ac_status=$?
9839
 
  grep -v '^ *+' conftest.er1 >conftest.err
9840
 
  rm -f conftest.er1
9841
 
  cat conftest.err >&5
9842
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9843
 
  (exit $ac_status); } && {
9844
 
         test -z "$ac_c_werror_flag" ||
9845
 
         test ! -s conftest.err
9846
 
       } && test -s conftest$ac_exeext &&
9847
 
       $as_test_x conftest$ac_exeext; then
 
9874
if ac_fn_c_try_link "$LINENO"; then :
9848
9875
  ac_cv_lib_dld_shl_load=yes
9849
9876
else
9850
 
  echo "$as_me: failed program was:" >&5
9851
 
sed 's/^/| /' conftest.$ac_ext >&5
9852
 
 
9853
 
        ac_cv_lib_dld_shl_load=no
 
9877
  ac_cv_lib_dld_shl_load=no
9854
9878
fi
9855
 
 
9856
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9857
 
      conftest$ac_exeext conftest.$ac_ext
 
9879
rm -f core conftest.err conftest.$ac_objext \
 
9880
    conftest$ac_exeext conftest.$ac_ext
9858
9881
LIBS=$ac_check_lib_save_LIBS
9859
9882
fi
9860
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9861
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9862
 
if test $ac_cv_lib_dld_shl_load = yes; then
 
9883
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
9884
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
9885
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
9863
9886
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9864
9887
else
9865
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
9866
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9867
 
if test "${ac_cv_func_dlopen+set}" = set; then
9868
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9869
 
else
9870
 
  cat >conftest.$ac_ext <<_ACEOF
9871
 
/* confdefs.h.  */
9872
 
_ACEOF
9873
 
cat confdefs.h >>conftest.$ac_ext
9874
 
cat >>conftest.$ac_ext <<_ACEOF
9875
 
/* end confdefs.h.  */
9876
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9877
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9878
 
#define dlopen innocuous_dlopen
9879
 
 
9880
 
/* System header to define __stub macros and hopefully few prototypes,
9881
 
    which can conflict with char dlopen (); below.
9882
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9883
 
    <limits.h> exists even on freestanding compilers.  */
9884
 
 
9885
 
#ifdef __STDC__
9886
 
# include <limits.h>
9887
 
#else
9888
 
# include <assert.h>
9889
 
#endif
9890
 
 
9891
 
#undef dlopen
9892
 
 
9893
 
/* Override any GCC internal prototype to avoid an error.
9894
 
   Use char because int might match the return type of a GCC
9895
 
   builtin and then its argument prototype would still apply.  */
9896
 
#ifdef __cplusplus
9897
 
extern "C"
9898
 
#endif
9899
 
char dlopen ();
9900
 
/* The GNU C library defines this for functions which it implements
9901
 
    to always fail with ENOSYS.  Some functions are actually named
9902
 
    something starting with __ and the normal name is an alias.  */
9903
 
#if defined __stub_dlopen || defined __stub___dlopen
9904
 
choke me
9905
 
#endif
9906
 
 
9907
 
int
9908
 
main ()
9909
 
{
9910
 
return dlopen ();
9911
 
  ;
9912
 
  return 0;
9913
 
}
9914
 
_ACEOF
9915
 
rm -f conftest.$ac_objext conftest$ac_exeext
9916
 
if { (ac_try="$ac_link"
9917
 
case "(($ac_try" in
9918
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9919
 
  *) ac_try_echo=$ac_try;;
9920
 
esac
9921
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9922
 
  (eval "$ac_link") 2>conftest.er1
9923
 
  ac_status=$?
9924
 
  grep -v '^ *+' conftest.er1 >conftest.err
9925
 
  rm -f conftest.er1
9926
 
  cat conftest.err >&5
9927
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928
 
  (exit $ac_status); } && {
9929
 
         test -z "$ac_c_werror_flag" ||
9930
 
         test ! -s conftest.err
9931
 
       } && test -s conftest$ac_exeext &&
9932
 
       $as_test_x conftest$ac_exeext; then
9933
 
  ac_cv_func_dlopen=yes
9934
 
else
9935
 
  echo "$as_me: failed program was:" >&5
9936
 
sed 's/^/| /' conftest.$ac_ext >&5
9937
 
 
9938
 
        ac_cv_func_dlopen=no
9939
 
fi
9940
 
 
9941
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9942
 
      conftest$ac_exeext conftest.$ac_ext
9943
 
fi
9944
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9945
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9946
 
if test $ac_cv_func_dlopen = yes; then
 
9888
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
9889
if test "x$ac_cv_func_dlopen" = x""yes; then :
9947
9890
  lt_cv_dlopen="dlopen"
9948
9891
else
9949
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9950
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9951
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9952
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9892
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
9893
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
9894
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
9895
  $as_echo_n "(cached) " >&6
9953
9896
else
9954
9897
  ac_check_lib_save_LIBS=$LIBS
9955
9898
LIBS="-ldl  $LIBS"
9956
 
cat >conftest.$ac_ext <<_ACEOF
9957
 
/* confdefs.h.  */
9958
 
_ACEOF
9959
 
cat confdefs.h >>conftest.$ac_ext
9960
 
cat >>conftest.$ac_ext <<_ACEOF
 
9899
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9961
9900
/* end confdefs.h.  */
9962
9901
 
9963
9902
/* Override any GCC internal prototype to avoid an error.
9975
9914
  return 0;
9976
9915
}
9977
9916
_ACEOF
9978
 
rm -f conftest.$ac_objext conftest$ac_exeext
9979
 
if { (ac_try="$ac_link"
9980
 
case "(($ac_try" in
9981
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9982
 
  *) ac_try_echo=$ac_try;;
9983
 
esac
9984
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9985
 
  (eval "$ac_link") 2>conftest.er1
9986
 
  ac_status=$?
9987
 
  grep -v '^ *+' conftest.er1 >conftest.err
9988
 
  rm -f conftest.er1
9989
 
  cat conftest.err >&5
9990
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9991
 
  (exit $ac_status); } && {
9992
 
         test -z "$ac_c_werror_flag" ||
9993
 
         test ! -s conftest.err
9994
 
       } && test -s conftest$ac_exeext &&
9995
 
       $as_test_x conftest$ac_exeext; then
 
9917
if ac_fn_c_try_link "$LINENO"; then :
9996
9918
  ac_cv_lib_dl_dlopen=yes
9997
9919
else
9998
 
  echo "$as_me: failed program was:" >&5
9999
 
sed 's/^/| /' conftest.$ac_ext >&5
10000
 
 
10001
 
        ac_cv_lib_dl_dlopen=no
 
9920
  ac_cv_lib_dl_dlopen=no
10002
9921
fi
10003
 
 
10004
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10005
 
      conftest$ac_exeext conftest.$ac_ext
 
9922
rm -f core conftest.err conftest.$ac_objext \
 
9923
    conftest$ac_exeext conftest.$ac_ext
10006
9924
LIBS=$ac_check_lib_save_LIBS
10007
9925
fi
10008
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10009
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10010
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
9926
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
9927
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
9928
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10011
9929
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10012
9930
else
10013
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10014
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10015
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10016
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9931
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
9932
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
9933
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
9934
  $as_echo_n "(cached) " >&6
10017
9935
else
10018
9936
  ac_check_lib_save_LIBS=$LIBS
10019
9937
LIBS="-lsvld  $LIBS"
10020
 
cat >conftest.$ac_ext <<_ACEOF
10021
 
/* confdefs.h.  */
10022
 
_ACEOF
10023
 
cat confdefs.h >>conftest.$ac_ext
10024
 
cat >>conftest.$ac_ext <<_ACEOF
 
9938
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10025
9939
/* end confdefs.h.  */
10026
9940
 
10027
9941
/* Override any GCC internal prototype to avoid an error.
10039
9953
  return 0;
10040
9954
}
10041
9955
_ACEOF
10042
 
rm -f conftest.$ac_objext conftest$ac_exeext
10043
 
if { (ac_try="$ac_link"
10044
 
case "(($ac_try" in
10045
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10046
 
  *) ac_try_echo=$ac_try;;
10047
 
esac
10048
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10049
 
  (eval "$ac_link") 2>conftest.er1
10050
 
  ac_status=$?
10051
 
  grep -v '^ *+' conftest.er1 >conftest.err
10052
 
  rm -f conftest.er1
10053
 
  cat conftest.err >&5
10054
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055
 
  (exit $ac_status); } && {
10056
 
         test -z "$ac_c_werror_flag" ||
10057
 
         test ! -s conftest.err
10058
 
       } && test -s conftest$ac_exeext &&
10059
 
       $as_test_x conftest$ac_exeext; then
 
9956
if ac_fn_c_try_link "$LINENO"; then :
10060
9957
  ac_cv_lib_svld_dlopen=yes
10061
9958
else
10062
 
  echo "$as_me: failed program was:" >&5
10063
 
sed 's/^/| /' conftest.$ac_ext >&5
10064
 
 
10065
 
        ac_cv_lib_svld_dlopen=no
 
9959
  ac_cv_lib_svld_dlopen=no
10066
9960
fi
10067
 
 
10068
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10069
 
      conftest$ac_exeext conftest.$ac_ext
 
9961
rm -f core conftest.err conftest.$ac_objext \
 
9962
    conftest$ac_exeext conftest.$ac_ext
10070
9963
LIBS=$ac_check_lib_save_LIBS
10071
9964
fi
10072
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10073
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10074
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
9965
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
9966
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
9967
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10075
9968
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10076
9969
else
10077
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10078
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10079
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10080
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9970
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
9971
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
9972
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
9973
  $as_echo_n "(cached) " >&6
10081
9974
else
10082
9975
  ac_check_lib_save_LIBS=$LIBS
10083
9976
LIBS="-ldld  $LIBS"
10084
 
cat >conftest.$ac_ext <<_ACEOF
10085
 
/* confdefs.h.  */
10086
 
_ACEOF
10087
 
cat confdefs.h >>conftest.$ac_ext
10088
 
cat >>conftest.$ac_ext <<_ACEOF
 
9977
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10089
9978
/* end confdefs.h.  */
10090
9979
 
10091
9980
/* Override any GCC internal prototype to avoid an error.
10103
9992
  return 0;
10104
9993
}
10105
9994
_ACEOF
10106
 
rm -f conftest.$ac_objext conftest$ac_exeext
10107
 
if { (ac_try="$ac_link"
10108
 
case "(($ac_try" in
10109
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10110
 
  *) ac_try_echo=$ac_try;;
10111
 
esac
10112
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10113
 
  (eval "$ac_link") 2>conftest.er1
10114
 
  ac_status=$?
10115
 
  grep -v '^ *+' conftest.er1 >conftest.err
10116
 
  rm -f conftest.er1
10117
 
  cat conftest.err >&5
10118
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10119
 
  (exit $ac_status); } && {
10120
 
         test -z "$ac_c_werror_flag" ||
10121
 
         test ! -s conftest.err
10122
 
       } && test -s conftest$ac_exeext &&
10123
 
       $as_test_x conftest$ac_exeext; then
 
9995
if ac_fn_c_try_link "$LINENO"; then :
10124
9996
  ac_cv_lib_dld_dld_link=yes
10125
9997
else
10126
 
  echo "$as_me: failed program was:" >&5
10127
 
sed 's/^/| /' conftest.$ac_ext >&5
10128
 
 
10129
 
        ac_cv_lib_dld_dld_link=no
 
9998
  ac_cv_lib_dld_dld_link=no
10130
9999
fi
10131
 
 
10132
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10133
 
      conftest$ac_exeext conftest.$ac_ext
 
10000
rm -f core conftest.err conftest.$ac_objext \
 
10001
    conftest$ac_exeext conftest.$ac_ext
10134
10002
LIBS=$ac_check_lib_save_LIBS
10135
10003
fi
10136
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10137
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10138
 
if test $ac_cv_lib_dld_dld_link = yes; then
 
10004
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
10005
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
10006
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10139
10007
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10140
10008
fi
10141
10009
 
10174
10042
    save_LIBS="$LIBS"
10175
10043
    LIBS="$lt_cv_dlopen_libs $LIBS"
10176
10044
 
10177
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10178
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10179
 
if test "${lt_cv_dlopen_self+set}" = set; then
10180
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10045
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
10046
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
10047
if test "${lt_cv_dlopen_self+set}" = set; then :
 
10048
  $as_echo_n "(cached) " >&6
10181
10049
else
10182
10050
          if test "$cross_compiling" = yes; then :
10183
10051
  lt_cv_dlopen_self=cross
10184
10052
else
10185
10053
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10186
10054
  lt_status=$lt_dlunknown
10187
 
  cat > conftest.$ac_ext <<EOF
10188
 
#line 10188 "configure"
 
10055
  cat > conftest.$ac_ext <<_LT_EOF
 
10056
#line 10056 "configure"
10189
10057
#include "confdefs.h"
10190
10058
 
10191
10059
#if HAVE_DLFCN_H
10226
10094
#  endif
10227
10095
#endif
10228
10096
 
10229
 
#ifdef __cplusplus
10230
 
extern "C" void exit (int);
10231
 
#endif
10232
 
 
10233
10097
void fnord() { int i=42;}
10234
10098
int main ()
10235
10099
{
10245
10109
  else
10246
10110
    puts (dlerror ());
10247
10111
 
10248
 
    exit (status);
 
10112
  return status;
10249
10113
}
10250
 
EOF
10251
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10114
_LT_EOF
 
10115
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10252
10116
  (eval $ac_link) 2>&5
10253
10117
  ac_status=$?
10254
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10255
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10118
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10119
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10256
10120
    (./conftest; exit; ) >&5 2>/dev/null
10257
10121
    lt_status=$?
10258
10122
    case x$lt_status in
10269
10133
 
10270
10134
 
10271
10135
fi
10272
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10273
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
 
10136
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
10137
$as_echo "$lt_cv_dlopen_self" >&6; }
10274
10138
 
10275
10139
    if test "x$lt_cv_dlopen_self" = xyes; then
10276
10140
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10277
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10278
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10279
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
10280
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10141
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
10142
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
10143
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
10144
  $as_echo_n "(cached) " >&6
10281
10145
else
10282
10146
          if test "$cross_compiling" = yes; then :
10283
10147
  lt_cv_dlopen_self_static=cross
10284
10148
else
10285
10149
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10286
10150
  lt_status=$lt_dlunknown
10287
 
  cat > conftest.$ac_ext <<EOF
10288
 
#line 10288 "configure"
 
10151
  cat > conftest.$ac_ext <<_LT_EOF
 
10152
#line 10152 "configure"
10289
10153
#include "confdefs.h"
10290
10154
 
10291
10155
#if HAVE_DLFCN_H
10326
10190
#  endif
10327
10191
#endif
10328
10192
 
10329
 
#ifdef __cplusplus
10330
 
extern "C" void exit (int);
10331
 
#endif
10332
 
 
10333
10193
void fnord() { int i=42;}
10334
10194
int main ()
10335
10195
{
10345
10205
  else
10346
10206
    puts (dlerror ());
10347
10207
 
10348
 
    exit (status);
 
10208
  return status;
10349
10209
}
10350
 
EOF
10351
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10210
_LT_EOF
 
10211
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10352
10212
  (eval $ac_link) 2>&5
10353
10213
  ac_status=$?
10354
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10355
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10214
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10215
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10356
10216
    (./conftest; exit; ) >&5 2>/dev/null
10357
10217
    lt_status=$?
10358
10218
    case x$lt_status in
10369
10229
 
10370
10230
 
10371
10231
fi
10372
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10373
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
 
10232
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
10233
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10374
10234
    fi
10375
10235
 
10376
10236
    CPPFLAGS="$save_CPPFLAGS"
10391
10251
fi
10392
10252
 
10393
10253
 
10394
 
# Report which library types will actually be built
10395
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10396
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10397
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
10398
 
echo "${ECHO_T}$can_build_shared" >&6; }
10399
 
 
10400
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10401
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10402
 
test "$can_build_shared" = "no" && enable_shared=no
10403
 
 
10404
 
# On AIX, shared libraries and static libraries use the same namespace, and
10405
 
# are all built from PIC.
10406
 
case $host_os in
10407
 
aix3*)
10408
 
  test "$enable_shared" = yes && enable_static=no
10409
 
  if test -n "$RANLIB"; then
10410
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
10411
 
    postinstall_cmds='$RANLIB $lib'
10412
 
  fi
10413
 
  ;;
10414
 
 
10415
 
aix[4-9]*)
10416
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10417
 
    test "$enable_shared" = yes && enable_static=no
10418
 
  fi
10419
 
    ;;
10420
 
esac
10421
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
10422
 
echo "${ECHO_T}$enable_shared" >&6; }
10423
 
 
10424
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10425
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10426
 
# Make sure either enable_shared or enable_static is yes.
10427
 
test "$enable_shared" = yes || enable_static=yes
10428
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
10429
 
echo "${ECHO_T}$enable_static" >&6; }
10430
 
 
10431
 
# The else clause should only fire when bootstrapping the
10432
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
10433
 
# with your package, and you will get complaints that there are
10434
 
# no rules to generate ltmain.sh.
10435
 
if test -f "$ltmain"; then
10436
 
  # See if we are running on zsh, and set the options which allow our commands through
10437
 
  # without removal of \ escapes.
10438
 
  if test -n "${ZSH_VERSION+set}" ; then
10439
 
    setopt NO_GLOB_SUBST
10440
 
  fi
10441
 
  # Now quote all the things that may contain metacharacters while being
10442
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
10443
 
  # variables and quote the copies for generation of the libtool script.
10444
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10445
 
    SED SHELL STRIP \
10446
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10447
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10448
 
    deplibs_check_method reload_flag reload_cmds need_locks \
10449
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10450
 
    lt_cv_sys_global_symbol_to_c_name_address \
10451
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10452
 
    old_postinstall_cmds old_postuninstall_cmds \
10453
 
    compiler \
10454
 
    CC \
10455
 
    LD \
10456
 
    lt_prog_compiler_wl \
10457
 
    lt_prog_compiler_pic \
10458
 
    lt_prog_compiler_static \
10459
 
    lt_prog_compiler_no_builtin_flag \
10460
 
    export_dynamic_flag_spec \
10461
 
    thread_safe_flag_spec \
10462
 
    whole_archive_flag_spec \
10463
 
    enable_shared_with_static_runtimes \
10464
 
    old_archive_cmds \
10465
 
    old_archive_from_new_cmds \
10466
 
    predep_objects \
10467
 
    postdep_objects \
10468
 
    predeps \
10469
 
    postdeps \
10470
 
    compiler_lib_search_path \
10471
 
    compiler_lib_search_dirs \
10472
 
    archive_cmds \
10473
 
    archive_expsym_cmds \
10474
 
    postinstall_cmds \
10475
 
    postuninstall_cmds \
10476
 
    old_archive_from_expsyms_cmds \
10477
 
    allow_undefined_flag \
10478
 
    no_undefined_flag \
10479
 
    export_symbols_cmds \
10480
 
    hardcode_libdir_flag_spec \
10481
 
    hardcode_libdir_flag_spec_ld \
10482
 
    hardcode_libdir_separator \
10483
 
    hardcode_automatic \
10484
 
    module_cmds \
10485
 
    module_expsym_cmds \
10486
 
    lt_cv_prog_compiler_c_o \
10487
 
    fix_srcfile_path \
10488
 
    exclude_expsyms \
10489
 
    include_expsyms; do
10490
 
 
10491
 
    case $var in
10492
 
    old_archive_cmds | \
10493
 
    old_archive_from_new_cmds | \
10494
 
    archive_cmds | \
10495
 
    archive_expsym_cmds | \
10496
 
    module_cmds | \
10497
 
    module_expsym_cmds | \
10498
 
    old_archive_from_expsyms_cmds | \
10499
 
    export_symbols_cmds | \
10500
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
10501
 
    postinstall_cmds | postuninstall_cmds | \
10502
 
    old_postinstall_cmds | old_postuninstall_cmds | \
10503
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10504
 
      # Double-quote double-evaled strings.
10505
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10506
 
      ;;
10507
 
    *)
10508
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10509
 
      ;;
10510
 
    esac
10511
 
  done
10512
 
 
10513
 
  case $lt_echo in
10514
 
  *'\$0 --fallback-echo"')
10515
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10516
 
    ;;
10517
 
  esac
10518
 
 
10519
 
cfgfile="${ofile}T"
10520
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10521
 
  $rm -f "$cfgfile"
10522
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
10523
 
echo "$as_me: creating $ofile" >&6;}
10524
 
 
10525
 
  cat <<__EOF__ >> "$cfgfile"
10526
 
#! $SHELL
10527
 
 
10528
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10529
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10530
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10531
 
#
10532
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10533
 
# Free Software Foundation, Inc.
10534
 
#
10535
 
# This file is part of GNU Libtool:
10536
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10537
 
#
10538
 
# This program is free software; you can redistribute it and/or modify
10539
 
# it under the terms of the GNU General Public License as published by
10540
 
# the Free Software Foundation; either version 2 of the License, or
10541
 
# (at your option) any later version.
10542
 
#
10543
 
# This program is distributed in the hope that it will be useful, but
10544
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
10545
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10546
 
# General Public License for more details.
10547
 
#
10548
 
# You should have received a copy of the GNU General Public License
10549
 
# along with this program; if not, write to the Free Software
10550
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10551
 
#
10552
 
# As a special exception to the GNU General Public License, if you
10553
 
# distribute this file as part of a program that contains a
10554
 
# configuration script generated by Autoconf, you may include it under
10555
 
# the same distribution terms that you use for the rest of that program.
10556
 
 
10557
 
# A sed program that does not truncate output.
10558
 
SED=$lt_SED
10559
 
 
10560
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
10561
 
Xsed="$SED -e 1s/^X//"
10562
 
 
10563
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
10564
 
# if CDPATH is set.
10565
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10566
 
 
10567
 
# The names of the tagged configurations supported by this script.
10568
 
available_tags=
10569
 
 
10570
 
# ### BEGIN LIBTOOL CONFIG
10571
 
 
10572
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10573
 
 
10574
 
# Shell to use when invoking shell scripts.
10575
 
SHELL=$lt_SHELL
10576
 
 
10577
 
# Whether or not to build shared libraries.
10578
 
build_libtool_libs=$enable_shared
10579
 
 
10580
 
# Whether or not to build static libraries.
10581
 
build_old_libs=$enable_static
10582
 
 
10583
 
# Whether or not to add -lc for building shared libraries.
10584
 
build_libtool_need_lc=$archive_cmds_need_lc
10585
 
 
10586
 
# Whether or not to disallow shared libs when runtime libs are static
10587
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10588
 
 
10589
 
# Whether or not to optimize for fast installation.
10590
 
fast_install=$enable_fast_install
10591
 
 
10592
 
# The host system.
10593
 
host_alias=$host_alias
10594
 
host=$host
10595
 
host_os=$host_os
10596
 
 
10597
 
# The build system.
10598
 
build_alias=$build_alias
10599
 
build=$build
10600
 
build_os=$build_os
10601
 
 
10602
 
# An echo program that does not interpret backslashes.
10603
 
echo=$lt_echo
10604
 
 
10605
 
# The archiver.
10606
 
AR=$lt_AR
10607
 
AR_FLAGS=$lt_AR_FLAGS
10608
 
 
10609
 
# A C compiler.
10610
 
LTCC=$lt_LTCC
10611
 
 
10612
 
# LTCC compiler flags.
10613
 
LTCFLAGS=$lt_LTCFLAGS
10614
 
 
10615
 
# A language-specific compiler.
10616
 
CC=$lt_compiler
10617
 
 
10618
 
# Is the compiler the GNU C compiler?
10619
 
with_gcc=$GCC
10620
 
 
10621
 
# An ERE matcher.
10622
 
EGREP=$lt_EGREP
10623
 
 
10624
 
# The linker used to build libraries.
10625
 
LD=$lt_LD
10626
 
 
10627
 
# Whether we need hard or soft links.
10628
 
LN_S=$lt_LN_S
10629
 
 
10630
 
# A BSD-compatible nm program.
10631
 
NM=$lt_NM
10632
 
 
10633
 
# A symbol stripping program
10634
 
STRIP=$lt_STRIP
10635
 
 
10636
 
# Used to examine libraries when file_magic_cmd begins "file"
10637
 
MAGIC_CMD=$MAGIC_CMD
10638
 
 
10639
 
# Used on cygwin: DLL creation program.
10640
 
DLLTOOL="$DLLTOOL"
10641
 
 
10642
 
# Used on cygwin: object dumper.
10643
 
OBJDUMP="$OBJDUMP"
10644
 
 
10645
 
# Used on cygwin: assembler.
10646
 
AS="$AS"
10647
 
 
10648
 
# The name of the directory that contains temporary libtool files.
10649
 
objdir=$objdir
10650
 
 
10651
 
# How to create reloadable object files.
10652
 
reload_flag=$lt_reload_flag
10653
 
reload_cmds=$lt_reload_cmds
10654
 
 
10655
 
# How to pass a linker flag through the compiler.
10656
 
wl=$lt_lt_prog_compiler_wl
10657
 
 
10658
 
# Object file suffix (normally "o").
10659
 
objext="$ac_objext"
10660
 
 
10661
 
# Old archive suffix (normally "a").
10662
 
libext="$libext"
10663
 
 
10664
 
# Shared library suffix (normally ".so").
10665
 
shrext_cmds='$shrext_cmds'
10666
 
 
10667
 
# Executable file suffix (normally "").
10668
 
exeext="$exeext"
10669
 
 
10670
 
# Additional compiler flags for building library objects.
10671
 
pic_flag=$lt_lt_prog_compiler_pic
10672
 
pic_mode=$pic_mode
10673
 
 
10674
 
# What is the maximum length of a command?
10675
 
max_cmd_len=$lt_cv_sys_max_cmd_len
10676
 
 
10677
 
# Does compiler simultaneously support -c and -o options?
10678
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10679
 
 
10680
 
# Must we lock files when doing compilation?
10681
 
need_locks=$lt_need_locks
10682
 
 
10683
 
# Do we need the lib prefix for modules?
10684
 
need_lib_prefix=$need_lib_prefix
10685
 
 
10686
 
# Do we need a version for libraries?
10687
 
need_version=$need_version
10688
 
 
10689
 
# Whether dlopen is supported.
10690
 
dlopen_support=$enable_dlopen
10691
 
 
10692
 
# Whether dlopen of programs is supported.
10693
 
dlopen_self=$enable_dlopen_self
10694
 
 
10695
 
# Whether dlopen of statically linked programs is supported.
10696
 
dlopen_self_static=$enable_dlopen_self_static
10697
 
 
10698
 
# Compiler flag to prevent dynamic linking.
10699
 
link_static_flag=$lt_lt_prog_compiler_static
10700
 
 
10701
 
# Compiler flag to turn off builtin functions.
10702
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10703
 
 
10704
 
# Compiler flag to allow reflexive dlopens.
10705
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10706
 
 
10707
 
# Compiler flag to generate shared objects directly from archives.
10708
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
10709
 
 
10710
 
# Compiler flag to generate thread-safe objects.
10711
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
10712
 
 
10713
 
# Library versioning type.
10714
 
version_type=$version_type
10715
 
 
10716
 
# Format of library name prefix.
10717
 
libname_spec=$lt_libname_spec
10718
 
 
10719
 
# List of archive names.  First name is the real one, the rest are links.
10720
 
# The last name is the one that the linker finds with -lNAME.
10721
 
library_names_spec=$lt_library_names_spec
10722
 
 
10723
 
# The coded name of the library, if different from the real name.
10724
 
soname_spec=$lt_soname_spec
10725
 
 
10726
 
# Commands used to build and install an old-style archive.
10727
 
RANLIB=$lt_RANLIB
10728
 
old_archive_cmds=$lt_old_archive_cmds
10729
 
old_postinstall_cmds=$lt_old_postinstall_cmds
10730
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
10731
 
 
10732
 
# Create an old-style archive from a shared archive.
10733
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10734
 
 
10735
 
# Create a temporary old-style archive to link instead of a shared archive.
10736
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10737
 
 
10738
 
# Commands used to build and install a shared archive.
10739
 
archive_cmds=$lt_archive_cmds
10740
 
archive_expsym_cmds=$lt_archive_expsym_cmds
10741
 
postinstall_cmds=$lt_postinstall_cmds
10742
 
postuninstall_cmds=$lt_postuninstall_cmds
10743
 
 
10744
 
# Commands used to build a loadable module (assumed same as above if empty)
10745
 
module_cmds=$lt_module_cmds
10746
 
module_expsym_cmds=$lt_module_expsym_cmds
10747
 
 
10748
 
# Commands to strip libraries.
10749
 
old_striplib=$lt_old_striplib
10750
 
striplib=$lt_striplib
10751
 
 
10752
 
# Dependencies to place before the objects being linked to create a
10753
 
# shared library.
10754
 
predep_objects=$lt_predep_objects
10755
 
 
10756
 
# Dependencies to place after the objects being linked to create a
10757
 
# shared library.
10758
 
postdep_objects=$lt_postdep_objects
10759
 
 
10760
 
# Dependencies to place before the objects being linked to create a
10761
 
# shared library.
10762
 
predeps=$lt_predeps
10763
 
 
10764
 
# Dependencies to place after the objects being linked to create a
10765
 
# shared library.
10766
 
postdeps=$lt_postdeps
10767
 
 
10768
 
# The directories searched by this compiler when creating a shared
10769
 
# library
10770
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
10771
 
 
10772
 
# The library search path used internally by the compiler when linking
10773
 
# a shared library.
10774
 
compiler_lib_search_path=$lt_compiler_lib_search_path
10775
 
 
10776
 
# Method to check whether dependent libraries are shared objects.
10777
 
deplibs_check_method=$lt_deplibs_check_method
10778
 
 
10779
 
# Command to use when deplibs_check_method == file_magic.
10780
 
file_magic_cmd=$lt_file_magic_cmd
10781
 
 
10782
 
# Flag that allows shared libraries with undefined symbols to be built.
10783
 
allow_undefined_flag=$lt_allow_undefined_flag
10784
 
 
10785
 
# Flag that forces no undefined symbols.
10786
 
no_undefined_flag=$lt_no_undefined_flag
10787
 
 
10788
 
# Commands used to finish a libtool library installation in a directory.
10789
 
finish_cmds=$lt_finish_cmds
10790
 
 
10791
 
# Same as above, but a single script fragment to be evaled but not shown.
10792
 
finish_eval=$lt_finish_eval
10793
 
 
10794
 
# Take the output of nm and produce a listing of raw symbols and C names.
10795
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10796
 
 
10797
 
# Transform the output of nm in a proper C declaration
10798
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10799
 
 
10800
 
# Transform the output of nm in a C name address pair
10801
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10802
 
 
10803
 
# This is the shared library runtime path variable.
10804
 
runpath_var=$runpath_var
10805
 
 
10806
 
# This is the shared library path variable.
10807
 
shlibpath_var=$shlibpath_var
10808
 
 
10809
 
# Is shlibpath searched before the hard-coded library search path?
10810
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10811
 
 
10812
 
# How to hardcode a shared library path into an executable.
10813
 
hardcode_action=$hardcode_action
10814
 
 
10815
 
# Whether we should hardcode library paths into libraries.
10816
 
hardcode_into_libs=$hardcode_into_libs
10817
 
 
10818
 
# Flag to hardcode \$libdir into a binary during linking.
10819
 
# This must work even if \$libdir does not exist.
10820
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10821
 
 
10822
 
# If ld is used when linking, flag to hardcode \$libdir into
10823
 
# a binary during linking. This must work even if \$libdir does
10824
 
# not exist.
10825
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10826
 
 
10827
 
# Whether we need a single -rpath flag with a separated argument.
10828
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
10829
 
 
10830
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10831
 
# resulting binary.
10832
 
hardcode_direct=$hardcode_direct
10833
 
 
10834
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10835
 
# resulting binary.
10836
 
hardcode_minus_L=$hardcode_minus_L
10837
 
 
10838
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10839
 
# the resulting binary.
10840
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
10841
 
 
10842
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
10843
 
# and all subsequent libraries and executables linked against it.
10844
 
hardcode_automatic=$hardcode_automatic
10845
 
 
10846
 
# Variables whose values should be saved in libtool wrapper scripts and
10847
 
# restored at relink time.
10848
 
variables_saved_for_relink="$variables_saved_for_relink"
10849
 
 
10850
 
# Whether libtool must link a program against all its dependency libraries.
10851
 
link_all_deplibs=$link_all_deplibs
10852
 
 
10853
 
# Compile-time system search path for libraries
10854
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10855
 
 
10856
 
# Run-time system search path for libraries
10857
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10858
 
 
10859
 
# Fix the shell variable \$srcfile for the compiler.
10860
 
fix_srcfile_path=$lt_fix_srcfile_path
10861
 
 
10862
 
# Set to yes if exported symbols are required.
10863
 
always_export_symbols=$always_export_symbols
10864
 
 
10865
 
# The commands to list exported symbols.
10866
 
export_symbols_cmds=$lt_export_symbols_cmds
10867
 
 
10868
 
# The commands to extract the exported symbol list from a shared archive.
10869
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
10870
 
 
10871
 
# Symbols that should not be listed in the preloaded symbols.
10872
 
exclude_expsyms=$lt_exclude_expsyms
10873
 
 
10874
 
# Symbols that must always be exported.
10875
 
include_expsyms=$lt_include_expsyms
10876
 
 
10877
 
# ### END LIBTOOL CONFIG
10878
 
 
10879
 
__EOF__
10880
 
 
10881
 
 
10882
 
  case $host_os in
10883
 
  aix3*)
10884
 
    cat <<\EOF >> "$cfgfile"
10885
 
 
10886
 
# AIX sometimes has problems with the GCC collect2 program.  For some
10887
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
10888
 
# vanish in a puff of smoke.
10889
 
if test "X${COLLECT_NAMES+set}" != Xset; then
10890
 
  COLLECT_NAMES=
10891
 
  export COLLECT_NAMES
10892
 
fi
10893
 
EOF
10894
 
    ;;
10895
 
  esac
10896
 
 
10897
 
  # We use sed instead of cat because bash on DJGPP gets confused if
10898
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
10899
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
10900
 
  # is reportedly fixed, but why not run on old versions too?
10901
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10902
 
 
10903
 
  mv -f "$cfgfile" "$ofile" || \
10904
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10905
 
  chmod +x "$ofile"
10906
 
 
10907
 
else
10908
 
  # If there is no Makefile yet, we rely on a make rule to execute
10909
 
  # `config.status --recheck' to rerun these tests and create the
10910
 
  # libtool script then.
10911
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10912
 
  if test -f "$ltmain_in"; then
10913
 
    test -f Makefile && make "$ltmain"
10914
 
  fi
10915
 
fi
10916
 
 
10917
 
 
10918
 
ac_ext=c
10919
 
ac_cpp='$CPP $CPPFLAGS'
10920
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10921
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10922
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10923
 
 
10924
 
CC="$lt_save_CC"
10925
 
 
10926
 
 
10927
 
# Check whether --with-tags was given.
10928
 
if test "${with_tags+set}" = set; then
10929
 
  withval=$with_tags; tagnames="$withval"
10930
 
fi
10931
 
 
10932
 
 
10933
 
if test -f "$ltmain" && test -n "$tagnames"; then
10934
 
  if test ! -f "${ofile}"; then
10935
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10936
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10937
 
  fi
10938
 
 
10939
 
  if test -z "$LTCC"; then
10940
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10941
 
    if test -z "$LTCC"; then
10942
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10943
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10944
 
    else
10945
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10946
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10947
 
    fi
10948
 
  fi
10949
 
  if test -z "$LTCFLAGS"; then
10950
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
10951
 
  fi
10952
 
 
10953
 
  # Extract list of available tagged configurations in $ofile.
10954
 
  # Note that this assumes the entire list is on one line.
10955
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10956
 
 
10957
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10958
 
  for tagname in $tagnames; do
10959
 
    IFS="$lt_save_ifs"
10960
 
    # Check whether tagname contains only valid characters
10961
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10962
 
    "") ;;
10963
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10964
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
10965
 
   { (exit 1); exit 1; }; }
10966
 
        ;;
10967
 
    esac
10968
 
 
10969
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10970
 
    then
10971
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10972
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10973
 
   { (exit 1); exit 1; }; }
10974
 
    fi
10975
 
 
10976
 
    # Update the list of available tags.
10977
 
    if test -n "$tagname"; then
10978
 
      echo appending configuration tag \"$tagname\" to $ofile
10979
 
 
10980
 
      case $tagname in
10981
 
      CXX)
10982
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10983
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10984
 
            (test "X$CXX" != "Xg++"))) ; then
10985
 
          ac_ext=cpp
10986
 
ac_cpp='$CXXCPP $CPPFLAGS'
10987
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10988
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10989
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10990
 
 
10991
 
 
10992
 
 
10993
 
 
10994
 
archive_cmds_need_lc_CXX=no
10995
 
allow_undefined_flag_CXX=
10996
 
always_export_symbols_CXX=no
10997
 
archive_expsym_cmds_CXX=
10998
 
export_dynamic_flag_spec_CXX=
10999
 
hardcode_direct_CXX=no
11000
 
hardcode_libdir_flag_spec_CXX=
11001
 
hardcode_libdir_flag_spec_ld_CXX=
11002
 
hardcode_libdir_separator_CXX=
11003
 
hardcode_minus_L_CXX=no
11004
 
hardcode_shlibpath_var_CXX=unsupported
11005
 
hardcode_automatic_CXX=no
11006
 
module_cmds_CXX=
11007
 
module_expsym_cmds_CXX=
11008
 
link_all_deplibs_CXX=unknown
11009
 
old_archive_cmds_CXX=$old_archive_cmds
11010
 
no_undefined_flag_CXX=
11011
 
whole_archive_flag_spec_CXX=
11012
 
enable_shared_with_static_runtimes_CXX=no
11013
 
 
11014
 
# Dependencies to place before and after the object being linked:
11015
 
predep_objects_CXX=
11016
 
postdep_objects_CXX=
11017
 
predeps_CXX=
11018
 
postdeps_CXX=
11019
 
compiler_lib_search_path_CXX=
11020
 
compiler_lib_search_dirs_CXX=
11021
 
 
11022
 
# Source file extension for C++ test sources.
11023
 
ac_ext=cpp
11024
 
 
11025
 
# Object file extension for compiled C++ test sources.
11026
 
objext=o
11027
 
objext_CXX=$objext
11028
 
 
11029
 
# Code to be used in simple compile tests
11030
 
lt_simple_compile_test_code="int some_variable = 0;"
11031
 
 
11032
 
# Code to be used in simple link tests
11033
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11034
 
 
11035
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11036
 
 
11037
 
# If no C compiler was specified, use CC.
11038
 
LTCC=${LTCC-"$CC"}
11039
 
 
11040
 
# If no C compiler flags were specified, use CFLAGS.
11041
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11042
 
 
11043
 
# Allow CC to be a program name with arguments.
11044
 
compiler=$CC
11045
 
 
11046
 
 
11047
 
# save warnings/boilerplate of simple test code
11048
 
ac_outfile=conftest.$ac_objext
11049
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11050
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11051
 
_lt_compiler_boilerplate=`cat conftest.err`
11052
 
$rm conftest*
11053
 
 
11054
 
ac_outfile=conftest.$ac_objext
11055
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11056
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11057
 
_lt_linker_boilerplate=`cat conftest.err`
11058
 
$rm -r conftest*
11059
 
 
11060
 
 
11061
 
# Allow CC to be a program name with arguments.
11062
 
lt_save_CC=$CC
11063
 
lt_save_LD=$LD
11064
 
lt_save_GCC=$GCC
11065
 
GCC=$GXX
11066
 
lt_save_with_gnu_ld=$with_gnu_ld
11067
 
lt_save_path_LD=$lt_cv_path_LD
11068
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11069
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11070
 
else
11071
 
  $as_unset lt_cv_prog_gnu_ld
11072
 
fi
11073
 
if test -n "${lt_cv_path_LDCXX+set}"; then
11074
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
11075
 
else
11076
 
  $as_unset lt_cv_path_LD
11077
 
fi
11078
 
test -z "${LDCXX+set}" || LD=$LDCXX
11079
 
CC=${CXX-"c++"}
11080
 
compiler=$CC
11081
 
compiler_CXX=$CC
11082
 
for cc_temp in $compiler""; do
11083
 
  case $cc_temp in
11084
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11085
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11086
 
    \-*) ;;
11087
 
    *) break;;
11088
 
  esac
11089
 
done
11090
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11091
 
 
11092
 
 
11093
 
# We don't want -fno-exception wen compiling C++ code, so set the
11094
 
# no_builtin_flag separately
11095
 
if test "$GXX" = yes; then
11096
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11097
 
else
11098
 
  lt_prog_compiler_no_builtin_flag_CXX=
11099
 
fi
11100
 
 
11101
 
if test "$GXX" = yes; then
11102
 
  # Set up default GNU C++ configuration
11103
 
 
11104
 
 
11105
 
# Check whether --with-gnu-ld was given.
11106
 
if test "${with_gnu_ld+set}" = set; then
11107
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11108
 
else
11109
 
  with_gnu_ld=no
11110
 
fi
11111
 
 
11112
 
ac_prog=ld
11113
 
if test "$GCC" = yes; then
11114
 
  # Check if gcc -print-prog-name=ld gives a path.
11115
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11116
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11117
 
  case $host in
11118
 
  *-*-mingw*)
11119
 
    # gcc leaves a trailing carriage return which upsets mingw
11120
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11121
 
  *)
11122
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11123
 
  esac
11124
 
  case $ac_prog in
11125
 
    # Accept absolute paths.
11126
 
    [\\/]* | ?:[\\/]*)
11127
 
      re_direlt='/[^/][^/]*/\.\./'
11128
 
      # Canonicalize the pathname of ld
11129
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11130
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11131
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11132
 
      done
11133
 
      test -z "$LD" && LD="$ac_prog"
11134
 
      ;;
11135
 
  "")
11136
 
    # If it fails, then pretend we aren't using GCC.
11137
 
    ac_prog=ld
11138
 
    ;;
11139
 
  *)
11140
 
    # If it is relative, then search for the first ld in PATH.
11141
 
    with_gnu_ld=unknown
11142
 
    ;;
11143
 
  esac
11144
 
elif test "$with_gnu_ld" = yes; then
11145
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
11146
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11147
 
else
11148
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11149
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11150
 
fi
11151
 
if test "${lt_cv_path_LD+set}" = set; then
11152
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11153
 
else
11154
 
  if test -z "$LD"; then
11155
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11156
 
  for ac_dir in $PATH; do
11157
 
    IFS="$lt_save_ifs"
11158
 
    test -z "$ac_dir" && ac_dir=.
11159
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11160
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
11161
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
11162
 
      # but apparently some variants of GNU ld only accept -v.
11163
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
11164
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11165
 
      *GNU* | *'with BFD'*)
11166
 
        test "$with_gnu_ld" != no && break
11167
 
        ;;
11168
 
      *)
11169
 
        test "$with_gnu_ld" != yes && break
11170
 
        ;;
11171
 
      esac
11172
 
    fi
11173
 
  done
11174
 
  IFS="$lt_save_ifs"
11175
 
else
11176
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
11177
 
fi
11178
 
fi
11179
 
 
11180
 
LD="$lt_cv_path_LD"
11181
 
if test -n "$LD"; then
11182
 
  { echo "$as_me:$LINENO: result: $LD" >&5
11183
 
echo "${ECHO_T}$LD" >&6; }
11184
 
else
11185
 
  { echo "$as_me:$LINENO: result: no" >&5
11186
 
echo "${ECHO_T}no" >&6; }
11187
 
fi
11188
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11189
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11190
 
   { (exit 1); exit 1; }; }
11191
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11192
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11193
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
11194
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11195
 
else
11196
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
11197
 
case `$LD -v 2>&1 </dev/null` in
11198
 
*GNU* | *'with BFD'*)
11199
 
  lt_cv_prog_gnu_ld=yes
11200
 
  ;;
11201
 
*)
11202
 
  lt_cv_prog_gnu_ld=no
11203
 
  ;;
11204
 
esac
11205
 
fi
11206
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11207
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11208
 
with_gnu_ld=$lt_cv_prog_gnu_ld
11209
 
 
11210
 
 
11211
 
 
11212
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
11213
 
  # archiving commands below assume that GNU ld is being used.
11214
 
  if test "$with_gnu_ld" = yes; then
11215
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11216
 
    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'
11217
 
 
11218
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11219
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11220
 
 
11221
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
11222
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11223
 
    #     investigate it a little bit more. (MM)
11224
 
    wlarc='${wl}'
11225
 
 
11226
 
    # ancient GNU ld didn't support --whole-archive et. al.
11227
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11228
 
        grep 'no-whole-archive' > /dev/null; then
11229
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11230
 
    else
11231
 
      whole_archive_flag_spec_CXX=
11232
 
    fi
11233
 
  else
11234
 
    with_gnu_ld=no
11235
 
    wlarc=
11236
 
 
11237
 
    # A generic and very simple default shared library creation
11238
 
    # command for GNU C++ for the case where it uses the native
11239
 
    # linker, instead of GNU ld.  If possible, this setting should
11240
 
    # overridden to take advantage of the native linker features on
11241
 
    # the platform it is being used on.
11242
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11243
 
  fi
11244
 
 
11245
 
  # Commands to make compiler produce verbose output that lists
11246
 
  # what "hidden" libraries, object files and flags are used when
11247
 
  # linking a shared library.
11248
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11249
 
 
11250
 
else
11251
 
  GXX=no
11252
 
  with_gnu_ld=no
11253
 
  wlarc=
11254
 
fi
11255
 
 
11256
 
# PORTME: fill in a description of your system's C++ link characteristics
11257
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11258
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11259
 
ld_shlibs_CXX=yes
11260
 
case $host_os in
11261
 
  aix3*)
11262
 
    # FIXME: insert proper C++ library support
11263
 
    ld_shlibs_CXX=no
11264
 
    ;;
11265
 
  aix[4-9]*)
11266
 
    if test "$host_cpu" = ia64; then
11267
 
      # On IA64, the linker does run time linking by default, so we don't
11268
 
      # have to do anything special.
11269
 
      aix_use_runtimelinking=no
11270
 
      exp_sym_flag='-Bexport'
11271
 
      no_entry_flag=""
11272
 
    else
11273
 
      aix_use_runtimelinking=no
11274
 
 
11275
 
      # Test if we are trying to use run time linking or normal
11276
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11277
 
      # need to do runtime linking.
11278
 
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11279
 
        for ld_flag in $LDFLAGS; do
11280
 
          case $ld_flag in
11281
 
          *-brtl*)
11282
 
            aix_use_runtimelinking=yes
11283
 
            break
11284
 
            ;;
11285
 
          esac
11286
 
        done
11287
 
        ;;
11288
 
      esac
11289
 
 
11290
 
      exp_sym_flag='-bexport'
11291
 
      no_entry_flag='-bnoentry'
11292
 
    fi
11293
 
 
11294
 
    # When large executables or shared objects are built, AIX ld can
11295
 
    # have problems creating the table of contents.  If linking a library
11296
 
    # or program results in "error TOC overflow" add -mminimal-toc to
11297
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11298
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11299
 
 
11300
 
    archive_cmds_CXX=''
11301
 
    hardcode_direct_CXX=yes
11302
 
    hardcode_libdir_separator_CXX=':'
11303
 
    link_all_deplibs_CXX=yes
11304
 
 
11305
 
    if test "$GXX" = yes; then
11306
 
      case $host_os in aix4.[012]|aix4.[012].*)
11307
 
      # We only want to do this on AIX 4.2 and lower, the check
11308
 
      # below for broken collect2 doesn't work under 4.3+
11309
 
        collect2name=`${CC} -print-prog-name=collect2`
11310
 
        if test -f "$collect2name" && \
11311
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
11312
 
        then
11313
 
          # We have reworked collect2
11314
 
          :
11315
 
        else
11316
 
          # We have old collect2
11317
 
          hardcode_direct_CXX=unsupported
11318
 
          # It fails to find uninstalled libraries when the uninstalled
11319
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
11320
 
          # to unsupported forces relinking
11321
 
          hardcode_minus_L_CXX=yes
11322
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
11323
 
          hardcode_libdir_separator_CXX=
11324
 
        fi
11325
 
        ;;
11326
 
      esac
11327
 
      shared_flag='-shared'
11328
 
      if test "$aix_use_runtimelinking" = yes; then
11329
 
        shared_flag="$shared_flag "'${wl}-G'
11330
 
      fi
11331
 
    else
11332
 
      # not using gcc
11333
 
      if test "$host_cpu" = ia64; then
11334
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11335
 
        # chokes on -Wl,-G. The following line is correct:
11336
 
        shared_flag='-G'
11337
 
      else
11338
 
        if test "$aix_use_runtimelinking" = yes; then
11339
 
          shared_flag='${wl}-G'
11340
 
        else
11341
 
          shared_flag='${wl}-bM:SRE'
11342
 
        fi
11343
 
      fi
11344
 
    fi
11345
 
 
11346
 
    # It seems that -bexpall does not export symbols beginning with
11347
 
    # underscore (_), so it is better to generate a list of symbols to export.
11348
 
    always_export_symbols_CXX=yes
11349
 
    if test "$aix_use_runtimelinking" = yes; then
11350
 
      # Warning - without using the other runtime loading flags (-brtl),
11351
 
      # -berok will link without error, but may produce a broken library.
11352
 
      allow_undefined_flag_CXX='-berok'
11353
 
      # Determine the default libpath from the value encoded in an empty executable.
11354
 
      cat >conftest.$ac_ext <<_ACEOF
11355
 
/* confdefs.h.  */
11356
 
_ACEOF
11357
 
cat confdefs.h >>conftest.$ac_ext
11358
 
cat >>conftest.$ac_ext <<_ACEOF
11359
 
/* end confdefs.h.  */
11360
 
 
11361
 
int
11362
 
main ()
11363
 
{
11364
 
 
11365
 
  ;
11366
 
  return 0;
11367
 
}
11368
 
_ACEOF
11369
 
rm -f conftest.$ac_objext conftest$ac_exeext
11370
 
if { (ac_try="$ac_link"
11371
 
case "(($ac_try" in
11372
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11373
 
  *) ac_try_echo=$ac_try;;
11374
 
esac
11375
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11376
 
  (eval "$ac_link") 2>conftest.er1
11377
 
  ac_status=$?
11378
 
  grep -v '^ *+' conftest.er1 >conftest.err
11379
 
  rm -f conftest.er1
11380
 
  cat conftest.err >&5
11381
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11382
 
  (exit $ac_status); } && {
11383
 
         test -z "$ac_cxx_werror_flag" ||
11384
 
         test ! -s conftest.err
11385
 
       } && test -s conftest$ac_exeext &&
11386
 
       $as_test_x conftest$ac_exeext; then
11387
 
 
11388
 
lt_aix_libpath_sed='
11389
 
    /Import File Strings/,/^$/ {
11390
 
        /^0/ {
11391
 
            s/^0  *\(.*\)$/\1/
11392
 
            p
11393
 
        }
11394
 
    }'
11395
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11396
 
# Check for a 64-bit object if we didn't find anything.
11397
 
if test -z "$aix_libpath"; then
11398
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11399
 
fi
11400
 
else
11401
 
  echo "$as_me: failed program was:" >&5
11402
 
sed 's/^/| /' conftest.$ac_ext >&5
11403
 
 
11404
 
 
11405
 
fi
11406
 
 
11407
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11408
 
      conftest$ac_exeext conftest.$ac_ext
11409
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11410
 
 
11411
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11412
 
 
11413
 
      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"
11414
 
     else
11415
 
      if test "$host_cpu" = ia64; then
11416
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11417
 
        allow_undefined_flag_CXX="-z nodefs"
11418
 
        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"
11419
 
      else
11420
 
        # Determine the default libpath from the value encoded in an empty executable.
11421
 
        cat >conftest.$ac_ext <<_ACEOF
11422
 
/* confdefs.h.  */
11423
 
_ACEOF
11424
 
cat confdefs.h >>conftest.$ac_ext
11425
 
cat >>conftest.$ac_ext <<_ACEOF
11426
 
/* end confdefs.h.  */
11427
 
 
11428
 
int
11429
 
main ()
11430
 
{
11431
 
 
11432
 
  ;
11433
 
  return 0;
11434
 
}
11435
 
_ACEOF
11436
 
rm -f conftest.$ac_objext conftest$ac_exeext
11437
 
if { (ac_try="$ac_link"
11438
 
case "(($ac_try" in
11439
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11440
 
  *) ac_try_echo=$ac_try;;
11441
 
esac
11442
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11443
 
  (eval "$ac_link") 2>conftest.er1
11444
 
  ac_status=$?
11445
 
  grep -v '^ *+' conftest.er1 >conftest.err
11446
 
  rm -f conftest.er1
11447
 
  cat conftest.err >&5
11448
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449
 
  (exit $ac_status); } && {
11450
 
         test -z "$ac_cxx_werror_flag" ||
11451
 
         test ! -s conftest.err
11452
 
       } && test -s conftest$ac_exeext &&
11453
 
       $as_test_x conftest$ac_exeext; then
11454
 
 
11455
 
lt_aix_libpath_sed='
11456
 
    /Import File Strings/,/^$/ {
11457
 
        /^0/ {
11458
 
            s/^0  *\(.*\)$/\1/
11459
 
            p
11460
 
        }
11461
 
    }'
11462
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11463
 
# Check for a 64-bit object if we didn't find anything.
11464
 
if test -z "$aix_libpath"; then
11465
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11466
 
fi
11467
 
else
11468
 
  echo "$as_me: failed program was:" >&5
11469
 
sed 's/^/| /' conftest.$ac_ext >&5
11470
 
 
11471
 
 
11472
 
fi
11473
 
 
11474
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11475
 
      conftest$ac_exeext conftest.$ac_ext
11476
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11477
 
 
11478
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11479
 
        # Warning - without using the other run time loading flags,
11480
 
        # -berok will link without error, but may produce a broken library.
11481
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
11482
 
        allow_undefined_flag_CXX=' ${wl}-berok'
11483
 
        # Exported symbols can be pulled into shared objects from archives
11484
 
        whole_archive_flag_spec_CXX='$convenience'
11485
 
        archive_cmds_need_lc_CXX=yes
11486
 
        # This is similar to how AIX traditionally builds its shared libraries.
11487
 
        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'
11488
 
      fi
11489
 
    fi
11490
 
    ;;
11491
 
 
11492
 
  beos*)
11493
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11494
 
      allow_undefined_flag_CXX=unsupported
11495
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11496
 
      # support --undefined.  This deserves some investigation.  FIXME
11497
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11498
 
    else
11499
 
      ld_shlibs_CXX=no
11500
 
    fi
11501
 
    ;;
11502
 
 
11503
 
  chorus*)
11504
 
    case $cc_basename in
11505
 
      *)
11506
 
        # FIXME: insert proper C++ library support
11507
 
        ld_shlibs_CXX=no
11508
 
        ;;
11509
 
    esac
11510
 
    ;;
11511
 
 
11512
 
  cygwin* | mingw* | pw32*)
11513
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11514
 
    # as there is no search path for DLLs.
11515
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
11516
 
    allow_undefined_flag_CXX=unsupported
11517
 
    always_export_symbols_CXX=no
11518
 
    enable_shared_with_static_runtimes_CXX=yes
11519
 
 
11520
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11521
 
      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'
11522
 
      # If the export-symbols file already is a .def file (1st line
11523
 
      # is EXPORTS), use it as is; otherwise, prepend...
11524
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11525
 
        cp $export_symbols $output_objdir/$soname.def;
11526
 
      else
11527
 
        echo EXPORTS > $output_objdir/$soname.def;
11528
 
        cat $export_symbols >> $output_objdir/$soname.def;
11529
 
      fi~
11530
 
      $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'
11531
 
    else
11532
 
      ld_shlibs_CXX=no
11533
 
    fi
11534
 
  ;;
11535
 
      darwin* | rhapsody*)
11536
 
      archive_cmds_need_lc_CXX=no
11537
 
      hardcode_direct_CXX=no
11538
 
      hardcode_automatic_CXX=yes
11539
 
      hardcode_shlibpath_var_CXX=unsupported
11540
 
      whole_archive_flag_spec_CXX=''
11541
 
      link_all_deplibs_CXX=yes
11542
 
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11543
 
      if test "$GXX" = yes ; then
11544
 
      output_verbose_link_cmd='echo'
11545
 
      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}"
11546
 
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11547
 
      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}"
11548
 
      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}"
11549
 
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11550
 
        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}"
11551
 
        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}"
11552
 
      fi
11553
 
      else
11554
 
      case $cc_basename in
11555
 
        xlc*)
11556
 
         output_verbose_link_cmd='echo'
11557
 
          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'
11558
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11559
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11560
 
          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}'
11561
 
          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}'
11562
 
          ;;
11563
 
       *)
11564
 
         ld_shlibs_CXX=no
11565
 
          ;;
11566
 
      esac
11567
 
      fi
11568
 
        ;;
11569
 
 
11570
 
  dgux*)
11571
 
    case $cc_basename in
11572
 
      ec++*)
11573
 
        # FIXME: insert proper C++ library support
11574
 
        ld_shlibs_CXX=no
11575
 
        ;;
11576
 
      ghcx*)
11577
 
        # Green Hills C++ Compiler
11578
 
        # FIXME: insert proper C++ library support
11579
 
        ld_shlibs_CXX=no
11580
 
        ;;
11581
 
      *)
11582
 
        # FIXME: insert proper C++ library support
11583
 
        ld_shlibs_CXX=no
11584
 
        ;;
11585
 
    esac
11586
 
    ;;
11587
 
  freebsd[12]*)
11588
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
11589
 
    ld_shlibs_CXX=no
11590
 
    ;;
11591
 
  freebsd-elf*)
11592
 
    archive_cmds_need_lc_CXX=no
11593
 
    ;;
11594
 
  freebsd* | dragonfly*)
11595
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11596
 
    # conventions
11597
 
    ld_shlibs_CXX=yes
11598
 
    ;;
11599
 
  gnu*)
11600
 
    ;;
11601
 
  hpux9*)
11602
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11603
 
    hardcode_libdir_separator_CXX=:
11604
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11605
 
    hardcode_direct_CXX=yes
11606
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
11607
 
                                # but as the default
11608
 
                                # location of the library.
11609
 
 
11610
 
    case $cc_basename in
11611
 
    CC*)
11612
 
      # FIXME: insert proper C++ library support
11613
 
      ld_shlibs_CXX=no
11614
 
      ;;
11615
 
    aCC*)
11616
 
      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'
11617
 
      # Commands to make compiler produce verbose output that lists
11618
 
      # what "hidden" libraries, object files and flags are used when
11619
 
      # linking a shared library.
11620
 
      #
11621
 
      # There doesn't appear to be a way to prevent this compiler from
11622
 
      # explicitly linking system object files so we need to strip them
11623
 
      # from the output so that they don't get included in the library
11624
 
      # dependencies.
11625
 
      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'
11626
 
      ;;
11627
 
    *)
11628
 
      if test "$GXX" = yes; then
11629
 
        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'
11630
 
      else
11631
 
        # FIXME: insert proper C++ library support
11632
 
        ld_shlibs_CXX=no
11633
 
      fi
11634
 
      ;;
11635
 
    esac
11636
 
    ;;
11637
 
  hpux10*|hpux11*)
11638
 
    if test $with_gnu_ld = no; then
11639
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11640
 
      hardcode_libdir_separator_CXX=:
11641
 
 
11642
 
      case $host_cpu in
11643
 
      hppa*64*|ia64*) ;;
11644
 
      *)
11645
 
        export_dynamic_flag_spec_CXX='${wl}-E'
11646
 
        ;;
11647
 
      esac
11648
 
    fi
11649
 
    case $host_cpu in
11650
 
    hppa*64*|ia64*)
11651
 
      hardcode_direct_CXX=no
11652
 
      hardcode_shlibpath_var_CXX=no
11653
 
      ;;
11654
 
    *)
11655
 
      hardcode_direct_CXX=yes
11656
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
11657
 
                                              # but as the default
11658
 
                                              # location of the library.
11659
 
      ;;
11660
 
    esac
11661
 
 
11662
 
    case $cc_basename in
11663
 
      CC*)
11664
 
        # FIXME: insert proper C++ library support
11665
 
        ld_shlibs_CXX=no
11666
 
        ;;
11667
 
      aCC*)
11668
 
        case $host_cpu in
11669
 
        hppa*64*)
11670
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11671
 
          ;;
11672
 
        ia64*)
11673
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11674
 
          ;;
11675
 
        *)
11676
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11677
 
          ;;
11678
 
        esac
11679
 
        # Commands to make compiler produce verbose output that lists
11680
 
        # what "hidden" libraries, object files and flags are used when
11681
 
        # linking a shared library.
11682
 
        #
11683
 
        # There doesn't appear to be a way to prevent this compiler from
11684
 
        # explicitly linking system object files so we need to strip them
11685
 
        # from the output so that they don't get included in the library
11686
 
        # dependencies.
11687
 
        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'
11688
 
        ;;
11689
 
      *)
11690
 
        if test "$GXX" = yes; then
11691
 
          if test $with_gnu_ld = no; then
11692
 
            case $host_cpu in
11693
 
            hppa*64*)
11694
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11695
 
              ;;
11696
 
            ia64*)
11697
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11698
 
              ;;
11699
 
            *)
11700
 
              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'
11701
 
              ;;
11702
 
            esac
11703
 
          fi
11704
 
        else
11705
 
          # FIXME: insert proper C++ library support
11706
 
          ld_shlibs_CXX=no
11707
 
        fi
11708
 
        ;;
11709
 
    esac
11710
 
    ;;
11711
 
  interix[3-9]*)
11712
 
    hardcode_direct_CXX=no
11713
 
    hardcode_shlibpath_var_CXX=no
11714
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11715
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11716
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11717
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
11718
 
    # default) and relocated if they conflict, which is a slow very memory
11719
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
11720
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11721
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11722
 
    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'
11723
 
    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'
11724
 
    ;;
11725
 
  irix5* | irix6*)
11726
 
    case $cc_basename in
11727
 
      CC*)
11728
 
        # SGI C++
11729
 
        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'
11730
 
 
11731
 
        # Archives containing C++ object files must be created using
11732
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11733
 
        # necessary to make sure instantiated templates are included
11734
 
        # in the archive.
11735
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11736
 
        ;;
11737
 
      *)
11738
 
        if test "$GXX" = yes; then
11739
 
          if test "$with_gnu_ld" = no; then
11740
 
            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'
11741
 
          else
11742
 
            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'
11743
 
          fi
11744
 
        fi
11745
 
        link_all_deplibs_CXX=yes
11746
 
        ;;
11747
 
    esac
11748
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11749
 
    hardcode_libdir_separator_CXX=:
11750
 
    ;;
11751
 
  linux* | k*bsd*-gnu)
11752
 
    case $cc_basename in
11753
 
      KCC*)
11754
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11755
 
 
11756
 
        # KCC will only create a shared library if the output file
11757
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11758
 
        # to its proper name (with version) after linking.
11759
 
        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'
11760
 
        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'
11761
 
        # Commands to make compiler produce verbose output that lists
11762
 
        # what "hidden" libraries, object files and flags are used when
11763
 
        # linking a shared library.
11764
 
        #
11765
 
        # There doesn't appear to be a way to prevent this compiler from
11766
 
        # explicitly linking system object files so we need to strip them
11767
 
        # from the output so that they don't get included in the library
11768
 
        # dependencies.
11769
 
        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'
11770
 
 
11771
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
11772
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11773
 
 
11774
 
        # Archives containing C++ object files must be created using
11775
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11776
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11777
 
        ;;
11778
 
      icpc*)
11779
 
        # Intel C++
11780
 
        with_gnu_ld=yes
11781
 
        # version 8.0 and above of icpc choke on multiply defined symbols
11782
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
11783
 
        # earlier do not add the objects themselves.
11784
 
        case `$CC -V 2>&1` in
11785
 
        *"Version 7."*)
11786
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11787
 
          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'
11788
 
          ;;
11789
 
        *)  # Version 8.0 or newer
11790
 
          tmp_idyn=
11791
 
          case $host_cpu in
11792
 
            ia64*) tmp_idyn=' -i_dynamic';;
11793
 
          esac
11794
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11795
 
          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'
11796
 
          ;;
11797
 
        esac
11798
 
        archive_cmds_need_lc_CXX=no
11799
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11800
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11801
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11802
 
        ;;
11803
 
      pgCC* | pgcpp*)
11804
 
        # Portland Group C++ compiler
11805
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11806
 
        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'
11807
 
 
11808
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11809
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11810
 
        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'
11811
 
        ;;
11812
 
      cxx*)
11813
 
        # Compaq C++
11814
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11815
 
        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'
11816
 
 
11817
 
        runpath_var=LD_RUN_PATH
11818
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11819
 
        hardcode_libdir_separator_CXX=:
11820
 
 
11821
 
        # Commands to make compiler produce verbose output that lists
11822
 
        # what "hidden" libraries, object files and flags are used when
11823
 
        # linking a shared library.
11824
 
        #
11825
 
        # There doesn't appear to be a way to prevent this compiler from
11826
 
        # explicitly linking system object files so we need to strip them
11827
 
        # from the output so that they don't get included in the library
11828
 
        # dependencies.
11829
 
        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'
11830
 
        ;;
11831
 
      *)
11832
 
        case `$CC -V 2>&1 | sed 5q` in
11833
 
        *Sun\ C*)
11834
 
          # Sun C++ 5.9
11835
 
          no_undefined_flag_CXX=' -zdefs'
11836
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11837
 
          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'
11838
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
11839
 
          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'
11840
 
 
11841
 
          # Not sure whether something based on
11842
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11843
 
          # would be better.
11844
 
          output_verbose_link_cmd='echo'
11845
 
 
11846
 
          # Archives containing C++ object files must be created using
11847
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11848
 
          # necessary to make sure instantiated templates are included
11849
 
          # in the archive.
11850
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11851
 
          ;;
11852
 
        esac
11853
 
        ;;
11854
 
    esac
11855
 
    ;;
11856
 
  lynxos*)
11857
 
    # FIXME: insert proper C++ library support
11858
 
    ld_shlibs_CXX=no
11859
 
    ;;
11860
 
  m88k*)
11861
 
    # FIXME: insert proper C++ library support
11862
 
    ld_shlibs_CXX=no
11863
 
    ;;
11864
 
  mvs*)
11865
 
    case $cc_basename in
11866
 
      cxx*)
11867
 
        # FIXME: insert proper C++ library support
11868
 
        ld_shlibs_CXX=no
11869
 
        ;;
11870
 
      *)
11871
 
        # FIXME: insert proper C++ library support
11872
 
        ld_shlibs_CXX=no
11873
 
        ;;
11874
 
    esac
11875
 
    ;;
11876
 
  netbsd* | netbsdelf*-gnu)
11877
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11878
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11879
 
      wlarc=
11880
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
11881
 
      hardcode_direct_CXX=yes
11882
 
      hardcode_shlibpath_var_CXX=no
11883
 
    fi
11884
 
    # Workaround some broken pre-1.5 toolchains
11885
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11886
 
    ;;
11887
 
  openbsd2*)
11888
 
    # C++ shared libraries are fairly broken
11889
 
    ld_shlibs_CXX=no
11890
 
    ;;
11891
 
  openbsd*)
11892
 
    if test -f /usr/libexec/ld.so; then
11893
 
      hardcode_direct_CXX=yes
11894
 
      hardcode_shlibpath_var_CXX=no
11895
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11896
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11897
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11898
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11899
 
        export_dynamic_flag_spec_CXX='${wl}-E'
11900
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11901
 
      fi
11902
 
      output_verbose_link_cmd='echo'
11903
 
    else
11904
 
      ld_shlibs_CXX=no
11905
 
    fi
11906
 
    ;;
11907
 
  osf3*)
11908
 
    case $cc_basename in
11909
 
      KCC*)
11910
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11911
 
 
11912
 
        # KCC will only create a shared library if the output file
11913
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11914
 
        # to its proper name (with version) after linking.
11915
 
        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'
11916
 
 
11917
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11918
 
        hardcode_libdir_separator_CXX=:
11919
 
 
11920
 
        # Archives containing C++ object files must be created using
11921
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11922
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11923
 
 
11924
 
        ;;
11925
 
      RCC*)
11926
 
        # Rational C++ 2.4.1
11927
 
        # FIXME: insert proper C++ library support
11928
 
        ld_shlibs_CXX=no
11929
 
        ;;
11930
 
      cxx*)
11931
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11932
 
        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'
11933
 
 
11934
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11935
 
        hardcode_libdir_separator_CXX=:
11936
 
 
11937
 
        # Commands to make compiler produce verbose output that lists
11938
 
        # what "hidden" libraries, object files and flags are used when
11939
 
        # linking a shared library.
11940
 
        #
11941
 
        # There doesn't appear to be a way to prevent this compiler from
11942
 
        # explicitly linking system object files so we need to strip them
11943
 
        # from the output so that they don't get included in the library
11944
 
        # dependencies.
11945
 
        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'
11946
 
        ;;
11947
 
      *)
11948
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11949
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11950
 
          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'
11951
 
 
11952
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11953
 
          hardcode_libdir_separator_CXX=:
11954
 
 
11955
 
          # Commands to make compiler produce verbose output that lists
11956
 
          # what "hidden" libraries, object files and flags are used when
11957
 
          # linking a shared library.
11958
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11959
 
 
11960
 
        else
11961
 
          # FIXME: insert proper C++ library support
11962
 
          ld_shlibs_CXX=no
11963
 
        fi
11964
 
        ;;
11965
 
    esac
11966
 
    ;;
11967
 
  osf4* | osf5*)
11968
 
    case $cc_basename in
11969
 
      KCC*)
11970
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11971
 
 
11972
 
        # KCC will only create a shared library if the output file
11973
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11974
 
        # to its proper name (with version) after linking.
11975
 
        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'
11976
 
 
11977
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11978
 
        hardcode_libdir_separator_CXX=:
11979
 
 
11980
 
        # Archives containing C++ object files must be created using
11981
 
        # the KAI C++ compiler.
11982
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
11983
 
        ;;
11984
 
      RCC*)
11985
 
        # Rational C++ 2.4.1
11986
 
        # FIXME: insert proper C++ library support
11987
 
        ld_shlibs_CXX=no
11988
 
        ;;
11989
 
      cxx*)
11990
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
11991
 
        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'
11992
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11993
 
          echo "-hidden">> $lib.exp~
11994
 
          $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~
11995
 
          $rm $lib.exp'
11996
 
 
11997
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11998
 
        hardcode_libdir_separator_CXX=:
11999
 
 
12000
 
        # Commands to make compiler produce verbose output that lists
12001
 
        # what "hidden" libraries, object files and flags are used when
12002
 
        # linking a shared library.
12003
 
        #
12004
 
        # There doesn't appear to be a way to prevent this compiler from
12005
 
        # explicitly linking system object files so we need to strip them
12006
 
        # from the output so that they don't get included in the library
12007
 
        # dependencies.
12008
 
        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'
12009
 
        ;;
12010
 
      *)
12011
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12012
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12013
 
         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'
12014
 
 
12015
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12016
 
          hardcode_libdir_separator_CXX=:
12017
 
 
12018
 
          # Commands to make compiler produce verbose output that lists
12019
 
          # what "hidden" libraries, object files and flags are used when
12020
 
          # linking a shared library.
12021
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12022
 
 
12023
 
        else
12024
 
          # FIXME: insert proper C++ library support
12025
 
          ld_shlibs_CXX=no
12026
 
        fi
12027
 
        ;;
12028
 
    esac
12029
 
    ;;
12030
 
  psos*)
12031
 
    # FIXME: insert proper C++ library support
12032
 
    ld_shlibs_CXX=no
12033
 
    ;;
12034
 
  sunos4*)
12035
 
    case $cc_basename in
12036
 
      CC*)
12037
 
        # Sun C++ 4.x
12038
 
        # FIXME: insert proper C++ library support
12039
 
        ld_shlibs_CXX=no
12040
 
        ;;
12041
 
      lcc*)
12042
 
        # Lucid
12043
 
        # FIXME: insert proper C++ library support
12044
 
        ld_shlibs_CXX=no
12045
 
        ;;
12046
 
      *)
12047
 
        # FIXME: insert proper C++ library support
12048
 
        ld_shlibs_CXX=no
12049
 
        ;;
12050
 
    esac
12051
 
    ;;
12052
 
  solaris*)
12053
 
    case $cc_basename in
12054
 
      CC*)
12055
 
        # Sun C++ 4.2, 5.x and Centerline C++
12056
 
        archive_cmds_need_lc_CXX=yes
12057
 
        no_undefined_flag_CXX=' -zdefs'
12058
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12059
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12060
 
        $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'
12061
 
 
12062
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
12063
 
        hardcode_shlibpath_var_CXX=no
12064
 
        case $host_os in
12065
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12066
 
          *)
12067
 
            # The compiler driver will combine and reorder linker options,
12068
 
            # but understands `-z linker_flag'.
12069
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
12070
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12071
 
            ;;
12072
 
        esac
12073
 
        link_all_deplibs_CXX=yes
12074
 
 
12075
 
        output_verbose_link_cmd='echo'
12076
 
 
12077
 
        # Archives containing C++ object files must be created using
12078
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12079
 
        # necessary to make sure instantiated templates are included
12080
 
        # in the archive.
12081
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12082
 
        ;;
12083
 
      gcx*)
12084
 
        # Green Hills C++ Compiler
12085
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12086
 
 
12087
 
        # The C++ compiler must be used to create the archive.
12088
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12089
 
        ;;
12090
 
      *)
12091
 
        # GNU C++ compiler with Solaris linker
12092
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12093
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12094
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
12095
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12096
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12097
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12098
 
 
12099
 
            # Commands to make compiler produce verbose output that lists
12100
 
            # what "hidden" libraries, object files and flags are used when
12101
 
            # linking a shared library.
12102
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12103
 
          else
12104
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
12105
 
            # platform.
12106
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12107
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12108
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12109
 
 
12110
 
            # Commands to make compiler produce verbose output that lists
12111
 
            # what "hidden" libraries, object files and flags are used when
12112
 
            # linking a shared library.
12113
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12114
 
          fi
12115
 
 
12116
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12117
 
          case $host_os in
12118
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12119
 
          *)
12120
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12121
 
            ;;
12122
 
          esac
12123
 
        fi
12124
 
        ;;
12125
 
    esac
12126
 
    ;;
12127
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12128
 
    no_undefined_flag_CXX='${wl}-z,text'
12129
 
    archive_cmds_need_lc_CXX=no
12130
 
    hardcode_shlibpath_var_CXX=no
12131
 
    runpath_var='LD_RUN_PATH'
12132
 
 
12133
 
    case $cc_basename in
12134
 
      CC*)
12135
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12136
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12137
 
        ;;
12138
 
      *)
12139
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12140
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12141
 
        ;;
12142
 
    esac
12143
 
    ;;
12144
 
  sysv5* | sco3.2v5* | sco5v6*)
12145
 
    # Note: We can NOT use -z defs as we might desire, because we do not
12146
 
    # link with -lc, and that would cause any symbols used from libc to
12147
 
    # always be unresolved, which means just about no library would
12148
 
    # ever link correctly.  If we're not using GNU ld we use -z text
12149
 
    # though, which does catch some bad symbols but isn't as heavy-handed
12150
 
    # as -z defs.
12151
 
    # For security reasons, it is highly recommended that you always
12152
 
    # use absolute paths for naming shared libraries, and exclude the
12153
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
12154
 
    # requires that you compile everything twice, which is a pain.
12155
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
12156
 
    # non-empty value in the environment.  Most likely only useful for
12157
 
    # creating official distributions of packages.
12158
 
    # This is a hack until libtool officially supports absolute path
12159
 
    # names for shared libraries.
12160
 
    no_undefined_flag_CXX='${wl}-z,text'
12161
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
12162
 
    archive_cmds_need_lc_CXX=no
12163
 
    hardcode_shlibpath_var_CXX=no
12164
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12165
 
    hardcode_libdir_separator_CXX=':'
12166
 
    link_all_deplibs_CXX=yes
12167
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
12168
 
    runpath_var='LD_RUN_PATH'
12169
 
 
12170
 
    case $cc_basename in
12171
 
      CC*)
12172
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12173
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12174
 
        ;;
12175
 
      *)
12176
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12177
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12178
 
        ;;
12179
 
    esac
12180
 
    ;;
12181
 
  tandem*)
12182
 
    case $cc_basename in
12183
 
      NCC*)
12184
 
        # NonStop-UX NCC 3.20
12185
 
        # FIXME: insert proper C++ library support
12186
 
        ld_shlibs_CXX=no
12187
 
        ;;
12188
 
      *)
12189
 
        # FIXME: insert proper C++ library support
12190
 
        ld_shlibs_CXX=no
12191
 
        ;;
12192
 
    esac
12193
 
    ;;
12194
 
  vxworks*)
12195
 
    # FIXME: insert proper C++ library support
12196
 
    ld_shlibs_CXX=no
12197
 
    ;;
12198
 
  *)
12199
 
    # FIXME: insert proper C++ library support
12200
 
    ld_shlibs_CXX=no
12201
 
    ;;
12202
 
esac
12203
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12204
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12205
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12206
 
 
12207
 
GCC_CXX="$GXX"
12208
 
LD_CXX="$LD"
12209
 
 
12210
 
cat > conftest.$ac_ext <<EOF
12211
 
class Foo
12212
 
{
12213
 
public:
12214
 
  Foo (void) { a = 0; }
12215
 
private:
12216
 
  int a;
12217
 
};
12218
 
EOF
12219
 
 
12220
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12221
 
  (eval $ac_compile) 2>&5
12222
 
  ac_status=$?
12223
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12224
 
  (exit $ac_status); }; then
12225
 
  # Parse the compiler output and extract the necessary
12226
 
  # objects, libraries and library flags.
12227
 
 
12228
 
  # Sentinel used to keep track of whether or not we are before
12229
 
  # the conftest object file.
12230
 
  pre_test_object_deps_done=no
12231
 
 
12232
 
  # The `*' in the case matches for architectures that use `case' in
12233
 
  # $output_verbose_cmd can trigger glob expansion during the loop
12234
 
  # eval without this substitution.
12235
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12236
 
 
12237
 
  for p in `eval $output_verbose_link_cmd`; do
12238
 
    case $p in
12239
 
 
12240
 
    -L* | -R* | -l*)
12241
 
       # Some compilers place space between "-{L,R}" and the path.
12242
 
       # Remove the space.
12243
 
       if test $p = "-L" \
12244
 
          || test $p = "-R"; then
12245
 
         prev=$p
12246
 
         continue
12247
 
       else
12248
 
         prev=
12249
 
       fi
12250
 
 
12251
 
       if test "$pre_test_object_deps_done" = no; then
12252
 
         case $p in
12253
 
         -L* | -R*)
12254
 
           # Internal compiler library paths should come after those
12255
 
           # provided the user.  The postdeps already come after the
12256
 
           # user supplied libs so there is no need to process them.
12257
 
           if test -z "$compiler_lib_search_path_CXX"; then
12258
 
             compiler_lib_search_path_CXX="${prev}${p}"
12259
 
           else
12260
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12261
 
           fi
12262
 
           ;;
12263
 
         # The "-l" case would never come before the object being
12264
 
         # linked, so don't bother handling this case.
12265
 
         esac
12266
 
       else
12267
 
         if test -z "$postdeps_CXX"; then
12268
 
           postdeps_CXX="${prev}${p}"
12269
 
         else
12270
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12271
 
         fi
12272
 
       fi
12273
 
       ;;
12274
 
 
12275
 
    *.$objext)
12276
 
       # This assumes that the test object file only shows up
12277
 
       # once in the compiler output.
12278
 
       if test "$p" = "conftest.$objext"; then
12279
 
         pre_test_object_deps_done=yes
12280
 
         continue
12281
 
       fi
12282
 
 
12283
 
       if test "$pre_test_object_deps_done" = no; then
12284
 
         if test -z "$predep_objects_CXX"; then
12285
 
           predep_objects_CXX="$p"
12286
 
         else
12287
 
           predep_objects_CXX="$predep_objects_CXX $p"
12288
 
         fi
12289
 
       else
12290
 
         if test -z "$postdep_objects_CXX"; then
12291
 
           postdep_objects_CXX="$p"
12292
 
         else
12293
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
12294
 
         fi
12295
 
       fi
12296
 
       ;;
12297
 
 
12298
 
    *) ;; # Ignore the rest.
12299
 
 
12300
 
    esac
12301
 
  done
12302
 
 
12303
 
  # Clean up.
12304
 
  rm -f a.out a.exe
12305
 
else
12306
 
  echo "libtool.m4: error: problem compiling CXX test program"
12307
 
fi
12308
 
 
12309
 
$rm -f confest.$objext
12310
 
 
12311
 
compiler_lib_search_dirs_CXX=
12312
 
if test -n "$compiler_lib_search_path_CXX"; then
12313
 
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12314
 
fi
12315
 
 
12316
 
# PORTME: override above test on systems where it is broken
12317
 
case $host_os in
12318
 
interix[3-9]*)
12319
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
12320
 
  # hack all around it, let's just trust "g++" to DTRT.
12321
 
  predep_objects_CXX=
12322
 
  postdep_objects_CXX=
12323
 
  postdeps_CXX=
12324
 
  ;;
12325
 
 
12326
 
linux*)
12327
 
  case `$CC -V 2>&1 | sed 5q` in
12328
 
  *Sun\ C*)
12329
 
    # Sun C++ 5.9
12330
 
    #
12331
 
    # The more standards-conforming stlport4 library is
12332
 
    # incompatible with the Cstd library. Avoid specifying
12333
 
    # it if it's in CXXFLAGS. Ignore libCrun as
12334
 
    # -library=stlport4 depends on it.
12335
 
    case " $CXX $CXXFLAGS " in
12336
 
    *" -library=stlport4 "*)
12337
 
      solaris_use_stlport4=yes
12338
 
      ;;
12339
 
    esac
12340
 
    if test "$solaris_use_stlport4" != yes; then
12341
 
      postdeps_CXX='-library=Cstd -library=Crun'
12342
 
    fi
12343
 
    ;;
12344
 
  esac
12345
 
  ;;
12346
 
 
12347
 
solaris*)
12348
 
  case $cc_basename in
12349
 
  CC*)
12350
 
    # The more standards-conforming stlport4 library is
12351
 
    # incompatible with the Cstd library. Avoid specifying
12352
 
    # it if it's in CXXFLAGS. Ignore libCrun as
12353
 
    # -library=stlport4 depends on it.
12354
 
    case " $CXX $CXXFLAGS " in
12355
 
    *" -library=stlport4 "*)
12356
 
      solaris_use_stlport4=yes
12357
 
      ;;
12358
 
    esac
12359
 
 
12360
 
    # Adding this requires a known-good setup of shared libraries for
12361
 
    # Sun compiler versions before 5.6, else PIC objects from an old
12362
 
    # archive will be linked into the output, leading to subtle bugs.
12363
 
    if test "$solaris_use_stlport4" != yes; then
12364
 
      postdeps_CXX='-library=Cstd -library=Crun'
12365
 
    fi
12366
 
    ;;
12367
 
  esac
12368
 
  ;;
12369
 
esac
12370
 
 
12371
 
case " $postdeps_CXX " in
12372
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12373
 
esac
12374
 
 
12375
 
lt_prog_compiler_wl_CXX=
12376
 
lt_prog_compiler_pic_CXX=
12377
 
lt_prog_compiler_static_CXX=
12378
 
 
12379
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12380
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12381
 
 
12382
 
  # C++ specific cases for pic, static, wl, etc.
12383
 
  if test "$GXX" = yes; then
12384
 
    lt_prog_compiler_wl_CXX='-Wl,'
12385
 
    lt_prog_compiler_static_CXX='-static'
12386
 
 
12387
 
    case $host_os in
12388
 
    aix*)
12389
 
      # All AIX code is PIC.
12390
 
      if test "$host_cpu" = ia64; then
12391
 
        # AIX 5 now supports IA64 processor
12392
 
        lt_prog_compiler_static_CXX='-Bstatic'
12393
 
      fi
12394
 
      ;;
12395
 
    amigaos*)
12396
 
      # FIXME: we need at least 68020 code to build shared libraries, but
12397
 
      # adding the `-m68020' flag to GCC prevents building anything better,
12398
 
      # like `-m68040'.
12399
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12400
 
      ;;
12401
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12402
 
      # PIC is the default for these OSes.
12403
 
      ;;
12404
 
    mingw* | cygwin* | os2* | pw32*)
12405
 
      # This hack is so that the source file can tell whether it is being
12406
 
      # built for inclusion in a dll (and should export symbols for example).
12407
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
12408
 
      # (--disable-auto-import) libraries
12409
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12410
 
      ;;
12411
 
    darwin* | rhapsody*)
12412
 
      # PIC is the default on this platform
12413
 
      # Common symbols not allowed in MH_DYLIB files
12414
 
      lt_prog_compiler_pic_CXX='-fno-common'
12415
 
      ;;
12416
 
    *djgpp*)
12417
 
      # DJGPP does not support shared libraries at all
12418
 
      lt_prog_compiler_pic_CXX=
12419
 
      ;;
12420
 
    interix[3-9]*)
12421
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12422
 
      # Instead, we relocate shared libraries at runtime.
12423
 
      ;;
12424
 
    sysv4*MP*)
12425
 
      if test -d /usr/nec; then
12426
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
12427
 
      fi
12428
 
      ;;
12429
 
    hpux*)
12430
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12431
 
      # not for PA HP-UX.
12432
 
      case $host_cpu in
12433
 
      hppa*64*|ia64*)
12434
 
        ;;
12435
 
      *)
12436
 
        lt_prog_compiler_pic_CXX='-fPIC'
12437
 
        ;;
12438
 
      esac
12439
 
      ;;
12440
 
    *)
12441
 
      lt_prog_compiler_pic_CXX='-fPIC'
12442
 
      ;;
12443
 
    esac
12444
 
  else
12445
 
    case $host_os in
12446
 
      aix[4-9]*)
12447
 
        # All AIX code is PIC.
12448
 
        if test "$host_cpu" = ia64; then
12449
 
          # AIX 5 now supports IA64 processor
12450
 
          lt_prog_compiler_static_CXX='-Bstatic'
12451
 
        else
12452
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12453
 
        fi
12454
 
        ;;
12455
 
      chorus*)
12456
 
        case $cc_basename in
12457
 
        cxch68*)
12458
 
          # Green Hills C++ Compiler
12459
 
          # _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"
12460
 
          ;;
12461
 
        esac
12462
 
        ;;
12463
 
       darwin*)
12464
 
         # PIC is the default on this platform
12465
 
         # Common symbols not allowed in MH_DYLIB files
12466
 
         case $cc_basename in
12467
 
           xlc*)
12468
 
           lt_prog_compiler_pic_CXX='-qnocommon'
12469
 
           lt_prog_compiler_wl_CXX='-Wl,'
12470
 
           ;;
12471
 
         esac
12472
 
       ;;
12473
 
      dgux*)
12474
 
        case $cc_basename in
12475
 
          ec++*)
12476
 
            lt_prog_compiler_pic_CXX='-KPIC'
12477
 
            ;;
12478
 
          ghcx*)
12479
 
            # Green Hills C++ Compiler
12480
 
            lt_prog_compiler_pic_CXX='-pic'
12481
 
            ;;
12482
 
          *)
12483
 
            ;;
12484
 
        esac
12485
 
        ;;
12486
 
      freebsd* | dragonfly*)
12487
 
        # FreeBSD uses GNU C++
12488
 
        ;;
12489
 
      hpux9* | hpux10* | hpux11*)
12490
 
        case $cc_basename in
12491
 
          CC*)
12492
 
            lt_prog_compiler_wl_CXX='-Wl,'
12493
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12494
 
            if test "$host_cpu" != ia64; then
12495
 
              lt_prog_compiler_pic_CXX='+Z'
12496
 
            fi
12497
 
            ;;
12498
 
          aCC*)
12499
 
            lt_prog_compiler_wl_CXX='-Wl,'
12500
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12501
 
            case $host_cpu in
12502
 
            hppa*64*|ia64*)
12503
 
              # +Z the default
12504
 
              ;;
12505
 
            *)
12506
 
              lt_prog_compiler_pic_CXX='+Z'
12507
 
              ;;
12508
 
            esac
12509
 
            ;;
12510
 
          *)
12511
 
            ;;
12512
 
        esac
12513
 
        ;;
12514
 
      interix*)
12515
 
        # This is c89, which is MS Visual C++ (no shared libs)
12516
 
        # Anyone wants to do a port?
12517
 
        ;;
12518
 
      irix5* | irix6* | nonstopux*)
12519
 
        case $cc_basename in
12520
 
          CC*)
12521
 
            lt_prog_compiler_wl_CXX='-Wl,'
12522
 
            lt_prog_compiler_static_CXX='-non_shared'
12523
 
            # CC pic flag -KPIC is the default.
12524
 
            ;;
12525
 
          *)
12526
 
            ;;
12527
 
        esac
12528
 
        ;;
12529
 
      linux* | k*bsd*-gnu)
12530
 
        case $cc_basename in
12531
 
          KCC*)
12532
 
            # KAI C++ Compiler
12533
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12534
 
            lt_prog_compiler_pic_CXX='-fPIC'
12535
 
            ;;
12536
 
          icpc* | ecpc*)
12537
 
            # Intel C++
12538
 
            lt_prog_compiler_wl_CXX='-Wl,'
12539
 
            lt_prog_compiler_pic_CXX='-KPIC'
12540
 
            lt_prog_compiler_static_CXX='-static'
12541
 
            ;;
12542
 
          pgCC* | pgcpp*)
12543
 
            # Portland Group C++ compiler.
12544
 
            lt_prog_compiler_wl_CXX='-Wl,'
12545
 
            lt_prog_compiler_pic_CXX='-fpic'
12546
 
            lt_prog_compiler_static_CXX='-Bstatic'
12547
 
            ;;
12548
 
          cxx*)
12549
 
            # Compaq C++
12550
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
12551
 
            # Linux and Compaq Tru64 Unix objects are PIC.
12552
 
            lt_prog_compiler_pic_CXX=
12553
 
            lt_prog_compiler_static_CXX='-non_shared'
12554
 
            ;;
12555
 
          *)
12556
 
            case `$CC -V 2>&1 | sed 5q` in
12557
 
            *Sun\ C*)
12558
 
              # Sun C++ 5.9
12559
 
              lt_prog_compiler_pic_CXX='-KPIC'
12560
 
              lt_prog_compiler_static_CXX='-Bstatic'
12561
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
12562
 
              ;;
12563
 
            esac
12564
 
            ;;
12565
 
        esac
12566
 
        ;;
12567
 
      lynxos*)
12568
 
        ;;
12569
 
      m88k*)
12570
 
        ;;
12571
 
      mvs*)
12572
 
        case $cc_basename in
12573
 
          cxx*)
12574
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
12575
 
            ;;
12576
 
          *)
12577
 
            ;;
12578
 
        esac
12579
 
        ;;
12580
 
      netbsd* | netbsdelf*-gnu)
12581
 
        ;;
12582
 
      osf3* | osf4* | osf5*)
12583
 
        case $cc_basename in
12584
 
          KCC*)
12585
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12586
 
            ;;
12587
 
          RCC*)
12588
 
            # Rational C++ 2.4.1
12589
 
            lt_prog_compiler_pic_CXX='-pic'
12590
 
            ;;
12591
 
          cxx*)
12592
 
            # Digital/Compaq C++
12593
 
            lt_prog_compiler_wl_CXX='-Wl,'
12594
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
12595
 
            # Linux and Compaq Tru64 Unix objects are PIC.
12596
 
            lt_prog_compiler_pic_CXX=
12597
 
            lt_prog_compiler_static_CXX='-non_shared'
12598
 
            ;;
12599
 
          *)
12600
 
            ;;
12601
 
        esac
12602
 
        ;;
12603
 
      psos*)
12604
 
        ;;
12605
 
      solaris*)
12606
 
        case $cc_basename in
12607
 
          CC*)
12608
 
            # Sun C++ 4.2, 5.x and Centerline C++
12609
 
            lt_prog_compiler_pic_CXX='-KPIC'
12610
 
            lt_prog_compiler_static_CXX='-Bstatic'
12611
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
12612
 
            ;;
12613
 
          gcx*)
12614
 
            # Green Hills C++ Compiler
12615
 
            lt_prog_compiler_pic_CXX='-PIC'
12616
 
            ;;
12617
 
          *)
12618
 
            ;;
12619
 
        esac
12620
 
        ;;
12621
 
      sunos4*)
12622
 
        case $cc_basename in
12623
 
          CC*)
12624
 
            # Sun C++ 4.x
12625
 
            lt_prog_compiler_pic_CXX='-pic'
12626
 
            lt_prog_compiler_static_CXX='-Bstatic'
12627
 
            ;;
12628
 
          lcc*)
12629
 
            # Lucid
12630
 
            lt_prog_compiler_pic_CXX='-pic'
12631
 
            ;;
12632
 
          *)
12633
 
            ;;
12634
 
        esac
12635
 
        ;;
12636
 
      tandem*)
12637
 
        case $cc_basename in
12638
 
          NCC*)
12639
 
            # NonStop-UX NCC 3.20
12640
 
            lt_prog_compiler_pic_CXX='-KPIC'
12641
 
            ;;
12642
 
          *)
12643
 
            ;;
12644
 
        esac
12645
 
        ;;
12646
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12647
 
        case $cc_basename in
12648
 
          CC*)
12649
 
            lt_prog_compiler_wl_CXX='-Wl,'
12650
 
            lt_prog_compiler_pic_CXX='-KPIC'
12651
 
            lt_prog_compiler_static_CXX='-Bstatic'
12652
 
            ;;
12653
 
        esac
12654
 
        ;;
12655
 
      vxworks*)
12656
 
        ;;
12657
 
      *)
12658
 
        lt_prog_compiler_can_build_shared_CXX=no
12659
 
        ;;
12660
 
    esac
12661
 
  fi
12662
 
 
12663
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12664
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12665
 
 
12666
 
#
12667
 
# Check to make sure the PIC flag actually works.
12668
 
#
12669
 
if test -n "$lt_prog_compiler_pic_CXX"; then
12670
 
 
12671
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12672
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12673
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
12674
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12675
 
else
12676
 
  lt_cv_prog_compiler_pic_works_CXX=no
12677
 
  ac_outfile=conftest.$ac_objext
12678
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12679
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12680
 
   # Insert the option either (1) after the last *FLAGS variable, or
12681
 
   # (2) before a word containing "conftest.", or (3) at the end.
12682
 
   # Note that $ac_compile itself does not contain backslashes and begins
12683
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12684
 
   # The option is referenced via a variable to avoid confusing sed.
12685
 
   lt_compile=`echo "$ac_compile" | $SED \
12686
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12687
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12688
 
   -e 's:$: $lt_compiler_flag:'`
12689
 
   (eval echo "\"\$as_me:12689: $lt_compile\"" >&5)
12690
 
   (eval "$lt_compile" 2>conftest.err)
12691
 
   ac_status=$?
12692
 
   cat conftest.err >&5
12693
 
   echo "$as_me:12693: \$? = $ac_status" >&5
12694
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
12695
 
     # The compiler can only warn and ignore the option if not recognized
12696
 
     # So say no if there are warnings other than the usual output.
12697
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12698
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12699
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12700
 
       lt_cv_prog_compiler_pic_works_CXX=yes
12701
 
     fi
12702
 
   fi
12703
 
   $rm conftest*
12704
 
 
12705
 
fi
12706
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
12707
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12708
 
 
12709
 
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
12710
 
    case $lt_prog_compiler_pic_CXX in
12711
 
     "" | " "*) ;;
12712
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12713
 
     esac
12714
 
else
12715
 
    lt_prog_compiler_pic_CXX=
12716
 
     lt_prog_compiler_can_build_shared_CXX=no
12717
 
fi
12718
 
 
12719
 
fi
12720
 
case $host_os in
12721
 
  # For platforms which do not support PIC, -DPIC is meaningless:
12722
 
  *djgpp*)
12723
 
    lt_prog_compiler_pic_CXX=
12724
 
    ;;
12725
 
  *)
12726
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12727
 
    ;;
12728
 
esac
12729
 
 
12730
 
#
12731
 
# Check to make sure the static flag actually works.
12732
 
#
12733
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12734
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12735
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12736
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
12737
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12738
 
else
12739
 
  lt_cv_prog_compiler_static_works_CXX=no
12740
 
   save_LDFLAGS="$LDFLAGS"
12741
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12742
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
12743
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12744
 
     # The linker can only warn and ignore the option if not recognized
12745
 
     # So say no if there are warnings
12746
 
     if test -s conftest.err; then
12747
 
       # Append any errors to the config.log.
12748
 
       cat conftest.err 1>&5
12749
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12750
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12751
 
       if diff conftest.exp conftest.er2 >/dev/null; then
12752
 
         lt_cv_prog_compiler_static_works_CXX=yes
12753
 
       fi
12754
 
     else
12755
 
       lt_cv_prog_compiler_static_works_CXX=yes
12756
 
     fi
12757
 
   fi
12758
 
   $rm -r conftest*
12759
 
   LDFLAGS="$save_LDFLAGS"
12760
 
 
12761
 
fi
12762
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
12763
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
12764
 
 
12765
 
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
12766
 
    :
12767
 
else
12768
 
    lt_prog_compiler_static_CXX=
12769
 
fi
12770
 
 
12771
 
 
12772
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12773
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12774
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12775
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12776
 
else
12777
 
  lt_cv_prog_compiler_c_o_CXX=no
12778
 
   $rm -r conftest 2>/dev/null
12779
 
   mkdir conftest
12780
 
   cd conftest
12781
 
   mkdir out
12782
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12783
 
 
12784
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
12785
 
   # Insert the option either (1) after the last *FLAGS variable, or
12786
 
   # (2) before a word containing "conftest.", or (3) at the end.
12787
 
   # Note that $ac_compile itself does not contain backslashes and begins
12788
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12789
 
   lt_compile=`echo "$ac_compile" | $SED \
12790
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12791
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12792
 
   -e 's:$: $lt_compiler_flag:'`
12793
 
   (eval echo "\"\$as_me:12793: $lt_compile\"" >&5)
12794
 
   (eval "$lt_compile" 2>out/conftest.err)
12795
 
   ac_status=$?
12796
 
   cat out/conftest.err >&5
12797
 
   echo "$as_me:12797: \$? = $ac_status" >&5
12798
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12799
 
   then
12800
 
     # The compiler can only warn and ignore the option if not recognized
12801
 
     # So say no if there are warnings
12802
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12803
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12804
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12805
 
       lt_cv_prog_compiler_c_o_CXX=yes
12806
 
     fi
12807
 
   fi
12808
 
   chmod u+w . 2>&5
12809
 
   $rm conftest*
12810
 
   # SGI C++ compiler will create directory out/ii_files/ for
12811
 
   # template instantiation
12812
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12813
 
   $rm out/* && rmdir out
12814
 
   cd ..
12815
 
   rmdir conftest
12816
 
   $rm conftest*
12817
 
 
12818
 
fi
12819
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12820
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12821
 
 
12822
 
 
12823
 
hard_links="nottested"
12824
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12825
 
  # do not overwrite the value of need_locks provided by the user
12826
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12827
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12828
 
  hard_links=yes
12829
 
  $rm conftest*
12830
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12831
 
  touch conftest.a
12832
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
12833
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12834
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
12835
 
echo "${ECHO_T}$hard_links" >&6; }
12836
 
  if test "$hard_links" = no; then
12837
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12838
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12839
 
    need_locks=warn
12840
 
  fi
12841
 
else
12842
 
  need_locks=no
12843
 
fi
12844
 
 
12845
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12846
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12847
 
 
12848
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12849
 
  case $host_os in
12850
 
  aix[4-9]*)
12851
 
    # If we're using GNU nm, then we don't want the "-C" option.
12852
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
12853
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12854
 
      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'
12855
 
    else
12856
 
      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'
12857
 
    fi
12858
 
    ;;
12859
 
  pw32*)
12860
 
    export_symbols_cmds_CXX="$ltdll_cmds"
12861
 
  ;;
12862
 
  cygwin* | mingw*)
12863
 
    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'
12864
 
  ;;
12865
 
  linux* | k*bsd*-gnu)
12866
 
    link_all_deplibs_CXX=no
12867
 
  ;;
12868
 
  *)
12869
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12870
 
  ;;
12871
 
  esac
12872
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12873
 
 
12874
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12875
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12876
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12877
 
 
12878
 
#
12879
 
# Do we need to explicitly link libc?
12880
 
#
12881
 
case "x$archive_cmds_need_lc_CXX" in
12882
 
x|xyes)
12883
 
  # Assume -lc should be added
12884
 
  archive_cmds_need_lc_CXX=yes
12885
 
 
12886
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
12887
 
    case $archive_cmds_CXX in
12888
 
    *'~'*)
12889
 
      # FIXME: we may have to deal with multi-command sequences.
12890
 
      ;;
12891
 
    '$CC '*)
12892
 
      # Test whether the compiler implicitly links with -lc since on some
12893
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12894
 
      # to ld, don't add -lc before -lgcc.
12895
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12896
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12897
 
      $rm conftest*
12898
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12899
 
 
12900
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12901
 
  (eval $ac_compile) 2>&5
12902
 
  ac_status=$?
12903
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904
 
  (exit $ac_status); } 2>conftest.err; then
12905
 
        soname=conftest
12906
 
        lib=conftest
12907
 
        libobjs=conftest.$ac_objext
12908
 
        deplibs=
12909
 
        wl=$lt_prog_compiler_wl_CXX
12910
 
        pic_flag=$lt_prog_compiler_pic_CXX
12911
 
        compiler_flags=-v
12912
 
        linker_flags=-v
12913
 
        verstring=
12914
 
        output_objdir=.
12915
 
        libname=conftest
12916
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12917
 
        allow_undefined_flag_CXX=
12918
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12919
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
12920
 
  ac_status=$?
12921
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12922
 
  (exit $ac_status); }
12923
 
        then
12924
 
          archive_cmds_need_lc_CXX=no
12925
 
        else
12926
 
          archive_cmds_need_lc_CXX=yes
12927
 
        fi
12928
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12929
 
      else
12930
 
        cat conftest.err 1>&5
12931
 
      fi
12932
 
      $rm conftest*
12933
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12934
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12935
 
      ;;
12936
 
    esac
12937
 
  fi
12938
 
  ;;
12939
 
esac
12940
 
 
12941
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12942
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12943
 
library_names_spec=
12944
 
libname_spec='lib$name'
12945
 
soname_spec=
12946
 
shrext_cmds=".so"
12947
 
postinstall_cmds=
12948
 
postuninstall_cmds=
12949
 
finish_cmds=
12950
 
finish_eval=
12951
 
shlibpath_var=
12952
 
shlibpath_overrides_runpath=unknown
12953
 
version_type=none
12954
 
dynamic_linker="$host_os ld.so"
12955
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12956
 
 
12957
 
need_lib_prefix=unknown
12958
 
hardcode_into_libs=no
12959
 
 
12960
 
# when you set need_version to no, make sure it does not cause -set_version
12961
 
# flags to be left without arguments
12962
 
need_version=unknown
12963
 
 
12964
 
case $host_os in
12965
 
aix3*)
12966
 
  version_type=linux
12967
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12968
 
  shlibpath_var=LIBPATH
12969
 
 
12970
 
  # AIX 3 has no versioning support, so we append a major version to the name.
12971
 
  soname_spec='${libname}${release}${shared_ext}$major'
12972
 
  ;;
12973
 
 
12974
 
aix[4-9]*)
12975
 
  version_type=linux
12976
 
  need_lib_prefix=no
12977
 
  need_version=no
12978
 
  hardcode_into_libs=yes
12979
 
  if test "$host_cpu" = ia64; then
12980
 
    # AIX 5 supports IA64
12981
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12982
 
    shlibpath_var=LD_LIBRARY_PATH
12983
 
  else
12984
 
    # With GCC up to 2.95.x, collect2 would create an import file
12985
 
    # for dependence libraries.  The import file would start with
12986
 
    # the line `#! .'.  This would cause the generated library to
12987
 
    # depend on `.', always an invalid library.  This was fixed in
12988
 
    # development snapshots of GCC prior to 3.0.
12989
 
    case $host_os in
12990
 
      aix4 | aix4.[01] | aix4.[01].*)
12991
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12992
 
           echo ' yes '
12993
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
12994
 
        :
12995
 
      else
12996
 
        can_build_shared=no
12997
 
      fi
12998
 
      ;;
12999
 
    esac
13000
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13001
 
    # soname into executable. Probably we can add versioning support to
13002
 
    # collect2, so additional links can be useful in future.
13003
 
    if test "$aix_use_runtimelinking" = yes; then
13004
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13005
 
      # instead of lib<name>.a to let people know that these are not
13006
 
      # typical AIX shared libraries.
13007
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13008
 
    else
13009
 
      # We preserve .a as extension for shared libraries through AIX4.2
13010
 
      # and later when we are not doing run time linking.
13011
 
      library_names_spec='${libname}${release}.a $libname.a'
13012
 
      soname_spec='${libname}${release}${shared_ext}$major'
13013
 
    fi
13014
 
    shlibpath_var=LIBPATH
13015
 
  fi
13016
 
  ;;
13017
 
 
13018
 
amigaos*)
13019
 
  library_names_spec='$libname.ixlibrary $libname.a'
13020
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
13021
 
  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'
13022
 
  ;;
13023
 
 
13024
 
beos*)
13025
 
  library_names_spec='${libname}${shared_ext}'
13026
 
  dynamic_linker="$host_os ld.so"
13027
 
  shlibpath_var=LIBRARY_PATH
13028
 
  ;;
13029
 
 
13030
 
bsdi[45]*)
13031
 
  version_type=linux
13032
 
  need_version=no
13033
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13034
 
  soname_spec='${libname}${release}${shared_ext}$major'
13035
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13036
 
  shlibpath_var=LD_LIBRARY_PATH
13037
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13038
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13039
 
  # the default ld.so.conf also contains /usr/contrib/lib and
13040
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13041
 
  # libtool to hard-code these into programs
13042
 
  ;;
13043
 
 
13044
 
cygwin* | mingw* | pw32*)
13045
 
  version_type=windows
13046
 
  shrext_cmds=".dll"
13047
 
  need_version=no
13048
 
  need_lib_prefix=no
13049
 
 
13050
 
  case $GCC,$host_os in
13051
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
13052
 
    library_names_spec='$libname.dll.a'
13053
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13054
 
    postinstall_cmds='base_file=`basename \${file}`~
13055
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13056
 
      dldir=$destdir/`dirname \$dlpath`~
13057
 
      test -d \$dldir || mkdir -p \$dldir~
13058
 
      $install_prog $dir/$dlname \$dldir/$dlname~
13059
 
      chmod a+x \$dldir/$dlname'
13060
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13061
 
      dlpath=$dir/\$dldll~
13062
 
       $rm \$dlpath'
13063
 
    shlibpath_overrides_runpath=yes
13064
 
 
13065
 
    case $host_os in
13066
 
    cygwin*)
13067
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13068
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13069
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13070
 
      ;;
13071
 
    mingw*)
13072
 
      # MinGW DLLs use traditional 'lib' prefix
13073
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13074
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13075
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13076
 
        # It is most probably a Windows format PATH printed by
13077
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
13078
 
        # path with ; separators, and with drive letters. We can handle the
13079
 
        # drive letters (cygwin fileutils understands them), so leave them,
13080
 
        # especially as we might pass files found there to a mingw objdump,
13081
 
        # which wouldn't understand a cygwinified path. Ahh.
13082
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13083
 
      else
13084
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13085
 
      fi
13086
 
      ;;
13087
 
    pw32*)
13088
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
13089
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13090
 
      ;;
13091
 
    esac
13092
 
    ;;
13093
 
 
13094
 
  *)
13095
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13096
 
    ;;
13097
 
  esac
13098
 
  dynamic_linker='Win32 ld.exe'
13099
 
  # FIXME: first we should search . and the directory the executable is in
13100
 
  shlibpath_var=PATH
13101
 
  ;;
13102
 
 
13103
 
darwin* | rhapsody*)
13104
 
  dynamic_linker="$host_os dyld"
13105
 
  version_type=darwin
13106
 
  need_lib_prefix=no
13107
 
  need_version=no
13108
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13109
 
  soname_spec='${libname}${release}${major}$shared_ext'
13110
 
  shlibpath_overrides_runpath=yes
13111
 
  shlibpath_var=DYLD_LIBRARY_PATH
13112
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13113
 
 
13114
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13115
 
  ;;
13116
 
 
13117
 
dgux*)
13118
 
  version_type=linux
13119
 
  need_lib_prefix=no
13120
 
  need_version=no
13121
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13122
 
  soname_spec='${libname}${release}${shared_ext}$major'
13123
 
  shlibpath_var=LD_LIBRARY_PATH
13124
 
  ;;
13125
 
 
13126
 
freebsd1*)
13127
 
  dynamic_linker=no
13128
 
  ;;
13129
 
 
13130
 
freebsd* | dragonfly*)
13131
 
  # DragonFly does not have aout.  When/if they implement a new
13132
 
  # versioning mechanism, adjust this.
13133
 
  if test -x /usr/bin/objformat; then
13134
 
    objformat=`/usr/bin/objformat`
13135
 
  else
13136
 
    case $host_os in
13137
 
    freebsd[123]*) objformat=aout ;;
13138
 
    *) objformat=elf ;;
13139
 
    esac
13140
 
  fi
13141
 
  version_type=freebsd-$objformat
13142
 
  case $version_type in
13143
 
    freebsd-elf*)
13144
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13145
 
      need_version=no
13146
 
      need_lib_prefix=no
13147
 
      ;;
13148
 
    freebsd-*)
13149
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13150
 
      need_version=yes
13151
 
      ;;
13152
 
  esac
13153
 
  shlibpath_var=LD_LIBRARY_PATH
13154
 
  case $host_os in
13155
 
  freebsd2*)
13156
 
    shlibpath_overrides_runpath=yes
13157
 
    ;;
13158
 
  freebsd3.[01]* | freebsdelf3.[01]*)
13159
 
    shlibpath_overrides_runpath=yes
13160
 
    hardcode_into_libs=yes
13161
 
    ;;
13162
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13163
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13164
 
    shlibpath_overrides_runpath=no
13165
 
    hardcode_into_libs=yes
13166
 
    ;;
13167
 
  *) # from 4.6 on, and DragonFly
13168
 
    shlibpath_overrides_runpath=yes
13169
 
    hardcode_into_libs=yes
13170
 
    ;;
13171
 
  esac
13172
 
  ;;
13173
 
 
13174
 
gnu*)
13175
 
  version_type=linux
13176
 
  need_lib_prefix=no
13177
 
  need_version=no
13178
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13179
 
  soname_spec='${libname}${release}${shared_ext}$major'
13180
 
  shlibpath_var=LD_LIBRARY_PATH
13181
 
  hardcode_into_libs=yes
13182
 
  ;;
13183
 
 
13184
 
hpux9* | hpux10* | hpux11*)
13185
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
13186
 
  # link against other versions.
13187
 
  version_type=sunos
13188
 
  need_lib_prefix=no
13189
 
  need_version=no
13190
 
  case $host_cpu in
13191
 
  ia64*)
13192
 
    shrext_cmds='.so'
13193
 
    hardcode_into_libs=yes
13194
 
    dynamic_linker="$host_os dld.so"
13195
 
    shlibpath_var=LD_LIBRARY_PATH
13196
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13197
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13198
 
    soname_spec='${libname}${release}${shared_ext}$major'
13199
 
    if test "X$HPUX_IA64_MODE" = X32; then
13200
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13201
 
    else
13202
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13203
 
    fi
13204
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13205
 
    ;;
13206
 
   hppa*64*)
13207
 
     shrext_cmds='.sl'
13208
 
     hardcode_into_libs=yes
13209
 
     dynamic_linker="$host_os dld.sl"
13210
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13211
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13212
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13213
 
     soname_spec='${libname}${release}${shared_ext}$major'
13214
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13215
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13216
 
     ;;
13217
 
   *)
13218
 
    shrext_cmds='.sl'
13219
 
    dynamic_linker="$host_os dld.sl"
13220
 
    shlibpath_var=SHLIB_PATH
13221
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13222
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13223
 
    soname_spec='${libname}${release}${shared_ext}$major'
13224
 
    ;;
13225
 
  esac
13226
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
13227
 
  postinstall_cmds='chmod 555 $lib'
13228
 
  ;;
13229
 
 
13230
 
interix[3-9]*)
13231
 
  version_type=linux
13232
 
  need_lib_prefix=no
13233
 
  need_version=no
13234
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13235
 
  soname_spec='${libname}${release}${shared_ext}$major'
13236
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13237
 
  shlibpath_var=LD_LIBRARY_PATH
13238
 
  shlibpath_overrides_runpath=no
13239
 
  hardcode_into_libs=yes
13240
 
  ;;
13241
 
 
13242
 
irix5* | irix6* | nonstopux*)
13243
 
  case $host_os in
13244
 
    nonstopux*) version_type=nonstopux ;;
13245
 
    *)
13246
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
13247
 
                version_type=linux
13248
 
        else
13249
 
                version_type=irix
13250
 
        fi ;;
13251
 
  esac
13252
 
  need_lib_prefix=no
13253
 
  need_version=no
13254
 
  soname_spec='${libname}${release}${shared_ext}$major'
13255
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13256
 
  case $host_os in
13257
 
  irix5* | nonstopux*)
13258
 
    libsuff= shlibsuff=
13259
 
    ;;
13260
 
  *)
13261
 
    case $LD in # libtool.m4 will add one of these switches to LD
13262
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13263
 
      libsuff= shlibsuff= libmagic=32-bit;;
13264
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13265
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
13266
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13267
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
13268
 
    *) libsuff= shlibsuff= libmagic=never-match;;
13269
 
    esac
13270
 
    ;;
13271
 
  esac
13272
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13273
 
  shlibpath_overrides_runpath=no
13274
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13275
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13276
 
  hardcode_into_libs=yes
13277
 
  ;;
13278
 
 
13279
 
# No shared lib support for Linux oldld, aout, or coff.
13280
 
linux*oldld* | linux*aout* | linux*coff*)
13281
 
  dynamic_linker=no
13282
 
  ;;
13283
 
 
13284
 
# This must be Linux ELF.
13285
 
linux* | k*bsd*-gnu)
13286
 
  version_type=linux
13287
 
  need_lib_prefix=no
13288
 
  need_version=no
13289
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13290
 
  soname_spec='${libname}${release}${shared_ext}$major'
13291
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13292
 
  shlibpath_var=LD_LIBRARY_PATH
13293
 
  shlibpath_overrides_runpath=no
13294
 
  # This implies no fast_install, which is unacceptable.
13295
 
  # Some rework will be needed to allow for fast_install
13296
 
  # before this can be enabled.
13297
 
  hardcode_into_libs=yes
13298
 
 
13299
 
  # Append ld.so.conf contents to the search path
13300
 
  if test -f /etc/ld.so.conf; then
13301
 
    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' ' '`
13302
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13303
 
  fi
13304
 
 
13305
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
13306
 
  # powerpc, because MkLinux only supported shared libraries with the
13307
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
13308
 
  # most powerpc-linux boxes support dynamic linking these days and
13309
 
  # people can always --disable-shared, the test was removed, and we
13310
 
  # assume the GNU/Linux dynamic linker is in use.
13311
 
  dynamic_linker='GNU/Linux ld.so'
13312
 
  ;;
13313
 
 
13314
 
netbsdelf*-gnu)
13315
 
  version_type=linux
13316
 
  need_lib_prefix=no
13317
 
  need_version=no
13318
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13319
 
  soname_spec='${libname}${release}${shared_ext}$major'
13320
 
  shlibpath_var=LD_LIBRARY_PATH
13321
 
  shlibpath_overrides_runpath=no
13322
 
  hardcode_into_libs=yes
13323
 
  dynamic_linker='NetBSD ld.elf_so'
13324
 
  ;;
13325
 
 
13326
 
netbsd*)
13327
 
  version_type=sunos
13328
 
  need_lib_prefix=no
13329
 
  need_version=no
13330
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13331
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13332
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13333
 
    dynamic_linker='NetBSD (a.out) ld.so'
13334
 
  else
13335
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13336
 
    soname_spec='${libname}${release}${shared_ext}$major'
13337
 
    dynamic_linker='NetBSD ld.elf_so'
13338
 
  fi
13339
 
  shlibpath_var=LD_LIBRARY_PATH
13340
 
  shlibpath_overrides_runpath=yes
13341
 
  hardcode_into_libs=yes
13342
 
  ;;
13343
 
 
13344
 
newsos6)
13345
 
  version_type=linux
13346
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13347
 
  shlibpath_var=LD_LIBRARY_PATH
13348
 
  shlibpath_overrides_runpath=yes
13349
 
  ;;
13350
 
 
13351
 
nto-qnx*)
13352
 
  version_type=linux
13353
 
  need_lib_prefix=no
13354
 
  need_version=no
13355
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13356
 
  soname_spec='${libname}${release}${shared_ext}$major'
13357
 
  shlibpath_var=LD_LIBRARY_PATH
13358
 
  shlibpath_overrides_runpath=yes
13359
 
  ;;
13360
 
 
13361
 
openbsd*)
13362
 
  version_type=sunos
13363
 
  sys_lib_dlsearch_path_spec="/usr/lib"
13364
 
  need_lib_prefix=no
13365
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13366
 
  case $host_os in
13367
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13368
 
    *)                         need_version=no  ;;
13369
 
  esac
13370
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13371
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13372
 
  shlibpath_var=LD_LIBRARY_PATH
13373
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13374
 
    case $host_os in
13375
 
      openbsd2.[89] | openbsd2.[89].*)
13376
 
        shlibpath_overrides_runpath=no
13377
 
        ;;
13378
 
      *)
13379
 
        shlibpath_overrides_runpath=yes
13380
 
        ;;
13381
 
      esac
13382
 
  else
13383
 
    shlibpath_overrides_runpath=yes
13384
 
  fi
13385
 
  ;;
13386
 
 
13387
 
os2*)
13388
 
  libname_spec='$name'
13389
 
  shrext_cmds=".dll"
13390
 
  need_lib_prefix=no
13391
 
  library_names_spec='$libname${shared_ext} $libname.a'
13392
 
  dynamic_linker='OS/2 ld.exe'
13393
 
  shlibpath_var=LIBPATH
13394
 
  ;;
13395
 
 
13396
 
osf3* | osf4* | osf5*)
13397
 
  version_type=osf
13398
 
  need_lib_prefix=no
13399
 
  need_version=no
13400
 
  soname_spec='${libname}${release}${shared_ext}$major'
13401
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13402
 
  shlibpath_var=LD_LIBRARY_PATH
13403
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13404
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13405
 
  ;;
13406
 
 
13407
 
rdos*)
13408
 
  dynamic_linker=no
13409
 
  ;;
13410
 
 
13411
 
solaris*)
13412
 
  version_type=linux
13413
 
  need_lib_prefix=no
13414
 
  need_version=no
13415
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13416
 
  soname_spec='${libname}${release}${shared_ext}$major'
13417
 
  shlibpath_var=LD_LIBRARY_PATH
13418
 
  shlibpath_overrides_runpath=yes
13419
 
  hardcode_into_libs=yes
13420
 
  # ldd complains unless libraries are executable
13421
 
  postinstall_cmds='chmod +x $lib'
13422
 
  ;;
13423
 
 
13424
 
sunos4*)
13425
 
  version_type=sunos
13426
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13427
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13428
 
  shlibpath_var=LD_LIBRARY_PATH
13429
 
  shlibpath_overrides_runpath=yes
13430
 
  if test "$with_gnu_ld" = yes; then
13431
 
    need_lib_prefix=no
13432
 
  fi
13433
 
  need_version=yes
13434
 
  ;;
13435
 
 
13436
 
sysv4 | sysv4.3*)
13437
 
  version_type=linux
13438
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13439
 
  soname_spec='${libname}${release}${shared_ext}$major'
13440
 
  shlibpath_var=LD_LIBRARY_PATH
13441
 
  case $host_vendor in
13442
 
    sni)
13443
 
      shlibpath_overrides_runpath=no
13444
 
      need_lib_prefix=no
13445
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
13446
 
      runpath_var=LD_RUN_PATH
13447
 
      ;;
13448
 
    siemens)
13449
 
      need_lib_prefix=no
13450
 
      ;;
13451
 
    motorola)
13452
 
      need_lib_prefix=no
13453
 
      need_version=no
13454
 
      shlibpath_overrides_runpath=no
13455
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13456
 
      ;;
13457
 
  esac
13458
 
  ;;
13459
 
 
13460
 
sysv4*MP*)
13461
 
  if test -d /usr/nec ;then
13462
 
    version_type=linux
13463
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13464
 
    soname_spec='$libname${shared_ext}.$major'
13465
 
    shlibpath_var=LD_LIBRARY_PATH
13466
 
  fi
13467
 
  ;;
13468
 
 
13469
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13470
 
  version_type=freebsd-elf
13471
 
  need_lib_prefix=no
13472
 
  need_version=no
13473
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13474
 
  soname_spec='${libname}${release}${shared_ext}$major'
13475
 
  shlibpath_var=LD_LIBRARY_PATH
13476
 
  hardcode_into_libs=yes
13477
 
  if test "$with_gnu_ld" = yes; then
13478
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13479
 
    shlibpath_overrides_runpath=no
13480
 
  else
13481
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13482
 
    shlibpath_overrides_runpath=yes
13483
 
    case $host_os in
13484
 
      sco3.2v5*)
13485
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13486
 
        ;;
13487
 
    esac
13488
 
  fi
13489
 
  sys_lib_dlsearch_path_spec='/usr/lib'
13490
 
  ;;
13491
 
 
13492
 
uts4*)
13493
 
  version_type=linux
13494
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13495
 
  soname_spec='${libname}${release}${shared_ext}$major'
13496
 
  shlibpath_var=LD_LIBRARY_PATH
13497
 
  ;;
13498
 
 
13499
 
*)
13500
 
  dynamic_linker=no
13501
 
  ;;
13502
 
esac
13503
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13504
 
echo "${ECHO_T}$dynamic_linker" >&6; }
13505
 
test "$dynamic_linker" = no && can_build_shared=no
13506
 
 
13507
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13508
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13509
 
else
13510
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
13511
 
fi
13512
 
 
13513
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13514
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13515
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13516
 
else
13517
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
13518
 
fi
13519
 
 
13520
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13521
 
 
13522
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13523
 
if test "$GCC" = yes; then
13524
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13525
 
fi
13526
 
 
13527
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13528
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13529
 
hardcode_action_CXX=
13530
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
13531
 
   test -n "$runpath_var_CXX" || \
13532
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
13533
 
 
13534
 
  # We can hardcode non-existant directories.
13535
 
  if test "$hardcode_direct_CXX" != no &&
13536
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13537
 
     # have to relink, otherwise we might link with an installed library
13538
 
     # when we should be linking with a yet-to-be-installed one
13539
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13540
 
     test "$hardcode_minus_L_CXX" != no; then
13541
 
    # Linking always hardcodes the temporary library directory.
13542
 
    hardcode_action_CXX=relink
13543
 
  else
13544
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13545
 
    hardcode_action_CXX=immediate
13546
 
  fi
13547
 
else
13548
 
  # We cannot hardcode anything, or else we can only hardcode existing
13549
 
  # directories.
13550
 
  hardcode_action_CXX=unsupported
13551
 
fi
13552
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13553
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13554
 
 
13555
 
if test "$hardcode_action_CXX" = relink; then
13556
 
  # Fast installation is not supported
13557
 
  enable_fast_install=no
13558
 
elif test "$shlibpath_overrides_runpath" = yes ||
13559
 
     test "$enable_shared" = no; then
13560
 
  # Fast installation is not necessary
13561
 
  enable_fast_install=needless
13562
 
fi
13563
 
 
13564
 
 
13565
 
# The else clause should only fire when bootstrapping the
13566
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
13567
 
# with your package, and you will get complaints that there are
13568
 
# no rules to generate ltmain.sh.
13569
 
if test -f "$ltmain"; then
13570
 
  # See if we are running on zsh, and set the options which allow our commands through
13571
 
  # without removal of \ escapes.
13572
 
  if test -n "${ZSH_VERSION+set}" ; then
13573
 
    setopt NO_GLOB_SUBST
13574
 
  fi
13575
 
  # Now quote all the things that may contain metacharacters while being
13576
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
13577
 
  # variables and quote the copies for generation of the libtool script.
13578
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13579
 
    SED SHELL STRIP \
13580
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13581
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13582
 
    deplibs_check_method reload_flag reload_cmds need_locks \
13583
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13584
 
    lt_cv_sys_global_symbol_to_c_name_address \
13585
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13586
 
    old_postinstall_cmds old_postuninstall_cmds \
13587
 
    compiler_CXX \
13588
 
    CC_CXX \
13589
 
    LD_CXX \
13590
 
    lt_prog_compiler_wl_CXX \
13591
 
    lt_prog_compiler_pic_CXX \
13592
 
    lt_prog_compiler_static_CXX \
13593
 
    lt_prog_compiler_no_builtin_flag_CXX \
13594
 
    export_dynamic_flag_spec_CXX \
13595
 
    thread_safe_flag_spec_CXX \
13596
 
    whole_archive_flag_spec_CXX \
13597
 
    enable_shared_with_static_runtimes_CXX \
13598
 
    old_archive_cmds_CXX \
13599
 
    old_archive_from_new_cmds_CXX \
13600
 
    predep_objects_CXX \
13601
 
    postdep_objects_CXX \
13602
 
    predeps_CXX \
13603
 
    postdeps_CXX \
13604
 
    compiler_lib_search_path_CXX \
13605
 
    compiler_lib_search_dirs_CXX \
13606
 
    archive_cmds_CXX \
13607
 
    archive_expsym_cmds_CXX \
13608
 
    postinstall_cmds_CXX \
13609
 
    postuninstall_cmds_CXX \
13610
 
    old_archive_from_expsyms_cmds_CXX \
13611
 
    allow_undefined_flag_CXX \
13612
 
    no_undefined_flag_CXX \
13613
 
    export_symbols_cmds_CXX \
13614
 
    hardcode_libdir_flag_spec_CXX \
13615
 
    hardcode_libdir_flag_spec_ld_CXX \
13616
 
    hardcode_libdir_separator_CXX \
13617
 
    hardcode_automatic_CXX \
13618
 
    module_cmds_CXX \
13619
 
    module_expsym_cmds_CXX \
13620
 
    lt_cv_prog_compiler_c_o_CXX \
13621
 
    fix_srcfile_path_CXX \
13622
 
    exclude_expsyms_CXX \
13623
 
    include_expsyms_CXX; do
13624
 
 
13625
 
    case $var in
13626
 
    old_archive_cmds_CXX | \
13627
 
    old_archive_from_new_cmds_CXX | \
13628
 
    archive_cmds_CXX | \
13629
 
    archive_expsym_cmds_CXX | \
13630
 
    module_cmds_CXX | \
13631
 
    module_expsym_cmds_CXX | \
13632
 
    old_archive_from_expsyms_cmds_CXX | \
13633
 
    export_symbols_cmds_CXX | \
13634
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
13635
 
    postinstall_cmds | postuninstall_cmds | \
13636
 
    old_postinstall_cmds | old_postuninstall_cmds | \
13637
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13638
 
      # Double-quote double-evaled strings.
13639
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13640
 
      ;;
13641
 
    *)
13642
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13643
 
      ;;
13644
 
    esac
13645
 
  done
13646
 
 
13647
 
  case $lt_echo in
13648
 
  *'\$0 --fallback-echo"')
13649
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13650
 
    ;;
13651
 
  esac
13652
 
 
13653
 
cfgfile="$ofile"
13654
 
 
13655
 
  cat <<__EOF__ >> "$cfgfile"
13656
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
13657
 
 
13658
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13659
 
 
13660
 
# Shell to use when invoking shell scripts.
13661
 
SHELL=$lt_SHELL
13662
 
 
13663
 
# Whether or not to build shared libraries.
13664
 
build_libtool_libs=$enable_shared
13665
 
 
13666
 
# Whether or not to build static libraries.
13667
 
build_old_libs=$enable_static
13668
 
 
13669
 
# Whether or not to add -lc for building shared libraries.
13670
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
13671
 
 
13672
 
# Whether or not to disallow shared libs when runtime libs are static
13673
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13674
 
 
13675
 
# Whether or not to optimize for fast installation.
13676
 
fast_install=$enable_fast_install
13677
 
 
13678
 
# The host system.
13679
 
host_alias=$host_alias
13680
 
host=$host
13681
 
host_os=$host_os
13682
 
 
13683
 
# The build system.
13684
 
build_alias=$build_alias
13685
 
build=$build
13686
 
build_os=$build_os
13687
 
 
13688
 
# An echo program that does not interpret backslashes.
13689
 
echo=$lt_echo
13690
 
 
13691
 
# The archiver.
13692
 
AR=$lt_AR
13693
 
AR_FLAGS=$lt_AR_FLAGS
13694
 
 
13695
 
# A C compiler.
13696
 
LTCC=$lt_LTCC
13697
 
 
13698
 
# LTCC compiler flags.
13699
 
LTCFLAGS=$lt_LTCFLAGS
13700
 
 
13701
 
# A language-specific compiler.
13702
 
CC=$lt_compiler_CXX
13703
 
 
13704
 
# Is the compiler the GNU C compiler?
13705
 
with_gcc=$GCC_CXX
13706
 
 
13707
 
# An ERE matcher.
13708
 
EGREP=$lt_EGREP
13709
 
 
13710
 
# The linker used to build libraries.
13711
 
LD=$lt_LD_CXX
13712
 
 
13713
 
# Whether we need hard or soft links.
13714
 
LN_S=$lt_LN_S
13715
 
 
13716
 
# A BSD-compatible nm program.
13717
 
NM=$lt_NM
13718
 
 
13719
 
# A symbol stripping program
13720
 
STRIP=$lt_STRIP
13721
 
 
13722
 
# Used to examine libraries when file_magic_cmd begins "file"
13723
 
MAGIC_CMD=$MAGIC_CMD
13724
 
 
13725
 
# Used on cygwin: DLL creation program.
13726
 
DLLTOOL="$DLLTOOL"
13727
 
 
13728
 
# Used on cygwin: object dumper.
13729
 
OBJDUMP="$OBJDUMP"
13730
 
 
13731
 
# Used on cygwin: assembler.
13732
 
AS="$AS"
13733
 
 
13734
 
# The name of the directory that contains temporary libtool files.
13735
 
objdir=$objdir
13736
 
 
13737
 
# How to create reloadable object files.
13738
 
reload_flag=$lt_reload_flag
13739
 
reload_cmds=$lt_reload_cmds
13740
 
 
13741
 
# How to pass a linker flag through the compiler.
13742
 
wl=$lt_lt_prog_compiler_wl_CXX
13743
 
 
13744
 
# Object file suffix (normally "o").
13745
 
objext="$ac_objext"
13746
 
 
13747
 
# Old archive suffix (normally "a").
13748
 
libext="$libext"
13749
 
 
13750
 
# Shared library suffix (normally ".so").
13751
 
shrext_cmds='$shrext_cmds'
13752
 
 
13753
 
# Executable file suffix (normally "").
13754
 
exeext="$exeext"
13755
 
 
13756
 
# Additional compiler flags for building library objects.
13757
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
13758
 
pic_mode=$pic_mode
13759
 
 
13760
 
# What is the maximum length of a command?
13761
 
max_cmd_len=$lt_cv_sys_max_cmd_len
13762
 
 
13763
 
# Does compiler simultaneously support -c and -o options?
13764
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13765
 
 
13766
 
# Must we lock files when doing compilation?
13767
 
need_locks=$lt_need_locks
13768
 
 
13769
 
# Do we need the lib prefix for modules?
13770
 
need_lib_prefix=$need_lib_prefix
13771
 
 
13772
 
# Do we need a version for libraries?
13773
 
need_version=$need_version
13774
 
 
13775
 
# Whether dlopen is supported.
13776
 
dlopen_support=$enable_dlopen
13777
 
 
13778
 
# Whether dlopen of programs is supported.
13779
 
dlopen_self=$enable_dlopen_self
13780
 
 
13781
 
# Whether dlopen of statically linked programs is supported.
13782
 
dlopen_self_static=$enable_dlopen_self_static
13783
 
 
13784
 
# Compiler flag to prevent dynamic linking.
13785
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
13786
 
 
13787
 
# Compiler flag to turn off builtin functions.
13788
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13789
 
 
13790
 
# Compiler flag to allow reflexive dlopens.
13791
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13792
 
 
13793
 
# Compiler flag to generate shared objects directly from archives.
13794
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13795
 
 
13796
 
# Compiler flag to generate thread-safe objects.
13797
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13798
 
 
13799
 
# Library versioning type.
13800
 
version_type=$version_type
13801
 
 
13802
 
# Format of library name prefix.
13803
 
libname_spec=$lt_libname_spec
13804
 
 
13805
 
# List of archive names.  First name is the real one, the rest are links.
13806
 
# The last name is the one that the linker finds with -lNAME.
13807
 
library_names_spec=$lt_library_names_spec
13808
 
 
13809
 
# The coded name of the library, if different from the real name.
13810
 
soname_spec=$lt_soname_spec
13811
 
 
13812
 
# Commands used to build and install an old-style archive.
13813
 
RANLIB=$lt_RANLIB
13814
 
old_archive_cmds=$lt_old_archive_cmds_CXX
13815
 
old_postinstall_cmds=$lt_old_postinstall_cmds
13816
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13817
 
 
13818
 
# Create an old-style archive from a shared archive.
13819
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13820
 
 
13821
 
# Create a temporary old-style archive to link instead of a shared archive.
13822
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13823
 
 
13824
 
# Commands used to build and install a shared archive.
13825
 
archive_cmds=$lt_archive_cmds_CXX
13826
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13827
 
postinstall_cmds=$lt_postinstall_cmds
13828
 
postuninstall_cmds=$lt_postuninstall_cmds
13829
 
 
13830
 
# Commands used to build a loadable module (assumed same as above if empty)
13831
 
module_cmds=$lt_module_cmds_CXX
13832
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
13833
 
 
13834
 
# Commands to strip libraries.
13835
 
old_striplib=$lt_old_striplib
13836
 
striplib=$lt_striplib
13837
 
 
13838
 
# Dependencies to place before the objects being linked to create a
13839
 
# shared library.
13840
 
predep_objects=$lt_predep_objects_CXX
13841
 
 
13842
 
# Dependencies to place after the objects being linked to create a
13843
 
# shared library.
13844
 
postdep_objects=$lt_postdep_objects_CXX
13845
 
 
13846
 
# Dependencies to place before the objects being linked to create a
13847
 
# shared library.
13848
 
predeps=$lt_predeps_CXX
13849
 
 
13850
 
# Dependencies to place after the objects being linked to create a
13851
 
# shared library.
13852
 
postdeps=$lt_postdeps_CXX
13853
 
 
13854
 
# The directories searched by this compiler when creating a shared
13855
 
# library
13856
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
13857
 
 
13858
 
# The library search path used internally by the compiler when linking
13859
 
# a shared library.
13860
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13861
 
 
13862
 
# Method to check whether dependent libraries are shared objects.
13863
 
deplibs_check_method=$lt_deplibs_check_method
13864
 
 
13865
 
# Command to use when deplibs_check_method == file_magic.
13866
 
file_magic_cmd=$lt_file_magic_cmd
13867
 
 
13868
 
# Flag that allows shared libraries with undefined symbols to be built.
13869
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
13870
 
 
13871
 
# Flag that forces no undefined symbols.
13872
 
no_undefined_flag=$lt_no_undefined_flag_CXX
13873
 
 
13874
 
# Commands used to finish a libtool library installation in a directory.
13875
 
finish_cmds=$lt_finish_cmds
13876
 
 
13877
 
# Same as above, but a single script fragment to be evaled but not shown.
13878
 
finish_eval=$lt_finish_eval
13879
 
 
13880
 
# Take the output of nm and produce a listing of raw symbols and C names.
13881
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13882
 
 
13883
 
# Transform the output of nm in a proper C declaration
13884
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13885
 
 
13886
 
# Transform the output of nm in a C name address pair
13887
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13888
 
 
13889
 
# This is the shared library runtime path variable.
13890
 
runpath_var=$runpath_var
13891
 
 
13892
 
# This is the shared library path variable.
13893
 
shlibpath_var=$shlibpath_var
13894
 
 
13895
 
# Is shlibpath searched before the hard-coded library search path?
13896
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13897
 
 
13898
 
# How to hardcode a shared library path into an executable.
13899
 
hardcode_action=$hardcode_action_CXX
13900
 
 
13901
 
# Whether we should hardcode library paths into libraries.
13902
 
hardcode_into_libs=$hardcode_into_libs
13903
 
 
13904
 
# Flag to hardcode \$libdir into a binary during linking.
13905
 
# This must work even if \$libdir does not exist.
13906
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13907
 
 
13908
 
# If ld is used when linking, flag to hardcode \$libdir into
13909
 
# a binary during linking. This must work even if \$libdir does
13910
 
# not exist.
13911
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13912
 
 
13913
 
# Whether we need a single -rpath flag with a separated argument.
13914
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13915
 
 
13916
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13917
 
# resulting binary.
13918
 
hardcode_direct=$hardcode_direct_CXX
13919
 
 
13920
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13921
 
# resulting binary.
13922
 
hardcode_minus_L=$hardcode_minus_L_CXX
13923
 
 
13924
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13925
 
# the resulting binary.
13926
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13927
 
 
13928
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
13929
 
# and all subsequent libraries and executables linked against it.
13930
 
hardcode_automatic=$hardcode_automatic_CXX
13931
 
 
13932
 
# Variables whose values should be saved in libtool wrapper scripts and
13933
 
# restored at relink time.
13934
 
variables_saved_for_relink="$variables_saved_for_relink"
13935
 
 
13936
 
# Whether libtool must link a program against all its dependency libraries.
13937
 
link_all_deplibs=$link_all_deplibs_CXX
13938
 
 
13939
 
# Compile-time system search path for libraries
13940
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13941
 
 
13942
 
# Run-time system search path for libraries
13943
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13944
 
 
13945
 
# Fix the shell variable \$srcfile for the compiler.
13946
 
fix_srcfile_path=$lt_fix_srcfile_path
13947
 
 
13948
 
# Set to yes if exported symbols are required.
13949
 
always_export_symbols=$always_export_symbols_CXX
13950
 
 
13951
 
# The commands to list exported symbols.
13952
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
13953
 
 
13954
 
# The commands to extract the exported symbol list from a shared archive.
13955
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13956
 
 
13957
 
# Symbols that should not be listed in the preloaded symbols.
13958
 
exclude_expsyms=$lt_exclude_expsyms_CXX
13959
 
 
13960
 
# Symbols that must always be exported.
13961
 
include_expsyms=$lt_include_expsyms_CXX
13962
 
 
13963
 
# ### END LIBTOOL TAG CONFIG: $tagname
13964
 
 
13965
 
__EOF__
13966
 
 
13967
 
 
13968
 
else
13969
 
  # If there is no Makefile yet, we rely on a make rule to execute
13970
 
  # `config.status --recheck' to rerun these tests and create the
13971
 
  # libtool script then.
13972
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13973
 
  if test -f "$ltmain_in"; then
13974
 
    test -f Makefile && make "$ltmain"
13975
 
  fi
13976
 
fi
13977
 
 
13978
 
 
13979
 
ac_ext=c
13980
 
ac_cpp='$CPP $CPPFLAGS'
13981
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13982
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13983
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13984
 
 
13985
 
CC=$lt_save_CC
13986
 
LDCXX=$LD
13987
 
LD=$lt_save_LD
13988
 
GCC=$lt_save_GCC
13989
 
with_gnu_ldcxx=$with_gnu_ld
13990
 
with_gnu_ld=$lt_save_with_gnu_ld
13991
 
lt_cv_path_LDCXX=$lt_cv_path_LD
13992
 
lt_cv_path_LD=$lt_save_path_LD
13993
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13994
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13995
 
 
13996
 
        else
13997
 
          tagname=""
13998
 
        fi
13999
 
        ;;
14000
 
 
14001
 
      F77)
14002
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
14003
 
 
14004
 
ac_ext=f
14005
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14006
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14007
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14008
 
 
14009
 
 
14010
 
archive_cmds_need_lc_F77=no
14011
 
allow_undefined_flag_F77=
14012
 
always_export_symbols_F77=no
14013
 
archive_expsym_cmds_F77=
14014
 
export_dynamic_flag_spec_F77=
14015
 
hardcode_direct_F77=no
14016
 
hardcode_libdir_flag_spec_F77=
14017
 
hardcode_libdir_flag_spec_ld_F77=
14018
 
hardcode_libdir_separator_F77=
14019
 
hardcode_minus_L_F77=no
14020
 
hardcode_automatic_F77=no
14021
 
module_cmds_F77=
14022
 
module_expsym_cmds_F77=
14023
 
link_all_deplibs_F77=unknown
14024
 
old_archive_cmds_F77=$old_archive_cmds
14025
 
no_undefined_flag_F77=
14026
 
whole_archive_flag_spec_F77=
14027
 
enable_shared_with_static_runtimes_F77=no
14028
 
 
14029
 
# Source file extension for f77 test sources.
14030
 
ac_ext=f
14031
 
 
14032
 
# Object file extension for compiled f77 test sources.
14033
 
objext=o
14034
 
objext_F77=$objext
14035
 
 
14036
 
# Code to be used in simple compile tests
14037
 
lt_simple_compile_test_code="\
14038
 
      subroutine t
14039
 
      return
14040
 
      end
14041
 
"
14042
 
 
14043
 
# Code to be used in simple link tests
14044
 
lt_simple_link_test_code="\
14045
 
      program t
14046
 
      end
14047
 
"
14048
 
 
14049
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14050
 
 
14051
 
# If no C compiler was specified, use CC.
14052
 
LTCC=${LTCC-"$CC"}
14053
 
 
14054
 
# If no C compiler flags were specified, use CFLAGS.
14055
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14056
 
 
14057
 
# Allow CC to be a program name with arguments.
14058
 
compiler=$CC
14059
 
 
14060
 
 
14061
 
# save warnings/boilerplate of simple test code
14062
 
ac_outfile=conftest.$ac_objext
14063
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14064
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14065
 
_lt_compiler_boilerplate=`cat conftest.err`
14066
 
$rm conftest*
14067
 
 
14068
 
ac_outfile=conftest.$ac_objext
14069
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
14070
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14071
 
_lt_linker_boilerplate=`cat conftest.err`
14072
 
$rm -r conftest*
14073
 
 
14074
 
 
14075
 
# Allow CC to be a program name with arguments.
14076
 
lt_save_CC="$CC"
14077
 
CC=${F77-"f77"}
14078
 
compiler=$CC
14079
 
compiler_F77=$CC
14080
 
for cc_temp in $compiler""; do
14081
 
  case $cc_temp in
14082
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14083
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14084
 
    \-*) ;;
14085
 
    *) break;;
14086
 
  esac
14087
 
done
14088
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14089
 
 
14090
 
 
14091
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14092
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14093
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
14094
 
echo "${ECHO_T}$can_build_shared" >&6; }
14095
 
 
14096
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14097
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14098
 
test "$can_build_shared" = "no" && enable_shared=no
14099
 
 
14100
 
# On AIX, shared libraries and static libraries use the same namespace, and
14101
 
# are all built from PIC.
14102
 
case $host_os in
14103
 
aix3*)
14104
 
  test "$enable_shared" = yes && enable_static=no
14105
 
  if test -n "$RANLIB"; then
14106
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
14107
 
    postinstall_cmds='$RANLIB $lib'
14108
 
  fi
14109
 
  ;;
14110
 
aix[4-9]*)
14111
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14112
 
    test "$enable_shared" = yes && enable_static=no
14113
 
  fi
14114
 
  ;;
14115
 
esac
14116
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
14117
 
echo "${ECHO_T}$enable_shared" >&6; }
14118
 
 
14119
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14120
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14121
 
# Make sure either enable_shared or enable_static is yes.
14122
 
test "$enable_shared" = yes || enable_static=yes
14123
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
14124
 
echo "${ECHO_T}$enable_static" >&6; }
14125
 
 
14126
 
GCC_F77="$G77"
14127
 
LD_F77="$LD"
14128
 
 
14129
 
lt_prog_compiler_wl_F77=
14130
 
lt_prog_compiler_pic_F77=
14131
 
lt_prog_compiler_static_F77=
14132
 
 
14133
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14134
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14135
 
 
14136
 
  if test "$GCC" = yes; then
14137
 
    lt_prog_compiler_wl_F77='-Wl,'
14138
 
    lt_prog_compiler_static_F77='-static'
14139
 
 
14140
 
    case $host_os in
14141
 
      aix*)
14142
 
      # All AIX code is PIC.
14143
 
      if test "$host_cpu" = ia64; then
14144
 
        # AIX 5 now supports IA64 processor
14145
 
        lt_prog_compiler_static_F77='-Bstatic'
14146
 
      fi
14147
 
      ;;
14148
 
 
14149
 
    amigaos*)
14150
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14151
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14152
 
      # like `-m68040'.
14153
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14154
 
      ;;
14155
 
 
14156
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14157
 
      # PIC is the default for these OSes.
14158
 
      ;;
14159
 
 
14160
 
    mingw* | cygwin* | pw32* | os2*)
14161
 
      # This hack is so that the source file can tell whether it is being
14162
 
      # built for inclusion in a dll (and should export symbols for example).
14163
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14164
 
      # (--disable-auto-import) libraries
14165
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14166
 
      ;;
14167
 
 
14168
 
    darwin* | rhapsody*)
14169
 
      # PIC is the default on this platform
14170
 
      # Common symbols not allowed in MH_DYLIB files
14171
 
      lt_prog_compiler_pic_F77='-fno-common'
14172
 
      ;;
14173
 
 
14174
 
    interix[3-9]*)
14175
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14176
 
      # Instead, we relocate shared libraries at runtime.
14177
 
      ;;
14178
 
 
14179
 
    msdosdjgpp*)
14180
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
14181
 
      # on systems that don't support them.
14182
 
      lt_prog_compiler_can_build_shared_F77=no
14183
 
      enable_shared=no
14184
 
      ;;
14185
 
 
14186
 
    sysv4*MP*)
14187
 
      if test -d /usr/nec; then
14188
 
        lt_prog_compiler_pic_F77=-Kconform_pic
14189
 
      fi
14190
 
      ;;
14191
 
 
14192
 
    hpux*)
14193
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14194
 
      # not for PA HP-UX.
14195
 
      case $host_cpu in
14196
 
      hppa*64*|ia64*)
14197
 
        # +Z the default
14198
 
        ;;
14199
 
      *)
14200
 
        lt_prog_compiler_pic_F77='-fPIC'
14201
 
        ;;
14202
 
      esac
14203
 
      ;;
14204
 
 
14205
 
    *)
14206
 
      lt_prog_compiler_pic_F77='-fPIC'
14207
 
      ;;
14208
 
    esac
14209
 
  else
14210
 
    # PORTME Check for flag to pass linker flags through the system compiler.
14211
 
    case $host_os in
14212
 
    aix*)
14213
 
      lt_prog_compiler_wl_F77='-Wl,'
14214
 
      if test "$host_cpu" = ia64; then
14215
 
        # AIX 5 now supports IA64 processor
14216
 
        lt_prog_compiler_static_F77='-Bstatic'
14217
 
      else
14218
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14219
 
      fi
14220
 
      ;;
14221
 
      darwin*)
14222
 
        # PIC is the default on this platform
14223
 
        # Common symbols not allowed in MH_DYLIB files
14224
 
       case $cc_basename in
14225
 
         xlc*)
14226
 
         lt_prog_compiler_pic_F77='-qnocommon'
14227
 
         lt_prog_compiler_wl_F77='-Wl,'
14228
 
         ;;
14229
 
       esac
14230
 
       ;;
14231
 
 
14232
 
    mingw* | cygwin* | pw32* | os2*)
14233
 
      # This hack is so that the source file can tell whether it is being
14234
 
      # built for inclusion in a dll (and should export symbols for example).
14235
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14236
 
      ;;
14237
 
 
14238
 
    hpux9* | hpux10* | hpux11*)
14239
 
      lt_prog_compiler_wl_F77='-Wl,'
14240
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14241
 
      # not for PA HP-UX.
14242
 
      case $host_cpu in
14243
 
      hppa*64*|ia64*)
14244
 
        # +Z the default
14245
 
        ;;
14246
 
      *)
14247
 
        lt_prog_compiler_pic_F77='+Z'
14248
 
        ;;
14249
 
      esac
14250
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
14251
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14252
 
      ;;
14253
 
 
14254
 
    irix5* | irix6* | nonstopux*)
14255
 
      lt_prog_compiler_wl_F77='-Wl,'
14256
 
      # PIC (with -KPIC) is the default.
14257
 
      lt_prog_compiler_static_F77='-non_shared'
14258
 
      ;;
14259
 
 
14260
 
    newsos6)
14261
 
      lt_prog_compiler_pic_F77='-KPIC'
14262
 
      lt_prog_compiler_static_F77='-Bstatic'
14263
 
      ;;
14264
 
 
14265
 
    linux* | k*bsd*-gnu)
14266
 
      case $cc_basename in
14267
 
      icc* | ecc*)
14268
 
        lt_prog_compiler_wl_F77='-Wl,'
14269
 
        lt_prog_compiler_pic_F77='-KPIC'
14270
 
        lt_prog_compiler_static_F77='-static'
14271
 
        ;;
14272
 
      pgcc* | pgf77* | pgf90* | pgf95*)
14273
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
14274
 
        # which looks to be a dead project)
14275
 
        lt_prog_compiler_wl_F77='-Wl,'
14276
 
        lt_prog_compiler_pic_F77='-fpic'
14277
 
        lt_prog_compiler_static_F77='-Bstatic'
14278
 
        ;;
14279
 
      ccc*)
14280
 
        lt_prog_compiler_wl_F77='-Wl,'
14281
 
        # All Alpha code is PIC.
14282
 
        lt_prog_compiler_static_F77='-non_shared'
14283
 
        ;;
14284
 
      *)
14285
 
        case `$CC -V 2>&1 | sed 5q` in
14286
 
        *Sun\ C*)
14287
 
          # Sun C 5.9
14288
 
          lt_prog_compiler_pic_F77='-KPIC'
14289
 
          lt_prog_compiler_static_F77='-Bstatic'
14290
 
          lt_prog_compiler_wl_F77='-Wl,'
14291
 
          ;;
14292
 
        *Sun\ F*)
14293
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
14294
 
          lt_prog_compiler_pic_F77='-KPIC'
14295
 
          lt_prog_compiler_static_F77='-Bstatic'
14296
 
          lt_prog_compiler_wl_F77=''
14297
 
          ;;
14298
 
        esac
14299
 
        ;;
14300
 
      esac
14301
 
      ;;
14302
 
 
14303
 
    osf3* | osf4* | osf5*)
14304
 
      lt_prog_compiler_wl_F77='-Wl,'
14305
 
      # All OSF/1 code is PIC.
14306
 
      lt_prog_compiler_static_F77='-non_shared'
14307
 
      ;;
14308
 
 
14309
 
    rdos*)
14310
 
      lt_prog_compiler_static_F77='-non_shared'
14311
 
      ;;
14312
 
 
14313
 
    solaris*)
14314
 
      lt_prog_compiler_pic_F77='-KPIC'
14315
 
      lt_prog_compiler_static_F77='-Bstatic'
14316
 
      case $cc_basename in
14317
 
      f77* | f90* | f95*)
14318
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
14319
 
      *)
14320
 
        lt_prog_compiler_wl_F77='-Wl,';;
14321
 
      esac
14322
 
      ;;
14323
 
 
14324
 
    sunos4*)
14325
 
      lt_prog_compiler_wl_F77='-Qoption ld '
14326
 
      lt_prog_compiler_pic_F77='-PIC'
14327
 
      lt_prog_compiler_static_F77='-Bstatic'
14328
 
      ;;
14329
 
 
14330
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
14331
 
      lt_prog_compiler_wl_F77='-Wl,'
14332
 
      lt_prog_compiler_pic_F77='-KPIC'
14333
 
      lt_prog_compiler_static_F77='-Bstatic'
14334
 
      ;;
14335
 
 
14336
 
    sysv4*MP*)
14337
 
      if test -d /usr/nec ;then
14338
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
14339
 
        lt_prog_compiler_static_F77='-Bstatic'
14340
 
      fi
14341
 
      ;;
14342
 
 
14343
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14344
 
      lt_prog_compiler_wl_F77='-Wl,'
14345
 
      lt_prog_compiler_pic_F77='-KPIC'
14346
 
      lt_prog_compiler_static_F77='-Bstatic'
14347
 
      ;;
14348
 
 
14349
 
    unicos*)
14350
 
      lt_prog_compiler_wl_F77='-Wl,'
14351
 
      lt_prog_compiler_can_build_shared_F77=no
14352
 
      ;;
14353
 
 
14354
 
    uts4*)
14355
 
      lt_prog_compiler_pic_F77='-pic'
14356
 
      lt_prog_compiler_static_F77='-Bstatic'
14357
 
      ;;
14358
 
 
14359
 
    *)
14360
 
      lt_prog_compiler_can_build_shared_F77=no
14361
 
      ;;
14362
 
    esac
14363
 
  fi
14364
 
 
14365
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14366
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14367
 
 
14368
 
#
14369
 
# Check to make sure the PIC flag actually works.
14370
 
#
14371
 
if test -n "$lt_prog_compiler_pic_F77"; then
14372
 
 
14373
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14374
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14375
 
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14376
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14377
 
else
14378
 
  lt_cv_prog_compiler_pic_works_F77=no
14379
 
  ac_outfile=conftest.$ac_objext
14380
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14381
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14382
 
   # Insert the option either (1) after the last *FLAGS variable, or
14383
 
   # (2) before a word containing "conftest.", or (3) at the end.
14384
 
   # Note that $ac_compile itself does not contain backslashes and begins
14385
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14386
 
   # The option is referenced via a variable to avoid confusing sed.
14387
 
   lt_compile=`echo "$ac_compile" | $SED \
14388
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14389
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14390
 
   -e 's:$: $lt_compiler_flag:'`
14391
 
   (eval echo "\"\$as_me:14391: $lt_compile\"" >&5)
14392
 
   (eval "$lt_compile" 2>conftest.err)
14393
 
   ac_status=$?
14394
 
   cat conftest.err >&5
14395
 
   echo "$as_me:14395: \$? = $ac_status" >&5
14396
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14397
 
     # The compiler can only warn and ignore the option if not recognized
14398
 
     # So say no if there are warnings other than the usual output.
14399
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14400
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14401
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14402
 
       lt_cv_prog_compiler_pic_works_F77=yes
14403
 
     fi
14404
 
   fi
14405
 
   $rm conftest*
14406
 
 
14407
 
fi
14408
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14409
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
14410
 
 
14411
 
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
14412
 
    case $lt_prog_compiler_pic_F77 in
14413
 
     "" | " "*) ;;
14414
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14415
 
     esac
14416
 
else
14417
 
    lt_prog_compiler_pic_F77=
14418
 
     lt_prog_compiler_can_build_shared_F77=no
14419
 
fi
14420
 
 
14421
 
fi
14422
 
case $host_os in
14423
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14424
 
  *djgpp*)
14425
 
    lt_prog_compiler_pic_F77=
14426
 
    ;;
14427
 
  *)
14428
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14429
 
    ;;
14430
 
esac
14431
 
 
14432
 
#
14433
 
# Check to make sure the static flag actually works.
14434
 
#
14435
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14436
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14437
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14438
 
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14439
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14440
 
else
14441
 
  lt_cv_prog_compiler_static_works_F77=no
14442
 
   save_LDFLAGS="$LDFLAGS"
14443
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14444
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14445
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14446
 
     # The linker can only warn and ignore the option if not recognized
14447
 
     # So say no if there are warnings
14448
 
     if test -s conftest.err; then
14449
 
       # Append any errors to the config.log.
14450
 
       cat conftest.err 1>&5
14451
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14452
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14453
 
       if diff conftest.exp conftest.er2 >/dev/null; then
14454
 
         lt_cv_prog_compiler_static_works_F77=yes
14455
 
       fi
14456
 
     else
14457
 
       lt_cv_prog_compiler_static_works_F77=yes
14458
 
     fi
14459
 
   fi
14460
 
   $rm -r conftest*
14461
 
   LDFLAGS="$save_LDFLAGS"
14462
 
 
14463
 
fi
14464
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
14465
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
14466
 
 
14467
 
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
14468
 
    :
14469
 
else
14470
 
    lt_prog_compiler_static_F77=
14471
 
fi
14472
 
 
14473
 
 
14474
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14475
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14476
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14477
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14478
 
else
14479
 
  lt_cv_prog_compiler_c_o_F77=no
14480
 
   $rm -r conftest 2>/dev/null
14481
 
   mkdir conftest
14482
 
   cd conftest
14483
 
   mkdir out
14484
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14485
 
 
14486
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14487
 
   # Insert the option either (1) after the last *FLAGS variable, or
14488
 
   # (2) before a word containing "conftest.", or (3) at the end.
14489
 
   # Note that $ac_compile itself does not contain backslashes and begins
14490
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14491
 
   lt_compile=`echo "$ac_compile" | $SED \
14492
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14493
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14494
 
   -e 's:$: $lt_compiler_flag:'`
14495
 
   (eval echo "\"\$as_me:14495: $lt_compile\"" >&5)
14496
 
   (eval "$lt_compile" 2>out/conftest.err)
14497
 
   ac_status=$?
14498
 
   cat out/conftest.err >&5
14499
 
   echo "$as_me:14499: \$? = $ac_status" >&5
14500
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14501
 
   then
14502
 
     # The compiler can only warn and ignore the option if not recognized
14503
 
     # So say no if there are warnings
14504
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14505
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14506
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14507
 
       lt_cv_prog_compiler_c_o_F77=yes
14508
 
     fi
14509
 
   fi
14510
 
   chmod u+w . 2>&5
14511
 
   $rm conftest*
14512
 
   # SGI C++ compiler will create directory out/ii_files/ for
14513
 
   # template instantiation
14514
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14515
 
   $rm out/* && rmdir out
14516
 
   cd ..
14517
 
   rmdir conftest
14518
 
   $rm conftest*
14519
 
 
14520
 
fi
14521
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14522
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14523
 
 
14524
 
 
14525
 
hard_links="nottested"
14526
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14527
 
  # do not overwrite the value of need_locks provided by the user
14528
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14529
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14530
 
  hard_links=yes
14531
 
  $rm conftest*
14532
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14533
 
  touch conftest.a
14534
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14535
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14536
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14537
 
echo "${ECHO_T}$hard_links" >&6; }
14538
 
  if test "$hard_links" = no; then
14539
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14540
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14541
 
    need_locks=warn
14542
 
  fi
14543
 
else
14544
 
  need_locks=no
14545
 
fi
14546
 
 
14547
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14548
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14549
 
 
14550
 
  runpath_var=
14551
 
  allow_undefined_flag_F77=
14552
 
  enable_shared_with_static_runtimes_F77=no
14553
 
  archive_cmds_F77=
14554
 
  archive_expsym_cmds_F77=
14555
 
  old_archive_From_new_cmds_F77=
14556
 
  old_archive_from_expsyms_cmds_F77=
14557
 
  export_dynamic_flag_spec_F77=
14558
 
  whole_archive_flag_spec_F77=
14559
 
  thread_safe_flag_spec_F77=
14560
 
  hardcode_libdir_flag_spec_F77=
14561
 
  hardcode_libdir_flag_spec_ld_F77=
14562
 
  hardcode_libdir_separator_F77=
14563
 
  hardcode_direct_F77=no
14564
 
  hardcode_minus_L_F77=no
14565
 
  hardcode_shlibpath_var_F77=unsupported
14566
 
  link_all_deplibs_F77=unknown
14567
 
  hardcode_automatic_F77=no
14568
 
  module_cmds_F77=
14569
 
  module_expsym_cmds_F77=
14570
 
  always_export_symbols_F77=no
14571
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14572
 
  # include_expsyms should be a list of space-separated symbols to be *always*
14573
 
  # included in the symbol list
14574
 
  include_expsyms_F77=
14575
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
14576
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14577
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14578
 
  # as well as any symbol that contains `d'.
14579
 
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14580
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14581
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
14582
 
  # the symbol is explicitly referenced.  Since portable code cannot
14583
 
  # rely on this symbol name, it's probably fine to never include it in
14584
 
  # preloaded symbol tables.
14585
 
  # Exclude shared library initialization/finalization symbols.
14586
 
  extract_expsyms_cmds=
14587
 
  # Just being paranoid about ensuring that cc_basename is set.
14588
 
  for cc_temp in $compiler""; do
14589
 
  case $cc_temp in
14590
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14591
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14592
 
    \-*) ;;
14593
 
    *) break;;
14594
 
  esac
14595
 
done
14596
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14597
 
 
14598
 
  case $host_os in
14599
 
  cygwin* | mingw* | pw32*)
14600
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
14601
 
    # When not using gcc, we currently assume that we are using
14602
 
    # Microsoft Visual C++.
14603
 
    if test "$GCC" != yes; then
14604
 
      with_gnu_ld=no
14605
 
    fi
14606
 
    ;;
14607
 
  interix*)
14608
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
14609
 
    with_gnu_ld=yes
14610
 
    ;;
14611
 
  openbsd*)
14612
 
    with_gnu_ld=no
14613
 
    ;;
14614
 
  esac
14615
 
 
14616
 
  ld_shlibs_F77=yes
14617
 
  if test "$with_gnu_ld" = yes; then
14618
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
14619
 
    wlarc='${wl}'
14620
 
 
14621
 
    # Set some defaults for GNU ld with shared library support. These
14622
 
    # are reset later if shared libraries are not supported. Putting them
14623
 
    # here allows them to be overridden if necessary.
14624
 
    runpath_var=LD_RUN_PATH
14625
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14626
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14627
 
    # ancient GNU ld didn't support --whole-archive et. al.
14628
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14629
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14630
 
      else
14631
 
        whole_archive_flag_spec_F77=
14632
 
    fi
14633
 
    supports_anon_versioning=no
14634
 
    case `$LD -v 2>/dev/null` in
14635
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14636
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14637
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14638
 
      *\ 2.11.*) ;; # other 2.11 versions
14639
 
      *) supports_anon_versioning=yes ;;
14640
 
    esac
14641
 
 
14642
 
    # See if GNU ld supports shared libraries.
14643
 
    case $host_os in
14644
 
    aix[3-9]*)
14645
 
      # On AIX/PPC, the GNU linker is very broken
14646
 
      if test "$host_cpu" != ia64; then
14647
 
        ld_shlibs_F77=no
14648
 
        cat <<EOF 1>&2
14649
 
 
14650
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
14651
 
*** to be unable to reliably create shared libraries on AIX.
14652
 
*** Therefore, libtool is disabling shared libraries support.  If you
14653
 
*** really care for shared libraries, you may want to modify your PATH
14654
 
*** so that a non-GNU linker is found, and then restart.
14655
 
 
14656
 
EOF
14657
 
      fi
14658
 
      ;;
14659
 
 
14660
 
    amigaos*)
14661
 
      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)'
14662
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14663
 
      hardcode_minus_L_F77=yes
14664
 
 
14665
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14666
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
14667
 
      # to version 4, is to share data among multiple programs linked
14668
 
      # with the same dynamic library.  Since this doesn't match the
14669
 
      # behavior of shared libraries on other platforms, we can't use
14670
 
      # them.
14671
 
      ld_shlibs_F77=no
14672
 
      ;;
14673
 
 
14674
 
    beos*)
14675
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14676
 
        allow_undefined_flag_F77=unsupported
14677
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14678
 
        # support --undefined.  This deserves some investigation.  FIXME
14679
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14680
 
      else
14681
 
        ld_shlibs_F77=no
14682
 
      fi
14683
 
      ;;
14684
 
 
14685
 
    cygwin* | mingw* | pw32*)
14686
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14687
 
      # as there is no search path for DLLs.
14688
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14689
 
      allow_undefined_flag_F77=unsupported
14690
 
      always_export_symbols_F77=no
14691
 
      enable_shared_with_static_runtimes_F77=yes
14692
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14693
 
 
14694
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14695
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14696
 
        # If the export-symbols file already is a .def file (1st line
14697
 
        # is EXPORTS), use it as is; otherwise, prepend...
14698
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14699
 
          cp $export_symbols $output_objdir/$soname.def;
14700
 
        else
14701
 
          echo EXPORTS > $output_objdir/$soname.def;
14702
 
          cat $export_symbols >> $output_objdir/$soname.def;
14703
 
        fi~
14704
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14705
 
      else
14706
 
        ld_shlibs_F77=no
14707
 
      fi
14708
 
      ;;
14709
 
 
14710
 
    interix[3-9]*)
14711
 
      hardcode_direct_F77=no
14712
 
      hardcode_shlibpath_var_F77=no
14713
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14714
 
      export_dynamic_flag_spec_F77='${wl}-E'
14715
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14716
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
14717
 
      # default) and relocated if they conflict, which is a slow very memory
14718
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
14719
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14720
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14721
 
      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'
14722
 
      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'
14723
 
      ;;
14724
 
 
14725
 
    gnu* | linux* | k*bsd*-gnu)
14726
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14727
 
        tmp_addflag=
14728
 
        case $cc_basename,$host_cpu in
14729
 
        pgcc*)                          # Portland Group C compiler
14730
 
          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'
14731
 
          tmp_addflag=' $pic_flag'
14732
 
          ;;
14733
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
14734
 
          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'
14735
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
14736
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
14737
 
          tmp_addflag=' -i_dynamic' ;;
14738
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
14739
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
14740
 
        ifc* | ifort*)                  # Intel Fortran compiler
14741
 
          tmp_addflag=' -nofor_main' ;;
14742
 
        esac
14743
 
        case `$CC -V 2>&1 | sed 5q` in
14744
 
        *Sun\ C*)                       # Sun C 5.9
14745
 
          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'
14746
 
          tmp_sharedflag='-G' ;;
14747
 
        *Sun\ F*)                       # Sun Fortran 8.3
14748
 
          tmp_sharedflag='-G' ;;
14749
 
        *)
14750
 
          tmp_sharedflag='-shared' ;;
14751
 
        esac
14752
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14753
 
 
14754
 
        if test $supports_anon_versioning = yes; then
14755
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14756
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14757
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
14758
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14759
 
        fi
14760
 
        link_all_deplibs_F77=no
14761
 
      else
14762
 
        ld_shlibs_F77=no
14763
 
      fi
14764
 
      ;;
14765
 
 
14766
 
    netbsd* | netbsdelf*-gnu)
14767
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14768
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14769
 
        wlarc=
14770
 
      else
14771
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14772
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14773
 
      fi
14774
 
      ;;
14775
 
 
14776
 
    solaris*)
14777
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14778
 
        ld_shlibs_F77=no
14779
 
        cat <<EOF 1>&2
14780
 
 
14781
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
14782
 
*** create shared libraries on Solaris systems.  Therefore, libtool
14783
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14784
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
14785
 
*** your PATH or compiler configuration so that the native linker is
14786
 
*** used, and then restart.
14787
 
 
14788
 
EOF
14789
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14790
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14791
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14792
 
      else
14793
 
        ld_shlibs_F77=no
14794
 
      fi
14795
 
      ;;
14796
 
 
14797
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14798
 
      case `$LD -v 2>&1` in
14799
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14800
 
        ld_shlibs_F77=no
14801
 
        cat <<_LT_EOF 1>&2
14802
 
 
14803
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14804
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
14805
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14806
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
14807
 
*** your PATH or compiler configuration so that the native linker is
14808
 
*** used, and then restart.
14809
 
 
14810
 
_LT_EOF
14811
 
        ;;
14812
 
        *)
14813
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14814
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14815
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14816
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14817
 
          else
14818
 
            ld_shlibs_F77=no
14819
 
          fi
14820
 
        ;;
14821
 
      esac
14822
 
      ;;
14823
 
 
14824
 
    sunos4*)
14825
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14826
 
      wlarc=
14827
 
      hardcode_direct_F77=yes
14828
 
      hardcode_shlibpath_var_F77=no
14829
 
      ;;
14830
 
 
14831
 
    *)
14832
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14833
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14834
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14835
 
      else
14836
 
        ld_shlibs_F77=no
14837
 
      fi
14838
 
      ;;
14839
 
    esac
14840
 
 
14841
 
    if test "$ld_shlibs_F77" = no; then
14842
 
      runpath_var=
14843
 
      hardcode_libdir_flag_spec_F77=
14844
 
      export_dynamic_flag_spec_F77=
14845
 
      whole_archive_flag_spec_F77=
14846
 
    fi
14847
 
  else
14848
 
    # PORTME fill in a description of your system's linker (not GNU ld)
14849
 
    case $host_os in
14850
 
    aix3*)
14851
 
      allow_undefined_flag_F77=unsupported
14852
 
      always_export_symbols_F77=yes
14853
 
      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'
14854
 
      # Note: this linker hardcodes the directories in LIBPATH if there
14855
 
      # are no directories specified by -L.
14856
 
      hardcode_minus_L_F77=yes
14857
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14858
 
        # Neither direct hardcoding nor static linking is supported with a
14859
 
        # broken collect2.
14860
 
        hardcode_direct_F77=unsupported
14861
 
      fi
14862
 
      ;;
14863
 
 
14864
 
    aix[4-9]*)
14865
 
      if test "$host_cpu" = ia64; then
14866
 
        # On IA64, the linker does run time linking by default, so we don't
14867
 
        # have to do anything special.
14868
 
        aix_use_runtimelinking=no
14869
 
        exp_sym_flag='-Bexport'
14870
 
        no_entry_flag=""
14871
 
      else
14872
 
        # If we're using GNU nm, then we don't want the "-C" option.
14873
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
14874
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14875
 
          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'
14876
 
        else
14877
 
          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'
14878
 
        fi
14879
 
        aix_use_runtimelinking=no
14880
 
 
14881
 
        # Test if we are trying to use run time linking or normal
14882
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14883
 
        # need to do runtime linking.
14884
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14885
 
          for ld_flag in $LDFLAGS; do
14886
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14887
 
            aix_use_runtimelinking=yes
14888
 
            break
14889
 
          fi
14890
 
          done
14891
 
          ;;
14892
 
        esac
14893
 
 
14894
 
        exp_sym_flag='-bexport'
14895
 
        no_entry_flag='-bnoentry'
14896
 
      fi
14897
 
 
14898
 
      # When large executables or shared objects are built, AIX ld can
14899
 
      # have problems creating the table of contents.  If linking a library
14900
 
      # or program results in "error TOC overflow" add -mminimal-toc to
14901
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14902
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14903
 
 
14904
 
      archive_cmds_F77=''
14905
 
      hardcode_direct_F77=yes
14906
 
      hardcode_libdir_separator_F77=':'
14907
 
      link_all_deplibs_F77=yes
14908
 
 
14909
 
      if test "$GCC" = yes; then
14910
 
        case $host_os in aix4.[012]|aix4.[012].*)
14911
 
        # We only want to do this on AIX 4.2 and lower, the check
14912
 
        # below for broken collect2 doesn't work under 4.3+
14913
 
          collect2name=`${CC} -print-prog-name=collect2`
14914
 
          if test -f "$collect2name" && \
14915
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
14916
 
          then
14917
 
          # We have reworked collect2
14918
 
          :
14919
 
          else
14920
 
          # We have old collect2
14921
 
          hardcode_direct_F77=unsupported
14922
 
          # It fails to find uninstalled libraries when the uninstalled
14923
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
14924
 
          # to unsupported forces relinking
14925
 
          hardcode_minus_L_F77=yes
14926
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
14927
 
          hardcode_libdir_separator_F77=
14928
 
          fi
14929
 
          ;;
14930
 
        esac
14931
 
        shared_flag='-shared'
14932
 
        if test "$aix_use_runtimelinking" = yes; then
14933
 
          shared_flag="$shared_flag "'${wl}-G'
14934
 
        fi
14935
 
      else
14936
 
        # not using gcc
14937
 
        if test "$host_cpu" = ia64; then
14938
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14939
 
        # chokes on -Wl,-G. The following line is correct:
14940
 
          shared_flag='-G'
14941
 
        else
14942
 
          if test "$aix_use_runtimelinking" = yes; then
14943
 
            shared_flag='${wl}-G'
14944
 
          else
14945
 
            shared_flag='${wl}-bM:SRE'
14946
 
          fi
14947
 
        fi
14948
 
      fi
14949
 
 
14950
 
      # It seems that -bexpall does not export symbols beginning with
14951
 
      # underscore (_), so it is better to generate a list of symbols to export.
14952
 
      always_export_symbols_F77=yes
14953
 
      if test "$aix_use_runtimelinking" = yes; then
14954
 
        # Warning - without using the other runtime loading flags (-brtl),
14955
 
        # -berok will link without error, but may produce a broken library.
14956
 
        allow_undefined_flag_F77='-berok'
14957
 
       # Determine the default libpath from the value encoded in an empty executable.
14958
 
       cat >conftest.$ac_ext <<_ACEOF
14959
 
      program main
14960
 
 
14961
 
      end
14962
 
_ACEOF
14963
 
rm -f conftest.$ac_objext conftest$ac_exeext
14964
 
if { (ac_try="$ac_link"
14965
 
case "(($ac_try" in
14966
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14967
 
  *) ac_try_echo=$ac_try;;
14968
 
esac
14969
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14970
 
  (eval "$ac_link") 2>conftest.er1
14971
 
  ac_status=$?
14972
 
  grep -v '^ *+' conftest.er1 >conftest.err
14973
 
  rm -f conftest.er1
14974
 
  cat conftest.err >&5
14975
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976
 
  (exit $ac_status); } && {
14977
 
         test -z "$ac_f77_werror_flag" ||
14978
 
         test ! -s conftest.err
14979
 
       } && test -s conftest$ac_exeext &&
14980
 
       $as_test_x conftest$ac_exeext; then
14981
 
 
14982
 
lt_aix_libpath_sed='
14983
 
    /Import File Strings/,/^$/ {
14984
 
        /^0/ {
14985
 
            s/^0  *\(.*\)$/\1/
14986
 
            p
14987
 
        }
14988
 
    }'
14989
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14990
 
# Check for a 64-bit object if we didn't find anything.
14991
 
if test -z "$aix_libpath"; then
14992
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14993
 
fi
14994
 
else
14995
 
  echo "$as_me: failed program was:" >&5
14996
 
sed 's/^/| /' conftest.$ac_ext >&5
14997
 
 
14998
 
 
14999
 
fi
15000
 
 
15001
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15002
 
      conftest$ac_exeext conftest.$ac_ext
15003
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15004
 
 
15005
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15006
 
        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"
15007
 
       else
15008
 
        if test "$host_cpu" = ia64; then
15009
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15010
 
          allow_undefined_flag_F77="-z nodefs"
15011
 
          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"
15012
 
        else
15013
 
         # Determine the default libpath from the value encoded in an empty executable.
15014
 
         cat >conftest.$ac_ext <<_ACEOF
15015
 
      program main
15016
 
 
15017
 
      end
15018
 
_ACEOF
15019
 
rm -f conftest.$ac_objext conftest$ac_exeext
15020
 
if { (ac_try="$ac_link"
15021
 
case "(($ac_try" in
15022
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15023
 
  *) ac_try_echo=$ac_try;;
15024
 
esac
15025
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15026
 
  (eval "$ac_link") 2>conftest.er1
15027
 
  ac_status=$?
15028
 
  grep -v '^ *+' conftest.er1 >conftest.err
15029
 
  rm -f conftest.er1
15030
 
  cat conftest.err >&5
15031
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032
 
  (exit $ac_status); } && {
15033
 
         test -z "$ac_f77_werror_flag" ||
15034
 
         test ! -s conftest.err
15035
 
       } && test -s conftest$ac_exeext &&
15036
 
       $as_test_x conftest$ac_exeext; then
15037
 
 
15038
 
lt_aix_libpath_sed='
15039
 
    /Import File Strings/,/^$/ {
15040
 
        /^0/ {
15041
 
            s/^0  *\(.*\)$/\1/
15042
 
            p
15043
 
        }
15044
 
    }'
15045
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15046
 
# Check for a 64-bit object if we didn't find anything.
15047
 
if test -z "$aix_libpath"; then
15048
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15049
 
fi
15050
 
else
15051
 
  echo "$as_me: failed program was:" >&5
15052
 
sed 's/^/| /' conftest.$ac_ext >&5
15053
 
 
15054
 
 
15055
 
fi
15056
 
 
15057
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15058
 
      conftest$ac_exeext conftest.$ac_ext
15059
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15060
 
 
15061
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15062
 
          # Warning - without using the other run time loading flags,
15063
 
          # -berok will link without error, but may produce a broken library.
15064
 
          no_undefined_flag_F77=' ${wl}-bernotok'
15065
 
          allow_undefined_flag_F77=' ${wl}-berok'
15066
 
          # Exported symbols can be pulled into shared objects from archives
15067
 
          whole_archive_flag_spec_F77='$convenience'
15068
 
          archive_cmds_need_lc_F77=yes
15069
 
          # This is similar to how AIX traditionally builds its shared libraries.
15070
 
          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'
15071
 
        fi
15072
 
      fi
15073
 
      ;;
15074
 
 
15075
 
    amigaos*)
15076
 
      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)'
15077
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15078
 
      hardcode_minus_L_F77=yes
15079
 
      # see comment about different semantics on the GNU ld section
15080
 
      ld_shlibs_F77=no
15081
 
      ;;
15082
 
 
15083
 
    bsdi[45]*)
15084
 
      export_dynamic_flag_spec_F77=-rdynamic
15085
 
      ;;
15086
 
 
15087
 
    cygwin* | mingw* | pw32*)
15088
 
      # When not using gcc, we currently assume that we are using
15089
 
      # Microsoft Visual C++.
15090
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
15091
 
      # no search path for DLLs.
15092
 
      hardcode_libdir_flag_spec_F77=' '
15093
 
      allow_undefined_flag_F77=unsupported
15094
 
      # Tell ltmain to make .lib files, not .a files.
15095
 
      libext=lib
15096
 
      # Tell ltmain to make .dll files, not .so files.
15097
 
      shrext_cmds=".dll"
15098
 
      # FIXME: Setting linknames here is a bad hack.
15099
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15100
 
      # The linker will automatically build a .lib file if we build a DLL.
15101
 
      old_archive_From_new_cmds_F77='true'
15102
 
      # FIXME: Should let the user specify the lib program.
15103
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
15104
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15105
 
      enable_shared_with_static_runtimes_F77=yes
15106
 
      ;;
15107
 
 
15108
 
    darwin* | rhapsody*)
15109
 
      case $host_os in
15110
 
        rhapsody* | darwin1.[012])
15111
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15112
 
         ;;
15113
 
       *) # Darwin 1.3 on
15114
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15115
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15116
 
         else
15117
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
15118
 
             10.[012])
15119
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15120
 
               ;;
15121
 
             10.*)
15122
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
15123
 
               ;;
15124
 
           esac
15125
 
         fi
15126
 
         ;;
15127
 
      esac
15128
 
      archive_cmds_need_lc_F77=no
15129
 
      hardcode_direct_F77=no
15130
 
      hardcode_automatic_F77=yes
15131
 
      hardcode_shlibpath_var_F77=unsupported
15132
 
      whole_archive_flag_spec_F77=''
15133
 
      link_all_deplibs_F77=yes
15134
 
    if test "$GCC" = yes ; then
15135
 
        output_verbose_link_cmd='echo'
15136
 
        archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15137
 
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15138
 
        archive_expsym_cmds_F77="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}"
15139
 
        module_expsym_cmds_F77="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}"
15140
 
    else
15141
 
      case $cc_basename in
15142
 
        xlc*)
15143
 
         output_verbose_link_cmd='echo'
15144
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15145
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15146
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15147
 
         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}'
15148
 
          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}'
15149
 
          ;;
15150
 
       *)
15151
 
         ld_shlibs_F77=no
15152
 
          ;;
15153
 
      esac
15154
 
    fi
15155
 
      ;;
15156
 
 
15157
 
    dgux*)
15158
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15159
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15160
 
      hardcode_shlibpath_var_F77=no
15161
 
      ;;
15162
 
 
15163
 
    freebsd1*)
15164
 
      ld_shlibs_F77=no
15165
 
      ;;
15166
 
 
15167
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15168
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
15169
 
    # does not break anything, and helps significantly (at the cost of a little
15170
 
    # extra space).
15171
 
    freebsd2.2*)
15172
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15173
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15174
 
      hardcode_direct_F77=yes
15175
 
      hardcode_shlibpath_var_F77=no
15176
 
      ;;
15177
 
 
15178
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15179
 
    freebsd2*)
15180
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15181
 
      hardcode_direct_F77=yes
15182
 
      hardcode_minus_L_F77=yes
15183
 
      hardcode_shlibpath_var_F77=no
15184
 
      ;;
15185
 
 
15186
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15187
 
    freebsd* | dragonfly*)
15188
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15189
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15190
 
      hardcode_direct_F77=yes
15191
 
      hardcode_shlibpath_var_F77=no
15192
 
      ;;
15193
 
 
15194
 
    hpux9*)
15195
 
      if test "$GCC" = yes; then
15196
 
        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'
15197
 
      else
15198
 
        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'
15199
 
      fi
15200
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15201
 
      hardcode_libdir_separator_F77=:
15202
 
      hardcode_direct_F77=yes
15203
 
 
15204
 
      # hardcode_minus_L: Not really in the search PATH,
15205
 
      # but as the default location of the library.
15206
 
      hardcode_minus_L_F77=yes
15207
 
      export_dynamic_flag_spec_F77='${wl}-E'
15208
 
      ;;
15209
 
 
15210
 
    hpux10*)
15211
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15212
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15213
 
      else
15214
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15215
 
      fi
15216
 
      if test "$with_gnu_ld" = no; then
15217
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15218
 
        hardcode_libdir_separator_F77=:
15219
 
 
15220
 
        hardcode_direct_F77=yes
15221
 
        export_dynamic_flag_spec_F77='${wl}-E'
15222
 
 
15223
 
        # hardcode_minus_L: Not really in the search PATH,
15224
 
        # but as the default location of the library.
15225
 
        hardcode_minus_L_F77=yes
15226
 
      fi
15227
 
      ;;
15228
 
 
15229
 
    hpux11*)
15230
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15231
 
        case $host_cpu in
15232
 
        hppa*64*)
15233
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15234
 
          ;;
15235
 
        ia64*)
15236
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15237
 
          ;;
15238
 
        *)
15239
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15240
 
          ;;
15241
 
        esac
15242
 
      else
15243
 
        case $host_cpu in
15244
 
        hppa*64*)
15245
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15246
 
          ;;
15247
 
        ia64*)
15248
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15249
 
          ;;
15250
 
        *)
15251
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15252
 
          ;;
15253
 
        esac
15254
 
      fi
15255
 
      if test "$with_gnu_ld" = no; then
15256
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15257
 
        hardcode_libdir_separator_F77=:
15258
 
 
15259
 
        case $host_cpu in
15260
 
        hppa*64*|ia64*)
15261
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15262
 
          hardcode_direct_F77=no
15263
 
          hardcode_shlibpath_var_F77=no
15264
 
          ;;
15265
 
        *)
15266
 
          hardcode_direct_F77=yes
15267
 
          export_dynamic_flag_spec_F77='${wl}-E'
15268
 
 
15269
 
          # hardcode_minus_L: Not really in the search PATH,
15270
 
          # but as the default location of the library.
15271
 
          hardcode_minus_L_F77=yes
15272
 
          ;;
15273
 
        esac
15274
 
      fi
15275
 
      ;;
15276
 
 
15277
 
    irix5* | irix6* | nonstopux*)
15278
 
      if test "$GCC" = yes; then
15279
 
        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'
15280
 
      else
15281
 
        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'
15282
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15283
 
      fi
15284
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15285
 
      hardcode_libdir_separator_F77=:
15286
 
      link_all_deplibs_F77=yes
15287
 
      ;;
15288
 
 
15289
 
    netbsd* | netbsdelf*-gnu)
15290
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15291
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
15292
 
      else
15293
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
15294
 
      fi
15295
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15296
 
      hardcode_direct_F77=yes
15297
 
      hardcode_shlibpath_var_F77=no
15298
 
      ;;
15299
 
 
15300
 
    newsos6)
15301
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15302
 
      hardcode_direct_F77=yes
15303
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15304
 
      hardcode_libdir_separator_F77=:
15305
 
      hardcode_shlibpath_var_F77=no
15306
 
      ;;
15307
 
 
15308
 
    openbsd*)
15309
 
      if test -f /usr/libexec/ld.so; then
15310
 
        hardcode_direct_F77=yes
15311
 
        hardcode_shlibpath_var_F77=no
15312
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15313
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15314
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15315
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15316
 
          export_dynamic_flag_spec_F77='${wl}-E'
15317
 
        else
15318
 
          case $host_os in
15319
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15320
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15321
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
15322
 
             ;;
15323
 
           *)
15324
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15325
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15326
 
             ;;
15327
 
          esac
15328
 
        fi
15329
 
      else
15330
 
        ld_shlibs_F77=no
15331
 
      fi
15332
 
      ;;
15333
 
 
15334
 
    os2*)
15335
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15336
 
      hardcode_minus_L_F77=yes
15337
 
      allow_undefined_flag_F77=unsupported
15338
 
      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'
15339
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15340
 
      ;;
15341
 
 
15342
 
    osf3*)
15343
 
      if test "$GCC" = yes; then
15344
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15345
 
        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'
15346
 
      else
15347
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15348
 
        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'
15349
 
      fi
15350
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15351
 
      hardcode_libdir_separator_F77=:
15352
 
      ;;
15353
 
 
15354
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
15355
 
      if test "$GCC" = yes; then
15356
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15357
 
        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'
15358
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15359
 
      else
15360
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15361
 
        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'
15362
 
        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~
15363
 
        $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'
15364
 
 
15365
 
        # Both c and cxx compiler support -rpath directly
15366
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
15367
 
      fi
15368
 
      hardcode_libdir_separator_F77=:
15369
 
      ;;
15370
 
 
15371
 
    solaris*)
15372
 
      no_undefined_flag_F77=' -z text'
15373
 
      if test "$GCC" = yes; then
15374
 
        wlarc='${wl}'
15375
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15376
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15377
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15378
 
      else
15379
 
        wlarc=''
15380
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15381
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15382
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15383
 
      fi
15384
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15385
 
      hardcode_shlibpath_var_F77=no
15386
 
      case $host_os in
15387
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
15388
 
      *)
15389
 
        # The compiler driver will combine and reorder linker options,
15390
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
15391
 
        # but is careful enough not to reorder.
15392
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
15393
 
        if test "$GCC" = yes; then
15394
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15395
 
        else
15396
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
15397
 
        fi
15398
 
        ;;
15399
 
      esac
15400
 
      link_all_deplibs_F77=yes
15401
 
      ;;
15402
 
 
15403
 
    sunos4*)
15404
 
      if test "x$host_vendor" = xsequent; then
15405
 
        # Use $CC to link under sequent, because it throws in some extra .o
15406
 
        # files that make .init and .fini sections work.
15407
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15408
 
      else
15409
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15410
 
      fi
15411
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15412
 
      hardcode_direct_F77=yes
15413
 
      hardcode_minus_L_F77=yes
15414
 
      hardcode_shlibpath_var_F77=no
15415
 
      ;;
15416
 
 
15417
 
    sysv4)
15418
 
      case $host_vendor in
15419
 
        sni)
15420
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15421
 
          hardcode_direct_F77=yes # is this really true???
15422
 
        ;;
15423
 
        siemens)
15424
 
          ## LD is ld it makes a PLAMLIB
15425
 
          ## CC just makes a GrossModule.
15426
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15427
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
15428
 
          hardcode_direct_F77=no
15429
 
        ;;
15430
 
        motorola)
15431
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15432
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15433
 
        ;;
15434
 
      esac
15435
 
      runpath_var='LD_RUN_PATH'
15436
 
      hardcode_shlibpath_var_F77=no
15437
 
      ;;
15438
 
 
15439
 
    sysv4.3*)
15440
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15441
 
      hardcode_shlibpath_var_F77=no
15442
 
      export_dynamic_flag_spec_F77='-Bexport'
15443
 
      ;;
15444
 
 
15445
 
    sysv4*MP*)
15446
 
      if test -d /usr/nec; then
15447
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15448
 
        hardcode_shlibpath_var_F77=no
15449
 
        runpath_var=LD_RUN_PATH
15450
 
        hardcode_runpath_var=yes
15451
 
        ld_shlibs_F77=yes
15452
 
      fi
15453
 
      ;;
15454
 
 
15455
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15456
 
      no_undefined_flag_F77='${wl}-z,text'
15457
 
      archive_cmds_need_lc_F77=no
15458
 
      hardcode_shlibpath_var_F77=no
15459
 
      runpath_var='LD_RUN_PATH'
15460
 
 
15461
 
      if test "$GCC" = yes; then
15462
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15463
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15464
 
      else
15465
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15466
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15467
 
      fi
15468
 
      ;;
15469
 
 
15470
 
    sysv5* | sco3.2v5* | sco5v6*)
15471
 
      # Note: We can NOT use -z defs as we might desire, because we do not
15472
 
      # link with -lc, and that would cause any symbols used from libc to
15473
 
      # always be unresolved, which means just about no library would
15474
 
      # ever link correctly.  If we're not using GNU ld we use -z text
15475
 
      # though, which does catch some bad symbols but isn't as heavy-handed
15476
 
      # as -z defs.
15477
 
      no_undefined_flag_F77='${wl}-z,text'
15478
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
15479
 
      archive_cmds_need_lc_F77=no
15480
 
      hardcode_shlibpath_var_F77=no
15481
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15482
 
      hardcode_libdir_separator_F77=':'
15483
 
      link_all_deplibs_F77=yes
15484
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
15485
 
      runpath_var='LD_RUN_PATH'
15486
 
 
15487
 
      if test "$GCC" = yes; then
15488
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15489
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15490
 
      else
15491
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15492
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15493
 
      fi
15494
 
      ;;
15495
 
 
15496
 
    uts4*)
15497
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15498
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15499
 
      hardcode_shlibpath_var_F77=no
15500
 
      ;;
15501
 
 
15502
 
    *)
15503
 
      ld_shlibs_F77=no
15504
 
      ;;
15505
 
    esac
15506
 
  fi
15507
 
 
15508
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15509
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15510
 
test "$ld_shlibs_F77" = no && can_build_shared=no
15511
 
 
15512
 
#
15513
 
# Do we need to explicitly link libc?
15514
 
#
15515
 
case "x$archive_cmds_need_lc_F77" in
15516
 
x|xyes)
15517
 
  # Assume -lc should be added
15518
 
  archive_cmds_need_lc_F77=yes
15519
 
 
15520
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
15521
 
    case $archive_cmds_F77 in
15522
 
    *'~'*)
15523
 
      # FIXME: we may have to deal with multi-command sequences.
15524
 
      ;;
15525
 
    '$CC '*)
15526
 
      # Test whether the compiler implicitly links with -lc since on some
15527
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15528
 
      # to ld, don't add -lc before -lgcc.
15529
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15530
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15531
 
      $rm conftest*
15532
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15533
 
 
15534
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15535
 
  (eval $ac_compile) 2>&5
15536
 
  ac_status=$?
15537
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15538
 
  (exit $ac_status); } 2>conftest.err; then
15539
 
        soname=conftest
15540
 
        lib=conftest
15541
 
        libobjs=conftest.$ac_objext
15542
 
        deplibs=
15543
 
        wl=$lt_prog_compiler_wl_F77
15544
 
        pic_flag=$lt_prog_compiler_pic_F77
15545
 
        compiler_flags=-v
15546
 
        linker_flags=-v
15547
 
        verstring=
15548
 
        output_objdir=.
15549
 
        libname=conftest
15550
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15551
 
        allow_undefined_flag_F77=
15552
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15553
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15554
 
  ac_status=$?
15555
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556
 
  (exit $ac_status); }
15557
 
        then
15558
 
          archive_cmds_need_lc_F77=no
15559
 
        else
15560
 
          archive_cmds_need_lc_F77=yes
15561
 
        fi
15562
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15563
 
      else
15564
 
        cat conftest.err 1>&5
15565
 
      fi
15566
 
      $rm conftest*
15567
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15568
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15569
 
      ;;
15570
 
    esac
15571
 
  fi
15572
 
  ;;
15573
 
esac
15574
 
 
15575
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15576
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15577
 
library_names_spec=
15578
 
libname_spec='lib$name'
15579
 
soname_spec=
15580
 
shrext_cmds=".so"
15581
 
postinstall_cmds=
15582
 
postuninstall_cmds=
15583
 
finish_cmds=
15584
 
finish_eval=
15585
 
shlibpath_var=
15586
 
shlibpath_overrides_runpath=unknown
15587
 
version_type=none
15588
 
dynamic_linker="$host_os ld.so"
15589
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15590
 
 
15591
 
need_lib_prefix=unknown
15592
 
hardcode_into_libs=no
15593
 
 
15594
 
# when you set need_version to no, make sure it does not cause -set_version
15595
 
# flags to be left without arguments
15596
 
need_version=unknown
15597
 
 
15598
 
case $host_os in
15599
 
aix3*)
15600
 
  version_type=linux
15601
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15602
 
  shlibpath_var=LIBPATH
15603
 
 
15604
 
  # AIX 3 has no versioning support, so we append a major version to the name.
15605
 
  soname_spec='${libname}${release}${shared_ext}$major'
15606
 
  ;;
15607
 
 
15608
 
aix[4-9]*)
15609
 
  version_type=linux
15610
 
  need_lib_prefix=no
15611
 
  need_version=no
15612
 
  hardcode_into_libs=yes
15613
 
  if test "$host_cpu" = ia64; then
15614
 
    # AIX 5 supports IA64
15615
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15616
 
    shlibpath_var=LD_LIBRARY_PATH
15617
 
  else
15618
 
    # With GCC up to 2.95.x, collect2 would create an import file
15619
 
    # for dependence libraries.  The import file would start with
15620
 
    # the line `#! .'.  This would cause the generated library to
15621
 
    # depend on `.', always an invalid library.  This was fixed in
15622
 
    # development snapshots of GCC prior to 3.0.
15623
 
    case $host_os in
15624
 
      aix4 | aix4.[01] | aix4.[01].*)
15625
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15626
 
           echo ' yes '
15627
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15628
 
        :
15629
 
      else
15630
 
        can_build_shared=no
15631
 
      fi
15632
 
      ;;
15633
 
    esac
15634
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15635
 
    # soname into executable. Probably we can add versioning support to
15636
 
    # collect2, so additional links can be useful in future.
15637
 
    if test "$aix_use_runtimelinking" = yes; then
15638
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15639
 
      # instead of lib<name>.a to let people know that these are not
15640
 
      # typical AIX shared libraries.
15641
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15642
 
    else
15643
 
      # We preserve .a as extension for shared libraries through AIX4.2
15644
 
      # and later when we are not doing run time linking.
15645
 
      library_names_spec='${libname}${release}.a $libname.a'
15646
 
      soname_spec='${libname}${release}${shared_ext}$major'
15647
 
    fi
15648
 
    shlibpath_var=LIBPATH
15649
 
  fi
15650
 
  ;;
15651
 
 
15652
 
amigaos*)
15653
 
  library_names_spec='$libname.ixlibrary $libname.a'
15654
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15655
 
  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'
15656
 
  ;;
15657
 
 
15658
 
beos*)
15659
 
  library_names_spec='${libname}${shared_ext}'
15660
 
  dynamic_linker="$host_os ld.so"
15661
 
  shlibpath_var=LIBRARY_PATH
15662
 
  ;;
15663
 
 
15664
 
bsdi[45]*)
15665
 
  version_type=linux
15666
 
  need_version=no
15667
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15668
 
  soname_spec='${libname}${release}${shared_ext}$major'
15669
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15670
 
  shlibpath_var=LD_LIBRARY_PATH
15671
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15672
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15673
 
  # the default ld.so.conf also contains /usr/contrib/lib and
15674
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15675
 
  # libtool to hard-code these into programs
15676
 
  ;;
15677
 
 
15678
 
cygwin* | mingw* | pw32*)
15679
 
  version_type=windows
15680
 
  shrext_cmds=".dll"
15681
 
  need_version=no
15682
 
  need_lib_prefix=no
15683
 
 
15684
 
  case $GCC,$host_os in
15685
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
15686
 
    library_names_spec='$libname.dll.a'
15687
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15688
 
    postinstall_cmds='base_file=`basename \${file}`~
15689
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15690
 
      dldir=$destdir/`dirname \$dlpath`~
15691
 
      test -d \$dldir || mkdir -p \$dldir~
15692
 
      $install_prog $dir/$dlname \$dldir/$dlname~
15693
 
      chmod a+x \$dldir/$dlname'
15694
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15695
 
      dlpath=$dir/\$dldll~
15696
 
       $rm \$dlpath'
15697
 
    shlibpath_overrides_runpath=yes
15698
 
 
15699
 
    case $host_os in
15700
 
    cygwin*)
15701
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15702
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15703
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15704
 
      ;;
15705
 
    mingw*)
15706
 
      # MinGW DLLs use traditional 'lib' prefix
15707
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15708
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15709
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15710
 
        # It is most probably a Windows format PATH printed by
15711
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15712
 
        # path with ; separators, and with drive letters. We can handle the
15713
 
        # drive letters (cygwin fileutils understands them), so leave them,
15714
 
        # especially as we might pass files found there to a mingw objdump,
15715
 
        # which wouldn't understand a cygwinified path. Ahh.
15716
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15717
 
      else
15718
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15719
 
      fi
15720
 
      ;;
15721
 
    pw32*)
15722
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15723
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15724
 
      ;;
15725
 
    esac
15726
 
    ;;
15727
 
 
15728
 
  *)
15729
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15730
 
    ;;
15731
 
  esac
15732
 
  dynamic_linker='Win32 ld.exe'
15733
 
  # FIXME: first we should search . and the directory the executable is in
15734
 
  shlibpath_var=PATH
15735
 
  ;;
15736
 
 
15737
 
darwin* | rhapsody*)
15738
 
  dynamic_linker="$host_os dyld"
15739
 
  version_type=darwin
15740
 
  need_lib_prefix=no
15741
 
  need_version=no
15742
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15743
 
  soname_spec='${libname}${release}${major}$shared_ext'
15744
 
  shlibpath_overrides_runpath=yes
15745
 
  shlibpath_var=DYLD_LIBRARY_PATH
15746
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15747
 
 
15748
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15749
 
  ;;
15750
 
 
15751
 
dgux*)
15752
 
  version_type=linux
15753
 
  need_lib_prefix=no
15754
 
  need_version=no
15755
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15756
 
  soname_spec='${libname}${release}${shared_ext}$major'
15757
 
  shlibpath_var=LD_LIBRARY_PATH
15758
 
  ;;
15759
 
 
15760
 
freebsd1*)
15761
 
  dynamic_linker=no
15762
 
  ;;
15763
 
 
15764
 
freebsd* | dragonfly*)
15765
 
  # DragonFly does not have aout.  When/if they implement a new
15766
 
  # versioning mechanism, adjust this.
15767
 
  if test -x /usr/bin/objformat; then
15768
 
    objformat=`/usr/bin/objformat`
15769
 
  else
15770
 
    case $host_os in
15771
 
    freebsd[123]*) objformat=aout ;;
15772
 
    *) objformat=elf ;;
15773
 
    esac
15774
 
  fi
15775
 
  version_type=freebsd-$objformat
15776
 
  case $version_type in
15777
 
    freebsd-elf*)
15778
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15779
 
      need_version=no
15780
 
      need_lib_prefix=no
15781
 
      ;;
15782
 
    freebsd-*)
15783
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15784
 
      need_version=yes
15785
 
      ;;
15786
 
  esac
15787
 
  shlibpath_var=LD_LIBRARY_PATH
15788
 
  case $host_os in
15789
 
  freebsd2*)
15790
 
    shlibpath_overrides_runpath=yes
15791
 
    ;;
15792
 
  freebsd3.[01]* | freebsdelf3.[01]*)
15793
 
    shlibpath_overrides_runpath=yes
15794
 
    hardcode_into_libs=yes
15795
 
    ;;
15796
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15797
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15798
 
    shlibpath_overrides_runpath=no
15799
 
    hardcode_into_libs=yes
15800
 
    ;;
15801
 
  *) # from 4.6 on, and DragonFly
15802
 
    shlibpath_overrides_runpath=yes
15803
 
    hardcode_into_libs=yes
15804
 
    ;;
15805
 
  esac
15806
 
  ;;
15807
 
 
15808
 
gnu*)
15809
 
  version_type=linux
15810
 
  need_lib_prefix=no
15811
 
  need_version=no
15812
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15813
 
  soname_spec='${libname}${release}${shared_ext}$major'
15814
 
  shlibpath_var=LD_LIBRARY_PATH
15815
 
  hardcode_into_libs=yes
15816
 
  ;;
15817
 
 
15818
 
hpux9* | hpux10* | hpux11*)
15819
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
15820
 
  # link against other versions.
15821
 
  version_type=sunos
15822
 
  need_lib_prefix=no
15823
 
  need_version=no
15824
 
  case $host_cpu in
15825
 
  ia64*)
15826
 
    shrext_cmds='.so'
15827
 
    hardcode_into_libs=yes
15828
 
    dynamic_linker="$host_os dld.so"
15829
 
    shlibpath_var=LD_LIBRARY_PATH
15830
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15831
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15832
 
    soname_spec='${libname}${release}${shared_ext}$major'
15833
 
    if test "X$HPUX_IA64_MODE" = X32; then
15834
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15835
 
    else
15836
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15837
 
    fi
15838
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15839
 
    ;;
15840
 
   hppa*64*)
15841
 
     shrext_cmds='.sl'
15842
 
     hardcode_into_libs=yes
15843
 
     dynamic_linker="$host_os dld.sl"
15844
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15845
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15846
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15847
 
     soname_spec='${libname}${release}${shared_ext}$major'
15848
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15849
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15850
 
     ;;
15851
 
   *)
15852
 
    shrext_cmds='.sl'
15853
 
    dynamic_linker="$host_os dld.sl"
15854
 
    shlibpath_var=SHLIB_PATH
15855
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15856
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15857
 
    soname_spec='${libname}${release}${shared_ext}$major'
15858
 
    ;;
15859
 
  esac
15860
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
15861
 
  postinstall_cmds='chmod 555 $lib'
15862
 
  ;;
15863
 
 
15864
 
interix[3-9]*)
15865
 
  version_type=linux
15866
 
  need_lib_prefix=no
15867
 
  need_version=no
15868
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15869
 
  soname_spec='${libname}${release}${shared_ext}$major'
15870
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15871
 
  shlibpath_var=LD_LIBRARY_PATH
15872
 
  shlibpath_overrides_runpath=no
15873
 
  hardcode_into_libs=yes
15874
 
  ;;
15875
 
 
15876
 
irix5* | irix6* | nonstopux*)
15877
 
  case $host_os in
15878
 
    nonstopux*) version_type=nonstopux ;;
15879
 
    *)
15880
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
15881
 
                version_type=linux
15882
 
        else
15883
 
                version_type=irix
15884
 
        fi ;;
15885
 
  esac
15886
 
  need_lib_prefix=no
15887
 
  need_version=no
15888
 
  soname_spec='${libname}${release}${shared_ext}$major'
15889
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15890
 
  case $host_os in
15891
 
  irix5* | nonstopux*)
15892
 
    libsuff= shlibsuff=
15893
 
    ;;
15894
 
  *)
15895
 
    case $LD in # libtool.m4 will add one of these switches to LD
15896
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15897
 
      libsuff= shlibsuff= libmagic=32-bit;;
15898
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15899
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
15900
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15901
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15902
 
    *) libsuff= shlibsuff= libmagic=never-match;;
15903
 
    esac
15904
 
    ;;
15905
 
  esac
15906
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15907
 
  shlibpath_overrides_runpath=no
15908
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15909
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15910
 
  hardcode_into_libs=yes
15911
 
  ;;
15912
 
 
15913
 
# No shared lib support for Linux oldld, aout, or coff.
15914
 
linux*oldld* | linux*aout* | linux*coff*)
15915
 
  dynamic_linker=no
15916
 
  ;;
15917
 
 
15918
 
# This must be Linux ELF.
15919
 
linux* | k*bsd*-gnu)
15920
 
  version_type=linux
15921
 
  need_lib_prefix=no
15922
 
  need_version=no
15923
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15924
 
  soname_spec='${libname}${release}${shared_ext}$major'
15925
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15926
 
  shlibpath_var=LD_LIBRARY_PATH
15927
 
  shlibpath_overrides_runpath=no
15928
 
  # This implies no fast_install, which is unacceptable.
15929
 
  # Some rework will be needed to allow for fast_install
15930
 
  # before this can be enabled.
15931
 
  hardcode_into_libs=yes
15932
 
 
15933
 
  # Append ld.so.conf contents to the search path
15934
 
  if test -f /etc/ld.so.conf; then
15935
 
    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' ' '`
15936
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15937
 
  fi
15938
 
 
15939
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15940
 
  # powerpc, because MkLinux only supported shared libraries with the
15941
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
15942
 
  # most powerpc-linux boxes support dynamic linking these days and
15943
 
  # people can always --disable-shared, the test was removed, and we
15944
 
  # assume the GNU/Linux dynamic linker is in use.
15945
 
  dynamic_linker='GNU/Linux ld.so'
15946
 
  ;;
15947
 
 
15948
 
netbsdelf*-gnu)
15949
 
  version_type=linux
15950
 
  need_lib_prefix=no
15951
 
  need_version=no
15952
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15953
 
  soname_spec='${libname}${release}${shared_ext}$major'
15954
 
  shlibpath_var=LD_LIBRARY_PATH
15955
 
  shlibpath_overrides_runpath=no
15956
 
  hardcode_into_libs=yes
15957
 
  dynamic_linker='NetBSD ld.elf_so'
15958
 
  ;;
15959
 
 
15960
 
netbsd*)
15961
 
  version_type=sunos
15962
 
  need_lib_prefix=no
15963
 
  need_version=no
15964
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15965
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15966
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15967
 
    dynamic_linker='NetBSD (a.out) ld.so'
15968
 
  else
15969
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15970
 
    soname_spec='${libname}${release}${shared_ext}$major'
15971
 
    dynamic_linker='NetBSD ld.elf_so'
15972
 
  fi
15973
 
  shlibpath_var=LD_LIBRARY_PATH
15974
 
  shlibpath_overrides_runpath=yes
15975
 
  hardcode_into_libs=yes
15976
 
  ;;
15977
 
 
15978
 
newsos6)
15979
 
  version_type=linux
15980
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15981
 
  shlibpath_var=LD_LIBRARY_PATH
15982
 
  shlibpath_overrides_runpath=yes
15983
 
  ;;
15984
 
 
15985
 
nto-qnx*)
15986
 
  version_type=linux
15987
 
  need_lib_prefix=no
15988
 
  need_version=no
15989
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15990
 
  soname_spec='${libname}${release}${shared_ext}$major'
15991
 
  shlibpath_var=LD_LIBRARY_PATH
15992
 
  shlibpath_overrides_runpath=yes
15993
 
  ;;
15994
 
 
15995
 
openbsd*)
15996
 
  version_type=sunos
15997
 
  sys_lib_dlsearch_path_spec="/usr/lib"
15998
 
  need_lib_prefix=no
15999
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16000
 
  case $host_os in
16001
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16002
 
    *)                         need_version=no  ;;
16003
 
  esac
16004
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16005
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16006
 
  shlibpath_var=LD_LIBRARY_PATH
16007
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16008
 
    case $host_os in
16009
 
      openbsd2.[89] | openbsd2.[89].*)
16010
 
        shlibpath_overrides_runpath=no
16011
 
        ;;
16012
 
      *)
16013
 
        shlibpath_overrides_runpath=yes
16014
 
        ;;
16015
 
      esac
16016
 
  else
16017
 
    shlibpath_overrides_runpath=yes
16018
 
  fi
16019
 
  ;;
16020
 
 
16021
 
os2*)
16022
 
  libname_spec='$name'
16023
 
  shrext_cmds=".dll"
16024
 
  need_lib_prefix=no
16025
 
  library_names_spec='$libname${shared_ext} $libname.a'
16026
 
  dynamic_linker='OS/2 ld.exe'
16027
 
  shlibpath_var=LIBPATH
16028
 
  ;;
16029
 
 
16030
 
osf3* | osf4* | osf5*)
16031
 
  version_type=osf
16032
 
  need_lib_prefix=no
16033
 
  need_version=no
16034
 
  soname_spec='${libname}${release}${shared_ext}$major'
16035
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16036
 
  shlibpath_var=LD_LIBRARY_PATH
16037
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16038
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16039
 
  ;;
16040
 
 
16041
 
rdos*)
16042
 
  dynamic_linker=no
16043
 
  ;;
16044
 
 
16045
 
solaris*)
16046
 
  version_type=linux
16047
 
  need_lib_prefix=no
16048
 
  need_version=no
16049
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16050
 
  soname_spec='${libname}${release}${shared_ext}$major'
16051
 
  shlibpath_var=LD_LIBRARY_PATH
16052
 
  shlibpath_overrides_runpath=yes
16053
 
  hardcode_into_libs=yes
16054
 
  # ldd complains unless libraries are executable
16055
 
  postinstall_cmds='chmod +x $lib'
16056
 
  ;;
16057
 
 
16058
 
sunos4*)
16059
 
  version_type=sunos
16060
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16061
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16062
 
  shlibpath_var=LD_LIBRARY_PATH
16063
 
  shlibpath_overrides_runpath=yes
16064
 
  if test "$with_gnu_ld" = yes; then
16065
 
    need_lib_prefix=no
16066
 
  fi
16067
 
  need_version=yes
16068
 
  ;;
16069
 
 
16070
 
sysv4 | sysv4.3*)
16071
 
  version_type=linux
16072
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16073
 
  soname_spec='${libname}${release}${shared_ext}$major'
16074
 
  shlibpath_var=LD_LIBRARY_PATH
16075
 
  case $host_vendor in
16076
 
    sni)
16077
 
      shlibpath_overrides_runpath=no
16078
 
      need_lib_prefix=no
16079
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
16080
 
      runpath_var=LD_RUN_PATH
16081
 
      ;;
16082
 
    siemens)
16083
 
      need_lib_prefix=no
16084
 
      ;;
16085
 
    motorola)
16086
 
      need_lib_prefix=no
16087
 
      need_version=no
16088
 
      shlibpath_overrides_runpath=no
16089
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16090
 
      ;;
16091
 
  esac
16092
 
  ;;
16093
 
 
16094
 
sysv4*MP*)
16095
 
  if test -d /usr/nec ;then
16096
 
    version_type=linux
16097
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16098
 
    soname_spec='$libname${shared_ext}.$major'
16099
 
    shlibpath_var=LD_LIBRARY_PATH
16100
 
  fi
16101
 
  ;;
16102
 
 
16103
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16104
 
  version_type=freebsd-elf
16105
 
  need_lib_prefix=no
16106
 
  need_version=no
16107
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16108
 
  soname_spec='${libname}${release}${shared_ext}$major'
16109
 
  shlibpath_var=LD_LIBRARY_PATH
16110
 
  hardcode_into_libs=yes
16111
 
  if test "$with_gnu_ld" = yes; then
16112
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16113
 
    shlibpath_overrides_runpath=no
16114
 
  else
16115
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16116
 
    shlibpath_overrides_runpath=yes
16117
 
    case $host_os in
16118
 
      sco3.2v5*)
16119
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16120
 
        ;;
16121
 
    esac
16122
 
  fi
16123
 
  sys_lib_dlsearch_path_spec='/usr/lib'
16124
 
  ;;
16125
 
 
16126
 
uts4*)
16127
 
  version_type=linux
16128
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16129
 
  soname_spec='${libname}${release}${shared_ext}$major'
16130
 
  shlibpath_var=LD_LIBRARY_PATH
16131
 
  ;;
16132
 
 
16133
 
*)
16134
 
  dynamic_linker=no
16135
 
  ;;
16136
 
esac
16137
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16138
 
echo "${ECHO_T}$dynamic_linker" >&6; }
16139
 
test "$dynamic_linker" = no && can_build_shared=no
16140
 
 
16141
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16142
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16143
 
else
16144
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
16145
 
fi
16146
 
 
16147
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16148
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16149
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16150
 
else
16151
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
16152
 
fi
16153
 
 
16154
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16155
 
 
16156
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16157
 
if test "$GCC" = yes; then
16158
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16159
 
fi
16160
 
 
16161
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16162
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16163
 
hardcode_action_F77=
16164
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
16165
 
   test -n "$runpath_var_F77" || \
16166
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
16167
 
 
16168
 
  # We can hardcode non-existant directories.
16169
 
  if test "$hardcode_direct_F77" != no &&
16170
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16171
 
     # have to relink, otherwise we might link with an installed library
16172
 
     # when we should be linking with a yet-to-be-installed one
16173
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16174
 
     test "$hardcode_minus_L_F77" != no; then
16175
 
    # Linking always hardcodes the temporary library directory.
16176
 
    hardcode_action_F77=relink
16177
 
  else
16178
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16179
 
    hardcode_action_F77=immediate
16180
 
  fi
16181
 
else
16182
 
  # We cannot hardcode anything, or else we can only hardcode existing
16183
 
  # directories.
16184
 
  hardcode_action_F77=unsupported
16185
 
fi
16186
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16187
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
16188
 
 
16189
 
if test "$hardcode_action_F77" = relink; then
16190
 
  # Fast installation is not supported
16191
 
  enable_fast_install=no
16192
 
elif test "$shlibpath_overrides_runpath" = yes ||
16193
 
     test "$enable_shared" = no; then
16194
 
  # Fast installation is not necessary
16195
 
  enable_fast_install=needless
16196
 
fi
16197
 
 
16198
 
 
16199
 
# The else clause should only fire when bootstrapping the
16200
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
16201
 
# with your package, and you will get complaints that there are
16202
 
# no rules to generate ltmain.sh.
16203
 
if test -f "$ltmain"; then
16204
 
  # See if we are running on zsh, and set the options which allow our commands through
16205
 
  # without removal of \ escapes.
16206
 
  if test -n "${ZSH_VERSION+set}" ; then
16207
 
    setopt NO_GLOB_SUBST
16208
 
  fi
16209
 
  # Now quote all the things that may contain metacharacters while being
16210
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
16211
 
  # variables and quote the copies for generation of the libtool script.
16212
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16213
 
    SED SHELL STRIP \
16214
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16215
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16216
 
    deplibs_check_method reload_flag reload_cmds need_locks \
16217
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16218
 
    lt_cv_sys_global_symbol_to_c_name_address \
16219
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16220
 
    old_postinstall_cmds old_postuninstall_cmds \
16221
 
    compiler_F77 \
16222
 
    CC_F77 \
16223
 
    LD_F77 \
16224
 
    lt_prog_compiler_wl_F77 \
16225
 
    lt_prog_compiler_pic_F77 \
16226
 
    lt_prog_compiler_static_F77 \
16227
 
    lt_prog_compiler_no_builtin_flag_F77 \
16228
 
    export_dynamic_flag_spec_F77 \
16229
 
    thread_safe_flag_spec_F77 \
16230
 
    whole_archive_flag_spec_F77 \
16231
 
    enable_shared_with_static_runtimes_F77 \
16232
 
    old_archive_cmds_F77 \
16233
 
    old_archive_from_new_cmds_F77 \
16234
 
    predep_objects_F77 \
16235
 
    postdep_objects_F77 \
16236
 
    predeps_F77 \
16237
 
    postdeps_F77 \
16238
 
    compiler_lib_search_path_F77 \
16239
 
    compiler_lib_search_dirs_F77 \
16240
 
    archive_cmds_F77 \
16241
 
    archive_expsym_cmds_F77 \
16242
 
    postinstall_cmds_F77 \
16243
 
    postuninstall_cmds_F77 \
16244
 
    old_archive_from_expsyms_cmds_F77 \
16245
 
    allow_undefined_flag_F77 \
16246
 
    no_undefined_flag_F77 \
16247
 
    export_symbols_cmds_F77 \
16248
 
    hardcode_libdir_flag_spec_F77 \
16249
 
    hardcode_libdir_flag_spec_ld_F77 \
16250
 
    hardcode_libdir_separator_F77 \
16251
 
    hardcode_automatic_F77 \
16252
 
    module_cmds_F77 \
16253
 
    module_expsym_cmds_F77 \
16254
 
    lt_cv_prog_compiler_c_o_F77 \
16255
 
    fix_srcfile_path_F77 \
16256
 
    exclude_expsyms_F77 \
16257
 
    include_expsyms_F77; do
16258
 
 
16259
 
    case $var in
16260
 
    old_archive_cmds_F77 | \
16261
 
    old_archive_from_new_cmds_F77 | \
16262
 
    archive_cmds_F77 | \
16263
 
    archive_expsym_cmds_F77 | \
16264
 
    module_cmds_F77 | \
16265
 
    module_expsym_cmds_F77 | \
16266
 
    old_archive_from_expsyms_cmds_F77 | \
16267
 
    export_symbols_cmds_F77 | \
16268
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
16269
 
    postinstall_cmds | postuninstall_cmds | \
16270
 
    old_postinstall_cmds | old_postuninstall_cmds | \
16271
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16272
 
      # Double-quote double-evaled strings.
16273
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16274
 
      ;;
16275
 
    *)
16276
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16277
 
      ;;
16278
 
    esac
16279
 
  done
16280
 
 
16281
 
  case $lt_echo in
16282
 
  *'\$0 --fallback-echo"')
16283
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16284
 
    ;;
16285
 
  esac
16286
 
 
16287
 
cfgfile="$ofile"
16288
 
 
16289
 
  cat <<__EOF__ >> "$cfgfile"
16290
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16291
 
 
16292
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16293
 
 
16294
 
# Shell to use when invoking shell scripts.
16295
 
SHELL=$lt_SHELL
16296
 
 
16297
 
# Whether or not to build shared libraries.
16298
 
build_libtool_libs=$enable_shared
16299
 
 
16300
 
# Whether or not to build static libraries.
16301
 
build_old_libs=$enable_static
16302
 
 
16303
 
# Whether or not to add -lc for building shared libraries.
16304
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
16305
 
 
16306
 
# Whether or not to disallow shared libs when runtime libs are static
16307
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16308
 
 
16309
 
# Whether or not to optimize for fast installation.
16310
 
fast_install=$enable_fast_install
16311
 
 
16312
 
# The host system.
16313
 
host_alias=$host_alias
16314
 
host=$host
16315
 
host_os=$host_os
16316
 
 
16317
 
# The build system.
16318
 
build_alias=$build_alias
16319
 
build=$build
16320
 
build_os=$build_os
16321
 
 
16322
 
# An echo program that does not interpret backslashes.
16323
 
echo=$lt_echo
16324
 
 
16325
 
# The archiver.
16326
 
AR=$lt_AR
16327
 
AR_FLAGS=$lt_AR_FLAGS
16328
 
 
16329
 
# A C compiler.
16330
 
LTCC=$lt_LTCC
16331
 
 
16332
 
# LTCC compiler flags.
16333
 
LTCFLAGS=$lt_LTCFLAGS
16334
 
 
16335
 
# A language-specific compiler.
16336
 
CC=$lt_compiler_F77
16337
 
 
16338
 
# Is the compiler the GNU C compiler?
16339
 
with_gcc=$GCC_F77
16340
 
 
16341
 
# An ERE matcher.
16342
 
EGREP=$lt_EGREP
16343
 
 
16344
 
# The linker used to build libraries.
16345
 
LD=$lt_LD_F77
16346
 
 
16347
 
# Whether we need hard or soft links.
16348
 
LN_S=$lt_LN_S
16349
 
 
16350
 
# A BSD-compatible nm program.
16351
 
NM=$lt_NM
16352
 
 
16353
 
# A symbol stripping program
16354
 
STRIP=$lt_STRIP
16355
 
 
16356
 
# Used to examine libraries when file_magic_cmd begins "file"
16357
 
MAGIC_CMD=$MAGIC_CMD
16358
 
 
16359
 
# Used on cygwin: DLL creation program.
16360
 
DLLTOOL="$DLLTOOL"
16361
 
 
16362
 
# Used on cygwin: object dumper.
16363
 
OBJDUMP="$OBJDUMP"
16364
 
 
16365
 
# Used on cygwin: assembler.
16366
 
AS="$AS"
16367
 
 
16368
 
# The name of the directory that contains temporary libtool files.
16369
 
objdir=$objdir
16370
 
 
16371
 
# How to create reloadable object files.
16372
 
reload_flag=$lt_reload_flag
16373
 
reload_cmds=$lt_reload_cmds
16374
 
 
16375
 
# How to pass a linker flag through the compiler.
16376
 
wl=$lt_lt_prog_compiler_wl_F77
16377
 
 
16378
 
# Object file suffix (normally "o").
16379
 
objext="$ac_objext"
16380
 
 
16381
 
# Old archive suffix (normally "a").
16382
 
libext="$libext"
16383
 
 
16384
 
# Shared library suffix (normally ".so").
16385
 
shrext_cmds='$shrext_cmds'
16386
 
 
16387
 
# Executable file suffix (normally "").
16388
 
exeext="$exeext"
16389
 
 
16390
 
# Additional compiler flags for building library objects.
16391
 
pic_flag=$lt_lt_prog_compiler_pic_F77
16392
 
pic_mode=$pic_mode
16393
 
 
16394
 
# What is the maximum length of a command?
16395
 
max_cmd_len=$lt_cv_sys_max_cmd_len
16396
 
 
16397
 
# Does compiler simultaneously support -c and -o options?
16398
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16399
 
 
16400
 
# Must we lock files when doing compilation?
16401
 
need_locks=$lt_need_locks
16402
 
 
16403
 
# Do we need the lib prefix for modules?
16404
 
need_lib_prefix=$need_lib_prefix
16405
 
 
16406
 
# Do we need a version for libraries?
16407
 
need_version=$need_version
16408
 
 
16409
 
# Whether dlopen is supported.
16410
 
dlopen_support=$enable_dlopen
16411
 
 
16412
 
# Whether dlopen of programs is supported.
16413
 
dlopen_self=$enable_dlopen_self
16414
 
 
16415
 
# Whether dlopen of statically linked programs is supported.
16416
 
dlopen_self_static=$enable_dlopen_self_static
16417
 
 
16418
 
# Compiler flag to prevent dynamic linking.
16419
 
link_static_flag=$lt_lt_prog_compiler_static_F77
16420
 
 
16421
 
# Compiler flag to turn off builtin functions.
16422
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16423
 
 
16424
 
# Compiler flag to allow reflexive dlopens.
16425
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16426
 
 
16427
 
# Compiler flag to generate shared objects directly from archives.
16428
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16429
 
 
16430
 
# Compiler flag to generate thread-safe objects.
16431
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16432
 
 
16433
 
# Library versioning type.
16434
 
version_type=$version_type
16435
 
 
16436
 
# Format of library name prefix.
16437
 
libname_spec=$lt_libname_spec
16438
 
 
16439
 
# List of archive names.  First name is the real one, the rest are links.
16440
 
# The last name is the one that the linker finds with -lNAME.
16441
 
library_names_spec=$lt_library_names_spec
16442
 
 
16443
 
# The coded name of the library, if different from the real name.
16444
 
soname_spec=$lt_soname_spec
16445
 
 
16446
 
# Commands used to build and install an old-style archive.
16447
 
RANLIB=$lt_RANLIB
16448
 
old_archive_cmds=$lt_old_archive_cmds_F77
16449
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16450
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16451
 
 
16452
 
# Create an old-style archive from a shared archive.
16453
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16454
 
 
16455
 
# Create a temporary old-style archive to link instead of a shared archive.
16456
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16457
 
 
16458
 
# Commands used to build and install a shared archive.
16459
 
archive_cmds=$lt_archive_cmds_F77
16460
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16461
 
postinstall_cmds=$lt_postinstall_cmds
16462
 
postuninstall_cmds=$lt_postuninstall_cmds
16463
 
 
16464
 
# Commands used to build a loadable module (assumed same as above if empty)
16465
 
module_cmds=$lt_module_cmds_F77
16466
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
16467
 
 
16468
 
# Commands to strip libraries.
16469
 
old_striplib=$lt_old_striplib
16470
 
striplib=$lt_striplib
16471
 
 
16472
 
# Dependencies to place before the objects being linked to create a
16473
 
# shared library.
16474
 
predep_objects=$lt_predep_objects_F77
16475
 
 
16476
 
# Dependencies to place after the objects being linked to create a
16477
 
# shared library.
16478
 
postdep_objects=$lt_postdep_objects_F77
16479
 
 
16480
 
# Dependencies to place before the objects being linked to create a
16481
 
# shared library.
16482
 
predeps=$lt_predeps_F77
16483
 
 
16484
 
# Dependencies to place after the objects being linked to create a
16485
 
# shared library.
16486
 
postdeps=$lt_postdeps_F77
16487
 
 
16488
 
# The directories searched by this compiler when creating a shared
16489
 
# library
16490
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
16491
 
 
16492
 
# The library search path used internally by the compiler when linking
16493
 
# a shared library.
16494
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16495
 
 
16496
 
# Method to check whether dependent libraries are shared objects.
16497
 
deplibs_check_method=$lt_deplibs_check_method
16498
 
 
16499
 
# Command to use when deplibs_check_method == file_magic.
16500
 
file_magic_cmd=$lt_file_magic_cmd
16501
 
 
16502
 
# Flag that allows shared libraries with undefined symbols to be built.
16503
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
16504
 
 
16505
 
# Flag that forces no undefined symbols.
16506
 
no_undefined_flag=$lt_no_undefined_flag_F77
16507
 
 
16508
 
# Commands used to finish a libtool library installation in a directory.
16509
 
finish_cmds=$lt_finish_cmds
16510
 
 
16511
 
# Same as above, but a single script fragment to be evaled but not shown.
16512
 
finish_eval=$lt_finish_eval
16513
 
 
16514
 
# Take the output of nm and produce a listing of raw symbols and C names.
16515
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16516
 
 
16517
 
# Transform the output of nm in a proper C declaration
16518
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16519
 
 
16520
 
# Transform the output of nm in a C name address pair
16521
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16522
 
 
16523
 
# This is the shared library runtime path variable.
16524
 
runpath_var=$runpath_var
16525
 
 
16526
 
# This is the shared library path variable.
16527
 
shlibpath_var=$shlibpath_var
16528
 
 
16529
 
# Is shlibpath searched before the hard-coded library search path?
16530
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16531
 
 
16532
 
# How to hardcode a shared library path into an executable.
16533
 
hardcode_action=$hardcode_action_F77
16534
 
 
16535
 
# Whether we should hardcode library paths into libraries.
16536
 
hardcode_into_libs=$hardcode_into_libs
16537
 
 
16538
 
# Flag to hardcode \$libdir into a binary during linking.
16539
 
# This must work even if \$libdir does not exist.
16540
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16541
 
 
16542
 
# If ld is used when linking, flag to hardcode \$libdir into
16543
 
# a binary during linking. This must work even if \$libdir does
16544
 
# not exist.
16545
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16546
 
 
16547
 
# Whether we need a single -rpath flag with a separated argument.
16548
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16549
 
 
16550
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16551
 
# resulting binary.
16552
 
hardcode_direct=$hardcode_direct_F77
16553
 
 
16554
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16555
 
# resulting binary.
16556
 
hardcode_minus_L=$hardcode_minus_L_F77
16557
 
 
16558
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16559
 
# the resulting binary.
16560
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16561
 
 
16562
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16563
 
# and all subsequent libraries and executables linked against it.
16564
 
hardcode_automatic=$hardcode_automatic_F77
16565
 
 
16566
 
# Variables whose values should be saved in libtool wrapper scripts and
16567
 
# restored at relink time.
16568
 
variables_saved_for_relink="$variables_saved_for_relink"
16569
 
 
16570
 
# Whether libtool must link a program against all its dependency libraries.
16571
 
link_all_deplibs=$link_all_deplibs_F77
16572
 
 
16573
 
# Compile-time system search path for libraries
16574
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16575
 
 
16576
 
# Run-time system search path for libraries
16577
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16578
 
 
16579
 
# Fix the shell variable \$srcfile for the compiler.
16580
 
fix_srcfile_path=$lt_fix_srcfile_path
16581
 
 
16582
 
# Set to yes if exported symbols are required.
16583
 
always_export_symbols=$always_export_symbols_F77
16584
 
 
16585
 
# The commands to list exported symbols.
16586
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
16587
 
 
16588
 
# The commands to extract the exported symbol list from a shared archive.
16589
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16590
 
 
16591
 
# Symbols that should not be listed in the preloaded symbols.
16592
 
exclude_expsyms=$lt_exclude_expsyms_F77
16593
 
 
16594
 
# Symbols that must always be exported.
16595
 
include_expsyms=$lt_include_expsyms_F77
16596
 
 
16597
 
# ### END LIBTOOL TAG CONFIG: $tagname
16598
 
 
16599
 
__EOF__
16600
 
 
16601
 
 
16602
 
else
16603
 
  # If there is no Makefile yet, we rely on a make rule to execute
16604
 
  # `config.status --recheck' to rerun these tests and create the
16605
 
  # libtool script then.
16606
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16607
 
  if test -f "$ltmain_in"; then
16608
 
    test -f Makefile && make "$ltmain"
16609
 
  fi
16610
 
fi
16611
 
 
16612
 
 
16613
 
ac_ext=c
16614
 
ac_cpp='$CPP $CPPFLAGS'
16615
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16616
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16617
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16618
 
 
16619
 
CC="$lt_save_CC"
16620
 
 
16621
 
        else
16622
 
          tagname=""
16623
 
        fi
16624
 
        ;;
16625
 
 
16626
 
      GCJ)
16627
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16628
 
 
16629
 
 
16630
 
# Source file extension for Java test sources.
16631
 
ac_ext=java
16632
 
 
16633
 
# Object file extension for compiled Java test sources.
16634
 
objext=o
16635
 
objext_GCJ=$objext
16636
 
 
16637
 
# Code to be used in simple compile tests
16638
 
lt_simple_compile_test_code="class foo {}"
16639
 
 
16640
 
# Code to be used in simple link tests
16641
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
16642
 
 
16643
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16644
 
 
16645
 
# If no C compiler was specified, use CC.
16646
 
LTCC=${LTCC-"$CC"}
16647
 
 
16648
 
# If no C compiler flags were specified, use CFLAGS.
16649
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16650
 
 
16651
 
# Allow CC to be a program name with arguments.
16652
 
compiler=$CC
16653
 
 
16654
 
 
16655
 
# save warnings/boilerplate of simple test code
16656
 
ac_outfile=conftest.$ac_objext
16657
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16658
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16659
 
_lt_compiler_boilerplate=`cat conftest.err`
16660
 
$rm conftest*
16661
 
 
16662
 
ac_outfile=conftest.$ac_objext
16663
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16664
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16665
 
_lt_linker_boilerplate=`cat conftest.err`
16666
 
$rm -r conftest*
16667
 
 
16668
 
 
16669
 
# Allow CC to be a program name with arguments.
16670
 
lt_save_CC="$CC"
16671
 
CC=${GCJ-"gcj"}
16672
 
compiler=$CC
16673
 
compiler_GCJ=$CC
16674
 
for cc_temp in $compiler""; do
16675
 
  case $cc_temp in
16676
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16677
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16678
 
    \-*) ;;
16679
 
    *) break;;
16680
 
  esac
16681
 
done
16682
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16683
 
 
16684
 
 
16685
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
16686
 
archive_cmds_need_lc_GCJ=no
16687
 
 
16688
 
old_archive_cmds_GCJ=$old_archive_cmds
16689
 
 
16690
 
 
16691
 
lt_prog_compiler_no_builtin_flag_GCJ=
16692
 
 
16693
 
if test "$GCC" = yes; then
16694
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16695
 
 
16696
 
 
16697
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16698
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16699
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16700
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16701
 
else
16702
 
  lt_cv_prog_compiler_rtti_exceptions=no
16703
 
  ac_outfile=conftest.$ac_objext
16704
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16705
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
16706
 
   # Insert the option either (1) after the last *FLAGS variable, or
16707
 
   # (2) before a word containing "conftest.", or (3) at the end.
16708
 
   # Note that $ac_compile itself does not contain backslashes and begins
16709
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16710
 
   # The option is referenced via a variable to avoid confusing sed.
16711
 
   lt_compile=`echo "$ac_compile" | $SED \
16712
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16713
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16714
 
   -e 's:$: $lt_compiler_flag:'`
16715
 
   (eval echo "\"\$as_me:16715: $lt_compile\"" >&5)
16716
 
   (eval "$lt_compile" 2>conftest.err)
16717
 
   ac_status=$?
16718
 
   cat conftest.err >&5
16719
 
   echo "$as_me:16719: \$? = $ac_status" >&5
16720
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16721
 
     # The compiler can only warn and ignore the option if not recognized
16722
 
     # So say no if there are warnings other than the usual output.
16723
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16724
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16725
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16726
 
       lt_cv_prog_compiler_rtti_exceptions=yes
16727
 
     fi
16728
 
   fi
16729
 
   $rm conftest*
16730
 
 
16731
 
fi
16732
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16733
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16734
 
 
16735
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16736
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16737
 
else
16738
 
    :
16739
 
fi
16740
 
 
16741
 
fi
16742
 
 
16743
 
lt_prog_compiler_wl_GCJ=
16744
 
lt_prog_compiler_pic_GCJ=
16745
 
lt_prog_compiler_static_GCJ=
16746
 
 
16747
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16748
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16749
 
 
16750
 
  if test "$GCC" = yes; then
16751
 
    lt_prog_compiler_wl_GCJ='-Wl,'
16752
 
    lt_prog_compiler_static_GCJ='-static'
16753
 
 
16754
 
    case $host_os in
16755
 
      aix*)
16756
 
      # All AIX code is PIC.
16757
 
      if test "$host_cpu" = ia64; then
16758
 
        # AIX 5 now supports IA64 processor
16759
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16760
 
      fi
16761
 
      ;;
16762
 
 
16763
 
    amigaos*)
16764
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16765
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16766
 
      # like `-m68040'.
16767
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16768
 
      ;;
16769
 
 
16770
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16771
 
      # PIC is the default for these OSes.
16772
 
      ;;
16773
 
 
16774
 
    mingw* | cygwin* | pw32* | os2*)
16775
 
      # This hack is so that the source file can tell whether it is being
16776
 
      # built for inclusion in a dll (and should export symbols for example).
16777
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
16778
 
      # (--disable-auto-import) libraries
16779
 
 
16780
 
      ;;
16781
 
 
16782
 
    darwin* | rhapsody*)
16783
 
      # PIC is the default on this platform
16784
 
      # Common symbols not allowed in MH_DYLIB files
16785
 
      lt_prog_compiler_pic_GCJ='-fno-common'
16786
 
      ;;
16787
 
 
16788
 
    interix[3-9]*)
16789
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16790
 
      # Instead, we relocate shared libraries at runtime.
16791
 
      ;;
16792
 
 
16793
 
    msdosdjgpp*)
16794
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16795
 
      # on systems that don't support them.
16796
 
      lt_prog_compiler_can_build_shared_GCJ=no
16797
 
      enable_shared=no
16798
 
      ;;
16799
 
 
16800
 
    sysv4*MP*)
16801
 
      if test -d /usr/nec; then
16802
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
16803
 
      fi
16804
 
      ;;
16805
 
 
16806
 
    hpux*)
16807
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16808
 
      # not for PA HP-UX.
16809
 
      case $host_cpu in
16810
 
      hppa*64*|ia64*)
16811
 
        # +Z the default
16812
 
        ;;
16813
 
      *)
16814
 
        lt_prog_compiler_pic_GCJ='-fPIC'
16815
 
        ;;
16816
 
      esac
16817
 
      ;;
16818
 
 
16819
 
    *)
16820
 
      lt_prog_compiler_pic_GCJ='-fPIC'
16821
 
      ;;
16822
 
    esac
16823
 
  else
16824
 
    # PORTME Check for flag to pass linker flags through the system compiler.
16825
 
    case $host_os in
16826
 
    aix*)
16827
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16828
 
      if test "$host_cpu" = ia64; then
16829
 
        # AIX 5 now supports IA64 processor
16830
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16831
 
      else
16832
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
16833
 
      fi
16834
 
      ;;
16835
 
      darwin*)
16836
 
        # PIC is the default on this platform
16837
 
        # Common symbols not allowed in MH_DYLIB files
16838
 
       case $cc_basename in
16839
 
         xlc*)
16840
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
16841
 
         lt_prog_compiler_wl_GCJ='-Wl,'
16842
 
         ;;
16843
 
       esac
16844
 
       ;;
16845
 
 
16846
 
    mingw* | cygwin* | pw32* | os2*)
16847
 
      # This hack is so that the source file can tell whether it is being
16848
 
      # built for inclusion in a dll (and should export symbols for example).
16849
 
 
16850
 
      ;;
16851
 
 
16852
 
    hpux9* | hpux10* | hpux11*)
16853
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16854
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16855
 
      # not for PA HP-UX.
16856
 
      case $host_cpu in
16857
 
      hppa*64*|ia64*)
16858
 
        # +Z the default
16859
 
        ;;
16860
 
      *)
16861
 
        lt_prog_compiler_pic_GCJ='+Z'
16862
 
        ;;
16863
 
      esac
16864
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
16865
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
16866
 
      ;;
16867
 
 
16868
 
    irix5* | irix6* | nonstopux*)
16869
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16870
 
      # PIC (with -KPIC) is the default.
16871
 
      lt_prog_compiler_static_GCJ='-non_shared'
16872
 
      ;;
16873
 
 
16874
 
    newsos6)
16875
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16876
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16877
 
      ;;
16878
 
 
16879
 
    linux* | k*bsd*-gnu)
16880
 
      case $cc_basename in
16881
 
      icc* | ecc*)
16882
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16883
 
        lt_prog_compiler_pic_GCJ='-KPIC'
16884
 
        lt_prog_compiler_static_GCJ='-static'
16885
 
        ;;
16886
 
      pgcc* | pgf77* | pgf90* | pgf95*)
16887
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
16888
 
        # which looks to be a dead project)
16889
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16890
 
        lt_prog_compiler_pic_GCJ='-fpic'
16891
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16892
 
        ;;
16893
 
      ccc*)
16894
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16895
 
        # All Alpha code is PIC.
16896
 
        lt_prog_compiler_static_GCJ='-non_shared'
16897
 
        ;;
16898
 
      *)
16899
 
        case `$CC -V 2>&1 | sed 5q` in
16900
 
        *Sun\ C*)
16901
 
          # Sun C 5.9
16902
 
          lt_prog_compiler_pic_GCJ='-KPIC'
16903
 
          lt_prog_compiler_static_GCJ='-Bstatic'
16904
 
          lt_prog_compiler_wl_GCJ='-Wl,'
16905
 
          ;;
16906
 
        *Sun\ F*)
16907
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
16908
 
          lt_prog_compiler_pic_GCJ='-KPIC'
16909
 
          lt_prog_compiler_static_GCJ='-Bstatic'
16910
 
          lt_prog_compiler_wl_GCJ=''
16911
 
          ;;
16912
 
        esac
16913
 
        ;;
16914
 
      esac
16915
 
      ;;
16916
 
 
16917
 
    osf3* | osf4* | osf5*)
16918
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16919
 
      # All OSF/1 code is PIC.
16920
 
      lt_prog_compiler_static_GCJ='-non_shared'
16921
 
      ;;
16922
 
 
16923
 
    rdos*)
16924
 
      lt_prog_compiler_static_GCJ='-non_shared'
16925
 
      ;;
16926
 
 
16927
 
    solaris*)
16928
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16929
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16930
 
      case $cc_basename in
16931
 
      f77* | f90* | f95*)
16932
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
16933
 
      *)
16934
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
16935
 
      esac
16936
 
      ;;
16937
 
 
16938
 
    sunos4*)
16939
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
16940
 
      lt_prog_compiler_pic_GCJ='-PIC'
16941
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16942
 
      ;;
16943
 
 
16944
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
16945
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16946
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16947
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16948
 
      ;;
16949
 
 
16950
 
    sysv4*MP*)
16951
 
      if test -d /usr/nec ;then
16952
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
16953
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16954
 
      fi
16955
 
      ;;
16956
 
 
16957
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16958
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16959
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16960
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16961
 
      ;;
16962
 
 
16963
 
    unicos*)
16964
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16965
 
      lt_prog_compiler_can_build_shared_GCJ=no
16966
 
      ;;
16967
 
 
16968
 
    uts4*)
16969
 
      lt_prog_compiler_pic_GCJ='-pic'
16970
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16971
 
      ;;
16972
 
 
16973
 
    *)
16974
 
      lt_prog_compiler_can_build_shared_GCJ=no
16975
 
      ;;
16976
 
    esac
16977
 
  fi
16978
 
 
16979
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16980
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16981
 
 
16982
 
#
16983
 
# Check to make sure the PIC flag actually works.
16984
 
#
16985
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
16986
 
 
16987
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16988
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16989
 
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
16990
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16991
 
else
16992
 
  lt_cv_prog_compiler_pic_works_GCJ=no
16993
 
  ac_outfile=conftest.$ac_objext
16994
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16995
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16996
 
   # Insert the option either (1) after the last *FLAGS variable, or
16997
 
   # (2) before a word containing "conftest.", or (3) at the end.
16998
 
   # Note that $ac_compile itself does not contain backslashes and begins
16999
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17000
 
   # The option is referenced via a variable to avoid confusing sed.
17001
 
   lt_compile=`echo "$ac_compile" | $SED \
17002
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17003
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17004
 
   -e 's:$: $lt_compiler_flag:'`
17005
 
   (eval echo "\"\$as_me:17005: $lt_compile\"" >&5)
17006
 
   (eval "$lt_compile" 2>conftest.err)
17007
 
   ac_status=$?
17008
 
   cat conftest.err >&5
17009
 
   echo "$as_me:17009: \$? = $ac_status" >&5
17010
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17011
 
     # The compiler can only warn and ignore the option if not recognized
17012
 
     # So say no if there are warnings other than the usual output.
17013
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17014
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17015
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17016
 
       lt_cv_prog_compiler_pic_works_GCJ=yes
17017
 
     fi
17018
 
   fi
17019
 
   $rm conftest*
17020
 
 
17021
 
fi
17022
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17023
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17024
 
 
17025
 
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
17026
 
    case $lt_prog_compiler_pic_GCJ in
17027
 
     "" | " "*) ;;
17028
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17029
 
     esac
17030
 
else
17031
 
    lt_prog_compiler_pic_GCJ=
17032
 
     lt_prog_compiler_can_build_shared_GCJ=no
17033
 
fi
17034
 
 
17035
 
fi
17036
 
case $host_os in
17037
 
  # For platforms which do not support PIC, -DPIC is meaningless:
17038
 
  *djgpp*)
17039
 
    lt_prog_compiler_pic_GCJ=
17040
 
    ;;
17041
 
  *)
17042
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
17043
 
    ;;
17044
 
esac
17045
 
 
17046
 
#
17047
 
# Check to make sure the static flag actually works.
17048
 
#
17049
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17050
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17051
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17052
 
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17053
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17054
 
else
17055
 
  lt_cv_prog_compiler_static_works_GCJ=no
17056
 
   save_LDFLAGS="$LDFLAGS"
17057
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17058
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
17059
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17060
 
     # The linker can only warn and ignore the option if not recognized
17061
 
     # So say no if there are warnings
17062
 
     if test -s conftest.err; then
17063
 
       # Append any errors to the config.log.
17064
 
       cat conftest.err 1>&5
17065
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17066
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17067
 
       if diff conftest.exp conftest.er2 >/dev/null; then
17068
 
         lt_cv_prog_compiler_static_works_GCJ=yes
17069
 
       fi
17070
 
     else
17071
 
       lt_cv_prog_compiler_static_works_GCJ=yes
17072
 
     fi
17073
 
   fi
17074
 
   $rm -r conftest*
17075
 
   LDFLAGS="$save_LDFLAGS"
17076
 
 
17077
 
fi
17078
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17079
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17080
 
 
17081
 
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
17082
 
    :
17083
 
else
17084
 
    lt_prog_compiler_static_GCJ=
17085
 
fi
17086
 
 
17087
 
 
17088
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17089
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17090
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17091
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17092
 
else
17093
 
  lt_cv_prog_compiler_c_o_GCJ=no
17094
 
   $rm -r conftest 2>/dev/null
17095
 
   mkdir conftest
17096
 
   cd conftest
17097
 
   mkdir out
17098
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17099
 
 
17100
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
17101
 
   # Insert the option either (1) after the last *FLAGS variable, or
17102
 
   # (2) before a word containing "conftest.", or (3) at the end.
17103
 
   # Note that $ac_compile itself does not contain backslashes and begins
17104
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17105
 
   lt_compile=`echo "$ac_compile" | $SED \
17106
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17107
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17108
 
   -e 's:$: $lt_compiler_flag:'`
17109
 
   (eval echo "\"\$as_me:17109: $lt_compile\"" >&5)
17110
 
   (eval "$lt_compile" 2>out/conftest.err)
17111
 
   ac_status=$?
17112
 
   cat out/conftest.err >&5
17113
 
   echo "$as_me:17113: \$? = $ac_status" >&5
17114
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17115
 
   then
17116
 
     # The compiler can only warn and ignore the option if not recognized
17117
 
     # So say no if there are warnings
17118
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17119
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17120
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17121
 
       lt_cv_prog_compiler_c_o_GCJ=yes
17122
 
     fi
17123
 
   fi
17124
 
   chmod u+w . 2>&5
17125
 
   $rm conftest*
17126
 
   # SGI C++ compiler will create directory out/ii_files/ for
17127
 
   # template instantiation
17128
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17129
 
   $rm out/* && rmdir out
17130
 
   cd ..
17131
 
   rmdir conftest
17132
 
   $rm conftest*
17133
 
 
17134
 
fi
17135
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17136
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17137
 
 
17138
 
 
17139
 
hard_links="nottested"
17140
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17141
 
  # do not overwrite the value of need_locks provided by the user
17142
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17143
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17144
 
  hard_links=yes
17145
 
  $rm conftest*
17146
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17147
 
  touch conftest.a
17148
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
17149
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17150
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
17151
 
echo "${ECHO_T}$hard_links" >&6; }
17152
 
  if test "$hard_links" = no; then
17153
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17154
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17155
 
    need_locks=warn
17156
 
  fi
17157
 
else
17158
 
  need_locks=no
17159
 
fi
17160
 
 
17161
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17162
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17163
 
 
17164
 
  runpath_var=
17165
 
  allow_undefined_flag_GCJ=
17166
 
  enable_shared_with_static_runtimes_GCJ=no
17167
 
  archive_cmds_GCJ=
17168
 
  archive_expsym_cmds_GCJ=
17169
 
  old_archive_From_new_cmds_GCJ=
17170
 
  old_archive_from_expsyms_cmds_GCJ=
17171
 
  export_dynamic_flag_spec_GCJ=
17172
 
  whole_archive_flag_spec_GCJ=
17173
 
  thread_safe_flag_spec_GCJ=
17174
 
  hardcode_libdir_flag_spec_GCJ=
17175
 
  hardcode_libdir_flag_spec_ld_GCJ=
17176
 
  hardcode_libdir_separator_GCJ=
17177
 
  hardcode_direct_GCJ=no
17178
 
  hardcode_minus_L_GCJ=no
17179
 
  hardcode_shlibpath_var_GCJ=unsupported
17180
 
  link_all_deplibs_GCJ=unknown
17181
 
  hardcode_automatic_GCJ=no
17182
 
  module_cmds_GCJ=
17183
 
  module_expsym_cmds_GCJ=
17184
 
  always_export_symbols_GCJ=no
17185
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17186
 
  # include_expsyms should be a list of space-separated symbols to be *always*
17187
 
  # included in the symbol list
17188
 
  include_expsyms_GCJ=
17189
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
17190
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17191
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17192
 
  # as well as any symbol that contains `d'.
17193
 
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17194
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17195
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
17196
 
  # the symbol is explicitly referenced.  Since portable code cannot
17197
 
  # rely on this symbol name, it's probably fine to never include it in
17198
 
  # preloaded symbol tables.
17199
 
  # Exclude shared library initialization/finalization symbols.
17200
 
  extract_expsyms_cmds=
17201
 
  # Just being paranoid about ensuring that cc_basename is set.
17202
 
  for cc_temp in $compiler""; do
17203
 
  case $cc_temp in
17204
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17205
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17206
 
    \-*) ;;
17207
 
    *) break;;
17208
 
  esac
17209
 
done
17210
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17211
 
 
17212
 
  case $host_os in
17213
 
  cygwin* | mingw* | pw32*)
17214
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
17215
 
    # When not using gcc, we currently assume that we are using
17216
 
    # Microsoft Visual C++.
17217
 
    if test "$GCC" != yes; then
17218
 
      with_gnu_ld=no
17219
 
    fi
17220
 
    ;;
17221
 
  interix*)
17222
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
17223
 
    with_gnu_ld=yes
17224
 
    ;;
17225
 
  openbsd*)
17226
 
    with_gnu_ld=no
17227
 
    ;;
17228
 
  esac
17229
 
 
17230
 
  ld_shlibs_GCJ=yes
17231
 
  if test "$with_gnu_ld" = yes; then
17232
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
17233
 
    wlarc='${wl}'
17234
 
 
17235
 
    # Set some defaults for GNU ld with shared library support. These
17236
 
    # are reset later if shared libraries are not supported. Putting them
17237
 
    # here allows them to be overridden if necessary.
17238
 
    runpath_var=LD_RUN_PATH
17239
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17240
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17241
 
    # ancient GNU ld didn't support --whole-archive et. al.
17242
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17243
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17244
 
      else
17245
 
        whole_archive_flag_spec_GCJ=
17246
 
    fi
17247
 
    supports_anon_versioning=no
17248
 
    case `$LD -v 2>/dev/null` in
17249
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17250
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17251
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17252
 
      *\ 2.11.*) ;; # other 2.11 versions
17253
 
      *) supports_anon_versioning=yes ;;
17254
 
    esac
17255
 
 
17256
 
    # See if GNU ld supports shared libraries.
17257
 
    case $host_os in
17258
 
    aix[3-9]*)
17259
 
      # On AIX/PPC, the GNU linker is very broken
17260
 
      if test "$host_cpu" != ia64; then
17261
 
        ld_shlibs_GCJ=no
17262
 
        cat <<EOF 1>&2
17263
 
 
17264
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17265
 
*** to be unable to reliably create shared libraries on AIX.
17266
 
*** Therefore, libtool is disabling shared libraries support.  If you
17267
 
*** really care for shared libraries, you may want to modify your PATH
17268
 
*** so that a non-GNU linker is found, and then restart.
17269
 
 
17270
 
EOF
17271
 
      fi
17272
 
      ;;
17273
 
 
17274
 
    amigaos*)
17275
 
      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)'
17276
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17277
 
      hardcode_minus_L_GCJ=yes
17278
 
 
17279
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17280
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
17281
 
      # to version 4, is to share data among multiple programs linked
17282
 
      # with the same dynamic library.  Since this doesn't match the
17283
 
      # behavior of shared libraries on other platforms, we can't use
17284
 
      # them.
17285
 
      ld_shlibs_GCJ=no
17286
 
      ;;
17287
 
 
17288
 
    beos*)
17289
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17290
 
        allow_undefined_flag_GCJ=unsupported
17291
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17292
 
        # support --undefined.  This deserves some investigation.  FIXME
17293
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17294
 
      else
17295
 
        ld_shlibs_GCJ=no
17296
 
      fi
17297
 
      ;;
17298
 
 
17299
 
    cygwin* | mingw* | pw32*)
17300
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17301
 
      # as there is no search path for DLLs.
17302
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17303
 
      allow_undefined_flag_GCJ=unsupported
17304
 
      always_export_symbols_GCJ=no
17305
 
      enable_shared_with_static_runtimes_GCJ=yes
17306
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17307
 
 
17308
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17309
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17310
 
        # If the export-symbols file already is a .def file (1st line
17311
 
        # is EXPORTS), use it as is; otherwise, prepend...
17312
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17313
 
          cp $export_symbols $output_objdir/$soname.def;
17314
 
        else
17315
 
          echo EXPORTS > $output_objdir/$soname.def;
17316
 
          cat $export_symbols >> $output_objdir/$soname.def;
17317
 
        fi~
17318
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17319
 
      else
17320
 
        ld_shlibs_GCJ=no
17321
 
      fi
17322
 
      ;;
17323
 
 
17324
 
    interix[3-9]*)
17325
 
      hardcode_direct_GCJ=no
17326
 
      hardcode_shlibpath_var_GCJ=no
17327
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17328
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17329
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17330
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
17331
 
      # default) and relocated if they conflict, which is a slow very memory
17332
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
17333
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17334
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
17335
 
      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'
17336
 
      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'
17337
 
      ;;
17338
 
 
17339
 
    gnu* | linux* | k*bsd*-gnu)
17340
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17341
 
        tmp_addflag=
17342
 
        case $cc_basename,$host_cpu in
17343
 
        pgcc*)                          # Portland Group C compiler
17344
 
          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'
17345
 
          tmp_addflag=' $pic_flag'
17346
 
          ;;
17347
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
17348
 
          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'
17349
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
17350
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
17351
 
          tmp_addflag=' -i_dynamic' ;;
17352
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
17353
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
17354
 
        ifc* | ifort*)                  # Intel Fortran compiler
17355
 
          tmp_addflag=' -nofor_main' ;;
17356
 
        esac
17357
 
        case `$CC -V 2>&1 | sed 5q` in
17358
 
        *Sun\ C*)                       # Sun C 5.9
17359
 
          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'
17360
 
          tmp_sharedflag='-G' ;;
17361
 
        *Sun\ F*)                       # Sun Fortran 8.3
17362
 
          tmp_sharedflag='-G' ;;
17363
 
        *)
17364
 
          tmp_sharedflag='-shared' ;;
17365
 
        esac
17366
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17367
 
 
17368
 
        if test $supports_anon_versioning = yes; then
17369
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17370
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17371
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
17372
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17373
 
        fi
17374
 
        link_all_deplibs_GCJ=no
17375
 
      else
17376
 
        ld_shlibs_GCJ=no
17377
 
      fi
17378
 
      ;;
17379
 
 
17380
 
    netbsd* | netbsdelf*-gnu)
17381
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17382
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17383
 
        wlarc=
17384
 
      else
17385
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17386
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17387
 
      fi
17388
 
      ;;
17389
 
 
17390
 
    solaris*)
17391
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17392
 
        ld_shlibs_GCJ=no
17393
 
        cat <<EOF 1>&2
17394
 
 
17395
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17396
 
*** create shared libraries on Solaris systems.  Therefore, libtool
17397
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17398
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
17399
 
*** your PATH or compiler configuration so that the native linker is
17400
 
*** used, and then restart.
17401
 
 
17402
 
EOF
17403
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17404
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17405
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17406
 
      else
17407
 
        ld_shlibs_GCJ=no
17408
 
      fi
17409
 
      ;;
17410
 
 
17411
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17412
 
      case `$LD -v 2>&1` in
17413
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17414
 
        ld_shlibs_GCJ=no
17415
 
        cat <<_LT_EOF 1>&2
17416
 
 
17417
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17418
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
17419
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17420
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
17421
 
*** your PATH or compiler configuration so that the native linker is
17422
 
*** used, and then restart.
17423
 
 
17424
 
_LT_EOF
17425
 
        ;;
17426
 
        *)
17427
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17428
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17429
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17430
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17431
 
          else
17432
 
            ld_shlibs_GCJ=no
17433
 
          fi
17434
 
        ;;
17435
 
      esac
17436
 
      ;;
17437
 
 
17438
 
    sunos4*)
17439
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17440
 
      wlarc=
17441
 
      hardcode_direct_GCJ=yes
17442
 
      hardcode_shlibpath_var_GCJ=no
17443
 
      ;;
17444
 
 
17445
 
    *)
17446
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17447
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17448
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17449
 
      else
17450
 
        ld_shlibs_GCJ=no
17451
 
      fi
17452
 
      ;;
17453
 
    esac
17454
 
 
17455
 
    if test "$ld_shlibs_GCJ" = no; then
17456
 
      runpath_var=
17457
 
      hardcode_libdir_flag_spec_GCJ=
17458
 
      export_dynamic_flag_spec_GCJ=
17459
 
      whole_archive_flag_spec_GCJ=
17460
 
    fi
17461
 
  else
17462
 
    # PORTME fill in a description of your system's linker (not GNU ld)
17463
 
    case $host_os in
17464
 
    aix3*)
17465
 
      allow_undefined_flag_GCJ=unsupported
17466
 
      always_export_symbols_GCJ=yes
17467
 
      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'
17468
 
      # Note: this linker hardcodes the directories in LIBPATH if there
17469
 
      # are no directories specified by -L.
17470
 
      hardcode_minus_L_GCJ=yes
17471
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17472
 
        # Neither direct hardcoding nor static linking is supported with a
17473
 
        # broken collect2.
17474
 
        hardcode_direct_GCJ=unsupported
17475
 
      fi
17476
 
      ;;
17477
 
 
17478
 
    aix[4-9]*)
17479
 
      if test "$host_cpu" = ia64; then
17480
 
        # On IA64, the linker does run time linking by default, so we don't
17481
 
        # have to do anything special.
17482
 
        aix_use_runtimelinking=no
17483
 
        exp_sym_flag='-Bexport'
17484
 
        no_entry_flag=""
17485
 
      else
17486
 
        # If we're using GNU nm, then we don't want the "-C" option.
17487
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17488
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17489
 
          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'
17490
 
        else
17491
 
          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'
17492
 
        fi
17493
 
        aix_use_runtimelinking=no
17494
 
 
17495
 
        # Test if we are trying to use run time linking or normal
17496
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17497
 
        # need to do runtime linking.
17498
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17499
 
          for ld_flag in $LDFLAGS; do
17500
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17501
 
            aix_use_runtimelinking=yes
17502
 
            break
17503
 
          fi
17504
 
          done
17505
 
          ;;
17506
 
        esac
17507
 
 
17508
 
        exp_sym_flag='-bexport'
17509
 
        no_entry_flag='-bnoentry'
17510
 
      fi
17511
 
 
17512
 
      # When large executables or shared objects are built, AIX ld can
17513
 
      # have problems creating the table of contents.  If linking a library
17514
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17515
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17516
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17517
 
 
17518
 
      archive_cmds_GCJ=''
17519
 
      hardcode_direct_GCJ=yes
17520
 
      hardcode_libdir_separator_GCJ=':'
17521
 
      link_all_deplibs_GCJ=yes
17522
 
 
17523
 
      if test "$GCC" = yes; then
17524
 
        case $host_os in aix4.[012]|aix4.[012].*)
17525
 
        # We only want to do this on AIX 4.2 and lower, the check
17526
 
        # below for broken collect2 doesn't work under 4.3+
17527
 
          collect2name=`${CC} -print-prog-name=collect2`
17528
 
          if test -f "$collect2name" && \
17529
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17530
 
          then
17531
 
          # We have reworked collect2
17532
 
          :
17533
 
          else
17534
 
          # We have old collect2
17535
 
          hardcode_direct_GCJ=unsupported
17536
 
          # It fails to find uninstalled libraries when the uninstalled
17537
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17538
 
          # to unsupported forces relinking
17539
 
          hardcode_minus_L_GCJ=yes
17540
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
17541
 
          hardcode_libdir_separator_GCJ=
17542
 
          fi
17543
 
          ;;
17544
 
        esac
17545
 
        shared_flag='-shared'
17546
 
        if test "$aix_use_runtimelinking" = yes; then
17547
 
          shared_flag="$shared_flag "'${wl}-G'
17548
 
        fi
17549
 
      else
17550
 
        # not using gcc
17551
 
        if test "$host_cpu" = ia64; then
17552
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17553
 
        # chokes on -Wl,-G. The following line is correct:
17554
 
          shared_flag='-G'
17555
 
        else
17556
 
          if test "$aix_use_runtimelinking" = yes; then
17557
 
            shared_flag='${wl}-G'
17558
 
          else
17559
 
            shared_flag='${wl}-bM:SRE'
17560
 
          fi
17561
 
        fi
17562
 
      fi
17563
 
 
17564
 
      # It seems that -bexpall does not export symbols beginning with
17565
 
      # underscore (_), so it is better to generate a list of symbols to export.
17566
 
      always_export_symbols_GCJ=yes
17567
 
      if test "$aix_use_runtimelinking" = yes; then
17568
 
        # Warning - without using the other runtime loading flags (-brtl),
17569
 
        # -berok will link without error, but may produce a broken library.
17570
 
        allow_undefined_flag_GCJ='-berok'
17571
 
       # Determine the default libpath from the value encoded in an empty executable.
17572
 
       cat >conftest.$ac_ext <<_ACEOF
17573
 
/* confdefs.h.  */
17574
 
_ACEOF
17575
 
cat confdefs.h >>conftest.$ac_ext
17576
 
cat >>conftest.$ac_ext <<_ACEOF
17577
 
/* end confdefs.h.  */
17578
 
 
17579
 
int
17580
 
main ()
17581
 
{
17582
 
 
17583
 
  ;
17584
 
  return 0;
17585
 
}
17586
 
_ACEOF
17587
 
rm -f conftest.$ac_objext conftest$ac_exeext
17588
 
if { (ac_try="$ac_link"
17589
 
case "(($ac_try" in
17590
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17591
 
  *) ac_try_echo=$ac_try;;
17592
 
esac
17593
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17594
 
  (eval "$ac_link") 2>conftest.er1
17595
 
  ac_status=$?
17596
 
  grep -v '^ *+' conftest.er1 >conftest.err
17597
 
  rm -f conftest.er1
17598
 
  cat conftest.err >&5
17599
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600
 
  (exit $ac_status); } && {
17601
 
         test -z "$ac_c_werror_flag" ||
17602
 
         test ! -s conftest.err
17603
 
       } && test -s conftest$ac_exeext &&
17604
 
       $as_test_x conftest$ac_exeext; then
17605
 
 
17606
 
lt_aix_libpath_sed='
17607
 
    /Import File Strings/,/^$/ {
17608
 
        /^0/ {
17609
 
            s/^0  *\(.*\)$/\1/
17610
 
            p
17611
 
        }
17612
 
    }'
17613
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17614
 
# Check for a 64-bit object if we didn't find anything.
17615
 
if test -z "$aix_libpath"; then
17616
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17617
 
fi
17618
 
else
17619
 
  echo "$as_me: failed program was:" >&5
17620
 
sed 's/^/| /' conftest.$ac_ext >&5
17621
 
 
17622
 
 
17623
 
fi
17624
 
 
17625
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17626
 
      conftest$ac_exeext conftest.$ac_ext
17627
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17628
 
 
17629
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17630
 
        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"
17631
 
       else
17632
 
        if test "$host_cpu" = ia64; then
17633
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17634
 
          allow_undefined_flag_GCJ="-z nodefs"
17635
 
          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"
17636
 
        else
17637
 
         # Determine the default libpath from the value encoded in an empty executable.
17638
 
         cat >conftest.$ac_ext <<_ACEOF
17639
 
/* confdefs.h.  */
17640
 
_ACEOF
17641
 
cat confdefs.h >>conftest.$ac_ext
17642
 
cat >>conftest.$ac_ext <<_ACEOF
17643
 
/* end confdefs.h.  */
17644
 
 
17645
 
int
17646
 
main ()
17647
 
{
17648
 
 
17649
 
  ;
17650
 
  return 0;
17651
 
}
17652
 
_ACEOF
17653
 
rm -f conftest.$ac_objext conftest$ac_exeext
17654
 
if { (ac_try="$ac_link"
17655
 
case "(($ac_try" in
17656
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17657
 
  *) ac_try_echo=$ac_try;;
17658
 
esac
17659
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17660
 
  (eval "$ac_link") 2>conftest.er1
17661
 
  ac_status=$?
17662
 
  grep -v '^ *+' conftest.er1 >conftest.err
17663
 
  rm -f conftest.er1
17664
 
  cat conftest.err >&5
17665
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17666
 
  (exit $ac_status); } && {
17667
 
         test -z "$ac_c_werror_flag" ||
17668
 
         test ! -s conftest.err
17669
 
       } && test -s conftest$ac_exeext &&
17670
 
       $as_test_x conftest$ac_exeext; then
17671
 
 
17672
 
lt_aix_libpath_sed='
17673
 
    /Import File Strings/,/^$/ {
17674
 
        /^0/ {
17675
 
            s/^0  *\(.*\)$/\1/
17676
 
            p
17677
 
        }
17678
 
    }'
17679
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17680
 
# Check for a 64-bit object if we didn't find anything.
17681
 
if test -z "$aix_libpath"; then
17682
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17683
 
fi
17684
 
else
17685
 
  echo "$as_me: failed program was:" >&5
17686
 
sed 's/^/| /' conftest.$ac_ext >&5
17687
 
 
17688
 
 
17689
 
fi
17690
 
 
17691
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17692
 
      conftest$ac_exeext conftest.$ac_ext
17693
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17694
 
 
17695
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17696
 
          # Warning - without using the other run time loading flags,
17697
 
          # -berok will link without error, but may produce a broken library.
17698
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
17699
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
17700
 
          # Exported symbols can be pulled into shared objects from archives
17701
 
          whole_archive_flag_spec_GCJ='$convenience'
17702
 
          archive_cmds_need_lc_GCJ=yes
17703
 
          # This is similar to how AIX traditionally builds its shared libraries.
17704
 
          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'
17705
 
        fi
17706
 
      fi
17707
 
      ;;
17708
 
 
17709
 
    amigaos*)
17710
 
      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)'
17711
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17712
 
      hardcode_minus_L_GCJ=yes
17713
 
      # see comment about different semantics on the GNU ld section
17714
 
      ld_shlibs_GCJ=no
17715
 
      ;;
17716
 
 
17717
 
    bsdi[45]*)
17718
 
      export_dynamic_flag_spec_GCJ=-rdynamic
17719
 
      ;;
17720
 
 
17721
 
    cygwin* | mingw* | pw32*)
17722
 
      # When not using gcc, we currently assume that we are using
17723
 
      # Microsoft Visual C++.
17724
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17725
 
      # no search path for DLLs.
17726
 
      hardcode_libdir_flag_spec_GCJ=' '
17727
 
      allow_undefined_flag_GCJ=unsupported
17728
 
      # Tell ltmain to make .lib files, not .a files.
17729
 
      libext=lib
17730
 
      # Tell ltmain to make .dll files, not .so files.
17731
 
      shrext_cmds=".dll"
17732
 
      # FIXME: Setting linknames here is a bad hack.
17733
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17734
 
      # The linker will automatically build a .lib file if we build a DLL.
17735
 
      old_archive_From_new_cmds_GCJ='true'
17736
 
      # FIXME: Should let the user specify the lib program.
17737
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
17738
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17739
 
      enable_shared_with_static_runtimes_GCJ=yes
17740
 
      ;;
17741
 
 
17742
 
    darwin* | rhapsody*)
17743
 
      case $host_os in
17744
 
        rhapsody* | darwin1.[012])
17745
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
17746
 
         ;;
17747
 
       *) # Darwin 1.3 on
17748
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17749
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17750
 
         else
17751
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
17752
 
             10.[012])
17753
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17754
 
               ;;
17755
 
             10.*)
17756
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
17757
 
               ;;
17758
 
           esac
17759
 
         fi
17760
 
         ;;
17761
 
      esac
17762
 
      archive_cmds_need_lc_GCJ=no
17763
 
      hardcode_direct_GCJ=no
17764
 
      hardcode_automatic_GCJ=yes
17765
 
      hardcode_shlibpath_var_GCJ=unsupported
17766
 
      whole_archive_flag_spec_GCJ=''
17767
 
      link_all_deplibs_GCJ=yes
17768
 
    if test "$GCC" = yes ; then
17769
 
        output_verbose_link_cmd='echo'
17770
 
        archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
17771
 
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17772
 
        archive_expsym_cmds_GCJ="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}"
17773
 
        module_expsym_cmds_GCJ="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}"
17774
 
    else
17775
 
      case $cc_basename in
17776
 
        xlc*)
17777
 
         output_verbose_link_cmd='echo'
17778
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17779
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17780
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17781
 
         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}'
17782
 
          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}'
17783
 
          ;;
17784
 
       *)
17785
 
         ld_shlibs_GCJ=no
17786
 
          ;;
17787
 
      esac
17788
 
    fi
17789
 
      ;;
17790
 
 
17791
 
    dgux*)
17792
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17793
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17794
 
      hardcode_shlibpath_var_GCJ=no
17795
 
      ;;
17796
 
 
17797
 
    freebsd1*)
17798
 
      ld_shlibs_GCJ=no
17799
 
      ;;
17800
 
 
17801
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17802
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
17803
 
    # does not break anything, and helps significantly (at the cost of a little
17804
 
    # extra space).
17805
 
    freebsd2.2*)
17806
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17807
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17808
 
      hardcode_direct_GCJ=yes
17809
 
      hardcode_shlibpath_var_GCJ=no
17810
 
      ;;
17811
 
 
17812
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17813
 
    freebsd2*)
17814
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17815
 
      hardcode_direct_GCJ=yes
17816
 
      hardcode_minus_L_GCJ=yes
17817
 
      hardcode_shlibpath_var_GCJ=no
17818
 
      ;;
17819
 
 
17820
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17821
 
    freebsd* | dragonfly*)
17822
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17823
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17824
 
      hardcode_direct_GCJ=yes
17825
 
      hardcode_shlibpath_var_GCJ=no
17826
 
      ;;
17827
 
 
17828
 
    hpux9*)
17829
 
      if test "$GCC" = yes; then
17830
 
        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'
17831
 
      else
17832
 
        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'
17833
 
      fi
17834
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17835
 
      hardcode_libdir_separator_GCJ=:
17836
 
      hardcode_direct_GCJ=yes
17837
 
 
17838
 
      # hardcode_minus_L: Not really in the search PATH,
17839
 
      # but as the default location of the library.
17840
 
      hardcode_minus_L_GCJ=yes
17841
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17842
 
      ;;
17843
 
 
17844
 
    hpux10*)
17845
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17846
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17847
 
      else
17848
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17849
 
      fi
17850
 
      if test "$with_gnu_ld" = no; then
17851
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17852
 
        hardcode_libdir_separator_GCJ=:
17853
 
 
17854
 
        hardcode_direct_GCJ=yes
17855
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
17856
 
 
17857
 
        # hardcode_minus_L: Not really in the search PATH,
17858
 
        # but as the default location of the library.
17859
 
        hardcode_minus_L_GCJ=yes
17860
 
      fi
17861
 
      ;;
17862
 
 
17863
 
    hpux11*)
17864
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17865
 
        case $host_cpu in
17866
 
        hppa*64*)
17867
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17868
 
          ;;
17869
 
        ia64*)
17870
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17871
 
          ;;
17872
 
        *)
17873
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17874
 
          ;;
17875
 
        esac
17876
 
      else
17877
 
        case $host_cpu in
17878
 
        hppa*64*)
17879
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17880
 
          ;;
17881
 
        ia64*)
17882
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17883
 
          ;;
17884
 
        *)
17885
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17886
 
          ;;
17887
 
        esac
17888
 
      fi
17889
 
      if test "$with_gnu_ld" = no; then
17890
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17891
 
        hardcode_libdir_separator_GCJ=:
17892
 
 
17893
 
        case $host_cpu in
17894
 
        hppa*64*|ia64*)
17895
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17896
 
          hardcode_direct_GCJ=no
17897
 
          hardcode_shlibpath_var_GCJ=no
17898
 
          ;;
17899
 
        *)
17900
 
          hardcode_direct_GCJ=yes
17901
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
17902
 
 
17903
 
          # hardcode_minus_L: Not really in the search PATH,
17904
 
          # but as the default location of the library.
17905
 
          hardcode_minus_L_GCJ=yes
17906
 
          ;;
17907
 
        esac
17908
 
      fi
17909
 
      ;;
17910
 
 
17911
 
    irix5* | irix6* | nonstopux*)
17912
 
      if test "$GCC" = yes; then
17913
 
        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'
17914
 
      else
17915
 
        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'
17916
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
17917
 
      fi
17918
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17919
 
      hardcode_libdir_separator_GCJ=:
17920
 
      link_all_deplibs_GCJ=yes
17921
 
      ;;
17922
 
 
17923
 
    netbsd* | netbsdelf*-gnu)
17924
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17925
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17926
 
      else
17927
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
17928
 
      fi
17929
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17930
 
      hardcode_direct_GCJ=yes
17931
 
      hardcode_shlibpath_var_GCJ=no
17932
 
      ;;
17933
 
 
17934
 
    newsos6)
17935
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17936
 
      hardcode_direct_GCJ=yes
17937
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17938
 
      hardcode_libdir_separator_GCJ=:
17939
 
      hardcode_shlibpath_var_GCJ=no
17940
 
      ;;
17941
 
 
17942
 
    openbsd*)
17943
 
      if test -f /usr/libexec/ld.so; then
17944
 
        hardcode_direct_GCJ=yes
17945
 
        hardcode_shlibpath_var_GCJ=no
17946
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17947
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17948
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17949
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17950
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
17951
 
        else
17952
 
          case $host_os in
17953
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17954
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17955
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
17956
 
             ;;
17957
 
           *)
17958
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17959
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17960
 
             ;;
17961
 
          esac
17962
 
        fi
17963
 
      else
17964
 
        ld_shlibs_GCJ=no
17965
 
      fi
17966
 
      ;;
17967
 
 
17968
 
    os2*)
17969
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17970
 
      hardcode_minus_L_GCJ=yes
17971
 
      allow_undefined_flag_GCJ=unsupported
17972
 
      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'
17973
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17974
 
      ;;
17975
 
 
17976
 
    osf3*)
17977
 
      if test "$GCC" = yes; then
17978
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17979
 
        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'
17980
 
      else
17981
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
17982
 
        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'
17983
 
      fi
17984
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17985
 
      hardcode_libdir_separator_GCJ=:
17986
 
      ;;
17987
 
 
17988
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
17989
 
      if test "$GCC" = yes; then
17990
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17991
 
        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'
17992
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17993
 
      else
17994
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
17995
 
        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'
17996
 
        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~
17997
 
        $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'
17998
 
 
17999
 
        # Both c and cxx compiler support -rpath directly
18000
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18001
 
      fi
18002
 
      hardcode_libdir_separator_GCJ=:
18003
 
      ;;
18004
 
 
18005
 
    solaris*)
18006
 
      no_undefined_flag_GCJ=' -z text'
18007
 
      if test "$GCC" = yes; then
18008
 
        wlarc='${wl}'
18009
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18010
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18011
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18012
 
      else
18013
 
        wlarc=''
18014
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18015
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18016
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18017
 
      fi
18018
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18019
 
      hardcode_shlibpath_var_GCJ=no
18020
 
      case $host_os in
18021
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
18022
 
      *)
18023
 
        # The compiler driver will combine and reorder linker options,
18024
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
18025
 
        # but is careful enough not to reorder.
18026
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
18027
 
        if test "$GCC" = yes; then
18028
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18029
 
        else
18030
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
18031
 
        fi
18032
 
        ;;
18033
 
      esac
18034
 
      link_all_deplibs_GCJ=yes
18035
 
      ;;
18036
 
 
18037
 
    sunos4*)
18038
 
      if test "x$host_vendor" = xsequent; then
18039
 
        # Use $CC to link under sequent, because it throws in some extra .o
18040
 
        # files that make .init and .fini sections work.
18041
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18042
 
      else
18043
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18044
 
      fi
18045
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18046
 
      hardcode_direct_GCJ=yes
18047
 
      hardcode_minus_L_GCJ=yes
18048
 
      hardcode_shlibpath_var_GCJ=no
18049
 
      ;;
18050
 
 
18051
 
    sysv4)
18052
 
      case $host_vendor in
18053
 
        sni)
18054
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18055
 
          hardcode_direct_GCJ=yes # is this really true???
18056
 
        ;;
18057
 
        siemens)
18058
 
          ## LD is ld it makes a PLAMLIB
18059
 
          ## CC just makes a GrossModule.
18060
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18061
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18062
 
          hardcode_direct_GCJ=no
18063
 
        ;;
18064
 
        motorola)
18065
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18066
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18067
 
        ;;
18068
 
      esac
18069
 
      runpath_var='LD_RUN_PATH'
18070
 
      hardcode_shlibpath_var_GCJ=no
18071
 
      ;;
18072
 
 
18073
 
    sysv4.3*)
18074
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18075
 
      hardcode_shlibpath_var_GCJ=no
18076
 
      export_dynamic_flag_spec_GCJ='-Bexport'
18077
 
      ;;
18078
 
 
18079
 
    sysv4*MP*)
18080
 
      if test -d /usr/nec; then
18081
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18082
 
        hardcode_shlibpath_var_GCJ=no
18083
 
        runpath_var=LD_RUN_PATH
18084
 
        hardcode_runpath_var=yes
18085
 
        ld_shlibs_GCJ=yes
18086
 
      fi
18087
 
      ;;
18088
 
 
18089
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18090
 
      no_undefined_flag_GCJ='${wl}-z,text'
18091
 
      archive_cmds_need_lc_GCJ=no
18092
 
      hardcode_shlibpath_var_GCJ=no
18093
 
      runpath_var='LD_RUN_PATH'
18094
 
 
18095
 
      if test "$GCC" = yes; then
18096
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18097
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18098
 
      else
18099
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18100
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18101
 
      fi
18102
 
      ;;
18103
 
 
18104
 
    sysv5* | sco3.2v5* | sco5v6*)
18105
 
      # Note: We can NOT use -z defs as we might desire, because we do not
18106
 
      # link with -lc, and that would cause any symbols used from libc to
18107
 
      # always be unresolved, which means just about no library would
18108
 
      # ever link correctly.  If we're not using GNU ld we use -z text
18109
 
      # though, which does catch some bad symbols but isn't as heavy-handed
18110
 
      # as -z defs.
18111
 
      no_undefined_flag_GCJ='${wl}-z,text'
18112
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
18113
 
      archive_cmds_need_lc_GCJ=no
18114
 
      hardcode_shlibpath_var_GCJ=no
18115
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18116
 
      hardcode_libdir_separator_GCJ=':'
18117
 
      link_all_deplibs_GCJ=yes
18118
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18119
 
      runpath_var='LD_RUN_PATH'
18120
 
 
18121
 
      if test "$GCC" = yes; then
18122
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18123
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18124
 
      else
18125
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18126
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18127
 
      fi
18128
 
      ;;
18129
 
 
18130
 
    uts4*)
18131
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18132
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18133
 
      hardcode_shlibpath_var_GCJ=no
18134
 
      ;;
18135
 
 
18136
 
    *)
18137
 
      ld_shlibs_GCJ=no
18138
 
      ;;
18139
 
    esac
18140
 
  fi
18141
 
 
18142
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18143
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18144
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
18145
 
 
18146
 
#
18147
 
# Do we need to explicitly link libc?
18148
 
#
18149
 
case "x$archive_cmds_need_lc_GCJ" in
18150
 
x|xyes)
18151
 
  # Assume -lc should be added
18152
 
  archive_cmds_need_lc_GCJ=yes
18153
 
 
18154
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
18155
 
    case $archive_cmds_GCJ in
18156
 
    *'~'*)
18157
 
      # FIXME: we may have to deal with multi-command sequences.
18158
 
      ;;
18159
 
    '$CC '*)
18160
 
      # Test whether the compiler implicitly links with -lc since on some
18161
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18162
 
      # to ld, don't add -lc before -lgcc.
18163
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18164
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18165
 
      $rm conftest*
18166
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18167
 
 
18168
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18169
 
  (eval $ac_compile) 2>&5
18170
 
  ac_status=$?
18171
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18172
 
  (exit $ac_status); } 2>conftest.err; then
18173
 
        soname=conftest
18174
 
        lib=conftest
18175
 
        libobjs=conftest.$ac_objext
18176
 
        deplibs=
18177
 
        wl=$lt_prog_compiler_wl_GCJ
18178
 
        pic_flag=$lt_prog_compiler_pic_GCJ
18179
 
        compiler_flags=-v
18180
 
        linker_flags=-v
18181
 
        verstring=
18182
 
        output_objdir=.
18183
 
        libname=conftest
18184
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18185
 
        allow_undefined_flag_GCJ=
18186
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18187
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18188
 
  ac_status=$?
18189
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18190
 
  (exit $ac_status); }
18191
 
        then
18192
 
          archive_cmds_need_lc_GCJ=no
18193
 
        else
18194
 
          archive_cmds_need_lc_GCJ=yes
18195
 
        fi
18196
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18197
 
      else
18198
 
        cat conftest.err 1>&5
18199
 
      fi
18200
 
      $rm conftest*
18201
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18202
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18203
 
      ;;
18204
 
    esac
18205
 
  fi
18206
 
  ;;
18207
 
esac
18208
 
 
18209
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18210
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18211
 
library_names_spec=
18212
 
libname_spec='lib$name'
18213
 
soname_spec=
18214
 
shrext_cmds=".so"
18215
 
postinstall_cmds=
18216
 
postuninstall_cmds=
18217
 
finish_cmds=
18218
 
finish_eval=
18219
 
shlibpath_var=
18220
 
shlibpath_overrides_runpath=unknown
18221
 
version_type=none
18222
 
dynamic_linker="$host_os ld.so"
18223
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18224
 
 
18225
 
need_lib_prefix=unknown
18226
 
hardcode_into_libs=no
18227
 
 
18228
 
# when you set need_version to no, make sure it does not cause -set_version
18229
 
# flags to be left without arguments
18230
 
need_version=unknown
18231
 
 
18232
 
case $host_os in
18233
 
aix3*)
18234
 
  version_type=linux
18235
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18236
 
  shlibpath_var=LIBPATH
18237
 
 
18238
 
  # AIX 3 has no versioning support, so we append a major version to the name.
18239
 
  soname_spec='${libname}${release}${shared_ext}$major'
18240
 
  ;;
18241
 
 
18242
 
aix[4-9]*)
18243
 
  version_type=linux
18244
 
  need_lib_prefix=no
18245
 
  need_version=no
18246
 
  hardcode_into_libs=yes
18247
 
  if test "$host_cpu" = ia64; then
18248
 
    # AIX 5 supports IA64
18249
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18250
 
    shlibpath_var=LD_LIBRARY_PATH
18251
 
  else
18252
 
    # With GCC up to 2.95.x, collect2 would create an import file
18253
 
    # for dependence libraries.  The import file would start with
18254
 
    # the line `#! .'.  This would cause the generated library to
18255
 
    # depend on `.', always an invalid library.  This was fixed in
18256
 
    # development snapshots of GCC prior to 3.0.
18257
 
    case $host_os in
18258
 
      aix4 | aix4.[01] | aix4.[01].*)
18259
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18260
 
           echo ' yes '
18261
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18262
 
        :
18263
 
      else
18264
 
        can_build_shared=no
18265
 
      fi
18266
 
      ;;
18267
 
    esac
18268
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18269
 
    # soname into executable. Probably we can add versioning support to
18270
 
    # collect2, so additional links can be useful in future.
18271
 
    if test "$aix_use_runtimelinking" = yes; then
18272
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18273
 
      # instead of lib<name>.a to let people know that these are not
18274
 
      # typical AIX shared libraries.
18275
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18276
 
    else
18277
 
      # We preserve .a as extension for shared libraries through AIX4.2
18278
 
      # and later when we are not doing run time linking.
18279
 
      library_names_spec='${libname}${release}.a $libname.a'
18280
 
      soname_spec='${libname}${release}${shared_ext}$major'
18281
 
    fi
18282
 
    shlibpath_var=LIBPATH
18283
 
  fi
18284
 
  ;;
18285
 
 
18286
 
amigaos*)
18287
 
  library_names_spec='$libname.ixlibrary $libname.a'
18288
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
18289
 
  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'
18290
 
  ;;
18291
 
 
18292
 
beos*)
18293
 
  library_names_spec='${libname}${shared_ext}'
18294
 
  dynamic_linker="$host_os ld.so"
18295
 
  shlibpath_var=LIBRARY_PATH
18296
 
  ;;
18297
 
 
18298
 
bsdi[45]*)
18299
 
  version_type=linux
18300
 
  need_version=no
18301
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18302
 
  soname_spec='${libname}${release}${shared_ext}$major'
18303
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18304
 
  shlibpath_var=LD_LIBRARY_PATH
18305
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18306
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18307
 
  # the default ld.so.conf also contains /usr/contrib/lib and
18308
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18309
 
  # libtool to hard-code these into programs
18310
 
  ;;
18311
 
 
18312
 
cygwin* | mingw* | pw32*)
18313
 
  version_type=windows
18314
 
  shrext_cmds=".dll"
18315
 
  need_version=no
18316
 
  need_lib_prefix=no
18317
 
 
18318
 
  case $GCC,$host_os in
18319
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
18320
 
    library_names_spec='$libname.dll.a'
18321
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18322
 
    postinstall_cmds='base_file=`basename \${file}`~
18323
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18324
 
      dldir=$destdir/`dirname \$dlpath`~
18325
 
      test -d \$dldir || mkdir -p \$dldir~
18326
 
      $install_prog $dir/$dlname \$dldir/$dlname~
18327
 
      chmod a+x \$dldir/$dlname'
18328
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18329
 
      dlpath=$dir/\$dldll~
18330
 
       $rm \$dlpath'
18331
 
    shlibpath_overrides_runpath=yes
18332
 
 
18333
 
    case $host_os in
18334
 
    cygwin*)
18335
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18336
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18337
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18338
 
      ;;
18339
 
    mingw*)
18340
 
      # MinGW DLLs use traditional 'lib' prefix
18341
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18342
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18343
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18344
 
        # It is most probably a Windows format PATH printed by
18345
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18346
 
        # path with ; separators, and with drive letters. We can handle the
18347
 
        # drive letters (cygwin fileutils understands them), so leave them,
18348
 
        # especially as we might pass files found there to a mingw objdump,
18349
 
        # which wouldn't understand a cygwinified path. Ahh.
18350
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18351
 
      else
18352
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18353
 
      fi
18354
 
      ;;
18355
 
    pw32*)
18356
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
18357
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18358
 
      ;;
18359
 
    esac
18360
 
    ;;
18361
 
 
18362
 
  *)
18363
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18364
 
    ;;
18365
 
  esac
18366
 
  dynamic_linker='Win32 ld.exe'
18367
 
  # FIXME: first we should search . and the directory the executable is in
18368
 
  shlibpath_var=PATH
18369
 
  ;;
18370
 
 
18371
 
darwin* | rhapsody*)
18372
 
  dynamic_linker="$host_os dyld"
18373
 
  version_type=darwin
18374
 
  need_lib_prefix=no
18375
 
  need_version=no
18376
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18377
 
  soname_spec='${libname}${release}${major}$shared_ext'
18378
 
  shlibpath_overrides_runpath=yes
18379
 
  shlibpath_var=DYLD_LIBRARY_PATH
18380
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18381
 
 
18382
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18383
 
  ;;
18384
 
 
18385
 
dgux*)
18386
 
  version_type=linux
18387
 
  need_lib_prefix=no
18388
 
  need_version=no
18389
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18390
 
  soname_spec='${libname}${release}${shared_ext}$major'
18391
 
  shlibpath_var=LD_LIBRARY_PATH
18392
 
  ;;
18393
 
 
18394
 
freebsd1*)
18395
 
  dynamic_linker=no
18396
 
  ;;
18397
 
 
18398
 
freebsd* | dragonfly*)
18399
 
  # DragonFly does not have aout.  When/if they implement a new
18400
 
  # versioning mechanism, adjust this.
18401
 
  if test -x /usr/bin/objformat; then
18402
 
    objformat=`/usr/bin/objformat`
18403
 
  else
18404
 
    case $host_os in
18405
 
    freebsd[123]*) objformat=aout ;;
18406
 
    *) objformat=elf ;;
18407
 
    esac
18408
 
  fi
18409
 
  version_type=freebsd-$objformat
18410
 
  case $version_type in
18411
 
    freebsd-elf*)
18412
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18413
 
      need_version=no
18414
 
      need_lib_prefix=no
18415
 
      ;;
18416
 
    freebsd-*)
18417
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18418
 
      need_version=yes
18419
 
      ;;
18420
 
  esac
18421
 
  shlibpath_var=LD_LIBRARY_PATH
18422
 
  case $host_os in
18423
 
  freebsd2*)
18424
 
    shlibpath_overrides_runpath=yes
18425
 
    ;;
18426
 
  freebsd3.[01]* | freebsdelf3.[01]*)
18427
 
    shlibpath_overrides_runpath=yes
18428
 
    hardcode_into_libs=yes
18429
 
    ;;
18430
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18431
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18432
 
    shlibpath_overrides_runpath=no
18433
 
    hardcode_into_libs=yes
18434
 
    ;;
18435
 
  *) # from 4.6 on, and DragonFly
18436
 
    shlibpath_overrides_runpath=yes
18437
 
    hardcode_into_libs=yes
18438
 
    ;;
18439
 
  esac
18440
 
  ;;
18441
 
 
18442
 
gnu*)
18443
 
  version_type=linux
18444
 
  need_lib_prefix=no
18445
 
  need_version=no
18446
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18447
 
  soname_spec='${libname}${release}${shared_ext}$major'
18448
 
  shlibpath_var=LD_LIBRARY_PATH
18449
 
  hardcode_into_libs=yes
18450
 
  ;;
18451
 
 
18452
 
hpux9* | hpux10* | hpux11*)
18453
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
18454
 
  # link against other versions.
18455
 
  version_type=sunos
18456
 
  need_lib_prefix=no
18457
 
  need_version=no
18458
 
  case $host_cpu in
18459
 
  ia64*)
18460
 
    shrext_cmds='.so'
18461
 
    hardcode_into_libs=yes
18462
 
    dynamic_linker="$host_os dld.so"
18463
 
    shlibpath_var=LD_LIBRARY_PATH
18464
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18465
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18466
 
    soname_spec='${libname}${release}${shared_ext}$major'
18467
 
    if test "X$HPUX_IA64_MODE" = X32; then
18468
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18469
 
    else
18470
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18471
 
    fi
18472
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18473
 
    ;;
18474
 
   hppa*64*)
18475
 
     shrext_cmds='.sl'
18476
 
     hardcode_into_libs=yes
18477
 
     dynamic_linker="$host_os dld.sl"
18478
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18479
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18480
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18481
 
     soname_spec='${libname}${release}${shared_ext}$major'
18482
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18483
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18484
 
     ;;
18485
 
   *)
18486
 
    shrext_cmds='.sl'
18487
 
    dynamic_linker="$host_os dld.sl"
18488
 
    shlibpath_var=SHLIB_PATH
18489
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18490
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18491
 
    soname_spec='${libname}${release}${shared_ext}$major'
18492
 
    ;;
18493
 
  esac
18494
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18495
 
  postinstall_cmds='chmod 555 $lib'
18496
 
  ;;
18497
 
 
18498
 
interix[3-9]*)
18499
 
  version_type=linux
18500
 
  need_lib_prefix=no
18501
 
  need_version=no
18502
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18503
 
  soname_spec='${libname}${release}${shared_ext}$major'
18504
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18505
 
  shlibpath_var=LD_LIBRARY_PATH
18506
 
  shlibpath_overrides_runpath=no
18507
 
  hardcode_into_libs=yes
18508
 
  ;;
18509
 
 
18510
 
irix5* | irix6* | nonstopux*)
18511
 
  case $host_os in
18512
 
    nonstopux*) version_type=nonstopux ;;
18513
 
    *)
18514
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18515
 
                version_type=linux
18516
 
        else
18517
 
                version_type=irix
18518
 
        fi ;;
18519
 
  esac
18520
 
  need_lib_prefix=no
18521
 
  need_version=no
18522
 
  soname_spec='${libname}${release}${shared_ext}$major'
18523
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18524
 
  case $host_os in
18525
 
  irix5* | nonstopux*)
18526
 
    libsuff= shlibsuff=
18527
 
    ;;
18528
 
  *)
18529
 
    case $LD in # libtool.m4 will add one of these switches to LD
18530
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18531
 
      libsuff= shlibsuff= libmagic=32-bit;;
18532
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18533
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18534
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18535
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18536
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18537
 
    esac
18538
 
    ;;
18539
 
  esac
18540
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18541
 
  shlibpath_overrides_runpath=no
18542
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18543
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18544
 
  hardcode_into_libs=yes
18545
 
  ;;
18546
 
 
18547
 
# No shared lib support for Linux oldld, aout, or coff.
18548
 
linux*oldld* | linux*aout* | linux*coff*)
18549
 
  dynamic_linker=no
18550
 
  ;;
18551
 
 
18552
 
# This must be Linux ELF.
18553
 
linux* | k*bsd*-gnu)
18554
 
  version_type=linux
18555
 
  need_lib_prefix=no
18556
 
  need_version=no
18557
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18558
 
  soname_spec='${libname}${release}${shared_ext}$major'
18559
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18560
 
  shlibpath_var=LD_LIBRARY_PATH
18561
 
  shlibpath_overrides_runpath=no
18562
 
  # This implies no fast_install, which is unacceptable.
18563
 
  # Some rework will be needed to allow for fast_install
18564
 
  # before this can be enabled.
18565
 
  hardcode_into_libs=yes
18566
 
 
18567
 
  # Append ld.so.conf contents to the search path
18568
 
  if test -f /etc/ld.so.conf; then
18569
 
    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' ' '`
18570
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18571
 
  fi
18572
 
 
18573
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18574
 
  # powerpc, because MkLinux only supported shared libraries with the
18575
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18576
 
  # most powerpc-linux boxes support dynamic linking these days and
18577
 
  # people can always --disable-shared, the test was removed, and we
18578
 
  # assume the GNU/Linux dynamic linker is in use.
18579
 
  dynamic_linker='GNU/Linux ld.so'
18580
 
  ;;
18581
 
 
18582
 
netbsdelf*-gnu)
18583
 
  version_type=linux
18584
 
  need_lib_prefix=no
18585
 
  need_version=no
18586
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18587
 
  soname_spec='${libname}${release}${shared_ext}$major'
18588
 
  shlibpath_var=LD_LIBRARY_PATH
18589
 
  shlibpath_overrides_runpath=no
18590
 
  hardcode_into_libs=yes
18591
 
  dynamic_linker='NetBSD ld.elf_so'
18592
 
  ;;
18593
 
 
18594
 
netbsd*)
18595
 
  version_type=sunos
18596
 
  need_lib_prefix=no
18597
 
  need_version=no
18598
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18599
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18600
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18601
 
    dynamic_linker='NetBSD (a.out) ld.so'
18602
 
  else
18603
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18604
 
    soname_spec='${libname}${release}${shared_ext}$major'
18605
 
    dynamic_linker='NetBSD ld.elf_so'
18606
 
  fi
18607
 
  shlibpath_var=LD_LIBRARY_PATH
18608
 
  shlibpath_overrides_runpath=yes
18609
 
  hardcode_into_libs=yes
18610
 
  ;;
18611
 
 
18612
 
newsos6)
18613
 
  version_type=linux
18614
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18615
 
  shlibpath_var=LD_LIBRARY_PATH
18616
 
  shlibpath_overrides_runpath=yes
18617
 
  ;;
18618
 
 
18619
 
nto-qnx*)
18620
 
  version_type=linux
18621
 
  need_lib_prefix=no
18622
 
  need_version=no
18623
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18624
 
  soname_spec='${libname}${release}${shared_ext}$major'
18625
 
  shlibpath_var=LD_LIBRARY_PATH
18626
 
  shlibpath_overrides_runpath=yes
18627
 
  ;;
18628
 
 
18629
 
openbsd*)
18630
 
  version_type=sunos
18631
 
  sys_lib_dlsearch_path_spec="/usr/lib"
18632
 
  need_lib_prefix=no
18633
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18634
 
  case $host_os in
18635
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18636
 
    *)                         need_version=no  ;;
18637
 
  esac
18638
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18639
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18640
 
  shlibpath_var=LD_LIBRARY_PATH
18641
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18642
 
    case $host_os in
18643
 
      openbsd2.[89] | openbsd2.[89].*)
18644
 
        shlibpath_overrides_runpath=no
18645
 
        ;;
18646
 
      *)
18647
 
        shlibpath_overrides_runpath=yes
18648
 
        ;;
18649
 
      esac
18650
 
  else
18651
 
    shlibpath_overrides_runpath=yes
18652
 
  fi
18653
 
  ;;
18654
 
 
18655
 
os2*)
18656
 
  libname_spec='$name'
18657
 
  shrext_cmds=".dll"
18658
 
  need_lib_prefix=no
18659
 
  library_names_spec='$libname${shared_ext} $libname.a'
18660
 
  dynamic_linker='OS/2 ld.exe'
18661
 
  shlibpath_var=LIBPATH
18662
 
  ;;
18663
 
 
18664
 
osf3* | osf4* | osf5*)
18665
 
  version_type=osf
18666
 
  need_lib_prefix=no
18667
 
  need_version=no
18668
 
  soname_spec='${libname}${release}${shared_ext}$major'
18669
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18670
 
  shlibpath_var=LD_LIBRARY_PATH
18671
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18672
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18673
 
  ;;
18674
 
 
18675
 
rdos*)
18676
 
  dynamic_linker=no
18677
 
  ;;
18678
 
 
18679
 
solaris*)
18680
 
  version_type=linux
18681
 
  need_lib_prefix=no
18682
 
  need_version=no
18683
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18684
 
  soname_spec='${libname}${release}${shared_ext}$major'
18685
 
  shlibpath_var=LD_LIBRARY_PATH
18686
 
  shlibpath_overrides_runpath=yes
18687
 
  hardcode_into_libs=yes
18688
 
  # ldd complains unless libraries are executable
18689
 
  postinstall_cmds='chmod +x $lib'
18690
 
  ;;
18691
 
 
18692
 
sunos4*)
18693
 
  version_type=sunos
18694
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18695
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18696
 
  shlibpath_var=LD_LIBRARY_PATH
18697
 
  shlibpath_overrides_runpath=yes
18698
 
  if test "$with_gnu_ld" = yes; then
18699
 
    need_lib_prefix=no
18700
 
  fi
18701
 
  need_version=yes
18702
 
  ;;
18703
 
 
18704
 
sysv4 | sysv4.3*)
18705
 
  version_type=linux
18706
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18707
 
  soname_spec='${libname}${release}${shared_ext}$major'
18708
 
  shlibpath_var=LD_LIBRARY_PATH
18709
 
  case $host_vendor in
18710
 
    sni)
18711
 
      shlibpath_overrides_runpath=no
18712
 
      need_lib_prefix=no
18713
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
18714
 
      runpath_var=LD_RUN_PATH
18715
 
      ;;
18716
 
    siemens)
18717
 
      need_lib_prefix=no
18718
 
      ;;
18719
 
    motorola)
18720
 
      need_lib_prefix=no
18721
 
      need_version=no
18722
 
      shlibpath_overrides_runpath=no
18723
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18724
 
      ;;
18725
 
  esac
18726
 
  ;;
18727
 
 
18728
 
sysv4*MP*)
18729
 
  if test -d /usr/nec ;then
18730
 
    version_type=linux
18731
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18732
 
    soname_spec='$libname${shared_ext}.$major'
18733
 
    shlibpath_var=LD_LIBRARY_PATH
18734
 
  fi
18735
 
  ;;
18736
 
 
18737
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18738
 
  version_type=freebsd-elf
18739
 
  need_lib_prefix=no
18740
 
  need_version=no
18741
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18742
 
  soname_spec='${libname}${release}${shared_ext}$major'
18743
 
  shlibpath_var=LD_LIBRARY_PATH
18744
 
  hardcode_into_libs=yes
18745
 
  if test "$with_gnu_ld" = yes; then
18746
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18747
 
    shlibpath_overrides_runpath=no
18748
 
  else
18749
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18750
 
    shlibpath_overrides_runpath=yes
18751
 
    case $host_os in
18752
 
      sco3.2v5*)
18753
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18754
 
        ;;
18755
 
    esac
18756
 
  fi
18757
 
  sys_lib_dlsearch_path_spec='/usr/lib'
18758
 
  ;;
18759
 
 
18760
 
uts4*)
18761
 
  version_type=linux
18762
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18763
 
  soname_spec='${libname}${release}${shared_ext}$major'
18764
 
  shlibpath_var=LD_LIBRARY_PATH
18765
 
  ;;
18766
 
 
18767
 
*)
18768
 
  dynamic_linker=no
18769
 
  ;;
18770
 
esac
18771
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18772
 
echo "${ECHO_T}$dynamic_linker" >&6; }
18773
 
test "$dynamic_linker" = no && can_build_shared=no
18774
 
 
18775
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18776
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18777
 
else
18778
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
18779
 
fi
18780
 
 
18781
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
18782
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18783
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18784
 
else
18785
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
18786
 
fi
18787
 
 
18788
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
18789
 
 
18790
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18791
 
if test "$GCC" = yes; then
18792
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18793
 
fi
18794
 
 
18795
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18796
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18797
 
hardcode_action_GCJ=
18798
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18799
 
   test -n "$runpath_var_GCJ" || \
18800
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18801
 
 
18802
 
  # We can hardcode non-existant directories.
18803
 
  if test "$hardcode_direct_GCJ" != no &&
18804
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18805
 
     # have to relink, otherwise we might link with an installed library
18806
 
     # when we should be linking with a yet-to-be-installed one
18807
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18808
 
     test "$hardcode_minus_L_GCJ" != no; then
18809
 
    # Linking always hardcodes the temporary library directory.
18810
 
    hardcode_action_GCJ=relink
18811
 
  else
18812
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18813
 
    hardcode_action_GCJ=immediate
18814
 
  fi
18815
 
else
18816
 
  # We cannot hardcode anything, or else we can only hardcode existing
18817
 
  # directories.
18818
 
  hardcode_action_GCJ=unsupported
18819
 
fi
18820
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18821
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18822
 
 
18823
 
if test "$hardcode_action_GCJ" = relink; then
18824
 
  # Fast installation is not supported
18825
 
  enable_fast_install=no
18826
 
elif test "$shlibpath_overrides_runpath" = yes ||
18827
 
     test "$enable_shared" = no; then
18828
 
  # Fast installation is not necessary
18829
 
  enable_fast_install=needless
18830
 
fi
18831
 
 
18832
 
 
18833
 
# The else clause should only fire when bootstrapping the
18834
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18835
 
# with your package, and you will get complaints that there are
18836
 
# no rules to generate ltmain.sh.
18837
 
if test -f "$ltmain"; then
18838
 
  # See if we are running on zsh, and set the options which allow our commands through
18839
 
  # without removal of \ escapes.
18840
 
  if test -n "${ZSH_VERSION+set}" ; then
18841
 
    setopt NO_GLOB_SUBST
18842
 
  fi
18843
 
  # Now quote all the things that may contain metacharacters while being
18844
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18845
 
  # variables and quote the copies for generation of the libtool script.
18846
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18847
 
    SED SHELL STRIP \
18848
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18849
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18850
 
    deplibs_check_method reload_flag reload_cmds need_locks \
18851
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18852
 
    lt_cv_sys_global_symbol_to_c_name_address \
18853
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18854
 
    old_postinstall_cmds old_postuninstall_cmds \
18855
 
    compiler_GCJ \
18856
 
    CC_GCJ \
18857
 
    LD_GCJ \
18858
 
    lt_prog_compiler_wl_GCJ \
18859
 
    lt_prog_compiler_pic_GCJ \
18860
 
    lt_prog_compiler_static_GCJ \
18861
 
    lt_prog_compiler_no_builtin_flag_GCJ \
18862
 
    export_dynamic_flag_spec_GCJ \
18863
 
    thread_safe_flag_spec_GCJ \
18864
 
    whole_archive_flag_spec_GCJ \
18865
 
    enable_shared_with_static_runtimes_GCJ \
18866
 
    old_archive_cmds_GCJ \
18867
 
    old_archive_from_new_cmds_GCJ \
18868
 
    predep_objects_GCJ \
18869
 
    postdep_objects_GCJ \
18870
 
    predeps_GCJ \
18871
 
    postdeps_GCJ \
18872
 
    compiler_lib_search_path_GCJ \
18873
 
    compiler_lib_search_dirs_GCJ \
18874
 
    archive_cmds_GCJ \
18875
 
    archive_expsym_cmds_GCJ \
18876
 
    postinstall_cmds_GCJ \
18877
 
    postuninstall_cmds_GCJ \
18878
 
    old_archive_from_expsyms_cmds_GCJ \
18879
 
    allow_undefined_flag_GCJ \
18880
 
    no_undefined_flag_GCJ \
18881
 
    export_symbols_cmds_GCJ \
18882
 
    hardcode_libdir_flag_spec_GCJ \
18883
 
    hardcode_libdir_flag_spec_ld_GCJ \
18884
 
    hardcode_libdir_separator_GCJ \
18885
 
    hardcode_automatic_GCJ \
18886
 
    module_cmds_GCJ \
18887
 
    module_expsym_cmds_GCJ \
18888
 
    lt_cv_prog_compiler_c_o_GCJ \
18889
 
    fix_srcfile_path_GCJ \
18890
 
    exclude_expsyms_GCJ \
18891
 
    include_expsyms_GCJ; do
18892
 
 
18893
 
    case $var in
18894
 
    old_archive_cmds_GCJ | \
18895
 
    old_archive_from_new_cmds_GCJ | \
18896
 
    archive_cmds_GCJ | \
18897
 
    archive_expsym_cmds_GCJ | \
18898
 
    module_cmds_GCJ | \
18899
 
    module_expsym_cmds_GCJ | \
18900
 
    old_archive_from_expsyms_cmds_GCJ | \
18901
 
    export_symbols_cmds_GCJ | \
18902
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18903
 
    postinstall_cmds | postuninstall_cmds | \
18904
 
    old_postinstall_cmds | old_postuninstall_cmds | \
18905
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18906
 
      # Double-quote double-evaled strings.
18907
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18908
 
      ;;
18909
 
    *)
18910
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18911
 
      ;;
18912
 
    esac
18913
 
  done
18914
 
 
18915
 
  case $lt_echo in
18916
 
  *'\$0 --fallback-echo"')
18917
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18918
 
    ;;
18919
 
  esac
18920
 
 
18921
 
cfgfile="$ofile"
18922
 
 
18923
 
  cat <<__EOF__ >> "$cfgfile"
18924
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18925
 
 
18926
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18927
 
 
18928
 
# Shell to use when invoking shell scripts.
18929
 
SHELL=$lt_SHELL
18930
 
 
18931
 
# Whether or not to build shared libraries.
18932
 
build_libtool_libs=$enable_shared
18933
 
 
18934
 
# Whether or not to build static libraries.
18935
 
build_old_libs=$enable_static
18936
 
 
18937
 
# Whether or not to add -lc for building shared libraries.
18938
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18939
 
 
18940
 
# Whether or not to disallow shared libs when runtime libs are static
18941
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18942
 
 
18943
 
# Whether or not to optimize for fast installation.
18944
 
fast_install=$enable_fast_install
18945
 
 
18946
 
# The host system.
18947
 
host_alias=$host_alias
18948
 
host=$host
18949
 
host_os=$host_os
18950
 
 
18951
 
# The build system.
18952
 
build_alias=$build_alias
18953
 
build=$build
18954
 
build_os=$build_os
18955
 
 
18956
 
# An echo program that does not interpret backslashes.
18957
 
echo=$lt_echo
18958
 
 
18959
 
# The archiver.
18960
 
AR=$lt_AR
18961
 
AR_FLAGS=$lt_AR_FLAGS
18962
 
 
18963
 
# A C compiler.
18964
 
LTCC=$lt_LTCC
18965
 
 
18966
 
# LTCC compiler flags.
18967
 
LTCFLAGS=$lt_LTCFLAGS
18968
 
 
18969
 
# A language-specific compiler.
18970
 
CC=$lt_compiler_GCJ
18971
 
 
18972
 
# Is the compiler the GNU C compiler?
18973
 
with_gcc=$GCC_GCJ
18974
 
 
18975
 
# An ERE matcher.
18976
 
EGREP=$lt_EGREP
18977
 
 
18978
 
# The linker used to build libraries.
18979
 
LD=$lt_LD_GCJ
18980
 
 
18981
 
# Whether we need hard or soft links.
18982
 
LN_S=$lt_LN_S
18983
 
 
18984
 
# A BSD-compatible nm program.
18985
 
NM=$lt_NM
18986
 
 
18987
 
# A symbol stripping program
18988
 
STRIP=$lt_STRIP
18989
 
 
18990
 
# Used to examine libraries when file_magic_cmd begins "file"
18991
 
MAGIC_CMD=$MAGIC_CMD
18992
 
 
18993
 
# Used on cygwin: DLL creation program.
18994
 
DLLTOOL="$DLLTOOL"
18995
 
 
18996
 
# Used on cygwin: object dumper.
18997
 
OBJDUMP="$OBJDUMP"
18998
 
 
18999
 
# Used on cygwin: assembler.
19000
 
AS="$AS"
19001
 
 
19002
 
# The name of the directory that contains temporary libtool files.
19003
 
objdir=$objdir
19004
 
 
19005
 
# How to create reloadable object files.
19006
 
reload_flag=$lt_reload_flag
19007
 
reload_cmds=$lt_reload_cmds
19008
 
 
19009
 
# How to pass a linker flag through the compiler.
19010
 
wl=$lt_lt_prog_compiler_wl_GCJ
19011
 
 
19012
 
# Object file suffix (normally "o").
19013
 
objext="$ac_objext"
19014
 
 
19015
 
# Old archive suffix (normally "a").
19016
 
libext="$libext"
19017
 
 
19018
 
# Shared library suffix (normally ".so").
19019
 
shrext_cmds='$shrext_cmds'
19020
 
 
19021
 
# Executable file suffix (normally "").
19022
 
exeext="$exeext"
19023
 
 
19024
 
# Additional compiler flags for building library objects.
19025
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
19026
 
pic_mode=$pic_mode
19027
 
 
19028
 
# What is the maximum length of a command?
19029
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19030
 
 
19031
 
# Does compiler simultaneously support -c and -o options?
19032
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19033
 
 
19034
 
# Must we lock files when doing compilation?
19035
 
need_locks=$lt_need_locks
19036
 
 
19037
 
# Do we need the lib prefix for modules?
19038
 
need_lib_prefix=$need_lib_prefix
19039
 
 
19040
 
# Do we need a version for libraries?
19041
 
need_version=$need_version
19042
 
 
19043
 
# Whether dlopen is supported.
19044
 
dlopen_support=$enable_dlopen
19045
 
 
19046
 
# Whether dlopen of programs is supported.
19047
 
dlopen_self=$enable_dlopen_self
19048
 
 
19049
 
# Whether dlopen of statically linked programs is supported.
19050
 
dlopen_self_static=$enable_dlopen_self_static
19051
 
 
19052
 
# Compiler flag to prevent dynamic linking.
19053
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
19054
 
 
19055
 
# Compiler flag to turn off builtin functions.
19056
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19057
 
 
19058
 
# Compiler flag to allow reflexive dlopens.
19059
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19060
 
 
19061
 
# Compiler flag to generate shared objects directly from archives.
19062
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19063
 
 
19064
 
# Compiler flag to generate thread-safe objects.
19065
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19066
 
 
19067
 
# Library versioning type.
19068
 
version_type=$version_type
19069
 
 
19070
 
# Format of library name prefix.
19071
 
libname_spec=$lt_libname_spec
19072
 
 
19073
 
# List of archive names.  First name is the real one, the rest are links.
19074
 
# The last name is the one that the linker finds with -lNAME.
19075
 
library_names_spec=$lt_library_names_spec
19076
 
 
19077
 
# The coded name of the library, if different from the real name.
19078
 
soname_spec=$lt_soname_spec
19079
 
 
19080
 
# Commands used to build and install an old-style archive.
19081
 
RANLIB=$lt_RANLIB
19082
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
19083
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19084
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19085
 
 
19086
 
# Create an old-style archive from a shared archive.
19087
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19088
 
 
19089
 
# Create a temporary old-style archive to link instead of a shared archive.
19090
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19091
 
 
19092
 
# Commands used to build and install a shared archive.
19093
 
archive_cmds=$lt_archive_cmds_GCJ
19094
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19095
 
postinstall_cmds=$lt_postinstall_cmds
19096
 
postuninstall_cmds=$lt_postuninstall_cmds
19097
 
 
19098
 
# Commands used to build a loadable module (assumed same as above if empty)
19099
 
module_cmds=$lt_module_cmds_GCJ
19100
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19101
 
 
19102
 
# Commands to strip libraries.
19103
 
old_striplib=$lt_old_striplib
19104
 
striplib=$lt_striplib
19105
 
 
19106
 
# Dependencies to place before the objects being linked to create a
19107
 
# shared library.
19108
 
predep_objects=$lt_predep_objects_GCJ
19109
 
 
19110
 
# Dependencies to place after the objects being linked to create a
19111
 
# shared library.
19112
 
postdep_objects=$lt_postdep_objects_GCJ
19113
 
 
19114
 
# Dependencies to place before the objects being linked to create a
19115
 
# shared library.
19116
 
predeps=$lt_predeps_GCJ
19117
 
 
19118
 
# Dependencies to place after the objects being linked to create a
19119
 
# shared library.
19120
 
postdeps=$lt_postdeps_GCJ
19121
 
 
19122
 
# The directories searched by this compiler when creating a shared
19123
 
# library
19124
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19125
 
 
19126
 
# The library search path used internally by the compiler when linking
19127
 
# a shared library.
19128
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19129
 
 
19130
 
# Method to check whether dependent libraries are shared objects.
19131
 
deplibs_check_method=$lt_deplibs_check_method
19132
 
 
19133
 
# Command to use when deplibs_check_method == file_magic.
19134
 
file_magic_cmd=$lt_file_magic_cmd
19135
 
 
19136
 
# Flag that allows shared libraries with undefined symbols to be built.
19137
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19138
 
 
19139
 
# Flag that forces no undefined symbols.
19140
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
19141
 
 
19142
 
# Commands used to finish a libtool library installation in a directory.
19143
 
finish_cmds=$lt_finish_cmds
19144
 
 
19145
 
# Same as above, but a single script fragment to be evaled but not shown.
19146
 
finish_eval=$lt_finish_eval
19147
 
 
19148
 
# Take the output of nm and produce a listing of raw symbols and C names.
19149
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19150
 
 
19151
 
# Transform the output of nm in a proper C declaration
19152
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19153
 
 
19154
 
# Transform the output of nm in a C name address pair
19155
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19156
 
 
19157
 
# This is the shared library runtime path variable.
19158
 
runpath_var=$runpath_var
19159
 
 
19160
 
# This is the shared library path variable.
19161
 
shlibpath_var=$shlibpath_var
19162
 
 
19163
 
# Is shlibpath searched before the hard-coded library search path?
19164
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19165
 
 
19166
 
# How to hardcode a shared library path into an executable.
19167
 
hardcode_action=$hardcode_action_GCJ
19168
 
 
19169
 
# Whether we should hardcode library paths into libraries.
19170
 
hardcode_into_libs=$hardcode_into_libs
19171
 
 
19172
 
# Flag to hardcode \$libdir into a binary during linking.
19173
 
# This must work even if \$libdir does not exist.
19174
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19175
 
 
19176
 
# If ld is used when linking, flag to hardcode \$libdir into
19177
 
# a binary during linking. This must work even if \$libdir does
19178
 
# not exist.
19179
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19180
 
 
19181
 
# Whether we need a single -rpath flag with a separated argument.
19182
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19183
 
 
19184
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19185
 
# resulting binary.
19186
 
hardcode_direct=$hardcode_direct_GCJ
19187
 
 
19188
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19189
 
# resulting binary.
19190
 
hardcode_minus_L=$hardcode_minus_L_GCJ
19191
 
 
19192
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19193
 
# the resulting binary.
19194
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19195
 
 
19196
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19197
 
# and all subsequent libraries and executables linked against it.
19198
 
hardcode_automatic=$hardcode_automatic_GCJ
19199
 
 
19200
 
# Variables whose values should be saved in libtool wrapper scripts and
19201
 
# restored at relink time.
19202
 
variables_saved_for_relink="$variables_saved_for_relink"
19203
 
 
19204
 
# Whether libtool must link a program against all its dependency libraries.
19205
 
link_all_deplibs=$link_all_deplibs_GCJ
19206
 
 
19207
 
# Compile-time system search path for libraries
19208
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19209
 
 
19210
 
# Run-time system search path for libraries
19211
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19212
 
 
19213
 
# Fix the shell variable \$srcfile for the compiler.
19214
 
fix_srcfile_path=$lt_fix_srcfile_path
19215
 
 
19216
 
# Set to yes if exported symbols are required.
19217
 
always_export_symbols=$always_export_symbols_GCJ
19218
 
 
19219
 
# The commands to list exported symbols.
19220
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19221
 
 
19222
 
# The commands to extract the exported symbol list from a shared archive.
19223
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19224
 
 
19225
 
# Symbols that should not be listed in the preloaded symbols.
19226
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
19227
 
 
19228
 
# Symbols that must always be exported.
19229
 
include_expsyms=$lt_include_expsyms_GCJ
19230
 
 
19231
 
# ### END LIBTOOL TAG CONFIG: $tagname
19232
 
 
19233
 
__EOF__
19234
 
 
19235
 
 
19236
 
else
19237
 
  # If there is no Makefile yet, we rely on a make rule to execute
19238
 
  # `config.status --recheck' to rerun these tests and create the
19239
 
  # libtool script then.
19240
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19241
 
  if test -f "$ltmain_in"; then
19242
 
    test -f Makefile && make "$ltmain"
19243
 
  fi
19244
 
fi
19245
 
 
19246
 
 
19247
 
ac_ext=c
19248
 
ac_cpp='$CPP $CPPFLAGS'
19249
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19250
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19251
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19252
 
 
19253
 
CC="$lt_save_CC"
19254
 
 
19255
 
        else
19256
 
          tagname=""
19257
 
        fi
19258
 
        ;;
19259
 
 
19260
 
      RC)
19261
 
 
19262
 
 
19263
 
# Source file extension for RC test sources.
19264
 
ac_ext=rc
19265
 
 
19266
 
# Object file extension for compiled RC test sources.
19267
 
objext=o
19268
 
objext_RC=$objext
19269
 
 
19270
 
# Code to be used in simple compile tests
19271
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19272
 
 
19273
 
# Code to be used in simple link tests
19274
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
19275
 
 
19276
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19277
 
 
19278
 
# If no C compiler was specified, use CC.
19279
 
LTCC=${LTCC-"$CC"}
19280
 
 
19281
 
# If no C compiler flags were specified, use CFLAGS.
19282
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19283
 
 
19284
 
# Allow CC to be a program name with arguments.
19285
 
compiler=$CC
19286
 
 
19287
 
 
19288
 
# save warnings/boilerplate of simple test code
19289
 
ac_outfile=conftest.$ac_objext
19290
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19291
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19292
 
_lt_compiler_boilerplate=`cat conftest.err`
19293
 
$rm conftest*
19294
 
 
19295
 
ac_outfile=conftest.$ac_objext
19296
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
19297
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19298
 
_lt_linker_boilerplate=`cat conftest.err`
19299
 
$rm -r conftest*
19300
 
 
19301
 
 
19302
 
# Allow CC to be a program name with arguments.
19303
 
lt_save_CC="$CC"
19304
 
CC=${RC-"windres"}
19305
 
compiler=$CC
19306
 
compiler_RC=$CC
19307
 
for cc_temp in $compiler""; do
19308
 
  case $cc_temp in
19309
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19310
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19311
 
    \-*) ;;
19312
 
    *) break;;
19313
 
  esac
19314
 
done
19315
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19316
 
 
19317
 
lt_cv_prog_compiler_c_o_RC=yes
19318
 
 
19319
 
# The else clause should only fire when bootstrapping the
19320
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19321
 
# with your package, and you will get complaints that there are
19322
 
# no rules to generate ltmain.sh.
19323
 
if test -f "$ltmain"; then
19324
 
  # See if we are running on zsh, and set the options which allow our commands through
19325
 
  # without removal of \ escapes.
19326
 
  if test -n "${ZSH_VERSION+set}" ; then
19327
 
    setopt NO_GLOB_SUBST
19328
 
  fi
19329
 
  # Now quote all the things that may contain metacharacters while being
19330
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19331
 
  # variables and quote the copies for generation of the libtool script.
19332
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19333
 
    SED SHELL STRIP \
19334
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19335
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19336
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19337
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19338
 
    lt_cv_sys_global_symbol_to_c_name_address \
19339
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19340
 
    old_postinstall_cmds old_postuninstall_cmds \
19341
 
    compiler_RC \
19342
 
    CC_RC \
19343
 
    LD_RC \
19344
 
    lt_prog_compiler_wl_RC \
19345
 
    lt_prog_compiler_pic_RC \
19346
 
    lt_prog_compiler_static_RC \
19347
 
    lt_prog_compiler_no_builtin_flag_RC \
19348
 
    export_dynamic_flag_spec_RC \
19349
 
    thread_safe_flag_spec_RC \
19350
 
    whole_archive_flag_spec_RC \
19351
 
    enable_shared_with_static_runtimes_RC \
19352
 
    old_archive_cmds_RC \
19353
 
    old_archive_from_new_cmds_RC \
19354
 
    predep_objects_RC \
19355
 
    postdep_objects_RC \
19356
 
    predeps_RC \
19357
 
    postdeps_RC \
19358
 
    compiler_lib_search_path_RC \
19359
 
    compiler_lib_search_dirs_RC \
19360
 
    archive_cmds_RC \
19361
 
    archive_expsym_cmds_RC \
19362
 
    postinstall_cmds_RC \
19363
 
    postuninstall_cmds_RC \
19364
 
    old_archive_from_expsyms_cmds_RC \
19365
 
    allow_undefined_flag_RC \
19366
 
    no_undefined_flag_RC \
19367
 
    export_symbols_cmds_RC \
19368
 
    hardcode_libdir_flag_spec_RC \
19369
 
    hardcode_libdir_flag_spec_ld_RC \
19370
 
    hardcode_libdir_separator_RC \
19371
 
    hardcode_automatic_RC \
19372
 
    module_cmds_RC \
19373
 
    module_expsym_cmds_RC \
19374
 
    lt_cv_prog_compiler_c_o_RC \
19375
 
    fix_srcfile_path_RC \
19376
 
    exclude_expsyms_RC \
19377
 
    include_expsyms_RC; do
19378
 
 
19379
 
    case $var in
19380
 
    old_archive_cmds_RC | \
19381
 
    old_archive_from_new_cmds_RC | \
19382
 
    archive_cmds_RC | \
19383
 
    archive_expsym_cmds_RC | \
19384
 
    module_cmds_RC | \
19385
 
    module_expsym_cmds_RC | \
19386
 
    old_archive_from_expsyms_cmds_RC | \
19387
 
    export_symbols_cmds_RC | \
19388
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19389
 
    postinstall_cmds | postuninstall_cmds | \
19390
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19391
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19392
 
      # Double-quote double-evaled strings.
19393
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19394
 
      ;;
19395
 
    *)
19396
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19397
 
      ;;
19398
 
    esac
19399
 
  done
19400
 
 
19401
 
  case $lt_echo in
19402
 
  *'\$0 --fallback-echo"')
19403
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19404
 
    ;;
19405
 
  esac
19406
 
 
19407
 
cfgfile="$ofile"
19408
 
 
19409
 
  cat <<__EOF__ >> "$cfgfile"
19410
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19411
 
 
19412
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19413
 
 
19414
 
# Shell to use when invoking shell scripts.
19415
 
SHELL=$lt_SHELL
19416
 
 
19417
 
# Whether or not to build shared libraries.
19418
 
build_libtool_libs=$enable_shared
19419
 
 
19420
 
# Whether or not to build static libraries.
19421
 
build_old_libs=$enable_static
19422
 
 
19423
 
# Whether or not to add -lc for building shared libraries.
19424
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
19425
 
 
19426
 
# Whether or not to disallow shared libs when runtime libs are static
19427
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19428
 
 
19429
 
# Whether or not to optimize for fast installation.
19430
 
fast_install=$enable_fast_install
19431
 
 
19432
 
# The host system.
19433
 
host_alias=$host_alias
19434
 
host=$host
19435
 
host_os=$host_os
19436
 
 
19437
 
# The build system.
19438
 
build_alias=$build_alias
19439
 
build=$build
19440
 
build_os=$build_os
19441
 
 
19442
 
# An echo program that does not interpret backslashes.
19443
 
echo=$lt_echo
19444
 
 
19445
 
# The archiver.
19446
 
AR=$lt_AR
19447
 
AR_FLAGS=$lt_AR_FLAGS
19448
 
 
19449
 
# A C compiler.
19450
 
LTCC=$lt_LTCC
19451
 
 
19452
 
# LTCC compiler flags.
19453
 
LTCFLAGS=$lt_LTCFLAGS
19454
 
 
19455
 
# A language-specific compiler.
19456
 
CC=$lt_compiler_RC
19457
 
 
19458
 
# Is the compiler the GNU C compiler?
19459
 
with_gcc=$GCC_RC
19460
 
 
19461
 
# An ERE matcher.
19462
 
EGREP=$lt_EGREP
19463
 
 
19464
 
# The linker used to build libraries.
19465
 
LD=$lt_LD_RC
19466
 
 
19467
 
# Whether we need hard or soft links.
19468
 
LN_S=$lt_LN_S
19469
 
 
19470
 
# A BSD-compatible nm program.
19471
 
NM=$lt_NM
19472
 
 
19473
 
# A symbol stripping program
19474
 
STRIP=$lt_STRIP
19475
 
 
19476
 
# Used to examine libraries when file_magic_cmd begins "file"
19477
 
MAGIC_CMD=$MAGIC_CMD
19478
 
 
19479
 
# Used on cygwin: DLL creation program.
19480
 
DLLTOOL="$DLLTOOL"
19481
 
 
19482
 
# Used on cygwin: object dumper.
19483
 
OBJDUMP="$OBJDUMP"
19484
 
 
19485
 
# Used on cygwin: assembler.
19486
 
AS="$AS"
19487
 
 
19488
 
# The name of the directory that contains temporary libtool files.
19489
 
objdir=$objdir
19490
 
 
19491
 
# How to create reloadable object files.
19492
 
reload_flag=$lt_reload_flag
19493
 
reload_cmds=$lt_reload_cmds
19494
 
 
19495
 
# How to pass a linker flag through the compiler.
19496
 
wl=$lt_lt_prog_compiler_wl_RC
19497
 
 
19498
 
# Object file suffix (normally "o").
19499
 
objext="$ac_objext"
19500
 
 
19501
 
# Old archive suffix (normally "a").
19502
 
libext="$libext"
19503
 
 
19504
 
# Shared library suffix (normally ".so").
19505
 
shrext_cmds='$shrext_cmds'
19506
 
 
19507
 
# Executable file suffix (normally "").
19508
 
exeext="$exeext"
19509
 
 
19510
 
# Additional compiler flags for building library objects.
19511
 
pic_flag=$lt_lt_prog_compiler_pic_RC
19512
 
pic_mode=$pic_mode
19513
 
 
19514
 
# What is the maximum length of a command?
19515
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19516
 
 
19517
 
# Does compiler simultaneously support -c and -o options?
19518
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19519
 
 
19520
 
# Must we lock files when doing compilation?
19521
 
need_locks=$lt_need_locks
19522
 
 
19523
 
# Do we need the lib prefix for modules?
19524
 
need_lib_prefix=$need_lib_prefix
19525
 
 
19526
 
# Do we need a version for libraries?
19527
 
need_version=$need_version
19528
 
 
19529
 
# Whether dlopen is supported.
19530
 
dlopen_support=$enable_dlopen
19531
 
 
19532
 
# Whether dlopen of programs is supported.
19533
 
dlopen_self=$enable_dlopen_self
19534
 
 
19535
 
# Whether dlopen of statically linked programs is supported.
19536
 
dlopen_self_static=$enable_dlopen_self_static
19537
 
 
19538
 
# Compiler flag to prevent dynamic linking.
19539
 
link_static_flag=$lt_lt_prog_compiler_static_RC
19540
 
 
19541
 
# Compiler flag to turn off builtin functions.
19542
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19543
 
 
19544
 
# Compiler flag to allow reflexive dlopens.
19545
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19546
 
 
19547
 
# Compiler flag to generate shared objects directly from archives.
19548
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19549
 
 
19550
 
# Compiler flag to generate thread-safe objects.
19551
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19552
 
 
19553
 
# Library versioning type.
19554
 
version_type=$version_type
19555
 
 
19556
 
# Format of library name prefix.
19557
 
libname_spec=$lt_libname_spec
19558
 
 
19559
 
# List of archive names.  First name is the real one, the rest are links.
19560
 
# The last name is the one that the linker finds with -lNAME.
19561
 
library_names_spec=$lt_library_names_spec
19562
 
 
19563
 
# The coded name of the library, if different from the real name.
19564
 
soname_spec=$lt_soname_spec
19565
 
 
19566
 
# Commands used to build and install an old-style archive.
19567
 
RANLIB=$lt_RANLIB
19568
 
old_archive_cmds=$lt_old_archive_cmds_RC
19569
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19570
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19571
 
 
19572
 
# Create an old-style archive from a shared archive.
19573
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19574
 
 
19575
 
# Create a temporary old-style archive to link instead of a shared archive.
19576
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19577
 
 
19578
 
# Commands used to build and install a shared archive.
19579
 
archive_cmds=$lt_archive_cmds_RC
19580
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19581
 
postinstall_cmds=$lt_postinstall_cmds
19582
 
postuninstall_cmds=$lt_postuninstall_cmds
19583
 
 
19584
 
# Commands used to build a loadable module (assumed same as above if empty)
19585
 
module_cmds=$lt_module_cmds_RC
19586
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
19587
 
 
19588
 
# Commands to strip libraries.
19589
 
old_striplib=$lt_old_striplib
19590
 
striplib=$lt_striplib
19591
 
 
19592
 
# Dependencies to place before the objects being linked to create a
19593
 
# shared library.
19594
 
predep_objects=$lt_predep_objects_RC
19595
 
 
19596
 
# Dependencies to place after the objects being linked to create a
19597
 
# shared library.
19598
 
postdep_objects=$lt_postdep_objects_RC
19599
 
 
19600
 
# Dependencies to place before the objects being linked to create a
19601
 
# shared library.
19602
 
predeps=$lt_predeps_RC
19603
 
 
19604
 
# Dependencies to place after the objects being linked to create a
19605
 
# shared library.
19606
 
postdeps=$lt_postdeps_RC
19607
 
 
19608
 
# The directories searched by this compiler when creating a shared
19609
 
# library
19610
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
19611
 
 
19612
 
# The library search path used internally by the compiler when linking
19613
 
# a shared library.
19614
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19615
 
 
19616
 
# Method to check whether dependent libraries are shared objects.
19617
 
deplibs_check_method=$lt_deplibs_check_method
19618
 
 
19619
 
# Command to use when deplibs_check_method == file_magic.
19620
 
file_magic_cmd=$lt_file_magic_cmd
19621
 
 
19622
 
# Flag that allows shared libraries with undefined symbols to be built.
19623
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
19624
 
 
19625
 
# Flag that forces no undefined symbols.
19626
 
no_undefined_flag=$lt_no_undefined_flag_RC
19627
 
 
19628
 
# Commands used to finish a libtool library installation in a directory.
19629
 
finish_cmds=$lt_finish_cmds
19630
 
 
19631
 
# Same as above, but a single script fragment to be evaled but not shown.
19632
 
finish_eval=$lt_finish_eval
19633
 
 
19634
 
# Take the output of nm and produce a listing of raw symbols and C names.
19635
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19636
 
 
19637
 
# Transform the output of nm in a proper C declaration
19638
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19639
 
 
19640
 
# Transform the output of nm in a C name address pair
19641
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19642
 
 
19643
 
# This is the shared library runtime path variable.
19644
 
runpath_var=$runpath_var
19645
 
 
19646
 
# This is the shared library path variable.
19647
 
shlibpath_var=$shlibpath_var
19648
 
 
19649
 
# Is shlibpath searched before the hard-coded library search path?
19650
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19651
 
 
19652
 
# How to hardcode a shared library path into an executable.
19653
 
hardcode_action=$hardcode_action_RC
19654
 
 
19655
 
# Whether we should hardcode library paths into libraries.
19656
 
hardcode_into_libs=$hardcode_into_libs
19657
 
 
19658
 
# Flag to hardcode \$libdir into a binary during linking.
19659
 
# This must work even if \$libdir does not exist.
19660
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19661
 
 
19662
 
# If ld is used when linking, flag to hardcode \$libdir into
19663
 
# a binary during linking. This must work even if \$libdir does
19664
 
# not exist.
19665
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19666
 
 
19667
 
# Whether we need a single -rpath flag with a separated argument.
19668
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19669
 
 
19670
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19671
 
# resulting binary.
19672
 
hardcode_direct=$hardcode_direct_RC
19673
 
 
19674
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19675
 
# resulting binary.
19676
 
hardcode_minus_L=$hardcode_minus_L_RC
19677
 
 
19678
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19679
 
# the resulting binary.
19680
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19681
 
 
19682
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19683
 
# and all subsequent libraries and executables linked against it.
19684
 
hardcode_automatic=$hardcode_automatic_RC
19685
 
 
19686
 
# Variables whose values should be saved in libtool wrapper scripts and
19687
 
# restored at relink time.
19688
 
variables_saved_for_relink="$variables_saved_for_relink"
19689
 
 
19690
 
# Whether libtool must link a program against all its dependency libraries.
19691
 
link_all_deplibs=$link_all_deplibs_RC
19692
 
 
19693
 
# Compile-time system search path for libraries
19694
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19695
 
 
19696
 
# Run-time system search path for libraries
19697
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19698
 
 
19699
 
# Fix the shell variable \$srcfile for the compiler.
19700
 
fix_srcfile_path=$lt_fix_srcfile_path
19701
 
 
19702
 
# Set to yes if exported symbols are required.
19703
 
always_export_symbols=$always_export_symbols_RC
19704
 
 
19705
 
# The commands to list exported symbols.
19706
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
19707
 
 
19708
 
# The commands to extract the exported symbol list from a shared archive.
19709
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19710
 
 
19711
 
# Symbols that should not be listed in the preloaded symbols.
19712
 
exclude_expsyms=$lt_exclude_expsyms_RC
19713
 
 
19714
 
# Symbols that must always be exported.
19715
 
include_expsyms=$lt_include_expsyms_RC
19716
 
 
19717
 
# ### END LIBTOOL TAG CONFIG: $tagname
19718
 
 
19719
 
__EOF__
19720
 
 
19721
 
 
19722
 
else
19723
 
  # If there is no Makefile yet, we rely on a make rule to execute
19724
 
  # `config.status --recheck' to rerun these tests and create the
19725
 
  # libtool script then.
19726
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19727
 
  if test -f "$ltmain_in"; then
19728
 
    test -f Makefile && make "$ltmain"
19729
 
  fi
19730
 
fi
19731
 
 
19732
 
 
19733
 
ac_ext=c
19734
 
ac_cpp='$CPP $CPPFLAGS'
19735
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19736
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19737
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19738
 
 
19739
 
CC="$lt_save_CC"
19740
 
 
19741
 
        ;;
19742
 
 
19743
 
      *)
19744
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19745
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19746
 
   { (exit 1); exit 1; }; }
19747
 
        ;;
19748
 
      esac
19749
 
 
19750
 
      # Append the new tag name to the list of available tags.
19751
 
      if test -n "$tagname" ; then
19752
 
      available_tags="$available_tags $tagname"
19753
 
    fi
19754
 
    fi
19755
 
  done
19756
 
  IFS="$lt_save_ifs"
19757
 
 
19758
 
  # Now substitute the updated list of available tags.
19759
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19760
 
    mv "${ofile}T" "$ofile"
19761
 
    chmod +x "$ofile"
19762
 
  else
19763
 
    rm -f "${ofile}T"
19764
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19765
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19766
 
   { (exit 1); exit 1; }; }
19767
 
  fi
19768
 
fi
19769
 
 
19770
 
 
19771
 
 
19772
 
# This can be used to rebuild libtool when needed
19773
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
19774
 
 
19775
 
# Always use our own libtool.
19776
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19777
 
 
19778
 
# Prevent multiple expansion
19779
 
 
19780
 
 
19781
 
 
19782
 
 
19783
 
 
19784
 
 
19785
 
 
19786
 
 
19787
 
 
19788
 
 
19789
 
 
19790
 
 
19791
 
 
19792
 
 
19793
 
 
19794
 
 
19795
 
 
19796
 
 
19797
 
 
19798
 
 
19799
 
# Find a good install program.  We prefer a C program (faster),
19800
 
# so one script is as good as another.  But avoid the broken or
19801
 
# incompatible versions:
19802
 
# SysV /etc/install, /usr/sbin/install
19803
 
# SunOS /usr/etc/install
19804
 
# IRIX /sbin/install
19805
 
# AIX /bin/install
19806
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
19807
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19808
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
19809
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19810
 
# OS/2's system install, which has a completely different semantic
19811
 
# ./install, which can be erroneously created by make from ./install.sh.
19812
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19813
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19814
 
if test -z "$INSTALL"; then
19815
 
if test "${ac_cv_path_install+set}" = set; then
19816
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19817
 
else
19818
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19819
 
for as_dir in $PATH
19820
 
do
19821
 
  IFS=$as_save_IFS
19822
 
  test -z "$as_dir" && as_dir=.
19823
 
  # Account for people who put trailing slashes in PATH elements.
19824
 
case $as_dir/ in
19825
 
  ./ | .// | /cC/* | \
19826
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19827
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19828
 
  /usr/ucb/* ) ;;
19829
 
  *)
19830
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
19831
 
    # Don't use installbsd from OSF since it installs stuff as root
19832
 
    # by default.
19833
 
    for ac_prog in ginstall scoinst install; do
19834
 
      for ac_exec_ext in '' $ac_executable_extensions; do
19835
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19836
 
          if test $ac_prog = install &&
19837
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19838
 
            # AIX install.  It has an incompatible calling convention.
19839
 
            :
19840
 
          elif test $ac_prog = install &&
19841
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19842
 
            # program-specific install script used by HP pwplus--don't use.
19843
 
            :
19844
 
          else
19845
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19846
 
            break 3
19847
 
          fi
19848
 
        fi
19849
 
      done
19850
 
    done
19851
 
    ;;
19852
 
esac
19853
 
done
19854
 
IFS=$as_save_IFS
19855
 
 
19856
 
 
19857
 
fi
19858
 
  if test "${ac_cv_path_install+set}" = set; then
19859
 
    INSTALL=$ac_cv_path_install
19860
 
  else
19861
 
    # As a last resort, use the slow shell script.  Don't cache a
19862
 
    # value for INSTALL within a source directory, because that will
19863
 
    # break other packages using the cache if that directory is
19864
 
    # removed, or if the value is a relative name.
19865
 
    INSTALL=$ac_install_sh
19866
 
  fi
19867
 
fi
19868
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
19869
 
echo "${ECHO_T}$INSTALL" >&6; }
19870
 
 
19871
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19872
 
# It thinks the first close brace ends the variable substitution.
19873
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19874
 
 
19875
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19876
 
 
19877
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19878
 
 
19879
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
19880
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
10254
 
 
10255
 
 
10256
 
 
10257
 
 
10258
 
 
10259
 
 
10260
 
 
10261
 
 
10262
 
 
10263
 
 
10264
 
 
10265
 
 
10266
 
 
10267
 
 
10268
 
 
10269
striplib=
 
10270
old_striplib=
 
10271
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
10272
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
10273
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
10274
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
10275
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
10276
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
10277
$as_echo "yes" >&6; }
 
10278
else
 
10279
# FIXME - insert some real tests, host_os isn't really good enough
 
10280
  case $host_os in
 
10281
  darwin*)
 
10282
    if test -n "$STRIP" ; then
 
10283
      striplib="$STRIP -x"
 
10284
      old_striplib="$STRIP -S"
 
10285
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
10286
$as_echo "yes" >&6; }
 
10287
    else
 
10288
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10289
$as_echo "no" >&6; }
 
10290
    fi
 
10291
    ;;
 
10292
  *)
 
10293
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10294
$as_echo "no" >&6; }
 
10295
    ;;
 
10296
  esac
 
10297
fi
 
10298
 
 
10299
 
 
10300
 
 
10301
 
 
10302
 
 
10303
 
 
10304
 
 
10305
 
 
10306
 
 
10307
 
 
10308
 
 
10309
 
 
10310
  # Report which library types will actually be built
 
10311
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
10312
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
10313
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
10314
$as_echo "$can_build_shared" >&6; }
 
10315
 
 
10316
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
10317
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
10318
  test "$can_build_shared" = "no" && enable_shared=no
 
10319
 
 
10320
  # On AIX, shared libraries and static libraries use the same namespace, and
 
10321
  # are all built from PIC.
 
10322
  case $host_os in
 
10323
  aix3*)
 
10324
    test "$enable_shared" = yes && enable_static=no
 
10325
    if test -n "$RANLIB"; then
 
10326
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
10327
      postinstall_cmds='$RANLIB $lib'
 
10328
    fi
 
10329
    ;;
 
10330
 
 
10331
  aix[4-9]*)
 
10332
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
10333
      test "$enable_shared" = yes && enable_static=no
 
10334
    fi
 
10335
    ;;
 
10336
  esac
 
10337
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
10338
$as_echo "$enable_shared" >&6; }
 
10339
 
 
10340
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
10341
$as_echo_n "checking whether to build static libraries... " >&6; }
 
10342
  # Make sure either enable_shared or enable_static is yes.
 
10343
  test "$enable_shared" = yes || enable_static=yes
 
10344
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
10345
$as_echo "$enable_static" >&6; }
 
10346
 
 
10347
 
 
10348
 
 
10349
 
 
10350
fi
 
10351
ac_ext=c
 
10352
ac_cpp='$CPP $CPPFLAGS'
 
10353
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10354
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10355
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
10356
 
 
10357
CC="$lt_save_CC"
 
10358
 
 
10359
 
 
10360
 
 
10361
 
 
10362
 
 
10363
 
 
10364
 
 
10365
 
 
10366
 
 
10367
 
 
10368
 
 
10369
 
 
10370
 
 
10371
        ac_config_commands="$ac_config_commands libtool"
 
10372
 
 
10373
 
 
10374
 
 
10375
 
 
10376
# Only expand once:
 
10377
 
 
10378
 
 
10379
 
 
10380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
10381
$as_echo_n "checking whether ln -s works... " >&6; }
19881
10382
LN_S=$as_ln_s
19882
10383
if test "$LN_S" = "ln -s"; then
19883
 
  { echo "$as_me:$LINENO: result: yes" >&5
19884
 
echo "${ECHO_T}yes" >&6; }
 
10384
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
10385
$as_echo "yes" >&6; }
19885
10386
else
19886
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
19887
 
echo "${ECHO_T}no, using $LN_S" >&6; }
 
10387
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
10388
$as_echo "no, using $LN_S" >&6; }
19888
10389
fi
19889
10390
 
19890
10391
 
19892
10393
 
19893
10394
case $target in
19894
10395
*-*-linux*) ;;
19895
 
*) { { echo "$as_me:$LINENO: error: Linux only, dude!" >&5
19896
 
echo "$as_me: error: Linux only, dude!" >&2;}
19897
 
   { (exit 1); exit 1; }; };;
 
10396
*) as_fn_error "Linux only, dude!" "$LINENO" 5;;
19898
10397
esac
19899
10398
 
19900
10399
LIBNFNETLINK_REQUIRED=0.0.41
19901
10400
 
19902
10401
 
19903
10402
 
 
10403
 
 
10404
 
 
10405
 
 
10406
 
19904
10407
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19905
10408
        if test -n "$ac_tool_prefix"; then
19906
10409
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19907
10410
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19908
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19909
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19910
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19911
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10411
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10412
$as_echo_n "checking for $ac_word... " >&6; }
 
10413
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
10414
  $as_echo_n "(cached) " >&6
19912
10415
else
19913
10416
  case $PKG_CONFIG in
19914
10417
  [\\/]* | ?:[\\/]*)
19920
10423
do
19921
10424
  IFS=$as_save_IFS
19922
10425
  test -z "$as_dir" && as_dir=.
19923
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10426
    for ac_exec_ext in '' $ac_executable_extensions; do
19924
10427
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19925
10428
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19926
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10429
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19927
10430
    break 2
19928
10431
  fi
19929
10432
done
19930
 
done
 
10433
  done
19931
10434
IFS=$as_save_IFS
19932
10435
 
19933
10436
  ;;
19935
10438
fi
19936
10439
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19937
10440
if test -n "$PKG_CONFIG"; then
19938
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19939
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
10441
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
10442
$as_echo "$PKG_CONFIG" >&6; }
19940
10443
else
19941
 
  { echo "$as_me:$LINENO: result: no" >&5
19942
 
echo "${ECHO_T}no" >&6; }
 
10444
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10445
$as_echo "no" >&6; }
19943
10446
fi
19944
10447
 
19945
10448
 
19948
10451
  ac_pt_PKG_CONFIG=$PKG_CONFIG
19949
10452
  # Extract the first word of "pkg-config", so it can be a program name with args.
19950
10453
set dummy pkg-config; ac_word=$2
19951
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19952
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19953
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
19954
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10454
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10455
$as_echo_n "checking for $ac_word... " >&6; }
 
10456
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
10457
  $as_echo_n "(cached) " >&6
19955
10458
else
19956
10459
  case $ac_pt_PKG_CONFIG in
19957
10460
  [\\/]* | ?:[\\/]*)
19963
10466
do
19964
10467
  IFS=$as_save_IFS
19965
10468
  test -z "$as_dir" && as_dir=.
19966
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10469
    for ac_exec_ext in '' $ac_executable_extensions; do
19967
10470
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19968
10471
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19969
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10472
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19970
10473
    break 2
19971
10474
  fi
19972
10475
done
19973
 
done
 
10476
  done
19974
10477
IFS=$as_save_IFS
19975
10478
 
19976
10479
  ;;
19978
10481
fi
19979
10482
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19980
10483
if test -n "$ac_pt_PKG_CONFIG"; then
19981
 
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
19982
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
 
10484
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
10485
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
19983
10486
else
19984
 
  { echo "$as_me:$LINENO: result: no" >&5
19985
 
echo "${ECHO_T}no" >&6; }
 
10487
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10488
$as_echo "no" >&6; }
19986
10489
fi
19987
10490
 
19988
10491
  if test "x$ac_pt_PKG_CONFIG" = x; then
19990
10493
  else
19991
10494
    case $cross_compiling:$ac_tool_warned in
19992
10495
yes:)
19993
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19994
 
whose name does not start with the host triplet.  If you think this
19995
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
19996
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19997
 
whose name does not start with the host triplet.  If you think this
19998
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
10496
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
10497
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19999
10498
ac_tool_warned=yes ;;
20000
10499
esac
20001
10500
    PKG_CONFIG=$ac_pt_PKG_CONFIG
20007
10506
fi
20008
10507
if test -n "$PKG_CONFIG"; then
20009
10508
        _pkg_min_version=0.9.0
20010
 
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
20011
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
 
10509
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
10510
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
20012
10511
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20013
 
                { echo "$as_me:$LINENO: result: yes" >&5
20014
 
echo "${ECHO_T}yes" >&6; }
 
10512
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
10513
$as_echo "yes" >&6; }
20015
10514
        else
20016
 
                { echo "$as_me:$LINENO: result: no" >&5
20017
 
echo "${ECHO_T}no" >&6; }
 
10515
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10516
$as_echo "no" >&6; }
20018
10517
                PKG_CONFIG=""
20019
10518
        fi
20020
 
 
20021
10519
fi
20022
10520
 
20023
10521
pkg_failed=no
20024
 
{ echo "$as_me:$LINENO: checking for LIBNFNETLINK" >&5
20025
 
echo $ECHO_N "checking for LIBNFNETLINK... $ECHO_C" >&6; }
 
10522
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNFNETLINK" >&5
 
10523
$as_echo_n "checking for LIBNFNETLINK... " >&6; }
20026
10524
 
20027
 
if test -n "$PKG_CONFIG"; then
20028
 
    if test -n "$LIBNFNETLINK_CFLAGS"; then
20029
 
        pkg_cv_LIBNFNETLINK_CFLAGS="$LIBNFNETLINK_CFLAGS"
20030
 
    else
20031
 
        if test -n "$PKG_CONFIG" && \
20032
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnfnetlink >= \$LIBNFNETLINK_REQUIRED\"") >&5
 
10525
if test -n "$LIBNFNETLINK_CFLAGS"; then
 
10526
    pkg_cv_LIBNFNETLINK_CFLAGS="$LIBNFNETLINK_CFLAGS"
 
10527
 elif test -n "$PKG_CONFIG"; then
 
10528
    if test -n "$PKG_CONFIG" && \
 
10529
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfnetlink >= \$LIBNFNETLINK_REQUIRED\""; } >&5
20033
10530
  ($PKG_CONFIG --exists --print-errors "libnfnetlink >= $LIBNFNETLINK_REQUIRED") 2>&5
20034
10531
  ac_status=$?
20035
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036
 
  (exit $ac_status); }; then
 
10532
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10533
  test $ac_status = 0; }; then
20037
10534
  pkg_cv_LIBNFNETLINK_CFLAGS=`$PKG_CONFIG --cflags "libnfnetlink >= $LIBNFNETLINK_REQUIRED" 2>/dev/null`
20038
10535
else
20039
10536
  pkg_failed=yes
20040
10537
fi
20041
 
    fi
20042
 
else
20043
 
        pkg_failed=untried
 
10538
 else
 
10539
    pkg_failed=untried
20044
10540
fi
20045
 
if test -n "$PKG_CONFIG"; then
20046
 
    if test -n "$LIBNFNETLINK_LIBS"; then
20047
 
        pkg_cv_LIBNFNETLINK_LIBS="$LIBNFNETLINK_LIBS"
20048
 
    else
20049
 
        if test -n "$PKG_CONFIG" && \
20050
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnfnetlink >= \$LIBNFNETLINK_REQUIRED\"") >&5
 
10541
if test -n "$LIBNFNETLINK_LIBS"; then
 
10542
    pkg_cv_LIBNFNETLINK_LIBS="$LIBNFNETLINK_LIBS"
 
10543
 elif test -n "$PKG_CONFIG"; then
 
10544
    if test -n "$PKG_CONFIG" && \
 
10545
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfnetlink >= \$LIBNFNETLINK_REQUIRED\""; } >&5
20051
10546
  ($PKG_CONFIG --exists --print-errors "libnfnetlink >= $LIBNFNETLINK_REQUIRED") 2>&5
20052
10547
  ac_status=$?
20053
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054
 
  (exit $ac_status); }; then
 
10548
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10549
  test $ac_status = 0; }; then
20055
10550
  pkg_cv_LIBNFNETLINK_LIBS=`$PKG_CONFIG --libs "libnfnetlink >= $LIBNFNETLINK_REQUIRED" 2>/dev/null`
20056
10551
else
20057
10552
  pkg_failed=yes
20058
10553
fi
20059
 
    fi
20060
 
else
20061
 
        pkg_failed=untried
 
10554
 else
 
10555
    pkg_failed=untried
20062
10556
fi
20063
10557
 
20064
10558
 
20065
10559
 
20066
10560
if test $pkg_failed = yes; then
 
10561
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10562
$as_echo "no" >&6; }
20067
10563
 
20068
10564
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20069
10565
        _pkg_short_errors_supported=yes
20071
10567
        _pkg_short_errors_supported=no
20072
10568
fi
20073
10569
        if test $_pkg_short_errors_supported = yes; then
20074
 
                LIBNFNETLINK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnfnetlink >= $LIBNFNETLINK_REQUIRED"`
 
10570
                LIBNFNETLINK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libnfnetlink >= $LIBNFNETLINK_REQUIRED" 2>&1`
20075
10571
        else
20076
 
                LIBNFNETLINK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnfnetlink >= $LIBNFNETLINK_REQUIRED"`
 
10572
                LIBNFNETLINK_PKG_ERRORS=`$PKG_CONFIG --print-errors "libnfnetlink >= $LIBNFNETLINK_REQUIRED" 2>&1`
20077
10573
        fi
20078
10574
        # Put the nasty error message in config.log where it belongs
20079
10575
        echo "$LIBNFNETLINK_PKG_ERRORS" >&5
20080
10576
 
20081
 
        { echo "$as_me:$LINENO: result: no" >&5
20082
 
echo "${ECHO_T}no" >&6; }
20083
 
                { { echo "$as_me:$LINENO: error: Cannot find libnfnetlink >= $LIBNFNETLINK_REQUIRED" >&5
20084
 
echo "$as_me: error: Cannot find libnfnetlink >= $LIBNFNETLINK_REQUIRED" >&2;}
20085
 
   { (exit 1); exit 1; }; }
 
10577
        as_fn_error "Cannot find libnfnetlink >= $LIBNFNETLINK_REQUIRED" "$LINENO" 5
20086
10578
elif test $pkg_failed = untried; then
20087
 
        { { echo "$as_me:$LINENO: error: Cannot find libnfnetlink >= $LIBNFNETLINK_REQUIRED" >&5
20088
 
echo "$as_me: error: Cannot find libnfnetlink >= $LIBNFNETLINK_REQUIRED" >&2;}
20089
 
   { (exit 1); exit 1; }; }
 
10579
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10580
$as_echo "no" >&6; }
 
10581
        as_fn_error "Cannot find libnfnetlink >= $LIBNFNETLINK_REQUIRED" "$LINENO" 5
20090
10582
else
20091
10583
        LIBNFNETLINK_CFLAGS=$pkg_cv_LIBNFNETLINK_CFLAGS
20092
10584
        LIBNFNETLINK_LIBS=$pkg_cv_LIBNFNETLINK_LIBS
20093
 
        { echo "$as_me:$LINENO: result: yes" >&5
20094
 
echo "${ECHO_T}yes" >&6; }
20095
 
        :
 
10585
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
10586
$as_echo "yes" >&6; }
 
10587
 
20096
10588
fi
20097
10589
 
20098
10590
CFLAGS="$CFLAGS $LIBNFNETLINK_CFLAGS"
20100
10592
 
20101
10593
 
20102
10594
 
20103
 
ac_config_files="$ac_config_files Makefile src/Makefile include/Makefile include/libnetfilter_log/Makefile utils/Makefile libnetfilter_log.pc"
 
10595
ac_config_files="$ac_config_files Makefile src/Makefile include/Makefile include/libnetfilter_log/Makefile utils/Makefile libnetfilter_log.pc doxygen.cfg"
20104
10596
 
20105
10597
cat >confcache <<\_ACEOF
20106
10598
# This file is a shell script that caches the results of configure
20129
10621
    case $ac_val in #(
20130
10622
    *${as_nl}*)
20131
10623
      case $ac_var in #(
20132
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20133
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
10624
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
10625
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20134
10626
      esac
20135
10627
      case $ac_var in #(
20136
10628
      _ | IFS | as_nl) ;; #(
20137
 
      *) $as_unset $ac_var ;;
 
10629
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
10630
      *) { eval $ac_var=; unset $ac_var;} ;;
20138
10631
      esac ;;
20139
10632
    esac
20140
10633
  done
20142
10635
  (set) 2>&1 |
20143
10636
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
20144
10637
    *${as_nl}ac_space=\ *)
20145
 
      # `set' does not quote correctly, so add quotes (double-quote
20146
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
10638
      # `set' does not quote correctly, so add quotes: double-quote
 
10639
      # substitution turns \\\\ into \\, and sed turns \\ into \.
20147
10640
      sed -n \
20148
10641
        "s/'/'\\\\''/g;
20149
10642
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20166
10659
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20167
10660
  if test -w "$cache_file"; then
20168
10661
    test "x$cache_file" != "x/dev/null" &&
20169
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20170
 
echo "$as_me: updating cache $cache_file" >&6;}
 
10662
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
10663
$as_echo "$as_me: updating cache $cache_file" >&6;}
20171
10664
    cat confcache >$cache_file
20172
10665
  else
20173
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20174
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
10666
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
10667
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20175
10668
  fi
20176
10669
fi
20177
10670
rm -f confcache
20188
10681
# take arguments), then branch to the quote section.  Otherwise,
20189
10682
# look for a macro that doesn't take arguments.
20190
10683
ac_script='
 
10684
:mline
 
10685
/\\$/{
 
10686
 N
 
10687
 s,\\\n,,
 
10688
 b mline
 
10689
}
20191
10690
t clear
20192
10691
:clear
20193
10692
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
20217
10716
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20218
10717
  # 1. Remove the extension, and $U if already installed.
20219
10718
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20220
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
10719
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20221
10720
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
20222
10721
  #    will be set to the directory where LIBOBJS objects are built.
20223
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20224
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
10722
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
10723
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20225
10724
done
20226
10725
LIBOBJS=$ac_libobjs
20227
10726
 
20228
10727
LTLIBOBJS=$ac_ltlibobjs
20229
10728
 
20230
10729
 
 
10730
 if test -n "$EXEEXT"; then
 
10731
  am__EXEEXT_TRUE=
 
10732
  am__EXEEXT_FALSE='#'
 
10733
else
 
10734
  am__EXEEXT_TRUE='#'
 
10735
  am__EXEEXT_FALSE=
 
10736
fi
 
10737
 
20231
10738
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20232
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20233
 
Usually this means the macro was only invoked conditionally." >&5
20234
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
20235
 
Usually this means the macro was only invoked conditionally." >&2;}
20236
 
   { (exit 1); exit 1; }; }
 
10739
  as_fn_error "conditional \"AMDEP\" was never defined.
 
10740
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20237
10741
fi
20238
10742
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20239
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20240
 
Usually this means the macro was only invoked conditionally." >&5
20241
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20242
 
Usually this means the macro was only invoked conditionally." >&2;}
20243
 
   { (exit 1); exit 1; }; }
20244
 
fi
20245
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20246
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20247
 
Usually this means the macro was only invoked conditionally." >&5
20248
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20249
 
Usually this means the macro was only invoked conditionally." >&2;}
20250
 
   { (exit 1); exit 1; }; }
 
10743
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
10744
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20251
10745
fi
20252
10746
 
20253
10747
: ${CONFIG_STATUS=./config.status}
 
10748
ac_write_fail=0
20254
10749
ac_clean_files_save=$ac_clean_files
20255
10750
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20256
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20257
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
20258
 
cat >$CONFIG_STATUS <<_ACEOF
 
10751
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
10752
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
10753
as_write_fail=0
 
10754
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20259
10755
#! $SHELL
20260
10756
# Generated by $as_me.
20261
10757
# Run this file to recreate the current configuration.
20265
10761
debug=false
20266
10762
ac_cs_recheck=false
20267
10763
ac_cs_silent=false
 
10764
 
20268
10765
SHELL=\${CONFIG_SHELL-$SHELL}
20269
 
_ACEOF
20270
 
 
20271
 
cat >>$CONFIG_STATUS <<\_ACEOF
20272
 
## --------------------- ##
20273
 
## M4sh Initialization.  ##
20274
 
## --------------------- ##
 
10766
export SHELL
 
10767
_ASEOF
 
10768
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
10769
## -------------------- ##
 
10770
## M4sh Initialization. ##
 
10771
## -------------------- ##
20275
10772
 
20276
10773
# Be more Bourne compatible
20277
10774
DUALCASE=1; export DUALCASE # for MKS sh
20278
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
10775
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20279
10776
  emulate sh
20280
10777
  NULLCMD=:
20281
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
10778
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20282
10779
  # is contrary to our usage.  Disable this feature.
20283
10780
  alias -g '${1+"$@"}'='"$@"'
20284
10781
  setopt NO_GLOB_SUBST
20285
10782
else
20286
 
  case `(set -o) 2>/dev/null` in
20287
 
  *posix*) set -o posix ;;
 
10783
  case `(set -o) 2>/dev/null` in #(
 
10784
  *posix*) :
 
10785
    set -o posix ;; #(
 
10786
  *) :
 
10787
     ;;
20288
10788
esac
20289
 
 
20290
 
fi
20291
 
 
20292
 
 
20293
 
 
20294
 
 
20295
 
# PATH needs CR
20296
 
# Avoid depending upon Character Ranges.
20297
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20298
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20299
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20300
 
as_cr_digits='0123456789'
20301
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
10789
fi
 
10790
 
 
10791
 
 
10792
as_nl='
 
10793
'
 
10794
export as_nl
 
10795
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
10796
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
10797
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
10798
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
10799
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
10800
# but without wasting forks for bash or zsh.
 
10801
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
10802
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
10803
  as_echo='print -r --'
 
10804
  as_echo_n='print -rn --'
 
10805
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
10806
  as_echo='printf %s\n'
 
10807
  as_echo_n='printf %s'
 
10808
else
 
10809
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
10810
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
10811
    as_echo_n='/usr/ucb/echo -n'
 
10812
  else
 
10813
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
10814
    as_echo_n_body='eval
 
10815
      arg=$1;
 
10816
      case $arg in #(
 
10817
      *"$as_nl"*)
 
10818
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
10819
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
10820
      esac;
 
10821
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
10822
    '
 
10823
    export as_echo_n_body
 
10824
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
10825
  fi
 
10826
  export as_echo_body
 
10827
  as_echo='sh -c $as_echo_body as_echo'
 
10828
fi
20302
10829
 
20303
10830
# The user is always right.
20304
10831
if test "${PATH_SEPARATOR+set}" != set; then
20305
 
  echo "#! /bin/sh" >conf$$.sh
20306
 
  echo  "exit 0"   >>conf$$.sh
20307
 
  chmod +x conf$$.sh
20308
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20309
 
    PATH_SEPARATOR=';'
20310
 
  else
20311
 
    PATH_SEPARATOR=:
20312
 
  fi
20313
 
  rm -f conf$$.sh
20314
 
fi
20315
 
 
20316
 
# Support unset when possible.
20317
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20318
 
  as_unset=unset
20319
 
else
20320
 
  as_unset=false
 
10832
  PATH_SEPARATOR=:
 
10833
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
10834
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
10835
      PATH_SEPARATOR=';'
 
10836
  }
20321
10837
fi
20322
10838
 
20323
10839
 
20326
10842
# there to prevent editors from complaining about space-tab.
20327
10843
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
20328
10844
# splitting by setting IFS to empty value.)
20329
 
as_nl='
20330
 
'
20331
10845
IFS=" ""        $as_nl"
20332
10846
 
20333
10847
# Find who we are.  Look in the path if we contain no directory separator.
20334
 
case $0 in
 
10848
case $0 in #((
20335
10849
  *[\\/]* ) as_myself=$0 ;;
20336
10850
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20337
10851
for as_dir in $PATH
20338
10852
do
20339
10853
  IFS=$as_save_IFS
20340
10854
  test -z "$as_dir" && as_dir=.
20341
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20342
 
done
 
10855
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
10856
  done
20343
10857
IFS=$as_save_IFS
20344
10858
 
20345
10859
     ;;
20350
10864
  as_myself=$0
20351
10865
fi
20352
10866
if test ! -f "$as_myself"; then
20353
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20354
 
  { (exit 1); exit 1; }
 
10867
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
10868
  exit 1
20355
10869
fi
20356
10870
 
20357
 
# Work around bugs in pre-3.0 UWIN ksh.
20358
 
for as_var in ENV MAIL MAILPATH
20359
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
10871
# Unset variables that we do not need and which cause bugs (e.g. in
 
10872
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
10873
# suppresses any "Segmentation fault" message there.  '((' could
 
10874
# trigger a bug in pdksh 5.2.14.
 
10875
for as_var in BASH_ENV ENV MAIL MAILPATH
 
10876
do eval test x\${$as_var+set} = xset \
 
10877
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20360
10878
done
20361
10879
PS1='$ '
20362
10880
PS2='> '
20363
10881
PS4='+ '
20364
10882
 
20365
10883
# NLS nuisances.
20366
 
for as_var in \
20367
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20368
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20369
 
  LC_TELEPHONE LC_TIME
20370
 
do
20371
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20372
 
    eval $as_var=C; export $as_var
20373
 
  else
20374
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
10884
LC_ALL=C
 
10885
export LC_ALL
 
10886
LANGUAGE=C
 
10887
export LANGUAGE
 
10888
 
 
10889
# CDPATH.
 
10890
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
10891
 
 
10892
 
 
10893
# as_fn_error ERROR [LINENO LOG_FD]
 
10894
# ---------------------------------
 
10895
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
10896
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
10897
# script with status $?, using 1 if that was 0.
 
10898
as_fn_error ()
 
10899
{
 
10900
  as_status=$?; test $as_status -eq 0 && as_status=1
 
10901
  if test "$3"; then
 
10902
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
10903
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
20375
10904
  fi
20376
 
done
20377
 
 
20378
 
# Required to use basename.
 
10905
  $as_echo "$as_me: error: $1" >&2
 
10906
  as_fn_exit $as_status
 
10907
} # as_fn_error
 
10908
 
 
10909
 
 
10910
# as_fn_set_status STATUS
 
10911
# -----------------------
 
10912
# Set $? to STATUS, without forking.
 
10913
as_fn_set_status ()
 
10914
{
 
10915
  return $1
 
10916
} # as_fn_set_status
 
10917
 
 
10918
# as_fn_exit STATUS
 
10919
# -----------------
 
10920
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
10921
as_fn_exit ()
 
10922
{
 
10923
  set +e
 
10924
  as_fn_set_status $1
 
10925
  exit $1
 
10926
} # as_fn_exit
 
10927
 
 
10928
# as_fn_unset VAR
 
10929
# ---------------
 
10930
# Portably unset VAR.
 
10931
as_fn_unset ()
 
10932
{
 
10933
  { eval $1=; unset $1;}
 
10934
}
 
10935
as_unset=as_fn_unset
 
10936
# as_fn_append VAR VALUE
 
10937
# ----------------------
 
10938
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
10939
# advantage of any shell optimizations that allow amortized linear growth over
 
10940
# repeated appends, instead of the typical quadratic growth present in naive
 
10941
# implementations.
 
10942
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
10943
  eval 'as_fn_append ()
 
10944
  {
 
10945
    eval $1+=\$2
 
10946
  }'
 
10947
else
 
10948
  as_fn_append ()
 
10949
  {
 
10950
    eval $1=\$$1\$2
 
10951
  }
 
10952
fi # as_fn_append
 
10953
 
 
10954
# as_fn_arith ARG...
 
10955
# ------------------
 
10956
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
10957
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
10958
# must be portable across $(()) and expr.
 
10959
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
10960
  eval 'as_fn_arith ()
 
10961
  {
 
10962
    as_val=$(( $* ))
 
10963
  }'
 
10964
else
 
10965
  as_fn_arith ()
 
10966
  {
 
10967
    as_val=`expr "$@" || test $? -eq 1`
 
10968
  }
 
10969
fi # as_fn_arith
 
10970
 
 
10971
 
20379
10972
if expr a : '\(a\)' >/dev/null 2>&1 &&
20380
10973
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
20381
10974
  as_expr=expr
20389
10982
  as_basename=false
20390
10983
fi
20391
10984
 
 
10985
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
10986
  as_dirname=dirname
 
10987
else
 
10988
  as_dirname=false
 
10989
fi
20392
10990
 
20393
 
# Name of the executable.
20394
10991
as_me=`$as_basename -- "$0" ||
20395
10992
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20396
10993
         X"$0" : 'X\(//\)$' \| \
20397
10994
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20398
 
echo X/"$0" |
 
10995
$as_echo X/"$0" |
20399
10996
    sed '/^.*\/\([^/][^/]*\)\/*$/{
20400
10997
            s//\1/
20401
10998
            q
20410
11007
          }
20411
11008
          s/.*/./; q'`
20412
11009
 
20413
 
# CDPATH.
20414
 
$as_unset CDPATH
20415
 
 
20416
 
 
20417
 
 
20418
 
  as_lineno_1=$LINENO
20419
 
  as_lineno_2=$LINENO
20420
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
20421
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
20422
 
 
20423
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20424
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
20425
 
  # line-number line after each line using $LINENO; the second 'sed'
20426
 
  # does the real work.  The second script uses 'N' to pair each
20427
 
  # line-number line with the line containing $LINENO, and appends
20428
 
  # trailing '-' during substitution so that $LINENO is not a special
20429
 
  # case at line end.
20430
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20431
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
20432
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
20433
 
  sed -n '
20434
 
    p
20435
 
    /[$]LINENO/=
20436
 
  ' <$as_myself |
20437
 
    sed '
20438
 
      s/[$]LINENO.*/&-/
20439
 
      t lineno
20440
 
      b
20441
 
      :lineno
20442
 
      N
20443
 
      :loop
20444
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20445
 
      t loop
20446
 
      s/-\n.*//
20447
 
    ' >$as_me.lineno &&
20448
 
  chmod +x "$as_me.lineno" ||
20449
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20450
 
   { (exit 1); exit 1; }; }
20451
 
 
20452
 
  # Don't try to exec as it changes $[0], causing all sort of problems
20453
 
  # (the dirname of $[0] is not the place where we might find the
20454
 
  # original and so on.  Autoconf is especially sensitive to this).
20455
 
  . "./$as_me.lineno"
20456
 
  # Exit status is that of the last command.
20457
 
  exit
20458
 
}
20459
 
 
20460
 
 
20461
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20462
 
  as_dirname=dirname
20463
 
else
20464
 
  as_dirname=false
20465
 
fi
 
11010
# Avoid depending upon Character Ranges.
 
11011
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
11012
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
11013
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
11014
as_cr_digits='0123456789'
 
11015
as_cr_alnum=$as_cr_Letters$as_cr_digits
20466
11016
 
20467
11017
ECHO_C= ECHO_N= ECHO_T=
20468
 
case `echo -n x` in
 
11018
case `echo -n x` in #(((((
20469
11019
-n*)
20470
 
  case `echo 'x\c'` in
 
11020
  case `echo 'xy\c'` in
20471
11021
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
20472
 
  *)   ECHO_C='\c';;
 
11022
  xy)  ECHO_C='\c';;
 
11023
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
11024
       ECHO_T=' ';;
20473
11025
  esac;;
20474
11026
*)
20475
11027
  ECHO_N='-n';;
20476
11028
esac
20477
11029
 
20478
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
20479
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
20480
 
  as_expr=expr
20481
 
else
20482
 
  as_expr=false
20483
 
fi
20484
 
 
20485
11030
rm -f conf$$ conf$$.exe conf$$.file
20486
11031
if test -d conf$$.dir; then
20487
11032
  rm -f conf$$.dir/conf$$.file
20488
11033
else
20489
11034
  rm -f conf$$.dir
20490
 
  mkdir conf$$.dir
 
11035
  mkdir conf$$.dir 2>/dev/null
20491
11036
fi
20492
 
echo >conf$$.file
20493
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
20494
 
  as_ln_s='ln -s'
20495
 
  # ... but there are two gotchas:
20496
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20497
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20498
 
  # In both cases, we have to default to `cp -p'.
20499
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
11037
if (echo >conf$$.file) 2>/dev/null; then
 
11038
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
11039
    as_ln_s='ln -s'
 
11040
    # ... but there are two gotchas:
 
11041
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
11042
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
11043
    # In both cases, we have to default to `cp -p'.
 
11044
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
11045
      as_ln_s='cp -p'
 
11046
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
11047
    as_ln_s=ln
 
11048
  else
20500
11049
    as_ln_s='cp -p'
20501
 
elif ln conf$$.file conf$$ 2>/dev/null; then
20502
 
  as_ln_s=ln
 
11050
  fi
20503
11051
else
20504
11052
  as_ln_s='cp -p'
20505
11053
fi
20506
11054
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20507
11055
rmdir conf$$.dir 2>/dev/null
20508
11056
 
 
11057
 
 
11058
# as_fn_mkdir_p
 
11059
# -------------
 
11060
# Create "$as_dir" as a directory, including parents if necessary.
 
11061
as_fn_mkdir_p ()
 
11062
{
 
11063
 
 
11064
  case $as_dir in #(
 
11065
  -*) as_dir=./$as_dir;;
 
11066
  esac
 
11067
  test -d "$as_dir" || eval $as_mkdir_p || {
 
11068
    as_dirs=
 
11069
    while :; do
 
11070
      case $as_dir in #(
 
11071
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
11072
      *) as_qdir=$as_dir;;
 
11073
      esac
 
11074
      as_dirs="'$as_qdir' $as_dirs"
 
11075
      as_dir=`$as_dirname -- "$as_dir" ||
 
11076
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
11077
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
11078
         X"$as_dir" : 'X\(//\)$' \| \
 
11079
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
11080
$as_echo X"$as_dir" |
 
11081
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
11082
            s//\1/
 
11083
            q
 
11084
          }
 
11085
          /^X\(\/\/\)[^/].*/{
 
11086
            s//\1/
 
11087
            q
 
11088
          }
 
11089
          /^X\(\/\/\)$/{
 
11090
            s//\1/
 
11091
            q
 
11092
          }
 
11093
          /^X\(\/\).*/{
 
11094
            s//\1/
 
11095
            q
 
11096
          }
 
11097
          s/.*/./; q'`
 
11098
      test -d "$as_dir" && break
 
11099
    done
 
11100
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
11101
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
11102
 
 
11103
 
 
11104
} # as_fn_mkdir_p
20509
11105
if mkdir -p . 2>/dev/null; then
20510
 
  as_mkdir_p=:
 
11106
  as_mkdir_p='mkdir -p "$as_dir"'
20511
11107
else
20512
11108
  test -d ./-p && rmdir ./-p
20513
11109
  as_mkdir_p=false
20524
11120
  as_test_x='
20525
11121
    eval sh -c '\''
20526
11122
      if test -d "$1"; then
20527
 
        test -d "$1/.";
 
11123
        test -d "$1/.";
20528
11124
      else
20529
 
        case $1 in
20530
 
        -*)set "./$1";;
 
11125
        case $1 in #(
 
11126
        -*)set "./$1";;
20531
11127
        esac;
20532
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
11128
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20533
11129
        ???[sx]*):;;*)false;;esac;fi
20534
11130
    '\'' sh
20535
11131
  '
20544
11140
 
20545
11141
 
20546
11142
exec 6>&1
 
11143
## ----------------------------------- ##
 
11144
## Main body of $CONFIG_STATUS script. ##
 
11145
## ----------------------------------- ##
 
11146
_ASEOF
 
11147
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20547
11148
 
20548
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
11149
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
11150
# Save the log message, to keep $0 and so on meaningful, and to
20549
11151
# report actual input values of CONFIG_FILES etc. instead of their
20550
11152
# values after options handling.
20551
11153
ac_log="
20552
11154
This file was extended by $as_me, which was
20553
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
11155
generated by GNU Autoconf 2.65.  Invocation command line was
20554
11156
 
20555
11157
  CONFIG_FILES    = $CONFIG_FILES
20556
11158
  CONFIG_HEADERS  = $CONFIG_HEADERS
20563
11165
 
20564
11166
_ACEOF
20565
11167
 
20566
 
cat >>$CONFIG_STATUS <<_ACEOF
 
11168
case $ac_config_files in *"
 
11169
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
11170
esac
 
11171
 
 
11172
 
 
11173
 
 
11174
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20567
11175
# Files that config.status was made for.
20568
11176
config_files="$ac_config_files"
20569
11177
config_commands="$ac_config_commands"
20570
11178
 
20571
11179
_ACEOF
20572
11180
 
20573
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
11181
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20574
11182
ac_cs_usage="\
20575
 
\`$as_me' instantiates files from templates according to the
20576
 
current configuration.
 
11183
\`$as_me' instantiates files and other configuration actions
 
11184
from templates according to the current configuration.  Unless the files
 
11185
and actions are specified as TAGs, all are instantiated by default.
20577
11186
 
20578
 
Usage: $0 [OPTIONS] [FILE]...
 
11187
Usage: $0 [OPTION]... [TAG]...
20579
11188
 
20580
11189
  -h, --help       print this help, then exit
20581
11190
  -V, --version    print version number and configuration settings, then exit
20582
 
  -q, --quiet      do not print progress messages
 
11191
      --config     print configuration, then exit
 
11192
  -q, --quiet, --silent
 
11193
                   do not print progress messages
20583
11194
  -d, --debug      don't remove temporary files
20584
11195
      --recheck    update $as_me by reconfiguring in the same conditions
20585
 
  --file=FILE[:TEMPLATE]
20586
 
                   instantiate the configuration file FILE
 
11196
      --file=FILE[:TEMPLATE]
 
11197
                   instantiate the configuration file FILE
20587
11198
 
20588
11199
Configuration files:
20589
11200
$config_files
20591
11202
Configuration commands:
20592
11203
$config_commands
20593
11204
 
20594
 
Report bugs to <bug-autoconf@gnu.org>."
 
11205
Report bugs to the package provider."
20595
11206
 
20596
11207
_ACEOF
20597
 
cat >>$CONFIG_STATUS <<_ACEOF
 
11208
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
11209
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20598
11210
ac_cs_version="\\
20599
11211
config.status
20600
 
configured by $0, generated by GNU Autoconf 2.61,
20601
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
11212
configured by $0, generated by GNU Autoconf 2.65,
 
11213
  with options \\"\$ac_cs_config\\"
20602
11214
 
20603
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
11215
Copyright (C) 2009 Free Software Foundation, Inc.
20604
11216
This config.status script is free software; the Free Software Foundation
20605
11217
gives unlimited permission to copy, distribute and modify it."
20606
11218
 
20608
11220
srcdir='$srcdir'
20609
11221
INSTALL='$INSTALL'
20610
11222
MKDIR_P='$MKDIR_P'
 
11223
AWK='$AWK'
 
11224
test -n "\$AWK" || AWK=awk
20611
11225
_ACEOF
20612
11226
 
20613
 
cat >>$CONFIG_STATUS <<\_ACEOF
20614
 
# If no file are specified by the user, then we need to provide default
20615
 
# value.  By we need to know if files were specified by the user.
 
11227
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
11228
# The default lists apply if the user does not specify any file.
20616
11229
ac_need_defaults=:
20617
11230
while test $# != 0
20618
11231
do
20634
11247
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20635
11248
    ac_cs_recheck=: ;;
20636
11249
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20637
 
    echo "$ac_cs_version"; exit ;;
 
11250
    $as_echo "$ac_cs_version"; exit ;;
 
11251
  --config | --confi | --conf | --con | --co | --c )
 
11252
    $as_echo "$ac_cs_config"; exit ;;
20638
11253
  --debug | --debu | --deb | --de | --d | -d )
20639
11254
    debug=: ;;
20640
11255
  --file | --fil | --fi | --f )
20641
11256
    $ac_shift
20642
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
11257
    case $ac_optarg in
 
11258
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
11259
    esac
 
11260
    as_fn_append CONFIG_FILES " '$ac_optarg'"
20643
11261
    ac_need_defaults=false;;
20644
11262
  --he | --h |  --help | --hel | -h )
20645
 
    echo "$ac_cs_usage"; exit ;;
 
11263
    $as_echo "$ac_cs_usage"; exit ;;
20646
11264
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20647
11265
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
20648
11266
    ac_cs_silent=: ;;
20649
11267
 
20650
11268
  # This is an error.
20651
 
  -*) { echo "$as_me: error: unrecognized option: $1
20652
 
Try \`$0 --help' for more information." >&2
20653
 
   { (exit 1); exit 1; }; } ;;
 
11269
  -*) as_fn_error "unrecognized option: \`$1'
 
11270
Try \`$0 --help' for more information." ;;
20654
11271
 
20655
 
  *) ac_config_targets="$ac_config_targets $1"
 
11272
  *) as_fn_append ac_config_targets " $1"
20656
11273
     ac_need_defaults=false ;;
20657
11274
 
20658
11275
  esac
20667
11284
fi
20668
11285
 
20669
11286
_ACEOF
20670
 
cat >>$CONFIG_STATUS <<_ACEOF
 
11287
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20671
11288
if \$ac_cs_recheck; then
20672
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20673
 
  CONFIG_SHELL=$SHELL
 
11289
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
11290
  shift
 
11291
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
11292
  CONFIG_SHELL='$SHELL'
20674
11293
  export CONFIG_SHELL
20675
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
11294
  exec "\$@"
20676
11295
fi
20677
11296
 
20678
11297
_ACEOF
20679
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
11298
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20680
11299
exec 5>>config.log
20681
11300
{
20682
11301
  echo
20683
11302
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20684
11303
## Running $as_me. ##
20685
11304
_ASBOX
20686
 
  echo "$ac_log"
 
11305
  $as_echo "$ac_log"
20687
11306
} >&5
20688
11307
 
20689
11308
_ACEOF
20690
 
cat >>$CONFIG_STATUS <<_ACEOF
 
11309
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20691
11310
#
20692
11311
# INIT-COMMANDS
20693
11312
#
20694
11313
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20695
11314
 
 
11315
 
 
11316
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
11317
# if CDPATH is set.
 
11318
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
11319
 
 
11320
sed_quote_subst='$sed_quote_subst'
 
11321
double_quote_subst='$double_quote_subst'
 
11322
delay_variable_subst='$delay_variable_subst'
 
11323
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
11324
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
11325
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
11326
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
11327
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
11328
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
11329
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
11330
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
11331
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
11332
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
11333
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
11334
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
11335
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
11336
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
11337
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
11338
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
11339
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
11340
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
11341
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
11342
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
11343
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
11344
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
11345
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
11346
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
11347
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
11348
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
11349
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
11350
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11351
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
11352
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
11353
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
11354
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
11355
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
11356
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
11357
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
11358
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11359
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11360
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11361
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
11362
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
11363
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
11364
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
11365
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
11366
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
11367
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"`'
 
11368
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"`'
 
11369
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
11370
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
11371
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
11372
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
11373
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
11374
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
11375
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
11376
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
11377
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
11378
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
11379
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
11380
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
11381
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
11382
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
11383
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
11384
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
11385
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11386
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11387
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
11388
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
11389
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11390
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11391
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
11392
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11393
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11394
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11395
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11396
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11397
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11398
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
11399
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
11400
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
11401
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11402
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
11403
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
11404
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
11405
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
11406
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
11407
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
11408
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
11409
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
11410
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
11411
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
11412
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
11413
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11414
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
11415
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
11416
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11417
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11418
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
11419
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
11420
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
11421
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
11422
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
11423
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
11424
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
11425
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11426
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11427
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11428
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11429
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11430
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11431
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
11432
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
11433
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11434
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11435
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
11436
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
11437
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
11438
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
11439
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
11440
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
11441
 
 
11442
LTCC='$LTCC'
 
11443
LTCFLAGS='$LTCFLAGS'
 
11444
compiler='$compiler_DEFAULT'
 
11445
 
 
11446
# Quote evaled strings.
 
11447
for var in SED \
 
11448
GREP \
 
11449
EGREP \
 
11450
FGREP \
 
11451
LD \
 
11452
NM \
 
11453
LN_S \
 
11454
lt_SP2NL \
 
11455
lt_NL2SP \
 
11456
reload_flag \
 
11457
OBJDUMP \
 
11458
deplibs_check_method \
 
11459
file_magic_cmd \
 
11460
AR \
 
11461
AR_FLAGS \
 
11462
STRIP \
 
11463
RANLIB \
 
11464
CC \
 
11465
CFLAGS \
 
11466
compiler \
 
11467
lt_cv_sys_global_symbol_pipe \
 
11468
lt_cv_sys_global_symbol_to_cdecl \
 
11469
lt_cv_sys_global_symbol_to_c_name_address \
 
11470
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
11471
SHELL \
 
11472
ECHO \
 
11473
lt_prog_compiler_no_builtin_flag \
 
11474
lt_prog_compiler_wl \
 
11475
lt_prog_compiler_pic \
 
11476
lt_prog_compiler_static \
 
11477
lt_cv_prog_compiler_c_o \
 
11478
need_locks \
 
11479
DSYMUTIL \
 
11480
NMEDIT \
 
11481
LIPO \
 
11482
OTOOL \
 
11483
OTOOL64 \
 
11484
shrext_cmds \
 
11485
export_dynamic_flag_spec \
 
11486
whole_archive_flag_spec \
 
11487
compiler_needs_object \
 
11488
with_gnu_ld \
 
11489
allow_undefined_flag \
 
11490
no_undefined_flag \
 
11491
hardcode_libdir_flag_spec \
 
11492
hardcode_libdir_flag_spec_ld \
 
11493
hardcode_libdir_separator \
 
11494
fix_srcfile_path \
 
11495
exclude_expsyms \
 
11496
include_expsyms \
 
11497
file_list_spec \
 
11498
variables_saved_for_relink \
 
11499
libname_spec \
 
11500
library_names_spec \
 
11501
soname_spec \
 
11502
finish_eval \
 
11503
old_striplib \
 
11504
striplib; do
 
11505
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
11506
    *[\\\\\\\`\\"\\\$]*)
 
11507
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
11508
      ;;
 
11509
    *)
 
11510
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
11511
      ;;
 
11512
    esac
 
11513
done
 
11514
 
 
11515
# Double-quote double-evaled strings.
 
11516
for var in reload_cmds \
 
11517
old_postinstall_cmds \
 
11518
old_postuninstall_cmds \
 
11519
old_archive_cmds \
 
11520
extract_expsyms_cmds \
 
11521
old_archive_from_new_cmds \
 
11522
old_archive_from_expsyms_cmds \
 
11523
archive_cmds \
 
11524
archive_expsym_cmds \
 
11525
module_cmds \
 
11526
module_expsym_cmds \
 
11527
export_symbols_cmds \
 
11528
prelink_cmds \
 
11529
postinstall_cmds \
 
11530
postuninstall_cmds \
 
11531
finish_cmds \
 
11532
sys_lib_search_path_spec \
 
11533
sys_lib_dlsearch_path_spec; do
 
11534
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
11535
    *[\\\\\\\`\\"\\\$]*)
 
11536
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
11537
      ;;
 
11538
    *)
 
11539
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
11540
      ;;
 
11541
    esac
 
11542
done
 
11543
 
 
11544
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
11545
case \$lt_ECHO in
 
11546
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
11547
  ;;
 
11548
esac
 
11549
 
 
11550
ac_aux_dir='$ac_aux_dir'
 
11551
xsi_shell='$xsi_shell'
 
11552
lt_shell_append='$lt_shell_append'
 
11553
 
 
11554
# See if we are running on zsh, and set the options which allow our
 
11555
# commands through without removal of \ escapes INIT.
 
11556
if test -n "\${ZSH_VERSION+set}" ; then
 
11557
   setopt NO_GLOB_SUBST
 
11558
fi
 
11559
 
 
11560
 
 
11561
    PACKAGE='$PACKAGE'
 
11562
    VERSION='$VERSION'
 
11563
    TIMESTAMP='$TIMESTAMP'
 
11564
    RM='$RM'
 
11565
    ofile='$ofile'
 
11566
 
 
11567
 
 
11568
 
 
11569
 
20696
11570
_ACEOF
20697
11571
 
20698
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
11572
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20699
11573
 
20700
11574
# Handling of arguments.
20701
11575
for ac_config_target in $ac_config_targets
20702
11576
do
20703
11577
  case $ac_config_target in
20704
11578
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
11579
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20705
11580
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20706
11581
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
20707
11582
    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20708
11583
    "include/libnetfilter_log/Makefile") CONFIG_FILES="$CONFIG_FILES include/libnetfilter_log/Makefile" ;;
20709
11584
    "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
20710
11585
    "libnetfilter_log.pc") CONFIG_FILES="$CONFIG_FILES libnetfilter_log.pc" ;;
 
11586
    "doxygen.cfg") CONFIG_FILES="$CONFIG_FILES doxygen.cfg" ;;
20711
11587
 
20712
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20713
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20714
 
   { (exit 1); exit 1; }; };;
 
11588
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20715
11589
  esac
20716
11590
done
20717
11591
 
20737
11611
  trap 'exit_status=$?
20738
11612
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20739
11613
' 0
20740
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
11614
  trap 'as_fn_exit 1' 1 2 13 15
20741
11615
}
20742
11616
# Create a (secure) tmp directory for tmp files.
20743
11617
 
20748
11622
{
20749
11623
  tmp=./conf$$-$RANDOM
20750
11624
  (umask 077 && mkdir "$tmp")
20751
 
} ||
20752
 
{
20753
 
   echo "$me: cannot create a temporary directory in ." >&2
20754
 
   { (exit 1); exit 1; }
20755
 
}
20756
 
 
20757
 
#
20758
 
# Set up the sed scripts for CONFIG_FILES section.
20759
 
#
20760
 
 
20761
 
# No need to generate the scripts if there are no CONFIG_FILES.
20762
 
# This happens for instance when ./config.status config.h
 
11625
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
11626
 
 
11627
# Set up the scripts for CONFIG_FILES section.
 
11628
# No need to generate them if there are no CONFIG_FILES.
 
11629
# This happens for instance with `./config.status config.h'.
20763
11630
if test -n "$CONFIG_FILES"; then
20764
11631
 
20765
 
_ACEOF
20766
 
 
20767
 
 
20768
 
 
20769
 
ac_delim='%!_!# '
20770
 
for ac_last_try in false false false false false :; do
20771
 
  cat >conf$$subs.sed <<_ACEOF
20772
 
SHELL!$SHELL$ac_delim
20773
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
20774
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
20775
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
20776
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
20777
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
20778
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
20779
 
exec_prefix!$exec_prefix$ac_delim
20780
 
prefix!$prefix$ac_delim
20781
 
program_transform_name!$program_transform_name$ac_delim
20782
 
bindir!$bindir$ac_delim
20783
 
sbindir!$sbindir$ac_delim
20784
 
libexecdir!$libexecdir$ac_delim
20785
 
datarootdir!$datarootdir$ac_delim
20786
 
datadir!$datadir$ac_delim
20787
 
sysconfdir!$sysconfdir$ac_delim
20788
 
sharedstatedir!$sharedstatedir$ac_delim
20789
 
localstatedir!$localstatedir$ac_delim
20790
 
includedir!$includedir$ac_delim
20791
 
oldincludedir!$oldincludedir$ac_delim
20792
 
docdir!$docdir$ac_delim
20793
 
infodir!$infodir$ac_delim
20794
 
htmldir!$htmldir$ac_delim
20795
 
dvidir!$dvidir$ac_delim
20796
 
pdfdir!$pdfdir$ac_delim
20797
 
psdir!$psdir$ac_delim
20798
 
libdir!$libdir$ac_delim
20799
 
localedir!$localedir$ac_delim
20800
 
mandir!$mandir$ac_delim
20801
 
DEFS!$DEFS$ac_delim
20802
 
ECHO_C!$ECHO_C$ac_delim
20803
 
ECHO_N!$ECHO_N$ac_delim
20804
 
ECHO_T!$ECHO_T$ac_delim
20805
 
LIBS!$LIBS$ac_delim
20806
 
build_alias!$build_alias$ac_delim
20807
 
host_alias!$host_alias$ac_delim
20808
 
target_alias!$target_alias$ac_delim
20809
 
build!$build$ac_delim
20810
 
build_cpu!$build_cpu$ac_delim
20811
 
build_vendor!$build_vendor$ac_delim
20812
 
build_os!$build_os$ac_delim
20813
 
host!$host$ac_delim
20814
 
host_cpu!$host_cpu$ac_delim
20815
 
host_vendor!$host_vendor$ac_delim
20816
 
host_os!$host_os$ac_delim
20817
 
target!$target$ac_delim
20818
 
target_cpu!$target_cpu$ac_delim
20819
 
target_vendor!$target_vendor$ac_delim
20820
 
target_os!$target_os$ac_delim
20821
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
20822
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
20823
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
20824
 
am__isrc!$am__isrc$ac_delim
20825
 
CYGPATH_W!$CYGPATH_W$ac_delim
20826
 
PACKAGE!$PACKAGE$ac_delim
20827
 
VERSION!$VERSION$ac_delim
20828
 
ACLOCAL!$ACLOCAL$ac_delim
20829
 
AUTOCONF!$AUTOCONF$ac_delim
20830
 
AUTOMAKE!$AUTOMAKE$ac_delim
20831
 
AUTOHEADER!$AUTOHEADER$ac_delim
20832
 
MAKEINFO!$MAKEINFO$ac_delim
20833
 
install_sh!$install_sh$ac_delim
20834
 
STRIP!$STRIP$ac_delim
20835
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
20836
 
mkdir_p!$mkdir_p$ac_delim
20837
 
AWK!$AWK$ac_delim
20838
 
SET_MAKE!$SET_MAKE$ac_delim
20839
 
am__leading_dot!$am__leading_dot$ac_delim
20840
 
AMTAR!$AMTAR$ac_delim
20841
 
am__tar!$am__tar$ac_delim
20842
 
am__untar!$am__untar$ac_delim
20843
 
CC!$CC$ac_delim
20844
 
CFLAGS!$CFLAGS$ac_delim
20845
 
LDFLAGS!$LDFLAGS$ac_delim
20846
 
CPPFLAGS!$CPPFLAGS$ac_delim
20847
 
ac_ct_CC!$ac_ct_CC$ac_delim
20848
 
EXEEXT!$EXEEXT$ac_delim
20849
 
OBJEXT!$OBJEXT$ac_delim
20850
 
DEPDIR!$DEPDIR$ac_delim
20851
 
am__include!$am__include$ac_delim
20852
 
am__quote!$am__quote$ac_delim
20853
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
20854
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
20855
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
20856
 
CCDEPMODE!$CCDEPMODE$ac_delim
20857
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
20858
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
20859
 
SED!$SED$ac_delim
20860
 
GREP!$GREP$ac_delim
20861
 
EGREP!$EGREP$ac_delim
20862
 
LN_S!$LN_S$ac_delim
20863
 
ECHO!$ECHO$ac_delim
20864
 
AR!$AR$ac_delim
20865
 
RANLIB!$RANLIB$ac_delim
20866
 
DSYMUTIL!$DSYMUTIL$ac_delim
20867
 
NMEDIT!$NMEDIT$ac_delim
20868
 
CPP!$CPP$ac_delim
20869
 
_ACEOF
20870
 
 
20871
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
20872
 
    break
20873
 
  elif $ac_last_try; then
20874
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20875
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20876
 
   { (exit 1); exit 1; }; }
20877
 
  else
20878
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20879
 
  fi
20880
 
done
20881
 
 
20882
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20883
 
if test -n "$ac_eof"; then
20884
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
20885
 
  ac_eof=`expr $ac_eof + 1`
20886
 
fi
20887
 
 
20888
 
cat >>$CONFIG_STATUS <<_ACEOF
20889
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
20890
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20891
 
_ACEOF
20892
 
sed '
20893
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20894
 
s/^/s,@/; s/!/@,|#_!!_#|/
20895
 
:n
20896
 
t n
20897
 
s/'"$ac_delim"'$/,g/; t
20898
 
s/$/\\/; p
20899
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20900
 
' >>$CONFIG_STATUS <conf$$subs.sed
20901
 
rm -f conf$$subs.sed
20902
 
cat >>$CONFIG_STATUS <<_ACEOF
20903
 
CEOF$ac_eof
20904
 
_ACEOF
20905
 
 
20906
 
 
20907
 
ac_delim='%!_!# '
20908
 
for ac_last_try in false false false false false :; do
20909
 
  cat >conf$$subs.sed <<_ACEOF
20910
 
CXX!$CXX$ac_delim
20911
 
CXXFLAGS!$CXXFLAGS$ac_delim
20912
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
20913
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
20914
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
20915
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
20916
 
CXXCPP!$CXXCPP$ac_delim
20917
 
F77!$F77$ac_delim
20918
 
FFLAGS!$FFLAGS$ac_delim
20919
 
ac_ct_F77!$ac_ct_F77$ac_delim
20920
 
LIBTOOL!$LIBTOOL$ac_delim
20921
 
LIBTOOL_DEPS!$LIBTOOL_DEPS$ac_delim
20922
 
PKG_CONFIG!$PKG_CONFIG$ac_delim
20923
 
LIBNFNETLINK_CFLAGS!$LIBNFNETLINK_CFLAGS$ac_delim
20924
 
LIBNFNETLINK_LIBS!$LIBNFNETLINK_LIBS$ac_delim
20925
 
LIBNFLOG_LIBS!$LIBNFLOG_LIBS$ac_delim
20926
 
LIBOBJS!$LIBOBJS$ac_delim
20927
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
20928
 
_ACEOF
20929
 
 
20930
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 18; then
20931
 
    break
20932
 
  elif $ac_last_try; then
20933
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20934
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20935
 
   { (exit 1); exit 1; }; }
20936
 
  else
20937
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20938
 
  fi
20939
 
done
20940
 
 
20941
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20942
 
if test -n "$ac_eof"; then
20943
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
20944
 
  ac_eof=`expr $ac_eof + 1`
20945
 
fi
20946
 
 
20947
 
cat >>$CONFIG_STATUS <<_ACEOF
20948
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
20949
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
20950
 
_ACEOF
20951
 
sed '
20952
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20953
 
s/^/s,@/; s/!/@,|#_!!_#|/
20954
 
:n
20955
 
t n
20956
 
s/'"$ac_delim"'$/,g/; t
20957
 
s/$/\\/; p
20958
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20959
 
' >>$CONFIG_STATUS <conf$$subs.sed
20960
 
rm -f conf$$subs.sed
20961
 
cat >>$CONFIG_STATUS <<_ACEOF
20962
 
:end
20963
 
s/|#_!!_#|//g
20964
 
CEOF$ac_eof
20965
 
_ACEOF
20966
 
 
 
11632
 
 
11633
ac_cr=`echo X | tr X '\015'`
 
11634
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
11635
# But we know of no other shell where ac_cr would be empty at this
 
11636
# point, so we can use a bashism as a fallback.
 
11637
if test "x$ac_cr" = x; then
 
11638
  eval ac_cr=\$\'\\r\'
 
11639
fi
 
11640
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
11641
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
11642
  ac_cs_awk_cr='\r'
 
11643
else
 
11644
  ac_cs_awk_cr=$ac_cr
 
11645
fi
 
11646
 
 
11647
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
11648
_ACEOF
 
11649
 
 
11650
 
 
11651
{
 
11652
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
11653
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
11654
  echo "_ACEOF"
 
11655
} >conf$$subs.sh ||
 
11656
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
11657
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
11658
ac_delim='%!_!# '
 
11659
for ac_last_try in false false false false false :; do
 
11660
  . ./conf$$subs.sh ||
 
11661
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
11662
 
 
11663
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
11664
  if test $ac_delim_n = $ac_delim_num; then
 
11665
    break
 
11666
  elif $ac_last_try; then
 
11667
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
11668
  else
 
11669
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
11670
  fi
 
11671
done
 
11672
rm -f conf$$subs.sh
 
11673
 
 
11674
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
11675
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
11676
_ACEOF
 
11677
sed -n '
 
11678
h
 
11679
s/^/S["/; s/!.*/"]=/
 
11680
p
 
11681
g
 
11682
s/^[^!]*!//
 
11683
:repl
 
11684
t repl
 
11685
s/'"$ac_delim"'$//
 
11686
t delim
 
11687
:nl
 
11688
h
 
11689
s/\(.\{148\}\)..*/\1/
 
11690
t more1
 
11691
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
11692
p
 
11693
n
 
11694
b repl
 
11695
:more1
 
11696
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
11697
p
 
11698
g
 
11699
s/.\{148\}//
 
11700
t nl
 
11701
:delim
 
11702
h
 
11703
s/\(.\{148\}\)..*/\1/
 
11704
t more2
 
11705
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
11706
p
 
11707
b
 
11708
:more2
 
11709
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
11710
p
 
11711
g
 
11712
s/.\{148\}//
 
11713
t delim
 
11714
' <conf$$subs.awk | sed '
 
11715
/^[^""]/{
 
11716
  N
 
11717
  s/\n//
 
11718
}
 
11719
' >>$CONFIG_STATUS || ac_write_fail=1
 
11720
rm -f conf$$subs.awk
 
11721
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
11722
_ACAWK
 
11723
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
11724
  for (key in S) S_is_set[key] = 1
 
11725
  FS = ""
 
11726
 
 
11727
}
 
11728
{
 
11729
  line = $ 0
 
11730
  nfields = split(line, field, "@")
 
11731
  substed = 0
 
11732
  len = length(field[1])
 
11733
  for (i = 2; i < nfields; i++) {
 
11734
    key = field[i]
 
11735
    keylen = length(key)
 
11736
    if (S_is_set[key]) {
 
11737
      value = S[key]
 
11738
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
11739
      len += length(value) + length(field[++i])
 
11740
      substed = 1
 
11741
    } else
 
11742
      len += 1 + keylen
 
11743
  }
 
11744
 
 
11745
  print line
 
11746
}
 
11747
 
 
11748
_ACAWK
 
11749
_ACEOF
 
11750
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
11751
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
11752
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
11753
else
 
11754
  cat
 
11755
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
11756
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
11757
_ACEOF
20967
11758
 
20968
11759
# VPATH may cause trouble with some makes, so we remove $(srcdir),
20969
11760
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20980
11771
}'
20981
11772
fi
20982
11773
 
20983
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
11774
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20984
11775
fi # test -n "$CONFIG_FILES"
20985
11776
 
20986
11777
 
20987
 
for ac_tag in  :F $CONFIG_FILES      :C $CONFIG_COMMANDS
 
11778
eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
 
11779
shift
 
11780
for ac_tag
20988
11781
do
20989
11782
  case $ac_tag in
20990
11783
  :[FHLC]) ac_mode=$ac_tag; continue;;
20991
11784
  esac
20992
11785
  case $ac_mode$ac_tag in
20993
11786
  :[FHL]*:*);;
20994
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
20995
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
20996
 
   { (exit 1); exit 1; }; };;
 
11787
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
20997
11788
  :[FH]-) ac_tag=-:-;;
20998
11789
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20999
11790
  esac
21021
11812
           [\\/$]*) false;;
21022
11813
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21023
11814
           esac ||
21024
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21025
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21026
 
   { (exit 1); exit 1; }; };;
 
11815
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21027
11816
      esac
21028
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
11817
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
11818
      as_fn_append ac_file_inputs " '$ac_f'"
21029
11819
    done
21030
11820
 
21031
11821
    # Let's still pretend it is `configure' which instantiates (i.e., don't
21032
11822
    # use $as_me), people would be surprised to read:
21033
11823
    #    /* config.h.  Generated by config.status.  */
21034
 
    configure_input="Generated from "`IFS=:
21035
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
11824
    configure_input='Generated from '`
 
11825
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
11826
        `' by configure.'
21036
11827
    if test x"$ac_file" != x-; then
21037
11828
      configure_input="$ac_file.  $configure_input"
21038
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
21039
 
echo "$as_me: creating $ac_file" >&6;}
 
11829
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
11830
$as_echo "$as_me: creating $ac_file" >&6;}
21040
11831
    fi
 
11832
    # Neutralize special characters interpreted by sed in replacement strings.
 
11833
    case $configure_input in #(
 
11834
    *\&* | *\|* | *\\* )
 
11835
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
11836
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
11837
    *) ac_sed_conf_input=$configure_input;;
 
11838
    esac
21041
11839
 
21042
11840
    case $ac_tag in
21043
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
11841
    *:-:* | *:-) cat >"$tmp/stdin" \
 
11842
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
21044
11843
    esac
21045
11844
    ;;
21046
11845
  esac
21050
11849
         X"$ac_file" : 'X\(//\)[^/]' \| \
21051
11850
         X"$ac_file" : 'X\(//\)$' \| \
21052
11851
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21053
 
echo X"$ac_file" |
21054
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21055
 
            s//\1/
21056
 
            q
21057
 
          }
21058
 
          /^X\(\/\/\)[^/].*/{
21059
 
            s//\1/
21060
 
            q
21061
 
          }
21062
 
          /^X\(\/\/\)$/{
21063
 
            s//\1/
21064
 
            q
21065
 
          }
21066
 
          /^X\(\/\).*/{
21067
 
            s//\1/
21068
 
            q
21069
 
          }
21070
 
          s/.*/./; q'`
21071
 
  { as_dir="$ac_dir"
21072
 
  case $as_dir in #(
21073
 
  -*) as_dir=./$as_dir;;
21074
 
  esac
21075
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21076
 
    as_dirs=
21077
 
    while :; do
21078
 
      case $as_dir in #(
21079
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21080
 
      *) as_qdir=$as_dir;;
21081
 
      esac
21082
 
      as_dirs="'$as_qdir' $as_dirs"
21083
 
      as_dir=`$as_dirname -- "$as_dir" ||
21084
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21085
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
21086
 
         X"$as_dir" : 'X\(//\)$' \| \
21087
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21088
 
echo X"$as_dir" |
21089
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21090
 
            s//\1/
21091
 
            q
21092
 
          }
21093
 
          /^X\(\/\/\)[^/].*/{
21094
 
            s//\1/
21095
 
            q
21096
 
          }
21097
 
          /^X\(\/\/\)$/{
21098
 
            s//\1/
21099
 
            q
21100
 
          }
21101
 
          /^X\(\/\).*/{
21102
 
            s//\1/
21103
 
            q
21104
 
          }
21105
 
          s/.*/./; q'`
21106
 
      test -d "$as_dir" && break
21107
 
    done
21108
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
21109
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21110
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
21111
 
   { (exit 1); exit 1; }; }; }
 
11852
$as_echo X"$ac_file" |
 
11853
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
11854
            s//\1/
 
11855
            q
 
11856
          }
 
11857
          /^X\(\/\/\)[^/].*/{
 
11858
            s//\1/
 
11859
            q
 
11860
          }
 
11861
          /^X\(\/\/\)$/{
 
11862
            s//\1/
 
11863
            q
 
11864
          }
 
11865
          /^X\(\/\).*/{
 
11866
            s//\1/
 
11867
            q
 
11868
          }
 
11869
          s/.*/./; q'`
 
11870
  as_dir="$ac_dir"; as_fn_mkdir_p
21112
11871
  ac_builddir=.
21113
11872
 
21114
11873
case "$ac_dir" in
21115
11874
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21116
11875
*)
21117
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
11876
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21118
11877
  # A ".." for each directory in $ac_dir_suffix.
21119
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
11878
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21120
11879
  case $ac_top_builddir_sub in
21121
11880
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21122
11881
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21161
11920
  esac
21162
11921
_ACEOF
21163
11922
 
21164
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
11923
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21165
11924
# If the template does not know about datarootdir, expand it.
21166
11925
# FIXME: This hack should be removed a few years after 2.60.
21167
11926
ac_datarootdir_hack=; ac_datarootdir_seen=
21168
 
 
21169
 
case `sed -n '/datarootdir/ {
 
11927
ac_sed_dataroot='
 
11928
/datarootdir/ {
21170
11929
  p
21171
11930
  q
21172
11931
}
21174
11933
/@docdir@/p
21175
11934
/@infodir@/p
21176
11935
/@localedir@/p
21177
 
/@mandir@/p
21178
 
' $ac_file_inputs` in
 
11936
/@mandir@/p'
 
11937
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21179
11938
*datarootdir*) ac_datarootdir_seen=yes;;
21180
11939
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21181
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21182
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
11940
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
11941
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21183
11942
_ACEOF
21184
 
cat >>$CONFIG_STATUS <<_ACEOF
 
11943
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21185
11944
  ac_datarootdir_hack='
21186
11945
  s&@datadir@&$datadir&g
21187
11946
  s&@docdir@&$docdir&g
21188
11947
  s&@infodir@&$infodir&g
21189
11948
  s&@localedir@&$localedir&g
21190
11949
  s&@mandir@&$mandir&g
21191
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
11950
  s&\\\${datarootdir}&$datarootdir&g' ;;
21192
11951
esac
21193
11952
_ACEOF
21194
11953
 
21195
11954
# Neutralize VPATH when `$srcdir' = `.'.
21196
11955
# Shell code in configure.ac might set extrasub.
21197
11956
# FIXME: do we really want to maintain this feature?
21198
 
cat >>$CONFIG_STATUS <<_ACEOF
21199
 
  sed "$ac_vpsub
 
11957
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
11958
ac_sed_extra="$ac_vpsub
21200
11959
$extrasub
21201
11960
_ACEOF
21202
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
11961
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21203
11962
:t
21204
11963
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21205
 
s&@configure_input@&$configure_input&;t t
 
11964
s|@configure_input@|$ac_sed_conf_input|;t t
21206
11965
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
11966
s&@top_build_prefix@&$ac_top_build_prefix&;t t
21207
11967
s&@srcdir@&$ac_srcdir&;t t
21208
11968
s&@abs_srcdir@&$ac_abs_srcdir&;t t
21209
11969
s&@top_srcdir@&$ac_top_srcdir&;t t
21214
11974
s&@INSTALL@&$ac_INSTALL&;t t
21215
11975
s&@MKDIR_P@&$ac_MKDIR_P&;t t
21216
11976
$ac_datarootdir_hack
21217
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
11977
"
 
11978
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
11979
  || as_fn_error "could not create $ac_file" "$LINENO" 5
21218
11980
 
21219
11981
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21220
11982
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
21221
11983
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
21222
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
11984
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21223
11985
which seems to be undefined.  Please make sure it is defined." >&5
21224
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
11986
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21225
11987
which seems to be undefined.  Please make sure it is defined." >&2;}
21226
11988
 
21227
11989
  rm -f "$tmp/stdin"
21228
11990
  case $ac_file in
21229
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
21230
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21231
 
  esac
 
11991
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
11992
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
11993
  esac \
 
11994
  || as_fn_error "could not create $ac_file" "$LINENO" 5
21232
11995
 ;;
21233
11996
 
21234
11997
 
21235
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21236
 
echo "$as_me: executing $ac_file commands" >&6;}
 
11998
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
11999
$as_echo "$as_me: executing $ac_file commands" >&6;}
21237
12000
 ;;
21238
12001
  esac
21239
12002
 
21240
12003
 
21241
12004
  case $ac_file$ac_mode in
21242
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
21243
 
  # Strip MF so we end up with the name of the file.
21244
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
21245
 
  # Check whether this is an Automake generated Makefile or not.
21246
 
  # We used to match only the files named `Makefile.in', but
21247
 
  # some people rename them; so instead we look at the file content.
21248
 
  # Grep'ing the first line is not enough: some people post-process
21249
 
  # each Makefile.in and add a new line on top of each file to say so.
21250
 
  # Grep'ing the whole file is not good either: AIX grep has a line
21251
 
  # limit of 2048, but all sed's we know have understand at least 4000.
21252
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21253
 
    dirpart=`$as_dirname -- "$mf" ||
 
12005
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
12006
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
12007
  # are listed without --file.  Let's play safe and only enable the eval
 
12008
  # if we detect the quoting.
 
12009
  case $CONFIG_FILES in
 
12010
  *\'*) eval set x "$CONFIG_FILES" ;;
 
12011
  *)   set x $CONFIG_FILES ;;
 
12012
  esac
 
12013
  shift
 
12014
  for mf
 
12015
  do
 
12016
    # Strip MF so we end up with the name of the file.
 
12017
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
12018
    # Check whether this is an Automake generated Makefile or not.
 
12019
    # We used to match only the files named `Makefile.in', but
 
12020
    # some people rename them; so instead we look at the file content.
 
12021
    # Grep'ing the first line is not enough: some people post-process
 
12022
    # each Makefile.in and add a new line on top of each file to say so.
 
12023
    # Grep'ing the whole file is not good either: AIX grep has a line
 
12024
    # limit of 2048, but all sed's we know have understand at least 4000.
 
12025
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
12026
      dirpart=`$as_dirname -- "$mf" ||
21254
12027
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21255
12028
         X"$mf" : 'X\(//\)[^/]' \| \
21256
12029
         X"$mf" : 'X\(//\)$' \| \
21257
12030
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21258
 
echo X"$mf" |
 
12031
$as_echo X"$mf" |
21259
12032
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21260
12033
            s//\1/
21261
12034
            q
21273
12046
            q
21274
12047
          }
21275
12048
          s/.*/./; q'`
21276
 
  else
21277
 
    continue
21278
 
  fi
21279
 
  # Extract the definition of DEPDIR, am__include, and am__quote
21280
 
  # from the Makefile without running `make'.
21281
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21282
 
  test -z "$DEPDIR" && continue
21283
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
21284
 
  test -z "am__include" && continue
21285
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21286
 
  # When using ansi2knr, U may be empty or an underscore; expand it
21287
 
  U=`sed -n 's/^U = //p' < "$mf"`
21288
 
  # Find all dependency output files, they are included files with
21289
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
21290
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
21291
 
  # expansion.
21292
 
  for file in `sed -n "
21293
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21294
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21295
 
    # Make sure the directory exists.
21296
 
    test -f "$dirpart/$file" && continue
21297
 
    fdir=`$as_dirname -- "$file" ||
 
12049
    else
 
12050
      continue
 
12051
    fi
 
12052
    # Extract the definition of DEPDIR, am__include, and am__quote
 
12053
    # from the Makefile without running `make'.
 
12054
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
12055
    test -z "$DEPDIR" && continue
 
12056
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
12057
    test -z "am__include" && continue
 
12058
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
12059
    # When using ansi2knr, U may be empty or an underscore; expand it
 
12060
    U=`sed -n 's/^U = //p' < "$mf"`
 
12061
    # Find all dependency output files, they are included files with
 
12062
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
12063
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
12064
    # expansion.
 
12065
    for file in `sed -n "
 
12066
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
12067
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
12068
      # Make sure the directory exists.
 
12069
      test -f "$dirpart/$file" && continue
 
12070
      fdir=`$as_dirname -- "$file" ||
21298
12071
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21299
12072
         X"$file" : 'X\(//\)[^/]' \| \
21300
12073
         X"$file" : 'X\(//\)$' \| \
21301
12074
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21302
 
echo X"$file" |
21303
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21304
 
            s//\1/
21305
 
            q
21306
 
          }
21307
 
          /^X\(\/\/\)[^/].*/{
21308
 
            s//\1/
21309
 
            q
21310
 
          }
21311
 
          /^X\(\/\/\)$/{
21312
 
            s//\1/
21313
 
            q
21314
 
          }
21315
 
          /^X\(\/\).*/{
21316
 
            s//\1/
21317
 
            q
21318
 
          }
21319
 
          s/.*/./; q'`
21320
 
    { as_dir=$dirpart/$fdir
21321
 
  case $as_dir in #(
21322
 
  -*) as_dir=./$as_dir;;
21323
 
  esac
21324
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21325
 
    as_dirs=
21326
 
    while :; do
21327
 
      case $as_dir in #(
21328
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21329
 
      *) as_qdir=$as_dir;;
21330
 
      esac
21331
 
      as_dirs="'$as_qdir' $as_dirs"
21332
 
      as_dir=`$as_dirname -- "$as_dir" ||
21333
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21334
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
21335
 
         X"$as_dir" : 'X\(//\)$' \| \
21336
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21337
 
echo X"$as_dir" |
21338
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21339
 
            s//\1/
21340
 
            q
21341
 
          }
21342
 
          /^X\(\/\/\)[^/].*/{
21343
 
            s//\1/
21344
 
            q
21345
 
          }
21346
 
          /^X\(\/\/\)$/{
21347
 
            s//\1/
21348
 
            q
21349
 
          }
21350
 
          /^X\(\/\).*/{
21351
 
            s//\1/
21352
 
            q
21353
 
          }
21354
 
          s/.*/./; q'`
21355
 
      test -d "$as_dir" && break
 
12075
$as_echo X"$file" |
 
12076
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
12077
            s//\1/
 
12078
            q
 
12079
          }
 
12080
          /^X\(\/\/\)[^/].*/{
 
12081
            s//\1/
 
12082
            q
 
12083
          }
 
12084
          /^X\(\/\/\)$/{
 
12085
            s//\1/
 
12086
            q
 
12087
          }
 
12088
          /^X\(\/\).*/{
 
12089
            s//\1/
 
12090
            q
 
12091
          }
 
12092
          s/.*/./; q'`
 
12093
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
12094
      # echo "creating $dirpart/$file"
 
12095
      echo '# dummy' > "$dirpart/$file"
21356
12096
    done
21357
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
21358
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21359
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
21360
 
   { (exit 1); exit 1; }; }; }
21361
 
    # echo "creating $dirpart/$file"
21362
 
    echo '# dummy' > "$dirpart/$file"
21363
12097
  done
21364
 
done
 
12098
}
 
12099
 ;;
 
12100
    "libtool":C)
 
12101
 
 
12102
    # See if we are running on zsh, and set the options which allow our
 
12103
    # commands through without removal of \ escapes.
 
12104
    if test -n "${ZSH_VERSION+set}" ; then
 
12105
      setopt NO_GLOB_SUBST
 
12106
    fi
 
12107
 
 
12108
    cfgfile="${ofile}T"
 
12109
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
12110
    $RM "$cfgfile"
 
12111
 
 
12112
    cat <<_LT_EOF >> "$cfgfile"
 
12113
#! $SHELL
 
12114
 
 
12115
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
12116
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
12117
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
12118
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
12119
#
 
12120
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
12121
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
12122
#   Written by Gordon Matzigkeit, 1996
 
12123
#
 
12124
#   This file is part of GNU Libtool.
 
12125
#
 
12126
# GNU Libtool is free software; you can redistribute it and/or
 
12127
# modify it under the terms of the GNU General Public License as
 
12128
# published by the Free Software Foundation; either version 2 of
 
12129
# the License, or (at your option) any later version.
 
12130
#
 
12131
# As a special exception to the GNU General Public License,
 
12132
# if you distribute this file as part of a program or library that
 
12133
# is built using GNU Libtool, you may include this file under the
 
12134
# same distribution terms that you use for the rest of that program.
 
12135
#
 
12136
# GNU Libtool is distributed in the hope that it will be useful,
 
12137
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12138
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12139
# GNU General Public License for more details.
 
12140
#
 
12141
# You should have received a copy of the GNU General Public License
 
12142
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
12143
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
12144
# obtained by writing to the Free Software Foundation, Inc.,
 
12145
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
12146
 
 
12147
 
 
12148
# The names of the tagged configurations supported by this script.
 
12149
available_tags=""
 
12150
 
 
12151
# ### BEGIN LIBTOOL CONFIG
 
12152
 
 
12153
# Which release of libtool.m4 was used?
 
12154
macro_version=$macro_version
 
12155
macro_revision=$macro_revision
 
12156
 
 
12157
# Whether or not to build shared libraries.
 
12158
build_libtool_libs=$enable_shared
 
12159
 
 
12160
# Whether or not to build static libraries.
 
12161
build_old_libs=$enable_static
 
12162
 
 
12163
# What type of objects to build.
 
12164
pic_mode=$pic_mode
 
12165
 
 
12166
# Whether or not to optimize for fast installation.
 
12167
fast_install=$enable_fast_install
 
12168
 
 
12169
# The host system.
 
12170
host_alias=$host_alias
 
12171
host=$host
 
12172
host_os=$host_os
 
12173
 
 
12174
# The build system.
 
12175
build_alias=$build_alias
 
12176
build=$build
 
12177
build_os=$build_os
 
12178
 
 
12179
# A sed program that does not truncate output.
 
12180
SED=$lt_SED
 
12181
 
 
12182
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
12183
Xsed="\$SED -e 1s/^X//"
 
12184
 
 
12185
# A grep program that handles long lines.
 
12186
GREP=$lt_GREP
 
12187
 
 
12188
# An ERE matcher.
 
12189
EGREP=$lt_EGREP
 
12190
 
 
12191
# A literal string matcher.
 
12192
FGREP=$lt_FGREP
 
12193
 
 
12194
# A BSD- or MS-compatible name lister.
 
12195
NM=$lt_NM
 
12196
 
 
12197
# Whether we need soft or hard links.
 
12198
LN_S=$lt_LN_S
 
12199
 
 
12200
# What is the maximum length of a command?
 
12201
max_cmd_len=$max_cmd_len
 
12202
 
 
12203
# Object file suffix (normally "o").
 
12204
objext=$ac_objext
 
12205
 
 
12206
# Executable file suffix (normally "").
 
12207
exeext=$exeext
 
12208
 
 
12209
# whether the shell understands "unset".
 
12210
lt_unset=$lt_unset
 
12211
 
 
12212
# turn spaces into newlines.
 
12213
SP2NL=$lt_lt_SP2NL
 
12214
 
 
12215
# turn newlines into spaces.
 
12216
NL2SP=$lt_lt_NL2SP
 
12217
 
 
12218
# How to create reloadable object files.
 
12219
reload_flag=$lt_reload_flag
 
12220
reload_cmds=$lt_reload_cmds
 
12221
 
 
12222
# An object symbol dumper.
 
12223
OBJDUMP=$lt_OBJDUMP
 
12224
 
 
12225
# Method to check whether dependent libraries are shared objects.
 
12226
deplibs_check_method=$lt_deplibs_check_method
 
12227
 
 
12228
# Command to use when deplibs_check_method == "file_magic".
 
12229
file_magic_cmd=$lt_file_magic_cmd
 
12230
 
 
12231
# The archiver.
 
12232
AR=$lt_AR
 
12233
AR_FLAGS=$lt_AR_FLAGS
 
12234
 
 
12235
# A symbol stripping program.
 
12236
STRIP=$lt_STRIP
 
12237
 
 
12238
# Commands used to install an old-style archive.
 
12239
RANLIB=$lt_RANLIB
 
12240
old_postinstall_cmds=$lt_old_postinstall_cmds
 
12241
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
12242
 
 
12243
# A C compiler.
 
12244
LTCC=$lt_CC
 
12245
 
 
12246
# LTCC compiler flags.
 
12247
LTCFLAGS=$lt_CFLAGS
 
12248
 
 
12249
# Take the output of nm and produce a listing of raw symbols and C names.
 
12250
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
12251
 
 
12252
# Transform the output of nm in a proper C declaration.
 
12253
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
12254
 
 
12255
# Transform the output of nm in a C name address pair.
 
12256
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
12257
 
 
12258
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
12259
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
12260
 
 
12261
# The name of the directory that contains temporary libtool files.
 
12262
objdir=$objdir
 
12263
 
 
12264
# Shell to use when invoking shell scripts.
 
12265
SHELL=$lt_SHELL
 
12266
 
 
12267
# An echo program that does not interpret backslashes.
 
12268
ECHO=$lt_ECHO
 
12269
 
 
12270
# Used to examine libraries when file_magic_cmd begins with "file".
 
12271
MAGIC_CMD=$MAGIC_CMD
 
12272
 
 
12273
# Must we lock files when doing compilation?
 
12274
need_locks=$lt_need_locks
 
12275
 
 
12276
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
12277
DSYMUTIL=$lt_DSYMUTIL
 
12278
 
 
12279
# Tool to change global to local symbols on Mac OS X.
 
12280
NMEDIT=$lt_NMEDIT
 
12281
 
 
12282
# Tool to manipulate fat objects and archives on Mac OS X.
 
12283
LIPO=$lt_LIPO
 
12284
 
 
12285
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
12286
OTOOL=$lt_OTOOL
 
12287
 
 
12288
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
12289
OTOOL64=$lt_OTOOL64
 
12290
 
 
12291
# Old archive suffix (normally "a").
 
12292
libext=$libext
 
12293
 
 
12294
# Shared library suffix (normally ".so").
 
12295
shrext_cmds=$lt_shrext_cmds
 
12296
 
 
12297
# The commands to extract the exported symbol list from a shared archive.
 
12298
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
12299
 
 
12300
# Variables whose values should be saved in libtool wrapper scripts and
 
12301
# restored at link time.
 
12302
variables_saved_for_relink=$lt_variables_saved_for_relink
 
12303
 
 
12304
# Do we need the "lib" prefix for modules?
 
12305
need_lib_prefix=$need_lib_prefix
 
12306
 
 
12307
# Do we need a version for libraries?
 
12308
need_version=$need_version
 
12309
 
 
12310
# Library versioning type.
 
12311
version_type=$version_type
 
12312
 
 
12313
# Shared library runtime path variable.
 
12314
runpath_var=$runpath_var
 
12315
 
 
12316
# Shared library path variable.
 
12317
shlibpath_var=$shlibpath_var
 
12318
 
 
12319
# Is shlibpath searched before the hard-coded library search path?
 
12320
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
12321
 
 
12322
# Format of library name prefix.
 
12323
libname_spec=$lt_libname_spec
 
12324
 
 
12325
# List of archive names.  First name is the real one, the rest are links.
 
12326
# The last name is the one that the linker finds with -lNAME
 
12327
library_names_spec=$lt_library_names_spec
 
12328
 
 
12329
# The coded name of the library, if different from the real name.
 
12330
soname_spec=$lt_soname_spec
 
12331
 
 
12332
# Command to use after installation of a shared archive.
 
12333
postinstall_cmds=$lt_postinstall_cmds
 
12334
 
 
12335
# Command to use after uninstallation of a shared archive.
 
12336
postuninstall_cmds=$lt_postuninstall_cmds
 
12337
 
 
12338
# Commands used to finish a libtool library installation in a directory.
 
12339
finish_cmds=$lt_finish_cmds
 
12340
 
 
12341
# As "finish_cmds", except a single script fragment to be evaled but
 
12342
# not shown.
 
12343
finish_eval=$lt_finish_eval
 
12344
 
 
12345
# Whether we should hardcode library paths into libraries.
 
12346
hardcode_into_libs=$hardcode_into_libs
 
12347
 
 
12348
# Compile-time system search path for libraries.
 
12349
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
12350
 
 
12351
# Run-time system search path for libraries.
 
12352
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
12353
 
 
12354
# Whether dlopen is supported.
 
12355
dlopen_support=$enable_dlopen
 
12356
 
 
12357
# Whether dlopen of programs is supported.
 
12358
dlopen_self=$enable_dlopen_self
 
12359
 
 
12360
# Whether dlopen of statically linked programs is supported.
 
12361
dlopen_self_static=$enable_dlopen_self_static
 
12362
 
 
12363
# Commands to strip libraries.
 
12364
old_striplib=$lt_old_striplib
 
12365
striplib=$lt_striplib
 
12366
 
 
12367
 
 
12368
# The linker used to build libraries.
 
12369
LD=$lt_LD
 
12370
 
 
12371
# Commands used to build an old-style archive.
 
12372
old_archive_cmds=$lt_old_archive_cmds
 
12373
 
 
12374
# A language specific compiler.
 
12375
CC=$lt_compiler
 
12376
 
 
12377
# Is the compiler the GNU compiler?
 
12378
with_gcc=$GCC
 
12379
 
 
12380
# Compiler flag to turn off builtin functions.
 
12381
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
12382
 
 
12383
# How to pass a linker flag through the compiler.
 
12384
wl=$lt_lt_prog_compiler_wl
 
12385
 
 
12386
# Additional compiler flags for building library objects.
 
12387
pic_flag=$lt_lt_prog_compiler_pic
 
12388
 
 
12389
# Compiler flag to prevent dynamic linking.
 
12390
link_static_flag=$lt_lt_prog_compiler_static
 
12391
 
 
12392
# Does compiler simultaneously support -c and -o options?
 
12393
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
12394
 
 
12395
# Whether or not to add -lc for building shared libraries.
 
12396
build_libtool_need_lc=$archive_cmds_need_lc
 
12397
 
 
12398
# Whether or not to disallow shared libs when runtime libs are static.
 
12399
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
12400
 
 
12401
# Compiler flag to allow reflexive dlopens.
 
12402
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
12403
 
 
12404
# Compiler flag to generate shared objects directly from archives.
 
12405
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
12406
 
 
12407
# Whether the compiler copes with passing no objects directly.
 
12408
compiler_needs_object=$lt_compiler_needs_object
 
12409
 
 
12410
# Create an old-style archive from a shared archive.
 
12411
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
12412
 
 
12413
# Create a temporary old-style archive to link instead of a shared archive.
 
12414
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
12415
 
 
12416
# Commands used to build a shared archive.
 
12417
archive_cmds=$lt_archive_cmds
 
12418
archive_expsym_cmds=$lt_archive_expsym_cmds
 
12419
 
 
12420
# Commands used to build a loadable module if different from building
 
12421
# a shared archive.
 
12422
module_cmds=$lt_module_cmds
 
12423
module_expsym_cmds=$lt_module_expsym_cmds
 
12424
 
 
12425
# Whether we are building with GNU ld or not.
 
12426
with_gnu_ld=$lt_with_gnu_ld
 
12427
 
 
12428
# Flag that allows shared libraries with undefined symbols to be built.
 
12429
allow_undefined_flag=$lt_allow_undefined_flag
 
12430
 
 
12431
# Flag that enforces no undefined symbols.
 
12432
no_undefined_flag=$lt_no_undefined_flag
 
12433
 
 
12434
# Flag to hardcode \$libdir into a binary during linking.
 
12435
# This must work even if \$libdir does not exist
 
12436
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
12437
 
 
12438
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
12439
# during linking.  This must work even if \$libdir does not exist.
 
12440
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
12441
 
 
12442
# Whether we need a single "-rpath" flag with a separated argument.
 
12443
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
12444
 
 
12445
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
12446
# DIR into the resulting binary.
 
12447
hardcode_direct=$hardcode_direct
 
12448
 
 
12449
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
12450
# DIR into the resulting binary and the resulting library dependency is
 
12451
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
12452
# library is relocated.
 
12453
hardcode_direct_absolute=$hardcode_direct_absolute
 
12454
 
 
12455
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
12456
# into the resulting binary.
 
12457
hardcode_minus_L=$hardcode_minus_L
 
12458
 
 
12459
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
12460
# into the resulting binary.
 
12461
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
12462
 
 
12463
# Set to "yes" if building a shared library automatically hardcodes DIR
 
12464
# into the library and all subsequent libraries and executables linked
 
12465
# against it.
 
12466
hardcode_automatic=$hardcode_automatic
 
12467
 
 
12468
# Set to yes if linker adds runtime paths of dependent libraries
 
12469
# to runtime path list.
 
12470
inherit_rpath=$inherit_rpath
 
12471
 
 
12472
# Whether libtool must link a program against all its dependency libraries.
 
12473
link_all_deplibs=$link_all_deplibs
 
12474
 
 
12475
# Fix the shell variable \$srcfile for the compiler.
 
12476
fix_srcfile_path=$lt_fix_srcfile_path
 
12477
 
 
12478
# Set to "yes" if exported symbols are required.
 
12479
always_export_symbols=$always_export_symbols
 
12480
 
 
12481
# The commands to list exported symbols.
 
12482
export_symbols_cmds=$lt_export_symbols_cmds
 
12483
 
 
12484
# Symbols that should not be listed in the preloaded symbols.
 
12485
exclude_expsyms=$lt_exclude_expsyms
 
12486
 
 
12487
# Symbols that must always be exported.
 
12488
include_expsyms=$lt_include_expsyms
 
12489
 
 
12490
# Commands necessary for linking programs (against libraries) with templates.
 
12491
prelink_cmds=$lt_prelink_cmds
 
12492
 
 
12493
# Specify filename containing input files.
 
12494
file_list_spec=$lt_file_list_spec
 
12495
 
 
12496
# How to hardcode a shared library path into an executable.
 
12497
hardcode_action=$hardcode_action
 
12498
 
 
12499
# ### END LIBTOOL CONFIG
 
12500
 
 
12501
_LT_EOF
 
12502
 
 
12503
  case $host_os in
 
12504
  aix3*)
 
12505
    cat <<\_LT_EOF >> "$cfgfile"
 
12506
# AIX sometimes has problems with the GCC collect2 program.  For some
 
12507
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
12508
# vanish in a puff of smoke.
 
12509
if test "X${COLLECT_NAMES+set}" != Xset; then
 
12510
  COLLECT_NAMES=
 
12511
  export COLLECT_NAMES
 
12512
fi
 
12513
_LT_EOF
 
12514
    ;;
 
12515
  esac
 
12516
 
 
12517
 
 
12518
ltmain="$ac_aux_dir/ltmain.sh"
 
12519
 
 
12520
 
 
12521
  # We use sed instead of cat because bash on DJGPP gets confused if
 
12522
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
12523
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
12524
  # is reportedly fixed, but why not run on old versions too?
 
12525
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
12526
    || (rm -f "$cfgfile"; exit 1)
 
12527
 
 
12528
  case $xsi_shell in
 
12529
  yes)
 
12530
    cat << \_LT_EOF >> "$cfgfile"
 
12531
 
 
12532
# func_dirname file append nondir_replacement
 
12533
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
12534
# otherwise set result to NONDIR_REPLACEMENT.
 
12535
func_dirname ()
 
12536
{
 
12537
  case ${1} in
 
12538
    */*) func_dirname_result="${1%/*}${2}" ;;
 
12539
    *  ) func_dirname_result="${3}" ;;
 
12540
  esac
 
12541
}
 
12542
 
 
12543
# func_basename file
 
12544
func_basename ()
 
12545
{
 
12546
  func_basename_result="${1##*/}"
 
12547
}
 
12548
 
 
12549
# func_dirname_and_basename file append nondir_replacement
 
12550
# perform func_basename and func_dirname in a single function
 
12551
# call:
 
12552
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
12553
#             add APPEND to the result, otherwise set result
 
12554
#             to NONDIR_REPLACEMENT.
 
12555
#             value returned in "$func_dirname_result"
 
12556
#   basename: Compute filename of FILE.
 
12557
#             value retuned in "$func_basename_result"
 
12558
# Implementation must be kept synchronized with func_dirname
 
12559
# and func_basename. For efficiency, we do not delegate to
 
12560
# those functions but instead duplicate the functionality here.
 
12561
func_dirname_and_basename ()
 
12562
{
 
12563
  case ${1} in
 
12564
    */*) func_dirname_result="${1%/*}${2}" ;;
 
12565
    *  ) func_dirname_result="${3}" ;;
 
12566
  esac
 
12567
  func_basename_result="${1##*/}"
 
12568
}
 
12569
 
 
12570
# func_stripname prefix suffix name
 
12571
# strip PREFIX and SUFFIX off of NAME.
 
12572
# PREFIX and SUFFIX must not contain globbing or regex special
 
12573
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
12574
# dot (in which case that matches only a dot).
 
12575
func_stripname ()
 
12576
{
 
12577
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
12578
  # positional parameters, so assign one to ordinary parameter first.
 
12579
  func_stripname_result=${3}
 
12580
  func_stripname_result=${func_stripname_result#"${1}"}
 
12581
  func_stripname_result=${func_stripname_result%"${2}"}
 
12582
}
 
12583
 
 
12584
# func_opt_split
 
12585
func_opt_split ()
 
12586
{
 
12587
  func_opt_split_opt=${1%%=*}
 
12588
  func_opt_split_arg=${1#*=}
 
12589
}
 
12590
 
 
12591
# func_lo2o object
 
12592
func_lo2o ()
 
12593
{
 
12594
  case ${1} in
 
12595
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
12596
    *)    func_lo2o_result=${1} ;;
 
12597
  esac
 
12598
}
 
12599
 
 
12600
# func_xform libobj-or-source
 
12601
func_xform ()
 
12602
{
 
12603
  func_xform_result=${1%.*}.lo
 
12604
}
 
12605
 
 
12606
# func_arith arithmetic-term...
 
12607
func_arith ()
 
12608
{
 
12609
  func_arith_result=$(( $* ))
 
12610
}
 
12611
 
 
12612
# func_len string
 
12613
# STRING may not start with a hyphen.
 
12614
func_len ()
 
12615
{
 
12616
  func_len_result=${#1}
 
12617
}
 
12618
 
 
12619
_LT_EOF
 
12620
    ;;
 
12621
  *) # Bourne compatible functions.
 
12622
    cat << \_LT_EOF >> "$cfgfile"
 
12623
 
 
12624
# func_dirname file append nondir_replacement
 
12625
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
12626
# otherwise set result to NONDIR_REPLACEMENT.
 
12627
func_dirname ()
 
12628
{
 
12629
  # Extract subdirectory from the argument.
 
12630
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
12631
  if test "X$func_dirname_result" = "X${1}"; then
 
12632
    func_dirname_result="${3}"
 
12633
  else
 
12634
    func_dirname_result="$func_dirname_result${2}"
 
12635
  fi
 
12636
}
 
12637
 
 
12638
# func_basename file
 
12639
func_basename ()
 
12640
{
 
12641
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
12642
}
 
12643
 
 
12644
 
 
12645
# func_stripname prefix suffix name
 
12646
# strip PREFIX and SUFFIX off of NAME.
 
12647
# PREFIX and SUFFIX must not contain globbing or regex special
 
12648
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
12649
# dot (in which case that matches only a dot).
 
12650
# func_strip_suffix prefix name
 
12651
func_stripname ()
 
12652
{
 
12653
  case ${2} in
 
12654
    .*) func_stripname_result=`$ECHO "X${3}" \
 
12655
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
12656
    *)  func_stripname_result=`$ECHO "X${3}" \
 
12657
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
12658
  esac
 
12659
}
 
12660
 
 
12661
# sed scripts:
 
12662
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
12663
my_sed_long_arg='1s/^-[^=]*=//'
 
12664
 
 
12665
# func_opt_split
 
12666
func_opt_split ()
 
12667
{
 
12668
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
12669
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
12670
}
 
12671
 
 
12672
# func_lo2o object
 
12673
func_lo2o ()
 
12674
{
 
12675
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
12676
}
 
12677
 
 
12678
# func_xform libobj-or-source
 
12679
func_xform ()
 
12680
{
 
12681
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
12682
}
 
12683
 
 
12684
# func_arith arithmetic-term...
 
12685
func_arith ()
 
12686
{
 
12687
  func_arith_result=`expr "$@"`
 
12688
}
 
12689
 
 
12690
# func_len string
 
12691
# STRING may not start with a hyphen.
 
12692
func_len ()
 
12693
{
 
12694
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
12695
}
 
12696
 
 
12697
_LT_EOF
 
12698
esac
 
12699
 
 
12700
case $lt_shell_append in
 
12701
  yes)
 
12702
    cat << \_LT_EOF >> "$cfgfile"
 
12703
 
 
12704
# func_append var value
 
12705
# Append VALUE to the end of shell variable VAR.
 
12706
func_append ()
 
12707
{
 
12708
  eval "$1+=\$2"
 
12709
}
 
12710
_LT_EOF
 
12711
    ;;
 
12712
  *)
 
12713
    cat << \_LT_EOF >> "$cfgfile"
 
12714
 
 
12715
# func_append var value
 
12716
# Append VALUE to the end of shell variable VAR.
 
12717
func_append ()
 
12718
{
 
12719
  eval "$1=\$$1\$2"
 
12720
}
 
12721
 
 
12722
_LT_EOF
 
12723
    ;;
 
12724
  esac
 
12725
 
 
12726
 
 
12727
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
12728
    || (rm -f "$cfgfile"; exit 1)
 
12729
 
 
12730
  mv -f "$cfgfile" "$ofile" ||
 
12731
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
12732
  chmod +x "$ofile"
 
12733
 
21365
12734
 ;;
21366
12735
 
21367
12736
  esac
21368
12737
done # for ac_tag
21369
12738
 
21370
12739
 
21371
 
{ (exit 0); exit 0; }
 
12740
as_fn_exit 0
21372
12741
_ACEOF
21373
 
chmod +x $CONFIG_STATUS
21374
12742
ac_clean_files=$ac_clean_files_save
21375
12743
 
 
12744
test $ac_write_fail = 0 ||
 
12745
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
12746
 
21376
12747
 
21377
12748
# configure is writing to config.log, and then calls config.status.
21378
12749
# config.status does its own redirection, appending to config.log.
21392
12763
  exec 5>>config.log
21393
12764
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21394
12765
  # would make configure fail if this is the last instruction.
21395
 
  $ac_cs_success || { (exit 1); exit 1; }
 
12766
  $ac_cs_success || as_fn_exit $?
 
12767
fi
 
12768
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
12769
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
12770
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21396
12771
fi
21397
12772
 
21398
12773