~ubuntu-branches/ubuntu/quantal/globus-gram-job-manager-fork/quantal

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Mattias Ellert
  • Date: 2012-04-30 06:05:06 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120430060506-tygxunwoloic0nbu
Tags: 1.5-1
* Update to Globus Toolkit 5.2.1
* Drop patch globus-gram-job-manager-fork-desc.patch (fixed upstream)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
 
# From configure.in Revision: 1.3 .
 
2
# From configure.in Revision: 1.3.8.2 .
3
3
# Guess values for system-dependent variables and create Makefiles.
4
 
# Generated by GNU Autoconf 2.59.
 
4
# Generated by GNU Autoconf 2.63.
5
5
#
6
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7
8
# This configure script is free software; the Free Software Foundation
8
9
# gives unlimited permission to copy, distribute and modify it.
9
10
## --------------------- ##
10
11
## M4sh Initialization.  ##
11
12
## --------------------- ##
12
13
 
13
 
# Be Bourne compatible
14
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15
 
  emulate sh
16
 
  NULLCMD=:
17
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18
 
  # is contrary to our usage.  Disable this feature.
19
 
  alias -g '${1+"$@"}'='"$@"'
20
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21
 
  set -o posix
22
 
fi
 
14
# Be more Bourne compatible
23
15
DUALCASE=1; export DUALCASE # for MKS sh
 
16
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
17
  emulate sh
 
18
  NULLCMD=:
 
19
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
20
  # is contrary to our usage.  Disable this feature.
 
21
  alias -g '${1+"$@"}'='"$@"'
 
22
  setopt NO_GLOB_SUBST
 
23
else
 
24
  case `(set -o) 2>/dev/null` in
 
25
  *posix*) set -o posix ;;
 
26
esac
 
27
 
 
28
fi
 
29
 
 
30
 
 
31
 
 
32
 
 
33
# PATH needs CR
 
34
# Avoid depending upon Character Ranges.
 
35
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
36
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
37
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
38
as_cr_digits='0123456789'
 
39
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
40
 
 
41
as_nl='
 
42
'
 
43
export as_nl
 
44
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
45
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
48
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='printf %s\n'
 
50
  as_echo_n='printf %s'
 
51
else
 
52
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
53
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
54
    as_echo_n='/usr/ucb/echo -n'
 
55
  else
 
56
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
57
    as_echo_n_body='eval
 
58
      arg=$1;
 
59
      case $arg in
 
60
      *"$as_nl"*)
 
61
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
62
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
63
      esac;
 
64
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
65
    '
 
66
    export as_echo_n_body
 
67
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
68
  fi
 
69
  export as_echo_body
 
70
  as_echo='sh -c $as_echo_body as_echo'
 
71
fi
 
72
 
 
73
# The user is always right.
 
74
if test "${PATH_SEPARATOR+set}" != set; then
 
75
  PATH_SEPARATOR=:
 
76
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
77
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
78
      PATH_SEPARATOR=';'
 
79
  }
 
80
fi
24
81
 
25
82
# Support unset when possible.
26
83
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
30
87
fi
31
88
 
32
89
 
 
90
# IFS
 
91
# We need space, tab and new line, in precisely that order.  Quoting is
 
92
# there to prevent editors from complaining about space-tab.
 
93
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
94
# splitting by setting IFS to empty value.)
 
95
IFS=" ""        $as_nl"
 
96
 
 
97
# Find who we are.  Look in the path if we contain no directory separator.
 
98
case $0 in
 
99
  *[\\/]* ) as_myself=$0 ;;
 
100
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
101
for as_dir in $PATH
 
102
do
 
103
  IFS=$as_save_IFS
 
104
  test -z "$as_dir" && as_dir=.
 
105
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
106
done
 
107
IFS=$as_save_IFS
 
108
 
 
109
     ;;
 
110
esac
 
111
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
112
# in which case we are not to be found in the path.
 
113
if test "x$as_myself" = x; then
 
114
  as_myself=$0
 
115
fi
 
116
if test ! -f "$as_myself"; then
 
117
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
118
  { (exit 1); exit 1; }
 
119
fi
 
120
 
33
121
# Work around bugs in pre-3.0 UWIN ksh.
34
 
$as_unset ENV MAIL MAILPATH
 
122
for as_var in ENV MAIL MAILPATH
 
123
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
124
done
35
125
PS1='$ '
36
126
PS2='> '
37
127
PS4='+ '
38
128
 
39
129
# NLS nuisances.
40
 
for as_var in \
41
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43
 
  LC_TELEPHONE LC_TIME
44
 
do
45
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46
 
    eval $as_var=C; export $as_var
47
 
  else
48
 
    $as_unset $as_var
49
 
  fi
50
 
done
 
130
LC_ALL=C
 
131
export LC_ALL
 
132
LANGUAGE=C
 
133
export LANGUAGE
51
134
 
52
135
# Required to use basename.
53
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
136
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
137
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
54
138
  as_expr=expr
55
139
else
56
140
  as_expr=false
57
141
fi
58
142
 
59
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
143
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
60
144
  as_basename=basename
61
145
else
62
146
  as_basename=false
64
148
 
65
149
 
66
150
# Name of the executable.
67
 
as_me=`$as_basename "$0" ||
 
151
as_me=`$as_basename -- "$0" ||
68
152
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69
153
         X"$0" : 'X\(//\)$' \| \
70
 
         X"$0" : 'X\(/\)$' \| \
71
 
         .     : '\(.\)' 2>/dev/null ||
72
 
echo X/"$0" |
73
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
74
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
75
 
          /^X\/\(\/\).*/{ s//\1/; q; }
76
 
          s/.*/./; q'`
77
 
 
78
 
 
79
 
# PATH needs CR, and LINENO needs CR and PATH.
80
 
# Avoid depending upon Character Ranges.
81
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
84
 
as_cr_digits='0123456789'
85
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
86
 
 
87
 
# The user is always right.
88
 
if test "${PATH_SEPARATOR+set}" != set; then
89
 
  echo "#! /bin/sh" >conf$$.sh
90
 
  echo  "exit 0"   >>conf$$.sh
91
 
  chmod +x conf$$.sh
92
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
93
 
    PATH_SEPARATOR=';'
94
 
  else
95
 
    PATH_SEPARATOR=:
96
 
  fi
97
 
  rm -f conf$$.sh
98
 
fi
99
 
 
100
 
 
101
 
  as_lineno_1=$LINENO
102
 
  as_lineno_2=$LINENO
103
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
104
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
105
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
106
 
  # Find who we are.  Look in the path if we contain no path at all
107
 
  # relative or not.
108
 
  case $0 in
109
 
    *[\\/]* ) as_myself=$0 ;;
110
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
111
 
for as_dir in $PATH
112
 
do
113
 
  IFS=$as_save_IFS
114
 
  test -z "$as_dir" && as_dir=.
115
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116
 
done
117
 
 
118
 
       ;;
119
 
  esac
120
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
121
 
  # in which case we are not to be found in the path.
122
 
  if test "x$as_myself" = x; then
123
 
    as_myself=$0
124
 
  fi
125
 
  if test ! -f "$as_myself"; then
126
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
127
 
   { (exit 1); exit 1; }; }
128
 
  fi
129
 
  case $CONFIG_SHELL in
130
 
  '')
 
154
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
155
$as_echo X/"$0" |
 
156
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
157
            s//\1/
 
158
            q
 
159
          }
 
160
          /^X\/\(\/\/\)$/{
 
161
            s//\1/
 
162
            q
 
163
          }
 
164
          /^X\/\(\/\).*/{
 
165
            s//\1/
 
166
            q
 
167
          }
 
168
          s/.*/./; q'`
 
169
 
 
170
# CDPATH.
 
171
$as_unset CDPATH
 
172
 
 
173
 
 
174
if test "x$CONFIG_SHELL" = x; then
 
175
  if (eval ":") 2>/dev/null; then
 
176
  as_have_required=yes
 
177
else
 
178
  as_have_required=no
 
179
fi
 
180
 
 
181
  if test $as_have_required = yes &&     (eval ":
 
182
(as_func_return () {
 
183
  (exit \$1)
 
184
}
 
185
as_func_success () {
 
186
  as_func_return 0
 
187
}
 
188
as_func_failure () {
 
189
  as_func_return 1
 
190
}
 
191
as_func_ret_success () {
 
192
  return 0
 
193
}
 
194
as_func_ret_failure () {
 
195
  return 1
 
196
}
 
197
 
 
198
exitcode=0
 
199
if as_func_success; then
 
200
  :
 
201
else
 
202
  exitcode=1
 
203
  echo as_func_success failed.
 
204
fi
 
205
 
 
206
if as_func_failure; then
 
207
  exitcode=1
 
208
  echo as_func_failure succeeded.
 
209
fi
 
210
 
 
211
if as_func_ret_success; then
 
212
  :
 
213
else
 
214
  exitcode=1
 
215
  echo as_func_ret_success failed.
 
216
fi
 
217
 
 
218
if as_func_ret_failure; then
 
219
  exitcode=1
 
220
  echo as_func_ret_failure succeeded.
 
221
fi
 
222
 
 
223
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
224
  :
 
225
else
 
226
  exitcode=1
 
227
  echo positional parameters were not saved.
 
228
fi
 
229
 
 
230
test \$exitcode = 0) || { (exit 1); exit 1; }
 
231
 
 
232
(
 
233
  as_lineno_1=\$LINENO
 
234
  as_lineno_2=\$LINENO
 
235
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
236
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
237
") 2> /dev/null; then
 
238
  :
 
239
else
 
240
  as_candidate_shells=
131
241
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
132
242
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133
243
do
134
244
  IFS=$as_save_IFS
135
245
  test -z "$as_dir" && as_dir=.
136
 
  for as_base in sh bash ksh sh5; do
137
 
         case $as_dir in
 
246
  case $as_dir in
138
247
         /*)
139
 
           if ("$as_dir/$as_base" -c '
140
 
  as_lineno_1=$LINENO
141
 
  as_lineno_2=$LINENO
142
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
144
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
145
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
146
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
147
 
             CONFIG_SHELL=$as_dir/$as_base
148
 
             export CONFIG_SHELL
149
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
150
 
           fi;;
151
 
         esac
152
 
       done
 
248
           for as_base in sh bash ksh sh5; do
 
249
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
250
           done;;
 
251
       esac
153
252
done
154
 
;;
155
 
  esac
 
253
IFS=$as_save_IFS
 
254
 
 
255
 
 
256
      for as_shell in $as_candidate_shells $SHELL; do
 
257
         # Try only shells that exist, to save several forks.
 
258
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
259
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
260
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
261
  emulate sh
 
262
  NULLCMD=:
 
263
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
264
  # is contrary to our usage.  Disable this feature.
 
265
  alias -g '${1+"$@"}'='"$@"'
 
266
  setopt NO_GLOB_SUBST
 
267
else
 
268
  case `(set -o) 2>/dev/null` in
 
269
  *posix*) set -o posix ;;
 
270
esac
 
271
 
 
272
fi
 
273
 
 
274
 
 
275
:
 
276
_ASEOF
 
277
}; then
 
278
  CONFIG_SHELL=$as_shell
 
279
               as_have_required=yes
 
280
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
281
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
282
  emulate sh
 
283
  NULLCMD=:
 
284
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
285
  # is contrary to our usage.  Disable this feature.
 
286
  alias -g '${1+"$@"}'='"$@"'
 
287
  setopt NO_GLOB_SUBST
 
288
else
 
289
  case `(set -o) 2>/dev/null` in
 
290
  *posix*) set -o posix ;;
 
291
esac
 
292
 
 
293
fi
 
294
 
 
295
 
 
296
:
 
297
(as_func_return () {
 
298
  (exit $1)
 
299
}
 
300
as_func_success () {
 
301
  as_func_return 0
 
302
}
 
303
as_func_failure () {
 
304
  as_func_return 1
 
305
}
 
306
as_func_ret_success () {
 
307
  return 0
 
308
}
 
309
as_func_ret_failure () {
 
310
  return 1
 
311
}
 
312
 
 
313
exitcode=0
 
314
if as_func_success; then
 
315
  :
 
316
else
 
317
  exitcode=1
 
318
  echo as_func_success failed.
 
319
fi
 
320
 
 
321
if as_func_failure; then
 
322
  exitcode=1
 
323
  echo as_func_failure succeeded.
 
324
fi
 
325
 
 
326
if as_func_ret_success; then
 
327
  :
 
328
else
 
329
  exitcode=1
 
330
  echo as_func_ret_success failed.
 
331
fi
 
332
 
 
333
if as_func_ret_failure; then
 
334
  exitcode=1
 
335
  echo as_func_ret_failure succeeded.
 
336
fi
 
337
 
 
338
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
339
  :
 
340
else
 
341
  exitcode=1
 
342
  echo positional parameters were not saved.
 
343
fi
 
344
 
 
345
test $exitcode = 0) || { (exit 1); exit 1; }
 
346
 
 
347
(
 
348
  as_lineno_1=$LINENO
 
349
  as_lineno_2=$LINENO
 
350
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
351
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
352
 
 
353
_ASEOF
 
354
}; then
 
355
  break
 
356
fi
 
357
 
 
358
fi
 
359
 
 
360
      done
 
361
 
 
362
      if test "x$CONFIG_SHELL" != x; then
 
363
  for as_var in BASH_ENV ENV
 
364
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
365
        done
 
366
        export CONFIG_SHELL
 
367
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
368
fi
 
369
 
 
370
 
 
371
    if test $as_have_required = no; then
 
372
  echo This script requires a shell more modern than all the
 
373
      echo shells that I found on your system.  Please install a
 
374
      echo modern shell, or manually run the script under such a
 
375
      echo shell if you do have one.
 
376
      { (exit 1); exit 1; }
 
377
fi
 
378
 
 
379
 
 
380
fi
 
381
 
 
382
fi
 
383
 
 
384
 
 
385
 
 
386
(eval "as_func_return () {
 
387
  (exit \$1)
 
388
}
 
389
as_func_success () {
 
390
  as_func_return 0
 
391
}
 
392
as_func_failure () {
 
393
  as_func_return 1
 
394
}
 
395
as_func_ret_success () {
 
396
  return 0
 
397
}
 
398
as_func_ret_failure () {
 
399
  return 1
 
400
}
 
401
 
 
402
exitcode=0
 
403
if as_func_success; then
 
404
  :
 
405
else
 
406
  exitcode=1
 
407
  echo as_func_success failed.
 
408
fi
 
409
 
 
410
if as_func_failure; then
 
411
  exitcode=1
 
412
  echo as_func_failure succeeded.
 
413
fi
 
414
 
 
415
if as_func_ret_success; then
 
416
  :
 
417
else
 
418
  exitcode=1
 
419
  echo as_func_ret_success failed.
 
420
fi
 
421
 
 
422
if as_func_ret_failure; then
 
423
  exitcode=1
 
424
  echo as_func_ret_failure succeeded.
 
425
fi
 
426
 
 
427
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
428
  :
 
429
else
 
430
  exitcode=1
 
431
  echo positional parameters were not saved.
 
432
fi
 
433
 
 
434
test \$exitcode = 0") || {
 
435
  echo No shell found that supports shell functions.
 
436
  echo Please tell bug-autoconf@gnu.org about your system,
 
437
  echo including any error possibly output before this message.
 
438
  echo This can help us improve future autoconf versions.
 
439
  echo Configuration will now proceed without shell functions.
 
440
}
 
441
 
 
442
 
 
443
 
 
444
  as_lineno_1=$LINENO
 
445
  as_lineno_2=$LINENO
 
446
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
447
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
156
448
 
157
449
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
158
450
  # uniformly replaced by the line number.  The first 'sed' inserts a
159
 
  # line-number line before each line; the second 'sed' does the real
160
 
  # work.  The second script uses 'N' to pair each line-number line
161
 
  # with the numbered line, and appends trailing '-' during
162
 
  # substitution so that $LINENO is not a special case at line end.
 
451
  # line-number line after each line using $LINENO; the second 'sed'
 
452
  # does the real work.  The second script uses 'N' to pair each
 
453
  # line-number line with the line containing $LINENO, and appends
 
454
  # trailing '-' during substitution so that $LINENO is not a special
 
455
  # case at line end.
163
456
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
164
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
165
 
  sed '=' <$as_myself |
 
457
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
458
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
459
  sed -n '
 
460
    p
 
461
    /[$]LINENO/=
 
462
  ' <$as_myself |
166
463
    sed '
 
464
      s/[$]LINENO.*/&-/
 
465
      t lineno
 
466
      b
 
467
      :lineno
167
468
      N
168
 
      s,$,-,
169
 
      : loop
170
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
469
      :loop
 
470
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
171
471
      t loop
172
 
      s,-$,,
173
 
      s,^['$as_cr_digits']*\n,,
 
472
      s/-\n.*//
174
473
    ' >$as_me.lineno &&
175
 
  chmod +x $as_me.lineno ||
176
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
474
  chmod +x "$as_me.lineno" ||
 
475
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
177
476
   { (exit 1); exit 1; }; }
178
477
 
179
478
  # Don't try to exec as it changes $[0], causing all sort of problems
180
479
  # (the dirname of $[0] is not the place where we might find the
181
 
  # original and so on.  Autoconf is especially sensible to this).
182
 
  . ./$as_me.lineno
 
480
  # original and so on.  Autoconf is especially sensitive to this).
 
481
  . "./$as_me.lineno"
183
482
  # Exit status is that of the last command.
184
483
  exit
185
484
}
186
485
 
187
486
 
188
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
189
 
  *c*,-n*) ECHO_N= ECHO_C='
190
 
' ECHO_T='      ' ;;
191
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
192
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
487
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
488
  as_dirname=dirname
 
489
else
 
490
  as_dirname=false
 
491
fi
 
492
 
 
493
ECHO_C= ECHO_N= ECHO_T=
 
494
case `echo -n x` in
 
495
-n*)
 
496
  case `echo 'x\c'` in
 
497
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
498
  *)   ECHO_C='\c';;
 
499
  esac;;
 
500
*)
 
501
  ECHO_N='-n';;
193
502
esac
194
 
 
195
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
503
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
504
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
196
505
  as_expr=expr
197
506
else
198
507
  as_expr=false
199
508
fi
200
509
 
201
510
rm -f conf$$ conf$$.exe conf$$.file
202
 
echo >conf$$.file
203
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
204
 
  # We could just check for DJGPP; but this test a) works b) is more generic
205
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
206
 
  if test -f conf$$.exe; then
207
 
    # Don't use ln at all; we don't have any links
 
511
if test -d conf$$.dir; then
 
512
  rm -f conf$$.dir/conf$$.file
 
513
else
 
514
  rm -f conf$$.dir
 
515
  mkdir conf$$.dir 2>/dev/null
 
516
fi
 
517
if (echo >conf$$.file) 2>/dev/null; then
 
518
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
519
    as_ln_s='ln -s'
 
520
    # ... but there are two gotchas:
 
521
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
522
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
523
    # In both cases, we have to default to `cp -p'.
 
524
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
525
      as_ln_s='cp -p'
 
526
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
527
    as_ln_s=ln
 
528
  else
208
529
    as_ln_s='cp -p'
209
 
  else
210
 
    as_ln_s='ln -s'
211
530
  fi
212
 
elif ln conf$$.file conf$$ 2>/dev/null; then
213
 
  as_ln_s=ln
214
531
else
215
532
  as_ln_s='cp -p'
216
533
fi
217
 
rm -f conf$$ conf$$.exe conf$$.file
 
534
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
535
rmdir conf$$.dir 2>/dev/null
218
536
 
219
537
if mkdir -p . 2>/dev/null; then
220
538
  as_mkdir_p=:
223
541
  as_mkdir_p=false
224
542
fi
225
543
 
226
 
as_executable_p="test -f"
 
544
if test -x / >/dev/null 2>&1; then
 
545
  as_test_x='test -x'
 
546
else
 
547
  if ls -dL / >/dev/null 2>&1; then
 
548
    as_ls_L_option=L
 
549
  else
 
550
    as_ls_L_option=
 
551
  fi
 
552
  as_test_x='
 
553
    eval sh -c '\''
 
554
      if test -d "$1"; then
 
555
        test -d "$1/.";
 
556
      else
 
557
        case $1 in
 
558
        -*)set "./$1";;
 
559
        esac;
 
560
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
561
        ???[sx]*):;;*)false;;esac;fi
 
562
    '\'' sh
 
563
  '
 
564
fi
 
565
as_executable_p=$as_test_x
227
566
 
228
567
# Sed expression to map a string onto a valid CPP name.
229
568
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
571
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
233
572
 
234
573
 
235
 
# IFS
236
 
# We need space, tab and new line, in precisely that order.
237
 
as_nl='
238
 
'
239
 
IFS="   $as_nl"
240
 
 
241
 
# CDPATH.
242
 
$as_unset CDPATH
243
 
 
244
574
 
245
575
 
246
576
# Check that we are running under the correct shell.
247
577
SHELL=${CONFIG_SHELL-/bin/sh}
248
578
 
249
 
case X$ECHO in
 
579
case X$lt_ECHO in
250
580
X*--fallback-echo)
251
581
  # Remove one level of quotation (which was required for Make).
252
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
582
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
253
583
  ;;
254
584
esac
255
585
 
256
 
echo=${ECHO-echo}
 
586
ECHO=${lt_ECHO-echo}
257
587
if test "X$1" = X--no-reexec; then
258
588
  # Discard the --no-reexec flag, and continue.
259
589
  shift
260
590
elif test "X$1" = X--fallback-echo; then
261
591
  # Avoid inline document here, it may be left over
262
592
  :
263
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
264
 
  # Yippee, $echo works!
 
593
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
594
  # Yippee, $ECHO works!
265
595
  :
266
596
else
267
597
  # Restart under the correct shell.
271
601
if test "X$1" = X--fallback-echo; then
272
602
  # used as fallback echo
273
603
  shift
274
 
  cat <<EOF
 
604
  cat <<_LT_EOF
275
605
$*
276
 
EOF
 
606
_LT_EOF
277
607
  exit 0
278
608
fi
279
609
 
281
611
# if CDPATH is set.
282
612
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
283
613
 
284
 
if test -z "$ECHO"; then
285
 
if test "X${echo_test_string+set}" != Xset; then
286
 
# find a string as large as possible, as long as the shell can cope with it
287
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
288
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
289
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
290
 
       echo_test_string=`eval $cmd` &&
291
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
292
 
    then
293
 
      break
294
 
    fi
295
 
  done
296
 
fi
297
 
 
298
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
299
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
300
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
301
 
  :
302
 
else
303
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
304
 
  # backslashes.  This makes it impossible to quote backslashes using
305
 
  #   echo "$something" | sed 's/\\/\\\\/g'
306
 
  #
307
 
  # So, first we look for a working echo in the user's PATH.
308
 
 
309
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
310
 
  for dir in $PATH /usr/ucb; do
 
614
if test -z "$lt_ECHO"; then
 
615
  if test "X${echo_test_string+set}" != Xset; then
 
616
    # find a string as large as possible, as long as the shell can cope with it
 
617
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
618
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
619
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
620
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
621
      then
 
622
        break
 
623
      fi
 
624
    done
 
625
  fi
 
626
 
 
627
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
628
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
629
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
630
    :
 
631
  else
 
632
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
633
    # backslashes.  This makes it impossible to quote backslashes using
 
634
    #   echo "$something" | sed 's/\\/\\\\/g'
 
635
    #
 
636
    # So, first we look for a working echo in the user's PATH.
 
637
 
 
638
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
639
    for dir in $PATH /usr/ucb; do
 
640
      IFS="$lt_save_ifs"
 
641
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
642
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
643
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
644
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
645
        ECHO="$dir/echo"
 
646
        break
 
647
      fi
 
648
    done
311
649
    IFS="$lt_save_ifs"
312
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
313
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
314
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
315
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
316
 
      echo="$dir/echo"
317
 
      break
318
 
    fi
319
 
  done
320
 
  IFS="$lt_save_ifs"
321
650
 
322
 
  if test "X$echo" = Xecho; then
323
 
    # We didn't find a better echo, so look for alternatives.
324
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
325
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
326
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
327
 
      # This shell has a builtin print -r that does the trick.
328
 
      echo='print -r'
329
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
330
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
331
 
      # If we have ksh, try running configure again with it.
332
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
333
 
      export ORIGINAL_CONFIG_SHELL
334
 
      CONFIG_SHELL=/bin/ksh
335
 
      export CONFIG_SHELL
336
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
337
 
    else
338
 
      # Try using printf.
339
 
      echo='printf %s\n'
340
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
341
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
342
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
343
 
        # Cool, printf works
344
 
        :
345
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
346
 
           test "X$echo_testing_string" = 'X\t' &&
347
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
348
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
349
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
350
 
        export CONFIG_SHELL
351
 
        SHELL="$CONFIG_SHELL"
352
 
        export SHELL
353
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
354
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
355
 
           test "X$echo_testing_string" = 'X\t' &&
356
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
357
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
358
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
651
    if test "X$ECHO" = Xecho; then
 
652
      # We didn't find a better echo, so look for alternatives.
 
653
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
654
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
655
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
656
        # This shell has a builtin print -r that does the trick.
 
657
        ECHO='print -r'
 
658
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
659
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
660
        # If we have ksh, try running configure again with it.
 
661
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
662
        export ORIGINAL_CONFIG_SHELL
 
663
        CONFIG_SHELL=/bin/ksh
 
664
        export CONFIG_SHELL
 
665
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
359
666
      else
360
 
        # maybe with a smaller string...
361
 
        prev=:
362
 
 
363
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
364
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
365
 
          then
366
 
            break
 
667
        # Try using printf.
 
668
        ECHO='printf %s\n'
 
669
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
670
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
671
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
672
          # Cool, printf works
 
673
          :
 
674
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
675
             test "X$echo_testing_string" = 'X\t' &&
 
676
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
677
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
678
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
679
          export CONFIG_SHELL
 
680
          SHELL="$CONFIG_SHELL"
 
681
          export SHELL
 
682
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
683
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
684
             test "X$echo_testing_string" = 'X\t' &&
 
685
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
686
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
687
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
688
        else
 
689
          # maybe with a smaller string...
 
690
          prev=:
 
691
 
 
692
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
693
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
694
            then
 
695
              break
 
696
            fi
 
697
            prev="$cmd"
 
698
          done
 
699
 
 
700
          if test "$prev" != 'sed 50q "$0"'; then
 
701
            echo_test_string=`eval $prev`
 
702
            export echo_test_string
 
703
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
704
          else
 
705
            # Oops.  We lost completely, so just stick with echo.
 
706
            ECHO=echo
367
707
          fi
368
 
          prev="$cmd"
369
 
        done
370
 
 
371
 
        if test "$prev" != 'sed 50q "$0"'; then
372
 
          echo_test_string=`eval $prev`
373
 
          export echo_test_string
374
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
375
 
        else
376
 
          # Oops.  We lost completely, so just stick with echo.
377
 
          echo=echo
378
 
        fi
 
708
        fi
379
709
      fi
380
710
    fi
381
711
  fi
382
712
fi
383
 
fi
384
713
 
385
714
# Copy echo and quote the copy suitably for passing to libtool from
386
715
# the Makefile, instead of quoting the original, which is used later.
387
 
ECHO=$echo
388
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
389
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
716
lt_ECHO=$ECHO
 
717
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
718
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
390
719
fi
391
720
 
392
721
 
393
722
 
394
723
 
395
 
tagnames=${tagnames+${tagnames},}CXX
396
 
 
397
 
tagnames=${tagnames+${tagnames},}F77
 
724
exec 7<&0 </dev/null 6>&1
398
725
 
399
726
# Name of the host.
400
727
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
401
728
# so uname gets run too.
402
729
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
403
730
 
404
 
exec 6>&1
405
 
 
406
731
#
407
732
# Initializations.
408
733
#
409
734
ac_default_prefix=/usr/local
 
735
ac_clean_files=
410
736
ac_config_libobj_dir=.
 
737
LIBOBJS=
411
738
cross_compiling=no
412
739
subdirs=
413
740
MFLAGS=
414
741
MAKEFLAGS=
415
742
SHELL=${CONFIG_SHELL-/bin/sh}
416
743
 
417
 
# Maximum number of lines to put in a shell here document.
418
 
# This variable seems obsolete.  It should probably be removed, and
419
 
# only ac_max_sed_lines should be used.
420
 
: ${ac_max_here_lines=38}
421
 
 
422
744
# Identity of this package.
423
745
PACKAGE_NAME=
424
746
PACKAGE_TARNAME=
431
753
# Factoring default headers for most tests.
432
754
ac_includes_default="\
433
755
#include <stdio.h>
434
 
#if HAVE_SYS_TYPES_H
 
756
#ifdef HAVE_SYS_TYPES_H
435
757
# include <sys/types.h>
436
758
#endif
437
 
#if HAVE_SYS_STAT_H
 
759
#ifdef HAVE_SYS_STAT_H
438
760
# include <sys/stat.h>
439
761
#endif
440
 
#if STDC_HEADERS
 
762
#ifdef STDC_HEADERS
441
763
# include <stdlib.h>
442
764
# include <stddef.h>
443
765
#else
444
 
# if HAVE_STDLIB_H
 
766
# ifdef HAVE_STDLIB_H
445
767
#  include <stdlib.h>
446
768
# endif
447
769
#endif
448
 
#if HAVE_STRING_H
449
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
770
#ifdef HAVE_STRING_H
 
771
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
450
772
#  include <memory.h>
451
773
# endif
452
774
# include <string.h>
453
775
#endif
454
 
#if HAVE_STRINGS_H
 
776
#ifdef HAVE_STRINGS_H
455
777
# include <strings.h>
456
778
#endif
457
 
#if HAVE_INTTYPES_H
 
779
#ifdef HAVE_INTTYPES_H
458
780
# include <inttypes.h>
459
 
#else
460
 
# if HAVE_STDINT_H
461
 
#  include <stdint.h>
462
 
# endif
463
 
#endif
464
 
#if HAVE_UNISTD_H
 
781
#endif
 
782
#ifdef HAVE_STDINT_H
 
783
# include <stdint.h>
 
784
#endif
 
785
#ifdef HAVE_UNISTD_H
465
786
# include <unistd.h>
466
787
#endif"
467
788
 
468
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT docdir GPT_LOCATION GPT_PKGCONFIG_DEPENDENCIES GPT_IS_2 GPT_CFLAGS GPT_PKG_CFLAGS GPT_INCLUDES GPT_EXTERNAL_INCLUDES GPT_EXTERNAL_LIBS GPT_LIBS GPT_LDFLAGS GPT_CONFIG_CFLAGS GPT_CONFIG_INCLUDES GPT_CONFIG_LIBS GPT_CONFIG_PKG_LIBS GPT_PGM_LINKS GPT_LIB_LINKS GPT_LINKTYPE builddir pkgconfdir pkgconffile pkgconffile_in WITHOUT_FLAVORS_TRUE WITHOUT_FLAVORS_FALSE GLOBUS_FLAVOR_NAME datarootdir CC CPP CFLAGS CPPFLAGS LD LDFLAGS CXX CXXCPP CXXFLAGS INSURE DOXYGEN F77 F77FLAGS F90 F90FLAGS AR ARFLAGS RANLIB PERL CROSS cross_compiling OBJEXT EXEEXT OBJECT_MODE setupdir testdir flavorincludedir pkgdir aclocaldir perlmoduledir doxygendir FILELIST_FILE GPT_MAJOR_VERSION GPT_MINOR_VERSION GPT_AGE_VERSION DIRT_TIMESTAMP DIRT_BRANCH_ID ENABLE_PROGRAMS_TRUE ENABLE_PROGRAMS_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os ac_ct_CC SED EGREP LN_S ECHO ac_ct_AR ac_ct_RANLIB STRIP ac_ct_STRIP ac_ct_CXX FFLAGS ac_ct_F77 LIBTOOL INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE DOXYFILE DOT HAVE_DOT lac_doxygen_srcdirs lac_doxygen_input_filter lac_doxygen_project lac_doxygen_output_tagfile lac_doxygen_tagfiles lac_doxygen_internal_tagfiles lac_doxygen_installdox lac_doxygen_file_patterns lac_doxygen_examples lac_doxygen_predefines MPIEXEC MPIRUN SOFTENV_DIR XSLTPROC XMLLINT XML_CATALOG_PATH globusstatedir SEG_CLAUSE SEG_ENABLED_COND_TRUE SEG_ENABLED_COND_FALSE GENERATE_MANPAGES_TRUE GENERATE_MANPAGES_FALSE LIBOBJS LTLIBOBJS'
469
 
ac_subst_files='GLOBUS_LIBDIR_CHOICE GLOBUS_PERL_LIBDIR_CHOICE GLOBUS_SCRIPT_INITIALIZER GLOBUS_PERL_INITIALIZER'
 
789
ac_subst_vars='am__EXEEXT_FALSE
 
790
am__EXEEXT_TRUE
 
791
LTLIBOBJS
 
792
LIBOBJS
 
793
GENERATE_MANPAGES_FALSE
 
794
GENERATE_MANPAGES_TRUE
 
795
SEG_ENABLED_COND_FALSE
 
796
SEG_ENABLED_COND_TRUE
 
797
SEG_CLAUSE
 
798
globusstatedir
 
799
XML_CATALOG_PATH
 
800
XMLLINT
 
801
XSLTPROC
 
802
SOFTENV_DIR
 
803
MPIRUN
 
804
MPIEXEC
 
805
lac_doxygen_predefines
 
806
lac_doxygen_examples
 
807
lac_doxygen_file_patterns
 
808
lac_doxygen_installdox
 
809
lac_doxygen_internal_tagfiles
 
810
lac_doxygen_tagfiles
 
811
lac_doxygen_output_tagfile
 
812
lac_doxygen_project
 
813
lac_doxygen_input_filter
 
814
lac_doxygen_srcdirs
 
815
HAVE_DOT
 
816
DOT
 
817
DOXYFILE
 
818
am__fastdepCC_FALSE
 
819
am__fastdepCC_TRUE
 
820
CCDEPMODE
 
821
AMDEPBACKSLASH
 
822
AMDEP_FALSE
 
823
AMDEP_TRUE
 
824
am__quote
 
825
am__include
 
826
DEPDIR
 
827
am__untar
 
828
am__tar
 
829
AMTAR
 
830
am__leading_dot
 
831
SET_MAKE
 
832
AWK
 
833
mkdir_p
 
834
MKDIR_P
 
835
INSTALL_STRIP_PROGRAM
 
836
install_sh
 
837
MAKEINFO
 
838
AUTOHEADER
 
839
AUTOMAKE
 
840
AUTOCONF
 
841
ACLOCAL
 
842
VERSION
 
843
PACKAGE
 
844
CYGPATH_W
 
845
am__isrc
 
846
INSTALL_DATA
 
847
INSTALL_SCRIPT
 
848
INSTALL_PROGRAM
 
849
OTOOL64
 
850
OTOOL
 
851
LIPO
 
852
NMEDIT
 
853
DSYMUTIL
 
854
lt_ECHO
 
855
STRIP
 
856
OBJDUMP
 
857
LN_S
 
858
NM
 
859
ac_ct_DUMPBIN
 
860
DUMPBIN
 
861
FGREP
 
862
EGREP
 
863
GREP
 
864
SED
 
865
ac_ct_CC
 
866
host_os
 
867
host_vendor
 
868
host_cpu
 
869
host
 
870
build_os
 
871
build_vendor
 
872
build_cpu
 
873
build
 
874
LIBTOOL
 
875
ENABLE_PROGRAMS_FALSE
 
876
ENABLE_PROGRAMS_TRUE
 
877
DIRT_BRANCH_ID
 
878
DIRT_TIMESTAMP
 
879
GPT_AGE_VERSION
 
880
GPT_MINOR_VERSION
 
881
GPT_MAJOR_VERSION
 
882
FILELIST_FILE
 
883
doxygendir
 
884
perlmoduledir
 
885
aclocaldir
 
886
pkgdir
 
887
flavorincludedir
 
888
testdir
 
889
setupdir
 
890
OBJECT_MODE
 
891
EXEEXT
 
892
OBJEXT
 
893
cross_compiling
 
894
CROSS
 
895
PERL
 
896
RANLIB
 
897
ARFLAGS
 
898
AR
 
899
F90FLAGS
 
900
F90
 
901
F77FLAGS
 
902
F77
 
903
DOXYGEN
 
904
INSURE
 
905
CXXFLAGS
 
906
CXXCPP
 
907
CXX
 
908
LDFLAGS
 
909
LD
 
910
CPPFLAGS
 
911
CFLAGS
 
912
CPP
 
913
CC
 
914
GLOBUS_FLAVOR_NAME
 
915
WITHOUT_FLAVORS_FALSE
 
916
WITHOUT_FLAVORS_TRUE
 
917
pkgconffile_in
 
918
pkgconffile
 
919
pkgconfdir
 
920
builddir
 
921
GPT_LINKTYPE
 
922
GPT_LIB_LINKS
 
923
GPT_PGM_LINKS
 
924
GPT_CONFIG_PKG_LIBS
 
925
GPT_CONFIG_LIBS
 
926
GPT_CONFIG_INCLUDES
 
927
GPT_CONFIG_CFLAGS
 
928
GPT_LDFLAGS
 
929
GPT_LIBS
 
930
GPT_EXTERNAL_LIBS
 
931
GPT_EXTERNAL_INCLUDES
 
932
GPT_INCLUDES
 
933
GPT_PKG_CFLAGS
 
934
GPT_CFLAGS
 
935
GPT_IS_2
 
936
GPT_PKGCONFIG_DEPENDENCIES
 
937
GPT_LOCATION
 
938
MAINT
 
939
MAINTAINER_MODE_FALSE
 
940
MAINTAINER_MODE_TRUE
 
941
target_alias
 
942
host_alias
 
943
build_alias
 
944
LIBS
 
945
ECHO_T
 
946
ECHO_N
 
947
ECHO_C
 
948
DEFS
 
949
mandir
 
950
localedir
 
951
libdir
 
952
psdir
 
953
pdfdir
 
954
dvidir
 
955
htmldir
 
956
infodir
 
957
docdir
 
958
oldincludedir
 
959
includedir
 
960
localstatedir
 
961
sharedstatedir
 
962
sysconfdir
 
963
datadir
 
964
datarootdir
 
965
libexecdir
 
966
sbindir
 
967
bindir
 
968
program_transform_name
 
969
prefix
 
970
exec_prefix
 
971
PACKAGE_BUGREPORT
 
972
PACKAGE_STRING
 
973
PACKAGE_VERSION
 
974
PACKAGE_TARNAME
 
975
PACKAGE_NAME
 
976
PATH_SEPARATOR
 
977
SHELL'
 
978
ac_subst_files='GLOBUS_LIBDIR_CHOICE
 
979
GLOBUS_PERL_LIBDIR_CHOICE
 
980
GLOBUS_SCRIPT_INITIALIZER
 
981
GLOBUS_PERL_INITIALIZER'
 
982
ac_user_opts='
 
983
enable_option_checking
 
984
enable_maintainer_mode
 
985
with_flavor
 
986
with_docdir
 
987
enable_static_only
 
988
enable_programs
 
989
enable_shared
 
990
enable_static
 
991
with_pic
 
992
enable_fast_install
 
993
with_gnu_ld
 
994
enable_libtool_lock
 
995
enable_dependency_tracking
 
996
enable_doxygen
 
997
enable_internal_doc
 
998
with_softenv_dir
 
999
with_xml_catalog
 
1000
with_globus_state_dir
 
1001
with_seg
 
1002
'
 
1003
      ac_precious_vars='build_alias
 
1004
host_alias
 
1005
target_alias
 
1006
CC
 
1007
CFLAGS
 
1008
LDFLAGS
 
1009
LIBS
 
1010
CPPFLAGS
 
1011
CPP'
 
1012
 
470
1013
 
471
1014
# Initialize some variables set by options.
472
1015
ac_init_help=
473
1016
ac_init_version=false
 
1017
ac_unrecognized_opts=
 
1018
ac_unrecognized_sep=
474
1019
# The variables have the same names as the options, with
475
1020
# dashes changed to underlines.
476
1021
cache_file=/dev/null
493
1038
# and all the variables that are supposed to be based on exec_prefix
494
1039
# by default will actually change.
495
1040
# Use braces instead of parens because sh, perl, etc. also accept them.
 
1041
# (The list follows the same order as the GNU Coding Standards.)
496
1042
bindir='${exec_prefix}/bin'
497
1043
sbindir='${exec_prefix}/sbin'
498
1044
libexecdir='${exec_prefix}/libexec'
499
 
datadir='${prefix}/share'
 
1045
datarootdir='${prefix}/share'
 
1046
datadir='${datarootdir}'
500
1047
sysconfdir='${prefix}/etc'
501
1048
sharedstatedir='${prefix}/com'
502
1049
localstatedir='${prefix}/var'
503
 
libdir='${exec_prefix}/lib'
504
1050
includedir='${prefix}/include'
505
1051
oldincludedir='/usr/include'
506
 
infodir='${prefix}/info'
507
 
mandir='${prefix}/man'
 
1052
docdir='${datarootdir}/doc/${PACKAGE}'
 
1053
infodir='${datarootdir}/info'
 
1054
htmldir='${docdir}'
 
1055
dvidir='${docdir}'
 
1056
pdfdir='${docdir}'
 
1057
psdir='${docdir}'
 
1058
libdir='${exec_prefix}/lib'
 
1059
localedir='${datarootdir}/locale'
 
1060
mandir='${datarootdir}/man'
508
1061
 
509
1062
ac_prev=
 
1063
ac_dashdash=
510
1064
for ac_option
511
1065
do
512
1066
  # If the previous option needs an argument, assign it.
513
1067
  if test -n "$ac_prev"; then
514
 
    eval "$ac_prev=\$ac_option"
 
1068
    eval $ac_prev=\$ac_option
515
1069
    ac_prev=
516
1070
    continue
517
1071
  fi
518
1072
 
519
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
1073
  case $ac_option in
 
1074
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1075
  *)    ac_optarg=yes ;;
 
1076
  esac
520
1077
 
521
1078
  # Accept the important Cygnus configure options, so we can diagnose typos.
522
1079
 
523
 
  case $ac_option in
 
1080
  case $ac_dashdash$ac_option in
 
1081
  --)
 
1082
    ac_dashdash=yes ;;
524
1083
 
525
1084
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
526
1085
    ac_prev=bindir ;;
542
1101
  --config-cache | -C)
543
1102
    cache_file=config.cache ;;
544
1103
 
545
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1104
  -datadir | --datadir | --datadi | --datad)
546
1105
    ac_prev=datadir ;;
547
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
548
 
  | --da=*)
 
1106
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
549
1107
    datadir=$ac_optarg ;;
550
1108
 
 
1109
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1110
  | --dataroo | --dataro | --datar)
 
1111
    ac_prev=datarootdir ;;
 
1112
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1113
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1114
    datarootdir=$ac_optarg ;;
 
1115
 
551
1116
  -disable-* | --disable-*)
552
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1117
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
553
1118
    # Reject names that are not valid shell variable names.
554
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
555
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1119
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1120
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
556
1121
   { (exit 1); exit 1; }; }
557
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
558
 
    eval "enable_$ac_feature=no" ;;
 
1122
    ac_useropt_orig=$ac_useropt
 
1123
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1124
    case $ac_user_opts in
 
1125
      *"
 
1126
"enable_$ac_useropt"
 
1127
"*) ;;
 
1128
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1129
         ac_unrecognized_sep=', ';;
 
1130
    esac
 
1131
    eval enable_$ac_useropt=no ;;
 
1132
 
 
1133
  -docdir | --docdir | --docdi | --doc | --do)
 
1134
    ac_prev=docdir ;;
 
1135
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1136
    docdir=$ac_optarg ;;
 
1137
 
 
1138
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1139
    ac_prev=dvidir ;;
 
1140
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1141
    dvidir=$ac_optarg ;;
559
1142
 
560
1143
  -enable-* | --enable-*)
561
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1144
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
562
1145
    # Reject names that are not valid shell variable names.
563
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
564
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1146
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1147
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
565
1148
   { (exit 1); exit 1; }; }
566
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
567
 
    case $ac_option in
568
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
569
 
      *) ac_optarg=yes ;;
 
1149
    ac_useropt_orig=$ac_useropt
 
1150
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1151
    case $ac_user_opts in
 
1152
      *"
 
1153
"enable_$ac_useropt"
 
1154
"*) ;;
 
1155
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1156
         ac_unrecognized_sep=', ';;
570
1157
    esac
571
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1158
    eval enable_$ac_useropt=\$ac_optarg ;;
572
1159
 
573
1160
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
574
1161
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
595
1182
  -host=* | --host=* | --hos=* | --ho=*)
596
1183
    host_alias=$ac_optarg ;;
597
1184
 
 
1185
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1186
    ac_prev=htmldir ;;
 
1187
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1188
  | --ht=*)
 
1189
    htmldir=$ac_optarg ;;
 
1190
 
598
1191
  -includedir | --includedir | --includedi | --included | --include \
599
1192
  | --includ | --inclu | --incl | --inc)
600
1193
    ac_prev=includedir ;;
619
1212
  | --libexe=* | --libex=* | --libe=*)
620
1213
    libexecdir=$ac_optarg ;;
621
1214
 
 
1215
  -localedir | --localedir | --localedi | --localed | --locale)
 
1216
    ac_prev=localedir ;;
 
1217
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1218
    localedir=$ac_optarg ;;
 
1219
 
622
1220
  -localstatedir | --localstatedir | --localstatedi | --localstated \
623
 
  | --localstate | --localstat | --localsta | --localst \
624
 
  | --locals | --local | --loca | --loc | --lo)
 
1221
  | --localstate | --localstat | --localsta | --localst | --locals)
625
1222
    ac_prev=localstatedir ;;
626
1223
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
627
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
628
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1224
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
629
1225
    localstatedir=$ac_optarg ;;
630
1226
 
631
1227
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
690
1286
  | --progr-tra=* | --program-tr=* | --program-t=*)
691
1287
    program_transform_name=$ac_optarg ;;
692
1288
 
 
1289
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1290
    ac_prev=pdfdir ;;
 
1291
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1292
    pdfdir=$ac_optarg ;;
 
1293
 
 
1294
  -psdir | --psdir | --psdi | --psd | --ps)
 
1295
    ac_prev=psdir ;;
 
1296
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1297
    psdir=$ac_optarg ;;
 
1298
 
693
1299
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
694
1300
  | -silent | --silent | --silen | --sile | --sil)
695
1301
    silent=yes ;;
740
1346
    ac_init_version=: ;;
741
1347
 
742
1348
  -with-* | --with-*)
743
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1349
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
744
1350
    # Reject names that are not valid shell variable names.
745
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
746
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1351
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1352
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
747
1353
   { (exit 1); exit 1; }; }
748
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
749
 
    case $ac_option in
750
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
751
 
      *) ac_optarg=yes ;;
 
1354
    ac_useropt_orig=$ac_useropt
 
1355
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1356
    case $ac_user_opts in
 
1357
      *"
 
1358
"with_$ac_useropt"
 
1359
"*) ;;
 
1360
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1361
         ac_unrecognized_sep=', ';;
752
1362
    esac
753
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1363
    eval with_$ac_useropt=\$ac_optarg ;;
754
1364
 
755
1365
  -without-* | --without-*)
756
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1366
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
757
1367
    # Reject names that are not valid shell variable names.
758
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
759
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1368
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1369
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
760
1370
   { (exit 1); exit 1; }; }
761
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
762
 
    eval "with_$ac_package=no" ;;
 
1371
    ac_useropt_orig=$ac_useropt
 
1372
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1373
    case $ac_user_opts in
 
1374
      *"
 
1375
"with_$ac_useropt"
 
1376
"*) ;;
 
1377
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1378
         ac_unrecognized_sep=', ';;
 
1379
    esac
 
1380
    eval with_$ac_useropt=no ;;
763
1381
 
764
1382
  --x)
765
1383
    # Obsolete; use --with-x.
779
1397
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
780
1398
    x_libraries=$ac_optarg ;;
781
1399
 
782
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1400
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
783
1401
Try \`$0 --help' for more information." >&2
784
1402
   { (exit 1); exit 1; }; }
785
1403
    ;;
788
1406
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
789
1407
    # Reject names that are not valid shell variable names.
790
1408
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
791
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1409
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
792
1410
   { (exit 1); exit 1; }; }
793
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
794
 
    eval "$ac_envvar='$ac_optarg'"
 
1411
    eval $ac_envvar=\$ac_optarg
795
1412
    export $ac_envvar ;;
796
1413
 
797
1414
  *)
798
1415
    # FIXME: should be removed in autoconf 3.0.
799
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1416
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
800
1417
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
801
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1418
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
802
1419
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
803
1420
    ;;
804
1421
 
807
1424
 
808
1425
if test -n "$ac_prev"; then
809
1426
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
810
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
811
 
   { (exit 1); exit 1; }; }
812
 
fi
813
 
 
814
 
# Be sure to have absolute paths.
815
 
for ac_var in exec_prefix prefix
816
 
do
817
 
  eval ac_val=$`echo $ac_var`
818
 
  case $ac_val in
819
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
820
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
821
 
   { (exit 1); exit 1; }; };;
822
 
  esac
823
 
done
824
 
 
825
 
# Be sure to have absolute paths.
826
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
827
 
              localstatedir libdir includedir oldincludedir infodir mandir
828
 
do
829
 
  eval ac_val=$`echo $ac_var`
830
 
  case $ac_val in
831
 
    [\\/$]* | ?:[\\/]* ) ;;
832
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
833
 
   { (exit 1); exit 1; }; };;
834
 
  esac
 
1427
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
 
1428
   { (exit 1); exit 1; }; }
 
1429
fi
 
1430
 
 
1431
if test -n "$ac_unrecognized_opts"; then
 
1432
  case $enable_option_checking in
 
1433
    no) ;;
 
1434
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1435
   { (exit 1); exit 1; }; } ;;
 
1436
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1437
  esac
 
1438
fi
 
1439
 
 
1440
# Check all directory arguments for consistency.
 
1441
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1442
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1443
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1444
                libdir localedir mandir
 
1445
do
 
1446
  eval ac_val=\$$ac_var
 
1447
  # Remove trailing slashes.
 
1448
  case $ac_val in
 
1449
    */ )
 
1450
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1451
      eval $ac_var=\$ac_val;;
 
1452
  esac
 
1453
  # Be sure to have absolute directory names.
 
1454
  case $ac_val in
 
1455
    [\\/$]* | ?:[\\/]* )  continue;;
 
1456
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1457
  esac
 
1458
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1459
   { (exit 1); exit 1; }; }
835
1460
done
836
1461
 
837
1462
# There might be people who depend on the old broken behavior: `$host'
845
1470
if test "x$host_alias" != x; then
846
1471
  if test "x$build_alias" = x; then
847
1472
    cross_compiling=maybe
848
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1473
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
849
1474
    If a cross compiler is detected then cross compile mode will be used." >&2
850
1475
  elif test "x$build_alias" != "x$host_alias"; then
851
1476
    cross_compiling=yes
858
1483
test "$silent" = yes && exec 6>/dev/null
859
1484
 
860
1485
 
 
1486
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1487
ac_ls_di=`ls -di .` &&
 
1488
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1489
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
 
1490
   { (exit 1); exit 1; }; }
 
1491
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1492
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
 
1493
   { (exit 1); exit 1; }; }
 
1494
 
 
1495
 
861
1496
# Find the source files, if location was not specified.
862
1497
if test -z "$srcdir"; then
863
1498
  ac_srcdir_defaulted=yes
864
 
  # Try the directory containing this script, then its parent.
865
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
866
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
867
 
         X"$0" : 'X\(//\)[^/]' \| \
868
 
         X"$0" : 'X\(//\)$' \| \
869
 
         X"$0" : 'X\(/\)' \| \
870
 
         .     : '\(.\)' 2>/dev/null ||
871
 
echo X"$0" |
872
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
873
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
874
 
          /^X\(\/\/\)$/{ s//\1/; q; }
875
 
          /^X\(\/\).*/{ s//\1/; q; }
876
 
          s/.*/./; q'`
 
1499
  # Try the directory containing this script, then the parent directory.
 
1500
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1501
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1502
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1503
         X"$as_myself" : 'X\(//\)$' \| \
 
1504
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1505
$as_echo X"$as_myself" |
 
1506
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1507
            s//\1/
 
1508
            q
 
1509
          }
 
1510
          /^X\(\/\/\)[^/].*/{
 
1511
            s//\1/
 
1512
            q
 
1513
          }
 
1514
          /^X\(\/\/\)$/{
 
1515
            s//\1/
 
1516
            q
 
1517
          }
 
1518
          /^X\(\/\).*/{
 
1519
            s//\1/
 
1520
            q
 
1521
          }
 
1522
          s/.*/./; q'`
877
1523
  srcdir=$ac_confdir
878
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1524
  if test ! -r "$srcdir/$ac_unique_file"; then
879
1525
    srcdir=..
880
1526
  fi
881
1527
else
882
1528
  ac_srcdir_defaulted=no
883
1529
fi
884
 
if test ! -r $srcdir/$ac_unique_file; then
885
 
  if test "$ac_srcdir_defaulted" = yes; then
886
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
887
 
   { (exit 1); exit 1; }; }
888
 
  else
889
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
890
 
   { (exit 1); exit 1; }; }
891
 
  fi
892
 
fi
893
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
894
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
895
 
   { (exit 1); exit 1; }; }
896
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
897
 
ac_env_build_alias_set=${build_alias+set}
898
 
ac_env_build_alias_value=$build_alias
899
 
ac_cv_env_build_alias_set=${build_alias+set}
900
 
ac_cv_env_build_alias_value=$build_alias
901
 
ac_env_host_alias_set=${host_alias+set}
902
 
ac_env_host_alias_value=$host_alias
903
 
ac_cv_env_host_alias_set=${host_alias+set}
904
 
ac_cv_env_host_alias_value=$host_alias
905
 
ac_env_target_alias_set=${target_alias+set}
906
 
ac_env_target_alias_value=$target_alias
907
 
ac_cv_env_target_alias_set=${target_alias+set}
908
 
ac_cv_env_target_alias_value=$target_alias
909
 
ac_env_CC_set=${CC+set}
910
 
ac_env_CC_value=$CC
911
 
ac_cv_env_CC_set=${CC+set}
912
 
ac_cv_env_CC_value=$CC
913
 
ac_env_CFLAGS_set=${CFLAGS+set}
914
 
ac_env_CFLAGS_value=$CFLAGS
915
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
916
 
ac_cv_env_CFLAGS_value=$CFLAGS
917
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
918
 
ac_env_LDFLAGS_value=$LDFLAGS
919
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
920
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
921
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
922
 
ac_env_CPPFLAGS_value=$CPPFLAGS
923
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
924
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
925
 
ac_env_CPP_set=${CPP+set}
926
 
ac_env_CPP_value=$CPP
927
 
ac_cv_env_CPP_set=${CPP+set}
928
 
ac_cv_env_CPP_value=$CPP
929
 
ac_env_CXX_set=${CXX+set}
930
 
ac_env_CXX_value=$CXX
931
 
ac_cv_env_CXX_set=${CXX+set}
932
 
ac_cv_env_CXX_value=$CXX
933
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
934
 
ac_env_CXXFLAGS_value=$CXXFLAGS
935
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
936
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
937
 
ac_env_CXXCPP_set=${CXXCPP+set}
938
 
ac_env_CXXCPP_value=$CXXCPP
939
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
940
 
ac_cv_env_CXXCPP_value=$CXXCPP
941
 
ac_env_F77_set=${F77+set}
942
 
ac_env_F77_value=$F77
943
 
ac_cv_env_F77_set=${F77+set}
944
 
ac_cv_env_F77_value=$F77
945
 
ac_env_FFLAGS_set=${FFLAGS+set}
946
 
ac_env_FFLAGS_value=$FFLAGS
947
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
948
 
ac_cv_env_FFLAGS_value=$FFLAGS
 
1530
if test ! -r "$srcdir/$ac_unique_file"; then
 
1531
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1532
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1533
   { (exit 1); exit 1; }; }
 
1534
fi
 
1535
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1536
ac_abs_confdir=`(
 
1537
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
 
1538
   { (exit 1); exit 1; }; }
 
1539
        pwd)`
 
1540
# When building in place, set srcdir=.
 
1541
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1542
  srcdir=.
 
1543
fi
 
1544
# Remove unnecessary trailing slashes from srcdir.
 
1545
# Double slashes in file names in object file debugging info
 
1546
# mess up M-x gdb in Emacs.
 
1547
case $srcdir in
 
1548
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1549
esac
 
1550
for ac_var in $ac_precious_vars; do
 
1551
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1552
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1553
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1554
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1555
done
949
1556
 
950
1557
#
951
1558
# Report the --help message.
974
1581
  -n, --no-create         do not create output files
975
1582
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
976
1583
 
977
 
_ACEOF
978
 
 
979
 
  cat <<_ACEOF
980
1584
Installation directories:
981
1585
  --prefix=PREFIX         install architecture-independent files in PREFIX
982
 
                          [$ac_default_prefix]
 
1586
                          [$ac_default_prefix]
983
1587
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
984
 
                          [PREFIX]
 
1588
                          [PREFIX]
985
1589
 
986
1590
By default, \`make install' will install all the files in
987
1591
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
991
1595
For better control, use the options below.
992
1596
 
993
1597
Fine tuning of the installation directories:
994
 
  --bindir=DIR           user executables [EPREFIX/bin]
995
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
996
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
997
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
998
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
999
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1000
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1001
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1002
 
  --includedir=DIR       C header files [PREFIX/include]
1003
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1004
 
  --infodir=DIR          info documentation [PREFIX/info]
1005
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1598
  --bindir=DIR            user executables [EPREFIX/bin]
 
1599
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1600
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1601
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1602
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1603
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1604
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1605
  --includedir=DIR        C header files [PREFIX/include]
 
1606
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1607
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1608
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1609
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1610
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1611
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1612
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
 
1613
  --htmldir=DIR           html documentation [DOCDIR]
 
1614
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1615
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1616
  --psdir=DIR             ps documentation [DOCDIR]
1006
1617
_ACEOF
1007
1618
 
1008
1619
  cat <<\_ACEOF
1023
1634
  cat <<\_ACEOF
1024
1635
 
1025
1636
Optional Features:
 
1637
  --disable-option-checking  ignore unrecognized --enable/--with options
1026
1638
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1027
1639
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1028
1640
  --enable-maintainer-mode  enable make rules and dependencies not useful
1029
1641
                          (and sometimes confusing) to the casual installer
1030
1642
  --enable-static-only    Don't do any dynamic linking
1031
1643
  --disable-programs      Don't compile/link programs
1032
 
  --enable-shared[=PKGS]
1033
 
                          build shared libraries [default=yes]
1034
 
  --enable-static[=PKGS]
1035
 
                          build static libraries [default=yes]
 
1644
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1645
  --enable-static[=PKGS]  build static libraries [default=yes]
1036
1646
  --enable-fast-install[=PKGS]
1037
1647
                          optimize for fast installation [default=yes]
1038
1648
  --disable-libtool-lock  avoid locking (might break parallel builds)
1039
1649
  --disable-dependency-tracking  speeds up one-time build
1040
1650
  --enable-dependency-tracking   do not reject slow dependency extractors
1041
 
  --enable-doxygen=PATH Use Doxygen to generate doxygen. If specified, PATH is
1042
 
                          the path to the doxygen executable; otherwise it is
1043
 
                          autodiscovered
 
1651
  --enable-doxygen=PATH Use Doxygen to generate doxygen. If specified, PATH
 
1652
                          is the path to the doxygen executable; otherwise it
 
1653
                          is autodiscovered
1044
1654
  --enable-internal-doc   Generate Doxygen documentation for internal
1045
1655
                          functions. Requires --enable-doxygen
1046
1656
 
1049
1659
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1050
1660
  --with-flavor=FLAVOR    Specify the globus build flavor or without-flavor
1051
1661
                          for a flavor independent
1052
 
  --with-docdir=DIR       Install documentation in DIR
1053
 
                          [default:], [${datadir}/doc/$PACKAGE]
1054
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1662
  --with-docdir=DIR       Install documentation in DIR [DATADIR/doc/PACKAGE]
1055
1663
  --with-pic              try to use only PIC/non-PIC objects [default=use
1056
1664
                          both]
1057
 
  --with-tags[=TAGS]
1058
 
                          include additional configurations [automatic]
 
1665
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1059
1666
  --with-softenv-dir      softenv_install_dir
1060
1667
  --with-xml-catalog=PATH Path to XML catalog
1061
1668
  --with-globus-state-dir=PATH
1067
1674
  CFLAGS      C compiler flags
1068
1675
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1069
1676
              nonstandard directory <lib dir>
1070
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1071
 
              headers in a nonstandard directory <include dir>
 
1677
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1678
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1679
              you have headers in a nonstandard directory <include dir>
1072
1680
  CPP         C preprocessor
1073
 
  CXX         C++ compiler command
1074
 
  CXXFLAGS    C++ compiler flags
1075
 
  CXXCPP      C++ preprocessor
1076
 
  F77         Fortran 77 compiler command
1077
 
  FFLAGS      Fortran 77 compiler flags
1078
1681
 
1079
1682
Use these variables to override the choices made by `configure' or to help
1080
1683
it to find libraries and programs with nonstandard names/locations.
1081
1684
 
1082
1685
_ACEOF
 
1686
ac_status=$?
1083
1687
fi
1084
1688
 
1085
1689
if test "$ac_init_help" = "recursive"; then
1086
1690
  # If there are subdirs, report their specific --help.
1087
 
  ac_popdir=`pwd`
1088
1691
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1089
 
    test -d $ac_dir || continue
 
1692
    test -d "$ac_dir" ||
 
1693
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1694
      continue
1090
1695
    ac_builddir=.
1091
1696
 
1092
 
if test "$ac_dir" != .; then
1093
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1094
 
  # A "../" for each directory in $ac_dir_suffix.
1095
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1096
 
else
1097
 
  ac_dir_suffix= ac_top_builddir=
1098
 
fi
 
1697
case "$ac_dir" in
 
1698
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1699
*)
 
1700
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1701
  # A ".." for each directory in $ac_dir_suffix.
 
1702
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1703
  case $ac_top_builddir_sub in
 
1704
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1705
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1706
  esac ;;
 
1707
esac
 
1708
ac_abs_top_builddir=$ac_pwd
 
1709
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1710
# for backward compatibility:
 
1711
ac_top_builddir=$ac_top_build_prefix
1099
1712
 
1100
1713
case $srcdir in
1101
 
  .)  # No --srcdir option.  We are building in place.
 
1714
  .)  # We are building in place.
1102
1715
    ac_srcdir=.
1103
 
    if test -z "$ac_top_builddir"; then
1104
 
       ac_top_srcdir=.
1105
 
    else
1106
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1107
 
    fi ;;
1108
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1716
    ac_top_srcdir=$ac_top_builddir_sub
 
1717
    ac_abs_top_srcdir=$ac_pwd ;;
 
1718
  [\\/]* | ?:[\\/]* )  # Absolute name.
1109
1719
    ac_srcdir=$srcdir$ac_dir_suffix;
1110
 
    ac_top_srcdir=$srcdir ;;
1111
 
  *) # Relative path.
1112
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1113
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1114
 
esac
1115
 
 
1116
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1117
 
# the directories may not exist.
1118
 
case `pwd` in
1119
 
.) ac_abs_builddir="$ac_dir";;
1120
 
*)
1121
 
  case "$ac_dir" in
1122
 
  .) ac_abs_builddir=`pwd`;;
1123
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1124
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1125
 
  esac;;
1126
 
esac
1127
 
case $ac_abs_builddir in
1128
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1129
 
*)
1130
 
  case ${ac_top_builddir}. in
1131
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1132
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1133
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1134
 
  esac;;
1135
 
esac
1136
 
case $ac_abs_builddir in
1137
 
.) ac_abs_srcdir=$ac_srcdir;;
1138
 
*)
1139
 
  case $ac_srcdir in
1140
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1141
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1142
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1143
 
  esac;;
1144
 
esac
1145
 
case $ac_abs_builddir in
1146
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1147
 
*)
1148
 
  case $ac_top_srcdir in
1149
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1150
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1151
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1152
 
  esac;;
1153
 
esac
1154
 
 
1155
 
    cd $ac_dir
1156
 
    # Check for guested configure; otherwise get Cygnus style configure.
1157
 
    if test -f $ac_srcdir/configure.gnu; then
1158
 
      echo
1159
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1160
 
    elif test -f $ac_srcdir/configure; then
1161
 
      echo
1162
 
      $SHELL $ac_srcdir/configure  --help=recursive
1163
 
    elif test -f $ac_srcdir/configure.ac ||
1164
 
           test -f $ac_srcdir/configure.in; then
1165
 
      echo
1166
 
      $ac_configure --help
 
1720
    ac_top_srcdir=$srcdir
 
1721
    ac_abs_top_srcdir=$srcdir ;;
 
1722
  *) # Relative name.
 
1723
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1724
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1725
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1726
esac
 
1727
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1728
 
 
1729
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1730
    # Check for guested configure.
 
1731
    if test -f "$ac_srcdir/configure.gnu"; then
 
1732
      echo &&
 
1733
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1734
    elif test -f "$ac_srcdir/configure"; then
 
1735
      echo &&
 
1736
      $SHELL "$ac_srcdir/configure" --help=recursive
1167
1737
    else
1168
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1169
 
    fi
1170
 
    cd $ac_popdir
 
1738
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1739
    fi || ac_status=$?
 
1740
    cd "$ac_pwd" || { ac_status=$?; break; }
1171
1741
  done
1172
1742
fi
1173
1743
 
1174
 
test -n "$ac_init_help" && exit 0
 
1744
test -n "$ac_init_help" && exit $ac_status
1175
1745
if $ac_init_version; then
1176
1746
  cat <<\_ACEOF
 
1747
configure
 
1748
generated by GNU Autoconf 2.63
1177
1749
 
1178
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1750
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1751
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1179
1752
This configure script is free software; the Free Software Foundation
1180
1753
gives unlimited permission to copy, distribute and modify it.
1181
1754
_ACEOF
1182
 
  exit 0
 
1755
  exit
1183
1756
fi
1184
 
exec 5>config.log
1185
 
cat >&5 <<_ACEOF
 
1757
cat >config.log <<_ACEOF
1186
1758
This file contains any messages produced by compilers while
1187
1759
running configure, to aid debugging if configure makes a mistake.
1188
1760
 
1189
1761
It was created by $as_me, which was
1190
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1762
generated by GNU Autoconf 2.63.  Invocation command line was
1191
1763
 
1192
1764
  $ $0 $@
1193
1765
 
1194
1766
_ACEOF
 
1767
exec 5>>config.log
1195
1768
{
1196
1769
cat <<_ASUNAME
1197
1770
## --------- ##
1210
1783
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1211
1784
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1212
1785
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1213
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1786
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1214
1787
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1215
1788
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1216
1789
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1222
1795
do
1223
1796
  IFS=$as_save_IFS
1224
1797
  test -z "$as_dir" && as_dir=.
1225
 
  echo "PATH: $as_dir"
 
1798
  $as_echo "PATH: $as_dir"
1226
1799
done
 
1800
IFS=$as_save_IFS
1227
1801
 
1228
1802
} >&5
1229
1803
 
1245
1819
ac_configure_args=
1246
1820
ac_configure_args0=
1247
1821
ac_configure_args1=
1248
 
ac_sep=
1249
1822
ac_must_keep_next=false
1250
1823
for ac_pass in 1 2
1251
1824
do
1256
1829
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1257
1830
    | -silent | --silent | --silen | --sile | --sil)
1258
1831
      continue ;;
1259
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1260
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1832
    *\'*)
 
1833
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1261
1834
    esac
1262
1835
    case $ac_pass in
1263
1836
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1278
1851
          -* ) ac_must_keep_next=true ;;
1279
1852
        esac
1280
1853
      fi
1281
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1282
 
      # Get rid of the leading space.
1283
 
      ac_sep=" "
 
1854
      ac_configure_args="$ac_configure_args '$ac_arg'"
1284
1855
      ;;
1285
1856
    esac
1286
1857
  done
1291
1862
# When interrupted or exit'd, cleanup temporary files, and complete
1292
1863
# config.log.  We remove comments because anyway the quotes in there
1293
1864
# would cause problems or look ugly.
1294
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1295
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1865
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1866
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1296
1867
trap 'exit_status=$?
1297
1868
  # Save into config.log some information that might help in debugging.
1298
1869
  {
1305
1876
_ASBOX
1306
1877
    echo
1307
1878
    # The following way of writing the cache mishandles newlines in values,
1308
 
{
 
1879
(
 
1880
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1881
    eval ac_val=\$$ac_var
 
1882
    case $ac_val in #(
 
1883
    *${as_nl}*)
 
1884
      case $ac_var in #(
 
1885
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1886
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
1887
      esac
 
1888
      case $ac_var in #(
 
1889
      _ | IFS | as_nl) ;; #(
 
1890
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
1891
      *) $as_unset $ac_var ;;
 
1892
      esac ;;
 
1893
    esac
 
1894
  done
1309
1895
  (set) 2>&1 |
1310
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1311
 
    *ac_space=\ *)
 
1896
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1897
    *${as_nl}ac_space=\ *)
1312
1898
      sed -n \
1313
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1314
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1315
 
      ;;
 
1899
        "s/'\''/'\''\\\\'\'''\''/g;
 
1900
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1901
      ;; #(
1316
1902
    *)
1317
 
      sed -n \
1318
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1903
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1319
1904
      ;;
1320
 
    esac;
1321
 
}
 
1905
    esac |
 
1906
    sort
 
1907
)
1322
1908
    echo
1323
1909
 
1324
1910
    cat <<\_ASBOX
1329
1915
    echo
1330
1916
    for ac_var in $ac_subst_vars
1331
1917
    do
1332
 
      eval ac_val=$`echo $ac_var`
1333
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1918
      eval ac_val=\$$ac_var
 
1919
      case $ac_val in
 
1920
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1921
      esac
 
1922
      $as_echo "$ac_var='\''$ac_val'\''"
1334
1923
    done | sort
1335
1924
    echo
1336
1925
 
1337
1926
    if test -n "$ac_subst_files"; then
1338
1927
      cat <<\_ASBOX
1339
 
## ------------- ##
1340
 
## Output files. ##
1341
 
## ------------- ##
 
1928
## ------------------- ##
 
1929
## File substitutions. ##
 
1930
## ------------------- ##
1342
1931
_ASBOX
1343
1932
      echo
1344
1933
      for ac_var in $ac_subst_files
1345
1934
      do
1346
 
        eval ac_val=$`echo $ac_var`
1347
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1935
        eval ac_val=\$$ac_var
 
1936
        case $ac_val in
 
1937
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1938
        esac
 
1939
        $as_echo "$ac_var='\''$ac_val'\''"
1348
1940
      done | sort
1349
1941
      echo
1350
1942
    fi
1356
1948
## ----------- ##
1357
1949
_ASBOX
1358
1950
      echo
1359
 
      sed "/^$/d" confdefs.h | sort
 
1951
      cat confdefs.h
1360
1952
      echo
1361
1953
    fi
1362
1954
    test "$ac_signal" != 0 &&
1363
 
      echo "$as_me: caught signal $ac_signal"
1364
 
    echo "$as_me: exit $exit_status"
 
1955
      $as_echo "$as_me: caught signal $ac_signal"
 
1956
    $as_echo "$as_me: exit $exit_status"
1365
1957
  } >&5
1366
 
  rm -f core *.core &&
1367
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1958
  rm -f core *.core core.conftest.* &&
 
1959
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1368
1960
    exit $exit_status
1369
 
     ' 0
 
1961
' 0
1370
1962
for ac_signal in 1 2 13 15; do
1371
1963
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1372
1964
done
1373
1965
ac_signal=0
1374
1966
 
1375
1967
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1376
 
rm -rf conftest* confdefs.h
1377
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1378
 
echo >confdefs.h
 
1968
rm -f -r conftest* confdefs.h
1379
1969
 
1380
1970
# Predefined preprocessor variables.
1381
1971
 
1405
1995
 
1406
1996
 
1407
1997
# Let the site file select an alternate cache file if it wants to.
1408
 
# Prefer explicitly selected file to automatically selected ones.
1409
 
if test -z "$CONFIG_SITE"; then
1410
 
  if test "x$prefix" != xNONE; then
1411
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1412
 
  else
1413
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1414
 
  fi
 
1998
# Prefer an explicitly selected file to automatically selected ones.
 
1999
ac_site_file1=NONE
 
2000
ac_site_file2=NONE
 
2001
if test -n "$CONFIG_SITE"; then
 
2002
  ac_site_file1=$CONFIG_SITE
 
2003
elif test "x$prefix" != xNONE; then
 
2004
  ac_site_file1=$prefix/share/config.site
 
2005
  ac_site_file2=$prefix/etc/config.site
 
2006
else
 
2007
  ac_site_file1=$ac_default_prefix/share/config.site
 
2008
  ac_site_file2=$ac_default_prefix/etc/config.site
1415
2009
fi
1416
 
for ac_site_file in $CONFIG_SITE; do
 
2010
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2011
do
 
2012
  test "x$ac_site_file" = xNONE && continue
1417
2013
  if test -r "$ac_site_file"; then
1418
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1419
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
2014
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2015
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1420
2016
    sed 's/^/| /' "$ac_site_file" >&5
1421
2017
    . "$ac_site_file"
1422
2018
  fi
1426
2022
  # Some versions of bash will fail to source /dev/null (special
1427
2023
  # files actually), so we avoid doing that.
1428
2024
  if test -f "$cache_file"; then
1429
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1430
 
echo "$as_me: loading cache $cache_file" >&6;}
 
2025
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2026
$as_echo "$as_me: loading cache $cache_file" >&6;}
1431
2027
    case $cache_file in
1432
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1433
 
      *)                      . ./$cache_file;;
 
2028
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2029
      *)                      . "./$cache_file";;
1434
2030
    esac
1435
2031
  fi
1436
2032
else
1437
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1438
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2033
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2034
$as_echo "$as_me: creating cache $cache_file" >&6;}
1439
2035
  >$cache_file
1440
2036
fi
1441
2037
 
1442
2038
# Check that the precious variables saved in the cache have kept the same
1443
2039
# value.
1444
2040
ac_cache_corrupted=false
1445
 
for ac_var in `(set) 2>&1 |
1446
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
2041
for ac_var in $ac_precious_vars; do
1447
2042
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1448
2043
  eval ac_new_set=\$ac_env_${ac_var}_set
1449
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1450
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
2044
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2045
  eval ac_new_val=\$ac_env_${ac_var}_value
1451
2046
  case $ac_old_set,$ac_new_set in
1452
2047
    set,)
1453
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1454
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2048
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2049
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1455
2050
      ac_cache_corrupted=: ;;
1456
2051
    ,set)
1457
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1458
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2052
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2053
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1459
2054
      ac_cache_corrupted=: ;;
1460
2055
    ,);;
1461
2056
    *)
1462
2057
      if test "x$ac_old_val" != "x$ac_new_val"; then
1463
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1464
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1465
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1466
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1467
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1468
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1469
 
        ac_cache_corrupted=:
 
2058
        # differences in whitespace do not lead to failure.
 
2059
        ac_old_val_w=`echo x $ac_old_val`
 
2060
        ac_new_val_w=`echo x $ac_new_val`
 
2061
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2062
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2063
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2064
          ac_cache_corrupted=:
 
2065
        else
 
2066
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2067
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2068
          eval $ac_var=\$ac_old_val
 
2069
        fi
 
2070
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2071
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2072
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2073
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1470
2074
      fi;;
1471
2075
  esac
1472
2076
  # Pass precious variables to config.status.
1473
2077
  if test "$ac_new_set" = set; then
1474
2078
    case $ac_new_val in
1475
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1476
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2079
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1477
2080
    *) ac_arg=$ac_var=$ac_new_val ;;
1478
2081
    esac
1479
2082
    case " $ac_configure_args " in
1483
2086
  fi
1484
2087
done
1485
2088
if $ac_cache_corrupted; then
1486
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1487
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1488
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1489
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
2089
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2090
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2091
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2092
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2093
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
2094
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1490
2095
   { (exit 1); exit 1; }; }
1491
2096
fi
1492
2097
 
 
2098
 
 
2099
 
 
2100
 
 
2101
 
 
2102
 
 
2103
 
 
2104
 
 
2105
 
 
2106
 
 
2107
 
 
2108
 
 
2109
 
 
2110
 
 
2111
 
 
2112
 
 
2113
 
1493
2114
ac_ext=c
1494
2115
ac_cpp='$CPP $CPPFLAGS'
1495
2116
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1501
2122
 
1502
2123
 
1503
2124
 
1504
 
 
1505
 
 
1506
 
 
1507
 
 
1508
 
 
1509
 
 
1510
 
 
1511
 
 
1512
 
 
1513
 
 
1514
 
 
1515
 
 
1516
 
 
1517
 
 
1518
 
 
1519
 
 
1520
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1521
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1522
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
2125
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2126
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 
2127
    # Check whether --enable-maintainer-mode was given.
1523
2128
if test "${enable_maintainer_mode+set}" = set; then
1524
 
  enableval="$enable_maintainer_mode"
1525
 
  USE_MAINTAINER_MODE=$enableval
 
2129
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1526
2130
else
1527
2131
  USE_MAINTAINER_MODE=no
1528
 
fi;
1529
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1530
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1531
 
 
1532
 
 
1533
 
if test $USE_MAINTAINER_MODE = yes; then
 
2132
fi
 
2133
 
 
2134
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2135
$as_echo "$USE_MAINTAINER_MODE" >&6; }
 
2136
   if test $USE_MAINTAINER_MODE = yes; then
1534
2137
  MAINTAINER_MODE_TRUE=
1535
2138
  MAINTAINER_MODE_FALSE='#'
1536
2139
else
1568
2171
}
1569
2172
 
1570
2173
 
1571
 
# Check whether --with-flavor or --without-flavor was given.
 
2174
# Check whether --with-flavor was given.
1572
2175
if test "${with_flavor+set}" = set; then
1573
 
  withval="$with_flavor"
1574
 
 
 
2176
  withval=$with_flavor;
1575
2177
        case $withval in
1576
2178
        no)
1577
2179
                NO_FLAVOR="yes"
1603
2205
        fi
1604
2206
 
1605
2207
 
1606
 
fi;
 
2208
fi
 
2209
 
1607
2210
 
1608
2211
 
1609
2212
 
1610
2213
        GPT_LOCATION="${GPT_LOCATION:-${GLOBUS_LOCATION:-/usr}}"
1611
2214
 
1612
2215
 
1613
 
# Check whether --with-docdir or --without-docdir was given.
 
2216
# Check whether --with-docdir was given.
1614
2217
if test "${with_docdir+set}" = set; then
1615
 
  withval="$with_docdir"
1616
 
  case $withval in
 
2218
  withval=$with_docdir; case $withval in
1617
2219
          yes|no)
1618
 
                { { echo "$as_me:$LINENO: error: Invalid DIR" >&5
1619
 
echo "$as_me: error: Invalid DIR" >&2;}
 
2220
                { { $as_echo "$as_me:$LINENO: error: Invalid DIR" >&5
 
2221
$as_echo "$as_me: error: Invalid DIR" >&2;}
1620
2222
   { (exit 1); exit 1; }; }
1621
2223
                ;;
1622
2224
          *)
1630
2232
                        docdir='${datadir}/doc/${PACKAGE}'
1631
2233
                fi
1632
2234
 
1633
 
fi;
 
2235
fi
 
2236
 
1634
2237
 
1635
2238
 
1636
2239
 
1655
2258
        #Default to shared, before checking static-only
1656
2259
        GPT_LINKTYPE="shared"
1657
2260
        # We have to figure out if we're linking only static before build_config
1658
 
        # Check whether --enable-static-only or --disable-static-only was given.
 
2261
        # Check whether --enable-static-only was given.
1659
2262
if test "${enable_static_only+set}" = set; then
1660
 
  enableval="$enable_static_only"
1661
 
 
 
2263
  enableval=$enable_static_only;
1662
2264
        case $enableval in
1663
2265
        no)
1664
2266
                GPT_LINKTYPE="shared"
1673
2275
        esac
1674
2276
 
1675
2277
 
1676
 
fi;
 
2278
fi
 
2279
 
1677
2280
 
1678
2281
        #extract the cumulative build environment from the installed development tree
1679
2282
 
1732
2335
 
1733
2336
 
1734
2337
 
1735
 
                  ac_config_files="$ac_config_files pkgdata/$pkgconffile:pkgdata/pkg_data_src.pc.in"
1736
 
 
1737
 
 
1738
 
 
1739
 
 
1740
 
 
1741
 
 
1742
 
 
1743
 
if test "$NO_FLAVOR" = "yes"; then
 
2338
        ac_config_files="$ac_config_files pkgdata/$pkgconffile:pkgdata/pkg_data_src.pc.in"
 
2339
 
 
2340
 
 
2341
 
 
2342
 
 
2343
 
 
2344
 if test "$NO_FLAVOR" = "yes"; then
1744
2345
  WITHOUT_FLAVORS_TRUE=
1745
2346
  WITHOUT_FLAVORS_FALSE='#'
1746
2347
else
1946
2547
 
1947
2548
 
1948
2549
 
1949
 
# Check whether --enable-programs or --disable-programs was given.
 
2550
# Check whether --enable-programs was given.
1950
2551
if test "${enable_programs+set}" = set; then
1951
 
  enableval="$enable_programs"
1952
 
  case "${enableval}" in
 
2552
  enableval=$enable_programs; case "${enableval}" in
1953
2553
        yes)
1954
2554
            ENABLE_PROGRAMS=true
1955
2555
        ;;
1957
2557
            ENABLE_PROGRAMS=false
1958
2558
        ;;
1959
2559
        *)
1960
 
            { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-programs" >&5
1961
 
echo "$as_me: error: bad value ${enableval} for --enable-programs" >&2;}
 
2560
            { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-programs" >&5
 
2561
$as_echo "$as_me: error: bad value ${enableval} for --enable-programs" >&2;}
1962
2562
   { (exit 1); exit 1; }; }
1963
2563
        ;;
1964
2564
    esac
1965
2565
else
1966
2566
  ENABLE_PROGRAMS=true
1967
 
fi;
1968
 
 
1969
 
 
1970
 
if test "x$ENABLE_PROGRAMS" = "xtrue"; then
 
2567
fi
 
2568
 
 
2569
 if test "x$ENABLE_PROGRAMS" = "xtrue"; then
1971
2570
  ENABLE_PROGRAMS_TRUE=
1972
2571
  ENABLE_PROGRAMS_FALSE='#'
1973
2572
else
1979
2578
 
1980
2579
 
1981
2580
 
1982
 
# Check whether --enable-shared or --disable-shared was given.
1983
 
if test "${enable_shared+set}" = set; then
1984
 
  enableval="$enable_shared"
1985
 
  p=${PACKAGE-default}
1986
 
    case $enableval in
1987
 
    yes) enable_shared=yes ;;
1988
 
    no) enable_shared=no ;;
1989
 
    *)
1990
 
      enable_shared=no
1991
 
      # Look at the argument we got.  We use all the common list separators.
1992
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1993
 
      for pkg in $enableval; do
1994
 
        IFS="$lt_save_ifs"
1995
 
        if test "X$pkg" = "X$p"; then
1996
 
          enable_shared=yes
1997
 
        fi
1998
 
      done
1999
 
      IFS="$lt_save_ifs"
2000
 
      ;;
2001
 
    esac
2002
 
else
2003
 
  enable_shared=yes
2004
 
fi;
2005
 
 
2006
 
# Check whether --enable-static or --disable-static was given.
2007
 
if test "${enable_static+set}" = set; then
2008
 
  enableval="$enable_static"
2009
 
  p=${PACKAGE-default}
2010
 
    case $enableval in
2011
 
    yes) enable_static=yes ;;
2012
 
    no) enable_static=no ;;
2013
 
    *)
2014
 
     enable_static=no
2015
 
      # Look at the argument we got.  We use all the common list separators.
2016
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2017
 
      for pkg in $enableval; do
2018
 
        IFS="$lt_save_ifs"
2019
 
        if test "X$pkg" = "X$p"; then
2020
 
          enable_static=yes
2021
 
        fi
2022
 
      done
2023
 
      IFS="$lt_save_ifs"
2024
 
      ;;
2025
 
    esac
2026
 
else
2027
 
  enable_static=yes
2028
 
fi;
2029
 
 
2030
 
# Check whether --enable-fast-install or --disable-fast-install was given.
2031
 
if test "${enable_fast_install+set}" = set; then
2032
 
  enableval="$enable_fast_install"
2033
 
  p=${PACKAGE-default}
2034
 
    case $enableval in
2035
 
    yes) enable_fast_install=yes ;;
2036
 
    no) enable_fast_install=no ;;
2037
 
    *)
2038
 
      enable_fast_install=no
2039
 
      # Look at the argument we got.  We use all the common list separators.
2040
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2041
 
      for pkg in $enableval; do
2042
 
        IFS="$lt_save_ifs"
2043
 
        if test "X$pkg" = "X$p"; then
2044
 
          enable_fast_install=yes
2045
 
        fi
2046
 
      done
2047
 
      IFS="$lt_save_ifs"
2048
 
      ;;
2049
 
    esac
2050
 
else
2051
 
  enable_fast_install=yes
2052
 
fi;
 
2581
case `pwd` in
 
2582
  *\ * | *\     *)
 
2583
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
2584
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
2585
esac
 
2586
 
 
2587
 
 
2588
 
 
2589
macro_version='2.2.6b'
 
2590
macro_revision='1.3017'
 
2591
 
 
2592
 
 
2593
 
 
2594
 
 
2595
 
 
2596
 
 
2597
 
 
2598
 
 
2599
 
 
2600
 
 
2601
 
 
2602
 
 
2603
 
 
2604
ltmain="$ac_aux_dir/ltmain.sh"
2053
2605
 
2054
2606
ac_aux_dir=
2055
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2056
 
  if test -f $ac_dir/install-sh; then
 
2607
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2608
  if test -f "$ac_dir/install-sh"; then
2057
2609
    ac_aux_dir=$ac_dir
2058
2610
    ac_install_sh="$ac_aux_dir/install-sh -c"
2059
2611
    break
2060
 
  elif test -f $ac_dir/install.sh; then
 
2612
  elif test -f "$ac_dir/install.sh"; then
2061
2613
    ac_aux_dir=$ac_dir
2062
2614
    ac_install_sh="$ac_aux_dir/install.sh -c"
2063
2615
    break
2064
 
  elif test -f $ac_dir/shtool; then
 
2616
  elif test -f "$ac_dir/shtool"; then
2065
2617
    ac_aux_dir=$ac_dir
2066
2618
    ac_install_sh="$ac_aux_dir/shtool install -c"
2067
2619
    break
2068
2620
  fi
2069
2621
done
2070
2622
if test -z "$ac_aux_dir"; then
2071
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2072
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
2623
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2624
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2073
2625
   { (exit 1); exit 1; }; }
2074
2626
fi
2075
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2076
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2077
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2627
 
 
2628
# These three variables are undocumented and unsupported,
 
2629
# and are intended to be withdrawn in a future Autoconf release.
 
2630
# They can cause serious problems if a builder's source tree is in a directory
 
2631
# whose full name contains unusual characters.
 
2632
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2633
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2634
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2635
 
2078
2636
 
2079
2637
# Make sure we can run config.sub.
2080
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
2081
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2082
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
2638
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2639
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
2640
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2083
2641
   { (exit 1); exit 1; }; }
2084
2642
 
2085
 
echo "$as_me:$LINENO: checking build system type" >&5
2086
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
2643
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
2644
$as_echo_n "checking build system type... " >&6; }
2087
2645
if test "${ac_cv_build+set}" = set; then
2088
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2646
  $as_echo_n "(cached) " >&6
2089
2647
else
2090
 
  ac_cv_build_alias=$build_alias
2091
 
test -z "$ac_cv_build_alias" &&
2092
 
  ac_cv_build_alias=`$ac_config_guess`
2093
 
test -z "$ac_cv_build_alias" &&
2094
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2095
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
2648
  ac_build_alias=$build_alias
 
2649
test "x$ac_build_alias" = x &&
 
2650
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2651
test "x$ac_build_alias" = x &&
 
2652
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
2653
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2096
2654
   { (exit 1); exit 1; }; }
2097
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2098
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2099
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
2655
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2656
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
2657
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2100
2658
   { (exit 1); exit 1; }; }
2101
2659
 
2102
2660
fi
2103
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2104
 
echo "${ECHO_T}$ac_cv_build" >&6
 
2661
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2662
$as_echo "$ac_cv_build" >&6; }
 
2663
case $ac_cv_build in
 
2664
*-*-*) ;;
 
2665
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2666
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
 
2667
   { (exit 1); exit 1; }; };;
 
2668
esac
2105
2669
build=$ac_cv_build
2106
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2107
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2108
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2109
 
 
2110
 
 
2111
 
echo "$as_me:$LINENO: checking host system type" >&5
2112
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
2670
ac_save_IFS=$IFS; IFS='-'
 
2671
set x $ac_cv_build
 
2672
shift
 
2673
build_cpu=$1
 
2674
build_vendor=$2
 
2675
shift; shift
 
2676
# Remember, the first character of IFS is used to create $*,
 
2677
# except with old shells:
 
2678
build_os=$*
 
2679
IFS=$ac_save_IFS
 
2680
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2681
 
 
2682
 
 
2683
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
2684
$as_echo_n "checking host system type... " >&6; }
2113
2685
if test "${ac_cv_host+set}" = set; then
2114
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2115
 
else
2116
 
  ac_cv_host_alias=$host_alias
2117
 
test -z "$ac_cv_host_alias" &&
2118
 
  ac_cv_host_alias=$ac_cv_build_alias
2119
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2120
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2121
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
2686
  $as_echo_n "(cached) " >&6
 
2687
else
 
2688
  if test "x$host_alias" = x; then
 
2689
  ac_cv_host=$ac_cv_build
 
2690
else
 
2691
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2692
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2693
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2122
2694
   { (exit 1); exit 1; }; }
 
2695
fi
2123
2696
 
2124
2697
fi
2125
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2126
 
echo "${ECHO_T}$ac_cv_host" >&6
 
2698
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2699
$as_echo "$ac_cv_host" >&6; }
 
2700
case $ac_cv_host in
 
2701
*-*-*) ;;
 
2702
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2703
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
 
2704
   { (exit 1); exit 1; }; };;
 
2705
esac
2127
2706
host=$ac_cv_host
2128
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2129
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2130
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
2707
ac_save_IFS=$IFS; IFS='-'
 
2708
set x $ac_cv_host
 
2709
shift
 
2710
host_cpu=$1
 
2711
host_vendor=$2
 
2712
shift; shift
 
2713
# Remember, the first character of IFS is used to create $*,
 
2714
# except with old shells:
 
2715
host_os=$*
 
2716
IFS=$ac_save_IFS
 
2717
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2131
2718
 
2132
2719
 
2133
2720
ac_ext=c
2138
2725
if test -n "$ac_tool_prefix"; then
2139
2726
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2140
2727
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2141
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2142
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2728
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2729
$as_echo_n "checking for $ac_word... " >&6; }
2143
2730
if test "${ac_cv_prog_CC+set}" = set; then
2144
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2731
  $as_echo_n "(cached) " >&6
2145
2732
else
2146
2733
  if test -n "$CC"; then
2147
2734
  ac_cv_prog_CC="$CC" # Let the user override the test.
2152
2739
  IFS=$as_save_IFS
2153
2740
  test -z "$as_dir" && as_dir=.
2154
2741
  for ac_exec_ext in '' $ac_executable_extensions; do
2155
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2742
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2156
2743
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2157
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2744
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2158
2745
    break 2
2159
2746
  fi
2160
2747
done
2161
2748
done
 
2749
IFS=$as_save_IFS
2162
2750
 
2163
2751
fi
2164
2752
fi
2165
2753
CC=$ac_cv_prog_CC
2166
2754
if test -n "$CC"; then
2167
 
  echo "$as_me:$LINENO: result: $CC" >&5
2168
 
echo "${ECHO_T}$CC" >&6
 
2755
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2756
$as_echo "$CC" >&6; }
2169
2757
else
2170
 
  echo "$as_me:$LINENO: result: no" >&5
2171
 
echo "${ECHO_T}no" >&6
 
2758
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2759
$as_echo "no" >&6; }
2172
2760
fi
 
2761
 
2173
2762
 
2174
2763
fi
2175
2764
if test -z "$ac_cv_prog_CC"; then
2176
2765
  ac_ct_CC=$CC
2177
2766
  # Extract the first word of "gcc", so it can be a program name with args.
2178
2767
set dummy gcc; ac_word=$2
2179
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2180
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2768
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2769
$as_echo_n "checking for $ac_word... " >&6; }
2181
2770
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2182
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2771
  $as_echo_n "(cached) " >&6
2183
2772
else
2184
2773
  if test -n "$ac_ct_CC"; then
2185
2774
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2190
2779
  IFS=$as_save_IFS
2191
2780
  test -z "$as_dir" && as_dir=.
2192
2781
  for ac_exec_ext in '' $ac_executable_extensions; do
2193
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2782
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2194
2783
    ac_cv_prog_ac_ct_CC="gcc"
2195
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2784
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2196
2785
    break 2
2197
2786
  fi
2198
2787
done
2199
2788
done
 
2789
IFS=$as_save_IFS
2200
2790
 
2201
2791
fi
2202
2792
fi
2203
2793
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2204
2794
if test -n "$ac_ct_CC"; then
2205
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2206
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2795
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2796
$as_echo "$ac_ct_CC" >&6; }
2207
2797
else
2208
 
  echo "$as_me:$LINENO: result: no" >&5
2209
 
echo "${ECHO_T}no" >&6
 
2798
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2799
$as_echo "no" >&6; }
2210
2800
fi
2211
2801
 
2212
 
  CC=$ac_ct_CC
 
2802
  if test "x$ac_ct_CC" = x; then
 
2803
    CC=""
 
2804
  else
 
2805
    case $cross_compiling:$ac_tool_warned in
 
2806
yes:)
 
2807
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2808
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2809
ac_tool_warned=yes ;;
 
2810
esac
 
2811
    CC=$ac_ct_CC
 
2812
  fi
2213
2813
else
2214
2814
  CC="$ac_cv_prog_CC"
2215
2815
fi
2216
2816
 
2217
2817
if test -z "$CC"; then
2218
 
  if test -n "$ac_tool_prefix"; then
2219
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2818
          if test -n "$ac_tool_prefix"; then
 
2819
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2220
2820
set dummy ${ac_tool_prefix}cc; ac_word=$2
2221
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2222
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2821
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2822
$as_echo_n "checking for $ac_word... " >&6; }
2223
2823
if test "${ac_cv_prog_CC+set}" = set; then
2224
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2824
  $as_echo_n "(cached) " >&6
2225
2825
else
2226
2826
  if test -n "$CC"; then
2227
2827
  ac_cv_prog_CC="$CC" # Let the user override the test.
2232
2832
  IFS=$as_save_IFS
2233
2833
  test -z "$as_dir" && as_dir=.
2234
2834
  for ac_exec_ext in '' $ac_executable_extensions; do
2235
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2835
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2236
2836
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2237
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2837
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2238
2838
    break 2
2239
2839
  fi
2240
2840
done
2241
2841
done
 
2842
IFS=$as_save_IFS
2242
2843
 
2243
2844
fi
2244
2845
fi
2245
2846
CC=$ac_cv_prog_CC
2246
2847
if test -n "$CC"; then
2247
 
  echo "$as_me:$LINENO: result: $CC" >&5
2248
 
echo "${ECHO_T}$CC" >&6
2249
 
else
2250
 
  echo "$as_me:$LINENO: result: no" >&5
2251
 
echo "${ECHO_T}no" >&6
2252
 
fi
2253
 
 
2254
 
fi
2255
 
if test -z "$ac_cv_prog_CC"; then
2256
 
  ac_ct_CC=$CC
2257
 
  # Extract the first word of "cc", so it can be a program name with args.
2258
 
set dummy cc; ac_word=$2
2259
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2260
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2261
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2262
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2263
 
else
2264
 
  if test -n "$ac_ct_CC"; then
2265
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2266
 
else
2267
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2268
 
for as_dir in $PATH
2269
 
do
2270
 
  IFS=$as_save_IFS
2271
 
  test -z "$as_dir" && as_dir=.
2272
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2273
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2274
 
    ac_cv_prog_ac_ct_CC="cc"
2275
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2276
 
    break 2
 
2848
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2849
$as_echo "$CC" >&6; }
 
2850
else
 
2851
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2852
$as_echo "no" >&6; }
 
2853
fi
 
2854
 
 
2855
 
2277
2856
  fi
2278
 
done
2279
 
done
2280
 
 
2281
 
fi
2282
 
fi
2283
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2284
 
if test -n "$ac_ct_CC"; then
2285
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2286
 
echo "${ECHO_T}$ac_ct_CC" >&6
2287
 
else
2288
 
  echo "$as_me:$LINENO: result: no" >&5
2289
 
echo "${ECHO_T}no" >&6
2290
 
fi
2291
 
 
2292
 
  CC=$ac_ct_CC
2293
 
else
2294
 
  CC="$ac_cv_prog_CC"
2295
 
fi
2296
 
 
2297
2857
fi
2298
2858
if test -z "$CC"; then
2299
2859
  # Extract the first word of "cc", so it can be a program name with args.
2300
2860
set dummy cc; ac_word=$2
2301
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2302
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2861
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2862
$as_echo_n "checking for $ac_word... " >&6; }
2303
2863
if test "${ac_cv_prog_CC+set}" = set; then
2304
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2864
  $as_echo_n "(cached) " >&6
2305
2865
else
2306
2866
  if test -n "$CC"; then
2307
2867
  ac_cv_prog_CC="$CC" # Let the user override the test.
2313
2873
  IFS=$as_save_IFS
2314
2874
  test -z "$as_dir" && as_dir=.
2315
2875
  for ac_exec_ext in '' $ac_executable_extensions; do
2316
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2876
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2317
2877
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2318
2878
       ac_prog_rejected=yes
2319
2879
       continue
2320
2880
     fi
2321
2881
    ac_cv_prog_CC="cc"
2322
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2882
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2323
2883
    break 2
2324
2884
  fi
2325
2885
done
2326
2886
done
 
2887
IFS=$as_save_IFS
2327
2888
 
2328
2889
if test $ac_prog_rejected = yes; then
2329
2890
  # We found a bogon in the path, so make sure we never use it.
2341
2902
fi
2342
2903
CC=$ac_cv_prog_CC
2343
2904
if test -n "$CC"; then
2344
 
  echo "$as_me:$LINENO: result: $CC" >&5
2345
 
echo "${ECHO_T}$CC" >&6
 
2905
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2906
$as_echo "$CC" >&6; }
2346
2907
else
2347
 
  echo "$as_me:$LINENO: result: no" >&5
2348
 
echo "${ECHO_T}no" >&6
 
2908
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2909
$as_echo "no" >&6; }
2349
2910
fi
 
2911
 
2350
2912
 
2351
2913
fi
2352
2914
if test -z "$CC"; then
2353
2915
  if test -n "$ac_tool_prefix"; then
2354
 
  for ac_prog in cl
 
2916
  for ac_prog in cl.exe
2355
2917
  do
2356
2918
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2357
2919
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2358
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2359
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2920
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2921
$as_echo_n "checking for $ac_word... " >&6; }
2360
2922
if test "${ac_cv_prog_CC+set}" = set; then
2361
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2923
  $as_echo_n "(cached) " >&6
2362
2924
else
2363
2925
  if test -n "$CC"; then
2364
2926
  ac_cv_prog_CC="$CC" # Let the user override the test.
2369
2931
  IFS=$as_save_IFS
2370
2932
  test -z "$as_dir" && as_dir=.
2371
2933
  for ac_exec_ext in '' $ac_executable_extensions; do
2372
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2934
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2373
2935
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2374
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2936
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2375
2937
    break 2
2376
2938
  fi
2377
2939
done
2378
2940
done
 
2941
IFS=$as_save_IFS
2379
2942
 
2380
2943
fi
2381
2944
fi
2382
2945
CC=$ac_cv_prog_CC
2383
2946
if test -n "$CC"; then
2384
 
  echo "$as_me:$LINENO: result: $CC" >&5
2385
 
echo "${ECHO_T}$CC" >&6
 
2947
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2948
$as_echo "$CC" >&6; }
2386
2949
else
2387
 
  echo "$as_me:$LINENO: result: no" >&5
2388
 
echo "${ECHO_T}no" >&6
 
2950
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2951
$as_echo "no" >&6; }
2389
2952
fi
2390
2953
 
 
2954
 
2391
2955
    test -n "$CC" && break
2392
2956
  done
2393
2957
fi
2394
2958
if test -z "$CC"; then
2395
2959
  ac_ct_CC=$CC
2396
 
  for ac_prog in cl
 
2960
  for ac_prog in cl.exe
2397
2961
do
2398
2962
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2399
2963
set dummy $ac_prog; ac_word=$2
2400
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2401
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2964
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2965
$as_echo_n "checking for $ac_word... " >&6; }
2402
2966
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2403
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2967
  $as_echo_n "(cached) " >&6
2404
2968
else
2405
2969
  if test -n "$ac_ct_CC"; then
2406
2970
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2411
2975
  IFS=$as_save_IFS
2412
2976
  test -z "$as_dir" && as_dir=.
2413
2977
  for ac_exec_ext in '' $ac_executable_extensions; do
2414
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2978
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2415
2979
    ac_cv_prog_ac_ct_CC="$ac_prog"
2416
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2980
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2417
2981
    break 2
2418
2982
  fi
2419
2983
done
2420
2984
done
 
2985
IFS=$as_save_IFS
2421
2986
 
2422
2987
fi
2423
2988
fi
2424
2989
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2425
2990
if test -n "$ac_ct_CC"; then
2426
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2427
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2991
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2992
$as_echo "$ac_ct_CC" >&6; }
2428
2993
else
2429
 
  echo "$as_me:$LINENO: result: no" >&5
2430
 
echo "${ECHO_T}no" >&6
 
2994
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2995
$as_echo "no" >&6; }
2431
2996
fi
2432
2997
 
 
2998
 
2433
2999
  test -n "$ac_ct_CC" && break
2434
3000
done
2435
3001
 
2436
 
  CC=$ac_ct_CC
2437
 
fi
2438
 
 
2439
 
fi
2440
 
 
2441
 
 
2442
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
3002
  if test "x$ac_ct_CC" = x; then
 
3003
    CC=""
 
3004
  else
 
3005
    case $cross_compiling:$ac_tool_warned in
 
3006
yes:)
 
3007
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3008
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3009
ac_tool_warned=yes ;;
 
3010
esac
 
3011
    CC=$ac_ct_CC
 
3012
  fi
 
3013
fi
 
3014
 
 
3015
fi
 
3016
 
 
3017
 
 
3018
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3019
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3020
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2443
3021
See \`config.log' for more details." >&5
2444
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
3022
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2445
3023
See \`config.log' for more details." >&2;}
2446
 
   { (exit 1); exit 1; }; }
 
3024
   { (exit 1); exit 1; }; }; }
2447
3025
 
2448
3026
# Provide some information about the compiler.
2449
 
echo "$as_me:$LINENO:" \
2450
 
     "checking for C compiler version" >&5
2451
 
ac_compiler=`set X $ac_compile; echo $2`
2452
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2453
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2454
 
  ac_status=$?
2455
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456
 
  (exit $ac_status); }
2457
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2458
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2459
 
  ac_status=$?
2460
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461
 
  (exit $ac_status); }
2462
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2463
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
2464
 
  ac_status=$?
2465
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3027
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3028
set X $ac_compile
 
3029
ac_compiler=$2
 
3030
{ (ac_try="$ac_compiler --version >&5"
 
3031
case "(($ac_try" in
 
3032
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3033
  *) ac_try_echo=$ac_try;;
 
3034
esac
 
3035
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3036
$as_echo "$ac_try_echo") >&5
 
3037
  (eval "$ac_compiler --version >&5") 2>&5
 
3038
  ac_status=$?
 
3039
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3040
  (exit $ac_status); }
 
3041
{ (ac_try="$ac_compiler -v >&5"
 
3042
case "(($ac_try" in
 
3043
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3044
  *) ac_try_echo=$ac_try;;
 
3045
esac
 
3046
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3047
$as_echo "$ac_try_echo") >&5
 
3048
  (eval "$ac_compiler -v >&5") 2>&5
 
3049
  ac_status=$?
 
3050
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3051
  (exit $ac_status); }
 
3052
{ (ac_try="$ac_compiler -V >&5"
 
3053
case "(($ac_try" in
 
3054
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3055
  *) ac_try_echo=$ac_try;;
 
3056
esac
 
3057
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3058
$as_echo "$ac_try_echo") >&5
 
3059
  (eval "$ac_compiler -V >&5") 2>&5
 
3060
  ac_status=$?
 
3061
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466
3062
  (exit $ac_status); }
2467
3063
 
2468
3064
cat >conftest.$ac_ext <<_ACEOF
2481
3077
}
2482
3078
_ACEOF
2483
3079
ac_clean_files_save=$ac_clean_files
2484
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3080
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2485
3081
# Try to create an executable without -o first, disregard a.out.
2486
3082
# It will help us diagnose broken compilers, and finding out an intuition
2487
3083
# of exeext.
2488
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2489
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2490
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2491
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2492
 
  (eval $ac_link_default) 2>&5
 
3084
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3085
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3086
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3087
 
 
3088
# The possible output files:
 
3089
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3090
 
 
3091
ac_rmfiles=
 
3092
for ac_file in $ac_files
 
3093
do
 
3094
  case $ac_file in
 
3095
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3096
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3097
  esac
 
3098
done
 
3099
rm -f $ac_rmfiles
 
3100
 
 
3101
if { (ac_try="$ac_link_default"
 
3102
case "(($ac_try" in
 
3103
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3104
  *) ac_try_echo=$ac_try;;
 
3105
esac
 
3106
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3107
$as_echo "$ac_try_echo") >&5
 
3108
  (eval "$ac_link_default") 2>&5
2493
3109
  ac_status=$?
2494
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3110
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495
3111
  (exit $ac_status); }; then
2496
 
  # Find the output, starting from the most likely.  This scheme is
2497
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2498
 
# resort.
2499
 
 
2500
 
# Be careful to initialize this variable, since it used to be cached.
2501
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2502
 
ac_cv_exeext=
2503
 
# b.out is created by i960 compilers.
2504
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
3112
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3113
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3114
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3115
# so that the user can short-circuit this test for compilers unknown to
 
3116
# Autoconf.
 
3117
for ac_file in $ac_files ''
2505
3118
do
2506
3119
  test -f "$ac_file" || continue
2507
3120
  case $ac_file in
2508
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2509
 
        ;;
2510
 
    conftest.$ac_ext )
2511
 
        # This is the source file.
 
3121
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2512
3122
        ;;
2513
3123
    [ab].out )
2514
3124
        # We found the default executable, but exeext='' is most
2515
3125
        # certainly right.
2516
3126
        break;;
2517
3127
    *.* )
2518
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2519
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2520
 
        # but it would be cool to find out if it's true.  Does anybody
2521
 
        # maintain Libtool? --akim.
2522
 
        export ac_cv_exeext
 
3128
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3129
        then :; else
 
3130
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3131
        fi
 
3132
        # We set ac_cv_exeext here because the later test for it is not
 
3133
        # safe: cross compilers may not add the suffix if given an `-o'
 
3134
        # argument, so we may need to know it at that point already.
 
3135
        # Even if this section looks crufty: it has the advantage of
 
3136
        # actually working.
2523
3137
        break;;
2524
3138
    * )
2525
3139
        break;;
2526
3140
  esac
2527
3141
done
 
3142
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3143
 
2528
3144
else
2529
 
  echo "$as_me: failed program was:" >&5
 
3145
  ac_file=''
 
3146
fi
 
3147
 
 
3148
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3149
$as_echo "$ac_file" >&6; }
 
3150
if test -z "$ac_file"; then
 
3151
  $as_echo "$as_me: failed program was:" >&5
2530
3152
sed 's/^/| /' conftest.$ac_ext >&5
2531
3153
 
2532
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
3154
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3155
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3156
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2533
3157
See \`config.log' for more details." >&5
2534
 
echo "$as_me: error: C compiler cannot create executables
 
3158
$as_echo "$as_me: error: C compiler cannot create executables
2535
3159
See \`config.log' for more details." >&2;}
2536
 
   { (exit 77); exit 77; }; }
 
3160
   { (exit 77); exit 77; }; }; }
2537
3161
fi
2538
3162
 
2539
3163
ac_exeext=$ac_cv_exeext
2540
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2541
 
echo "${ECHO_T}$ac_file" >&6
2542
3164
 
2543
 
# Check the compiler produces executables we can run.  If not, either
 
3165
# Check that the compiler produces executables we can run.  If not, either
2544
3166
# the compiler is broken, or we cross compile.
2545
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2546
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
3167
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3168
$as_echo_n "checking whether the C compiler works... " >&6; }
2547
3169
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2548
3170
# If not cross compiling, check that we can run a simple program.
2549
3171
if test "$cross_compiling" != yes; then
2550
3172
  if { ac_try='./$ac_file'
2551
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2552
 
  (eval $ac_try) 2>&5
 
3173
  { (case "(($ac_try" in
 
3174
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3175
  *) ac_try_echo=$ac_try;;
 
3176
esac
 
3177
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3178
$as_echo "$ac_try_echo") >&5
 
3179
  (eval "$ac_try") 2>&5
2553
3180
  ac_status=$?
2554
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3181
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555
3182
  (exit $ac_status); }; }; then
2556
3183
    cross_compiling=no
2557
3184
  else
2558
3185
    if test "$cross_compiling" = maybe; then
2559
3186
        cross_compiling=yes
2560
3187
    else
2561
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3188
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3189
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3190
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2562
3191
If you meant to cross compile, use \`--host'.
2563
3192
See \`config.log' for more details." >&5
2564
 
echo "$as_me: error: cannot run C compiled programs.
 
3193
$as_echo "$as_me: error: cannot run C compiled programs.
2565
3194
If you meant to cross compile, use \`--host'.
2566
3195
See \`config.log' for more details." >&2;}
2567
 
   { (exit 1); exit 1; }; }
 
3196
   { (exit 1); exit 1; }; }; }
2568
3197
    fi
2569
3198
  fi
2570
3199
fi
2571
 
echo "$as_me:$LINENO: result: yes" >&5
2572
 
echo "${ECHO_T}yes" >&6
 
3200
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3201
$as_echo "yes" >&6; }
2573
3202
 
2574
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3203
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2575
3204
ac_clean_files=$ac_clean_files_save
2576
 
# Check the compiler produces executables we can run.  If not, either
 
3205
# Check that the compiler produces executables we can run.  If not, either
2577
3206
# the compiler is broken, or we cross compile.
2578
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2579
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2580
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2581
 
echo "${ECHO_T}$cross_compiling" >&6
 
3207
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3208
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3209
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3210
$as_echo "$cross_compiling" >&6; }
2582
3211
 
2583
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2584
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2585
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2586
 
  (eval $ac_link) 2>&5
 
3212
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3213
$as_echo_n "checking for suffix of executables... " >&6; }
 
3214
if { (ac_try="$ac_link"
 
3215
case "(($ac_try" in
 
3216
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3217
  *) ac_try_echo=$ac_try;;
 
3218
esac
 
3219
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3220
$as_echo "$ac_try_echo") >&5
 
3221
  (eval "$ac_link") 2>&5
2587
3222
  ac_status=$?
2588
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3223
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589
3224
  (exit $ac_status); }; then
2590
3225
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2591
3226
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2594
3229
for ac_file in conftest.exe conftest conftest.*; do
2595
3230
  test -f "$ac_file" || continue
2596
3231
  case $ac_file in
2597
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3232
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2598
3233
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2599
 
          export ac_cv_exeext
2600
3234
          break;;
2601
3235
    * ) break;;
2602
3236
  esac
2603
3237
done
2604
3238
else
2605
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3239
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3240
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3241
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2606
3242
See \`config.log' for more details." >&5
2607
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3243
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2608
3244
See \`config.log' for more details." >&2;}
2609
 
   { (exit 1); exit 1; }; }
 
3245
   { (exit 1); exit 1; }; }; }
2610
3246
fi
2611
3247
 
2612
3248
rm -f conftest$ac_cv_exeext
2613
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2614
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3249
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3250
$as_echo "$ac_cv_exeext" >&6; }
2615
3251
 
2616
3252
rm -f conftest.$ac_ext
2617
3253
EXEEXT=$ac_cv_exeext
2618
3254
ac_exeext=$EXEEXT
2619
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2620
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3255
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3256
$as_echo_n "checking for suffix of object files... " >&6; }
2621
3257
if test "${ac_cv_objext+set}" = set; then
2622
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3258
  $as_echo_n "(cached) " >&6
2623
3259
else
2624
3260
  cat >conftest.$ac_ext <<_ACEOF
2625
3261
/* confdefs.h.  */
2637
3273
}
2638
3274
_ACEOF
2639
3275
rm -f conftest.o conftest.obj
2640
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2641
 
  (eval $ac_compile) 2>&5
 
3276
if { (ac_try="$ac_compile"
 
3277
case "(($ac_try" in
 
3278
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3279
  *) ac_try_echo=$ac_try;;
 
3280
esac
 
3281
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3282
$as_echo "$ac_try_echo") >&5
 
3283
  (eval "$ac_compile") 2>&5
2642
3284
  ac_status=$?
2643
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3285
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644
3286
  (exit $ac_status); }; then
2645
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3287
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3288
  test -f "$ac_file" || continue;
2646
3289
  case $ac_file in
2647
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3290
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2648
3291
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2649
3292
       break;;
2650
3293
  esac
2651
3294
done
2652
3295
else
2653
 
  echo "$as_me: failed program was:" >&5
 
3296
  $as_echo "$as_me: failed program was:" >&5
2654
3297
sed 's/^/| /' conftest.$ac_ext >&5
2655
3298
 
2656
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3299
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3300
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3301
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2657
3302
See \`config.log' for more details." >&5
2658
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3303
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2659
3304
See \`config.log' for more details." >&2;}
2660
 
   { (exit 1); exit 1; }; }
 
3305
   { (exit 1); exit 1; }; }; }
2661
3306
fi
2662
3307
 
2663
3308
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2664
3309
fi
2665
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2666
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3310
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3311
$as_echo "$ac_cv_objext" >&6; }
2667
3312
OBJEXT=$ac_cv_objext
2668
3313
ac_objext=$OBJEXT
2669
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2670
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3314
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3315
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2671
3316
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2672
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3317
  $as_echo_n "(cached) " >&6
2673
3318
else
2674
3319
  cat >conftest.$ac_ext <<_ACEOF
2675
3320
/* confdefs.h.  */
2690
3335
}
2691
3336
_ACEOF
2692
3337
rm -f conftest.$ac_objext
2693
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2694
 
  (eval $ac_compile) 2>conftest.er1
 
3338
if { (ac_try="$ac_compile"
 
3339
case "(($ac_try" in
 
3340
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3341
  *) ac_try_echo=$ac_try;;
 
3342
esac
 
3343
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3344
$as_echo "$ac_try_echo") >&5
 
3345
  (eval "$ac_compile") 2>conftest.er1
2695
3346
  ac_status=$?
2696
3347
  grep -v '^ *+' conftest.er1 >conftest.err
2697
3348
  rm -f conftest.er1
2698
3349
  cat conftest.err >&5
2699
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700
 
  (exit $ac_status); } &&
2701
 
         { ac_try='test -z "$ac_c_werror_flag"
2702
 
                         || test ! -s conftest.err'
2703
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2704
 
  (eval $ac_try) 2>&5
2705
 
  ac_status=$?
2706
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707
 
  (exit $ac_status); }; } &&
2708
 
         { ac_try='test -s conftest.$ac_objext'
2709
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2710
 
  (eval $ac_try) 2>&5
2711
 
  ac_status=$?
2712
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713
 
  (exit $ac_status); }; }; then
 
3350
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3351
  (exit $ac_status); } && {
 
3352
         test -z "$ac_c_werror_flag" ||
 
3353
         test ! -s conftest.err
 
3354
       } && test -s conftest.$ac_objext; then
2714
3355
  ac_compiler_gnu=yes
2715
3356
else
2716
 
  echo "$as_me: failed program was:" >&5
 
3357
  $as_echo "$as_me: failed program was:" >&5
2717
3358
sed 's/^/| /' conftest.$ac_ext >&5
2718
3359
 
2719
 
ac_compiler_gnu=no
 
3360
        ac_compiler_gnu=no
2720
3361
fi
2721
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3362
 
 
3363
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2722
3364
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2723
3365
 
2724
3366
fi
2725
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2726
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2727
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3367
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3368
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3369
if test $ac_compiler_gnu = yes; then
 
3370
  GCC=yes
 
3371
else
 
3372
  GCC=
 
3373
fi
2728
3374
ac_test_CFLAGS=${CFLAGS+set}
2729
3375
ac_save_CFLAGS=$CFLAGS
2730
 
CFLAGS="-g"
2731
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2732
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3376
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3377
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2733
3378
if test "${ac_cv_prog_cc_g+set}" = set; then
2734
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2735
 
else
2736
 
  cat >conftest.$ac_ext <<_ACEOF
2737
 
/* confdefs.h.  */
2738
 
_ACEOF
2739
 
cat confdefs.h >>conftest.$ac_ext
2740
 
cat >>conftest.$ac_ext <<_ACEOF
2741
 
/* end confdefs.h.  */
2742
 
 
2743
 
int
2744
 
main ()
2745
 
{
2746
 
 
2747
 
  ;
2748
 
  return 0;
2749
 
}
2750
 
_ACEOF
2751
 
rm -f conftest.$ac_objext
2752
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2753
 
  (eval $ac_compile) 2>conftest.er1
2754
 
  ac_status=$?
2755
 
  grep -v '^ *+' conftest.er1 >conftest.err
2756
 
  rm -f conftest.er1
2757
 
  cat conftest.err >&5
2758
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759
 
  (exit $ac_status); } &&
2760
 
         { ac_try='test -z "$ac_c_werror_flag"
2761
 
                         || test ! -s conftest.err'
2762
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2763
 
  (eval $ac_try) 2>&5
2764
 
  ac_status=$?
2765
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766
 
  (exit $ac_status); }; } &&
2767
 
         { ac_try='test -s conftest.$ac_objext'
2768
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2769
 
  (eval $ac_try) 2>&5
2770
 
  ac_status=$?
2771
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772
 
  (exit $ac_status); }; }; then
2773
 
  ac_cv_prog_cc_g=yes
2774
 
else
2775
 
  echo "$as_me: failed program was:" >&5
2776
 
sed 's/^/| /' conftest.$ac_ext >&5
2777
 
 
2778
 
ac_cv_prog_cc_g=no
2779
 
fi
2780
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2781
 
fi
2782
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2783
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3379
  $as_echo_n "(cached) " >&6
 
3380
else
 
3381
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3382
   ac_c_werror_flag=yes
 
3383
   ac_cv_prog_cc_g=no
 
3384
   CFLAGS="-g"
 
3385
   cat >conftest.$ac_ext <<_ACEOF
 
3386
/* confdefs.h.  */
 
3387
_ACEOF
 
3388
cat confdefs.h >>conftest.$ac_ext
 
3389
cat >>conftest.$ac_ext <<_ACEOF
 
3390
/* end confdefs.h.  */
 
3391
 
 
3392
int
 
3393
main ()
 
3394
{
 
3395
 
 
3396
  ;
 
3397
  return 0;
 
3398
}
 
3399
_ACEOF
 
3400
rm -f conftest.$ac_objext
 
3401
if { (ac_try="$ac_compile"
 
3402
case "(($ac_try" in
 
3403
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3404
  *) ac_try_echo=$ac_try;;
 
3405
esac
 
3406
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3407
$as_echo "$ac_try_echo") >&5
 
3408
  (eval "$ac_compile") 2>conftest.er1
 
3409
  ac_status=$?
 
3410
  grep -v '^ *+' conftest.er1 >conftest.err
 
3411
  rm -f conftest.er1
 
3412
  cat conftest.err >&5
 
3413
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3414
  (exit $ac_status); } && {
 
3415
         test -z "$ac_c_werror_flag" ||
 
3416
         test ! -s conftest.err
 
3417
       } && test -s conftest.$ac_objext; then
 
3418
  ac_cv_prog_cc_g=yes
 
3419
else
 
3420
  $as_echo "$as_me: failed program was:" >&5
 
3421
sed 's/^/| /' conftest.$ac_ext >&5
 
3422
 
 
3423
        CFLAGS=""
 
3424
      cat >conftest.$ac_ext <<_ACEOF
 
3425
/* confdefs.h.  */
 
3426
_ACEOF
 
3427
cat confdefs.h >>conftest.$ac_ext
 
3428
cat >>conftest.$ac_ext <<_ACEOF
 
3429
/* end confdefs.h.  */
 
3430
 
 
3431
int
 
3432
main ()
 
3433
{
 
3434
 
 
3435
  ;
 
3436
  return 0;
 
3437
}
 
3438
_ACEOF
 
3439
rm -f conftest.$ac_objext
 
3440
if { (ac_try="$ac_compile"
 
3441
case "(($ac_try" in
 
3442
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3443
  *) ac_try_echo=$ac_try;;
 
3444
esac
 
3445
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3446
$as_echo "$ac_try_echo") >&5
 
3447
  (eval "$ac_compile") 2>conftest.er1
 
3448
  ac_status=$?
 
3449
  grep -v '^ *+' conftest.er1 >conftest.err
 
3450
  rm -f conftest.er1
 
3451
  cat conftest.err >&5
 
3452
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3453
  (exit $ac_status); } && {
 
3454
         test -z "$ac_c_werror_flag" ||
 
3455
         test ! -s conftest.err
 
3456
       } && test -s conftest.$ac_objext; then
 
3457
  :
 
3458
else
 
3459
  $as_echo "$as_me: failed program was:" >&5
 
3460
sed 's/^/| /' conftest.$ac_ext >&5
 
3461
 
 
3462
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3463
         CFLAGS="-g"
 
3464
         cat >conftest.$ac_ext <<_ACEOF
 
3465
/* confdefs.h.  */
 
3466
_ACEOF
 
3467
cat confdefs.h >>conftest.$ac_ext
 
3468
cat >>conftest.$ac_ext <<_ACEOF
 
3469
/* end confdefs.h.  */
 
3470
 
 
3471
int
 
3472
main ()
 
3473
{
 
3474
 
 
3475
  ;
 
3476
  return 0;
 
3477
}
 
3478
_ACEOF
 
3479
rm -f conftest.$ac_objext
 
3480
if { (ac_try="$ac_compile"
 
3481
case "(($ac_try" in
 
3482
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3483
  *) ac_try_echo=$ac_try;;
 
3484
esac
 
3485
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3486
$as_echo "$ac_try_echo") >&5
 
3487
  (eval "$ac_compile") 2>conftest.er1
 
3488
  ac_status=$?
 
3489
  grep -v '^ *+' conftest.er1 >conftest.err
 
3490
  rm -f conftest.er1
 
3491
  cat conftest.err >&5
 
3492
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3493
  (exit $ac_status); } && {
 
3494
         test -z "$ac_c_werror_flag" ||
 
3495
         test ! -s conftest.err
 
3496
       } && test -s conftest.$ac_objext; then
 
3497
  ac_cv_prog_cc_g=yes
 
3498
else
 
3499
  $as_echo "$as_me: failed program was:" >&5
 
3500
sed 's/^/| /' conftest.$ac_ext >&5
 
3501
 
 
3502
 
 
3503
fi
 
3504
 
 
3505
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3506
fi
 
3507
 
 
3508
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3509
fi
 
3510
 
 
3511
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3512
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3513
fi
 
3514
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3515
$as_echo "$ac_cv_prog_cc_g" >&6; }
2784
3516
if test "$ac_test_CFLAGS" = set; then
2785
3517
  CFLAGS=$ac_save_CFLAGS
2786
3518
elif test $ac_cv_prog_cc_g = yes; then
2796
3528
    CFLAGS=
2797
3529
  fi
2798
3530
fi
2799
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2800
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2801
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2802
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3531
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3532
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3533
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3534
  $as_echo_n "(cached) " >&6
2803
3535
else
2804
 
  ac_cv_prog_cc_stdc=no
 
3536
  ac_cv_prog_cc_c89=no
2805
3537
ac_save_CC=$CC
2806
3538
cat >conftest.$ac_ext <<_ACEOF
2807
3539
/* confdefs.h.  */
2835
3567
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2836
3568
   function prototypes and stuff, but not '\xHH' hex character constants.
2837
3569
   These don't provoke an error unfortunately, instead are silently treated
2838
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3570
   as 'x'.  The following induces an error, until -std is added to get
2839
3571
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2840
3572
   array size at least.  It's necessary to write '\x00'==0 to get something
2841
 
   that's true only with -std1.  */
 
3573
   that's true only with -std.  */
2842
3574
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2843
3575
 
 
3576
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3577
   inside strings and character constants.  */
 
3578
#define FOO(x) 'x'
 
3579
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3580
 
2844
3581
int test (int i, double x);
2845
3582
struct s1 {int (*f) (int a);};
2846
3583
struct s2 {int (*f) (double a);};
2855
3592
  return 0;
2856
3593
}
2857
3594
_ACEOF
2858
 
# Don't try gcc -ansi; that turns off useful extensions and
2859
 
# breaks some systems' header files.
2860
 
# AIX                   -qlanglvl=ansi
2861
 
# Ultrix and OSF/1      -std1
2862
 
# HP-UX 10.20 and later -Ae
2863
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2864
 
# SVR4                  -Xc -D__EXTENSIONS__
2865
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3595
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3596
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2866
3597
do
2867
3598
  CC="$ac_save_CC $ac_arg"
2868
3599
  rm -f conftest.$ac_objext
2869
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2870
 
  (eval $ac_compile) 2>conftest.er1
 
3600
if { (ac_try="$ac_compile"
 
3601
case "(($ac_try" in
 
3602
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3603
  *) ac_try_echo=$ac_try;;
 
3604
esac
 
3605
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3606
$as_echo "$ac_try_echo") >&5
 
3607
  (eval "$ac_compile") 2>conftest.er1
2871
3608
  ac_status=$?
2872
3609
  grep -v '^ *+' conftest.er1 >conftest.err
2873
3610
  rm -f conftest.er1
2874
3611
  cat conftest.err >&5
2875
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876
 
  (exit $ac_status); } &&
2877
 
         { ac_try='test -z "$ac_c_werror_flag"
2878
 
                         || test ! -s conftest.err'
2879
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2880
 
  (eval $ac_try) 2>&5
2881
 
  ac_status=$?
2882
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883
 
  (exit $ac_status); }; } &&
2884
 
         { ac_try='test -s conftest.$ac_objext'
2885
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2886
 
  (eval $ac_try) 2>&5
2887
 
  ac_status=$?
2888
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889
 
  (exit $ac_status); }; }; then
2890
 
  ac_cv_prog_cc_stdc=$ac_arg
2891
 
break
 
3612
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3613
  (exit $ac_status); } && {
 
3614
         test -z "$ac_c_werror_flag" ||
 
3615
         test ! -s conftest.err
 
3616
       } && test -s conftest.$ac_objext; then
 
3617
  ac_cv_prog_cc_c89=$ac_arg
2892
3618
else
2893
 
  echo "$as_me: failed program was:" >&5
 
3619
  $as_echo "$as_me: failed program was:" >&5
2894
3620
sed 's/^/| /' conftest.$ac_ext >&5
2895
3621
 
 
3622
 
2896
3623
fi
2897
 
rm -f conftest.err conftest.$ac_objext
 
3624
 
 
3625
rm -f core conftest.err conftest.$ac_objext
 
3626
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2898
3627
done
2899
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3628
rm -f conftest.$ac_ext
2900
3629
CC=$ac_save_CC
2901
3630
 
2902
3631
fi
2903
 
 
2904
 
case "x$ac_cv_prog_cc_stdc" in
2905
 
  x|xno)
2906
 
    echo "$as_me:$LINENO: result: none needed" >&5
2907
 
echo "${ECHO_T}none needed" >&6 ;;
 
3632
# AC_CACHE_VAL
 
3633
case "x$ac_cv_prog_cc_c89" in
 
3634
  x)
 
3635
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3636
$as_echo "none needed" >&6; } ;;
 
3637
  xno)
 
3638
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3639
$as_echo "unsupported" >&6; } ;;
2908
3640
  *)
2909
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2910
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2911
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3641
    CC="$CC $ac_cv_prog_cc_c89"
 
3642
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3643
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2912
3644
esac
2913
3645
 
2914
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2915
 
# in C++ we need to declare it.  In case someone uses the same compiler
2916
 
# for both compiling C and C++ we need to have the C++ compiler decide
2917
 
# the declaration of exit, since it's the most demanding environment.
2918
 
cat >conftest.$ac_ext <<_ACEOF
2919
 
#ifndef __cplusplus
2920
 
  choke me
2921
 
#endif
2922
 
_ACEOF
2923
 
rm -f conftest.$ac_objext
2924
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2925
 
  (eval $ac_compile) 2>conftest.er1
2926
 
  ac_status=$?
2927
 
  grep -v '^ *+' conftest.er1 >conftest.err
2928
 
  rm -f conftest.er1
2929
 
  cat conftest.err >&5
2930
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931
 
  (exit $ac_status); } &&
2932
 
         { ac_try='test -z "$ac_c_werror_flag"
2933
 
                         || test ! -s conftest.err'
2934
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2935
 
  (eval $ac_try) 2>&5
2936
 
  ac_status=$?
2937
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938
 
  (exit $ac_status); }; } &&
2939
 
         { ac_try='test -s conftest.$ac_objext'
2940
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2941
 
  (eval $ac_try) 2>&5
2942
 
  ac_status=$?
2943
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944
 
  (exit $ac_status); }; }; then
2945
 
  for ac_declaration in \
2946
 
   '' \
2947
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2948
 
   'extern "C" void std::exit (int); using std::exit;' \
2949
 
   'extern "C" void exit (int) throw ();' \
2950
 
   'extern "C" void exit (int);' \
2951
 
   'void exit (int);'
2952
 
do
2953
 
  cat >conftest.$ac_ext <<_ACEOF
2954
 
/* confdefs.h.  */
2955
 
_ACEOF
2956
 
cat confdefs.h >>conftest.$ac_ext
2957
 
cat >>conftest.$ac_ext <<_ACEOF
2958
 
/* end confdefs.h.  */
2959
 
$ac_declaration
2960
 
#include <stdlib.h>
2961
 
int
2962
 
main ()
2963
 
{
2964
 
exit (42);
2965
 
  ;
2966
 
  return 0;
2967
 
}
2968
 
_ACEOF
2969
 
rm -f conftest.$ac_objext
2970
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2971
 
  (eval $ac_compile) 2>conftest.er1
2972
 
  ac_status=$?
2973
 
  grep -v '^ *+' conftest.er1 >conftest.err
2974
 
  rm -f conftest.er1
2975
 
  cat conftest.err >&5
2976
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977
 
  (exit $ac_status); } &&
2978
 
         { ac_try='test -z "$ac_c_werror_flag"
2979
 
                         || test ! -s conftest.err'
2980
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2981
 
  (eval $ac_try) 2>&5
2982
 
  ac_status=$?
2983
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984
 
  (exit $ac_status); }; } &&
2985
 
         { ac_try='test -s conftest.$ac_objext'
2986
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2987
 
  (eval $ac_try) 2>&5
2988
 
  ac_status=$?
2989
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990
 
  (exit $ac_status); }; }; then
2991
 
  :
2992
 
else
2993
 
  echo "$as_me: failed program was:" >&5
2994
 
sed 's/^/| /' conftest.$ac_ext >&5
2995
 
 
2996
 
continue
2997
 
fi
2998
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2999
 
  cat >conftest.$ac_ext <<_ACEOF
3000
 
/* confdefs.h.  */
3001
 
_ACEOF
3002
 
cat confdefs.h >>conftest.$ac_ext
3003
 
cat >>conftest.$ac_ext <<_ACEOF
3004
 
/* end confdefs.h.  */
3005
 
$ac_declaration
3006
 
int
3007
 
main ()
3008
 
{
3009
 
exit (42);
3010
 
  ;
3011
 
  return 0;
3012
 
}
3013
 
_ACEOF
3014
 
rm -f conftest.$ac_objext
3015
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3016
 
  (eval $ac_compile) 2>conftest.er1
3017
 
  ac_status=$?
3018
 
  grep -v '^ *+' conftest.er1 >conftest.err
3019
 
  rm -f conftest.er1
3020
 
  cat conftest.err >&5
3021
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022
 
  (exit $ac_status); } &&
3023
 
         { ac_try='test -z "$ac_c_werror_flag"
3024
 
                         || test ! -s conftest.err'
3025
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3026
 
  (eval $ac_try) 2>&5
3027
 
  ac_status=$?
3028
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029
 
  (exit $ac_status); }; } &&
3030
 
         { ac_try='test -s conftest.$ac_objext'
3031
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3032
 
  (eval $ac_try) 2>&5
3033
 
  ac_status=$?
3034
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035
 
  (exit $ac_status); }; }; then
3036
 
  break
3037
 
else
3038
 
  echo "$as_me: failed program was:" >&5
3039
 
sed 's/^/| /' conftest.$ac_ext >&5
3040
 
 
3041
 
fi
3042
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3043
 
done
3044
 
rm -f conftest*
3045
 
if test -n "$ac_declaration"; then
3046
 
  echo '#ifdef __cplusplus' >>confdefs.h
3047
 
  echo $ac_declaration      >>confdefs.h
3048
 
  echo '#endif'             >>confdefs.h
3049
 
fi
3050
 
 
3051
 
else
3052
 
  echo "$as_me: failed program was:" >&5
3053
 
sed 's/^/| /' conftest.$ac_ext >&5
3054
 
 
3055
 
fi
3056
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3646
 
3057
3647
ac_ext=c
3058
3648
ac_cpp='$CPP $CPPFLAGS'
3059
3649
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3060
3650
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3061
3651
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3062
3652
 
3063
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3064
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3065
 
if test "${lt_cv_path_SED+set}" = set; then
3066
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3653
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
3654
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
3655
if test "${ac_cv_path_SED+set}" = set; then
 
3656
  $as_echo_n "(cached) " >&6
3067
3657
else
3068
 
  # Loop through the user's path and test for sed and gsed.
3069
 
# Then use that list of sed's as ones to test for truncation.
3070
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3658
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
3659
     for ac_i in 1 2 3 4 5 6 7; do
 
3660
       ac_script="$ac_script$as_nl$ac_script"
 
3661
     done
 
3662
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
3663
     $as_unset ac_script || ac_script=
 
3664
     if test -z "$SED"; then
 
3665
  ac_path_SED_found=false
 
3666
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3667
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3071
3668
for as_dir in $PATH
3072
3669
do
3073
3670
  IFS=$as_save_IFS
3074
3671
  test -z "$as_dir" && as_dir=.
3075
 
  for lt_ac_prog in sed gsed; do
3076
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3077
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3078
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3079
 
      fi
3080
 
    done
3081
 
  done
3082
 
done
3083
 
IFS=$as_save_IFS
3084
 
lt_ac_max=0
3085
 
lt_ac_count=0
3086
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3087
 
# along with /bin/sed that truncates output.
3088
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3089
 
  test ! -f $lt_ac_sed && continue
3090
 
  cat /dev/null > conftest.in
3091
 
  lt_ac_count=0
3092
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3093
 
  # Check for GNU sed and select it if it is found.
3094
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3095
 
    lt_cv_path_SED=$lt_ac_sed
3096
 
    break
3097
 
  fi
3098
 
  while true; do
3099
 
    cat conftest.in conftest.in >conftest.tmp
3100
 
    mv conftest.tmp conftest.in
3101
 
    cp conftest.in conftest.nl
3102
 
    echo >>conftest.nl
3103
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3104
 
    cmp -s conftest.out conftest.nl || break
3105
 
    # 10000 chars as input seems more than enough
3106
 
    test $lt_ac_count -gt 10 && break
3107
 
    lt_ac_count=`expr $lt_ac_count + 1`
3108
 
    if test $lt_ac_count -gt $lt_ac_max; then
3109
 
      lt_ac_max=$lt_ac_count
3110
 
      lt_cv_path_SED=$lt_ac_sed
3111
 
    fi
3112
 
  done
3113
 
done
3114
 
 
3115
 
fi
3116
 
 
3117
 
SED=$lt_cv_path_SED
3118
 
 
3119
 
echo "$as_me:$LINENO: result: $SED" >&5
3120
 
echo "${ECHO_T}$SED" >&6
3121
 
 
3122
 
echo "$as_me:$LINENO: checking for egrep" >&5
3123
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3124
 
if test "${ac_cv_prog_egrep+set}" = set; then
3125
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3126
 
else
3127
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3128
 
    then ac_cv_prog_egrep='grep -E'
3129
 
    else ac_cv_prog_egrep='egrep'
3130
 
    fi
3131
 
fi
3132
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3133
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3134
 
 EGREP=$ac_cv_prog_egrep
3135
 
 
3136
 
 
3137
 
 
3138
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
3672
  for ac_prog in sed gsed; do
 
3673
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3674
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
3675
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
3676
# Check for GNU ac_path_SED and select it if it is found.
 
3677
  # Check for GNU $ac_path_SED
 
3678
case `"$ac_path_SED" --version 2>&1` in
 
3679
*GNU*)
 
3680
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
3681
*)
 
3682
  ac_count=0
 
3683
  $as_echo_n 0123456789 >"conftest.in"
 
3684
  while :
 
3685
  do
 
3686
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3687
    mv "conftest.tmp" "conftest.in"
 
3688
    cp "conftest.in" "conftest.nl"
 
3689
    $as_echo '' >> "conftest.nl"
 
3690
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3691
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3692
    ac_count=`expr $ac_count + 1`
 
3693
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
3694
      # Best one so far, save it but keep looking for a better one
 
3695
      ac_cv_path_SED="$ac_path_SED"
 
3696
      ac_path_SED_max=$ac_count
 
3697
    fi
 
3698
    # 10*(2^10) chars as input seems more than enough
 
3699
    test $ac_count -gt 10 && break
 
3700
  done
 
3701
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3702
esac
 
3703
 
 
3704
      $ac_path_SED_found && break 3
 
3705
    done
 
3706
  done
 
3707
done
 
3708
IFS=$as_save_IFS
 
3709
  if test -z "$ac_cv_path_SED"; then
 
3710
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
 
3711
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
 
3712
   { (exit 1); exit 1; }; }
 
3713
  fi
 
3714
else
 
3715
  ac_cv_path_SED=$SED
 
3716
fi
 
3717
 
 
3718
fi
 
3719
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
3720
$as_echo "$ac_cv_path_SED" >&6; }
 
3721
 SED="$ac_cv_path_SED"
 
3722
  rm -f conftest.sed
 
3723
 
 
3724
test -z "$SED" && SED=sed
 
3725
Xsed="$SED -e 1s/^X//"
 
3726
 
 
3727
 
 
3728
 
 
3729
 
 
3730
 
 
3731
 
 
3732
 
 
3733
 
 
3734
 
 
3735
 
 
3736
 
 
3737
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3738
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
3739
if test "${ac_cv_path_GREP+set}" = set; then
 
3740
  $as_echo_n "(cached) " >&6
 
3741
else
 
3742
  if test -z "$GREP"; then
 
3743
  ac_path_GREP_found=false
 
3744
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3745
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3746
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3747
do
 
3748
  IFS=$as_save_IFS
 
3749
  test -z "$as_dir" && as_dir=.
 
3750
  for ac_prog in grep ggrep; do
 
3751
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3752
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3753
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3754
# Check for GNU ac_path_GREP and select it if it is found.
 
3755
  # Check for GNU $ac_path_GREP
 
3756
case `"$ac_path_GREP" --version 2>&1` in
 
3757
*GNU*)
 
3758
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3759
*)
 
3760
  ac_count=0
 
3761
  $as_echo_n 0123456789 >"conftest.in"
 
3762
  while :
 
3763
  do
 
3764
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3765
    mv "conftest.tmp" "conftest.in"
 
3766
    cp "conftest.in" "conftest.nl"
 
3767
    $as_echo 'GREP' >> "conftest.nl"
 
3768
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3769
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3770
    ac_count=`expr $ac_count + 1`
 
3771
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3772
      # Best one so far, save it but keep looking for a better one
 
3773
      ac_cv_path_GREP="$ac_path_GREP"
 
3774
      ac_path_GREP_max=$ac_count
 
3775
    fi
 
3776
    # 10*(2^10) chars as input seems more than enough
 
3777
    test $ac_count -gt 10 && break
 
3778
  done
 
3779
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3780
esac
 
3781
 
 
3782
      $ac_path_GREP_found && break 3
 
3783
    done
 
3784
  done
 
3785
done
 
3786
IFS=$as_save_IFS
 
3787
  if test -z "$ac_cv_path_GREP"; then
 
3788
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3789
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3790
   { (exit 1); exit 1; }; }
 
3791
  fi
 
3792
else
 
3793
  ac_cv_path_GREP=$GREP
 
3794
fi
 
3795
 
 
3796
fi
 
3797
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3798
$as_echo "$ac_cv_path_GREP" >&6; }
 
3799
 GREP="$ac_cv_path_GREP"
 
3800
 
 
3801
 
 
3802
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
3803
$as_echo_n "checking for egrep... " >&6; }
 
3804
if test "${ac_cv_path_EGREP+set}" = set; then
 
3805
  $as_echo_n "(cached) " >&6
 
3806
else
 
3807
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
3808
   then ac_cv_path_EGREP="$GREP -E"
 
3809
   else
 
3810
     if test -z "$EGREP"; then
 
3811
  ac_path_EGREP_found=false
 
3812
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3813
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3814
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3815
do
 
3816
  IFS=$as_save_IFS
 
3817
  test -z "$as_dir" && as_dir=.
 
3818
  for ac_prog in egrep; do
 
3819
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3820
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3821
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
3822
# Check for GNU ac_path_EGREP and select it if it is found.
 
3823
  # Check for GNU $ac_path_EGREP
 
3824
case `"$ac_path_EGREP" --version 2>&1` in
 
3825
*GNU*)
 
3826
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
3827
*)
 
3828
  ac_count=0
 
3829
  $as_echo_n 0123456789 >"conftest.in"
 
3830
  while :
 
3831
  do
 
3832
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3833
    mv "conftest.tmp" "conftest.in"
 
3834
    cp "conftest.in" "conftest.nl"
 
3835
    $as_echo 'EGREP' >> "conftest.nl"
 
3836
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3837
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3838
    ac_count=`expr $ac_count + 1`
 
3839
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
3840
      # Best one so far, save it but keep looking for a better one
 
3841
      ac_cv_path_EGREP="$ac_path_EGREP"
 
3842
      ac_path_EGREP_max=$ac_count
 
3843
    fi
 
3844
    # 10*(2^10) chars as input seems more than enough
 
3845
    test $ac_count -gt 10 && break
 
3846
  done
 
3847
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3848
esac
 
3849
 
 
3850
      $ac_path_EGREP_found && break 3
 
3851
    done
 
3852
  done
 
3853
done
 
3854
IFS=$as_save_IFS
 
3855
  if test -z "$ac_cv_path_EGREP"; then
 
3856
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3857
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3858
   { (exit 1); exit 1; }; }
 
3859
  fi
 
3860
else
 
3861
  ac_cv_path_EGREP=$EGREP
 
3862
fi
 
3863
 
 
3864
   fi
 
3865
fi
 
3866
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
3867
$as_echo "$ac_cv_path_EGREP" >&6; }
 
3868
 EGREP="$ac_cv_path_EGREP"
 
3869
 
 
3870
 
 
3871
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
3872
$as_echo_n "checking for fgrep... " >&6; }
 
3873
if test "${ac_cv_path_FGREP+set}" = set; then
 
3874
  $as_echo_n "(cached) " >&6
 
3875
else
 
3876
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
3877
   then ac_cv_path_FGREP="$GREP -F"
 
3878
   else
 
3879
     if test -z "$FGREP"; then
 
3880
  ac_path_FGREP_found=false
 
3881
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3882
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3883
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3884
do
 
3885
  IFS=$as_save_IFS
 
3886
  test -z "$as_dir" && as_dir=.
 
3887
  for ac_prog in fgrep; do
 
3888
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3889
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3890
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
3891
# Check for GNU ac_path_FGREP and select it if it is found.
 
3892
  # Check for GNU $ac_path_FGREP
 
3893
case `"$ac_path_FGREP" --version 2>&1` in
 
3894
*GNU*)
 
3895
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
3896
*)
 
3897
  ac_count=0
 
3898
  $as_echo_n 0123456789 >"conftest.in"
 
3899
  while :
 
3900
  do
 
3901
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3902
    mv "conftest.tmp" "conftest.in"
 
3903
    cp "conftest.in" "conftest.nl"
 
3904
    $as_echo 'FGREP' >> "conftest.nl"
 
3905
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3906
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3907
    ac_count=`expr $ac_count + 1`
 
3908
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
3909
      # Best one so far, save it but keep looking for a better one
 
3910
      ac_cv_path_FGREP="$ac_path_FGREP"
 
3911
      ac_path_FGREP_max=$ac_count
 
3912
    fi
 
3913
    # 10*(2^10) chars as input seems more than enough
 
3914
    test $ac_count -gt 10 && break
 
3915
  done
 
3916
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3917
esac
 
3918
 
 
3919
      $ac_path_FGREP_found && break 3
 
3920
    done
 
3921
  done
 
3922
done
 
3923
IFS=$as_save_IFS
 
3924
  if test -z "$ac_cv_path_FGREP"; then
 
3925
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3926
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3927
   { (exit 1); exit 1; }; }
 
3928
  fi
 
3929
else
 
3930
  ac_cv_path_FGREP=$FGREP
 
3931
fi
 
3932
 
 
3933
   fi
 
3934
fi
 
3935
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
3936
$as_echo "$ac_cv_path_FGREP" >&6; }
 
3937
 FGREP="$ac_cv_path_FGREP"
 
3938
 
 
3939
 
 
3940
test -z "$GREP" && GREP=grep
 
3941
 
 
3942
 
 
3943
 
 
3944
 
 
3945
 
 
3946
 
 
3947
 
 
3948
 
 
3949
 
 
3950
 
 
3951
 
 
3952
 
 
3953
 
 
3954
 
 
3955
 
 
3956
 
 
3957
 
 
3958
 
 
3959
 
 
3960
# Check whether --with-gnu-ld was given.
3139
3961
if test "${with_gnu_ld+set}" = set; then
3140
 
  withval="$with_gnu_ld"
3141
 
  test "$withval" = no || with_gnu_ld=yes
 
3962
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3142
3963
else
3143
3964
  with_gnu_ld=no
3144
 
fi;
 
3965
fi
 
3966
 
3145
3967
ac_prog=ld
3146
3968
if test "$GCC" = yes; then
3147
3969
  # Check if gcc -print-prog-name=ld gives a path.
3148
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3149
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
3970
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
3971
$as_echo_n "checking for ld used by $CC... " >&6; }
3150
3972
  case $host in
3151
3973
  *-*-mingw*)
3152
3974
    # gcc leaves a trailing carriage return which upsets mingw
3159
3981
    [\\/]* | ?:[\\/]*)
3160
3982
      re_direlt='/[^/][^/]*/\.\./'
3161
3983
      # Canonicalize the pathname of ld
3162
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3163
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3164
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
3984
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
3985
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
3986
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3165
3987
      done
3166
3988
      test -z "$LD" && LD="$ac_prog"
3167
3989
      ;;
3175
3997
    ;;
3176
3998
  esac
3177
3999
elif test "$with_gnu_ld" = yes; then
3178
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
3179
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
4000
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4001
$as_echo_n "checking for GNU ld... " >&6; }
3180
4002
else
3181
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3182
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
4003
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4004
$as_echo_n "checking for non-GNU ld... " >&6; }
3183
4005
fi
3184
4006
if test "${lt_cv_path_LD+set}" = set; then
3185
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4007
  $as_echo_n "(cached) " >&6
3186
4008
else
3187
4009
  if test -z "$LD"; then
3188
4010
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3212
4034
 
3213
4035
LD="$lt_cv_path_LD"
3214
4036
if test -n "$LD"; then
3215
 
  echo "$as_me:$LINENO: result: $LD" >&5
3216
 
echo "${ECHO_T}$LD" >&6
 
4037
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
4038
$as_echo "$LD" >&6; }
3217
4039
else
3218
 
  echo "$as_me:$LINENO: result: no" >&5
3219
 
echo "${ECHO_T}no" >&6
 
4040
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4041
$as_echo "no" >&6; }
3220
4042
fi
3221
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3222
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
4043
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
4044
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3223
4045
   { (exit 1); exit 1; }; }
3224
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3225
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
4046
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4047
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3226
4048
if test "${lt_cv_prog_gnu_ld+set}" = set; then
3227
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4049
  $as_echo_n "(cached) " >&6
3228
4050
else
3229
4051
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
3230
4052
case `$LD -v 2>&1 </dev/null` in
3236
4058
  ;;
3237
4059
esac
3238
4060
fi
3239
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3240
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
4061
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4062
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
3241
4063
with_gnu_ld=$lt_cv_prog_gnu_ld
3242
4064
 
3243
4065
 
3244
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3245
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3246
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
3247
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3248
 
else
3249
 
  lt_cv_ld_reload_flag='-r'
3250
 
fi
3251
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3252
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3253
 
reload_flag=$lt_cv_ld_reload_flag
3254
 
case $reload_flag in
3255
 
"" | " "*) ;;
3256
 
*) reload_flag=" $reload_flag" ;;
3257
 
esac
3258
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
3259
 
case $host_os in
3260
 
  darwin*)
3261
 
    if test "$GCC" = yes; then
3262
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3263
 
    else
3264
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
3265
 
    fi
3266
 
    ;;
3267
 
esac
3268
 
 
3269
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3270
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
4066
 
 
4067
 
 
4068
 
 
4069
 
 
4070
 
 
4071
 
 
4072
 
 
4073
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
4074
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3271
4075
if test "${lt_cv_path_NM+set}" = set; then
3272
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4076
  $as_echo_n "(cached) " >&6
3273
4077
else
3274
4078
  if test -n "$NM"; then
3275
4079
  # Let the user override the test.
3312
4116
    done
3313
4117
    IFS="$lt_save_ifs"
3314
4118
  done
3315
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3316
 
fi
3317
 
fi
3318
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3319
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
3320
 
NM="$lt_cv_path_NM"
3321
 
 
3322
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
3323
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
4119
  : ${lt_cv_path_NM=no}
 
4120
fi
 
4121
fi
 
4122
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4123
$as_echo "$lt_cv_path_NM" >&6; }
 
4124
if test "$lt_cv_path_NM" != "no"; then
 
4125
  NM="$lt_cv_path_NM"
 
4126
else
 
4127
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
4128
  if test -n "$ac_tool_prefix"; then
 
4129
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4130
  do
 
4131
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4132
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4133
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4134
$as_echo_n "checking for $ac_word... " >&6; }
 
4135
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
4136
  $as_echo_n "(cached) " >&6
 
4137
else
 
4138
  if test -n "$DUMPBIN"; then
 
4139
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
4140
else
 
4141
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4142
for as_dir in $PATH
 
4143
do
 
4144
  IFS=$as_save_IFS
 
4145
  test -z "$as_dir" && as_dir=.
 
4146
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4147
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4148
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
4149
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4150
    break 2
 
4151
  fi
 
4152
done
 
4153
done
 
4154
IFS=$as_save_IFS
 
4155
 
 
4156
fi
 
4157
fi
 
4158
DUMPBIN=$ac_cv_prog_DUMPBIN
 
4159
if test -n "$DUMPBIN"; then
 
4160
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
4161
$as_echo "$DUMPBIN" >&6; }
 
4162
else
 
4163
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4164
$as_echo "no" >&6; }
 
4165
fi
 
4166
 
 
4167
 
 
4168
    test -n "$DUMPBIN" && break
 
4169
  done
 
4170
fi
 
4171
if test -z "$DUMPBIN"; then
 
4172
  ac_ct_DUMPBIN=$DUMPBIN
 
4173
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4174
do
 
4175
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4176
set dummy $ac_prog; ac_word=$2
 
4177
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4178
$as_echo_n "checking for $ac_word... " >&6; }
 
4179
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
4180
  $as_echo_n "(cached) " >&6
 
4181
else
 
4182
  if test -n "$ac_ct_DUMPBIN"; then
 
4183
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
4184
else
 
4185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4186
for as_dir in $PATH
 
4187
do
 
4188
  IFS=$as_save_IFS
 
4189
  test -z "$as_dir" && as_dir=.
 
4190
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4191
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4192
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
4193
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4194
    break 2
 
4195
  fi
 
4196
done
 
4197
done
 
4198
IFS=$as_save_IFS
 
4199
 
 
4200
fi
 
4201
fi
 
4202
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
4203
if test -n "$ac_ct_DUMPBIN"; then
 
4204
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
4205
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
4206
else
 
4207
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4208
$as_echo "no" >&6; }
 
4209
fi
 
4210
 
 
4211
 
 
4212
  test -n "$ac_ct_DUMPBIN" && break
 
4213
done
 
4214
 
 
4215
  if test "x$ac_ct_DUMPBIN" = x; then
 
4216
    DUMPBIN=":"
 
4217
  else
 
4218
    case $cross_compiling:$ac_tool_warned in
 
4219
yes:)
 
4220
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4221
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4222
ac_tool_warned=yes ;;
 
4223
esac
 
4224
    DUMPBIN=$ac_ct_DUMPBIN
 
4225
  fi
 
4226
fi
 
4227
 
 
4228
 
 
4229
  if test "$DUMPBIN" != ":"; then
 
4230
    NM="$DUMPBIN"
 
4231
  fi
 
4232
fi
 
4233
test -z "$NM" && NM=nm
 
4234
 
 
4235
 
 
4236
 
 
4237
 
 
4238
 
 
4239
 
 
4240
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
4241
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
4242
if test "${lt_cv_nm_interface+set}" = set; then
 
4243
  $as_echo_n "(cached) " >&6
 
4244
else
 
4245
  lt_cv_nm_interface="BSD nm"
 
4246
  echo "int some_variable = 0;" > conftest.$ac_ext
 
4247
  (eval echo "\"\$as_me:4247: $ac_compile\"" >&5)
 
4248
  (eval "$ac_compile" 2>conftest.err)
 
4249
  cat conftest.err >&5
 
4250
  (eval echo "\"\$as_me:4250: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4251
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
4252
  cat conftest.err >&5
 
4253
  (eval echo "\"\$as_me:4253: output\"" >&5)
 
4254
  cat conftest.out >&5
 
4255
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
4256
    lt_cv_nm_interface="MS dumpbin"
 
4257
  fi
 
4258
  rm -f conftest*
 
4259
fi
 
4260
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
4261
$as_echo "$lt_cv_nm_interface" >&6; }
 
4262
 
 
4263
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4264
$as_echo_n "checking whether ln -s works... " >&6; }
3324
4265
LN_S=$as_ln_s
3325
4266
if test "$LN_S" = "ln -s"; then
3326
 
  echo "$as_me:$LINENO: result: yes" >&5
3327
 
echo "${ECHO_T}yes" >&6
3328
 
else
3329
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3330
 
echo "${ECHO_T}no, using $LN_S" >&6
3331
 
fi
3332
 
 
3333
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3334
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
4267
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4268
$as_echo "yes" >&6; }
 
4269
else
 
4270
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4271
$as_echo "no, using $LN_S" >&6; }
 
4272
fi
 
4273
 
 
4274
# find the maximum length of command line arguments
 
4275
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
4276
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
4277
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
4278
  $as_echo_n "(cached) " >&6
 
4279
else
 
4280
    i=0
 
4281
  teststring="ABCD"
 
4282
 
 
4283
  case $build_os in
 
4284
  msdosdjgpp*)
 
4285
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
4286
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
4287
    # during glob expansion).  Even if it were fixed, the result of this
 
4288
    # check would be larger than it should be.
 
4289
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
4290
    ;;
 
4291
 
 
4292
  gnu*)
 
4293
    # Under GNU Hurd, this test is not required because there is
 
4294
    # no limit to the length of command line arguments.
 
4295
    # Libtool will interpret -1 as no limit whatsoever
 
4296
    lt_cv_sys_max_cmd_len=-1;
 
4297
    ;;
 
4298
 
 
4299
  cygwin* | mingw* | cegcc*)
 
4300
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
4301
    # about 5 minutes as the teststring grows exponentially.
 
4302
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
4303
    # you end up with a "frozen" computer, even though with patience
 
4304
    # the test eventually succeeds (with a max line length of 256k).
 
4305
    # Instead, let's just punt: use the minimum linelength reported by
 
4306
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
4307
    lt_cv_sys_max_cmd_len=8192;
 
4308
    ;;
 
4309
 
 
4310
  amigaos*)
 
4311
    # On AmigaOS with pdksh, this test takes hours, literally.
 
4312
    # So we just punt and use a minimum line length of 8192.
 
4313
    lt_cv_sys_max_cmd_len=8192;
 
4314
    ;;
 
4315
 
 
4316
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
4317
    # This has been around since 386BSD, at least.  Likely further.
 
4318
    if test -x /sbin/sysctl; then
 
4319
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
4320
    elif test -x /usr/sbin/sysctl; then
 
4321
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
4322
    else
 
4323
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
4324
    fi
 
4325
    # And add a safety zone
 
4326
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4327
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4328
    ;;
 
4329
 
 
4330
  interix*)
 
4331
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
4332
    lt_cv_sys_max_cmd_len=196608
 
4333
    ;;
 
4334
 
 
4335
  osf*)
 
4336
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
4337
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
4338
    # nice to cause kernel panics so lets avoid the loop below.
 
4339
    # First set a reasonable default.
 
4340
    lt_cv_sys_max_cmd_len=16384
 
4341
    #
 
4342
    if test -x /sbin/sysconfig; then
 
4343
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
4344
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
4345
      esac
 
4346
    fi
 
4347
    ;;
 
4348
  sco3.2v5*)
 
4349
    lt_cv_sys_max_cmd_len=102400
 
4350
    ;;
 
4351
  sysv5* | sco5v6* | sysv4.2uw2*)
 
4352
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
4353
    if test -n "$kargmax"; then
 
4354
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
4355
    else
 
4356
      lt_cv_sys_max_cmd_len=32768
 
4357
    fi
 
4358
    ;;
 
4359
  *)
 
4360
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
4361
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
4362
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4363
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4364
    else
 
4365
      # Make teststring a little bigger before we do anything with it.
 
4366
      # a 1K string should be a reasonable start.
 
4367
      for i in 1 2 3 4 5 6 7 8 ; do
 
4368
        teststring=$teststring$teststring
 
4369
      done
 
4370
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
4371
      # If test is not a shell built-in, we'll probably end up computing a
 
4372
      # maximum length that is only half of the actual maximum length, but
 
4373
      # we can't tell.
 
4374
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
4375
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
4376
              test $i != 17 # 1/2 MB should be enough
 
4377
      do
 
4378
        i=`expr $i + 1`
 
4379
        teststring=$teststring$teststring
 
4380
      done
 
4381
      # Only check the string length outside the loop.
 
4382
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
4383
      teststring=
 
4384
      # Add a significant safety factor because C++ compilers can tack on
 
4385
      # massive amounts of additional arguments before passing them to the
 
4386
      # linker.  It appears as though 1/2 is a usable value.
 
4387
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
4388
    fi
 
4389
    ;;
 
4390
  esac
 
4391
 
 
4392
fi
 
4393
 
 
4394
if test -n $lt_cv_sys_max_cmd_len ; then
 
4395
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
4396
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
4397
else
 
4398
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
4399
$as_echo "none" >&6; }
 
4400
fi
 
4401
max_cmd_len=$lt_cv_sys_max_cmd_len
 
4402
 
 
4403
 
 
4404
 
 
4405
 
 
4406
 
 
4407
 
 
4408
: ${CP="cp -f"}
 
4409
: ${MV="mv -f"}
 
4410
: ${RM="rm -f"}
 
4411
 
 
4412
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
4413
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
4414
# Try some XSI features
 
4415
xsi_shell=no
 
4416
( _lt_dummy="a/b/c"
 
4417
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
4418
      = c,a/b,, \
 
4419
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
4420
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
4421
  && xsi_shell=yes
 
4422
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
4423
$as_echo "$xsi_shell" >&6; }
 
4424
 
 
4425
 
 
4426
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
4427
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
4428
lt_shell_append=no
 
4429
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
4430
    >/dev/null 2>&1 \
 
4431
  && lt_shell_append=yes
 
4432
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
4433
$as_echo "$lt_shell_append" >&6; }
 
4434
 
 
4435
 
 
4436
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
4437
  lt_unset=unset
 
4438
else
 
4439
  lt_unset=false
 
4440
fi
 
4441
 
 
4442
 
 
4443
 
 
4444
 
 
4445
 
 
4446
# test EBCDIC or ASCII
 
4447
case `echo X|tr X '\101'` in
 
4448
 A) # ASCII based system
 
4449
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
4450
  lt_SP2NL='tr \040 \012'
 
4451
  lt_NL2SP='tr \015\012 \040\040'
 
4452
  ;;
 
4453
 *) # EBCDIC based system
 
4454
  lt_SP2NL='tr \100 \n'
 
4455
  lt_NL2SP='tr \r\n \100\100'
 
4456
  ;;
 
4457
esac
 
4458
 
 
4459
 
 
4460
 
 
4461
 
 
4462
 
 
4463
 
 
4464
 
 
4465
 
 
4466
 
 
4467
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4468
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
4469
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
4470
  $as_echo_n "(cached) " >&6
 
4471
else
 
4472
  lt_cv_ld_reload_flag='-r'
 
4473
fi
 
4474
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4475
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
4476
reload_flag=$lt_cv_ld_reload_flag
 
4477
case $reload_flag in
 
4478
"" | " "*) ;;
 
4479
*) reload_flag=" $reload_flag" ;;
 
4480
esac
 
4481
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4482
case $host_os in
 
4483
  darwin*)
 
4484
    if test "$GCC" = yes; then
 
4485
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
4486
    else
 
4487
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4488
    fi
 
4489
    ;;
 
4490
esac
 
4491
 
 
4492
 
 
4493
 
 
4494
 
 
4495
 
 
4496
 
 
4497
 
 
4498
 
 
4499
 
 
4500
if test -n "$ac_tool_prefix"; then
 
4501
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
4502
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
4503
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4504
$as_echo_n "checking for $ac_word... " >&6; }
 
4505
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
4506
  $as_echo_n "(cached) " >&6
 
4507
else
 
4508
  if test -n "$OBJDUMP"; then
 
4509
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
4510
else
 
4511
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4512
for as_dir in $PATH
 
4513
do
 
4514
  IFS=$as_save_IFS
 
4515
  test -z "$as_dir" && as_dir=.
 
4516
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4517
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4518
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
4519
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4520
    break 2
 
4521
  fi
 
4522
done
 
4523
done
 
4524
IFS=$as_save_IFS
 
4525
 
 
4526
fi
 
4527
fi
 
4528
OBJDUMP=$ac_cv_prog_OBJDUMP
 
4529
if test -n "$OBJDUMP"; then
 
4530
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
4531
$as_echo "$OBJDUMP" >&6; }
 
4532
else
 
4533
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4534
$as_echo "no" >&6; }
 
4535
fi
 
4536
 
 
4537
 
 
4538
fi
 
4539
if test -z "$ac_cv_prog_OBJDUMP"; then
 
4540
  ac_ct_OBJDUMP=$OBJDUMP
 
4541
  # Extract the first word of "objdump", so it can be a program name with args.
 
4542
set dummy objdump; ac_word=$2
 
4543
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4544
$as_echo_n "checking for $ac_word... " >&6; }
 
4545
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
4546
  $as_echo_n "(cached) " >&6
 
4547
else
 
4548
  if test -n "$ac_ct_OBJDUMP"; then
 
4549
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
4550
else
 
4551
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4552
for as_dir in $PATH
 
4553
do
 
4554
  IFS=$as_save_IFS
 
4555
  test -z "$as_dir" && as_dir=.
 
4556
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4557
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4558
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
4559
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4560
    break 2
 
4561
  fi
 
4562
done
 
4563
done
 
4564
IFS=$as_save_IFS
 
4565
 
 
4566
fi
 
4567
fi
 
4568
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
4569
if test -n "$ac_ct_OBJDUMP"; then
 
4570
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
4571
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
4572
else
 
4573
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4574
$as_echo "no" >&6; }
 
4575
fi
 
4576
 
 
4577
  if test "x$ac_ct_OBJDUMP" = x; then
 
4578
    OBJDUMP="false"
 
4579
  else
 
4580
    case $cross_compiling:$ac_tool_warned in
 
4581
yes:)
 
4582
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4583
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4584
ac_tool_warned=yes ;;
 
4585
esac
 
4586
    OBJDUMP=$ac_ct_OBJDUMP
 
4587
  fi
 
4588
else
 
4589
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
4590
fi
 
4591
 
 
4592
test -z "$OBJDUMP" && OBJDUMP=objdump
 
4593
 
 
4594
 
 
4595
 
 
4596
 
 
4597
 
 
4598
 
 
4599
 
 
4600
 
 
4601
 
 
4602
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
4603
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
3335
4604
if test "${lt_cv_deplibs_check_method+set}" = set; then
3336
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4605
  $as_echo_n "(cached) " >&6
3337
4606
else
3338
4607
  lt_cv_file_magic_cmd='$MAGIC_CMD'
3339
4608
lt_cv_file_magic_test_file=
3350
4619
# whether `pass_all' will *always* work, you probably want this one.
3351
4620
 
3352
4621
case $host_os in
3353
 
aix4* | aix5*)
 
4622
aix[4-9]*)
3354
4623
  lt_cv_deplibs_check_method=pass_all
3355
4624
  ;;
3356
4625
 
3372
4641
 
3373
4642
mingw* | pw32*)
3374
4643
  # Base MSYS/MinGW do not provide the 'file' command needed by
3375
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3376
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
4644
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
4645
  # unless we find 'file', for example because we are cross-compiling.
 
4646
  if ( file / ) >/dev/null 2>&1; then
 
4647
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
4648
    lt_cv_file_magic_cmd='func_win32_libid'
 
4649
  else
 
4650
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
4651
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4652
  fi
 
4653
  ;;
 
4654
 
 
4655
cegcc)
 
4656
  # use the weaker test based on 'objdump'. See mingw*.
 
4657
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3377
4658
  lt_cv_file_magic_cmd='$OBJDUMP -f'
3378
4659
  ;;
3379
4660
 
3381
4662
  lt_cv_deplibs_check_method=pass_all
3382
4663
  ;;
3383
4664
 
3384
 
freebsd* | kfreebsd*-gnu | dragonfly*)
3385
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
4665
freebsd* | dragonfly*)
 
4666
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3386
4667
    case $host_cpu in
3387
4668
    i*86 )
3388
4669
      # Not sure whether the presence of OpenBSD here was a mistake.
3419
4700
  esac
3420
4701
  ;;
3421
4702
 
3422
 
interix3*)
 
4703
interix[3-9]*)
3423
4704
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3424
4705
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
3425
4706
  ;;
3435
4716
  ;;
3436
4717
 
3437
4718
# This must be Linux ELF.
3438
 
linux*)
 
4719
linux* | k*bsd*-gnu)
3439
4720
  lt_cv_deplibs_check_method=pass_all
3440
4721
  ;;
3441
4722
 
3442
4723
netbsd*)
3443
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
4724
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3444
4725
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3445
4726
  else
3446
4727
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3453
4734
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
3454
4735
  ;;
3455
4736
 
3456
 
nto-qnx*)
3457
 
  lt_cv_deplibs_check_method=unknown
 
4737
*nto* | *qnx*)
 
4738
  lt_cv_deplibs_check_method=pass_all
3458
4739
  ;;
3459
4740
 
3460
4741
openbsd*)
3461
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
4742
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3462
4743
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3463
4744
  else
3464
4745
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3469
4750
  lt_cv_deplibs_check_method=pass_all
3470
4751
  ;;
3471
4752
 
 
4753
rdos*)
 
4754
  lt_cv_deplibs_check_method=pass_all
 
4755
  ;;
 
4756
 
3472
4757
solaris*)
3473
4758
  lt_cv_deplibs_check_method=pass_all
3474
4759
  ;;
3475
4760
 
 
4761
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
4762
  lt_cv_deplibs_check_method=pass_all
 
4763
  ;;
 
4764
 
3476
4765
sysv4 | sysv4.3*)
3477
4766
  case $host_vendor in
3478
4767
  motorola)
3500
4789
  esac
3501
4790
  ;;
3502
4791
 
3503
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
4792
tpf*)
3504
4793
  lt_cv_deplibs_check_method=pass_all
3505
4794
  ;;
3506
4795
esac
3507
4796
 
3508
4797
fi
3509
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3510
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
4798
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
4799
$as_echo "$lt_cv_deplibs_check_method" >&6; }
3511
4800
file_magic_cmd=$lt_cv_file_magic_cmd
3512
4801
deplibs_check_method=$lt_cv_deplibs_check_method
3513
4802
test -z "$deplibs_check_method" && deplibs_check_method=unknown
3515
4804
 
3516
4805
 
3517
4806
 
 
4807
 
 
4808
 
 
4809
 
 
4810
 
 
4811
 
 
4812
 
 
4813
 
 
4814
 
 
4815
if test -n "$ac_tool_prefix"; then
 
4816
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
4817
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
4818
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4819
$as_echo_n "checking for $ac_word... " >&6; }
 
4820
if test "${ac_cv_prog_AR+set}" = set; then
 
4821
  $as_echo_n "(cached) " >&6
 
4822
else
 
4823
  if test -n "$AR"; then
 
4824
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
4825
else
 
4826
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4827
for as_dir in $PATH
 
4828
do
 
4829
  IFS=$as_save_IFS
 
4830
  test -z "$as_dir" && as_dir=.
 
4831
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4832
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4833
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
4834
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4835
    break 2
 
4836
  fi
 
4837
done
 
4838
done
 
4839
IFS=$as_save_IFS
 
4840
 
 
4841
fi
 
4842
fi
 
4843
AR=$ac_cv_prog_AR
 
4844
if test -n "$AR"; then
 
4845
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
4846
$as_echo "$AR" >&6; }
 
4847
else
 
4848
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4849
$as_echo "no" >&6; }
 
4850
fi
 
4851
 
 
4852
 
 
4853
fi
 
4854
if test -z "$ac_cv_prog_AR"; then
 
4855
  ac_ct_AR=$AR
 
4856
  # Extract the first word of "ar", so it can be a program name with args.
 
4857
set dummy ar; ac_word=$2
 
4858
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4859
$as_echo_n "checking for $ac_word... " >&6; }
 
4860
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
4861
  $as_echo_n "(cached) " >&6
 
4862
else
 
4863
  if test -n "$ac_ct_AR"; then
 
4864
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
4865
else
 
4866
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4867
for as_dir in $PATH
 
4868
do
 
4869
  IFS=$as_save_IFS
 
4870
  test -z "$as_dir" && as_dir=.
 
4871
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4872
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4873
    ac_cv_prog_ac_ct_AR="ar"
 
4874
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4875
    break 2
 
4876
  fi
 
4877
done
 
4878
done
 
4879
IFS=$as_save_IFS
 
4880
 
 
4881
fi
 
4882
fi
 
4883
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
4884
if test -n "$ac_ct_AR"; then
 
4885
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
4886
$as_echo "$ac_ct_AR" >&6; }
 
4887
else
 
4888
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4889
$as_echo "no" >&6; }
 
4890
fi
 
4891
 
 
4892
  if test "x$ac_ct_AR" = x; then
 
4893
    AR="false"
 
4894
  else
 
4895
    case $cross_compiling:$ac_tool_warned in
 
4896
yes:)
 
4897
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4898
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4899
ac_tool_warned=yes ;;
 
4900
esac
 
4901
    AR=$ac_ct_AR
 
4902
  fi
 
4903
else
 
4904
  AR="$ac_cv_prog_AR"
 
4905
fi
 
4906
 
 
4907
test -z "$AR" && AR=ar
 
4908
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
4909
 
 
4910
 
 
4911
 
 
4912
 
 
4913
 
 
4914
 
 
4915
 
 
4916
 
 
4917
 
 
4918
 
 
4919
 
 
4920
if test -n "$ac_tool_prefix"; then
 
4921
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
4922
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
4923
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4924
$as_echo_n "checking for $ac_word... " >&6; }
 
4925
if test "${ac_cv_prog_STRIP+set}" = set; then
 
4926
  $as_echo_n "(cached) " >&6
 
4927
else
 
4928
  if test -n "$STRIP"; then
 
4929
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
4930
else
 
4931
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4932
for as_dir in $PATH
 
4933
do
 
4934
  IFS=$as_save_IFS
 
4935
  test -z "$as_dir" && as_dir=.
 
4936
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4937
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4938
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
4939
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4940
    break 2
 
4941
  fi
 
4942
done
 
4943
done
 
4944
IFS=$as_save_IFS
 
4945
 
 
4946
fi
 
4947
fi
 
4948
STRIP=$ac_cv_prog_STRIP
 
4949
if test -n "$STRIP"; then
 
4950
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
4951
$as_echo "$STRIP" >&6; }
 
4952
else
 
4953
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4954
$as_echo "no" >&6; }
 
4955
fi
 
4956
 
 
4957
 
 
4958
fi
 
4959
if test -z "$ac_cv_prog_STRIP"; then
 
4960
  ac_ct_STRIP=$STRIP
 
4961
  # Extract the first word of "strip", so it can be a program name with args.
 
4962
set dummy strip; ac_word=$2
 
4963
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4964
$as_echo_n "checking for $ac_word... " >&6; }
 
4965
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
4966
  $as_echo_n "(cached) " >&6
 
4967
else
 
4968
  if test -n "$ac_ct_STRIP"; then
 
4969
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
4970
else
 
4971
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4972
for as_dir in $PATH
 
4973
do
 
4974
  IFS=$as_save_IFS
 
4975
  test -z "$as_dir" && as_dir=.
 
4976
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4977
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4978
    ac_cv_prog_ac_ct_STRIP="strip"
 
4979
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4980
    break 2
 
4981
  fi
 
4982
done
 
4983
done
 
4984
IFS=$as_save_IFS
 
4985
 
 
4986
fi
 
4987
fi
 
4988
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
4989
if test -n "$ac_ct_STRIP"; then
 
4990
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
4991
$as_echo "$ac_ct_STRIP" >&6; }
 
4992
else
 
4993
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4994
$as_echo "no" >&6; }
 
4995
fi
 
4996
 
 
4997
  if test "x$ac_ct_STRIP" = x; then
 
4998
    STRIP=":"
 
4999
  else
 
5000
    case $cross_compiling:$ac_tool_warned in
 
5001
yes:)
 
5002
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5003
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5004
ac_tool_warned=yes ;;
 
5005
esac
 
5006
    STRIP=$ac_ct_STRIP
 
5007
  fi
 
5008
else
 
5009
  STRIP="$ac_cv_prog_STRIP"
 
5010
fi
 
5011
 
 
5012
test -z "$STRIP" && STRIP=:
 
5013
 
 
5014
 
 
5015
 
 
5016
 
 
5017
 
 
5018
 
 
5019
if test -n "$ac_tool_prefix"; then
 
5020
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
5021
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
5022
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5023
$as_echo_n "checking for $ac_word... " >&6; }
 
5024
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
5025
  $as_echo_n "(cached) " >&6
 
5026
else
 
5027
  if test -n "$RANLIB"; then
 
5028
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
5029
else
 
5030
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5031
for as_dir in $PATH
 
5032
do
 
5033
  IFS=$as_save_IFS
 
5034
  test -z "$as_dir" && as_dir=.
 
5035
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5036
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5037
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
5038
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5039
    break 2
 
5040
  fi
 
5041
done
 
5042
done
 
5043
IFS=$as_save_IFS
 
5044
 
 
5045
fi
 
5046
fi
 
5047
RANLIB=$ac_cv_prog_RANLIB
 
5048
if test -n "$RANLIB"; then
 
5049
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
5050
$as_echo "$RANLIB" >&6; }
 
5051
else
 
5052
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5053
$as_echo "no" >&6; }
 
5054
fi
 
5055
 
 
5056
 
 
5057
fi
 
5058
if test -z "$ac_cv_prog_RANLIB"; then
 
5059
  ac_ct_RANLIB=$RANLIB
 
5060
  # Extract the first word of "ranlib", so it can be a program name with args.
 
5061
set dummy ranlib; ac_word=$2
 
5062
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5063
$as_echo_n "checking for $ac_word... " >&6; }
 
5064
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
5065
  $as_echo_n "(cached) " >&6
 
5066
else
 
5067
  if test -n "$ac_ct_RANLIB"; then
 
5068
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
5069
else
 
5070
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5071
for as_dir in $PATH
 
5072
do
 
5073
  IFS=$as_save_IFS
 
5074
  test -z "$as_dir" && as_dir=.
 
5075
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5076
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5077
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
5078
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5079
    break 2
 
5080
  fi
 
5081
done
 
5082
done
 
5083
IFS=$as_save_IFS
 
5084
 
 
5085
fi
 
5086
fi
 
5087
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
5088
if test -n "$ac_ct_RANLIB"; then
 
5089
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
5090
$as_echo "$ac_ct_RANLIB" >&6; }
 
5091
else
 
5092
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5093
$as_echo "no" >&6; }
 
5094
fi
 
5095
 
 
5096
  if test "x$ac_ct_RANLIB" = x; then
 
5097
    RANLIB=":"
 
5098
  else
 
5099
    case $cross_compiling:$ac_tool_warned in
 
5100
yes:)
 
5101
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5102
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5103
ac_tool_warned=yes ;;
 
5104
esac
 
5105
    RANLIB=$ac_ct_RANLIB
 
5106
  fi
 
5107
else
 
5108
  RANLIB="$ac_cv_prog_RANLIB"
 
5109
fi
 
5110
 
 
5111
test -z "$RANLIB" && RANLIB=:
 
5112
 
 
5113
 
 
5114
 
 
5115
 
 
5116
 
 
5117
 
 
5118
# Determine commands to create old-style static archives.
 
5119
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
5120
old_postinstall_cmds='chmod 644 $oldlib'
 
5121
old_postuninstall_cmds=
 
5122
 
 
5123
if test -n "$RANLIB"; then
 
5124
  case $host_os in
 
5125
  openbsd*)
 
5126
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
5127
    ;;
 
5128
  *)
 
5129
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
5130
    ;;
 
5131
  esac
 
5132
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
5133
fi
 
5134
 
 
5135
 
 
5136
 
 
5137
 
 
5138
 
 
5139
 
 
5140
 
 
5141
 
 
5142
 
 
5143
 
 
5144
 
 
5145
 
 
5146
 
 
5147
 
 
5148
 
 
5149
 
 
5150
 
 
5151
 
 
5152
 
 
5153
 
 
5154
 
 
5155
 
 
5156
 
 
5157
 
 
5158
 
 
5159
 
 
5160
 
 
5161
 
 
5162
 
 
5163
 
 
5164
 
 
5165
 
 
5166
 
 
5167
 
3518
5168
# If no C compiler was specified, use CC.
3519
5169
LTCC=${LTCC-"$CC"}
3520
5170
 
3525
5175
compiler=$CC
3526
5176
 
3527
5177
 
3528
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3529
 
if test "${enable_libtool_lock+set}" = set; then
3530
 
  enableval="$enable_libtool_lock"
3531
 
 
3532
 
fi;
3533
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3534
 
 
3535
 
# Some flags need to be propagated to the compiler or linker for good
3536
 
# libtool support.
3537
 
case $host in
3538
 
ia64-*-hpux*)
3539
 
  # Find out which ABI we are using.
3540
 
  echo 'int i;' > conftest.$ac_ext
3541
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3542
 
  (eval $ac_compile) 2>&5
3543
 
  ac_status=$?
3544
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545
 
  (exit $ac_status); }; then
3546
 
    case `/usr/bin/file conftest.$ac_objext` in
3547
 
    *ELF-32*)
3548
 
      HPUX_IA64_MODE="32"
3549
 
      ;;
3550
 
    *ELF-64*)
3551
 
      HPUX_IA64_MODE="64"
3552
 
      ;;
3553
 
    esac
3554
 
  fi
3555
 
  rm -rf conftest*
3556
 
  ;;
3557
 
*-*-irix6*)
3558
 
  # Find out which ABI we are using.
3559
 
  echo '#line 3559 "configure"' > conftest.$ac_ext
3560
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3561
 
  (eval $ac_compile) 2>&5
3562
 
  ac_status=$?
3563
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564
 
  (exit $ac_status); }; then
3565
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
3566
 
    case `/usr/bin/file conftest.$ac_objext` in
3567
 
    *32-bit*)
3568
 
      LD="${LD-ld} -melf32bsmip"
3569
 
      ;;
3570
 
    *N32*)
3571
 
      LD="${LD-ld} -melf32bmipn32"
3572
 
      ;;
3573
 
    *64-bit*)
3574
 
      LD="${LD-ld} -melf64bmip"
3575
 
      ;;
3576
 
    esac
3577
 
   else
3578
 
    case `/usr/bin/file conftest.$ac_objext` in
3579
 
    *32-bit*)
3580
 
      LD="${LD-ld} -32"
3581
 
      ;;
3582
 
    *N32*)
3583
 
      LD="${LD-ld} -n32"
3584
 
      ;;
3585
 
    *64-bit*)
3586
 
      LD="${LD-ld} -64"
3587
 
      ;;
3588
 
    esac
3589
 
   fi
3590
 
  fi
3591
 
  rm -rf conftest*
3592
 
  ;;
3593
 
 
3594
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
3595
 
  # Find out which ABI we are using.
3596
 
  echo 'int i;' > conftest.$ac_ext
3597
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3598
 
  (eval $ac_compile) 2>&5
3599
 
  ac_status=$?
3600
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601
 
  (exit $ac_status); }; then
3602
 
    case `/usr/bin/file conftest.o` in
3603
 
    *32-bit*)
3604
 
      case $host in
3605
 
        x86_64-*linux*)
3606
 
          LD="${LD-ld} -m elf_i386"
3607
 
          ;;
3608
 
        ppc64-*linux*|powerpc64-*linux*)
3609
 
          LD="${LD-ld} -m elf32ppclinux"
3610
 
          ;;
3611
 
        s390x-*linux*)
3612
 
          LD="${LD-ld} -m elf_s390"
3613
 
          ;;
3614
 
        sparc64-*linux*)
3615
 
          LD="${LD-ld} -m elf32_sparc"
3616
 
          ;;
3617
 
      esac
3618
 
      ;;
3619
 
    *64-bit*)
3620
 
      case $host in
3621
 
        x86_64-*linux*)
3622
 
          LD="${LD-ld} -m elf_x86_64"
3623
 
          ;;
3624
 
        ppc*-*linux*|powerpc*-*linux*)
3625
 
          LD="${LD-ld} -m elf64ppc"
3626
 
          ;;
3627
 
        s390*-*linux*)
3628
 
          LD="${LD-ld} -m elf64_s390"
3629
 
          ;;
3630
 
        sparc*-*linux*)
3631
 
          LD="${LD-ld} -m elf64_sparc"
3632
 
          ;;
3633
 
      esac
3634
 
      ;;
3635
 
    esac
3636
 
  fi
3637
 
  rm -rf conftest*
3638
 
  ;;
3639
 
 
3640
 
*-*-sco3.2v5*)
3641
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3642
 
  SAVE_CFLAGS="$CFLAGS"
3643
 
  CFLAGS="$CFLAGS -belf"
3644
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3645
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3646
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
3647
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3648
 
else
3649
 
  ac_ext=c
3650
 
ac_cpp='$CPP $CPPFLAGS'
3651
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3652
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3653
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3654
 
 
3655
 
     cat >conftest.$ac_ext <<_ACEOF
3656
 
/* confdefs.h.  */
3657
 
_ACEOF
3658
 
cat confdefs.h >>conftest.$ac_ext
3659
 
cat >>conftest.$ac_ext <<_ACEOF
3660
 
/* end confdefs.h.  */
3661
 
 
3662
 
int
3663
 
main ()
3664
 
{
3665
 
 
3666
 
  ;
3667
 
  return 0;
3668
 
}
3669
 
_ACEOF
3670
 
rm -f conftest.$ac_objext conftest$ac_exeext
3671
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3672
 
  (eval $ac_link) 2>conftest.er1
3673
 
  ac_status=$?
3674
 
  grep -v '^ *+' conftest.er1 >conftest.err
3675
 
  rm -f conftest.er1
3676
 
  cat conftest.err >&5
3677
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678
 
  (exit $ac_status); } &&
3679
 
         { ac_try='test -z "$ac_c_werror_flag"
3680
 
                         || test ! -s conftest.err'
3681
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3682
 
  (eval $ac_try) 2>&5
3683
 
  ac_status=$?
3684
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3685
 
  (exit $ac_status); }; } &&
3686
 
         { ac_try='test -s conftest$ac_exeext'
3687
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3688
 
  (eval $ac_try) 2>&5
3689
 
  ac_status=$?
3690
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3691
 
  (exit $ac_status); }; }; then
3692
 
  lt_cv_cc_needs_belf=yes
3693
 
else
3694
 
  echo "$as_me: failed program was:" >&5
3695
 
sed 's/^/| /' conftest.$ac_ext >&5
3696
 
 
3697
 
lt_cv_cc_needs_belf=no
3698
 
fi
3699
 
rm -f conftest.err conftest.$ac_objext \
3700
 
      conftest$ac_exeext conftest.$ac_ext
3701
 
     ac_ext=c
3702
 
ac_cpp='$CPP $CPPFLAGS'
3703
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3704
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3705
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3706
 
 
3707
 
fi
3708
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3709
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3710
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3711
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3712
 
    CFLAGS="$SAVE_CFLAGS"
3713
 
  fi
3714
 
  ;;
3715
 
sparc*-*solaris*)
3716
 
  # Find out which ABI we are using.
3717
 
  echo 'int i;' > conftest.$ac_ext
3718
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3719
 
  (eval $ac_compile) 2>&5
3720
 
  ac_status=$?
3721
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3722
 
  (exit $ac_status); }; then
3723
 
    case `/usr/bin/file conftest.o` in
3724
 
    *64-bit*)
3725
 
      case $lt_cv_prog_gnu_ld in
3726
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
3727
 
      *)    LD="${LD-ld} -64" ;;
3728
 
      esac
3729
 
      ;;
3730
 
    esac
3731
 
  fi
3732
 
  rm -rf conftest*
3733
 
  ;;
3734
 
 
3735
 
 
3736
 
esac
3737
 
 
3738
 
need_locks="$enable_libtool_lock"
3739
 
 
3740
 
 
3741
 
ac_ext=c
3742
 
ac_cpp='$CPP $CPPFLAGS'
3743
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3744
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3745
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3746
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3747
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3748
 
# On Suns, sometimes $CPP names a directory.
3749
 
if test -n "$CPP" && test -d "$CPP"; then
3750
 
  CPP=
3751
 
fi
3752
 
if test -z "$CPP"; then
3753
 
  if test "${ac_cv_prog_CPP+set}" = set; then
3754
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3755
 
else
3756
 
      # Double quotes because CPP needs to be expanded
3757
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3758
 
    do
3759
 
      ac_preproc_ok=false
3760
 
for ac_c_preproc_warn_flag in '' yes
3761
 
do
3762
 
  # Use a header file that comes with gcc, so configuring glibc
3763
 
  # with a fresh cross-compiler works.
3764
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3765
 
  # <limits.h> exists even on freestanding compilers.
3766
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3767
 
  # not just through cpp. "Syntax error" is here to catch this case.
3768
 
  cat >conftest.$ac_ext <<_ACEOF
3769
 
/* confdefs.h.  */
3770
 
_ACEOF
3771
 
cat confdefs.h >>conftest.$ac_ext
3772
 
cat >>conftest.$ac_ext <<_ACEOF
3773
 
/* end confdefs.h.  */
3774
 
#ifdef __STDC__
3775
 
# include <limits.h>
3776
 
#else
3777
 
# include <assert.h>
3778
 
#endif
3779
 
                     Syntax error
3780
 
_ACEOF
3781
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3782
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3783
 
  ac_status=$?
3784
 
  grep -v '^ *+' conftest.er1 >conftest.err
3785
 
  rm -f conftest.er1
3786
 
  cat conftest.err >&5
3787
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3788
 
  (exit $ac_status); } >/dev/null; then
3789
 
  if test -s conftest.err; then
3790
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3791
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3792
 
  else
3793
 
    ac_cpp_err=
3794
 
  fi
3795
 
else
3796
 
  ac_cpp_err=yes
3797
 
fi
3798
 
if test -z "$ac_cpp_err"; then
3799
 
  :
3800
 
else
3801
 
  echo "$as_me: failed program was:" >&5
3802
 
sed 's/^/| /' conftest.$ac_ext >&5
3803
 
 
3804
 
  # Broken: fails on valid input.
3805
 
continue
3806
 
fi
3807
 
rm -f conftest.err conftest.$ac_ext
3808
 
 
3809
 
  # OK, works on sane cases.  Now check whether non-existent headers
3810
 
  # can be detected and how.
3811
 
  cat >conftest.$ac_ext <<_ACEOF
3812
 
/* confdefs.h.  */
3813
 
_ACEOF
3814
 
cat confdefs.h >>conftest.$ac_ext
3815
 
cat >>conftest.$ac_ext <<_ACEOF
3816
 
/* end confdefs.h.  */
3817
 
#include <ac_nonexistent.h>
3818
 
_ACEOF
3819
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3820
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3821
 
  ac_status=$?
3822
 
  grep -v '^ *+' conftest.er1 >conftest.err
3823
 
  rm -f conftest.er1
3824
 
  cat conftest.err >&5
3825
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3826
 
  (exit $ac_status); } >/dev/null; then
3827
 
  if test -s conftest.err; then
3828
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3829
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3830
 
  else
3831
 
    ac_cpp_err=
3832
 
  fi
3833
 
else
3834
 
  ac_cpp_err=yes
3835
 
fi
3836
 
if test -z "$ac_cpp_err"; then
3837
 
  # Broken: success on invalid input.
3838
 
continue
3839
 
else
3840
 
  echo "$as_me: failed program was:" >&5
3841
 
sed 's/^/| /' conftest.$ac_ext >&5
3842
 
 
3843
 
  # Passes both tests.
3844
 
ac_preproc_ok=:
3845
 
break
3846
 
fi
3847
 
rm -f conftest.err conftest.$ac_ext
3848
 
 
3849
 
done
3850
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3851
 
rm -f conftest.err conftest.$ac_ext
3852
 
if $ac_preproc_ok; then
3853
 
  break
3854
 
fi
3855
 
 
3856
 
    done
3857
 
    ac_cv_prog_CPP=$CPP
3858
 
 
3859
 
fi
3860
 
  CPP=$ac_cv_prog_CPP
3861
 
else
3862
 
  ac_cv_prog_CPP=$CPP
3863
 
fi
3864
 
echo "$as_me:$LINENO: result: $CPP" >&5
3865
 
echo "${ECHO_T}$CPP" >&6
3866
 
ac_preproc_ok=false
3867
 
for ac_c_preproc_warn_flag in '' yes
3868
 
do
3869
 
  # Use a header file that comes with gcc, so configuring glibc
3870
 
  # with a fresh cross-compiler works.
3871
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3872
 
  # <limits.h> exists even on freestanding compilers.
3873
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3874
 
  # not just through cpp. "Syntax error" is here to catch this case.
3875
 
  cat >conftest.$ac_ext <<_ACEOF
3876
 
/* confdefs.h.  */
3877
 
_ACEOF
3878
 
cat confdefs.h >>conftest.$ac_ext
3879
 
cat >>conftest.$ac_ext <<_ACEOF
3880
 
/* end confdefs.h.  */
3881
 
#ifdef __STDC__
3882
 
# include <limits.h>
3883
 
#else
3884
 
# include <assert.h>
3885
 
#endif
3886
 
                     Syntax error
3887
 
_ACEOF
3888
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3889
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3890
 
  ac_status=$?
3891
 
  grep -v '^ *+' conftest.er1 >conftest.err
3892
 
  rm -f conftest.er1
3893
 
  cat conftest.err >&5
3894
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895
 
  (exit $ac_status); } >/dev/null; then
3896
 
  if test -s conftest.err; then
3897
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3898
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3899
 
  else
3900
 
    ac_cpp_err=
3901
 
  fi
3902
 
else
3903
 
  ac_cpp_err=yes
3904
 
fi
3905
 
if test -z "$ac_cpp_err"; then
3906
 
  :
3907
 
else
3908
 
  echo "$as_me: failed program was:" >&5
3909
 
sed 's/^/| /' conftest.$ac_ext >&5
3910
 
 
3911
 
  # Broken: fails on valid input.
3912
 
continue
3913
 
fi
3914
 
rm -f conftest.err conftest.$ac_ext
3915
 
 
3916
 
  # OK, works on sane cases.  Now check whether non-existent headers
3917
 
  # can be detected and how.
3918
 
  cat >conftest.$ac_ext <<_ACEOF
3919
 
/* confdefs.h.  */
3920
 
_ACEOF
3921
 
cat confdefs.h >>conftest.$ac_ext
3922
 
cat >>conftest.$ac_ext <<_ACEOF
3923
 
/* end confdefs.h.  */
3924
 
#include <ac_nonexistent.h>
3925
 
_ACEOF
3926
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3927
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3928
 
  ac_status=$?
3929
 
  grep -v '^ *+' conftest.er1 >conftest.err
3930
 
  rm -f conftest.er1
3931
 
  cat conftest.err >&5
3932
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933
 
  (exit $ac_status); } >/dev/null; then
3934
 
  if test -s conftest.err; then
3935
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3936
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3937
 
  else
3938
 
    ac_cpp_err=
3939
 
  fi
3940
 
else
3941
 
  ac_cpp_err=yes
3942
 
fi
3943
 
if test -z "$ac_cpp_err"; then
3944
 
  # Broken: success on invalid input.
3945
 
continue
3946
 
else
3947
 
  echo "$as_me: failed program was:" >&5
3948
 
sed 's/^/| /' conftest.$ac_ext >&5
3949
 
 
3950
 
  # Passes both tests.
3951
 
ac_preproc_ok=:
3952
 
break
3953
 
fi
3954
 
rm -f conftest.err conftest.$ac_ext
3955
 
 
3956
 
done
3957
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3958
 
rm -f conftest.err conftest.$ac_ext
3959
 
if $ac_preproc_ok; then
3960
 
  :
3961
 
else
3962
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3963
 
See \`config.log' for more details." >&5
3964
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3965
 
See \`config.log' for more details." >&2;}
3966
 
   { (exit 1); exit 1; }; }
3967
 
fi
3968
 
 
3969
 
ac_ext=c
3970
 
ac_cpp='$CPP $CPPFLAGS'
3971
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3972
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3973
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3974
 
 
3975
 
 
3976
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3977
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3978
 
if test "${ac_cv_header_stdc+set}" = set; then
3979
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3980
 
else
3981
 
  cat >conftest.$ac_ext <<_ACEOF
3982
 
/* confdefs.h.  */
3983
 
_ACEOF
3984
 
cat confdefs.h >>conftest.$ac_ext
3985
 
cat >>conftest.$ac_ext <<_ACEOF
3986
 
/* end confdefs.h.  */
3987
 
#include <stdlib.h>
3988
 
#include <stdarg.h>
3989
 
#include <string.h>
3990
 
#include <float.h>
3991
 
 
3992
 
int
3993
 
main ()
3994
 
{
3995
 
 
3996
 
  ;
3997
 
  return 0;
3998
 
}
3999
 
_ACEOF
4000
 
rm -f conftest.$ac_objext
4001
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4002
 
  (eval $ac_compile) 2>conftest.er1
4003
 
  ac_status=$?
4004
 
  grep -v '^ *+' conftest.er1 >conftest.err
4005
 
  rm -f conftest.er1
4006
 
  cat conftest.err >&5
4007
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4008
 
  (exit $ac_status); } &&
4009
 
         { ac_try='test -z "$ac_c_werror_flag"
4010
 
                         || test ! -s conftest.err'
4011
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4012
 
  (eval $ac_try) 2>&5
4013
 
  ac_status=$?
4014
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4015
 
  (exit $ac_status); }; } &&
4016
 
         { ac_try='test -s conftest.$ac_objext'
4017
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4018
 
  (eval $ac_try) 2>&5
4019
 
  ac_status=$?
4020
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4021
 
  (exit $ac_status); }; }; then
4022
 
  ac_cv_header_stdc=yes
4023
 
else
4024
 
  echo "$as_me: failed program was:" >&5
4025
 
sed 's/^/| /' conftest.$ac_ext >&5
4026
 
 
4027
 
ac_cv_header_stdc=no
4028
 
fi
4029
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4030
 
 
4031
 
if test $ac_cv_header_stdc = yes; then
4032
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4033
 
  cat >conftest.$ac_ext <<_ACEOF
4034
 
/* confdefs.h.  */
4035
 
_ACEOF
4036
 
cat confdefs.h >>conftest.$ac_ext
4037
 
cat >>conftest.$ac_ext <<_ACEOF
4038
 
/* end confdefs.h.  */
4039
 
#include <string.h>
4040
 
 
4041
 
_ACEOF
4042
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4043
 
  $EGREP "memchr" >/dev/null 2>&1; then
4044
 
  :
4045
 
else
4046
 
  ac_cv_header_stdc=no
4047
 
fi
4048
 
rm -f conftest*
4049
 
 
4050
 
fi
4051
 
 
4052
 
if test $ac_cv_header_stdc = yes; then
4053
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4054
 
  cat >conftest.$ac_ext <<_ACEOF
4055
 
/* confdefs.h.  */
4056
 
_ACEOF
4057
 
cat confdefs.h >>conftest.$ac_ext
4058
 
cat >>conftest.$ac_ext <<_ACEOF
4059
 
/* end confdefs.h.  */
4060
 
#include <stdlib.h>
4061
 
 
4062
 
_ACEOF
4063
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4064
 
  $EGREP "free" >/dev/null 2>&1; then
4065
 
  :
4066
 
else
4067
 
  ac_cv_header_stdc=no
4068
 
fi
4069
 
rm -f conftest*
4070
 
 
4071
 
fi
4072
 
 
4073
 
if test $ac_cv_header_stdc = yes; then
4074
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4075
 
  if test "$cross_compiling" = yes; then
4076
 
  :
4077
 
else
4078
 
  cat >conftest.$ac_ext <<_ACEOF
4079
 
/* confdefs.h.  */
4080
 
_ACEOF
4081
 
cat confdefs.h >>conftest.$ac_ext
4082
 
cat >>conftest.$ac_ext <<_ACEOF
4083
 
/* end confdefs.h.  */
4084
 
#include <ctype.h>
4085
 
#if ((' ' & 0x0FF) == 0x020)
4086
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4087
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4088
 
#else
4089
 
# define ISLOWER(c) \
4090
 
                   (('a' <= (c) && (c) <= 'i') \
4091
 
                     || ('j' <= (c) && (c) <= 'r') \
4092
 
                     || ('s' <= (c) && (c) <= 'z'))
4093
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4094
 
#endif
4095
 
 
4096
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4097
 
int
4098
 
main ()
4099
 
{
4100
 
  int i;
4101
 
  for (i = 0; i < 256; i++)
4102
 
    if (XOR (islower (i), ISLOWER (i))
4103
 
        || toupper (i) != TOUPPER (i))
4104
 
      exit(2);
4105
 
  exit (0);
4106
 
}
4107
 
_ACEOF
4108
 
rm -f conftest$ac_exeext
4109
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4110
 
  (eval $ac_link) 2>&5
4111
 
  ac_status=$?
4112
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4113
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4114
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4115
 
  (eval $ac_try) 2>&5
4116
 
  ac_status=$?
4117
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118
 
  (exit $ac_status); }; }; then
4119
 
  :
4120
 
else
4121
 
  echo "$as_me: program exited with status $ac_status" >&5
4122
 
echo "$as_me: failed program was:" >&5
4123
 
sed 's/^/| /' conftest.$ac_ext >&5
4124
 
 
4125
 
( exit $ac_status )
4126
 
ac_cv_header_stdc=no
4127
 
fi
4128
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4129
 
fi
4130
 
fi
4131
 
fi
4132
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4133
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
4134
 
if test $ac_cv_header_stdc = yes; then
4135
 
 
4136
 
cat >>confdefs.h <<\_ACEOF
4137
 
#define STDC_HEADERS 1
4138
 
_ACEOF
4139
 
 
4140
 
fi
4141
 
 
4142
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4143
 
 
4144
 
 
4145
 
 
4146
 
 
4147
 
 
4148
 
 
4149
 
 
4150
 
 
4151
 
 
4152
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4153
 
                  inttypes.h stdint.h unistd.h
4154
 
do
4155
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4156
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4157
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4158
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4159
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4160
 
else
4161
 
  cat >conftest.$ac_ext <<_ACEOF
4162
 
/* confdefs.h.  */
4163
 
_ACEOF
4164
 
cat confdefs.h >>conftest.$ac_ext
4165
 
cat >>conftest.$ac_ext <<_ACEOF
4166
 
/* end confdefs.h.  */
4167
 
$ac_includes_default
4168
 
 
4169
 
#include <$ac_header>
4170
 
_ACEOF
4171
 
rm -f conftest.$ac_objext
4172
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4173
 
  (eval $ac_compile) 2>conftest.er1
4174
 
  ac_status=$?
4175
 
  grep -v '^ *+' conftest.er1 >conftest.err
4176
 
  rm -f conftest.er1
4177
 
  cat conftest.err >&5
4178
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179
 
  (exit $ac_status); } &&
4180
 
         { ac_try='test -z "$ac_c_werror_flag"
4181
 
                         || test ! -s conftest.err'
4182
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4183
 
  (eval $ac_try) 2>&5
4184
 
  ac_status=$?
4185
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186
 
  (exit $ac_status); }; } &&
4187
 
         { ac_try='test -s conftest.$ac_objext'
4188
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4189
 
  (eval $ac_try) 2>&5
4190
 
  ac_status=$?
4191
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192
 
  (exit $ac_status); }; }; then
4193
 
  eval "$as_ac_Header=yes"
4194
 
else
4195
 
  echo "$as_me: failed program was:" >&5
4196
 
sed 's/^/| /' conftest.$ac_ext >&5
4197
 
 
4198
 
eval "$as_ac_Header=no"
4199
 
fi
4200
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4201
 
fi
4202
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4203
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4204
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4205
 
  cat >>confdefs.h <<_ACEOF
4206
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4207
 
_ACEOF
4208
 
 
4209
 
fi
4210
 
 
4211
 
done
4212
 
 
4213
 
 
4214
 
 
4215
 
for ac_header in dlfcn.h
4216
 
do
4217
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4218
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4219
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4220
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4221
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4222
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4223
 
fi
4224
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4225
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4226
 
else
4227
 
  # Is the header compilable?
4228
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4229
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4230
 
cat >conftest.$ac_ext <<_ACEOF
4231
 
/* confdefs.h.  */
4232
 
_ACEOF
4233
 
cat confdefs.h >>conftest.$ac_ext
4234
 
cat >>conftest.$ac_ext <<_ACEOF
4235
 
/* end confdefs.h.  */
4236
 
$ac_includes_default
4237
 
#include <$ac_header>
4238
 
_ACEOF
4239
 
rm -f conftest.$ac_objext
4240
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4241
 
  (eval $ac_compile) 2>conftest.er1
4242
 
  ac_status=$?
4243
 
  grep -v '^ *+' conftest.er1 >conftest.err
4244
 
  rm -f conftest.er1
4245
 
  cat conftest.err >&5
4246
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4247
 
  (exit $ac_status); } &&
4248
 
         { ac_try='test -z "$ac_c_werror_flag"
4249
 
                         || test ! -s conftest.err'
4250
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4251
 
  (eval $ac_try) 2>&5
4252
 
  ac_status=$?
4253
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4254
 
  (exit $ac_status); }; } &&
4255
 
         { ac_try='test -s conftest.$ac_objext'
4256
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4257
 
  (eval $ac_try) 2>&5
4258
 
  ac_status=$?
4259
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260
 
  (exit $ac_status); }; }; then
4261
 
  ac_header_compiler=yes
4262
 
else
4263
 
  echo "$as_me: failed program was:" >&5
4264
 
sed 's/^/| /' conftest.$ac_ext >&5
4265
 
 
4266
 
ac_header_compiler=no
4267
 
fi
4268
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4269
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4270
 
echo "${ECHO_T}$ac_header_compiler" >&6
4271
 
 
4272
 
# Is the header present?
4273
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4274
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4275
 
cat >conftest.$ac_ext <<_ACEOF
4276
 
/* confdefs.h.  */
4277
 
_ACEOF
4278
 
cat confdefs.h >>conftest.$ac_ext
4279
 
cat >>conftest.$ac_ext <<_ACEOF
4280
 
/* end confdefs.h.  */
4281
 
#include <$ac_header>
4282
 
_ACEOF
4283
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4284
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4285
 
  ac_status=$?
4286
 
  grep -v '^ *+' conftest.er1 >conftest.err
4287
 
  rm -f conftest.er1
4288
 
  cat conftest.err >&5
4289
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4290
 
  (exit $ac_status); } >/dev/null; then
4291
 
  if test -s conftest.err; then
4292
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4293
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4294
 
  else
4295
 
    ac_cpp_err=
4296
 
  fi
4297
 
else
4298
 
  ac_cpp_err=yes
4299
 
fi
4300
 
if test -z "$ac_cpp_err"; then
4301
 
  ac_header_preproc=yes
4302
 
else
4303
 
  echo "$as_me: failed program was:" >&5
4304
 
sed 's/^/| /' conftest.$ac_ext >&5
4305
 
 
4306
 
  ac_header_preproc=no
4307
 
fi
4308
 
rm -f conftest.err conftest.$ac_ext
4309
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4310
 
echo "${ECHO_T}$ac_header_preproc" >&6
4311
 
 
4312
 
# So?  What about this header?
4313
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4314
 
  yes:no: )
4315
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4316
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4317
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4318
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4319
 
    ac_header_preproc=yes
4320
 
    ;;
4321
 
  no:yes:* )
4322
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4323
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4324
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4325
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4326
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4327
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4328
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4329
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4330
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4331
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4332
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4333
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4334
 
    (
4335
 
      cat <<\_ASBOX
4336
 
## ------------------------------------------ ##
4337
 
## Report this to the AC_PACKAGE_NAME lists.  ##
4338
 
## ------------------------------------------ ##
4339
 
_ASBOX
4340
 
    ) |
4341
 
      sed "s/^/$as_me: WARNING:     /" >&2
4342
 
    ;;
4343
 
esac
4344
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4345
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4346
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4347
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4348
 
else
4349
 
  eval "$as_ac_Header=\$ac_header_preproc"
4350
 
fi
4351
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4352
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4353
 
 
4354
 
fi
4355
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4356
 
  cat >>confdefs.h <<_ACEOF
4357
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4358
 
_ACEOF
4359
 
 
4360
 
fi
4361
 
 
4362
 
done
4363
 
 
4364
 
ac_ext=cc
4365
 
ac_cpp='$CXXCPP $CPPFLAGS'
4366
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4367
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4368
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4369
 
if test -n "$ac_tool_prefix"; then
4370
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4371
 
  do
4372
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4373
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4374
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4375
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4376
 
if test "${ac_cv_prog_CXX+set}" = set; then
4377
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4378
 
else
4379
 
  if test -n "$CXX"; then
4380
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4381
 
else
4382
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4383
 
for as_dir in $PATH
4384
 
do
4385
 
  IFS=$as_save_IFS
4386
 
  test -z "$as_dir" && as_dir=.
4387
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4388
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4389
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4390
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4391
 
    break 2
4392
 
  fi
4393
 
done
4394
 
done
4395
 
 
4396
 
fi
4397
 
fi
4398
 
CXX=$ac_cv_prog_CXX
4399
 
if test -n "$CXX"; then
4400
 
  echo "$as_me:$LINENO: result: $CXX" >&5
4401
 
echo "${ECHO_T}$CXX" >&6
4402
 
else
4403
 
  echo "$as_me:$LINENO: result: no" >&5
4404
 
echo "${ECHO_T}no" >&6
4405
 
fi
4406
 
 
4407
 
    test -n "$CXX" && break
4408
 
  done
4409
 
fi
4410
 
if test -z "$CXX"; then
4411
 
  ac_ct_CXX=$CXX
4412
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4413
 
do
4414
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4415
 
set dummy $ac_prog; ac_word=$2
4416
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4417
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4418
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4419
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4420
 
else
4421
 
  if test -n "$ac_ct_CXX"; then
4422
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4423
 
else
4424
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4425
 
for as_dir in $PATH
4426
 
do
4427
 
  IFS=$as_save_IFS
4428
 
  test -z "$as_dir" && as_dir=.
4429
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4430
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4431
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4432
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4433
 
    break 2
4434
 
  fi
4435
 
done
4436
 
done
4437
 
 
4438
 
fi
4439
 
fi
4440
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4441
 
if test -n "$ac_ct_CXX"; then
4442
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4443
 
echo "${ECHO_T}$ac_ct_CXX" >&6
4444
 
else
4445
 
  echo "$as_me:$LINENO: result: no" >&5
4446
 
echo "${ECHO_T}no" >&6
4447
 
fi
4448
 
 
4449
 
  test -n "$ac_ct_CXX" && break
4450
 
done
4451
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4452
 
 
4453
 
  CXX=$ac_ct_CXX
4454
 
fi
4455
 
 
4456
 
 
4457
 
# Provide some information about the compiler.
4458
 
echo "$as_me:$LINENO:" \
4459
 
     "checking for C++ compiler version" >&5
4460
 
ac_compiler=`set X $ac_compile; echo $2`
4461
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4462
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
4463
 
  ac_status=$?
4464
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465
 
  (exit $ac_status); }
4466
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4467
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
4468
 
  ac_status=$?
4469
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4470
 
  (exit $ac_status); }
4471
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4472
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
4473
 
  ac_status=$?
4474
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475
 
  (exit $ac_status); }
4476
 
 
4477
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4478
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4479
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4480
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4481
 
else
4482
 
  cat >conftest.$ac_ext <<_ACEOF
4483
 
/* confdefs.h.  */
4484
 
_ACEOF
4485
 
cat confdefs.h >>conftest.$ac_ext
4486
 
cat >>conftest.$ac_ext <<_ACEOF
4487
 
/* end confdefs.h.  */
4488
 
 
4489
 
int
4490
 
main ()
4491
 
{
4492
 
#ifndef __GNUC__
4493
 
       choke me
4494
 
#endif
4495
 
 
4496
 
  ;
4497
 
  return 0;
4498
 
}
4499
 
_ACEOF
4500
 
rm -f conftest.$ac_objext
4501
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4502
 
  (eval $ac_compile) 2>conftest.er1
4503
 
  ac_status=$?
4504
 
  grep -v '^ *+' conftest.er1 >conftest.err
4505
 
  rm -f conftest.er1
4506
 
  cat conftest.err >&5
4507
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4508
 
  (exit $ac_status); } &&
4509
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4510
 
                         || test ! -s conftest.err'
4511
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4512
 
  (eval $ac_try) 2>&5
4513
 
  ac_status=$?
4514
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515
 
  (exit $ac_status); }; } &&
4516
 
         { ac_try='test -s conftest.$ac_objext'
4517
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4518
 
  (eval $ac_try) 2>&5
4519
 
  ac_status=$?
4520
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521
 
  (exit $ac_status); }; }; then
4522
 
  ac_compiler_gnu=yes
4523
 
else
4524
 
  echo "$as_me: failed program was:" >&5
4525
 
sed 's/^/| /' conftest.$ac_ext >&5
4526
 
 
4527
 
ac_compiler_gnu=no
4528
 
fi
4529
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4530
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4531
 
 
4532
 
fi
4533
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4534
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4535
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
4536
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
4537
 
ac_save_CXXFLAGS=$CXXFLAGS
4538
 
CXXFLAGS="-g"
4539
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4540
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4541
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
4542
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4543
 
else
4544
 
  cat >conftest.$ac_ext <<_ACEOF
4545
 
/* confdefs.h.  */
4546
 
_ACEOF
4547
 
cat confdefs.h >>conftest.$ac_ext
4548
 
cat >>conftest.$ac_ext <<_ACEOF
4549
 
/* end confdefs.h.  */
4550
 
 
4551
 
int
4552
 
main ()
4553
 
{
4554
 
 
4555
 
  ;
4556
 
  return 0;
4557
 
}
4558
 
_ACEOF
4559
 
rm -f conftest.$ac_objext
4560
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4561
 
  (eval $ac_compile) 2>conftest.er1
4562
 
  ac_status=$?
4563
 
  grep -v '^ *+' conftest.er1 >conftest.err
4564
 
  rm -f conftest.er1
4565
 
  cat conftest.err >&5
4566
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567
 
  (exit $ac_status); } &&
4568
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4569
 
                         || test ! -s conftest.err'
4570
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4571
 
  (eval $ac_try) 2>&5
4572
 
  ac_status=$?
4573
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4574
 
  (exit $ac_status); }; } &&
4575
 
         { ac_try='test -s conftest.$ac_objext'
4576
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4577
 
  (eval $ac_try) 2>&5
4578
 
  ac_status=$?
4579
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580
 
  (exit $ac_status); }; }; then
4581
 
  ac_cv_prog_cxx_g=yes
4582
 
else
4583
 
  echo "$as_me: failed program was:" >&5
4584
 
sed 's/^/| /' conftest.$ac_ext >&5
4585
 
 
4586
 
ac_cv_prog_cxx_g=no
4587
 
fi
4588
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4589
 
fi
4590
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4591
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4592
 
if test "$ac_test_CXXFLAGS" = set; then
4593
 
  CXXFLAGS=$ac_save_CXXFLAGS
4594
 
elif test $ac_cv_prog_cxx_g = yes; then
4595
 
  if test "$GXX" = yes; then
4596
 
    CXXFLAGS="-g -O2"
4597
 
  else
4598
 
    CXXFLAGS="-g"
4599
 
  fi
4600
 
else
4601
 
  if test "$GXX" = yes; then
4602
 
    CXXFLAGS="-O2"
4603
 
  else
4604
 
    CXXFLAGS=
4605
 
  fi
4606
 
fi
4607
 
for ac_declaration in \
4608
 
   '' \
4609
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
4610
 
   'extern "C" void std::exit (int); using std::exit;' \
4611
 
   'extern "C" void exit (int) throw ();' \
4612
 
   'extern "C" void exit (int);' \
4613
 
   'void exit (int);'
4614
 
do
4615
 
  cat >conftest.$ac_ext <<_ACEOF
4616
 
/* confdefs.h.  */
4617
 
_ACEOF
4618
 
cat confdefs.h >>conftest.$ac_ext
4619
 
cat >>conftest.$ac_ext <<_ACEOF
4620
 
/* end confdefs.h.  */
4621
 
$ac_declaration
4622
 
#include <stdlib.h>
4623
 
int
4624
 
main ()
4625
 
{
4626
 
exit (42);
4627
 
  ;
4628
 
  return 0;
4629
 
}
4630
 
_ACEOF
4631
 
rm -f conftest.$ac_objext
4632
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4633
 
  (eval $ac_compile) 2>conftest.er1
4634
 
  ac_status=$?
4635
 
  grep -v '^ *+' conftest.er1 >conftest.err
4636
 
  rm -f conftest.er1
4637
 
  cat conftest.err >&5
4638
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639
 
  (exit $ac_status); } &&
4640
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4641
 
                         || test ! -s conftest.err'
4642
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4643
 
  (eval $ac_try) 2>&5
4644
 
  ac_status=$?
4645
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4646
 
  (exit $ac_status); }; } &&
4647
 
         { ac_try='test -s conftest.$ac_objext'
4648
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4649
 
  (eval $ac_try) 2>&5
4650
 
  ac_status=$?
4651
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652
 
  (exit $ac_status); }; }; then
4653
 
  :
4654
 
else
4655
 
  echo "$as_me: failed program was:" >&5
4656
 
sed 's/^/| /' conftest.$ac_ext >&5
4657
 
 
4658
 
continue
4659
 
fi
4660
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4661
 
  cat >conftest.$ac_ext <<_ACEOF
4662
 
/* confdefs.h.  */
4663
 
_ACEOF
4664
 
cat confdefs.h >>conftest.$ac_ext
4665
 
cat >>conftest.$ac_ext <<_ACEOF
4666
 
/* end confdefs.h.  */
4667
 
$ac_declaration
4668
 
int
4669
 
main ()
4670
 
{
4671
 
exit (42);
4672
 
  ;
4673
 
  return 0;
4674
 
}
4675
 
_ACEOF
4676
 
rm -f conftest.$ac_objext
4677
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4678
 
  (eval $ac_compile) 2>conftest.er1
4679
 
  ac_status=$?
4680
 
  grep -v '^ *+' conftest.er1 >conftest.err
4681
 
  rm -f conftest.er1
4682
 
  cat conftest.err >&5
4683
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4684
 
  (exit $ac_status); } &&
4685
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4686
 
                         || test ! -s conftest.err'
4687
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4688
 
  (eval $ac_try) 2>&5
4689
 
  ac_status=$?
4690
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691
 
  (exit $ac_status); }; } &&
4692
 
         { ac_try='test -s conftest.$ac_objext'
4693
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4694
 
  (eval $ac_try) 2>&5
4695
 
  ac_status=$?
4696
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697
 
  (exit $ac_status); }; }; then
4698
 
  break
4699
 
else
4700
 
  echo "$as_me: failed program was:" >&5
4701
 
sed 's/^/| /' conftest.$ac_ext >&5
4702
 
 
4703
 
fi
4704
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4705
 
done
4706
 
rm -f conftest*
4707
 
if test -n "$ac_declaration"; then
4708
 
  echo '#ifdef __cplusplus' >>confdefs.h
4709
 
  echo $ac_declaration      >>confdefs.h
4710
 
  echo '#endif'             >>confdefs.h
4711
 
fi
4712
 
 
4713
 
ac_ext=cc
4714
 
ac_cpp='$CXXCPP $CPPFLAGS'
4715
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4716
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4717
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4718
 
 
4719
 
 
4720
 
 
4721
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
4722
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
4723
 
    (test "X$CXX" != "Xg++"))) ; then
4724
 
  ac_ext=cc
4725
 
ac_cpp='$CXXCPP $CPPFLAGS'
4726
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4727
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4728
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4729
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4730
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4731
 
if test -z "$CXXCPP"; then
4732
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
4733
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4734
 
else
4735
 
      # Double quotes because CXXCPP needs to be expanded
4736
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
4737
 
    do
4738
 
      ac_preproc_ok=false
4739
 
for ac_cxx_preproc_warn_flag in '' yes
4740
 
do
4741
 
  # Use a header file that comes with gcc, so configuring glibc
4742
 
  # with a fresh cross-compiler works.
4743
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4744
 
  # <limits.h> exists even on freestanding compilers.
4745
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4746
 
  # not just through cpp. "Syntax error" is here to catch this case.
4747
 
  cat >conftest.$ac_ext <<_ACEOF
4748
 
/* confdefs.h.  */
4749
 
_ACEOF
4750
 
cat confdefs.h >>conftest.$ac_ext
4751
 
cat >>conftest.$ac_ext <<_ACEOF
4752
 
/* end confdefs.h.  */
4753
 
#ifdef __STDC__
4754
 
# include <limits.h>
4755
 
#else
4756
 
# include <assert.h>
4757
 
#endif
4758
 
                     Syntax error
4759
 
_ACEOF
4760
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4761
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4762
 
  ac_status=$?
4763
 
  grep -v '^ *+' conftest.er1 >conftest.err
4764
 
  rm -f conftest.er1
4765
 
  cat conftest.err >&5
4766
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767
 
  (exit $ac_status); } >/dev/null; then
4768
 
  if test -s conftest.err; then
4769
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
4770
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4771
 
  else
4772
 
    ac_cpp_err=
4773
 
  fi
4774
 
else
4775
 
  ac_cpp_err=yes
4776
 
fi
4777
 
if test -z "$ac_cpp_err"; then
4778
 
  :
4779
 
else
4780
 
  echo "$as_me: failed program was:" >&5
4781
 
sed 's/^/| /' conftest.$ac_ext >&5
4782
 
 
4783
 
  # Broken: fails on valid input.
4784
 
continue
4785
 
fi
4786
 
rm -f conftest.err conftest.$ac_ext
4787
 
 
4788
 
  # OK, works on sane cases.  Now check whether non-existent headers
4789
 
  # can be detected and how.
4790
 
  cat >conftest.$ac_ext <<_ACEOF
4791
 
/* confdefs.h.  */
4792
 
_ACEOF
4793
 
cat confdefs.h >>conftest.$ac_ext
4794
 
cat >>conftest.$ac_ext <<_ACEOF
4795
 
/* end confdefs.h.  */
4796
 
#include <ac_nonexistent.h>
4797
 
_ACEOF
4798
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4799
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4800
 
  ac_status=$?
4801
 
  grep -v '^ *+' conftest.er1 >conftest.err
4802
 
  rm -f conftest.er1
4803
 
  cat conftest.err >&5
4804
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4805
 
  (exit $ac_status); } >/dev/null; then
4806
 
  if test -s conftest.err; then
4807
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
4808
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4809
 
  else
4810
 
    ac_cpp_err=
4811
 
  fi
4812
 
else
4813
 
  ac_cpp_err=yes
4814
 
fi
4815
 
if test -z "$ac_cpp_err"; then
4816
 
  # Broken: success on invalid input.
4817
 
continue
4818
 
else
4819
 
  echo "$as_me: failed program was:" >&5
4820
 
sed 's/^/| /' conftest.$ac_ext >&5
4821
 
 
4822
 
  # Passes both tests.
4823
 
ac_preproc_ok=:
4824
 
break
4825
 
fi
4826
 
rm -f conftest.err conftest.$ac_ext
4827
 
 
4828
 
done
4829
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4830
 
rm -f conftest.err conftest.$ac_ext
4831
 
if $ac_preproc_ok; then
4832
 
  break
4833
 
fi
4834
 
 
4835
 
    done
4836
 
    ac_cv_prog_CXXCPP=$CXXCPP
4837
 
 
4838
 
fi
4839
 
  CXXCPP=$ac_cv_prog_CXXCPP
4840
 
else
4841
 
  ac_cv_prog_CXXCPP=$CXXCPP
4842
 
fi
4843
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
4844
 
echo "${ECHO_T}$CXXCPP" >&6
4845
 
ac_preproc_ok=false
4846
 
for ac_cxx_preproc_warn_flag in '' yes
4847
 
do
4848
 
  # Use a header file that comes with gcc, so configuring glibc
4849
 
  # with a fresh cross-compiler works.
4850
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4851
 
  # <limits.h> exists even on freestanding compilers.
4852
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4853
 
  # not just through cpp. "Syntax error" is here to catch this case.
4854
 
  cat >conftest.$ac_ext <<_ACEOF
4855
 
/* confdefs.h.  */
4856
 
_ACEOF
4857
 
cat confdefs.h >>conftest.$ac_ext
4858
 
cat >>conftest.$ac_ext <<_ACEOF
4859
 
/* end confdefs.h.  */
4860
 
#ifdef __STDC__
4861
 
# include <limits.h>
4862
 
#else
4863
 
# include <assert.h>
4864
 
#endif
4865
 
                     Syntax error
4866
 
_ACEOF
4867
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4868
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4869
 
  ac_status=$?
4870
 
  grep -v '^ *+' conftest.er1 >conftest.err
4871
 
  rm -f conftest.er1
4872
 
  cat conftest.err >&5
4873
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874
 
  (exit $ac_status); } >/dev/null; then
4875
 
  if test -s conftest.err; then
4876
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
4877
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4878
 
  else
4879
 
    ac_cpp_err=
4880
 
  fi
4881
 
else
4882
 
  ac_cpp_err=yes
4883
 
fi
4884
 
if test -z "$ac_cpp_err"; then
4885
 
  :
4886
 
else
4887
 
  echo "$as_me: failed program was:" >&5
4888
 
sed 's/^/| /' conftest.$ac_ext >&5
4889
 
 
4890
 
  # Broken: fails on valid input.
4891
 
continue
4892
 
fi
4893
 
rm -f conftest.err conftest.$ac_ext
4894
 
 
4895
 
  # OK, works on sane cases.  Now check whether non-existent headers
4896
 
  # can be detected and how.
4897
 
  cat >conftest.$ac_ext <<_ACEOF
4898
 
/* confdefs.h.  */
4899
 
_ACEOF
4900
 
cat confdefs.h >>conftest.$ac_ext
4901
 
cat >>conftest.$ac_ext <<_ACEOF
4902
 
/* end confdefs.h.  */
4903
 
#include <ac_nonexistent.h>
4904
 
_ACEOF
4905
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4906
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4907
 
  ac_status=$?
4908
 
  grep -v '^ *+' conftest.er1 >conftest.err
4909
 
  rm -f conftest.er1
4910
 
  cat conftest.err >&5
4911
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4912
 
  (exit $ac_status); } >/dev/null; then
4913
 
  if test -s conftest.err; then
4914
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
4915
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4916
 
  else
4917
 
    ac_cpp_err=
4918
 
  fi
4919
 
else
4920
 
  ac_cpp_err=yes
4921
 
fi
4922
 
if test -z "$ac_cpp_err"; then
4923
 
  # Broken: success on invalid input.
4924
 
continue
4925
 
else
4926
 
  echo "$as_me: failed program was:" >&5
4927
 
sed 's/^/| /' conftest.$ac_ext >&5
4928
 
 
4929
 
  # Passes both tests.
4930
 
ac_preproc_ok=:
4931
 
break
4932
 
fi
4933
 
rm -f conftest.err conftest.$ac_ext
4934
 
 
4935
 
done
4936
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4937
 
rm -f conftest.err conftest.$ac_ext
4938
 
if $ac_preproc_ok; then
4939
 
  :
4940
 
else
4941
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4942
 
See \`config.log' for more details." >&5
4943
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4944
 
See \`config.log' for more details." >&2;}
4945
 
   { (exit 1); exit 1; }; }
4946
 
fi
4947
 
 
4948
 
ac_ext=cc
4949
 
ac_cpp='$CXXCPP $CPPFLAGS'
4950
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4951
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4952
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4953
 
 
4954
 
fi
4955
 
 
4956
 
 
4957
 
ac_ext=f
4958
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
4959
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4960
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
4961
 
if test -n "$ac_tool_prefix"; then
4962
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
4963
 
  do
4964
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4965
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4966
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4967
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4968
 
if test "${ac_cv_prog_F77+set}" = set; then
4969
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4970
 
else
4971
 
  if test -n "$F77"; then
4972
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
4973
 
else
4974
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4975
 
for as_dir in $PATH
4976
 
do
4977
 
  IFS=$as_save_IFS
4978
 
  test -z "$as_dir" && as_dir=.
4979
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4980
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4981
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
4982
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4983
 
    break 2
4984
 
  fi
4985
 
done
4986
 
done
4987
 
 
4988
 
fi
4989
 
fi
4990
 
F77=$ac_cv_prog_F77
4991
 
if test -n "$F77"; then
4992
 
  echo "$as_me:$LINENO: result: $F77" >&5
4993
 
echo "${ECHO_T}$F77" >&6
4994
 
else
4995
 
  echo "$as_me:$LINENO: result: no" >&5
4996
 
echo "${ECHO_T}no" >&6
4997
 
fi
4998
 
 
4999
 
    test -n "$F77" && break
5000
 
  done
5001
 
fi
5002
 
if test -z "$F77"; then
5003
 
  ac_ct_F77=$F77
5004
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5005
 
do
5006
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5007
 
set dummy $ac_prog; ac_word=$2
5008
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5009
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5010
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5011
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5012
 
else
5013
 
  if test -n "$ac_ct_F77"; then
5014
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5015
 
else
5016
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5017
 
for as_dir in $PATH
5018
 
do
5019
 
  IFS=$as_save_IFS
5020
 
  test -z "$as_dir" && as_dir=.
5021
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5022
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5023
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
5024
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5025
 
    break 2
5026
 
  fi
5027
 
done
5028
 
done
5029
 
 
5030
 
fi
5031
 
fi
5032
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5033
 
if test -n "$ac_ct_F77"; then
5034
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5035
 
echo "${ECHO_T}$ac_ct_F77" >&6
5036
 
else
5037
 
  echo "$as_me:$LINENO: result: no" >&5
5038
 
echo "${ECHO_T}no" >&6
5039
 
fi
5040
 
 
5041
 
  test -n "$ac_ct_F77" && break
5042
 
done
5043
 
 
5044
 
  F77=$ac_ct_F77
5045
 
fi
5046
 
 
5047
 
 
5048
 
# Provide some information about the compiler.
5049
 
echo "$as_me:5049:" \
5050
 
     "checking for Fortran 77 compiler version" >&5
5051
 
ac_compiler=`set X $ac_compile; echo $2`
5052
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5053
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5054
 
  ac_status=$?
5055
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5056
 
  (exit $ac_status); }
5057
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5058
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5059
 
  ac_status=$?
5060
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5061
 
  (exit $ac_status); }
5062
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5063
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
5064
 
  ac_status=$?
5065
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066
 
  (exit $ac_status); }
5067
 
rm -f a.out
5068
 
 
5069
 
# If we don't use `.F' as extension, the preprocessor is not run on the
5070
 
# input file.  (Note that this only needs to work for GNU compilers.)
5071
 
ac_save_ext=$ac_ext
5072
 
ac_ext=F
5073
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5074
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5075
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5076
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5077
 
else
5078
 
  cat >conftest.$ac_ext <<_ACEOF
5079
 
      program main
5080
 
#ifndef __GNUC__
5081
 
       choke me
5082
 
#endif
5083
 
 
5084
 
      end
5085
 
_ACEOF
5086
 
rm -f conftest.$ac_objext
5087
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5088
 
  (eval $ac_compile) 2>conftest.er1
5089
 
  ac_status=$?
5090
 
  grep -v '^ *+' conftest.er1 >conftest.err
5091
 
  rm -f conftest.er1
5092
 
  cat conftest.err >&5
5093
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094
 
  (exit $ac_status); } &&
5095
 
         { ac_try='test -z "$ac_f77_werror_flag"
5096
 
                         || test ! -s conftest.err'
5097
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5098
 
  (eval $ac_try) 2>&5
5099
 
  ac_status=$?
5100
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5101
 
  (exit $ac_status); }; } &&
5102
 
         { ac_try='test -s conftest.$ac_objext'
5103
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5104
 
  (eval $ac_try) 2>&5
5105
 
  ac_status=$?
5106
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107
 
  (exit $ac_status); }; }; then
5108
 
  ac_compiler_gnu=yes
5109
 
else
5110
 
  echo "$as_me: failed program was:" >&5
5111
 
sed 's/^/| /' conftest.$ac_ext >&5
5112
 
 
5113
 
ac_compiler_gnu=no
5114
 
fi
5115
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5116
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5117
 
 
5118
 
fi
5119
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5120
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5121
 
ac_ext=$ac_save_ext
5122
 
ac_test_FFLAGS=${FFLAGS+set}
5123
 
ac_save_FFLAGS=$FFLAGS
5124
 
FFLAGS=
5125
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5126
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5127
 
if test "${ac_cv_prog_f77_g+set}" = set; then
5128
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5129
 
else
5130
 
  FFLAGS=-g
5131
 
cat >conftest.$ac_ext <<_ACEOF
5132
 
      program main
5133
 
 
5134
 
      end
5135
 
_ACEOF
5136
 
rm -f conftest.$ac_objext
5137
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5138
 
  (eval $ac_compile) 2>conftest.er1
5139
 
  ac_status=$?
5140
 
  grep -v '^ *+' conftest.er1 >conftest.err
5141
 
  rm -f conftest.er1
5142
 
  cat conftest.err >&5
5143
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5144
 
  (exit $ac_status); } &&
5145
 
         { ac_try='test -z "$ac_f77_werror_flag"
5146
 
                         || test ! -s conftest.err'
5147
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5148
 
  (eval $ac_try) 2>&5
5149
 
  ac_status=$?
5150
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5151
 
  (exit $ac_status); }; } &&
5152
 
         { ac_try='test -s conftest.$ac_objext'
5153
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5154
 
  (eval $ac_try) 2>&5
5155
 
  ac_status=$?
5156
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5157
 
  (exit $ac_status); }; }; then
5158
 
  ac_cv_prog_f77_g=yes
5159
 
else
5160
 
  echo "$as_me: failed program was:" >&5
5161
 
sed 's/^/| /' conftest.$ac_ext >&5
5162
 
 
5163
 
ac_cv_prog_f77_g=no
5164
 
fi
5165
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5166
 
 
5167
 
fi
5168
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5169
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5170
 
if test "$ac_test_FFLAGS" = set; then
5171
 
  FFLAGS=$ac_save_FFLAGS
5172
 
elif test $ac_cv_prog_f77_g = yes; then
5173
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5174
 
    FFLAGS="-g -O2"
5175
 
  else
5176
 
    FFLAGS="-g"
5177
 
  fi
5178
 
else
5179
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5180
 
    FFLAGS="-O2"
5181
 
  else
5182
 
    FFLAGS=
5183
 
  fi
5184
 
fi
5185
 
 
5186
 
G77=`test $ac_compiler_gnu = yes && echo yes`
5187
 
ac_ext=c
5188
 
ac_cpp='$CPP $CPPFLAGS'
5189
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5190
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5191
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5192
 
 
5193
 
 
5194
 
 
5195
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5196
 
 
5197
 
# find the maximum length of command line arguments
5198
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5199
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5200
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5201
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5202
 
else
5203
 
    i=0
5204
 
  teststring="ABCD"
5205
 
 
5206
 
  case $build_os in
5207
 
  msdosdjgpp*)
5208
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
5209
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
5210
 
    # during glob expansion).  Even if it were fixed, the result of this
5211
 
    # check would be larger than it should be.
5212
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5213
 
    ;;
5214
 
 
5215
 
  gnu*)
5216
 
    # Under GNU Hurd, this test is not required because there is
5217
 
    # no limit to the length of command line arguments.
5218
 
    # Libtool will interpret -1 as no limit whatsoever
5219
 
    lt_cv_sys_max_cmd_len=-1;
5220
 
    ;;
5221
 
 
5222
 
  cygwin* | mingw*)
5223
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
5224
 
    # about 5 minutes as the teststring grows exponentially.
5225
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
5226
 
    # you end up with a "frozen" computer, even though with patience
5227
 
    # the test eventually succeeds (with a max line length of 256k).
5228
 
    # Instead, let's just punt: use the minimum linelength reported by
5229
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
5230
 
    lt_cv_sys_max_cmd_len=8192;
5231
 
    ;;
5232
 
 
5233
 
  amigaos*)
5234
 
    # On AmigaOS with pdksh, this test takes hours, literally.
5235
 
    # So we just punt and use a minimum line length of 8192.
5236
 
    lt_cv_sys_max_cmd_len=8192;
5237
 
    ;;
5238
 
 
5239
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5240
 
    # This has been around since 386BSD, at least.  Likely further.
5241
 
    if test -x /sbin/sysctl; then
5242
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5243
 
    elif test -x /usr/sbin/sysctl; then
5244
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5245
 
    else
5246
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5247
 
    fi
5248
 
    # And add a safety zone
5249
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5250
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5251
 
    ;;
5252
 
 
5253
 
  interix*)
5254
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5255
 
    lt_cv_sys_max_cmd_len=196608
5256
 
    ;;
5257
 
 
5258
 
  osf*)
5259
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5260
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5261
 
    # nice to cause kernel panics so lets avoid the loop below.
5262
 
    # First set a reasonable default.
5263
 
    lt_cv_sys_max_cmd_len=16384
5264
 
    #
5265
 
    if test -x /sbin/sysconfig; then
5266
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5267
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5268
 
      esac
5269
 
    fi
5270
 
    ;;
5271
 
  sco3.2v5*)
5272
 
    lt_cv_sys_max_cmd_len=102400
5273
 
    ;;
5274
 
  sysv5* | sco5v6* | sysv4.2uw2*)
5275
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5276
 
    if test -n "$kargmax"; then
5277
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
5278
 
    else
5279
 
      lt_cv_sys_max_cmd_len=32768
5280
 
    fi
5281
 
    ;;
5282
 
  *)
5283
 
    # If test is not a shell built-in, we'll probably end up computing a
5284
 
    # maximum length that is only half of the actual maximum length, but
5285
 
    # we can't tell.
5286
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5287
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5288
 
               = "XX$teststring") >/dev/null 2>&1 &&
5289
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
5290
 
            lt_cv_sys_max_cmd_len=$new_result &&
5291
 
            test $i != 17 # 1/2 MB should be enough
5292
 
    do
5293
 
      i=`expr $i + 1`
5294
 
      teststring=$teststring$teststring
5295
 
    done
5296
 
    teststring=
5297
 
    # Add a significant safety factor because C++ compilers can tack on massive
5298
 
    # amounts of additional arguments before passing them to the linker.
5299
 
    # It appears as though 1/2 is a usable value.
5300
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5301
 
    ;;
5302
 
  esac
5303
 
 
5304
 
fi
5305
 
 
5306
 
if test -n $lt_cv_sys_max_cmd_len ; then
5307
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5308
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5309
 
else
5310
 
  echo "$as_me:$LINENO: result: none" >&5
5311
 
echo "${ECHO_T}none" >&6
5312
 
fi
5313
 
 
5314
 
 
5315
 
 
5316
 
 
5317
5178
# Check for command to grab the raw symbol name followed by C symbol from nm.
5318
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5319
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
5179
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
5180
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5320
5181
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5321
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5182
  $as_echo_n "(cached) " >&6
5322
5183
else
5323
5184
 
5324
5185
# These are sane defaults that work on at least a few old systems.
5330
5191
# Regexp to match symbols that can be accessed directly from C.
5331
5192
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5332
5193
 
5333
 
# Transform an extracted symbol line into a proper C declaration
5334
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5335
 
 
5336
 
# Transform an extracted symbol line into symbol name and symbol address
5337
 
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'"
5338
 
 
5339
5194
# Define system-specific variables.
5340
5195
case $host_os in
5341
5196
aix*)
5342
5197
  symcode='[BCDT]'
5343
5198
  ;;
5344
 
cygwin* | mingw* | pw32*)
 
5199
cygwin* | mingw* | pw32* | cegcc*)
5345
5200
  symcode='[ABCDGISTW]'
5346
5201
  ;;
5347
 
hpux*) # Its linker distinguishes data from code symbols
 
5202
hpux*)
5348
5203
  if test "$host_cpu" = ia64; then
5349
5204
    symcode='[ABCDEGRST]'
5350
5205
  fi
5351
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5352
 
  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'"
5353
 
  ;;
5354
 
linux*)
5355
 
  if test "$host_cpu" = ia64; then
5356
 
    symcode='[ABCDGIRSTW]'
5357
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5358
 
    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'"
5359
 
  fi
5360
5206
  ;;
5361
5207
irix* | nonstopux*)
5362
5208
  symcode='[BCDEGRST]'
5381
5227
  ;;
5382
5228
esac
5383
5229
 
 
5230
# If we're using GNU nm, then use its standard symbol codes.
 
5231
case `$NM -V 2>&1` in
 
5232
*GNU* | *'with BFD'*)
 
5233
  symcode='[ABCDGIRSTW]' ;;
 
5234
esac
 
5235
 
 
5236
# Transform an extracted symbol line into a proper C declaration.
 
5237
# Some systems (esp. on ia64) link data and code symbols differently,
 
5238
# so use this general approach.
 
5239
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
5240
 
 
5241
# Transform an extracted symbol line into symbol name and symbol address
 
5242
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
5243
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'"
 
5244
 
5384
5245
# Handle CRLF in mingw tool chain
5385
5246
opt_cr=
5386
5247
case $build_os in
5387
5248
mingw*)
5388
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
5249
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5389
5250
  ;;
5390
5251
esac
5391
5252
 
5392
 
# If we're using GNU nm, then use its standard symbol codes.
5393
 
case `$NM -V 2>&1` in
5394
 
*GNU* | *'with BFD'*)
5395
 
  symcode='[ABCDGIRSTW]' ;;
5396
 
esac
5397
 
 
5398
 
# Try without a prefix undercore, then with it.
 
5253
# Try without a prefix underscore, then with it.
5399
5254
for ac_symprfx in "" "_"; do
5400
5255
 
5401
5256
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5402
5257
  symxfrm="\\1 $ac_symprfx\\2 \\2"
5403
5258
 
5404
5259
  # Write the raw and C identifiers.
5405
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
5260
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
5261
    # Fake it for dumpbin and say T for any non-static function
 
5262
    # and D for any global variable.
 
5263
    # Also find C++ and __fastcall symbols from MSVC++,
 
5264
    # which start with @ or ?.
 
5265
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
5266
"     {last_section=section; section=\$ 3};"\
 
5267
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
5268
"     \$ 0!~/External *\|/{next};"\
 
5269
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
5270
"     {if(hide[section]) next};"\
 
5271
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
5272
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
5273
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
5274
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
5275
"     ' prfx=^$ac_symprfx"
 
5276
  else
 
5277
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
5278
  fi
5406
5279
 
5407
5280
  # Check to see that the pipe works correctly.
5408
5281
  pipe_works=no
5409
5282
 
5410
5283
  rm -f conftest*
5411
 
  cat > conftest.$ac_ext <<EOF
 
5284
  cat > conftest.$ac_ext <<_LT_EOF
5412
5285
#ifdef __cplusplus
5413
5286
extern "C" {
5414
5287
#endif
5415
5288
char nm_test_var;
5416
 
void nm_test_func(){}
 
5289
void nm_test_func(void);
 
5290
void nm_test_func(void){}
5417
5291
#ifdef __cplusplus
5418
5292
}
5419
5293
#endif
5420
5294
int main(){nm_test_var='a';nm_test_func();return(0);}
5421
 
EOF
 
5295
_LT_EOF
5422
5296
 
5423
5297
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5424
5298
  (eval $ac_compile) 2>&5
5425
5299
  ac_status=$?
5426
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5300
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427
5301
  (exit $ac_status); }; then
5428
5302
    # Now try to grab the symbols.
5429
5303
    nlist=conftest.nm
5430
5304
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5431
5305
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5432
5306
  ac_status=$?
5433
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5307
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5434
5308
  (exit $ac_status); } && test -s "$nlist"; then
5435
5309
      # Try sorting and uniquifying the output.
5436
5310
      if sort "$nlist" | uniq > "$nlist"T; then
5440
5314
      fi
5441
5315
 
5442
5316
      # Make sure that we snagged all the symbols we need.
5443
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
5444
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
5445
 
          cat <<EOF > conftest.$ac_ext
 
5317
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
5318
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
5319
          cat <<_LT_EOF > conftest.$ac_ext
5446
5320
#ifdef __cplusplus
5447
5321
extern "C" {
5448
5322
#endif
5449
5323
 
5450
 
EOF
 
5324
_LT_EOF
5451
5325
          # Now generate the symbol file.
5452
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5453
 
 
5454
 
          cat <<EOF >> conftest.$ac_ext
5455
 
#if defined (__STDC__) && __STDC__
5456
 
# define lt_ptr_t void *
5457
 
#else
5458
 
# define lt_ptr_t char *
5459
 
# define const
5460
 
#endif
5461
 
 
5462
 
/* The mapping between symbol names and symbols. */
 
5326
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
5327
 
 
5328
          cat <<_LT_EOF >> conftest.$ac_ext
 
5329
 
 
5330
/* The mapping between symbol names and symbols.  */
5463
5331
const struct {
5464
5332
  const char *name;
5465
 
  lt_ptr_t address;
 
5333
  void       *address;
5466
5334
}
5467
 
lt_preloaded_symbols[] =
 
5335
lt__PROGRAM__LTX_preloaded_symbols[] =
5468
5336
{
5469
 
EOF
5470
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5471
 
          cat <<\EOF >> conftest.$ac_ext
5472
 
  {0, (lt_ptr_t) 0}
 
5337
  { "@PROGRAM@", (void *) 0 },
 
5338
_LT_EOF
 
5339
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
5340
          cat <<\_LT_EOF >> conftest.$ac_ext
 
5341
  {0, (void *) 0}
5473
5342
};
5474
5343
 
 
5344
/* This works around a problem in FreeBSD linker */
 
5345
#ifdef FREEBSD_WORKAROUND
 
5346
static const void *lt_preloaded_setup() {
 
5347
  return lt__PROGRAM__LTX_preloaded_symbols;
 
5348
}
 
5349
#endif
 
5350
 
5475
5351
#ifdef __cplusplus
5476
5352
}
5477
5353
#endif
5478
 
EOF
 
5354
_LT_EOF
5479
5355
          # Now try linking the two files.
5480
5356
          mv conftest.$ac_objext conftstm.$ac_objext
5481
5357
          lt_save_LIBS="$LIBS"
5485
5361
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5486
5362
  (eval $ac_link) 2>&5
5487
5363
  ac_status=$?
5488
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5364
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5489
5365
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
5490
5366
            pipe_works=yes
5491
5367
          fi
5504
5380
    echo "$progname: failed program was:" >&5
5505
5381
    cat conftest.$ac_ext >&5
5506
5382
  fi
5507
 
  rm -f conftest* conftst*
 
5383
  rm -rf conftest* conftst*
5508
5384
 
5509
5385
  # Do not use the global_symbol_pipe unless it works.
5510
5386
  if test "$pipe_works" = yes; then
5520
5396
  lt_cv_sys_global_symbol_to_cdecl=
5521
5397
fi
5522
5398
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5523
 
  echo "$as_me:$LINENO: result: failed" >&5
5524
 
echo "${ECHO_T}failed" >&6
5525
 
else
5526
 
  echo "$as_me:$LINENO: result: ok" >&5
5527
 
echo "${ECHO_T}ok" >&6
5528
 
fi
5529
 
 
5530
 
echo "$as_me:$LINENO: checking for objdir" >&5
5531
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
5399
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
5400
$as_echo "failed" >&6; }
 
5401
else
 
5402
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
5403
$as_echo "ok" >&6; }
 
5404
fi
 
5405
 
 
5406
 
 
5407
 
 
5408
 
 
5409
 
 
5410
 
 
5411
 
 
5412
 
 
5413
 
 
5414
 
 
5415
 
 
5416
 
 
5417
 
 
5418
 
 
5419
 
 
5420
 
 
5421
 
 
5422
 
 
5423
 
 
5424
 
 
5425
 
 
5426
 
 
5427
 
 
5428
# Check whether --enable-libtool-lock was given.
 
5429
if test "${enable_libtool_lock+set}" = set; then
 
5430
  enableval=$enable_libtool_lock;
 
5431
fi
 
5432
 
 
5433
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
5434
 
 
5435
# Some flags need to be propagated to the compiler or linker for good
 
5436
# libtool support.
 
5437
case $host in
 
5438
ia64-*-hpux*)
 
5439
  # Find out which ABI we are using.
 
5440
  echo 'int i;' > conftest.$ac_ext
 
5441
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5442
  (eval $ac_compile) 2>&5
 
5443
  ac_status=$?
 
5444
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5445
  (exit $ac_status); }; then
 
5446
    case `/usr/bin/file conftest.$ac_objext` in
 
5447
      *ELF-32*)
 
5448
        HPUX_IA64_MODE="32"
 
5449
        ;;
 
5450
      *ELF-64*)
 
5451
        HPUX_IA64_MODE="64"
 
5452
        ;;
 
5453
    esac
 
5454
  fi
 
5455
  rm -rf conftest*
 
5456
  ;;
 
5457
*-*-irix6*)
 
5458
  # Find out which ABI we are using.
 
5459
  echo '#line 5459 "configure"' > conftest.$ac_ext
 
5460
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5461
  (eval $ac_compile) 2>&5
 
5462
  ac_status=$?
 
5463
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5464
  (exit $ac_status); }; then
 
5465
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
5466
      case `/usr/bin/file conftest.$ac_objext` in
 
5467
        *32-bit*)
 
5468
          LD="${LD-ld} -melf32bsmip"
 
5469
          ;;
 
5470
        *N32*)
 
5471
          LD="${LD-ld} -melf32bmipn32"
 
5472
          ;;
 
5473
        *64-bit*)
 
5474
          LD="${LD-ld} -melf64bmip"
 
5475
        ;;
 
5476
      esac
 
5477
    else
 
5478
      case `/usr/bin/file conftest.$ac_objext` in
 
5479
        *32-bit*)
 
5480
          LD="${LD-ld} -32"
 
5481
          ;;
 
5482
        *N32*)
 
5483
          LD="${LD-ld} -n32"
 
5484
          ;;
 
5485
        *64-bit*)
 
5486
          LD="${LD-ld} -64"
 
5487
          ;;
 
5488
      esac
 
5489
    fi
 
5490
  fi
 
5491
  rm -rf conftest*
 
5492
  ;;
 
5493
 
 
5494
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
5495
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
5496
  # Find out which ABI we are using.
 
5497
  echo 'int i;' > conftest.$ac_ext
 
5498
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5499
  (eval $ac_compile) 2>&5
 
5500
  ac_status=$?
 
5501
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5502
  (exit $ac_status); }; then
 
5503
    case `/usr/bin/file conftest.o` in
 
5504
      *32-bit*)
 
5505
        case $host in
 
5506
          x86_64-*kfreebsd*-gnu)
 
5507
            LD="${LD-ld} -m elf_i386_fbsd"
 
5508
            ;;
 
5509
          x86_64-*linux*)
 
5510
            LD="${LD-ld} -m elf_i386"
 
5511
            ;;
 
5512
          ppc64-*linux*|powerpc64-*linux*)
 
5513
            LD="${LD-ld} -m elf32ppclinux"
 
5514
            ;;
 
5515
          s390x-*linux*)
 
5516
            LD="${LD-ld} -m elf_s390"
 
5517
            ;;
 
5518
          sparc64-*linux*)
 
5519
            LD="${LD-ld} -m elf32_sparc"
 
5520
            ;;
 
5521
        esac
 
5522
        ;;
 
5523
      *64-bit*)
 
5524
        case $host in
 
5525
          x86_64-*kfreebsd*-gnu)
 
5526
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
5527
            ;;
 
5528
          x86_64-*linux*)
 
5529
            LD="${LD-ld} -m elf_x86_64"
 
5530
            ;;
 
5531
          ppc*-*linux*|powerpc*-*linux*)
 
5532
            LD="${LD-ld} -m elf64ppc"
 
5533
            ;;
 
5534
          s390*-*linux*|s390*-*tpf*)
 
5535
            LD="${LD-ld} -m elf64_s390"
 
5536
            ;;
 
5537
          sparc*-*linux*)
 
5538
            LD="${LD-ld} -m elf64_sparc"
 
5539
            ;;
 
5540
        esac
 
5541
        ;;
 
5542
    esac
 
5543
  fi
 
5544
  rm -rf conftest*
 
5545
  ;;
 
5546
 
 
5547
*-*-sco3.2v5*)
 
5548
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
5549
  SAVE_CFLAGS="$CFLAGS"
 
5550
  CFLAGS="$CFLAGS -belf"
 
5551
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
5552
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
5553
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
5554
  $as_echo_n "(cached) " >&6
 
5555
else
 
5556
  ac_ext=c
 
5557
ac_cpp='$CPP $CPPFLAGS'
 
5558
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5559
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5560
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5561
 
 
5562
     cat >conftest.$ac_ext <<_ACEOF
 
5563
/* confdefs.h.  */
 
5564
_ACEOF
 
5565
cat confdefs.h >>conftest.$ac_ext
 
5566
cat >>conftest.$ac_ext <<_ACEOF
 
5567
/* end confdefs.h.  */
 
5568
 
 
5569
int
 
5570
main ()
 
5571
{
 
5572
 
 
5573
  ;
 
5574
  return 0;
 
5575
}
 
5576
_ACEOF
 
5577
rm -f conftest.$ac_objext conftest$ac_exeext
 
5578
if { (ac_try="$ac_link"
 
5579
case "(($ac_try" in
 
5580
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5581
  *) ac_try_echo=$ac_try;;
 
5582
esac
 
5583
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5584
$as_echo "$ac_try_echo") >&5
 
5585
  (eval "$ac_link") 2>conftest.er1
 
5586
  ac_status=$?
 
5587
  grep -v '^ *+' conftest.er1 >conftest.err
 
5588
  rm -f conftest.er1
 
5589
  cat conftest.err >&5
 
5590
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5591
  (exit $ac_status); } && {
 
5592
         test -z "$ac_c_werror_flag" ||
 
5593
         test ! -s conftest.err
 
5594
       } && test -s conftest$ac_exeext && {
 
5595
         test "$cross_compiling" = yes ||
 
5596
         $as_test_x conftest$ac_exeext
 
5597
       }; then
 
5598
  lt_cv_cc_needs_belf=yes
 
5599
else
 
5600
  $as_echo "$as_me: failed program was:" >&5
 
5601
sed 's/^/| /' conftest.$ac_ext >&5
 
5602
 
 
5603
        lt_cv_cc_needs_belf=no
 
5604
fi
 
5605
 
 
5606
rm -rf conftest.dSYM
 
5607
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5608
      conftest$ac_exeext conftest.$ac_ext
 
5609
     ac_ext=c
 
5610
ac_cpp='$CPP $CPPFLAGS'
 
5611
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5612
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5613
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5614
 
 
5615
fi
 
5616
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
5617
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
5618
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
5619
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
5620
    CFLAGS="$SAVE_CFLAGS"
 
5621
  fi
 
5622
  ;;
 
5623
sparc*-*solaris*)
 
5624
  # Find out which ABI we are using.
 
5625
  echo 'int i;' > conftest.$ac_ext
 
5626
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5627
  (eval $ac_compile) 2>&5
 
5628
  ac_status=$?
 
5629
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5630
  (exit $ac_status); }; then
 
5631
    case `/usr/bin/file conftest.o` in
 
5632
    *64-bit*)
 
5633
      case $lt_cv_prog_gnu_ld in
 
5634
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
5635
      *)
 
5636
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
5637
          LD="${LD-ld} -64"
 
5638
        fi
 
5639
        ;;
 
5640
      esac
 
5641
      ;;
 
5642
    esac
 
5643
  fi
 
5644
  rm -rf conftest*
 
5645
  ;;
 
5646
esac
 
5647
 
 
5648
need_locks="$enable_libtool_lock"
 
5649
 
 
5650
 
 
5651
  case $host_os in
 
5652
    rhapsody* | darwin*)
 
5653
    if test -n "$ac_tool_prefix"; then
 
5654
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
5655
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
5656
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5657
$as_echo_n "checking for $ac_word... " >&6; }
 
5658
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
5659
  $as_echo_n "(cached) " >&6
 
5660
else
 
5661
  if test -n "$DSYMUTIL"; then
 
5662
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
5663
else
 
5664
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5665
for as_dir in $PATH
 
5666
do
 
5667
  IFS=$as_save_IFS
 
5668
  test -z "$as_dir" && as_dir=.
 
5669
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5670
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5671
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
5672
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5673
    break 2
 
5674
  fi
 
5675
done
 
5676
done
 
5677
IFS=$as_save_IFS
 
5678
 
 
5679
fi
 
5680
fi
 
5681
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
5682
if test -n "$DSYMUTIL"; then
 
5683
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
5684
$as_echo "$DSYMUTIL" >&6; }
 
5685
else
 
5686
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5687
$as_echo "no" >&6; }
 
5688
fi
 
5689
 
 
5690
 
 
5691
fi
 
5692
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
5693
  ac_ct_DSYMUTIL=$DSYMUTIL
 
5694
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
5695
set dummy dsymutil; ac_word=$2
 
5696
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5697
$as_echo_n "checking for $ac_word... " >&6; }
 
5698
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
5699
  $as_echo_n "(cached) " >&6
 
5700
else
 
5701
  if test -n "$ac_ct_DSYMUTIL"; then
 
5702
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
5703
else
 
5704
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5705
for as_dir in $PATH
 
5706
do
 
5707
  IFS=$as_save_IFS
 
5708
  test -z "$as_dir" && as_dir=.
 
5709
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5710
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5711
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
5712
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5713
    break 2
 
5714
  fi
 
5715
done
 
5716
done
 
5717
IFS=$as_save_IFS
 
5718
 
 
5719
fi
 
5720
fi
 
5721
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
5722
if test -n "$ac_ct_DSYMUTIL"; then
 
5723
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
5724
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
5725
else
 
5726
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5727
$as_echo "no" >&6; }
 
5728
fi
 
5729
 
 
5730
  if test "x$ac_ct_DSYMUTIL" = x; then
 
5731
    DSYMUTIL=":"
 
5732
  else
 
5733
    case $cross_compiling:$ac_tool_warned in
 
5734
yes:)
 
5735
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5736
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5737
ac_tool_warned=yes ;;
 
5738
esac
 
5739
    DSYMUTIL=$ac_ct_DSYMUTIL
 
5740
  fi
 
5741
else
 
5742
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
5743
fi
 
5744
 
 
5745
    if test -n "$ac_tool_prefix"; then
 
5746
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
5747
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
5748
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5749
$as_echo_n "checking for $ac_word... " >&6; }
 
5750
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
5751
  $as_echo_n "(cached) " >&6
 
5752
else
 
5753
  if test -n "$NMEDIT"; then
 
5754
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
5755
else
 
5756
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5757
for as_dir in $PATH
 
5758
do
 
5759
  IFS=$as_save_IFS
 
5760
  test -z "$as_dir" && as_dir=.
 
5761
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5762
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5763
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
5764
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5765
    break 2
 
5766
  fi
 
5767
done
 
5768
done
 
5769
IFS=$as_save_IFS
 
5770
 
 
5771
fi
 
5772
fi
 
5773
NMEDIT=$ac_cv_prog_NMEDIT
 
5774
if test -n "$NMEDIT"; then
 
5775
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
5776
$as_echo "$NMEDIT" >&6; }
 
5777
else
 
5778
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5779
$as_echo "no" >&6; }
 
5780
fi
 
5781
 
 
5782
 
 
5783
fi
 
5784
if test -z "$ac_cv_prog_NMEDIT"; then
 
5785
  ac_ct_NMEDIT=$NMEDIT
 
5786
  # Extract the first word of "nmedit", so it can be a program name with args.
 
5787
set dummy nmedit; ac_word=$2
 
5788
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5789
$as_echo_n "checking for $ac_word... " >&6; }
 
5790
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
5791
  $as_echo_n "(cached) " >&6
 
5792
else
 
5793
  if test -n "$ac_ct_NMEDIT"; then
 
5794
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
5795
else
 
5796
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5797
for as_dir in $PATH
 
5798
do
 
5799
  IFS=$as_save_IFS
 
5800
  test -z "$as_dir" && as_dir=.
 
5801
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5802
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5803
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
5804
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5805
    break 2
 
5806
  fi
 
5807
done
 
5808
done
 
5809
IFS=$as_save_IFS
 
5810
 
 
5811
fi
 
5812
fi
 
5813
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
5814
if test -n "$ac_ct_NMEDIT"; then
 
5815
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
5816
$as_echo "$ac_ct_NMEDIT" >&6; }
 
5817
else
 
5818
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5819
$as_echo "no" >&6; }
 
5820
fi
 
5821
 
 
5822
  if test "x$ac_ct_NMEDIT" = x; then
 
5823
    NMEDIT=":"
 
5824
  else
 
5825
    case $cross_compiling:$ac_tool_warned in
 
5826
yes:)
 
5827
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5828
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5829
ac_tool_warned=yes ;;
 
5830
esac
 
5831
    NMEDIT=$ac_ct_NMEDIT
 
5832
  fi
 
5833
else
 
5834
  NMEDIT="$ac_cv_prog_NMEDIT"
 
5835
fi
 
5836
 
 
5837
    if test -n "$ac_tool_prefix"; then
 
5838
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
5839
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
5840
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5841
$as_echo_n "checking for $ac_word... " >&6; }
 
5842
if test "${ac_cv_prog_LIPO+set}" = set; then
 
5843
  $as_echo_n "(cached) " >&6
 
5844
else
 
5845
  if test -n "$LIPO"; then
 
5846
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
5847
else
 
5848
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5849
for as_dir in $PATH
 
5850
do
 
5851
  IFS=$as_save_IFS
 
5852
  test -z "$as_dir" && as_dir=.
 
5853
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5854
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5855
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
5856
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5857
    break 2
 
5858
  fi
 
5859
done
 
5860
done
 
5861
IFS=$as_save_IFS
 
5862
 
 
5863
fi
 
5864
fi
 
5865
LIPO=$ac_cv_prog_LIPO
 
5866
if test -n "$LIPO"; then
 
5867
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
5868
$as_echo "$LIPO" >&6; }
 
5869
else
 
5870
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5871
$as_echo "no" >&6; }
 
5872
fi
 
5873
 
 
5874
 
 
5875
fi
 
5876
if test -z "$ac_cv_prog_LIPO"; then
 
5877
  ac_ct_LIPO=$LIPO
 
5878
  # Extract the first word of "lipo", so it can be a program name with args.
 
5879
set dummy lipo; ac_word=$2
 
5880
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5881
$as_echo_n "checking for $ac_word... " >&6; }
 
5882
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
5883
  $as_echo_n "(cached) " >&6
 
5884
else
 
5885
  if test -n "$ac_ct_LIPO"; then
 
5886
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
5887
else
 
5888
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5889
for as_dir in $PATH
 
5890
do
 
5891
  IFS=$as_save_IFS
 
5892
  test -z "$as_dir" && as_dir=.
 
5893
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5894
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5895
    ac_cv_prog_ac_ct_LIPO="lipo"
 
5896
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5897
    break 2
 
5898
  fi
 
5899
done
 
5900
done
 
5901
IFS=$as_save_IFS
 
5902
 
 
5903
fi
 
5904
fi
 
5905
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
5906
if test -n "$ac_ct_LIPO"; then
 
5907
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
5908
$as_echo "$ac_ct_LIPO" >&6; }
 
5909
else
 
5910
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5911
$as_echo "no" >&6; }
 
5912
fi
 
5913
 
 
5914
  if test "x$ac_ct_LIPO" = x; then
 
5915
    LIPO=":"
 
5916
  else
 
5917
    case $cross_compiling:$ac_tool_warned in
 
5918
yes:)
 
5919
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5920
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5921
ac_tool_warned=yes ;;
 
5922
esac
 
5923
    LIPO=$ac_ct_LIPO
 
5924
  fi
 
5925
else
 
5926
  LIPO="$ac_cv_prog_LIPO"
 
5927
fi
 
5928
 
 
5929
    if test -n "$ac_tool_prefix"; then
 
5930
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
5931
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
5932
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5933
$as_echo_n "checking for $ac_word... " >&6; }
 
5934
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
5935
  $as_echo_n "(cached) " >&6
 
5936
else
 
5937
  if test -n "$OTOOL"; then
 
5938
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
5939
else
 
5940
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5941
for as_dir in $PATH
 
5942
do
 
5943
  IFS=$as_save_IFS
 
5944
  test -z "$as_dir" && as_dir=.
 
5945
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5946
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5947
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
5948
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5949
    break 2
 
5950
  fi
 
5951
done
 
5952
done
 
5953
IFS=$as_save_IFS
 
5954
 
 
5955
fi
 
5956
fi
 
5957
OTOOL=$ac_cv_prog_OTOOL
 
5958
if test -n "$OTOOL"; then
 
5959
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
5960
$as_echo "$OTOOL" >&6; }
 
5961
else
 
5962
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5963
$as_echo "no" >&6; }
 
5964
fi
 
5965
 
 
5966
 
 
5967
fi
 
5968
if test -z "$ac_cv_prog_OTOOL"; then
 
5969
  ac_ct_OTOOL=$OTOOL
 
5970
  # Extract the first word of "otool", so it can be a program name with args.
 
5971
set dummy otool; ac_word=$2
 
5972
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5973
$as_echo_n "checking for $ac_word... " >&6; }
 
5974
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
5975
  $as_echo_n "(cached) " >&6
 
5976
else
 
5977
  if test -n "$ac_ct_OTOOL"; then
 
5978
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
5979
else
 
5980
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5981
for as_dir in $PATH
 
5982
do
 
5983
  IFS=$as_save_IFS
 
5984
  test -z "$as_dir" && as_dir=.
 
5985
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5986
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5987
    ac_cv_prog_ac_ct_OTOOL="otool"
 
5988
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5989
    break 2
 
5990
  fi
 
5991
done
 
5992
done
 
5993
IFS=$as_save_IFS
 
5994
 
 
5995
fi
 
5996
fi
 
5997
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
5998
if test -n "$ac_ct_OTOOL"; then
 
5999
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
6000
$as_echo "$ac_ct_OTOOL" >&6; }
 
6001
else
 
6002
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6003
$as_echo "no" >&6; }
 
6004
fi
 
6005
 
 
6006
  if test "x$ac_ct_OTOOL" = x; then
 
6007
    OTOOL=":"
 
6008
  else
 
6009
    case $cross_compiling:$ac_tool_warned in
 
6010
yes:)
 
6011
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6012
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6013
ac_tool_warned=yes ;;
 
6014
esac
 
6015
    OTOOL=$ac_ct_OTOOL
 
6016
  fi
 
6017
else
 
6018
  OTOOL="$ac_cv_prog_OTOOL"
 
6019
fi
 
6020
 
 
6021
    if test -n "$ac_tool_prefix"; then
 
6022
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
6023
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
6024
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6025
$as_echo_n "checking for $ac_word... " >&6; }
 
6026
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
6027
  $as_echo_n "(cached) " >&6
 
6028
else
 
6029
  if test -n "$OTOOL64"; then
 
6030
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
6031
else
 
6032
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6033
for as_dir in $PATH
 
6034
do
 
6035
  IFS=$as_save_IFS
 
6036
  test -z "$as_dir" && as_dir=.
 
6037
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6038
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6039
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
6040
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6041
    break 2
 
6042
  fi
 
6043
done
 
6044
done
 
6045
IFS=$as_save_IFS
 
6046
 
 
6047
fi
 
6048
fi
 
6049
OTOOL64=$ac_cv_prog_OTOOL64
 
6050
if test -n "$OTOOL64"; then
 
6051
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
6052
$as_echo "$OTOOL64" >&6; }
 
6053
else
 
6054
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6055
$as_echo "no" >&6; }
 
6056
fi
 
6057
 
 
6058
 
 
6059
fi
 
6060
if test -z "$ac_cv_prog_OTOOL64"; then
 
6061
  ac_ct_OTOOL64=$OTOOL64
 
6062
  # Extract the first word of "otool64", so it can be a program name with args.
 
6063
set dummy otool64; ac_word=$2
 
6064
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6065
$as_echo_n "checking for $ac_word... " >&6; }
 
6066
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
6067
  $as_echo_n "(cached) " >&6
 
6068
else
 
6069
  if test -n "$ac_ct_OTOOL64"; then
 
6070
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
6071
else
 
6072
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6073
for as_dir in $PATH
 
6074
do
 
6075
  IFS=$as_save_IFS
 
6076
  test -z "$as_dir" && as_dir=.
 
6077
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6078
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6079
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
6080
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6081
    break 2
 
6082
  fi
 
6083
done
 
6084
done
 
6085
IFS=$as_save_IFS
 
6086
 
 
6087
fi
 
6088
fi
 
6089
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
6090
if test -n "$ac_ct_OTOOL64"; then
 
6091
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
6092
$as_echo "$ac_ct_OTOOL64" >&6; }
 
6093
else
 
6094
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6095
$as_echo "no" >&6; }
 
6096
fi
 
6097
 
 
6098
  if test "x$ac_ct_OTOOL64" = x; then
 
6099
    OTOOL64=":"
 
6100
  else
 
6101
    case $cross_compiling:$ac_tool_warned in
 
6102
yes:)
 
6103
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6104
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6105
ac_tool_warned=yes ;;
 
6106
esac
 
6107
    OTOOL64=$ac_ct_OTOOL64
 
6108
  fi
 
6109
else
 
6110
  OTOOL64="$ac_cv_prog_OTOOL64"
 
6111
fi
 
6112
 
 
6113
 
 
6114
 
 
6115
 
 
6116
 
 
6117
 
 
6118
 
 
6119
 
 
6120
 
 
6121
 
 
6122
 
 
6123
 
 
6124
 
 
6125
 
 
6126
 
 
6127
 
 
6128
 
 
6129
 
 
6130
 
 
6131
 
 
6132
 
 
6133
 
 
6134
 
 
6135
 
 
6136
 
 
6137
 
 
6138
 
 
6139
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
6140
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
6141
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
6142
  $as_echo_n "(cached) " >&6
 
6143
else
 
6144
  lt_cv_apple_cc_single_mod=no
 
6145
      if test -z "${LT_MULTI_MODULE}"; then
 
6146
        # By default we will add the -single_module flag. You can override
 
6147
        # by either setting the environment variable LT_MULTI_MODULE
 
6148
        # non-empty at configure time, or by adding -multi_module to the
 
6149
        # link flags.
 
6150
        rm -rf libconftest.dylib*
 
6151
        echo "int foo(void){return 1;}" > conftest.c
 
6152
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6153
-dynamiclib -Wl,-single_module conftest.c" >&5
 
6154
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6155
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
6156
        _lt_result=$?
 
6157
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
6158
          lt_cv_apple_cc_single_mod=yes
 
6159
        else
 
6160
          cat conftest.err >&5
 
6161
        fi
 
6162
        rm -rf libconftest.dylib*
 
6163
        rm -f conftest.*
 
6164
      fi
 
6165
fi
 
6166
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
6167
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
6168
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
6169
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
6170
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
6171
  $as_echo_n "(cached) " >&6
 
6172
else
 
6173
  lt_cv_ld_exported_symbols_list=no
 
6174
      save_LDFLAGS=$LDFLAGS
 
6175
      echo "_main" > conftest.sym
 
6176
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
6177
      cat >conftest.$ac_ext <<_ACEOF
 
6178
/* confdefs.h.  */
 
6179
_ACEOF
 
6180
cat confdefs.h >>conftest.$ac_ext
 
6181
cat >>conftest.$ac_ext <<_ACEOF
 
6182
/* end confdefs.h.  */
 
6183
 
 
6184
int
 
6185
main ()
 
6186
{
 
6187
 
 
6188
  ;
 
6189
  return 0;
 
6190
}
 
6191
_ACEOF
 
6192
rm -f conftest.$ac_objext conftest$ac_exeext
 
6193
if { (ac_try="$ac_link"
 
6194
case "(($ac_try" in
 
6195
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6196
  *) ac_try_echo=$ac_try;;
 
6197
esac
 
6198
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6199
$as_echo "$ac_try_echo") >&5
 
6200
  (eval "$ac_link") 2>conftest.er1
 
6201
  ac_status=$?
 
6202
  grep -v '^ *+' conftest.er1 >conftest.err
 
6203
  rm -f conftest.er1
 
6204
  cat conftest.err >&5
 
6205
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6206
  (exit $ac_status); } && {
 
6207
         test -z "$ac_c_werror_flag" ||
 
6208
         test ! -s conftest.err
 
6209
       } && test -s conftest$ac_exeext && {
 
6210
         test "$cross_compiling" = yes ||
 
6211
         $as_test_x conftest$ac_exeext
 
6212
       }; then
 
6213
  lt_cv_ld_exported_symbols_list=yes
 
6214
else
 
6215
  $as_echo "$as_me: failed program was:" >&5
 
6216
sed 's/^/| /' conftest.$ac_ext >&5
 
6217
 
 
6218
        lt_cv_ld_exported_symbols_list=no
 
6219
fi
 
6220
 
 
6221
rm -rf conftest.dSYM
 
6222
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6223
      conftest$ac_exeext conftest.$ac_ext
 
6224
        LDFLAGS="$save_LDFLAGS"
 
6225
 
 
6226
fi
 
6227
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
6228
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
6229
    case $host_os in
 
6230
    rhapsody* | darwin1.[012])
 
6231
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
6232
    darwin1.*)
 
6233
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6234
    darwin*) # darwin 5.x on
 
6235
      # if running on 10.5 or later, the deployment target defaults
 
6236
      # to the OS version, if on x86, and 10.4, the deployment
 
6237
      # target defaults to 10.4. Don't you love it?
 
6238
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
6239
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
6240
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6241
        10.[012]*)
 
6242
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6243
        10.*)
 
6244
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6245
      esac
 
6246
    ;;
 
6247
  esac
 
6248
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
6249
      _lt_dar_single_mod='$single_module'
 
6250
    fi
 
6251
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
6252
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
6253
    else
 
6254
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
6255
    fi
 
6256
    if test "$DSYMUTIL" != ":"; then
 
6257
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
6258
    else
 
6259
      _lt_dsymutil=
 
6260
    fi
 
6261
    ;;
 
6262
  esac
 
6263
 
 
6264
ac_ext=c
 
6265
ac_cpp='$CPP $CPPFLAGS'
 
6266
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6267
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6268
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6269
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
6270
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
6271
# On Suns, sometimes $CPP names a directory.
 
6272
if test -n "$CPP" && test -d "$CPP"; then
 
6273
  CPP=
 
6274
fi
 
6275
if test -z "$CPP"; then
 
6276
  if test "${ac_cv_prog_CPP+set}" = set; then
 
6277
  $as_echo_n "(cached) " >&6
 
6278
else
 
6279
      # Double quotes because CPP needs to be expanded
 
6280
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
6281
    do
 
6282
      ac_preproc_ok=false
 
6283
for ac_c_preproc_warn_flag in '' yes
 
6284
do
 
6285
  # Use a header file that comes with gcc, so configuring glibc
 
6286
  # with a fresh cross-compiler works.
 
6287
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6288
  # <limits.h> exists even on freestanding compilers.
 
6289
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6290
  # not just through cpp. "Syntax error" is here to catch this case.
 
6291
  cat >conftest.$ac_ext <<_ACEOF
 
6292
/* confdefs.h.  */
 
6293
_ACEOF
 
6294
cat confdefs.h >>conftest.$ac_ext
 
6295
cat >>conftest.$ac_ext <<_ACEOF
 
6296
/* end confdefs.h.  */
 
6297
#ifdef __STDC__
 
6298
# include <limits.h>
 
6299
#else
 
6300
# include <assert.h>
 
6301
#endif
 
6302
                     Syntax error
 
6303
_ACEOF
 
6304
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6305
case "(($ac_try" in
 
6306
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6307
  *) ac_try_echo=$ac_try;;
 
6308
esac
 
6309
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6310
$as_echo "$ac_try_echo") >&5
 
6311
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6312
  ac_status=$?
 
6313
  grep -v '^ *+' conftest.er1 >conftest.err
 
6314
  rm -f conftest.er1
 
6315
  cat conftest.err >&5
 
6316
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6317
  (exit $ac_status); } >/dev/null && {
 
6318
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6319
         test ! -s conftest.err
 
6320
       }; then
 
6321
  :
 
6322
else
 
6323
  $as_echo "$as_me: failed program was:" >&5
 
6324
sed 's/^/| /' conftest.$ac_ext >&5
 
6325
 
 
6326
  # Broken: fails on valid input.
 
6327
continue
 
6328
fi
 
6329
 
 
6330
rm -f conftest.err conftest.$ac_ext
 
6331
 
 
6332
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6333
  # can be detected and how.
 
6334
  cat >conftest.$ac_ext <<_ACEOF
 
6335
/* confdefs.h.  */
 
6336
_ACEOF
 
6337
cat confdefs.h >>conftest.$ac_ext
 
6338
cat >>conftest.$ac_ext <<_ACEOF
 
6339
/* end confdefs.h.  */
 
6340
#include <ac_nonexistent.h>
 
6341
_ACEOF
 
6342
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6343
case "(($ac_try" in
 
6344
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6345
  *) ac_try_echo=$ac_try;;
 
6346
esac
 
6347
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6348
$as_echo "$ac_try_echo") >&5
 
6349
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6350
  ac_status=$?
 
6351
  grep -v '^ *+' conftest.er1 >conftest.err
 
6352
  rm -f conftest.er1
 
6353
  cat conftest.err >&5
 
6354
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6355
  (exit $ac_status); } >/dev/null && {
 
6356
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6357
         test ! -s conftest.err
 
6358
       }; then
 
6359
  # Broken: success on invalid input.
 
6360
continue
 
6361
else
 
6362
  $as_echo "$as_me: failed program was:" >&5
 
6363
sed 's/^/| /' conftest.$ac_ext >&5
 
6364
 
 
6365
  # Passes both tests.
 
6366
ac_preproc_ok=:
 
6367
break
 
6368
fi
 
6369
 
 
6370
rm -f conftest.err conftest.$ac_ext
 
6371
 
 
6372
done
 
6373
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6374
rm -f conftest.err conftest.$ac_ext
 
6375
if $ac_preproc_ok; then
 
6376
  break
 
6377
fi
 
6378
 
 
6379
    done
 
6380
    ac_cv_prog_CPP=$CPP
 
6381
 
 
6382
fi
 
6383
  CPP=$ac_cv_prog_CPP
 
6384
else
 
6385
  ac_cv_prog_CPP=$CPP
 
6386
fi
 
6387
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
6388
$as_echo "$CPP" >&6; }
 
6389
ac_preproc_ok=false
 
6390
for ac_c_preproc_warn_flag in '' yes
 
6391
do
 
6392
  # Use a header file that comes with gcc, so configuring glibc
 
6393
  # with a fresh cross-compiler works.
 
6394
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6395
  # <limits.h> exists even on freestanding compilers.
 
6396
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6397
  # not just through cpp. "Syntax error" is here to catch this case.
 
6398
  cat >conftest.$ac_ext <<_ACEOF
 
6399
/* confdefs.h.  */
 
6400
_ACEOF
 
6401
cat confdefs.h >>conftest.$ac_ext
 
6402
cat >>conftest.$ac_ext <<_ACEOF
 
6403
/* end confdefs.h.  */
 
6404
#ifdef __STDC__
 
6405
# include <limits.h>
 
6406
#else
 
6407
# include <assert.h>
 
6408
#endif
 
6409
                     Syntax error
 
6410
_ACEOF
 
6411
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6412
case "(($ac_try" in
 
6413
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6414
  *) ac_try_echo=$ac_try;;
 
6415
esac
 
6416
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6417
$as_echo "$ac_try_echo") >&5
 
6418
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6419
  ac_status=$?
 
6420
  grep -v '^ *+' conftest.er1 >conftest.err
 
6421
  rm -f conftest.er1
 
6422
  cat conftest.err >&5
 
6423
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6424
  (exit $ac_status); } >/dev/null && {
 
6425
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6426
         test ! -s conftest.err
 
6427
       }; then
 
6428
  :
 
6429
else
 
6430
  $as_echo "$as_me: failed program was:" >&5
 
6431
sed 's/^/| /' conftest.$ac_ext >&5
 
6432
 
 
6433
  # Broken: fails on valid input.
 
6434
continue
 
6435
fi
 
6436
 
 
6437
rm -f conftest.err conftest.$ac_ext
 
6438
 
 
6439
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6440
  # can be detected and how.
 
6441
  cat >conftest.$ac_ext <<_ACEOF
 
6442
/* confdefs.h.  */
 
6443
_ACEOF
 
6444
cat confdefs.h >>conftest.$ac_ext
 
6445
cat >>conftest.$ac_ext <<_ACEOF
 
6446
/* end confdefs.h.  */
 
6447
#include <ac_nonexistent.h>
 
6448
_ACEOF
 
6449
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6450
case "(($ac_try" in
 
6451
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6452
  *) ac_try_echo=$ac_try;;
 
6453
esac
 
6454
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6455
$as_echo "$ac_try_echo") >&5
 
6456
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6457
  ac_status=$?
 
6458
  grep -v '^ *+' conftest.er1 >conftest.err
 
6459
  rm -f conftest.er1
 
6460
  cat conftest.err >&5
 
6461
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6462
  (exit $ac_status); } >/dev/null && {
 
6463
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6464
         test ! -s conftest.err
 
6465
       }; then
 
6466
  # Broken: success on invalid input.
 
6467
continue
 
6468
else
 
6469
  $as_echo "$as_me: failed program was:" >&5
 
6470
sed 's/^/| /' conftest.$ac_ext >&5
 
6471
 
 
6472
  # Passes both tests.
 
6473
ac_preproc_ok=:
 
6474
break
 
6475
fi
 
6476
 
 
6477
rm -f conftest.err conftest.$ac_ext
 
6478
 
 
6479
done
 
6480
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6481
rm -f conftest.err conftest.$ac_ext
 
6482
if $ac_preproc_ok; then
 
6483
  :
 
6484
else
 
6485
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
6486
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
6487
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
6488
See \`config.log' for more details." >&5
 
6489
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
6490
See \`config.log' for more details." >&2;}
 
6491
   { (exit 1); exit 1; }; }; }
 
6492
fi
 
6493
 
 
6494
ac_ext=c
 
6495
ac_cpp='$CPP $CPPFLAGS'
 
6496
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6497
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6498
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6499
 
 
6500
 
 
6501
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
6502
$as_echo_n "checking for ANSI C header files... " >&6; }
 
6503
if test "${ac_cv_header_stdc+set}" = set; then
 
6504
  $as_echo_n "(cached) " >&6
 
6505
else
 
6506
  cat >conftest.$ac_ext <<_ACEOF
 
6507
/* confdefs.h.  */
 
6508
_ACEOF
 
6509
cat confdefs.h >>conftest.$ac_ext
 
6510
cat >>conftest.$ac_ext <<_ACEOF
 
6511
/* end confdefs.h.  */
 
6512
#include <stdlib.h>
 
6513
#include <stdarg.h>
 
6514
#include <string.h>
 
6515
#include <float.h>
 
6516
 
 
6517
int
 
6518
main ()
 
6519
{
 
6520
 
 
6521
  ;
 
6522
  return 0;
 
6523
}
 
6524
_ACEOF
 
6525
rm -f conftest.$ac_objext
 
6526
if { (ac_try="$ac_compile"
 
6527
case "(($ac_try" in
 
6528
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6529
  *) ac_try_echo=$ac_try;;
 
6530
esac
 
6531
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6532
$as_echo "$ac_try_echo") >&5
 
6533
  (eval "$ac_compile") 2>conftest.er1
 
6534
  ac_status=$?
 
6535
  grep -v '^ *+' conftest.er1 >conftest.err
 
6536
  rm -f conftest.er1
 
6537
  cat conftest.err >&5
 
6538
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6539
  (exit $ac_status); } && {
 
6540
         test -z "$ac_c_werror_flag" ||
 
6541
         test ! -s conftest.err
 
6542
       } && test -s conftest.$ac_objext; then
 
6543
  ac_cv_header_stdc=yes
 
6544
else
 
6545
  $as_echo "$as_me: failed program was:" >&5
 
6546
sed 's/^/| /' conftest.$ac_ext >&5
 
6547
 
 
6548
        ac_cv_header_stdc=no
 
6549
fi
 
6550
 
 
6551
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6552
 
 
6553
if test $ac_cv_header_stdc = yes; then
 
6554
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
6555
  cat >conftest.$ac_ext <<_ACEOF
 
6556
/* confdefs.h.  */
 
6557
_ACEOF
 
6558
cat confdefs.h >>conftest.$ac_ext
 
6559
cat >>conftest.$ac_ext <<_ACEOF
 
6560
/* end confdefs.h.  */
 
6561
#include <string.h>
 
6562
 
 
6563
_ACEOF
 
6564
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
6565
  $EGREP "memchr" >/dev/null 2>&1; then
 
6566
  :
 
6567
else
 
6568
  ac_cv_header_stdc=no
 
6569
fi
 
6570
rm -f conftest*
 
6571
 
 
6572
fi
 
6573
 
 
6574
if test $ac_cv_header_stdc = yes; then
 
6575
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
6576
  cat >conftest.$ac_ext <<_ACEOF
 
6577
/* confdefs.h.  */
 
6578
_ACEOF
 
6579
cat confdefs.h >>conftest.$ac_ext
 
6580
cat >>conftest.$ac_ext <<_ACEOF
 
6581
/* end confdefs.h.  */
 
6582
#include <stdlib.h>
 
6583
 
 
6584
_ACEOF
 
6585
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
6586
  $EGREP "free" >/dev/null 2>&1; then
 
6587
  :
 
6588
else
 
6589
  ac_cv_header_stdc=no
 
6590
fi
 
6591
rm -f conftest*
 
6592
 
 
6593
fi
 
6594
 
 
6595
if test $ac_cv_header_stdc = yes; then
 
6596
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
6597
  if test "$cross_compiling" = yes; then
 
6598
  :
 
6599
else
 
6600
  cat >conftest.$ac_ext <<_ACEOF
 
6601
/* confdefs.h.  */
 
6602
_ACEOF
 
6603
cat confdefs.h >>conftest.$ac_ext
 
6604
cat >>conftest.$ac_ext <<_ACEOF
 
6605
/* end confdefs.h.  */
 
6606
#include <ctype.h>
 
6607
#include <stdlib.h>
 
6608
#if ((' ' & 0x0FF) == 0x020)
 
6609
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
6610
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
6611
#else
 
6612
# define ISLOWER(c) \
 
6613
                   (('a' <= (c) && (c) <= 'i') \
 
6614
                     || ('j' <= (c) && (c) <= 'r') \
 
6615
                     || ('s' <= (c) && (c) <= 'z'))
 
6616
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
6617
#endif
 
6618
 
 
6619
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
6620
int
 
6621
main ()
 
6622
{
 
6623
  int i;
 
6624
  for (i = 0; i < 256; i++)
 
6625
    if (XOR (islower (i), ISLOWER (i))
 
6626
        || toupper (i) != TOUPPER (i))
 
6627
      return 2;
 
6628
  return 0;
 
6629
}
 
6630
_ACEOF
 
6631
rm -f conftest$ac_exeext
 
6632
if { (ac_try="$ac_link"
 
6633
case "(($ac_try" in
 
6634
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6635
  *) ac_try_echo=$ac_try;;
 
6636
esac
 
6637
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6638
$as_echo "$ac_try_echo") >&5
 
6639
  (eval "$ac_link") 2>&5
 
6640
  ac_status=$?
 
6641
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6642
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
6643
  { (case "(($ac_try" in
 
6644
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6645
  *) ac_try_echo=$ac_try;;
 
6646
esac
 
6647
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6648
$as_echo "$ac_try_echo") >&5
 
6649
  (eval "$ac_try") 2>&5
 
6650
  ac_status=$?
 
6651
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6652
  (exit $ac_status); }; }; then
 
6653
  :
 
6654
else
 
6655
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
6656
$as_echo "$as_me: failed program was:" >&5
 
6657
sed 's/^/| /' conftest.$ac_ext >&5
 
6658
 
 
6659
( exit $ac_status )
 
6660
ac_cv_header_stdc=no
 
6661
fi
 
6662
rm -rf conftest.dSYM
 
6663
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
6664
fi
 
6665
 
 
6666
 
 
6667
fi
 
6668
fi
 
6669
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
6670
$as_echo "$ac_cv_header_stdc" >&6; }
 
6671
if test $ac_cv_header_stdc = yes; then
 
6672
 
 
6673
cat >>confdefs.h <<\_ACEOF
 
6674
#define STDC_HEADERS 1
 
6675
_ACEOF
 
6676
 
 
6677
fi
 
6678
 
 
6679
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
6680
 
 
6681
 
 
6682
 
 
6683
 
 
6684
 
 
6685
 
 
6686
 
 
6687
 
 
6688
 
 
6689
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
6690
                  inttypes.h stdint.h unistd.h
 
6691
do
 
6692
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6693
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6694
$as_echo_n "checking for $ac_header... " >&6; }
 
6695
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6696
  $as_echo_n "(cached) " >&6
 
6697
else
 
6698
  cat >conftest.$ac_ext <<_ACEOF
 
6699
/* confdefs.h.  */
 
6700
_ACEOF
 
6701
cat confdefs.h >>conftest.$ac_ext
 
6702
cat >>conftest.$ac_ext <<_ACEOF
 
6703
/* end confdefs.h.  */
 
6704
$ac_includes_default
 
6705
 
 
6706
#include <$ac_header>
 
6707
_ACEOF
 
6708
rm -f conftest.$ac_objext
 
6709
if { (ac_try="$ac_compile"
 
6710
case "(($ac_try" in
 
6711
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6712
  *) ac_try_echo=$ac_try;;
 
6713
esac
 
6714
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6715
$as_echo "$ac_try_echo") >&5
 
6716
  (eval "$ac_compile") 2>conftest.er1
 
6717
  ac_status=$?
 
6718
  grep -v '^ *+' conftest.er1 >conftest.err
 
6719
  rm -f conftest.er1
 
6720
  cat conftest.err >&5
 
6721
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6722
  (exit $ac_status); } && {
 
6723
         test -z "$ac_c_werror_flag" ||
 
6724
         test ! -s conftest.err
 
6725
       } && test -s conftest.$ac_objext; then
 
6726
  eval "$as_ac_Header=yes"
 
6727
else
 
6728
  $as_echo "$as_me: failed program was:" >&5
 
6729
sed 's/^/| /' conftest.$ac_ext >&5
 
6730
 
 
6731
        eval "$as_ac_Header=no"
 
6732
fi
 
6733
 
 
6734
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6735
fi
 
6736
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
6737
                 $as_echo "$as_val"'`
 
6738
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6739
$as_echo "$ac_res" >&6; }
 
6740
as_val=`eval 'as_val=${'$as_ac_Header'}
 
6741
                 $as_echo "$as_val"'`
 
6742
   if test "x$as_val" = x""yes; then
 
6743
  cat >>confdefs.h <<_ACEOF
 
6744
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6745
_ACEOF
 
6746
 
 
6747
fi
 
6748
 
 
6749
done
 
6750
 
 
6751
 
 
6752
 
 
6753
for ac_header in dlfcn.h
 
6754
do
 
6755
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6756
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6757
$as_echo_n "checking for $ac_header... " >&6; }
 
6758
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6759
  $as_echo_n "(cached) " >&6
 
6760
else
 
6761
  cat >conftest.$ac_ext <<_ACEOF
 
6762
/* confdefs.h.  */
 
6763
_ACEOF
 
6764
cat confdefs.h >>conftest.$ac_ext
 
6765
cat >>conftest.$ac_ext <<_ACEOF
 
6766
/* end confdefs.h.  */
 
6767
$ac_includes_default
 
6768
 
 
6769
#include <$ac_header>
 
6770
_ACEOF
 
6771
rm -f conftest.$ac_objext
 
6772
if { (ac_try="$ac_compile"
 
6773
case "(($ac_try" in
 
6774
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6775
  *) ac_try_echo=$ac_try;;
 
6776
esac
 
6777
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6778
$as_echo "$ac_try_echo") >&5
 
6779
  (eval "$ac_compile") 2>conftest.er1
 
6780
  ac_status=$?
 
6781
  grep -v '^ *+' conftest.er1 >conftest.err
 
6782
  rm -f conftest.er1
 
6783
  cat conftest.err >&5
 
6784
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6785
  (exit $ac_status); } && {
 
6786
         test -z "$ac_c_werror_flag" ||
 
6787
         test ! -s conftest.err
 
6788
       } && test -s conftest.$ac_objext; then
 
6789
  eval "$as_ac_Header=yes"
 
6790
else
 
6791
  $as_echo "$as_me: failed program was:" >&5
 
6792
sed 's/^/| /' conftest.$ac_ext >&5
 
6793
 
 
6794
        eval "$as_ac_Header=no"
 
6795
fi
 
6796
 
 
6797
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6798
fi
 
6799
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
6800
                 $as_echo "$as_val"'`
 
6801
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6802
$as_echo "$ac_res" >&6; }
 
6803
as_val=`eval 'as_val=${'$as_ac_Header'}
 
6804
                 $as_echo "$as_val"'`
 
6805
   if test "x$as_val" = x""yes; then
 
6806
  cat >>confdefs.h <<_ACEOF
 
6807
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6808
_ACEOF
 
6809
 
 
6810
fi
 
6811
 
 
6812
done
 
6813
 
 
6814
 
 
6815
 
 
6816
# Set options
 
6817
 
 
6818
 
 
6819
 
 
6820
        enable_dlopen=no
 
6821
 
 
6822
 
 
6823
  enable_win32_dll=no
 
6824
 
 
6825
 
 
6826
            # Check whether --enable-shared was given.
 
6827
if test "${enable_shared+set}" = set; then
 
6828
  enableval=$enable_shared; p=${PACKAGE-default}
 
6829
    case $enableval in
 
6830
    yes) enable_shared=yes ;;
 
6831
    no) enable_shared=no ;;
 
6832
    *)
 
6833
      enable_shared=no
 
6834
      # Look at the argument we got.  We use all the common list separators.
 
6835
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
6836
      for pkg in $enableval; do
 
6837
        IFS="$lt_save_ifs"
 
6838
        if test "X$pkg" = "X$p"; then
 
6839
          enable_shared=yes
 
6840
        fi
 
6841
      done
 
6842
      IFS="$lt_save_ifs"
 
6843
      ;;
 
6844
    esac
 
6845
else
 
6846
  enable_shared=yes
 
6847
fi
 
6848
 
 
6849
 
 
6850
 
 
6851
 
 
6852
 
 
6853
 
 
6854
 
 
6855
 
 
6856
 
 
6857
  # Check whether --enable-static was given.
 
6858
if test "${enable_static+set}" = set; then
 
6859
  enableval=$enable_static; p=${PACKAGE-default}
 
6860
    case $enableval in
 
6861
    yes) enable_static=yes ;;
 
6862
    no) enable_static=no ;;
 
6863
    *)
 
6864
     enable_static=no
 
6865
      # Look at the argument we got.  We use all the common list separators.
 
6866
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
6867
      for pkg in $enableval; do
 
6868
        IFS="$lt_save_ifs"
 
6869
        if test "X$pkg" = "X$p"; then
 
6870
          enable_static=yes
 
6871
        fi
 
6872
      done
 
6873
      IFS="$lt_save_ifs"
 
6874
      ;;
 
6875
    esac
 
6876
else
 
6877
  enable_static=yes
 
6878
fi
 
6879
 
 
6880
 
 
6881
 
 
6882
 
 
6883
 
 
6884
 
 
6885
 
 
6886
 
 
6887
 
 
6888
 
 
6889
# Check whether --with-pic was given.
 
6890
if test "${with_pic+set}" = set; then
 
6891
  withval=$with_pic; pic_mode="$withval"
 
6892
else
 
6893
  pic_mode=default
 
6894
fi
 
6895
 
 
6896
 
 
6897
test -z "$pic_mode" && pic_mode=default
 
6898
 
 
6899
 
 
6900
 
 
6901
 
 
6902
 
 
6903
 
 
6904
 
 
6905
  # Check whether --enable-fast-install was given.
 
6906
if test "${enable_fast_install+set}" = set; then
 
6907
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
6908
    case $enableval in
 
6909
    yes) enable_fast_install=yes ;;
 
6910
    no) enable_fast_install=no ;;
 
6911
    *)
 
6912
      enable_fast_install=no
 
6913
      # Look at the argument we got.  We use all the common list separators.
 
6914
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
6915
      for pkg in $enableval; do
 
6916
        IFS="$lt_save_ifs"
 
6917
        if test "X$pkg" = "X$p"; then
 
6918
          enable_fast_install=yes
 
6919
        fi
 
6920
      done
 
6921
      IFS="$lt_save_ifs"
 
6922
      ;;
 
6923
    esac
 
6924
else
 
6925
  enable_fast_install=yes
 
6926
fi
 
6927
 
 
6928
 
 
6929
 
 
6930
 
 
6931
 
 
6932
 
 
6933
 
 
6934
 
 
6935
 
 
6936
 
 
6937
 
 
6938
# This can be used to rebuild libtool when needed
 
6939
LIBTOOL_DEPS="$ltmain"
 
6940
 
 
6941
# Always use our own libtool.
 
6942
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
6943
 
 
6944
 
 
6945
 
 
6946
 
 
6947
 
 
6948
 
 
6949
 
 
6950
 
 
6951
 
 
6952
 
 
6953
 
 
6954
 
 
6955
 
 
6956
 
 
6957
 
 
6958
 
 
6959
 
 
6960
 
 
6961
 
 
6962
 
 
6963
 
 
6964
 
 
6965
 
 
6966
 
 
6967
 
 
6968
test -z "$LN_S" && LN_S="ln -s"
 
6969
 
 
6970
 
 
6971
 
 
6972
 
 
6973
 
 
6974
 
 
6975
 
 
6976
 
 
6977
 
 
6978
 
 
6979
 
 
6980
 
 
6981
 
 
6982
 
 
6983
if test -n "${ZSH_VERSION+set}" ; then
 
6984
   setopt NO_GLOB_SUBST
 
6985
fi
 
6986
 
 
6987
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
6988
$as_echo_n "checking for objdir... " >&6; }
5532
6989
if test "${lt_cv_objdir+set}" = set; then
5533
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6990
  $as_echo_n "(cached) " >&6
5534
6991
else
5535
6992
  rm -f .libs 2>/dev/null
5536
6993
mkdir .libs 2>/dev/null
5542
6999
fi
5543
7000
rmdir .libs 2>/dev/null
5544
7001
fi
5545
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5546
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
7002
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7003
$as_echo "$lt_cv_objdir" >&6; }
5547
7004
objdir=$lt_cv_objdir
5548
7005
 
5549
7006
 
5550
7007
 
5551
7008
 
5552
7009
 
 
7010
cat >>confdefs.h <<_ACEOF
 
7011
#define LT_OBJDIR "$lt_cv_objdir/"
 
7012
_ACEOF
 
7013
 
 
7014
 
 
7015
 
 
7016
 
 
7017
 
 
7018
 
 
7019
 
 
7020
 
 
7021
 
 
7022
 
 
7023
 
 
7024
 
 
7025
 
 
7026
 
 
7027
 
 
7028
 
 
7029
 
5553
7030
case $host_os in
5554
7031
aix3*)
5555
7032
  # AIX sometimes has problems with the GCC collect2 program.  For some
5564
7041
 
5565
7042
# Sed substitution that helps us do robust quoting.  It backslashifies
5566
7043
# metacharacters that are still active within double-quoted strings.
5567
 
Xsed='sed -e 1s/^X//'
5568
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
 
7044
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5569
7045
 
5570
7046
# Same as above, but do not quote variable references.
5571
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
 
7047
double_quote_subst='s/\(["`\\]\)/\\\1/g'
5572
7048
 
5573
7049
# Sed substitution to delay expansion of an escaped shell variable in a
5574
7050
# double_quote_subst'ed string.
5575
7051
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5576
7052
 
 
7053
# Sed substitution to delay expansion of an escaped single quote.
 
7054
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
7055
 
5577
7056
# Sed substitution to avoid accidental globbing in evaled expressions
5578
7057
no_glob_subst='s/\*/\\\*/g'
5579
7058
 
5580
 
# Constants:
5581
 
rm="rm -f"
5582
 
 
5583
7059
# Global variables:
5584
 
default_ofile=libtool
 
7060
ofile=libtool
5585
7061
can_build_shared=yes
5586
7062
 
5587
7063
# All known linkers require a `.a' archive for static linking (except MSVC,
5588
7064
# which needs '.lib').
5589
7065
libext=a
5590
 
ltmain="$ac_aux_dir/ltmain.sh"
5591
 
ofile="$default_ofile"
 
7066
 
5592
7067
with_gnu_ld="$lt_cv_prog_gnu_ld"
5593
7068
 
5594
 
if test -n "$ac_tool_prefix"; then
5595
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5596
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
5597
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5598
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5599
 
if test "${ac_cv_prog_AR+set}" = set; then
5600
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5601
 
else
5602
 
  if test -n "$AR"; then
5603
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
5604
 
else
5605
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5606
 
for as_dir in $PATH
5607
 
do
5608
 
  IFS=$as_save_IFS
5609
 
  test -z "$as_dir" && as_dir=.
5610
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5611
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5612
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5613
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5614
 
    break 2
5615
 
  fi
5616
 
done
5617
 
done
5618
 
 
5619
 
fi
5620
 
fi
5621
 
AR=$ac_cv_prog_AR
5622
 
if test -n "$AR"; then
5623
 
  echo "$as_me:$LINENO: result: $AR" >&5
5624
 
echo "${ECHO_T}$AR" >&6
5625
 
else
5626
 
  echo "$as_me:$LINENO: result: no" >&5
5627
 
echo "${ECHO_T}no" >&6
5628
 
fi
5629
 
 
5630
 
fi
5631
 
if test -z "$ac_cv_prog_AR"; then
5632
 
  ac_ct_AR=$AR
5633
 
  # Extract the first word of "ar", so it can be a program name with args.
5634
 
set dummy ar; ac_word=$2
5635
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5636
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5637
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5638
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5639
 
else
5640
 
  if test -n "$ac_ct_AR"; then
5641
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5642
 
else
5643
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5644
 
for as_dir in $PATH
5645
 
do
5646
 
  IFS=$as_save_IFS
5647
 
  test -z "$as_dir" && as_dir=.
5648
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5649
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5650
 
    ac_cv_prog_ac_ct_AR="ar"
5651
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5652
 
    break 2
5653
 
  fi
5654
 
done
5655
 
done
5656
 
 
5657
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5658
 
fi
5659
 
fi
5660
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5661
 
if test -n "$ac_ct_AR"; then
5662
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5663
 
echo "${ECHO_T}$ac_ct_AR" >&6
5664
 
else
5665
 
  echo "$as_me:$LINENO: result: no" >&5
5666
 
echo "${ECHO_T}no" >&6
5667
 
fi
5668
 
 
5669
 
  AR=$ac_ct_AR
5670
 
else
5671
 
  AR="$ac_cv_prog_AR"
5672
 
fi
5673
 
 
5674
 
if test -n "$ac_tool_prefix"; then
5675
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5676
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5677
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5678
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5679
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
5680
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5681
 
else
5682
 
  if test -n "$RANLIB"; then
5683
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5684
 
else
5685
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5686
 
for as_dir in $PATH
5687
 
do
5688
 
  IFS=$as_save_IFS
5689
 
  test -z "$as_dir" && as_dir=.
5690
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5691
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5692
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5693
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5694
 
    break 2
5695
 
  fi
5696
 
done
5697
 
done
5698
 
 
5699
 
fi
5700
 
fi
5701
 
RANLIB=$ac_cv_prog_RANLIB
5702
 
if test -n "$RANLIB"; then
5703
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
5704
 
echo "${ECHO_T}$RANLIB" >&6
5705
 
else
5706
 
  echo "$as_me:$LINENO: result: no" >&5
5707
 
echo "${ECHO_T}no" >&6
5708
 
fi
5709
 
 
5710
 
fi
5711
 
if test -z "$ac_cv_prog_RANLIB"; then
5712
 
  ac_ct_RANLIB=$RANLIB
5713
 
  # Extract the first word of "ranlib", so it can be a program name with args.
5714
 
set dummy ranlib; ac_word=$2
5715
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5716
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5717
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5718
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5719
 
else
5720
 
  if test -n "$ac_ct_RANLIB"; then
5721
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5722
 
else
5723
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724
 
for as_dir in $PATH
5725
 
do
5726
 
  IFS=$as_save_IFS
5727
 
  test -z "$as_dir" && as_dir=.
5728
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5729
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5730
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5731
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5732
 
    break 2
5733
 
  fi
5734
 
done
5735
 
done
5736
 
 
5737
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5738
 
fi
5739
 
fi
5740
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5741
 
if test -n "$ac_ct_RANLIB"; then
5742
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5743
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
5744
 
else
5745
 
  echo "$as_me:$LINENO: result: no" >&5
5746
 
echo "${ECHO_T}no" >&6
5747
 
fi
5748
 
 
5749
 
  RANLIB=$ac_ct_RANLIB
5750
 
else
5751
 
  RANLIB="$ac_cv_prog_RANLIB"
5752
 
fi
5753
 
 
5754
 
if test -n "$ac_tool_prefix"; then
5755
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5756
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
5757
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5758
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5759
 
if test "${ac_cv_prog_STRIP+set}" = set; then
5760
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5761
 
else
5762
 
  if test -n "$STRIP"; then
5763
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5764
 
else
5765
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5766
 
for as_dir in $PATH
5767
 
do
5768
 
  IFS=$as_save_IFS
5769
 
  test -z "$as_dir" && as_dir=.
5770
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5771
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5772
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5773
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5774
 
    break 2
5775
 
  fi
5776
 
done
5777
 
done
5778
 
 
5779
 
fi
5780
 
fi
5781
 
STRIP=$ac_cv_prog_STRIP
5782
 
if test -n "$STRIP"; then
5783
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
5784
 
echo "${ECHO_T}$STRIP" >&6
5785
 
else
5786
 
  echo "$as_me:$LINENO: result: no" >&5
5787
 
echo "${ECHO_T}no" >&6
5788
 
fi
5789
 
 
5790
 
fi
5791
 
if test -z "$ac_cv_prog_STRIP"; then
5792
 
  ac_ct_STRIP=$STRIP
5793
 
  # Extract the first word of "strip", so it can be a program name with args.
5794
 
set dummy strip; ac_word=$2
5795
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5796
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5797
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5798
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5799
 
else
5800
 
  if test -n "$ac_ct_STRIP"; then
5801
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5802
 
else
5803
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5804
 
for as_dir in $PATH
5805
 
do
5806
 
  IFS=$as_save_IFS
5807
 
  test -z "$as_dir" && as_dir=.
5808
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5809
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5810
 
    ac_cv_prog_ac_ct_STRIP="strip"
5811
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5812
 
    break 2
5813
 
  fi
5814
 
done
5815
 
done
5816
 
 
5817
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5818
 
fi
5819
 
fi
5820
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5821
 
if test -n "$ac_ct_STRIP"; then
5822
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5823
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
5824
 
else
5825
 
  echo "$as_me:$LINENO: result: no" >&5
5826
 
echo "${ECHO_T}no" >&6
5827
 
fi
5828
 
 
5829
 
  STRIP=$ac_ct_STRIP
5830
 
else
5831
 
  STRIP="$ac_cv_prog_STRIP"
5832
 
fi
5833
 
 
5834
 
 
5835
7069
old_CC="$CC"
5836
7070
old_CFLAGS="$CFLAGS"
5837
7071
 
5838
7072
# Set sane defaults for various variables
5839
 
test -z "$AR" && AR=ar
5840
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
5841
 
test -z "$AS" && AS=as
5842
7073
test -z "$CC" && CC=cc
5843
7074
test -z "$LTCC" && LTCC=$CC
5844
7075
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
5845
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
5846
7076
test -z "$LD" && LD=ld
5847
 
test -z "$LN_S" && LN_S="ln -s"
5848
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
5849
 
test -z "$NM" && NM=nm
5850
 
test -z "$SED" && SED=sed
5851
 
test -z "$OBJDUMP" && OBJDUMP=objdump
5852
 
test -z "$RANLIB" && RANLIB=:
5853
 
test -z "$STRIP" && STRIP=:
5854
7077
test -z "$ac_objext" && ac_objext=o
5855
7078
 
5856
 
# Determine commands to create old-style static archives.
5857
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5858
 
old_postinstall_cmds='chmod 644 $oldlib'
5859
 
old_postuninstall_cmds=
5860
 
 
5861
 
if test -n "$RANLIB"; then
5862
 
  case $host_os in
5863
 
  openbsd*)
5864
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5865
 
    ;;
5866
 
  *)
5867
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5868
 
    ;;
5869
 
  esac
5870
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5871
 
fi
5872
 
 
5873
7079
for cc_temp in $compiler""; do
5874
7080
  case $cc_temp in
5875
7081
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
5878
7084
    *) break;;
5879
7085
  esac
5880
7086
done
5881
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7087
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
5882
7088
 
5883
7089
 
5884
7090
# Only perform the check for file, if the check method requires it
 
7091
test -z "$MAGIC_CMD" && MAGIC_CMD=file
5885
7092
case $deplibs_check_method in
5886
7093
file_magic*)
5887
7094
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5888
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5889
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
7095
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7096
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
5890
7097
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5891
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7098
  $as_echo_n "(cached) " >&6
5892
7099
else
5893
7100
  case $MAGIC_CMD in
5894
7101
[\\/*] |  ?:[\\/]*)
5912
7119
            $EGREP "$file_magic_regex" > /dev/null; then
5913
7120
            :
5914
7121
          else
5915
 
            cat <<EOF 1>&2
 
7122
            cat <<_LT_EOF 1>&2
5916
7123
 
5917
7124
*** Warning: the command libtool uses to detect shared libraries,
5918
7125
*** $file_magic_cmd, produces output that libtool cannot recognize.
5923
7130
*** may want to report the problem to your system manager and/or to
5924
7131
*** bug-libtool@gnu.org
5925
7132
 
5926
 
EOF
 
7133
_LT_EOF
5927
7134
          fi ;;
5928
7135
        esac
5929
7136
      fi
5938
7145
 
5939
7146
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5940
7147
if test -n "$MAGIC_CMD"; then
5941
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5942
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7148
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7149
$as_echo "$MAGIC_CMD" >&6; }
5943
7150
else
5944
 
  echo "$as_me:$LINENO: result: no" >&5
5945
 
echo "${ECHO_T}no" >&6
 
7151
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7152
$as_echo "no" >&6; }
5946
7153
fi
5947
7154
 
 
7155
 
 
7156
 
 
7157
 
 
7158
 
5948
7159
if test -z "$lt_cv_path_MAGIC_CMD"; then
5949
7160
  if test -n "$ac_tool_prefix"; then
5950
 
    echo "$as_me:$LINENO: checking for file" >&5
5951
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
7161
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
7162
$as_echo_n "checking for file... " >&6; }
5952
7163
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5953
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7164
  $as_echo_n "(cached) " >&6
5954
7165
else
5955
7166
  case $MAGIC_CMD in
5956
7167
[\\/*] |  ?:[\\/]*)
5974
7185
            $EGREP "$file_magic_regex" > /dev/null; then
5975
7186
            :
5976
7187
          else
5977
 
            cat <<EOF 1>&2
 
7188
            cat <<_LT_EOF 1>&2
5978
7189
 
5979
7190
*** Warning: the command libtool uses to detect shared libraries,
5980
7191
*** $file_magic_cmd, produces output that libtool cannot recognize.
5985
7196
*** may want to report the problem to your system manager and/or to
5986
7197
*** bug-libtool@gnu.org
5987
7198
 
5988
 
EOF
 
7199
_LT_EOF
5989
7200
          fi ;;
5990
7201
        esac
5991
7202
      fi
6000
7211
 
6001
7212
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6002
7213
if test -n "$MAGIC_CMD"; then
6003
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6004
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7214
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7215
$as_echo "$MAGIC_CMD" >&6; }
6005
7216
else
6006
 
  echo "$as_me:$LINENO: result: no" >&5
6007
 
echo "${ECHO_T}no" >&6
 
7217
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7218
$as_echo "no" >&6; }
6008
7219
fi
6009
7220
 
 
7221
 
6010
7222
  else
6011
7223
    MAGIC_CMD=:
6012
7224
  fi
6016
7228
  ;;
6017
7229
esac
6018
7230
 
6019
 
enable_dlopen=no
6020
 
enable_win32_dll=no
6021
 
 
6022
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6023
 
if test "${enable_libtool_lock+set}" = set; then
6024
 
  enableval="$enable_libtool_lock"
6025
 
 
6026
 
fi;
6027
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6028
 
 
6029
 
 
6030
 
# Check whether --with-pic or --without-pic was given.
6031
 
if test "${with_pic+set}" = set; then
6032
 
  withval="$with_pic"
6033
 
  pic_mode="$withval"
6034
 
else
6035
 
  pic_mode=default
6036
 
fi;
6037
 
test -z "$pic_mode" && pic_mode=default
6038
 
 
6039
7231
# Use C for the default configuration in the libtool script
6040
 
tagname=
 
7232
 
6041
7233
lt_save_CC="$CC"
6042
7234
ac_ext=c
6043
7235
ac_cpp='$CPP $CPPFLAGS'
6054
7246
objext=$objext
6055
7247
 
6056
7248
# Code to be used in simple compile tests
6057
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
7249
lt_simple_compile_test_code="int some_variable = 0;"
6058
7250
 
6059
7251
# Code to be used in simple link tests
6060
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
7252
lt_simple_link_test_code='int main(){return(0);}'
 
7253
 
 
7254
 
 
7255
 
 
7256
 
 
7257
 
6061
7258
 
6062
7259
 
6063
7260
# If no C compiler was specified, use CC.
6069
7266
# Allow CC to be a program name with arguments.
6070
7267
compiler=$CC
6071
7268
 
 
7269
# Save the default compiler, since it gets overwritten when the other
 
7270
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
7271
compiler_DEFAULT=$CC
6072
7272
 
6073
7273
# save warnings/boilerplate of simple test code
6074
7274
ac_outfile=conftest.$ac_objext
6075
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7275
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6076
7276
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6077
7277
_lt_compiler_boilerplate=`cat conftest.err`
6078
 
$rm conftest*
 
7278
$RM conftest*
6079
7279
 
6080
7280
ac_outfile=conftest.$ac_objext
6081
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
7281
echo "$lt_simple_link_test_code" >conftest.$ac_ext
6082
7282
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6083
7283
_lt_linker_boilerplate=`cat conftest.err`
6084
 
$rm conftest*
6085
 
 
6086
 
 
 
7284
$RM -r conftest*
 
7285
 
 
7286
 
 
7287
if test -n "$compiler"; then
6087
7288
 
6088
7289
lt_prog_compiler_no_builtin_flag=
6089
7290
 
6090
7291
if test "$GCC" = yes; then
6091
7292
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6092
7293
 
6093
 
 
6094
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6095
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
7294
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7295
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6096
7296
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6097
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7297
  $as_echo_n "(cached) " >&6
6098
7298
else
6099
7299
  lt_cv_prog_compiler_rtti_exceptions=no
6100
 
  ac_outfile=conftest.$ac_objext
6101
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7300
   ac_outfile=conftest.$ac_objext
 
7301
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6102
7302
   lt_compiler_flag="-fno-rtti -fno-exceptions"
6103
7303
   # Insert the option either (1) after the last *FLAGS variable, or
6104
7304
   # (2) before a word containing "conftest.", or (3) at the end.
6109
7309
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6110
7310
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6111
7311
   -e 's:$: $lt_compiler_flag:'`
6112
 
   (eval echo "\"\$as_me:6112: $lt_compile\"" >&5)
 
7312
   (eval echo "\"\$as_me:7312: $lt_compile\"" >&5)
6113
7313
   (eval "$lt_compile" 2>conftest.err)
6114
7314
   ac_status=$?
6115
7315
   cat conftest.err >&5
6116
 
   echo "$as_me:6116: \$? = $ac_status" >&5
 
7316
   echo "$as_me:7316: \$? = $ac_status" >&5
6117
7317
   if (exit $ac_status) && test -s "$ac_outfile"; then
6118
7318
     # The compiler can only warn and ignore the option if not recognized
6119
7319
     # So say no if there are warnings other than the usual output.
6120
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7320
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6121
7321
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6122
7322
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6123
7323
       lt_cv_prog_compiler_rtti_exceptions=yes
6124
7324
     fi
6125
7325
   fi
6126
 
   $rm conftest*
 
7326
   $RM conftest*
6127
7327
 
6128
7328
fi
6129
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6130
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
7329
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7330
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6131
7331
 
6132
7332
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6133
7333
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6137
7337
 
6138
7338
fi
6139
7339
 
6140
 
lt_prog_compiler_wl=
 
7340
 
 
7341
 
 
7342
 
 
7343
 
 
7344
 
 
7345
  lt_prog_compiler_wl=
6141
7346
lt_prog_compiler_pic=
6142
7347
lt_prog_compiler_static=
6143
7348
 
6144
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6145
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
7349
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7350
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6146
7351
 
6147
7352
  if test "$GCC" = yes; then
6148
7353
    lt_prog_compiler_wl='-Wl,'
6158
7363
      ;;
6159
7364
 
6160
7365
    amigaos*)
6161
 
      # FIXME: we need at least 68020 code to build shared libraries, but
6162
 
      # adding the `-m68020' flag to GCC prevents building anything better,
6163
 
      # like `-m68040'.
6164
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
7366
      case $host_cpu in
 
7367
      powerpc)
 
7368
            # see comment about AmigaOS4 .so support
 
7369
            lt_prog_compiler_pic='-fPIC'
 
7370
        ;;
 
7371
      m68k)
 
7372
            # FIXME: we need at least 68020 code to build shared libraries, but
 
7373
            # adding the `-m68020' flag to GCC prevents building anything better,
 
7374
            # like `-m68040'.
 
7375
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
7376
        ;;
 
7377
      esac
6165
7378
      ;;
6166
7379
 
6167
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
7380
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6168
7381
      # PIC is the default for these OSes.
6169
7382
      ;;
6170
7383
 
6171
 
    mingw* | pw32* | os2*)
 
7384
    mingw* | cygwin* | pw32* | os2* | cegcc*)
6172
7385
      # This hack is so that the source file can tell whether it is being
6173
7386
      # built for inclusion in a dll (and should export symbols for example).
 
7387
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
7388
      # (--disable-auto-import) libraries
6174
7389
      lt_prog_compiler_pic='-DDLL_EXPORT'
6175
7390
      ;;
6176
7391
 
6180
7395
      lt_prog_compiler_pic='-fno-common'
6181
7396
      ;;
6182
7397
 
6183
 
    interix3*)
 
7398
    hpux*)
 
7399
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
7400
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
7401
      # sets the default TLS model and affects inlining.
 
7402
      case $host_cpu in
 
7403
      hppa*64*)
 
7404
        # +Z the default
 
7405
        ;;
 
7406
      *)
 
7407
        lt_prog_compiler_pic='-fPIC'
 
7408
        ;;
 
7409
      esac
 
7410
      ;;
 
7411
 
 
7412
    interix[3-9]*)
6184
7413
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6185
7414
      # Instead, we relocate shared libraries at runtime.
6186
7415
      ;;
6192
7421
      enable_shared=no
6193
7422
      ;;
6194
7423
 
 
7424
    *nto* | *qnx*)
 
7425
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7426
      # it will coredump.
 
7427
      lt_prog_compiler_pic='-fPIC -shared'
 
7428
      ;;
 
7429
 
6195
7430
    sysv4*MP*)
6196
7431
      if test -d /usr/nec; then
6197
7432
        lt_prog_compiler_pic=-Kconform_pic
6198
7433
      fi
6199
7434
      ;;
6200
7435
 
6201
 
    hpux*)
6202
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6203
 
      # not for PA HP-UX.
6204
 
      case $host_cpu in
6205
 
      hppa*64*|ia64*)
6206
 
        # +Z the default
6207
 
        ;;
6208
 
      *)
6209
 
        lt_prog_compiler_pic='-fPIC'
6210
 
        ;;
6211
 
      esac
6212
 
      ;;
6213
 
 
6214
7436
    *)
6215
7437
      lt_prog_compiler_pic='-fPIC'
6216
7438
      ;;
6227
7449
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6228
7450
      fi
6229
7451
      ;;
6230
 
      darwin*)
6231
 
        # PIC is the default on this platform
6232
 
        # Common symbols not allowed in MH_DYLIB files
6233
 
       case $cc_basename in
6234
 
         xlc*)
6235
 
         lt_prog_compiler_pic='-qnocommon'
6236
 
         lt_prog_compiler_wl='-Wl,'
6237
 
         ;;
6238
 
       esac
6239
 
       ;;
6240
7452
 
6241
 
    mingw* | pw32* | os2*)
 
7453
    mingw* | cygwin* | pw32* | os2* | cegcc*)
6242
7454
      # This hack is so that the source file can tell whether it is being
6243
7455
      # built for inclusion in a dll (and should export symbols for example).
6244
7456
      lt_prog_compiler_pic='-DDLL_EXPORT'
6266
7478
      lt_prog_compiler_static='-non_shared'
6267
7479
      ;;
6268
7480
 
6269
 
    newsos6)
6270
 
      lt_prog_compiler_pic='-KPIC'
6271
 
      lt_prog_compiler_static='-Bstatic'
6272
 
      ;;
6273
 
 
6274
 
    linux*)
 
7481
    linux* | k*bsd*-gnu)
6275
7482
      case $cc_basename in
6276
 
      icc* | ecc*)
 
7483
      # old Intel for x86_64 which still supported -KPIC.
 
7484
      ecc*)
6277
7485
        lt_prog_compiler_wl='-Wl,'
6278
7486
        lt_prog_compiler_pic='-KPIC'
6279
7487
        lt_prog_compiler_static='-static'
6280
7488
        ;;
 
7489
      # icc used to be incompatible with GCC.
 
7490
      # ICC 10 doesn't accept -KPIC any more.
 
7491
      icc* | ifort*)
 
7492
        lt_prog_compiler_wl='-Wl,'
 
7493
        lt_prog_compiler_pic='-fPIC'
 
7494
        lt_prog_compiler_static='-static'
 
7495
        ;;
 
7496
      # Lahey Fortran 8.1.
 
7497
      lf95*)
 
7498
        lt_prog_compiler_wl='-Wl,'
 
7499
        lt_prog_compiler_pic='--shared'
 
7500
        lt_prog_compiler_static='--static'
 
7501
        ;;
6281
7502
      pgcc* | pgf77* | pgf90* | pgf95*)
6282
7503
        # Portland Group compilers (*not* the Pentium gcc compiler,
6283
7504
        # which looks to be a dead project)
6290
7511
        # All Alpha code is PIC.
6291
7512
        lt_prog_compiler_static='-non_shared'
6292
7513
        ;;
 
7514
      xl*)
 
7515
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
7516
        lt_prog_compiler_wl='-Wl,'
 
7517
        lt_prog_compiler_pic='-qpic'
 
7518
        lt_prog_compiler_static='-qstaticlink'
 
7519
        ;;
 
7520
      *)
 
7521
        case `$CC -V 2>&1 | sed 5q` in
 
7522
        *Sun\ C*)
 
7523
          # Sun C 5.9
 
7524
          lt_prog_compiler_pic='-KPIC'
 
7525
          lt_prog_compiler_static='-Bstatic'
 
7526
          lt_prog_compiler_wl='-Wl,'
 
7527
          ;;
 
7528
        *Sun\ F*)
 
7529
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
7530
          lt_prog_compiler_pic='-KPIC'
 
7531
          lt_prog_compiler_static='-Bstatic'
 
7532
          lt_prog_compiler_wl=''
 
7533
          ;;
 
7534
        esac
 
7535
        ;;
6293
7536
      esac
6294
7537
      ;;
6295
7538
 
 
7539
    newsos6)
 
7540
      lt_prog_compiler_pic='-KPIC'
 
7541
      lt_prog_compiler_static='-Bstatic'
 
7542
      ;;
 
7543
 
 
7544
    *nto* | *qnx*)
 
7545
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7546
      # it will coredump.
 
7547
      lt_prog_compiler_pic='-fPIC -shared'
 
7548
      ;;
 
7549
 
6296
7550
    osf3* | osf4* | osf5*)
6297
7551
      lt_prog_compiler_wl='-Wl,'
6298
7552
      # All OSF/1 code is PIC.
6299
7553
      lt_prog_compiler_static='-non_shared'
6300
7554
      ;;
6301
7555
 
 
7556
    rdos*)
 
7557
      lt_prog_compiler_static='-non_shared'
 
7558
      ;;
 
7559
 
6302
7560
    solaris*)
6303
7561
      lt_prog_compiler_pic='-KPIC'
6304
7562
      lt_prog_compiler_static='-Bstatic'
6351
7609
    esac
6352
7610
  fi
6353
7611
 
6354
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6355
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
7612
case $host_os in
 
7613
  # For platforms which do not support PIC, -DPIC is meaningless:
 
7614
  *djgpp*)
 
7615
    lt_prog_compiler_pic=
 
7616
    ;;
 
7617
  *)
 
7618
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
7619
    ;;
 
7620
esac
 
7621
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7622
$as_echo "$lt_prog_compiler_pic" >&6; }
 
7623
 
 
7624
 
 
7625
 
 
7626
 
 
7627
 
6356
7628
 
6357
7629
#
6358
7630
# Check to make sure the PIC flag actually works.
6359
7631
#
6360
7632
if test -n "$lt_prog_compiler_pic"; then
6361
 
 
6362
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6363
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6364
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
6365
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7633
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7634
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
7635
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
7636
  $as_echo_n "(cached) " >&6
6366
7637
else
6367
 
  lt_prog_compiler_pic_works=no
6368
 
  ac_outfile=conftest.$ac_objext
6369
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7638
  lt_cv_prog_compiler_pic_works=no
 
7639
   ac_outfile=conftest.$ac_objext
 
7640
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6370
7641
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6371
7642
   # Insert the option either (1) after the last *FLAGS variable, or
6372
7643
   # (2) before a word containing "conftest.", or (3) at the end.
6377
7648
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6378
7649
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6379
7650
   -e 's:$: $lt_compiler_flag:'`
6380
 
   (eval echo "\"\$as_me:6380: $lt_compile\"" >&5)
 
7651
   (eval echo "\"\$as_me:7651: $lt_compile\"" >&5)
6381
7652
   (eval "$lt_compile" 2>conftest.err)
6382
7653
   ac_status=$?
6383
7654
   cat conftest.err >&5
6384
 
   echo "$as_me:6384: \$? = $ac_status" >&5
 
7655
   echo "$as_me:7655: \$? = $ac_status" >&5
6385
7656
   if (exit $ac_status) && test -s "$ac_outfile"; then
6386
7657
     # The compiler can only warn and ignore the option if not recognized
6387
7658
     # So say no if there are warnings other than the usual output.
6388
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7659
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6389
7660
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6390
7661
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6391
 
       lt_prog_compiler_pic_works=yes
 
7662
       lt_cv_prog_compiler_pic_works=yes
6392
7663
     fi
6393
7664
   fi
6394
 
   $rm conftest*
 
7665
   $RM conftest*
6395
7666
 
6396
7667
fi
6397
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6398
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
7668
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
7669
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
6399
7670
 
6400
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
7671
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
6401
7672
    case $lt_prog_compiler_pic in
6402
7673
     "" | " "*) ;;
6403
7674
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6408
7679
fi
6409
7680
 
6410
7681
fi
6411
 
case $host_os in
6412
 
  # For platforms which do not support PIC, -DPIC is meaningless:
6413
 
  *djgpp*)
6414
 
    lt_prog_compiler_pic=
6415
 
    ;;
6416
 
  *)
6417
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6418
 
    ;;
6419
 
esac
 
7682
 
 
7683
 
 
7684
 
 
7685
 
 
7686
 
6420
7687
 
6421
7688
#
6422
7689
# Check to make sure the static flag actually works.
6423
7690
#
6424
7691
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6425
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6426
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6427
 
if test "${lt_prog_compiler_static_works+set}" = set; then
6428
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7692
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
7693
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
7694
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
7695
  $as_echo_n "(cached) " >&6
6429
7696
else
6430
 
  lt_prog_compiler_static_works=no
 
7697
  lt_cv_prog_compiler_static_works=no
6431
7698
   save_LDFLAGS="$LDFLAGS"
6432
7699
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6433
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
7700
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
6434
7701
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6435
7702
     # The linker can only warn and ignore the option if not recognized
6436
7703
     # So say no if there are warnings
6437
7704
     if test -s conftest.err; then
6438
7705
       # Append any errors to the config.log.
6439
7706
       cat conftest.err 1>&5
6440
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
7707
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
6441
7708
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6442
7709
       if diff conftest.exp conftest.er2 >/dev/null; then
6443
 
         lt_prog_compiler_static_works=yes
 
7710
         lt_cv_prog_compiler_static_works=yes
6444
7711
       fi
6445
7712
     else
6446
 
       lt_prog_compiler_static_works=yes
 
7713
       lt_cv_prog_compiler_static_works=yes
6447
7714
     fi
6448
7715
   fi
6449
 
   $rm conftest*
 
7716
   $RM -r conftest*
6450
7717
   LDFLAGS="$save_LDFLAGS"
6451
7718
 
6452
7719
fi
6453
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6454
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
7720
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
7721
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
6455
7722
 
6456
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
7723
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
6457
7724
    :
6458
7725
else
6459
7726
    lt_prog_compiler_static=
6460
7727
fi
6461
7728
 
6462
7729
 
6463
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6464
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6465
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6466
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6467
 
else
6468
 
  lt_cv_prog_compiler_c_o=no
6469
 
   $rm -r conftest 2>/dev/null
6470
 
   mkdir conftest
6471
 
   cd conftest
6472
 
   mkdir out
6473
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6474
 
 
6475
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
6476
 
   # Insert the option either (1) after the last *FLAGS variable, or
6477
 
   # (2) before a word containing "conftest.", or (3) at the end.
6478
 
   # Note that $ac_compile itself does not contain backslashes and begins
6479
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6480
 
   lt_compile=`echo "$ac_compile" | $SED \
6481
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6482
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6483
 
   -e 's:$: $lt_compiler_flag:'`
6484
 
   (eval echo "\"\$as_me:6484: $lt_compile\"" >&5)
6485
 
   (eval "$lt_compile" 2>out/conftest.err)
6486
 
   ac_status=$?
6487
 
   cat out/conftest.err >&5
6488
 
   echo "$as_me:6488: \$? = $ac_status" >&5
6489
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
6490
 
   then
6491
 
     # The compiler can only warn and ignore the option if not recognized
6492
 
     # So say no if there are warnings
6493
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
6494
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
6495
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6496
 
       lt_cv_prog_compiler_c_o=yes
6497
 
     fi
6498
 
   fi
6499
 
   chmod u+w . 2>&5
6500
 
   $rm conftest*
6501
 
   # SGI C++ compiler will create directory out/ii_files/ for
6502
 
   # template instantiation
6503
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
6504
 
   $rm out/* && rmdir out
6505
 
   cd ..
6506
 
   rmdir conftest
6507
 
   $rm conftest*
6508
 
 
6509
 
fi
6510
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6511
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
7730
 
 
7731
 
 
7732
 
 
7733
 
 
7734
 
 
7735
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7736
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
7737
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
7738
  $as_echo_n "(cached) " >&6
 
7739
else
 
7740
  lt_cv_prog_compiler_c_o=no
 
7741
   $RM -r conftest 2>/dev/null
 
7742
   mkdir conftest
 
7743
   cd conftest
 
7744
   mkdir out
 
7745
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7746
 
 
7747
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
7748
   # Insert the option either (1) after the last *FLAGS variable, or
 
7749
   # (2) before a word containing "conftest.", or (3) at the end.
 
7750
   # Note that $ac_compile itself does not contain backslashes and begins
 
7751
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
7752
   lt_compile=`echo "$ac_compile" | $SED \
 
7753
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
7754
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
7755
   -e 's:$: $lt_compiler_flag:'`
 
7756
   (eval echo "\"\$as_me:7756: $lt_compile\"" >&5)
 
7757
   (eval "$lt_compile" 2>out/conftest.err)
 
7758
   ac_status=$?
 
7759
   cat out/conftest.err >&5
 
7760
   echo "$as_me:7760: \$? = $ac_status" >&5
 
7761
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
7762
   then
 
7763
     # The compiler can only warn and ignore the option if not recognized
 
7764
     # So say no if there are warnings
 
7765
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
7766
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
7767
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
7768
       lt_cv_prog_compiler_c_o=yes
 
7769
     fi
 
7770
   fi
 
7771
   chmod u+w . 2>&5
 
7772
   $RM conftest*
 
7773
   # SGI C++ compiler will create directory out/ii_files/ for
 
7774
   # template instantiation
 
7775
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
7776
   $RM out/* && rmdir out
 
7777
   cd ..
 
7778
   $RM -r conftest
 
7779
   $RM conftest*
 
7780
 
 
7781
fi
 
7782
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7783
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
7784
 
 
7785
 
 
7786
 
 
7787
 
 
7788
 
 
7789
 
 
7790
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7791
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
7792
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
7793
  $as_echo_n "(cached) " >&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
   $RM -r conftest
 
7834
   $RM conftest*
 
7835
 
 
7836
fi
 
7837
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7838
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
7839
 
 
7840
 
6512
7841
 
6513
7842
 
6514
7843
hard_links="nottested"
6515
7844
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6516
7845
  # do not overwrite the value of need_locks provided by the user
6517
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6518
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
7846
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
7847
$as_echo_n "checking if we can lock with hard links... " >&6; }
6519
7848
  hard_links=yes
6520
 
  $rm conftest*
 
7849
  $RM conftest*
6521
7850
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6522
7851
  touch conftest.a
6523
7852
  ln conftest.a conftest.b 2>&5 || hard_links=no
6524
7853
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6525
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
6526
 
echo "${ECHO_T}$hard_links" >&6
 
7854
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
7855
$as_echo "$hard_links" >&6; }
6527
7856
  if test "$hard_links" = no; then
6528
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6529
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
7857
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
7858
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6530
7859
    need_locks=warn
6531
7860
  fi
6532
7861
else
6533
7862
  need_locks=no
6534
7863
fi
6535
7864
 
6536
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6537
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
7865
 
 
7866
 
 
7867
 
 
7868
 
 
7869
 
 
7870
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
7871
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
6538
7872
 
6539
7873
  runpath_var=
6540
7874
  allow_undefined_flag=
6541
 
  enable_shared_with_static_runtimes=no
 
7875
  always_export_symbols=no
6542
7876
  archive_cmds=
6543
7877
  archive_expsym_cmds=
6544
 
  old_archive_From_new_cmds=
6545
 
  old_archive_from_expsyms_cmds=
 
7878
  compiler_needs_object=no
 
7879
  enable_shared_with_static_runtimes=no
6546
7880
  export_dynamic_flag_spec=
6547
 
  whole_archive_flag_spec=
6548
 
  thread_safe_flag_spec=
 
7881
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
7882
  hardcode_automatic=no
 
7883
  hardcode_direct=no
 
7884
  hardcode_direct_absolute=no
6549
7885
  hardcode_libdir_flag_spec=
6550
7886
  hardcode_libdir_flag_spec_ld=
6551
7887
  hardcode_libdir_separator=
6552
 
  hardcode_direct=no
6553
7888
  hardcode_minus_L=no
6554
7889
  hardcode_shlibpath_var=unsupported
 
7890
  inherit_rpath=no
6555
7891
  link_all_deplibs=unknown
6556
 
  hardcode_automatic=no
6557
7892
  module_cmds=
6558
7893
  module_expsym_cmds=
6559
 
  always_export_symbols=no
6560
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
7894
  old_archive_from_new_cmds=
 
7895
  old_archive_from_expsyms_cmds=
 
7896
  thread_safe_flag_spec=
 
7897
  whole_archive_flag_spec=
6561
7898
  # include_expsyms should be a list of space-separated symbols to be *always*
6562
7899
  # included in the symbol list
6563
7900
  include_expsyms=
6565
7902
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
6566
7903
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6567
7904
  # as well as any symbol that contains `d'.
6568
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
7905
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
6569
7906
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6570
7907
  # platforms (ab)use it in PIC code, but their linkers get confused if
6571
7908
  # the symbol is explicitly referenced.  Since portable code cannot
6572
7909
  # rely on this symbol name, it's probably fine to never include it in
6573
7910
  # preloaded symbol tables.
 
7911
  # Exclude shared library initialization/finalization symbols.
6574
7912
  extract_expsyms_cmds=
6575
 
  # Just being paranoid about ensuring that cc_basename is set.
6576
 
  for cc_temp in $compiler""; do
6577
 
  case $cc_temp in
6578
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6579
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6580
 
    \-*) ;;
6581
 
    *) break;;
6582
 
  esac
6583
 
done
6584
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6585
7913
 
6586
7914
  case $host_os in
6587
 
  cygwin* | mingw* | pw32*)
 
7915
  cygwin* | mingw* | pw32* | cegcc*)
6588
7916
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
6589
7917
    # When not using gcc, we currently assume that we are using
6590
7918
    # Microsoft Visual C++.
6610
7938
    # are reset later if shared libraries are not supported. Putting them
6611
7939
    # here allows them to be overridden if necessary.
6612
7940
    runpath_var=LD_RUN_PATH
6613
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
7941
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6614
7942
    export_dynamic_flag_spec='${wl}--export-dynamic'
6615
7943
    # ancient GNU ld didn't support --whole-archive et. al.
6616
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6617
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6618
 
      else
6619
 
        whole_archive_flag_spec=
 
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=
6620
7948
    fi
6621
7949
    supports_anon_versioning=no
6622
 
    case `$LD -v 2>/dev/null` in
 
7950
    case `$LD -v 2>&1` in
6623
7951
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
6624
7952
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6625
7953
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6629
7957
 
6630
7958
    # See if GNU ld supports shared libraries.
6631
7959
    case $host_os in
6632
 
    aix3* | aix4* | aix5*)
 
7960
    aix[3-9]*)
6633
7961
      # On AIX/PPC, the GNU linker is very broken
6634
7962
      if test "$host_cpu" != ia64; then
6635
7963
        ld_shlibs=no
6636
 
        cat <<EOF 1>&2
 
7964
        cat <<_LT_EOF 1>&2
6637
7965
 
6638
7966
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
6639
7967
*** to be unable to reliably create shared libraries on AIX.
6641
7969
*** really care for shared libraries, you may want to modify your PATH
6642
7970
*** so that a non-GNU linker is found, and then restart.
6643
7971
 
6644
 
EOF
 
7972
_LT_EOF
6645
7973
      fi
6646
7974
      ;;
6647
7975
 
6648
7976
    amigaos*)
6649
 
      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)'
6650
 
      hardcode_libdir_flag_spec='-L$libdir'
6651
 
      hardcode_minus_L=yes
6652
 
 
6653
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6654
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
6655
 
      # to version 4, is to share data among multiple programs linked
6656
 
      # with the same dynamic library.  Since this doesn't match the
6657
 
      # behavior of shared libraries on other platforms, we can't use
6658
 
      # them.
6659
 
      ld_shlibs=no
 
7977
      case $host_cpu in
 
7978
      powerpc)
 
7979
            # see comment about AmigaOS4 .so support
 
7980
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
7981
            archive_expsym_cmds=''
 
7982
        ;;
 
7983
      m68k)
 
7984
            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)'
 
7985
            hardcode_libdir_flag_spec='-L$libdir'
 
7986
            hardcode_minus_L=yes
 
7987
        ;;
 
7988
      esac
6660
7989
      ;;
6661
7990
 
6662
7991
    beos*)
6663
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
7992
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6664
7993
        allow_undefined_flag=unsupported
6665
7994
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6666
7995
        # support --undefined.  This deserves some investigation.  FIXME
6670
7999
      fi
6671
8000
      ;;
6672
8001
 
6673
 
    cygwin* | mingw* | pw32*)
6674
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
8002
    cygwin* | mingw* | pw32* | cegcc*)
 
8003
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6675
8004
      # as there is no search path for DLLs.
6676
8005
      hardcode_libdir_flag_spec='-L$libdir'
6677
8006
      allow_undefined_flag=unsupported
6678
8007
      always_export_symbols=no
6679
8008
      enable_shared_with_static_runtimes=yes
6680
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
8009
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
6681
8010
 
6682
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
8011
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
6683
8012
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6684
8013
        # If the export-symbols file already is a .def file (1st line
6685
8014
        # is EXPORTS), use it as is; otherwise, prepend...
6695
8024
      fi
6696
8025
      ;;
6697
8026
 
6698
 
    interix3*)
 
8027
    interix[3-9]*)
6699
8028
      hardcode_direct=no
6700
8029
      hardcode_shlibpath_var=no
6701
8030
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6710
8039
      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'
6711
8040
      ;;
6712
8041
 
6713
 
    linux*)
6714
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8042
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
8043
      tmp_diet=no
 
8044
      if test "$host_os" = linux-dietlibc; then
 
8045
        case $cc_basename in
 
8046
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
8047
        esac
 
8048
      fi
 
8049
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
8050
         && test "$tmp_diet" = no
 
8051
      then
6715
8052
        tmp_addflag=
 
8053
        tmp_sharedflag='-shared'
6716
8054
        case $cc_basename,$host_cpu in
6717
 
        pgcc*)                          # Portland Group C compiler
6718
 
          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'
 
8055
        pgcc*)                          # Portland Group C compiler
 
8056
          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'
6719
8057
          tmp_addflag=' $pic_flag'
6720
8058
          ;;
6721
8059
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
6722
 
          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'
 
8060
          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'
6723
8061
          tmp_addflag=' $pic_flag -Mnomain' ;;
6724
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
8062
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
6725
8063
          tmp_addflag=' -i_dynamic' ;;
6726
8064
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
6727
8065
          tmp_addflag=' -i_dynamic -nofor_main' ;;
6728
8066
        ifc* | ifort*)                  # Intel Fortran compiler
6729
8067
          tmp_addflag=' -nofor_main' ;;
6730
 
        esac
6731
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6732
 
 
6733
 
        if test $supports_anon_versioning = yes; then
6734
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
6735
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6736
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
6737
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6738
 
        fi
 
8068
        lf95*)                          # Lahey Fortran 8.1
 
8069
          whole_archive_flag_spec=
 
8070
          tmp_sharedflag='--shared' ;;
 
8071
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
8072
          tmp_sharedflag='-qmkshrobj'
 
8073
          tmp_addflag= ;;
 
8074
        esac
 
8075
        case `$CC -V 2>&1 | sed 5q` in
 
8076
        *Sun\ C*)                       # Sun C 5.9
 
8077
          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'
 
8078
          compiler_needs_object=yes
 
8079
          tmp_sharedflag='-G' ;;
 
8080
        *Sun\ F*)                       # Sun Fortran 8.3
 
8081
          tmp_sharedflag='-G' ;;
 
8082
        esac
 
8083
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8084
 
 
8085
        if test "x$supports_anon_versioning" = xyes; then
 
8086
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8087
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8088
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
8089
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8090
        fi
 
8091
 
 
8092
        case $cc_basename in
 
8093
        xlf*)
 
8094
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
8095
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
8096
          hardcode_libdir_flag_spec=
 
8097
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
8098
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
8099
          if test "x$supports_anon_versioning" = xyes; then
 
8100
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8101
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8102
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
8103
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8104
          fi
 
8105
          ;;
 
8106
        esac
6739
8107
      else
6740
 
        ld_shlibs=no
 
8108
        ld_shlibs=no
6741
8109
      fi
6742
8110
      ;;
6743
8111
 
6744
8112
    netbsd*)
6745
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
8113
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
6746
8114
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6747
8115
        wlarc=
6748
8116
      else
6752
8120
      ;;
6753
8121
 
6754
8122
    solaris*)
6755
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
8123
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
6756
8124
        ld_shlibs=no
6757
 
        cat <<EOF 1>&2
 
8125
        cat <<_LT_EOF 1>&2
6758
8126
 
6759
8127
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
6760
8128
*** create shared libraries on Solaris systems.  Therefore, libtool
6763
8131
*** your PATH or compiler configuration so that the native linker is
6764
8132
*** used, and then restart.
6765
8133
 
6766
 
EOF
6767
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8134
_LT_EOF
 
8135
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6768
8136
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6769
8137
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6770
8138
      else
6788
8156
_LT_EOF
6789
8157
        ;;
6790
8158
        *)
6791
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6792
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
6793
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
6794
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
8159
          # For security reasons, it is highly recommended that you always
 
8160
          # use absolute paths for naming shared libraries, and exclude the
 
8161
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
8162
          # requires that you compile everything twice, which is a pain.
 
8163
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8164
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8165
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8166
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6795
8167
          else
6796
8168
            ld_shlibs=no
6797
8169
          fi
6807
8179
      ;;
6808
8180
 
6809
8181
    *)
6810
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8182
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6811
8183
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6812
8184
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6813
8185
      else
6839
8211
      fi
6840
8212
      ;;
6841
8213
 
6842
 
    aix4* | aix5*)
 
8214
    aix[4-9]*)
6843
8215
      if test "$host_cpu" = ia64; then
6844
8216
        # On IA64, the linker does run time linking by default, so we don't
6845
8217
        # have to do anything special.
6849
8221
      else
6850
8222
        # If we're using GNU nm, then we don't want the "-C" option.
6851
8223
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
6852
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6853
 
          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'
 
8224
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
8225
          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'
6854
8226
        else
6855
 
          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'
 
8227
          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'
6856
8228
        fi
6857
8229
        aix_use_runtimelinking=no
6858
8230
 
6859
8231
        # Test if we are trying to use run time linking or normal
6860
8232
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6861
8233
        # need to do runtime linking.
6862
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
8234
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
6863
8235
          for ld_flag in $LDFLAGS; do
6864
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6865
 
            aix_use_runtimelinking=yes
6866
 
            break
6867
 
          fi
 
8236
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
8237
            aix_use_runtimelinking=yes
 
8238
            break
 
8239
          fi
6868
8240
          done
6869
8241
          ;;
6870
8242
        esac
6881
8253
 
6882
8254
      archive_cmds=''
6883
8255
      hardcode_direct=yes
 
8256
      hardcode_direct_absolute=yes
6884
8257
      hardcode_libdir_separator=':'
6885
8258
      link_all_deplibs=yes
 
8259
      file_list_spec='${wl}-f,'
6886
8260
 
6887
8261
      if test "$GCC" = yes; then
6888
8262
        case $host_os in aix4.[012]|aix4.[012].*)
6889
8263
        # We only want to do this on AIX 4.2 and lower, the check
6890
8264
        # below for broken collect2 doesn't work under 4.3+
6891
8265
          collect2name=`${CC} -print-prog-name=collect2`
6892
 
          if test -f "$collect2name" && \
6893
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
8266
          if test -f "$collect2name" &&
 
8267
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
6894
8268
          then
6895
 
          # We have reworked collect2
6896
 
          hardcode_direct=yes
 
8269
          # We have reworked collect2
 
8270
          :
6897
8271
          else
6898
 
          # We have old collect2
6899
 
          hardcode_direct=unsupported
6900
 
          # It fails to find uninstalled libraries when the uninstalled
6901
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
6902
 
          # to unsupported forces relinking
6903
 
          hardcode_minus_L=yes
6904
 
          hardcode_libdir_flag_spec='-L$libdir'
6905
 
          hardcode_libdir_separator=
 
8272
          # We have old collect2
 
8273
          hardcode_direct=unsupported
 
8274
          # It fails to find uninstalled libraries when the uninstalled
 
8275
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
8276
          # to unsupported forces relinking
 
8277
          hardcode_minus_L=yes
 
8278
          hardcode_libdir_flag_spec='-L$libdir'
 
8279
          hardcode_libdir_separator=
6906
8280
          fi
6907
8281
          ;;
6908
8282
        esac
6913
8287
      else
6914
8288
        # not using gcc
6915
8289
        if test "$host_cpu" = ia64; then
6916
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6917
 
        # chokes on -Wl,-G. The following line is correct:
 
8290
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
8291
        # chokes on -Wl,-G. The following line is correct:
6918
8292
          shared_flag='-G'
6919
8293
        else
6920
8294
          if test "$aix_use_runtimelinking" = yes; then
6925
8299
        fi
6926
8300
      fi
6927
8301
 
 
8302
      export_dynamic_flag_spec='${wl}-bexpall'
6928
8303
      # It seems that -bexpall does not export symbols beginning with
6929
8304
      # underscore (_), so it is better to generate a list of symbols to export.
6930
8305
      always_export_symbols=yes
6932
8307
        # Warning - without using the other runtime loading flags (-brtl),
6933
8308
        # -berok will link without error, but may produce a broken library.
6934
8309
        allow_undefined_flag='-berok'
6935
 
       # Determine the default libpath from the value encoded in an empty executable.
6936
 
       cat >conftest.$ac_ext <<_ACEOF
 
8310
        # Determine the default libpath from the value encoded in an
 
8311
        # empty executable.
 
8312
        cat >conftest.$ac_ext <<_ACEOF
6937
8313
/* confdefs.h.  */
6938
8314
_ACEOF
6939
8315
cat confdefs.h >>conftest.$ac_ext
6949
8325
}
6950
8326
_ACEOF
6951
8327
rm -f conftest.$ac_objext conftest$ac_exeext
6952
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6953
 
  (eval $ac_link) 2>conftest.er1
 
8328
if { (ac_try="$ac_link"
 
8329
case "(($ac_try" in
 
8330
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8331
  *) ac_try_echo=$ac_try;;
 
8332
esac
 
8333
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8334
$as_echo "$ac_try_echo") >&5
 
8335
  (eval "$ac_link") 2>conftest.er1
6954
8336
  ac_status=$?
6955
8337
  grep -v '^ *+' conftest.er1 >conftest.err
6956
8338
  rm -f conftest.er1
6957
8339
  cat conftest.err >&5
6958
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959
 
  (exit $ac_status); } &&
6960
 
         { ac_try='test -z "$ac_c_werror_flag"
6961
 
                         || test ! -s conftest.err'
6962
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6963
 
  (eval $ac_try) 2>&5
6964
 
  ac_status=$?
6965
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6966
 
  (exit $ac_status); }; } &&
6967
 
         { ac_try='test -s conftest$ac_exeext'
6968
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6969
 
  (eval $ac_try) 2>&5
6970
 
  ac_status=$?
6971
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6972
 
  (exit $ac_status); }; }; then
 
8340
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8341
  (exit $ac_status); } && {
 
8342
         test -z "$ac_c_werror_flag" ||
 
8343
         test ! -s conftest.err
 
8344
       } && test -s conftest$ac_exeext && {
 
8345
         test "$cross_compiling" = yes ||
 
8346
         $as_test_x conftest$ac_exeext
 
8347
       }; then
6973
8348
 
6974
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
6975
 
}'`
 
8349
lt_aix_libpath_sed='
 
8350
    /Import File Strings/,/^$/ {
 
8351
        /^0/ {
 
8352
            s/^0  *\(.*\)$/\1/
 
8353
            p
 
8354
        }
 
8355
    }'
 
8356
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
6976
8357
# Check for a 64-bit object if we didn't find anything.
6977
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
6978
 
}'`; fi
 
8358
if test -z "$aix_libpath"; then
 
8359
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8360
fi
6979
8361
else
6980
 
  echo "$as_me: failed program was:" >&5
 
8362
  $as_echo "$as_me: failed program was:" >&5
6981
8363
sed 's/^/| /' conftest.$ac_ext >&5
6982
8364
 
 
8365
 
6983
8366
fi
6984
 
rm -f conftest.err conftest.$ac_objext \
 
8367
 
 
8368
rm -rf conftest.dSYM
 
8369
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6985
8370
      conftest$ac_exeext conftest.$ac_ext
6986
8371
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6987
8372
 
6988
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6989
 
        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"
6990
 
       else
 
8373
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
8374
        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"
 
8375
      else
6991
8376
        if test "$host_cpu" = ia64; then
6992
8377
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6993
8378
          allow_undefined_flag="-z nodefs"
6994
8379
          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"
6995
8380
        else
6996
 
         # Determine the default libpath from the value encoded in an empty executable.
 
8381
         # Determine the default libpath from the value encoded in an
 
8382
         # empty executable.
6997
8383
         cat >conftest.$ac_ext <<_ACEOF
6998
8384
/* confdefs.h.  */
6999
8385
_ACEOF
7010
8396
}
7011
8397
_ACEOF
7012
8398
rm -f conftest.$ac_objext conftest$ac_exeext
7013
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7014
 
  (eval $ac_link) 2>conftest.er1
 
8399
if { (ac_try="$ac_link"
 
8400
case "(($ac_try" in
 
8401
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8402
  *) ac_try_echo=$ac_try;;
 
8403
esac
 
8404
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8405
$as_echo "$ac_try_echo") >&5
 
8406
  (eval "$ac_link") 2>conftest.er1
7015
8407
  ac_status=$?
7016
8408
  grep -v '^ *+' conftest.er1 >conftest.err
7017
8409
  rm -f conftest.er1
7018
8410
  cat conftest.err >&5
7019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7020
 
  (exit $ac_status); } &&
7021
 
         { ac_try='test -z "$ac_c_werror_flag"
7022
 
                         || test ! -s conftest.err'
7023
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7024
 
  (eval $ac_try) 2>&5
7025
 
  ac_status=$?
7026
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7027
 
  (exit $ac_status); }; } &&
7028
 
         { ac_try='test -s conftest$ac_exeext'
7029
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7030
 
  (eval $ac_try) 2>&5
7031
 
  ac_status=$?
7032
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7033
 
  (exit $ac_status); }; }; then
 
8411
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8412
  (exit $ac_status); } && {
 
8413
         test -z "$ac_c_werror_flag" ||
 
8414
         test ! -s conftest.err
 
8415
       } && test -s conftest$ac_exeext && {
 
8416
         test "$cross_compiling" = yes ||
 
8417
         $as_test_x conftest$ac_exeext
 
8418
       }; then
7034
8419
 
7035
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7036
 
}'`
 
8420
lt_aix_libpath_sed='
 
8421
    /Import File Strings/,/^$/ {
 
8422
        /^0/ {
 
8423
            s/^0  *\(.*\)$/\1/
 
8424
            p
 
8425
        }
 
8426
    }'
 
8427
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7037
8428
# Check for a 64-bit object if we didn't find anything.
7038
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7039
 
}'`; fi
 
8429
if test -z "$aix_libpath"; then
 
8430
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8431
fi
7040
8432
else
7041
 
  echo "$as_me: failed program was:" >&5
 
8433
  $as_echo "$as_me: failed program was:" >&5
7042
8434
sed 's/^/| /' conftest.$ac_ext >&5
7043
8435
 
 
8436
 
7044
8437
fi
7045
 
rm -f conftest.err conftest.$ac_objext \
 
8438
 
 
8439
rm -rf conftest.dSYM
 
8440
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7046
8441
      conftest$ac_exeext conftest.$ac_ext
7047
8442
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7048
8443
 
7061
8456
      ;;
7062
8457
 
7063
8458
    amigaos*)
7064
 
      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)'
7065
 
      hardcode_libdir_flag_spec='-L$libdir'
7066
 
      hardcode_minus_L=yes
7067
 
      # see comment about different semantics on the GNU ld section
7068
 
      ld_shlibs=no
 
8459
      case $host_cpu in
 
8460
      powerpc)
 
8461
            # see comment about AmigaOS4 .so support
 
8462
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8463
            archive_expsym_cmds=''
 
8464
        ;;
 
8465
      m68k)
 
8466
            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)'
 
8467
            hardcode_libdir_flag_spec='-L$libdir'
 
8468
            hardcode_minus_L=yes
 
8469
        ;;
 
8470
      esac
7069
8471
      ;;
7070
8472
 
7071
8473
    bsdi[45]*)
7072
8474
      export_dynamic_flag_spec=-rdynamic
7073
8475
      ;;
7074
8476
 
7075
 
    cygwin* | mingw* | pw32*)
 
8477
    cygwin* | mingw* | pw32* | cegcc*)
7076
8478
      # When not using gcc, we currently assume that we are using
7077
8479
      # Microsoft Visual C++.
7078
8480
      # hardcode_libdir_flag_spec is actually meaningless, as there is
7084
8486
      # Tell ltmain to make .dll files, not .so files.
7085
8487
      shrext_cmds=".dll"
7086
8488
      # FIXME: Setting linknames here is a bad hack.
7087
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
8489
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7088
8490
      # The linker will automatically build a .lib file if we build a DLL.
7089
 
      old_archive_From_new_cmds='true'
 
8491
      old_archive_from_new_cmds='true'
7090
8492
      # FIXME: Should let the user specify the lib program.
7091
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
8493
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7092
8494
      fix_srcfile_path='`cygpath -w "$srcfile"`'
7093
8495
      enable_shared_with_static_runtimes=yes
7094
8496
      ;;
7095
8497
 
7096
8498
    darwin* | rhapsody*)
7097
 
      case $host_os in
7098
 
        rhapsody* | darwin1.[012])
7099
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
7100
 
         ;;
7101
 
       *) # Darwin 1.3 on
7102
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7103
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7104
 
         else
7105
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
7106
 
             10.[012])
7107
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7108
 
               ;;
7109
 
             10.*)
7110
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7111
 
               ;;
7112
 
           esac
7113
 
         fi
7114
 
         ;;
7115
 
      esac
7116
 
      archive_cmds_need_lc=no
7117
 
      hardcode_direct=no
7118
 
      hardcode_automatic=yes
7119
 
      hardcode_shlibpath_var=unsupported
7120
 
      whole_archive_flag_spec=''
7121
 
      link_all_deplibs=yes
7122
 
    if test "$GCC" = yes ; then
7123
 
        output_verbose_link_cmd='echo'
7124
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7125
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7126
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7127
 
      archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7128
 
      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}'
7129
 
    else
7130
 
      case $cc_basename in
7131
 
        xlc*)
7132
 
         output_verbose_link_cmd='echo'
7133
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7134
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7135
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7136
 
         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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7137
 
          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}'
7138
 
          ;;
7139
 
       *)
7140
 
         ld_shlibs=no
7141
 
          ;;
7142
 
      esac
7143
 
    fi
 
8499
 
 
8500
 
 
8501
  archive_cmds_need_lc=no
 
8502
  hardcode_direct=no
 
8503
  hardcode_automatic=yes
 
8504
  hardcode_shlibpath_var=unsupported
 
8505
  whole_archive_flag_spec=''
 
8506
  link_all_deplibs=yes
 
8507
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
8508
  case $cc_basename in
 
8509
     ifort*) _lt_dar_can_shared=yes ;;
 
8510
     *) _lt_dar_can_shared=$GCC ;;
 
8511
  esac
 
8512
  if test "$_lt_dar_can_shared" = "yes"; then
 
8513
    output_verbose_link_cmd=echo
 
8514
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
8515
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
8516
    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}"
 
8517
    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}"
 
8518
 
 
8519
  else
 
8520
  ld_shlibs=no
 
8521
  fi
 
8522
 
7144
8523
      ;;
7145
8524
 
7146
8525
    dgux*)
7173
8552
      ;;
7174
8553
 
7175
8554
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7176
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
8555
    freebsd* | dragonfly*)
7177
8556
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7178
8557
      hardcode_libdir_flag_spec='-R$libdir'
7179
8558
      hardcode_direct=yes
7182
8561
 
7183
8562
    hpux9*)
7184
8563
      if test "$GCC" = yes; then
7185
 
        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'
 
8564
        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'
7186
8565
      else
7187
 
        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'
 
8566
        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'
7188
8567
      fi
7189
8568
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7190
8569
      hardcode_libdir_separator=:
7204
8583
      fi
7205
8584
      if test "$with_gnu_ld" = no; then
7206
8585
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8586
        hardcode_libdir_flag_spec_ld='+b $libdir'
7207
8587
        hardcode_libdir_separator=:
7208
 
 
7209
8588
        hardcode_direct=yes
 
8589
        hardcode_direct_absolute=yes
7210
8590
        export_dynamic_flag_spec='${wl}-E'
7211
 
 
7212
8591
        # hardcode_minus_L: Not really in the search PATH,
7213
8592
        # but as the default location of the library.
7214
8593
        hardcode_minus_L=yes
7222
8601
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7223
8602
          ;;
7224
8603
        ia64*)
7225
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
8604
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7226
8605
          ;;
7227
8606
        *)
7228
8607
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7247
8626
 
7248
8627
        case $host_cpu in
7249
8628
        hppa*64*|ia64*)
7250
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
7251
8629
          hardcode_direct=no
7252
8630
          hardcode_shlibpath_var=no
7253
8631
          ;;
7254
8632
        *)
7255
8633
          hardcode_direct=yes
 
8634
          hardcode_direct_absolute=yes
7256
8635
          export_dynamic_flag_spec='${wl}-E'
7257
8636
 
7258
8637
          # hardcode_minus_L: Not really in the search PATH,
7265
8644
 
7266
8645
    irix5* | irix6* | nonstopux*)
7267
8646
      if test "$GCC" = yes; then
7268
 
        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'
 
8647
        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'
 
8648
        # Try to use the -exported_symbol ld option, if it does not
 
8649
        # work, assume that -exports_file does not work either and
 
8650
        # implicitly export all symbols.
 
8651
        save_LDFLAGS="$LDFLAGS"
 
8652
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
8653
        cat >conftest.$ac_ext <<_ACEOF
 
8654
int foo(void) {}
 
8655
_ACEOF
 
8656
rm -f conftest.$ac_objext conftest$ac_exeext
 
8657
if { (ac_try="$ac_link"
 
8658
case "(($ac_try" in
 
8659
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8660
  *) ac_try_echo=$ac_try;;
 
8661
esac
 
8662
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8663
$as_echo "$ac_try_echo") >&5
 
8664
  (eval "$ac_link") 2>conftest.er1
 
8665
  ac_status=$?
 
8666
  grep -v '^ *+' conftest.er1 >conftest.err
 
8667
  rm -f conftest.er1
 
8668
  cat conftest.err >&5
 
8669
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8670
  (exit $ac_status); } && {
 
8671
         test -z "$ac_c_werror_flag" ||
 
8672
         test ! -s conftest.err
 
8673
       } && test -s conftest$ac_exeext && {
 
8674
         test "$cross_compiling" = yes ||
 
8675
         $as_test_x conftest$ac_exeext
 
8676
       }; then
 
8677
  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'
 
8678
 
 
8679
else
 
8680
  $as_echo "$as_me: failed program was:" >&5
 
8681
sed 's/^/| /' conftest.$ac_ext >&5
 
8682
 
 
8683
 
 
8684
fi
 
8685
 
 
8686
rm -rf conftest.dSYM
 
8687
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8688
      conftest$ac_exeext conftest.$ac_ext
 
8689
        LDFLAGS="$save_LDFLAGS"
7269
8690
      else
7270
 
        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'
7271
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
8691
        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'
 
8692
        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'
7272
8693
      fi
 
8694
      archive_cmds_need_lc='no'
7273
8695
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7274
8696
      hardcode_libdir_separator=:
 
8697
      inherit_rpath=yes
7275
8698
      link_all_deplibs=yes
7276
8699
      ;;
7277
8700
 
7278
8701
    netbsd*)
7279
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
8702
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7280
8703
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7281
8704
      else
7282
8705
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
7294
8717
      hardcode_shlibpath_var=no
7295
8718
      ;;
7296
8719
 
 
8720
    *nto* | *qnx*)
 
8721
      ;;
 
8722
 
7297
8723
    openbsd*)
7298
 
      hardcode_direct=yes
7299
 
      hardcode_shlibpath_var=no
7300
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7301
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7302
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7303
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7304
 
        export_dynamic_flag_spec='${wl}-E'
 
8724
      if test -f /usr/libexec/ld.so; then
 
8725
        hardcode_direct=yes
 
8726
        hardcode_shlibpath_var=no
 
8727
        hardcode_direct_absolute=yes
 
8728
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
8729
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8730
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
8731
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8732
          export_dynamic_flag_spec='${wl}-E'
 
8733
        else
 
8734
          case $host_os in
 
8735
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
8736
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8737
             hardcode_libdir_flag_spec='-R$libdir'
 
8738
             ;;
 
8739
           *)
 
8740
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8741
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8742
             ;;
 
8743
          esac
 
8744
        fi
7305
8745
      else
7306
 
       case $host_os in
7307
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7308
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7309
 
           hardcode_libdir_flag_spec='-R$libdir'
7310
 
           ;;
7311
 
         *)
7312
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7313
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7314
 
           ;;
7315
 
       esac
 
8746
        ld_shlibs=no
7316
8747
      fi
7317
8748
      ;;
7318
8749
 
7320
8751
      hardcode_libdir_flag_spec='-L$libdir'
7321
8752
      hardcode_minus_L=yes
7322
8753
      allow_undefined_flag=unsupported
7323
 
      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'
7324
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
8754
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 
8755
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7325
8756
      ;;
7326
8757
 
7327
8758
    osf3*)
7328
8759
      if test "$GCC" = yes; then
7329
8760
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7330
 
        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'
 
8761
        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'
7331
8762
      else
7332
8763
        allow_undefined_flag=' -expect_unresolved \*'
7333
 
        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'
 
8764
        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'
7334
8765
      fi
 
8766
      archive_cmds_need_lc='no'
7335
8767
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7336
8768
      hardcode_libdir_separator=:
7337
8769
      ;;
7339
8771
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
7340
8772
      if test "$GCC" = yes; then
7341
8773
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7342
 
        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'
 
8774
        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'
7343
8775
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7344
8776
      else
7345
8777
        allow_undefined_flag=' -expect_unresolved \*'
7346
 
        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'
7347
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7348
 
        $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'
 
8778
        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'
 
8779
        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~
 
8780
        $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'
7349
8781
 
7350
8782
        # Both c and cxx compiler support -rpath directly
7351
8783
        hardcode_libdir_flag_spec='-rpath $libdir'
7352
8784
      fi
 
8785
      archive_cmds_need_lc='no'
7353
8786
      hardcode_libdir_separator=:
7354
8787
      ;;
7355
8788
 
7356
8789
    solaris*)
7357
 
      no_undefined_flag=' -z text'
 
8790
      no_undefined_flag=' -z defs'
7358
8791
      if test "$GCC" = yes; then
7359
8792
        wlarc='${wl}'
7360
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7361
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7362
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
8793
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8794
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
8795
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7363
8796
      else
7364
 
        wlarc=''
7365
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7366
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7367
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
8797
        case `$CC -V 2>&1` in
 
8798
        *"Compilers 5.0"*)
 
8799
          wlarc=''
 
8800
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8801
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
8802
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
8803
          ;;
 
8804
        *)
 
8805
          wlarc='${wl}'
 
8806
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
8807
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
8808
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
8809
          ;;
 
8810
        esac
7368
8811
      fi
7369
8812
      hardcode_libdir_flag_spec='-R$libdir'
7370
8813
      hardcode_shlibpath_var=no
7371
8814
      case $host_os in
7372
8815
      solaris2.[0-5] | solaris2.[0-5].*) ;;
7373
8816
      *)
7374
 
        # The compiler driver will combine linker options so we
7375
 
        # cannot just pass the convience library names through
7376
 
        # without $wl, iff we do not link with $LD.
7377
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
7378
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
7379
 
        case $wlarc in
7380
 
        '')
7381
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7382
 
        *)
7383
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
7384
 
        esac ;;
 
8817
        # The compiler driver will combine and reorder linker options,
 
8818
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
8819
        # but is careful enough not to reorder.
 
8820
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
8821
        if test "$GCC" = yes; then
 
8822
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
8823
        else
 
8824
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
8825
        fi
 
8826
        ;;
7385
8827
      esac
7386
8828
      link_all_deplibs=yes
7387
8829
      ;;
7438
8880
      fi
7439
8881
      ;;
7440
8882
 
7441
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
8883
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
7442
8884
      no_undefined_flag='${wl}-z,text'
7443
8885
      archive_cmds_need_lc=no
7444
8886
      hardcode_shlibpath_var=no
7464
8906
      allow_undefined_flag='${wl}-z,nodefs'
7465
8907
      archive_cmds_need_lc=no
7466
8908
      hardcode_shlibpath_var=no
7467
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
8909
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
7468
8910
      hardcode_libdir_separator=':'
7469
8911
      link_all_deplibs=yes
7470
8912
      export_dynamic_flag_spec='${wl}-Bexport'
7471
8913
      runpath_var='LD_RUN_PATH'
7472
8914
 
7473
8915
      if test "$GCC" = yes; then
7474
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7475
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8916
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8917
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7476
8918
      else
7477
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7478
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8919
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8920
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7479
8921
      fi
7480
8922
      ;;
7481
8923
 
7489
8931
      ld_shlibs=no
7490
8932
      ;;
7491
8933
    esac
 
8934
 
 
8935
    if test x$host_vendor = xsni; then
 
8936
      case $host in
 
8937
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
8938
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
8939
        ;;
 
8940
      esac
 
8941
    fi
7492
8942
  fi
7493
8943
 
7494
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7495
 
echo "${ECHO_T}$ld_shlibs" >&6
 
8944
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
8945
$as_echo "$ld_shlibs" >&6; }
7496
8946
test "$ld_shlibs" = no && can_build_shared=no
7497
8947
 
 
8948
with_gnu_ld=$with_gnu_ld
 
8949
 
 
8950
 
 
8951
 
 
8952
 
 
8953
 
 
8954
 
 
8955
 
 
8956
 
 
8957
 
 
8958
 
 
8959
 
 
8960
 
 
8961
 
 
8962
 
 
8963
 
7498
8964
#
7499
8965
# Do we need to explicitly link libc?
7500
8966
#
7512
8978
      # Test whether the compiler implicitly links with -lc since on some
7513
8979
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
7514
8980
      # to ld, don't add -lc before -lgcc.
7515
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7516
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7517
 
      $rm conftest*
7518
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8981
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
8982
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
8983
      $RM conftest*
 
8984
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7519
8985
 
7520
8986
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7521
8987
  (eval $ac_compile) 2>&5
7522
8988
  ac_status=$?
7523
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8989
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7524
8990
  (exit $ac_status); } 2>conftest.err; then
7525
8991
        soname=conftest
7526
8992
        lib=conftest
7535
9001
        libname=conftest
7536
9002
        lt_save_allow_undefined_flag=$allow_undefined_flag
7537
9003
        allow_undefined_flag=
7538
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7539
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
9004
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
9005
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
7540
9006
  ac_status=$?
7541
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9007
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7542
9008
  (exit $ac_status); }
7543
9009
        then
7544
9010
          archive_cmds_need_lc=no
7549
9015
      else
7550
9016
        cat conftest.err 1>&5
7551
9017
      fi
7552
 
      $rm conftest*
7553
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7554
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
9018
      $RM conftest*
 
9019
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
9020
$as_echo "$archive_cmds_need_lc" >&6; }
7555
9021
      ;;
7556
9022
    esac
7557
9023
  fi
7558
9024
  ;;
7559
9025
esac
7560
9026
 
7561
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7562
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
9027
 
 
9028
 
 
9029
 
 
9030
 
 
9031
 
 
9032
 
 
9033
 
 
9034
 
 
9035
 
 
9036
 
 
9037
 
 
9038
 
 
9039
 
 
9040
 
 
9041
 
 
9042
 
 
9043
 
 
9044
 
 
9045
 
 
9046
 
 
9047
 
 
9048
 
 
9049
 
 
9050
 
 
9051
 
 
9052
 
 
9053
 
 
9054
 
 
9055
 
 
9056
 
 
9057
 
 
9058
 
 
9059
 
 
9060
 
 
9061
 
 
9062
 
 
9063
 
 
9064
 
 
9065
 
 
9066
 
 
9067
 
 
9068
 
 
9069
 
 
9070
 
 
9071
 
 
9072
 
 
9073
 
 
9074
 
 
9075
 
 
9076
 
 
9077
 
 
9078
 
 
9079
 
 
9080
 
 
9081
 
 
9082
 
 
9083
 
 
9084
 
 
9085
 
 
9086
 
 
9087
 
 
9088
 
 
9089
 
 
9090
 
 
9091
 
 
9092
 
 
9093
 
 
9094
 
 
9095
 
 
9096
 
 
9097
 
 
9098
 
 
9099
 
 
9100
 
 
9101
 
 
9102
 
 
9103
 
 
9104
 
 
9105
 
 
9106
 
 
9107
 
 
9108
 
 
9109
 
 
9110
 
 
9111
 
 
9112
 
 
9113
 
 
9114
 
 
9115
 
 
9116
 
 
9117
 
 
9118
 
 
9119
 
 
9120
 
 
9121
 
 
9122
 
 
9123
 
 
9124
 
 
9125
 
 
9126
 
 
9127
 
 
9128
 
 
9129
 
 
9130
 
 
9131
 
 
9132
 
 
9133
 
 
9134
 
 
9135
 
 
9136
 
 
9137
 
 
9138
 
 
9139
 
 
9140
 
 
9141
 
 
9142
 
 
9143
 
 
9144
 
 
9145
 
 
9146
 
 
9147
 
 
9148
 
 
9149
 
 
9150
 
 
9151
 
 
9152
 
 
9153
 
 
9154
 
 
9155
 
 
9156
 
 
9157
 
 
9158
 
 
9159
 
 
9160
 
 
9161
 
 
9162
 
 
9163
 
 
9164
 
 
9165
 
 
9166
 
 
9167
 
 
9168
 
 
9169
 
 
9170
 
 
9171
 
 
9172
 
 
9173
 
 
9174
 
 
9175
 
 
9176
 
 
9177
 
 
9178
 
 
9179
 
 
9180
 
 
9181
 
 
9182
 
 
9183
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9184
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
9185
 
 
9186
if test "$GCC" = yes; then
 
9187
  case $host_os in
 
9188
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
9189
    *) lt_awk_arg="/^libraries:/" ;;
 
9190
  esac
 
9191
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9192
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
9193
    # if the path contains ";" then we assume it to be the separator
 
9194
    # otherwise default to the standard path separator (i.e. ":") - it is
 
9195
    # assumed that no part of a normal pathname contains ";" but that should
 
9196
    # okay in the real world where ";" in dirpaths is itself problematic.
 
9197
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
9198
  else
 
9199
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9200
  fi
 
9201
  # Ok, now we have the path, separated by spaces, we can step through it
 
9202
  # and add multilib dir if necessary.
 
9203
  lt_tmp_lt_search_path_spec=
 
9204
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
9205
  for lt_sys_path in $lt_search_path_spec; do
 
9206
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
9207
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
9208
    else
 
9209
      test -d "$lt_sys_path" && \
 
9210
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
9211
    fi
 
9212
  done
 
9213
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
9214
BEGIN {RS=" "; FS="/|\n";} {
 
9215
  lt_foo="";
 
9216
  lt_count=0;
 
9217
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
9218
    if ($lt_i != "" && $lt_i != ".") {
 
9219
      if ($lt_i == "..") {
 
9220
        lt_count++;
 
9221
      } else {
 
9222
        if (lt_count == 0) {
 
9223
          lt_foo="/" $lt_i lt_foo;
 
9224
        } else {
 
9225
          lt_count--;
 
9226
        }
 
9227
      }
 
9228
    }
 
9229
  }
 
9230
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
9231
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
9232
}'`
 
9233
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
9234
else
 
9235
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
9236
fi
7563
9237
library_names_spec=
7564
9238
libname_spec='lib$name'
7565
9239
soname_spec=
7573
9247
version_type=none
7574
9248
dynamic_linker="$host_os ld.so"
7575
9249
sys_lib_dlsearch_path_spec="/lib /usr/lib"
7576
 
if test "$GCC" = yes; then
7577
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7578
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7579
 
    # if the path contains ";" then we assume it to be the separator
7580
 
    # otherwise default to the standard path separator (i.e. ":") - it is
7581
 
    # assumed that no part of a normal pathname contains ";" but that should
7582
 
    # okay in the real world where ";" in dirpaths is itself problematic.
7583
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7584
 
  else
7585
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
7586
 
  fi
7587
 
else
7588
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7589
 
fi
7590
9250
need_lib_prefix=unknown
7591
9251
hardcode_into_libs=no
7592
9252
 
7604
9264
  soname_spec='${libname}${release}${shared_ext}$major'
7605
9265
  ;;
7606
9266
 
7607
 
aix4* | aix5*)
 
9267
aix[4-9]*)
7608
9268
  version_type=linux
7609
9269
  need_lib_prefix=no
7610
9270
  need_version=no
7623
9283
      aix4 | aix4.[01] | aix4.[01].*)
7624
9284
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7625
9285
           echo ' yes '
7626
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
9286
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
7627
9287
        :
7628
9288
      else
7629
9289
        can_build_shared=no
7649
9309
  ;;
7650
9310
 
7651
9311
amigaos*)
7652
 
  library_names_spec='$libname.ixlibrary $libname.a'
7653
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
7654
 
  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'
 
9312
  case $host_cpu in
 
9313
  powerpc)
 
9314
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
9315
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
9316
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9317
    ;;
 
9318
  m68k)
 
9319
    library_names_spec='$libname.ixlibrary $libname.a'
 
9320
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
9321
    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'
 
9322
    ;;
 
9323
  esac
7655
9324
  ;;
7656
9325
 
7657
9326
beos*)
7674
9343
  # libtool to hard-code these into programs
7675
9344
  ;;
7676
9345
 
7677
 
cygwin* | mingw* | pw32*)
 
9346
cygwin* | mingw* | pw32* | cegcc*)
7678
9347
  version_type=windows
7679
9348
  shrext_cmds=".dll"
7680
9349
  need_version=no
7681
9350
  need_lib_prefix=no
7682
9351
 
7683
9352
  case $GCC,$host_os in
7684
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
9353
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
7685
9354
    library_names_spec='$libname.dll.a'
7686
9355
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
7687
9356
    postinstall_cmds='base_file=`basename \${file}`~
7688
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
9357
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
7689
9358
      dldir=$destdir/`dirname \$dlpath`~
7690
9359
      test -d \$dldir || mkdir -p \$dldir~
7691
9360
      $install_prog $dir/$dlname \$dldir/$dlname~
7692
 
      chmod a+x \$dldir/$dlname'
 
9361
      chmod a+x \$dldir/$dlname~
 
9362
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
9363
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
9364
      fi'
7693
9365
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7694
9366
      dlpath=$dir/\$dldll~
7695
 
       $rm \$dlpath'
 
9367
       $RM \$dlpath'
7696
9368
    shlibpath_overrides_runpath=yes
7697
9369
 
7698
9370
    case $host_os in
7701
9373
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7702
9374
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
7703
9375
      ;;
7704
 
    mingw*)
 
9376
    mingw* | cegcc*)
7705
9377
      # MinGW DLLs use traditional 'lib' prefix
7706
9378
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7707
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7708
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
9379
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9380
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
7709
9381
        # It is most probably a Windows format PATH printed by
7710
9382
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
7711
9383
        # path with ; separators, and with drive letters. We can handle the
7712
9384
        # drive letters (cygwin fileutils understands them), so leave them,
7713
9385
        # especially as we might pass files found there to a mingw objdump,
7714
9386
        # which wouldn't understand a cygwinified path. Ahh.
7715
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
9387
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7716
9388
      else
7717
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9389
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
7718
9390
      fi
7719
9391
      ;;
7720
9392
    pw32*)
7738
9410
  version_type=darwin
7739
9411
  need_lib_prefix=no
7740
9412
  need_version=no
7741
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
9413
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7742
9414
  soname_spec='${libname}${release}${major}$shared_ext'
7743
9415
  shlibpath_overrides_runpath=yes
7744
9416
  shlibpath_var=DYLD_LIBRARY_PATH
7745
9417
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
7746
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7747
 
  if test "$GCC" = yes; then
7748
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
7749
 
  else
7750
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
7751
 
  fi
 
9418
 
 
9419
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
7752
9420
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7753
9421
  ;;
7754
9422
 
7765
9433
  dynamic_linker=no
7766
9434
  ;;
7767
9435
 
7768
 
kfreebsd*-gnu)
7769
 
  version_type=linux
7770
 
  need_lib_prefix=no
7771
 
  need_version=no
7772
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7773
 
  soname_spec='${libname}${release}${shared_ext}$major'
7774
 
  shlibpath_var=LD_LIBRARY_PATH
7775
 
  shlibpath_overrides_runpath=no
7776
 
  hardcode_into_libs=yes
7777
 
  dynamic_linker='GNU ld.so'
7778
 
  ;;
7779
 
 
7780
9436
freebsd* | dragonfly*)
7781
9437
  # DragonFly does not have aout.  When/if they implement a new
7782
9438
  # versioning mechanism, adjust this.
7814
9470
    shlibpath_overrides_runpath=no
7815
9471
    hardcode_into_libs=yes
7816
9472
    ;;
7817
 
  freebsd*) # from 4.6 on
 
9473
  *) # from 4.6 on, and DragonFly
7818
9474
    shlibpath_overrides_runpath=yes
7819
9475
    hardcode_into_libs=yes
7820
9476
    ;;
7853
9509
    fi
7854
9510
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7855
9511
    ;;
7856
 
   hppa*64*)
7857
 
     shrext_cmds='.sl'
7858
 
     hardcode_into_libs=yes
7859
 
     dynamic_linker="$host_os dld.sl"
7860
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7861
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7862
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7863
 
     soname_spec='${libname}${release}${shared_ext}$major'
7864
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7865
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7866
 
     ;;
7867
 
   *)
 
9512
  hppa*64*)
 
9513
    shrext_cmds='.sl'
 
9514
    hardcode_into_libs=yes
 
9515
    dynamic_linker="$host_os dld.sl"
 
9516
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
9517
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
9518
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9519
    soname_spec='${libname}${release}${shared_ext}$major'
 
9520
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
9521
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
9522
    ;;
 
9523
  *)
7868
9524
    shrext_cmds='.sl'
7869
9525
    dynamic_linker="$host_os dld.sl"
7870
9526
    shlibpath_var=SHLIB_PATH
7877
9533
  postinstall_cmds='chmod 555 $lib'
7878
9534
  ;;
7879
9535
 
7880
 
interix3*)
 
9536
interix[3-9]*)
7881
9537
  version_type=linux
7882
9538
  need_lib_prefix=no
7883
9539
  need_version=no
7932
9588
  ;;
7933
9589
 
7934
9590
# This must be Linux ELF.
7935
 
linux*)
 
9591
linux* | k*bsd*-gnu)
7936
9592
  version_type=linux
7937
9593
  need_lib_prefix=no
7938
9594
  need_version=no
7941
9597
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7942
9598
  shlibpath_var=LD_LIBRARY_PATH
7943
9599
  shlibpath_overrides_runpath=no
 
9600
  # Some binutils ld are patched to set DT_RUNPATH
 
9601
  save_LDFLAGS=$LDFLAGS
 
9602
  save_libdir=$libdir
 
9603
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
9604
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
9605
  cat >conftest.$ac_ext <<_ACEOF
 
9606
/* confdefs.h.  */
 
9607
_ACEOF
 
9608
cat confdefs.h >>conftest.$ac_ext
 
9609
cat >>conftest.$ac_ext <<_ACEOF
 
9610
/* end confdefs.h.  */
 
9611
 
 
9612
int
 
9613
main ()
 
9614
{
 
9615
 
 
9616
  ;
 
9617
  return 0;
 
9618
}
 
9619
_ACEOF
 
9620
rm -f conftest.$ac_objext conftest$ac_exeext
 
9621
if { (ac_try="$ac_link"
 
9622
case "(($ac_try" in
 
9623
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9624
  *) ac_try_echo=$ac_try;;
 
9625
esac
 
9626
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9627
$as_echo "$ac_try_echo") >&5
 
9628
  (eval "$ac_link") 2>conftest.er1
 
9629
  ac_status=$?
 
9630
  grep -v '^ *+' conftest.er1 >conftest.err
 
9631
  rm -f conftest.er1
 
9632
  cat conftest.err >&5
 
9633
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9634
  (exit $ac_status); } && {
 
9635
         test -z "$ac_c_werror_flag" ||
 
9636
         test ! -s conftest.err
 
9637
       } && test -s conftest$ac_exeext && {
 
9638
         test "$cross_compiling" = yes ||
 
9639
         $as_test_x conftest$ac_exeext
 
9640
       }; then
 
9641
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
9642
  shlibpath_overrides_runpath=yes
 
9643
fi
 
9644
 
 
9645
else
 
9646
  $as_echo "$as_me: failed program was:" >&5
 
9647
sed 's/^/| /' conftest.$ac_ext >&5
 
9648
 
 
9649
 
 
9650
fi
 
9651
 
 
9652
rm -rf conftest.dSYM
 
9653
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9654
      conftest$ac_exeext conftest.$ac_ext
 
9655
  LDFLAGS=$save_LDFLAGS
 
9656
  libdir=$save_libdir
 
9657
 
7944
9658
  # This implies no fast_install, which is unacceptable.
7945
9659
  # Some rework will be needed to allow for fast_install
7946
9660
  # before this can be enabled.
7947
9661
  hardcode_into_libs=yes
7948
9662
 
7949
 
  # find out which ABI we are using
7950
 
  libsuff=
7951
 
  case "$host_cpu" in
7952
 
  x86_64*|s390x*|powerpc64*)
7953
 
    echo '#line 7953 "configure"' > conftest.$ac_ext
7954
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7955
 
  (eval $ac_compile) 2>&5
7956
 
  ac_status=$?
7957
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7958
 
  (exit $ac_status); }; then
7959
 
      case `/usr/bin/file conftest.$ac_objext` in
7960
 
      *64-bit*)
7961
 
        libsuff=64
7962
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
7963
 
        ;;
7964
 
      esac
7965
 
    fi
7966
 
    rm -rf conftest*
7967
 
    ;;
7968
 
  esac
 
9663
  # Add ABI-specific directories to the system library path.
 
9664
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
7969
9665
 
7970
9666
  # Append ld.so.conf contents to the search path
7971
9667
  if test -f /etc/ld.so.conf; then
7972
 
    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/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
7973
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
9668
    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' ' '`
 
9669
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
7974
9670
  fi
7975
9671
 
7976
9672
  # We used to test for /lib/ld.so.1 and disable shared libraries on
7982
9678
  dynamic_linker='GNU/Linux ld.so'
7983
9679
  ;;
7984
9680
 
7985
 
knetbsd*-gnu)
7986
 
  version_type=linux
7987
 
  need_lib_prefix=no
7988
 
  need_version=no
7989
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7990
 
  soname_spec='${libname}${release}${shared_ext}$major'
7991
 
  shlibpath_var=LD_LIBRARY_PATH
7992
 
  shlibpath_overrides_runpath=no
7993
 
  hardcode_into_libs=yes
7994
 
  dynamic_linker='GNU ld.so'
7995
 
  ;;
7996
 
 
7997
9681
netbsd*)
7998
9682
  version_type=sunos
7999
9683
  need_lib_prefix=no
8000
9684
  need_version=no
8001
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9685
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8002
9686
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8003
9687
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8004
9688
    dynamic_linker='NetBSD (a.out) ld.so'
8019
9703
  shlibpath_overrides_runpath=yes
8020
9704
  ;;
8021
9705
 
8022
 
nto-qnx*)
8023
 
  version_type=linux
 
9706
*nto* | *qnx*)
 
9707
  version_type=qnx
8024
9708
  need_lib_prefix=no
8025
9709
  need_version=no
8026
9710
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8027
9711
  soname_spec='${libname}${release}${shared_ext}$major'
8028
9712
  shlibpath_var=LD_LIBRARY_PATH
8029
 
  shlibpath_overrides_runpath=yes
 
9713
  shlibpath_overrides_runpath=no
 
9714
  hardcode_into_libs=yes
 
9715
  dynamic_linker='ldqnx.so'
8030
9716
  ;;
8031
9717
 
8032
9718
openbsd*)
8035
9721
  need_lib_prefix=no
8036
9722
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8037
9723
  case $host_os in
8038
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
8039
 
    *)                         need_version=no  ;;
 
9724
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
9725
    *)                          need_version=no  ;;
8040
9726
  esac
8041
9727
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8042
9728
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8043
9729
  shlibpath_var=LD_LIBRARY_PATH
8044
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9730
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8045
9731
    case $host_os in
8046
9732
      openbsd2.[89] | openbsd2.[89].*)
8047
9733
        shlibpath_overrides_runpath=no
8075
9761
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8076
9762
  ;;
8077
9763
 
 
9764
rdos*)
 
9765
  dynamic_linker=no
 
9766
  ;;
 
9767
 
8078
9768
solaris*)
8079
9769
  version_type=linux
8080
9770
  need_lib_prefix=no
8109
9799
    sni)
8110
9800
      shlibpath_overrides_runpath=no
8111
9801
      need_lib_prefix=no
8112
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
8113
9802
      runpath_var=LD_RUN_PATH
8114
9803
      ;;
8115
9804
    siemens)
8140
9829
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8141
9830
  soname_spec='${libname}${release}${shared_ext}$major'
8142
9831
  shlibpath_var=LD_LIBRARY_PATH
 
9832
  shlibpath_overrides_runpath=yes
8143
9833
  hardcode_into_libs=yes
8144
9834
  if test "$with_gnu_ld" = yes; then
8145
9835
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8146
 
    shlibpath_overrides_runpath=no
8147
9836
  else
8148
9837
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
8149
 
    shlibpath_overrides_runpath=yes
8150
9838
    case $host_os in
8151
9839
      sco3.2v5*)
8152
9840
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
8156
9844
  sys_lib_dlsearch_path_spec='/usr/lib'
8157
9845
  ;;
8158
9846
 
 
9847
tpf*)
 
9848
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
9849
  version_type=linux
 
9850
  need_lib_prefix=no
 
9851
  need_version=no
 
9852
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9853
  shlibpath_var=LD_LIBRARY_PATH
 
9854
  shlibpath_overrides_runpath=no
 
9855
  hardcode_into_libs=yes
 
9856
  ;;
 
9857
 
8159
9858
uts4*)
8160
9859
  version_type=linux
8161
9860
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8167
9866
  dynamic_linker=no
8168
9867
  ;;
8169
9868
esac
8170
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8171
 
echo "${ECHO_T}$dynamic_linker" >&6
 
9869
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9870
$as_echo "$dynamic_linker" >&6; }
8172
9871
test "$dynamic_linker" = no && can_build_shared=no
8173
9872
 
8174
9873
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8176
9875
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8177
9876
fi
8178
9877
 
8179
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8180
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
9878
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
9879
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
9880
fi
 
9881
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
9882
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
9883
fi
 
9884
 
 
9885
 
 
9886
 
 
9887
 
 
9888
 
 
9889
 
 
9890
 
 
9891
 
 
9892
 
 
9893
 
 
9894
 
 
9895
 
 
9896
 
 
9897
 
 
9898
 
 
9899
 
 
9900
 
 
9901
 
 
9902
 
 
9903
 
 
9904
 
 
9905
 
 
9906
 
 
9907
 
 
9908
 
 
9909
 
 
9910
 
 
9911
 
 
9912
 
 
9913
 
 
9914
 
 
9915
 
 
9916
 
 
9917
 
 
9918
 
 
9919
 
 
9920
 
 
9921
 
 
9922
 
 
9923
 
 
9924
 
 
9925
 
 
9926
 
 
9927
 
 
9928
 
 
9929
 
 
9930
 
 
9931
 
 
9932
 
 
9933
 
 
9934
 
 
9935
 
 
9936
 
 
9937
 
 
9938
 
 
9939
 
 
9940
 
 
9941
 
 
9942
 
 
9943
 
 
9944
 
 
9945
 
 
9946
 
 
9947
 
 
9948
 
 
9949
 
 
9950
 
 
9951
 
 
9952
 
 
9953
 
 
9954
 
 
9955
 
 
9956
 
 
9957
 
 
9958
 
 
9959
 
 
9960
 
 
9961
 
 
9962
 
 
9963
 
 
9964
 
 
9965
 
 
9966
 
 
9967
 
 
9968
 
 
9969
 
 
9970
 
 
9971
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9972
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
8181
9973
hardcode_action=
8182
 
if test -n "$hardcode_libdir_flag_spec" || \
8183
 
   test -n "$runpath_var" || \
 
9974
if test -n "$hardcode_libdir_flag_spec" ||
 
9975
   test -n "$runpath_var" ||
8184
9976
   test "X$hardcode_automatic" = "Xyes" ; then
8185
9977
 
8186
 
  # We can hardcode non-existant directories.
 
9978
  # We can hardcode non-existent directories.
8187
9979
  if test "$hardcode_direct" != no &&
8188
9980
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
8189
9981
     # have to relink, otherwise we might link with an installed library
8190
9982
     # when we should be linking with a yet-to-be-installed one
8191
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
9983
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
8192
9984
     test "$hardcode_minus_L" != no; then
8193
9985
    # Linking always hardcodes the temporary library directory.
8194
9986
    hardcode_action=relink
8201
9993
  # directories.
8202
9994
  hardcode_action=unsupported
8203
9995
fi
8204
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
8205
 
echo "${ECHO_T}$hardcode_action" >&6
 
9996
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
9997
$as_echo "$hardcode_action" >&6; }
8206
9998
 
8207
 
if test "$hardcode_action" = relink; then
 
9999
if test "$hardcode_action" = relink ||
 
10000
   test "$inherit_rpath" = yes; then
8208
10001
  # Fast installation is not supported
8209
10002
  enable_fast_install=no
8210
10003
elif test "$shlibpath_overrides_runpath" = yes ||
8213
10006
  enable_fast_install=needless
8214
10007
fi
8215
10008
 
8216
 
striplib=
8217
 
old_striplib=
8218
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8219
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8220
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8221
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8222
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8223
 
  echo "$as_me:$LINENO: result: yes" >&5
8224
 
echo "${ECHO_T}yes" >&6
8225
 
else
8226
 
# FIXME - insert some real tests, host_os isn't really good enough
8227
 
  case $host_os in
8228
 
   darwin*)
8229
 
       if test -n "$STRIP" ; then
8230
 
         striplib="$STRIP -x"
8231
 
         echo "$as_me:$LINENO: result: yes" >&5
8232
 
echo "${ECHO_T}yes" >&6
8233
 
       else
8234
 
  echo "$as_me:$LINENO: result: no" >&5
8235
 
echo "${ECHO_T}no" >&6
8236
 
fi
8237
 
       ;;
8238
 
   *)
8239
 
  echo "$as_me:$LINENO: result: no" >&5
8240
 
echo "${ECHO_T}no" >&6
8241
 
    ;;
8242
 
  esac
8243
 
fi
8244
 
 
8245
 
if test "x$enable_dlopen" != xyes; then
 
10009
 
 
10010
 
 
10011
 
 
10012
 
 
10013
 
 
10014
  if test "x$enable_dlopen" != xyes; then
8246
10015
  enable_dlopen=unknown
8247
10016
  enable_dlopen_self=unknown
8248
10017
  enable_dlopen_self_static=unknown
8257
10026
    lt_cv_dlopen_self=yes
8258
10027
    ;;
8259
10028
 
8260
 
  mingw* | pw32*)
 
10029
  mingw* | pw32* | cegcc*)
8261
10030
    lt_cv_dlopen="LoadLibrary"
8262
10031
    lt_cv_dlopen_libs=
8263
 
   ;;
 
10032
    ;;
8264
10033
 
8265
10034
  cygwin*)
8266
10035
    lt_cv_dlopen="dlopen"
8267
10036
    lt_cv_dlopen_libs=
8268
 
   ;;
 
10037
    ;;
8269
10038
 
8270
10039
  darwin*)
8271
10040
  # if libdl is installed we need to link against it
8272
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8273
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
10041
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10042
$as_echo_n "checking for dlopen in -ldl... " >&6; }
8274
10043
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8275
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10044
  $as_echo_n "(cached) " >&6
8276
10045
else
8277
10046
  ac_check_lib_save_LIBS=$LIBS
8278
10047
LIBS="-ldl  $LIBS"
8283
10052
cat >>conftest.$ac_ext <<_ACEOF
8284
10053
/* end confdefs.h.  */
8285
10054
 
8286
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10055
/* Override any GCC internal prototype to avoid an error.
 
10056
   Use char because int might match the return type of a GCC
 
10057
   builtin and then its argument prototype would still apply.  */
8287
10058
#ifdef __cplusplus
8288
10059
extern "C"
8289
10060
#endif
8290
 
/* We use char because int might match the return type of a gcc2
8291
 
   builtin and then its argument prototype would still apply.  */
8292
10061
char dlopen ();
8293
10062
int
8294
10063
main ()
8295
10064
{
8296
 
dlopen ();
 
10065
return dlopen ();
8297
10066
  ;
8298
10067
  return 0;
8299
10068
}
8300
10069
_ACEOF
8301
10070
rm -f conftest.$ac_objext conftest$ac_exeext
8302
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8303
 
  (eval $ac_link) 2>conftest.er1
 
10071
if { (ac_try="$ac_link"
 
10072
case "(($ac_try" in
 
10073
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10074
  *) ac_try_echo=$ac_try;;
 
10075
esac
 
10076
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10077
$as_echo "$ac_try_echo") >&5
 
10078
  (eval "$ac_link") 2>conftest.er1
8304
10079
  ac_status=$?
8305
10080
  grep -v '^ *+' conftest.er1 >conftest.err
8306
10081
  rm -f conftest.er1
8307
10082
  cat conftest.err >&5
8308
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8309
 
  (exit $ac_status); } &&
8310
 
         { ac_try='test -z "$ac_c_werror_flag"
8311
 
                         || test ! -s conftest.err'
8312
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8313
 
  (eval $ac_try) 2>&5
8314
 
  ac_status=$?
8315
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8316
 
  (exit $ac_status); }; } &&
8317
 
         { ac_try='test -s conftest$ac_exeext'
8318
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8319
 
  (eval $ac_try) 2>&5
8320
 
  ac_status=$?
8321
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8322
 
  (exit $ac_status); }; }; then
 
10083
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10084
  (exit $ac_status); } && {
 
10085
         test -z "$ac_c_werror_flag" ||
 
10086
         test ! -s conftest.err
 
10087
       } && test -s conftest$ac_exeext && {
 
10088
         test "$cross_compiling" = yes ||
 
10089
         $as_test_x conftest$ac_exeext
 
10090
       }; then
8323
10091
  ac_cv_lib_dl_dlopen=yes
8324
10092
else
8325
 
  echo "$as_me: failed program was:" >&5
 
10093
  $as_echo "$as_me: failed program was:" >&5
8326
10094
sed 's/^/| /' conftest.$ac_ext >&5
8327
10095
 
8328
 
ac_cv_lib_dl_dlopen=no
 
10096
        ac_cv_lib_dl_dlopen=no
8329
10097
fi
8330
 
rm -f conftest.err conftest.$ac_objext \
 
10098
 
 
10099
rm -rf conftest.dSYM
 
10100
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8331
10101
      conftest$ac_exeext conftest.$ac_ext
8332
10102
LIBS=$ac_check_lib_save_LIBS
8333
10103
fi
8334
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8335
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8336
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
10104
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10105
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10106
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
8337
10107
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8338
10108
else
8339
10109
 
8343
10113
 
8344
10114
fi
8345
10115
 
8346
 
   ;;
 
10116
    ;;
8347
10117
 
8348
10118
  *)
8349
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
8350
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
10119
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 
10120
$as_echo_n "checking for shl_load... " >&6; }
8351
10121
if test "${ac_cv_func_shl_load+set}" = set; then
8352
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10122
  $as_echo_n "(cached) " >&6
8353
10123
else
8354
10124
  cat >conftest.$ac_ext <<_ACEOF
8355
10125
/* confdefs.h.  */
8374
10144
 
8375
10145
#undef shl_load
8376
10146
 
8377
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10147
/* Override any GCC internal prototype to avoid an error.
 
10148
   Use char because int might match the return type of a GCC
 
10149
   builtin and then its argument prototype would still apply.  */
8378
10150
#ifdef __cplusplus
8379
10151
extern "C"
8380
 
{
8381
10152
#endif
8382
 
/* We use char because int might match the return type of a gcc2
8383
 
   builtin and then its argument prototype would still apply.  */
8384
10153
char shl_load ();
8385
10154
/* The GNU C library defines this for functions which it implements
8386
10155
    to always fail with ENOSYS.  Some functions are actually named
8387
10156
    something starting with __ and the normal name is an alias.  */
8388
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
10157
#if defined __stub_shl_load || defined __stub___shl_load
8389
10158
choke me
8390
 
#else
8391
 
char (*f) () = shl_load;
8392
 
#endif
8393
 
#ifdef __cplusplus
8394
 
}
8395
10159
#endif
8396
10160
 
8397
10161
int
8398
10162
main ()
8399
10163
{
8400
 
return f != shl_load;
 
10164
return shl_load ();
8401
10165
  ;
8402
10166
  return 0;
8403
10167
}
8404
10168
_ACEOF
8405
10169
rm -f conftest.$ac_objext conftest$ac_exeext
8406
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8407
 
  (eval $ac_link) 2>conftest.er1
 
10170
if { (ac_try="$ac_link"
 
10171
case "(($ac_try" in
 
10172
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10173
  *) ac_try_echo=$ac_try;;
 
10174
esac
 
10175
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10176
$as_echo "$ac_try_echo") >&5
 
10177
  (eval "$ac_link") 2>conftest.er1
8408
10178
  ac_status=$?
8409
10179
  grep -v '^ *+' conftest.er1 >conftest.err
8410
10180
  rm -f conftest.er1
8411
10181
  cat conftest.err >&5
8412
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413
 
  (exit $ac_status); } &&
8414
 
         { ac_try='test -z "$ac_c_werror_flag"
8415
 
                         || test ! -s conftest.err'
8416
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8417
 
  (eval $ac_try) 2>&5
8418
 
  ac_status=$?
8419
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8420
 
  (exit $ac_status); }; } &&
8421
 
         { ac_try='test -s conftest$ac_exeext'
8422
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8423
 
  (eval $ac_try) 2>&5
8424
 
  ac_status=$?
8425
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8426
 
  (exit $ac_status); }; }; then
 
10182
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10183
  (exit $ac_status); } && {
 
10184
         test -z "$ac_c_werror_flag" ||
 
10185
         test ! -s conftest.err
 
10186
       } && test -s conftest$ac_exeext && {
 
10187
         test "$cross_compiling" = yes ||
 
10188
         $as_test_x conftest$ac_exeext
 
10189
       }; then
8427
10190
  ac_cv_func_shl_load=yes
8428
10191
else
8429
 
  echo "$as_me: failed program was:" >&5
 
10192
  $as_echo "$as_me: failed program was:" >&5
8430
10193
sed 's/^/| /' conftest.$ac_ext >&5
8431
10194
 
8432
 
ac_cv_func_shl_load=no
 
10195
        ac_cv_func_shl_load=no
8433
10196
fi
8434
 
rm -f conftest.err conftest.$ac_objext \
 
10197
 
 
10198
rm -rf conftest.dSYM
 
10199
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8435
10200
      conftest$ac_exeext conftest.$ac_ext
8436
10201
fi
8437
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8438
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8439
 
if test $ac_cv_func_shl_load = yes; then
 
10202
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
10203
$as_echo "$ac_cv_func_shl_load" >&6; }
 
10204
if test "x$ac_cv_func_shl_load" = x""yes; then
8440
10205
  lt_cv_dlopen="shl_load"
8441
10206
else
8442
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8443
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
10207
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10208
$as_echo_n "checking for shl_load in -ldld... " >&6; }
8444
10209
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8445
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10210
  $as_echo_n "(cached) " >&6
8446
10211
else
8447
10212
  ac_check_lib_save_LIBS=$LIBS
8448
10213
LIBS="-ldld  $LIBS"
8453
10218
cat >>conftest.$ac_ext <<_ACEOF
8454
10219
/* end confdefs.h.  */
8455
10220
 
8456
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10221
/* Override any GCC internal prototype to avoid an error.
 
10222
   Use char because int might match the return type of a GCC
 
10223
   builtin and then its argument prototype would still apply.  */
8457
10224
#ifdef __cplusplus
8458
10225
extern "C"
8459
10226
#endif
8460
 
/* We use char because int might match the return type of a gcc2
8461
 
   builtin and then its argument prototype would still apply.  */
8462
10227
char shl_load ();
8463
10228
int
8464
10229
main ()
8465
10230
{
8466
 
shl_load ();
 
10231
return shl_load ();
8467
10232
  ;
8468
10233
  return 0;
8469
10234
}
8470
10235
_ACEOF
8471
10236
rm -f conftest.$ac_objext conftest$ac_exeext
8472
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8473
 
  (eval $ac_link) 2>conftest.er1
 
10237
if { (ac_try="$ac_link"
 
10238
case "(($ac_try" in
 
10239
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10240
  *) ac_try_echo=$ac_try;;
 
10241
esac
 
10242
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10243
$as_echo "$ac_try_echo") >&5
 
10244
  (eval "$ac_link") 2>conftest.er1
8474
10245
  ac_status=$?
8475
10246
  grep -v '^ *+' conftest.er1 >conftest.err
8476
10247
  rm -f conftest.er1
8477
10248
  cat conftest.err >&5
8478
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8479
 
  (exit $ac_status); } &&
8480
 
         { ac_try='test -z "$ac_c_werror_flag"
8481
 
                         || test ! -s conftest.err'
8482
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8483
 
  (eval $ac_try) 2>&5
8484
 
  ac_status=$?
8485
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486
 
  (exit $ac_status); }; } &&
8487
 
         { ac_try='test -s conftest$ac_exeext'
8488
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8489
 
  (eval $ac_try) 2>&5
8490
 
  ac_status=$?
8491
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8492
 
  (exit $ac_status); }; }; then
 
10249
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10250
  (exit $ac_status); } && {
 
10251
         test -z "$ac_c_werror_flag" ||
 
10252
         test ! -s conftest.err
 
10253
       } && test -s conftest$ac_exeext && {
 
10254
         test "$cross_compiling" = yes ||
 
10255
         $as_test_x conftest$ac_exeext
 
10256
       }; then
8493
10257
  ac_cv_lib_dld_shl_load=yes
8494
10258
else
8495
 
  echo "$as_me: failed program was:" >&5
 
10259
  $as_echo "$as_me: failed program was:" >&5
8496
10260
sed 's/^/| /' conftest.$ac_ext >&5
8497
10261
 
8498
 
ac_cv_lib_dld_shl_load=no
 
10262
        ac_cv_lib_dld_shl_load=no
8499
10263
fi
8500
 
rm -f conftest.err conftest.$ac_objext \
 
10264
 
 
10265
rm -rf conftest.dSYM
 
10266
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8501
10267
      conftest$ac_exeext conftest.$ac_ext
8502
10268
LIBS=$ac_check_lib_save_LIBS
8503
10269
fi
8504
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8505
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8506
 
if test $ac_cv_lib_dld_shl_load = yes; then
8507
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
10270
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
10271
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
10272
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
10273
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
8508
10274
else
8509
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
8510
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
10275
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 
10276
$as_echo_n "checking for dlopen... " >&6; }
8511
10277
if test "${ac_cv_func_dlopen+set}" = set; then
8512
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10278
  $as_echo_n "(cached) " >&6
8513
10279
else
8514
10280
  cat >conftest.$ac_ext <<_ACEOF
8515
10281
/* confdefs.h.  */
8534
10300
 
8535
10301
#undef dlopen
8536
10302
 
8537
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10303
/* Override any GCC internal prototype to avoid an error.
 
10304
   Use char because int might match the return type of a GCC
 
10305
   builtin and then its argument prototype would still apply.  */
8538
10306
#ifdef __cplusplus
8539
10307
extern "C"
8540
 
{
8541
10308
#endif
8542
 
/* We use char because int might match the return type of a gcc2
8543
 
   builtin and then its argument prototype would still apply.  */
8544
10309
char dlopen ();
8545
10310
/* The GNU C library defines this for functions which it implements
8546
10311
    to always fail with ENOSYS.  Some functions are actually named
8547
10312
    something starting with __ and the normal name is an alias.  */
8548
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
10313
#if defined __stub_dlopen || defined __stub___dlopen
8549
10314
choke me
8550
 
#else
8551
 
char (*f) () = dlopen;
8552
 
#endif
8553
 
#ifdef __cplusplus
8554
 
}
8555
10315
#endif
8556
10316
 
8557
10317
int
8558
10318
main ()
8559
10319
{
8560
 
return f != dlopen;
 
10320
return dlopen ();
8561
10321
  ;
8562
10322
  return 0;
8563
10323
}
8564
10324
_ACEOF
8565
10325
rm -f conftest.$ac_objext conftest$ac_exeext
8566
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8567
 
  (eval $ac_link) 2>conftest.er1
 
10326
if { (ac_try="$ac_link"
 
10327
case "(($ac_try" in
 
10328
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10329
  *) ac_try_echo=$ac_try;;
 
10330
esac
 
10331
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10332
$as_echo "$ac_try_echo") >&5
 
10333
  (eval "$ac_link") 2>conftest.er1
8568
10334
  ac_status=$?
8569
10335
  grep -v '^ *+' conftest.er1 >conftest.err
8570
10336
  rm -f conftest.er1
8571
10337
  cat conftest.err >&5
8572
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573
 
  (exit $ac_status); } &&
8574
 
         { ac_try='test -z "$ac_c_werror_flag"
8575
 
                         || test ! -s conftest.err'
8576
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8577
 
  (eval $ac_try) 2>&5
8578
 
  ac_status=$?
8579
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580
 
  (exit $ac_status); }; } &&
8581
 
         { ac_try='test -s conftest$ac_exeext'
8582
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8583
 
  (eval $ac_try) 2>&5
8584
 
  ac_status=$?
8585
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586
 
  (exit $ac_status); }; }; then
 
10338
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10339
  (exit $ac_status); } && {
 
10340
         test -z "$ac_c_werror_flag" ||
 
10341
         test ! -s conftest.err
 
10342
       } && test -s conftest$ac_exeext && {
 
10343
         test "$cross_compiling" = yes ||
 
10344
         $as_test_x conftest$ac_exeext
 
10345
       }; then
8587
10346
  ac_cv_func_dlopen=yes
8588
10347
else
8589
 
  echo "$as_me: failed program was:" >&5
 
10348
  $as_echo "$as_me: failed program was:" >&5
8590
10349
sed 's/^/| /' conftest.$ac_ext >&5
8591
10350
 
8592
 
ac_cv_func_dlopen=no
 
10351
        ac_cv_func_dlopen=no
8593
10352
fi
8594
 
rm -f conftest.err conftest.$ac_objext \
 
10353
 
 
10354
rm -rf conftest.dSYM
 
10355
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8595
10356
      conftest$ac_exeext conftest.$ac_ext
8596
10357
fi
8597
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8598
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8599
 
if test $ac_cv_func_dlopen = yes; then
 
10358
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
10359
$as_echo "$ac_cv_func_dlopen" >&6; }
 
10360
if test "x$ac_cv_func_dlopen" = x""yes; then
8600
10361
  lt_cv_dlopen="dlopen"
8601
10362
else
8602
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8603
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
10363
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10364
$as_echo_n "checking for dlopen in -ldl... " >&6; }
8604
10365
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8605
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10366
  $as_echo_n "(cached) " >&6
8606
10367
else
8607
10368
  ac_check_lib_save_LIBS=$LIBS
8608
10369
LIBS="-ldl  $LIBS"
8613
10374
cat >>conftest.$ac_ext <<_ACEOF
8614
10375
/* end confdefs.h.  */
8615
10376
 
8616
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10377
/* Override any GCC internal prototype to avoid an error.
 
10378
   Use char because int might match the return type of a GCC
 
10379
   builtin and then its argument prototype would still apply.  */
8617
10380
#ifdef __cplusplus
8618
10381
extern "C"
8619
10382
#endif
8620
 
/* We use char because int might match the return type of a gcc2
8621
 
   builtin and then its argument prototype would still apply.  */
8622
10383
char dlopen ();
8623
10384
int
8624
10385
main ()
8625
10386
{
8626
 
dlopen ();
 
10387
return dlopen ();
8627
10388
  ;
8628
10389
  return 0;
8629
10390
}
8630
10391
_ACEOF
8631
10392
rm -f conftest.$ac_objext conftest$ac_exeext
8632
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8633
 
  (eval $ac_link) 2>conftest.er1
 
10393
if { (ac_try="$ac_link"
 
10394
case "(($ac_try" in
 
10395
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10396
  *) ac_try_echo=$ac_try;;
 
10397
esac
 
10398
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10399
$as_echo "$ac_try_echo") >&5
 
10400
  (eval "$ac_link") 2>conftest.er1
8634
10401
  ac_status=$?
8635
10402
  grep -v '^ *+' conftest.er1 >conftest.err
8636
10403
  rm -f conftest.er1
8637
10404
  cat conftest.err >&5
8638
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8639
 
  (exit $ac_status); } &&
8640
 
         { ac_try='test -z "$ac_c_werror_flag"
8641
 
                         || test ! -s conftest.err'
8642
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8643
 
  (eval $ac_try) 2>&5
8644
 
  ac_status=$?
8645
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8646
 
  (exit $ac_status); }; } &&
8647
 
         { ac_try='test -s conftest$ac_exeext'
8648
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8649
 
  (eval $ac_try) 2>&5
8650
 
  ac_status=$?
8651
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8652
 
  (exit $ac_status); }; }; then
 
10405
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10406
  (exit $ac_status); } && {
 
10407
         test -z "$ac_c_werror_flag" ||
 
10408
         test ! -s conftest.err
 
10409
       } && test -s conftest$ac_exeext && {
 
10410
         test "$cross_compiling" = yes ||
 
10411
         $as_test_x conftest$ac_exeext
 
10412
       }; then
8653
10413
  ac_cv_lib_dl_dlopen=yes
8654
10414
else
8655
 
  echo "$as_me: failed program was:" >&5
 
10415
  $as_echo "$as_me: failed program was:" >&5
8656
10416
sed 's/^/| /' conftest.$ac_ext >&5
8657
10417
 
8658
 
ac_cv_lib_dl_dlopen=no
 
10418
        ac_cv_lib_dl_dlopen=no
8659
10419
fi
8660
 
rm -f conftest.err conftest.$ac_objext \
 
10420
 
 
10421
rm -rf conftest.dSYM
 
10422
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8661
10423
      conftest$ac_exeext conftest.$ac_ext
8662
10424
LIBS=$ac_check_lib_save_LIBS
8663
10425
fi
8664
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8665
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8666
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
10426
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10427
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10428
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
8667
10429
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8668
10430
else
8669
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8670
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
10431
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10432
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
8671
10433
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8672
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10434
  $as_echo_n "(cached) " >&6
8673
10435
else
8674
10436
  ac_check_lib_save_LIBS=$LIBS
8675
10437
LIBS="-lsvld  $LIBS"
8680
10442
cat >>conftest.$ac_ext <<_ACEOF
8681
10443
/* end confdefs.h.  */
8682
10444
 
8683
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10445
/* Override any GCC internal prototype to avoid an error.
 
10446
   Use char because int might match the return type of a GCC
 
10447
   builtin and then its argument prototype would still apply.  */
8684
10448
#ifdef __cplusplus
8685
10449
extern "C"
8686
10450
#endif
8687
 
/* We use char because int might match the return type of a gcc2
8688
 
   builtin and then its argument prototype would still apply.  */
8689
10451
char dlopen ();
8690
10452
int
8691
10453
main ()
8692
10454
{
8693
 
dlopen ();
 
10455
return dlopen ();
8694
10456
  ;
8695
10457
  return 0;
8696
10458
}
8697
10459
_ACEOF
8698
10460
rm -f conftest.$ac_objext conftest$ac_exeext
8699
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8700
 
  (eval $ac_link) 2>conftest.er1
 
10461
if { (ac_try="$ac_link"
 
10462
case "(($ac_try" in
 
10463
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10464
  *) ac_try_echo=$ac_try;;
 
10465
esac
 
10466
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10467
$as_echo "$ac_try_echo") >&5
 
10468
  (eval "$ac_link") 2>conftest.er1
8701
10469
  ac_status=$?
8702
10470
  grep -v '^ *+' conftest.er1 >conftest.err
8703
10471
  rm -f conftest.er1
8704
10472
  cat conftest.err >&5
8705
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706
 
  (exit $ac_status); } &&
8707
 
         { ac_try='test -z "$ac_c_werror_flag"
8708
 
                         || test ! -s conftest.err'
8709
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8710
 
  (eval $ac_try) 2>&5
8711
 
  ac_status=$?
8712
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8713
 
  (exit $ac_status); }; } &&
8714
 
         { ac_try='test -s conftest$ac_exeext'
8715
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8716
 
  (eval $ac_try) 2>&5
8717
 
  ac_status=$?
8718
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8719
 
  (exit $ac_status); }; }; then
 
10473
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10474
  (exit $ac_status); } && {
 
10475
         test -z "$ac_c_werror_flag" ||
 
10476
         test ! -s conftest.err
 
10477
       } && test -s conftest$ac_exeext && {
 
10478
         test "$cross_compiling" = yes ||
 
10479
         $as_test_x conftest$ac_exeext
 
10480
       }; then
8720
10481
  ac_cv_lib_svld_dlopen=yes
8721
10482
else
8722
 
  echo "$as_me: failed program was:" >&5
 
10483
  $as_echo "$as_me: failed program was:" >&5
8723
10484
sed 's/^/| /' conftest.$ac_ext >&5
8724
10485
 
8725
 
ac_cv_lib_svld_dlopen=no
 
10486
        ac_cv_lib_svld_dlopen=no
8726
10487
fi
8727
 
rm -f conftest.err conftest.$ac_objext \
 
10488
 
 
10489
rm -rf conftest.dSYM
 
10490
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8728
10491
      conftest$ac_exeext conftest.$ac_ext
8729
10492
LIBS=$ac_check_lib_save_LIBS
8730
10493
fi
8731
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8732
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8733
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
10494
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10495
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
10496
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
8734
10497
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8735
10498
else
8736
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8737
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
10499
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10500
$as_echo_n "checking for dld_link in -ldld... " >&6; }
8738
10501
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8739
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10502
  $as_echo_n "(cached) " >&6
8740
10503
else
8741
10504
  ac_check_lib_save_LIBS=$LIBS
8742
10505
LIBS="-ldld  $LIBS"
8747
10510
cat >>conftest.$ac_ext <<_ACEOF
8748
10511
/* end confdefs.h.  */
8749
10512
 
8750
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10513
/* Override any GCC internal prototype to avoid an error.
 
10514
   Use char because int might match the return type of a GCC
 
10515
   builtin and then its argument prototype would still apply.  */
8751
10516
#ifdef __cplusplus
8752
10517
extern "C"
8753
10518
#endif
8754
 
/* We use char because int might match the return type of a gcc2
8755
 
   builtin and then its argument prototype would still apply.  */
8756
10519
char dld_link ();
8757
10520
int
8758
10521
main ()
8759
10522
{
8760
 
dld_link ();
 
10523
return dld_link ();
8761
10524
  ;
8762
10525
  return 0;
8763
10526
}
8764
10527
_ACEOF
8765
10528
rm -f conftest.$ac_objext conftest$ac_exeext
8766
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8767
 
  (eval $ac_link) 2>conftest.er1
 
10529
if { (ac_try="$ac_link"
 
10530
case "(($ac_try" in
 
10531
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10532
  *) ac_try_echo=$ac_try;;
 
10533
esac
 
10534
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10535
$as_echo "$ac_try_echo") >&5
 
10536
  (eval "$ac_link") 2>conftest.er1
8768
10537
  ac_status=$?
8769
10538
  grep -v '^ *+' conftest.er1 >conftest.err
8770
10539
  rm -f conftest.er1
8771
10540
  cat conftest.err >&5
8772
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773
 
  (exit $ac_status); } &&
8774
 
         { ac_try='test -z "$ac_c_werror_flag"
8775
 
                         || test ! -s conftest.err'
8776
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8777
 
  (eval $ac_try) 2>&5
8778
 
  ac_status=$?
8779
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780
 
  (exit $ac_status); }; } &&
8781
 
         { ac_try='test -s conftest$ac_exeext'
8782
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8783
 
  (eval $ac_try) 2>&5
8784
 
  ac_status=$?
8785
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786
 
  (exit $ac_status); }; }; then
 
10541
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10542
  (exit $ac_status); } && {
 
10543
         test -z "$ac_c_werror_flag" ||
 
10544
         test ! -s conftest.err
 
10545
       } && test -s conftest$ac_exeext && {
 
10546
         test "$cross_compiling" = yes ||
 
10547
         $as_test_x conftest$ac_exeext
 
10548
       }; then
8787
10549
  ac_cv_lib_dld_dld_link=yes
8788
10550
else
8789
 
  echo "$as_me: failed program was:" >&5
 
10551
  $as_echo "$as_me: failed program was:" >&5
8790
10552
sed 's/^/| /' conftest.$ac_ext >&5
8791
10553
 
8792
 
ac_cv_lib_dld_dld_link=no
 
10554
        ac_cv_lib_dld_dld_link=no
8793
10555
fi
8794
 
rm -f conftest.err conftest.$ac_objext \
 
10556
 
 
10557
rm -rf conftest.dSYM
 
10558
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8795
10559
      conftest$ac_exeext conftest.$ac_ext
8796
10560
LIBS=$ac_check_lib_save_LIBS
8797
10561
fi
8798
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8799
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8800
 
if test $ac_cv_lib_dld_dld_link = yes; then
8801
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
10562
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10563
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
10564
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
10565
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
8802
10566
fi
8803
10567
 
8804
10568
 
8836
10600
    save_LIBS="$LIBS"
8837
10601
    LIBS="$lt_cv_dlopen_libs $LIBS"
8838
10602
 
8839
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8840
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
10603
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10604
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
8841
10605
if test "${lt_cv_dlopen_self+set}" = set; then
8842
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10606
  $as_echo_n "(cached) " >&6
8843
10607
else
8844
10608
          if test "$cross_compiling" = yes; then :
8845
10609
  lt_cv_dlopen_self=cross
8846
10610
else
8847
10611
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8848
10612
  lt_status=$lt_dlunknown
8849
 
  cat > conftest.$ac_ext <<EOF
8850
 
#line 8850 "configure"
 
10613
  cat > conftest.$ac_ext <<_LT_EOF
 
10614
#line 10614 "configure"
8851
10615
#include "confdefs.h"
8852
10616
 
8853
10617
#if HAVE_DLFCN_H
8888
10652
#  endif
8889
10653
#endif
8890
10654
 
8891
 
#ifdef __cplusplus
8892
 
extern "C" void exit (int);
8893
 
#endif
8894
 
 
8895
10655
void fnord() { int i=42;}
8896
10656
int main ()
8897
10657
{
8907
10667
  else
8908
10668
    puts (dlerror ());
8909
10669
 
8910
 
    exit (status);
 
10670
  return status;
8911
10671
}
8912
 
EOF
 
10672
_LT_EOF
8913
10673
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8914
10674
  (eval $ac_link) 2>&5
8915
10675
  ac_status=$?
8916
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10676
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8917
10677
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8918
10678
    (./conftest; exit; ) >&5 2>/dev/null
8919
10679
    lt_status=$?
8931
10691
 
8932
10692
 
8933
10693
fi
8934
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8935
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
10694
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10695
$as_echo "$lt_cv_dlopen_self" >&6; }
8936
10696
 
8937
10697
    if test "x$lt_cv_dlopen_self" = xyes; then
8938
10698
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
8939
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8940
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
10699
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10700
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
8941
10701
if test "${lt_cv_dlopen_self_static+set}" = set; then
8942
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10702
  $as_echo_n "(cached) " >&6
8943
10703
else
8944
10704
          if test "$cross_compiling" = yes; then :
8945
10705
  lt_cv_dlopen_self_static=cross
8946
10706
else
8947
10707
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8948
10708
  lt_status=$lt_dlunknown
8949
 
  cat > conftest.$ac_ext <<EOF
8950
 
#line 8950 "configure"
 
10709
  cat > conftest.$ac_ext <<_LT_EOF
 
10710
#line 10710 "configure"
8951
10711
#include "confdefs.h"
8952
10712
 
8953
10713
#if HAVE_DLFCN_H
8988
10748
#  endif
8989
10749
#endif
8990
10750
 
8991
 
#ifdef __cplusplus
8992
 
extern "C" void exit (int);
8993
 
#endif
8994
 
 
8995
10751
void fnord() { int i=42;}
8996
10752
int main ()
8997
10753
{
9007
10763
  else
9008
10764
    puts (dlerror ());
9009
10765
 
9010
 
    exit (status);
 
10766
  return status;
9011
10767
}
9012
 
EOF
 
10768
_LT_EOF
9013
10769
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9014
10770
  (eval $ac_link) 2>&5
9015
10771
  ac_status=$?
9016
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10772
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9017
10773
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9018
10774
    (./conftest; exit; ) >&5 2>/dev/null
9019
10775
    lt_status=$?
9031
10787
 
9032
10788
 
9033
10789
fi
9034
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9035
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
10790
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10791
$as_echo "$lt_cv_dlopen_self_static" >&6; }
9036
10792
    fi
9037
10793
 
9038
10794
    CPPFLAGS="$save_CPPFLAGS"
9053
10809
fi
9054
10810
 
9055
10811
 
9056
 
# Report which library types will actually be built
9057
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9058
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9059
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
9060
 
echo "${ECHO_T}$can_build_shared" >&6
9061
 
 
9062
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9063
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9064
 
test "$can_build_shared" = "no" && enable_shared=no
9065
 
 
9066
 
# On AIX, shared libraries and static libraries use the same namespace, and
9067
 
# are all built from PIC.
9068
 
case $host_os in
9069
 
aix3*)
9070
 
  test "$enable_shared" = yes && enable_static=no
9071
 
  if test -n "$RANLIB"; then
9072
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
9073
 
    postinstall_cmds='$RANLIB $lib'
9074
 
  fi
9075
 
  ;;
9076
 
 
9077
 
aix4* | aix5*)
9078
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9079
 
    test "$enable_shared" = yes && enable_static=no
9080
 
  fi
9081
 
    ;;
9082
 
esac
9083
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
9084
 
echo "${ECHO_T}$enable_shared" >&6
9085
 
 
9086
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9087
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9088
 
# Make sure either enable_shared or enable_static is yes.
9089
 
test "$enable_shared" = yes || enable_static=yes
9090
 
echo "$as_me:$LINENO: result: $enable_static" >&5
9091
 
echo "${ECHO_T}$enable_static" >&6
9092
 
 
9093
 
# The else clause should only fire when bootstrapping the
9094
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
9095
 
# with your package, and you will get complaints that there are
9096
 
# no rules to generate ltmain.sh.
9097
 
if test -f "$ltmain"; then
9098
 
  # See if we are running on zsh, and set the options which allow our commands through
9099
 
  # without removal of \ escapes.
9100
 
  if test -n "${ZSH_VERSION+set}" ; then
9101
 
    setopt NO_GLOB_SUBST
9102
 
  fi
9103
 
  # Now quote all the things that may contain metacharacters while being
9104
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
9105
 
  # variables and quote the copies for generation of the libtool script.
9106
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9107
 
    SED SHELL STRIP \
9108
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9109
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9110
 
    deplibs_check_method reload_flag reload_cmds need_locks \
9111
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9112
 
    lt_cv_sys_global_symbol_to_c_name_address \
9113
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9114
 
    old_postinstall_cmds old_postuninstall_cmds \
9115
 
    compiler \
9116
 
    CC \
9117
 
    LD \
9118
 
    lt_prog_compiler_wl \
9119
 
    lt_prog_compiler_pic \
9120
 
    lt_prog_compiler_static \
9121
 
    lt_prog_compiler_no_builtin_flag \
9122
 
    export_dynamic_flag_spec \
9123
 
    thread_safe_flag_spec \
9124
 
    whole_archive_flag_spec \
9125
 
    enable_shared_with_static_runtimes \
9126
 
    old_archive_cmds \
9127
 
    old_archive_from_new_cmds \
9128
 
    predep_objects \
9129
 
    postdep_objects \
9130
 
    predeps \
9131
 
    postdeps \
9132
 
    compiler_lib_search_path \
9133
 
    archive_cmds \
9134
 
    archive_expsym_cmds \
9135
 
    postinstall_cmds \
9136
 
    postuninstall_cmds \
9137
 
    old_archive_from_expsyms_cmds \
9138
 
    allow_undefined_flag \
9139
 
    no_undefined_flag \
9140
 
    export_symbols_cmds \
9141
 
    hardcode_libdir_flag_spec \
9142
 
    hardcode_libdir_flag_spec_ld \
9143
 
    hardcode_libdir_separator \
9144
 
    hardcode_automatic \
9145
 
    module_cmds \
9146
 
    module_expsym_cmds \
9147
 
    lt_cv_prog_compiler_c_o \
9148
 
    exclude_expsyms \
9149
 
    include_expsyms; do
9150
 
 
9151
 
    case $var in
9152
 
    old_archive_cmds | \
9153
 
    old_archive_from_new_cmds | \
9154
 
    archive_cmds | \
9155
 
    archive_expsym_cmds | \
9156
 
    module_cmds | \
9157
 
    module_expsym_cmds | \
9158
 
    old_archive_from_expsyms_cmds | \
9159
 
    export_symbols_cmds | \
9160
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
9161
 
    postinstall_cmds | postuninstall_cmds | \
9162
 
    old_postinstall_cmds | old_postuninstall_cmds | \
9163
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
9164
 
      # Double-quote double-evaled strings.
9165
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9166
 
      ;;
9167
 
    *)
9168
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9169
 
      ;;
9170
 
    esac
9171
 
  done
9172
 
 
9173
 
  case $lt_echo in
9174
 
  *'\$0 --fallback-echo"')
9175
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9176
 
    ;;
9177
 
  esac
9178
 
 
9179
 
cfgfile="${ofile}T"
9180
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9181
 
  $rm -f "$cfgfile"
9182
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
9183
 
echo "$as_me: creating $ofile" >&6;}
9184
 
 
9185
 
  cat <<__EOF__ >> "$cfgfile"
9186
 
#! $SHELL
9187
 
 
9188
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9189
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9190
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
9191
 
#
9192
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9193
 
# Free Software Foundation, Inc.
9194
 
#
9195
 
# This file is part of GNU Libtool:
9196
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9197
 
#
9198
 
# This program is free software; you can redistribute it and/or modify
9199
 
# it under the terms of the GNU General Public License as published by
9200
 
# the Free Software Foundation; either version 2 of the License, or
9201
 
# (at your option) any later version.
9202
 
#
9203
 
# This program is distributed in the hope that it will be useful, but
9204
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
9205
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
9206
 
# General Public License for more details.
9207
 
#
9208
 
# You should have received a copy of the GNU General Public License
9209
 
# along with this program; if not, write to the Free Software
9210
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9211
 
#
9212
 
# As a special exception to the GNU General Public License, if you
9213
 
# distribute this file as part of a program that contains a
9214
 
# configuration script generated by Autoconf, you may include it under
9215
 
# the same distribution terms that you use for the rest of that program.
9216
 
 
9217
 
# A sed program that does not truncate output.
9218
 
SED=$lt_SED
9219
 
 
9220
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
9221
 
Xsed="$SED -e 1s/^X//"
9222
 
 
9223
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
9224
 
# if CDPATH is set.
9225
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9226
 
 
9227
 
# The names of the tagged configurations supported by this script.
9228
 
available_tags=
9229
 
 
9230
 
# ### BEGIN LIBTOOL CONFIG
9231
 
 
9232
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9233
 
 
9234
 
# Shell to use when invoking shell scripts.
9235
 
SHELL=$lt_SHELL
9236
 
 
9237
 
# Whether or not to build shared libraries.
9238
 
build_libtool_libs=$enable_shared
9239
 
 
9240
 
# Whether or not to build static libraries.
9241
 
build_old_libs=$enable_static
9242
 
 
9243
 
# Whether or not to add -lc for building shared libraries.
9244
 
build_libtool_need_lc=$archive_cmds_need_lc
9245
 
 
9246
 
# Whether or not to disallow shared libs when runtime libs are static
9247
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9248
 
 
9249
 
# Whether or not to optimize for fast installation.
9250
 
fast_install=$enable_fast_install
9251
 
 
9252
 
# The host system.
9253
 
host_alias=$host_alias
9254
 
host=$host
9255
 
host_os=$host_os
9256
 
 
9257
 
# The build system.
9258
 
build_alias=$build_alias
9259
 
build=$build
9260
 
build_os=$build_os
9261
 
 
9262
 
# An echo program that does not interpret backslashes.
9263
 
echo=$lt_echo
9264
 
 
9265
 
# The archiver.
9266
 
AR=$lt_AR
9267
 
AR_FLAGS=$lt_AR_FLAGS
9268
 
 
9269
 
# A C compiler.
9270
 
LTCC=$lt_LTCC
9271
 
 
9272
 
# LTCC compiler flags.
9273
 
LTCFLAGS=$lt_LTCFLAGS
9274
 
 
9275
 
# A language-specific compiler.
9276
 
CC=$lt_compiler
9277
 
 
9278
 
# Is the compiler the GNU C compiler?
9279
 
with_gcc=$GCC
9280
 
 
9281
 
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
9282
 
gcc_ver=\`gcc -dumpversion\`
9283
 
 
9284
 
# An ERE matcher.
9285
 
EGREP=$lt_EGREP
9286
 
 
9287
 
# The linker used to build libraries.
9288
 
LD=$lt_LD
9289
 
 
9290
 
# Whether we need hard or soft links.
9291
 
LN_S=$lt_LN_S
9292
 
 
9293
 
# A BSD-compatible nm program.
9294
 
NM=$lt_NM
9295
 
 
9296
 
# A symbol stripping program
9297
 
STRIP=$lt_STRIP
9298
 
 
9299
 
# Used to examine libraries when file_magic_cmd begins "file"
9300
 
MAGIC_CMD=$MAGIC_CMD
9301
 
 
9302
 
# Used on cygwin: DLL creation program.
9303
 
DLLTOOL="$DLLTOOL"
9304
 
 
9305
 
# Used on cygwin: object dumper.
9306
 
OBJDUMP="$OBJDUMP"
9307
 
 
9308
 
# Used on cygwin: assembler.
9309
 
AS="$AS"
9310
 
 
9311
 
# The name of the directory that contains temporary libtool files.
9312
 
objdir=$objdir
9313
 
 
9314
 
# How to create reloadable object files.
9315
 
reload_flag=$lt_reload_flag
9316
 
reload_cmds=$lt_reload_cmds
9317
 
 
9318
 
# How to pass a linker flag through the compiler.
9319
 
wl=$lt_lt_prog_compiler_wl
9320
 
 
9321
 
# Object file suffix (normally "o").
9322
 
objext="$ac_objext"
9323
 
 
9324
 
# Old archive suffix (normally "a").
9325
 
libext="$libext"
9326
 
 
9327
 
# Shared library suffix (normally ".so").
9328
 
shrext_cmds='$shrext_cmds'
9329
 
 
9330
 
# Executable file suffix (normally "").
9331
 
exeext="$exeext"
9332
 
 
9333
 
# Additional compiler flags for building library objects.
9334
 
pic_flag=$lt_lt_prog_compiler_pic
9335
 
pic_mode=$pic_mode
9336
 
 
9337
 
# What is the maximum length of a command?
9338
 
max_cmd_len=$lt_cv_sys_max_cmd_len
9339
 
 
9340
 
# Does compiler simultaneously support -c and -o options?
9341
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9342
 
 
9343
 
# Must we lock files when doing compilation?
9344
 
need_locks=$lt_need_locks
9345
 
 
9346
 
# Do we need the lib prefix for modules?
9347
 
need_lib_prefix=$need_lib_prefix
9348
 
 
9349
 
# Do we need a version for libraries?
9350
 
need_version=$need_version
9351
 
 
9352
 
# Whether dlopen is supported.
9353
 
dlopen_support=$enable_dlopen
9354
 
 
9355
 
# Whether dlopen of programs is supported.
9356
 
dlopen_self=$enable_dlopen_self
9357
 
 
9358
 
# Whether dlopen of statically linked programs is supported.
9359
 
dlopen_self_static=$enable_dlopen_self_static
9360
 
 
9361
 
# Compiler flag to prevent dynamic linking.
9362
 
link_static_flag=$lt_lt_prog_compiler_static
9363
 
 
9364
 
# Compiler flag to turn off builtin functions.
9365
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9366
 
 
9367
 
# Compiler flag to allow reflexive dlopens.
9368
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9369
 
 
9370
 
# Compiler flag to generate shared objects directly from archives.
9371
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
9372
 
 
9373
 
# Compiler flag to generate thread-safe objects.
9374
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
9375
 
 
9376
 
# Library versioning type.
9377
 
version_type=$version_type
9378
 
 
9379
 
# Format of library name prefix.
9380
 
libname_spec=$lt_libname_spec
9381
 
 
9382
 
# List of archive names.  First name is the real one, the rest are links.
9383
 
# The last name is the one that the linker finds with -lNAME.
9384
 
library_names_spec=$lt_library_names_spec
9385
 
 
9386
 
# The coded name of the library, if different from the real name.
9387
 
soname_spec=$lt_soname_spec
9388
 
 
9389
 
# Commands used to build and install an old-style archive.
9390
 
RANLIB=$lt_RANLIB
9391
 
old_archive_cmds=$lt_old_archive_cmds
9392
 
old_postinstall_cmds=$lt_old_postinstall_cmds
9393
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
9394
 
 
9395
 
# Create an old-style archive from a shared archive.
9396
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9397
 
 
9398
 
# Create a temporary old-style archive to link instead of a shared archive.
9399
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9400
 
 
9401
 
# Commands used to build and install a shared archive.
9402
 
archive_cmds=$lt_archive_cmds
9403
 
archive_expsym_cmds=$lt_archive_expsym_cmds
9404
 
postinstall_cmds=$lt_postinstall_cmds
9405
 
postuninstall_cmds=$lt_postuninstall_cmds
9406
 
 
9407
 
# Commands used to build a loadable module (assumed same as above if empty)
9408
 
module_cmds=$lt_module_cmds
9409
 
module_expsym_cmds=$lt_module_expsym_cmds
9410
 
 
9411
 
# Commands to strip libraries.
9412
 
old_striplib=$lt_old_striplib
9413
 
striplib=$lt_striplib
9414
 
 
9415
 
# Dependencies to place before the objects being linked to create a
9416
 
# shared library.
9417
 
predep_objects=\`echo $lt_predep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9418
 
 
9419
 
# Dependencies to place after the objects being linked to create a
9420
 
# shared library.
9421
 
postdep_objects=\`echo $lt_postdep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9422
 
 
9423
 
# Dependencies to place before the objects being linked to create a
9424
 
# shared library.
9425
 
predeps=$lt_predeps
9426
 
 
9427
 
# Dependencies to place after the objects being linked to create a
9428
 
# shared library.
9429
 
postdeps=$lt_postdeps
9430
 
 
9431
 
# The library search path used internally by the compiler when linking
9432
 
# a shared library.
9433
 
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9434
 
 
9435
 
# Method to check whether dependent libraries are shared objects.
9436
 
deplibs_check_method=$lt_deplibs_check_method
9437
 
 
9438
 
# Command to use when deplibs_check_method == file_magic.
9439
 
file_magic_cmd=$lt_file_magic_cmd
9440
 
 
9441
 
# Flag that allows shared libraries with undefined symbols to be built.
9442
 
allow_undefined_flag=$lt_allow_undefined_flag
9443
 
 
9444
 
# Flag that forces no undefined symbols.
9445
 
no_undefined_flag=$lt_no_undefined_flag
9446
 
 
9447
 
# Commands used to finish a libtool library installation in a directory.
9448
 
finish_cmds=$lt_finish_cmds
9449
 
 
9450
 
# Same as above, but a single script fragment to be evaled but not shown.
9451
 
finish_eval=$lt_finish_eval
9452
 
 
9453
 
# Take the output of nm and produce a listing of raw symbols and C names.
9454
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9455
 
 
9456
 
# Transform the output of nm in a proper C declaration
9457
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9458
 
 
9459
 
# Transform the output of nm in a C name address pair
9460
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9461
 
 
9462
 
# This is the shared library runtime path variable.
9463
 
runpath_var=$runpath_var
9464
 
 
9465
 
# This is the shared library path variable.
9466
 
shlibpath_var=$shlibpath_var
9467
 
 
9468
 
# Is shlibpath searched before the hard-coded library search path?
9469
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9470
 
 
9471
 
# How to hardcode a shared library path into an executable.
9472
 
hardcode_action=$hardcode_action
9473
 
 
9474
 
# Whether we should hardcode library paths into libraries.
9475
 
hardcode_into_libs=$hardcode_into_libs
9476
 
 
9477
 
# Flag to hardcode \$libdir into a binary during linking.
9478
 
# This must work even if \$libdir does not exist.
9479
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9480
 
 
9481
 
# If ld is used when linking, flag to hardcode \$libdir into
9482
 
# a binary during linking. This must work even if \$libdir does
9483
 
# not exist.
9484
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9485
 
 
9486
 
# Whether we need a single -rpath flag with a separated argument.
9487
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
9488
 
 
9489
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9490
 
# resulting binary.
9491
 
hardcode_direct=$hardcode_direct
9492
 
 
9493
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9494
 
# resulting binary.
9495
 
hardcode_minus_L=$hardcode_minus_L
9496
 
 
9497
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9498
 
# the resulting binary.
9499
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
9500
 
 
9501
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
9502
 
# and all subsequent libraries and executables linked against it.
9503
 
hardcode_automatic=$hardcode_automatic
9504
 
 
9505
 
# Variables whose values should be saved in libtool wrapper scripts and
9506
 
# restored at relink time.
9507
 
variables_saved_for_relink="$variables_saved_for_relink"
9508
 
 
9509
 
# Whether libtool must link a program against all its dependency libraries.
9510
 
link_all_deplibs=$link_all_deplibs
9511
 
 
9512
 
# Compile-time system search path for libraries
9513
 
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9514
 
 
9515
 
# Run-time system search path for libraries
9516
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9517
 
 
9518
 
# Fix the shell variable \$srcfile for the compiler.
9519
 
fix_srcfile_path="$fix_srcfile_path"
9520
 
 
9521
 
# Set to yes if exported symbols are required.
9522
 
always_export_symbols=$always_export_symbols
9523
 
 
9524
 
# The commands to list exported symbols.
9525
 
export_symbols_cmds=$lt_export_symbols_cmds
9526
 
 
9527
 
# The commands to extract the exported symbol list from a shared archive.
9528
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
9529
 
 
9530
 
# Symbols that should not be listed in the preloaded symbols.
9531
 
exclude_expsyms=$lt_exclude_expsyms
9532
 
 
9533
 
# Symbols that must always be exported.
9534
 
include_expsyms=$lt_include_expsyms
9535
 
 
9536
 
# ### END LIBTOOL CONFIG
9537
 
 
9538
 
__EOF__
9539
 
 
9540
 
 
9541
 
  case $host_os in
9542
 
  aix3*)
9543
 
    cat <<\EOF >> "$cfgfile"
9544
 
 
9545
 
# AIX sometimes has problems with the GCC collect2 program.  For some
9546
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
9547
 
# vanish in a puff of smoke.
9548
 
if test "X${COLLECT_NAMES+set}" != Xset; then
9549
 
  COLLECT_NAMES=
9550
 
  export COLLECT_NAMES
9551
 
fi
9552
 
EOF
9553
 
    ;;
9554
 
  esac
9555
 
 
9556
 
  # We use sed instead of cat because bash on DJGPP gets confused if
9557
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
9558
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
9559
 
  # is reportedly fixed, but why not run on old versions too?
9560
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9561
 
 
9562
 
  mv -f "$cfgfile" "$ofile" || \
9563
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9564
 
  chmod +x "$ofile"
9565
 
 
9566
 
else
9567
 
  # If there is no Makefile yet, we rely on a make rule to execute
9568
 
  # `config.status --recheck' to rerun these tests and create the
9569
 
  # libtool script then.
9570
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9571
 
  if test -f "$ltmain_in"; then
9572
 
    test -f Makefile && make "$ltmain"
9573
 
  fi
9574
 
fi
9575
 
 
9576
 
 
9577
 
ac_ext=c
9578
 
ac_cpp='$CPP $CPPFLAGS'
9579
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9580
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9581
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9582
 
 
9583
 
CC="$lt_save_CC"
9584
 
 
9585
 
 
9586
 
# Check whether --with-tags or --without-tags was given.
9587
 
if test "${with_tags+set}" = set; then
9588
 
  withval="$with_tags"
9589
 
  tagnames="$withval"
9590
 
fi;
9591
 
 
9592
 
if test -f "$ltmain" && test -n "$tagnames"; then
9593
 
  if test ! -f "${ofile}"; then
9594
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9595
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9596
 
  fi
9597
 
 
9598
 
  if test -z "$LTCC"; then
9599
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9600
 
    if test -z "$LTCC"; then
9601
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9602
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9603
 
    else
9604
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9605
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9606
 
    fi
9607
 
  fi
9608
 
  if test -z "$LTCFLAGS"; then
9609
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
9610
 
  fi
9611
 
 
9612
 
  # Extract list of available tagged configurations in $ofile.
9613
 
  # Note that this assumes the entire list is on one line.
9614
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9615
 
 
9616
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9617
 
  for tagname in $tagnames; do
9618
 
    IFS="$lt_save_ifs"
9619
 
    # Check whether tagname contains only valid characters
9620
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9621
 
    "") ;;
9622
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9623
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
9624
 
   { (exit 1); exit 1; }; }
9625
 
        ;;
9626
 
    esac
9627
 
 
9628
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9629
 
    then
9630
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9631
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9632
 
   { (exit 1); exit 1; }; }
9633
 
    fi
9634
 
 
9635
 
    # Update the list of available tags.
9636
 
    if test -n "$tagname"; then
9637
 
      echo appending configuration tag \"$tagname\" to $ofile
9638
 
 
9639
 
      case $tagname in
9640
 
      CXX)
9641
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9642
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9643
 
            (test "X$CXX" != "Xg++"))) ; then
9644
 
          ac_ext=cc
9645
 
ac_cpp='$CXXCPP $CPPFLAGS'
9646
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9647
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9648
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9649
 
 
9650
 
 
9651
 
 
9652
 
 
9653
 
archive_cmds_need_lc_CXX=no
9654
 
allow_undefined_flag_CXX=
9655
 
always_export_symbols_CXX=no
9656
 
archive_expsym_cmds_CXX=
9657
 
export_dynamic_flag_spec_CXX=
9658
 
hardcode_direct_CXX=no
9659
 
hardcode_libdir_flag_spec_CXX=
9660
 
hardcode_libdir_flag_spec_ld_CXX=
9661
 
hardcode_libdir_separator_CXX=
9662
 
hardcode_minus_L_CXX=no
9663
 
hardcode_shlibpath_var_CXX=unsupported
9664
 
hardcode_automatic_CXX=no
9665
 
module_cmds_CXX=
9666
 
module_expsym_cmds_CXX=
9667
 
link_all_deplibs_CXX=unknown
9668
 
old_archive_cmds_CXX=$old_archive_cmds
9669
 
no_undefined_flag_CXX=
9670
 
whole_archive_flag_spec_CXX=
9671
 
enable_shared_with_static_runtimes_CXX=no
9672
 
 
9673
 
# Dependencies to place before and after the object being linked:
9674
 
predep_objects_CXX=
9675
 
postdep_objects_CXX=
9676
 
predeps_CXX=
9677
 
postdeps_CXX=
9678
 
compiler_lib_search_path_CXX=
9679
 
 
9680
 
# Source file extension for C++ test sources.
9681
 
ac_ext=cpp
9682
 
 
9683
 
# Object file extension for compiled C++ test sources.
9684
 
objext=o
9685
 
objext_CXX=$objext
9686
 
 
9687
 
# Code to be used in simple compile tests
9688
 
lt_simple_compile_test_code="int some_variable = 0;\n"
9689
 
 
9690
 
# Code to be used in simple link tests
9691
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
9692
 
 
9693
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9694
 
 
9695
 
# If no C compiler was specified, use CC.
9696
 
LTCC=${LTCC-"$CC"}
9697
 
 
9698
 
# If no C compiler flags were specified, use CFLAGS.
9699
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9700
 
 
9701
 
# Allow CC to be a program name with arguments.
9702
 
compiler=$CC
9703
 
 
9704
 
 
9705
 
# save warnings/boilerplate of simple test code
9706
 
ac_outfile=conftest.$ac_objext
9707
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
9708
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9709
 
_lt_compiler_boilerplate=`cat conftest.err`
9710
 
$rm conftest*
9711
 
 
9712
 
ac_outfile=conftest.$ac_objext
9713
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
9714
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9715
 
_lt_linker_boilerplate=`cat conftest.err`
9716
 
$rm conftest*
9717
 
 
9718
 
 
9719
 
# Allow CC to be a program name with arguments.
9720
 
lt_save_CC=$CC
9721
 
lt_save_LD=$LD
9722
 
lt_save_GCC=$GCC
9723
 
GCC=$GXX
9724
 
lt_save_with_gnu_ld=$with_gnu_ld
9725
 
lt_save_path_LD=$lt_cv_path_LD
9726
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9727
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9728
 
else
9729
 
  $as_unset lt_cv_prog_gnu_ld
9730
 
fi
9731
 
if test -n "${lt_cv_path_LDCXX+set}"; then
9732
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
9733
 
else
9734
 
  $as_unset lt_cv_path_LD
9735
 
fi
9736
 
test -z "${LDCXX+set}" || LD=$LDCXX
9737
 
CC=${CXX-"c++"}
9738
 
compiler=$CC
9739
 
compiler_CXX=$CC
9740
 
for cc_temp in $compiler""; do
9741
 
  case $cc_temp in
9742
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9743
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9744
 
    \-*) ;;
9745
 
    *) break;;
9746
 
  esac
9747
 
done
9748
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9749
 
 
9750
 
 
9751
 
# We don't want -fno-exception wen compiling C++ code, so set the
9752
 
# no_builtin_flag separately
9753
 
if test "$GXX" = yes; then
9754
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9755
 
else
9756
 
  lt_prog_compiler_no_builtin_flag_CXX=
9757
 
fi
9758
 
 
9759
 
if test "$GXX" = yes; then
9760
 
  # Set up default GNU C++ configuration
9761
 
 
9762
 
 
9763
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
9764
 
if test "${with_gnu_ld+set}" = set; then
9765
 
  withval="$with_gnu_ld"
9766
 
  test "$withval" = no || with_gnu_ld=yes
9767
 
else
9768
 
  with_gnu_ld=no
9769
 
fi;
9770
 
ac_prog=ld
9771
 
if test "$GCC" = yes; then
9772
 
  # Check if gcc -print-prog-name=ld gives a path.
9773
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9774
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9775
 
  case $host in
9776
 
  *-*-mingw*)
9777
 
    # gcc leaves a trailing carriage return which upsets mingw
9778
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9779
 
  *)
9780
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9781
 
  esac
9782
 
  case $ac_prog in
9783
 
    # Accept absolute paths.
9784
 
    [\\/]* | ?:[\\/]*)
9785
 
      re_direlt='/[^/][^/]*/\.\./'
9786
 
      # Canonicalize the pathname of ld
9787
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9788
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9789
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9790
 
      done
9791
 
      test -z "$LD" && LD="$ac_prog"
9792
 
      ;;
9793
 
  "")
9794
 
    # If it fails, then pretend we aren't using GCC.
9795
 
    ac_prog=ld
9796
 
    ;;
9797
 
  *)
9798
 
    # If it is relative, then search for the first ld in PATH.
9799
 
    with_gnu_ld=unknown
9800
 
    ;;
9801
 
  esac
9802
 
elif test "$with_gnu_ld" = yes; then
9803
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
9804
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9805
 
else
9806
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9807
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9808
 
fi
9809
 
if test "${lt_cv_path_LD+set}" = set; then
9810
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9811
 
else
9812
 
  if test -z "$LD"; then
9813
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9814
 
  for ac_dir in $PATH; do
9815
 
    IFS="$lt_save_ifs"
9816
 
    test -z "$ac_dir" && ac_dir=.
9817
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9818
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
9819
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
9820
 
      # but apparently some variants of GNU ld only accept -v.
9821
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
9822
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9823
 
      *GNU* | *'with BFD'*)
9824
 
        test "$with_gnu_ld" != no && break
9825
 
        ;;
9826
 
      *)
9827
 
        test "$with_gnu_ld" != yes && break
9828
 
        ;;
9829
 
      esac
9830
 
    fi
9831
 
  done
9832
 
  IFS="$lt_save_ifs"
9833
 
else
9834
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
9835
 
fi
9836
 
fi
9837
 
 
9838
 
LD="$lt_cv_path_LD"
9839
 
if test -n "$LD"; then
9840
 
  echo "$as_me:$LINENO: result: $LD" >&5
9841
 
echo "${ECHO_T}$LD" >&6
9842
 
else
9843
 
  echo "$as_me:$LINENO: result: no" >&5
9844
 
echo "${ECHO_T}no" >&6
9845
 
fi
9846
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9847
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9848
 
   { (exit 1); exit 1; }; }
9849
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9850
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9851
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
9852
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9853
 
else
9854
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
9855
 
case `$LD -v 2>&1 </dev/null` in
9856
 
*GNU* | *'with BFD'*)
9857
 
  lt_cv_prog_gnu_ld=yes
9858
 
  ;;
9859
 
*)
9860
 
  lt_cv_prog_gnu_ld=no
9861
 
  ;;
9862
 
esac
9863
 
fi
9864
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9865
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9866
 
with_gnu_ld=$lt_cv_prog_gnu_ld
9867
 
 
9868
 
 
9869
 
 
9870
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
9871
 
  # archiving commands below assume that GNU ld is being used.
9872
 
  if test "$with_gnu_ld" = yes; then
9873
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9874
 
    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'
9875
 
 
9876
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9877
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9878
 
 
9879
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
9880
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9881
 
    #     investigate it a little bit more. (MM)
9882
 
    wlarc='${wl}'
9883
 
 
9884
 
    # ancient GNU ld didn't support --whole-archive et. al.
9885
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9886
 
        grep 'no-whole-archive' > /dev/null; then
9887
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9888
 
    else
9889
 
      whole_archive_flag_spec_CXX=
9890
 
    fi
9891
 
  else
9892
 
    with_gnu_ld=no
9893
 
    wlarc=
9894
 
 
9895
 
    # A generic and very simple default shared library creation
9896
 
    # command for GNU C++ for the case where it uses the native
9897
 
    # linker, instead of GNU ld.  If possible, this setting should
9898
 
    # overridden to take advantage of the native linker features on
9899
 
    # the platform it is being used on.
9900
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9901
 
  fi
9902
 
 
9903
 
  # Commands to make compiler produce verbose output that lists
9904
 
  # what "hidden" libraries, object files and flags are used when
9905
 
  # linking a shared library.
9906
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9907
 
 
9908
 
else
9909
 
  GXX=no
9910
 
  with_gnu_ld=no
9911
 
  wlarc=
9912
 
fi
9913
 
 
9914
 
# PORTME: fill in a description of your system's C++ link characteristics
9915
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9916
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9917
 
ld_shlibs_CXX=yes
9918
 
case $host_os in
9919
 
  aix3*)
9920
 
    # FIXME: insert proper C++ library support
9921
 
    ld_shlibs_CXX=no
9922
 
    ;;
9923
 
  aix4* | aix5*)
9924
 
    if test "$host_cpu" = ia64; then
9925
 
      # On IA64, the linker does run time linking by default, so we don't
9926
 
      # have to do anything special.
9927
 
      aix_use_runtimelinking=no
9928
 
      exp_sym_flag='-Bexport'
9929
 
      no_entry_flag=""
9930
 
    else
9931
 
      aix_use_runtimelinking=no
9932
 
 
9933
 
      # Test if we are trying to use run time linking or normal
9934
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9935
 
      # need to do runtime linking.
9936
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9937
 
        for ld_flag in $LDFLAGS; do
9938
 
          case $ld_flag in
9939
 
          *-brtl*)
9940
 
            aix_use_runtimelinking=yes
9941
 
            break
9942
 
            ;;
9943
 
          esac
9944
 
        done
9945
 
        ;;
9946
 
      esac
9947
 
 
9948
 
      exp_sym_flag='-bexport'
9949
 
      no_entry_flag='-bnoentry'
9950
 
    fi
9951
 
 
9952
 
    # When large executables or shared objects are built, AIX ld can
9953
 
    # have problems creating the table of contents.  If linking a library
9954
 
    # or program results in "error TOC overflow" add -mminimal-toc to
9955
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9956
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9957
 
 
9958
 
    archive_cmds_CXX=''
9959
 
    hardcode_direct_CXX=yes
9960
 
    hardcode_libdir_separator_CXX=':'
9961
 
    link_all_deplibs_CXX=yes
9962
 
 
9963
 
    if test "$GXX" = yes; then
9964
 
      case $host_os in aix4.[012]|aix4.[012].*)
9965
 
      # We only want to do this on AIX 4.2 and lower, the check
9966
 
      # below for broken collect2 doesn't work under 4.3+
9967
 
        collect2name=`${CC} -print-prog-name=collect2`
9968
 
        if test -f "$collect2name" && \
9969
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
9970
 
        then
9971
 
          # We have reworked collect2
9972
 
          hardcode_direct_CXX=yes
9973
 
        else
9974
 
          # We have old collect2
9975
 
          hardcode_direct_CXX=unsupported
9976
 
          # It fails to find uninstalled libraries when the uninstalled
9977
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
9978
 
          # to unsupported forces relinking
9979
 
          hardcode_minus_L_CXX=yes
9980
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
9981
 
          hardcode_libdir_separator_CXX=
9982
 
        fi
9983
 
        ;;
9984
 
      esac
9985
 
      shared_flag='-shared'
9986
 
      if test "$aix_use_runtimelinking" = yes; then
9987
 
        shared_flag="$shared_flag "'${wl}-G'
9988
 
      fi
9989
 
    else
9990
 
      # not using gcc
9991
 
      if test "$host_cpu" = ia64; then
9992
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9993
 
        # chokes on -Wl,-G. The following line is correct:
9994
 
        shared_flag='-G'
9995
 
      else
9996
 
        if test "$aix_use_runtimelinking" = yes; then
9997
 
          shared_flag='${wl}-G'
9998
 
        else
9999
 
          shared_flag='${wl}-bM:SRE'
10000
 
        fi
10001
 
      fi
10002
 
    fi
10003
 
 
10004
 
    # It seems that -bexpall does not export symbols beginning with
10005
 
    # underscore (_), so it is better to generate a list of symbols to export.
10006
 
    always_export_symbols_CXX=yes
10007
 
    if test "$aix_use_runtimelinking" = yes; then
10008
 
      # Warning - without using the other runtime loading flags (-brtl),
10009
 
      # -berok will link without error, but may produce a broken library.
10010
 
      allow_undefined_flag_CXX='-berok'
10011
 
      # Determine the default libpath from the value encoded in an empty executable.
10012
 
      cat >conftest.$ac_ext <<_ACEOF
10013
 
/* confdefs.h.  */
10014
 
_ACEOF
10015
 
cat confdefs.h >>conftest.$ac_ext
10016
 
cat >>conftest.$ac_ext <<_ACEOF
10017
 
/* end confdefs.h.  */
10018
 
 
10019
 
int
10020
 
main ()
10021
 
{
10022
 
 
10023
 
  ;
10024
 
  return 0;
10025
 
}
10026
 
_ACEOF
10027
 
rm -f conftest.$ac_objext conftest$ac_exeext
10028
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10029
 
  (eval $ac_link) 2>conftest.er1
10030
 
  ac_status=$?
10031
 
  grep -v '^ *+' conftest.er1 >conftest.err
10032
 
  rm -f conftest.er1
10033
 
  cat conftest.err >&5
10034
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035
 
  (exit $ac_status); } &&
10036
 
         { ac_try='test -z "$ac_cxx_werror_flag"
10037
 
                         || test ! -s conftest.err'
10038
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10039
 
  (eval $ac_try) 2>&5
10040
 
  ac_status=$?
10041
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042
 
  (exit $ac_status); }; } &&
10043
 
         { ac_try='test -s conftest$ac_exeext'
10044
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10045
 
  (eval $ac_try) 2>&5
10046
 
  ac_status=$?
10047
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10048
 
  (exit $ac_status); }; }; then
10049
 
 
10050
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10051
 
}'`
10052
 
# Check for a 64-bit object if we didn't find anything.
10053
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10054
 
}'`; fi
10055
 
else
10056
 
  echo "$as_me: failed program was:" >&5
10057
 
sed 's/^/| /' conftest.$ac_ext >&5
10058
 
 
10059
 
fi
10060
 
rm -f conftest.err conftest.$ac_objext \
10061
 
      conftest$ac_exeext conftest.$ac_ext
10062
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10063
 
 
10064
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10065
 
 
10066
 
      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"
10067
 
     else
10068
 
      if test "$host_cpu" = ia64; then
10069
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
10070
 
        allow_undefined_flag_CXX="-z nodefs"
10071
 
        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"
10072
 
      else
10073
 
        # Determine the default libpath from the value encoded in an empty executable.
10074
 
        cat >conftest.$ac_ext <<_ACEOF
10075
 
/* confdefs.h.  */
10076
 
_ACEOF
10077
 
cat confdefs.h >>conftest.$ac_ext
10078
 
cat >>conftest.$ac_ext <<_ACEOF
10079
 
/* end confdefs.h.  */
10080
 
 
10081
 
int
10082
 
main ()
10083
 
{
10084
 
 
10085
 
  ;
10086
 
  return 0;
10087
 
}
10088
 
_ACEOF
10089
 
rm -f conftest.$ac_objext conftest$ac_exeext
10090
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10091
 
  (eval $ac_link) 2>conftest.er1
10092
 
  ac_status=$?
10093
 
  grep -v '^ *+' conftest.er1 >conftest.err
10094
 
  rm -f conftest.er1
10095
 
  cat conftest.err >&5
10096
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10097
 
  (exit $ac_status); } &&
10098
 
         { ac_try='test -z "$ac_cxx_werror_flag"
10099
 
                         || test ! -s conftest.err'
10100
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10101
 
  (eval $ac_try) 2>&5
10102
 
  ac_status=$?
10103
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10104
 
  (exit $ac_status); }; } &&
10105
 
         { ac_try='test -s conftest$ac_exeext'
10106
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10107
 
  (eval $ac_try) 2>&5
10108
 
  ac_status=$?
10109
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10110
 
  (exit $ac_status); }; }; then
10111
 
 
10112
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10113
 
}'`
10114
 
# Check for a 64-bit object if we didn't find anything.
10115
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10116
 
}'`; fi
10117
 
else
10118
 
  echo "$as_me: failed program was:" >&5
10119
 
sed 's/^/| /' conftest.$ac_ext >&5
10120
 
 
10121
 
fi
10122
 
rm -f conftest.err conftest.$ac_objext \
10123
 
      conftest$ac_exeext conftest.$ac_ext
10124
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10125
 
 
10126
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10127
 
        # Warning - without using the other run time loading flags,
10128
 
        # -berok will link without error, but may produce a broken library.
10129
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
10130
 
        allow_undefined_flag_CXX=' ${wl}-berok'
10131
 
        # Exported symbols can be pulled into shared objects from archives
10132
 
        whole_archive_flag_spec_CXX='$convenience'
10133
 
        archive_cmds_need_lc_CXX=yes
10134
 
        # This is similar to how AIX traditionally builds its shared libraries.
10135
 
        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'
10136
 
      fi
10137
 
    fi
10138
 
    ;;
10139
 
 
10140
 
  beos*)
10141
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10142
 
      allow_undefined_flag_CXX=unsupported
10143
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10144
 
      # support --undefined.  This deserves some investigation.  FIXME
10145
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10146
 
    else
10147
 
      ld_shlibs_CXX=no
10148
 
    fi
10149
 
    ;;
10150
 
 
10151
 
  chorus*)
10152
 
    case $cc_basename in
10153
 
      *)
10154
 
        # FIXME: insert proper C++ library support
10155
 
        ld_shlibs_CXX=no
10156
 
        ;;
10157
 
    esac
10158
 
    ;;
10159
 
 
10160
 
  cygwin* | mingw* | pw32*)
10161
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10162
 
    # as there is no search path for DLLs.
10163
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
10164
 
    allow_undefined_flag_CXX=unsupported
10165
 
    always_export_symbols_CXX=no
10166
 
    enable_shared_with_static_runtimes_CXX=yes
10167
 
 
10168
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10169
 
      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'
10170
 
      # If the export-symbols file already is a .def file (1st line
10171
 
      # is EXPORTS), use it as is; otherwise, prepend...
10172
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10173
 
        cp $export_symbols $output_objdir/$soname.def;
10174
 
      else
10175
 
        echo EXPORTS > $output_objdir/$soname.def;
10176
 
        cat $export_symbols >> $output_objdir/$soname.def;
10177
 
      fi~
10178
 
      $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'
10179
 
    else
10180
 
      ld_shlibs_CXX=no
10181
 
    fi
10182
 
  ;;
10183
 
      darwin* | rhapsody*)
10184
 
        case $host_os in
10185
 
        rhapsody* | darwin1.[012])
10186
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
10187
 
         ;;
10188
 
       *) # Darwin 1.3 on
10189
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10190
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10191
 
         else
10192
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
10193
 
             10.[012])
10194
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10195
 
               ;;
10196
 
             10.*)
10197
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10198
 
               ;;
10199
 
           esac
10200
 
         fi
10201
 
         ;;
10202
 
        esac
10203
 
      archive_cmds_need_lc_CXX=no
10204
 
      hardcode_direct_CXX=no
10205
 
      hardcode_automatic_CXX=yes
10206
 
      hardcode_shlibpath_var_CXX=unsupported
10207
 
      whole_archive_flag_spec_CXX=''
10208
 
      link_all_deplibs_CXX=yes
10209
 
 
10210
 
    if test "$GXX" = yes ; then
10211
 
      lt_int_apple_cc_single_mod=no
10212
 
      output_verbose_link_cmd='echo'
10213
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
10214
 
       lt_int_apple_cc_single_mod=yes
10215
 
      fi
10216
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10217
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10218
 
      else
10219
 
          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'
10220
 
        fi
10221
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10222
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10223
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10224
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10225
 
          else
10226
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10227
 
          fi
10228
 
            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}'
10229
 
      else
10230
 
      case $cc_basename in
10231
 
        xlc*)
10232
 
         output_verbose_link_cmd='echo'
10233
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
10234
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10235
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10236
 
          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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10237
 
          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}'
10238
 
          ;;
10239
 
       *)
10240
 
         ld_shlibs_CXX=no
10241
 
          ;;
10242
 
      esac
10243
 
      fi
10244
 
        ;;
10245
 
 
10246
 
  dgux*)
10247
 
    case $cc_basename in
10248
 
      ec++*)
10249
 
        # FIXME: insert proper C++ library support
10250
 
        ld_shlibs_CXX=no
10251
 
        ;;
10252
 
      ghcx*)
10253
 
        # Green Hills C++ Compiler
10254
 
        # FIXME: insert proper C++ library support
10255
 
        ld_shlibs_CXX=no
10256
 
        ;;
10257
 
      *)
10258
 
        # FIXME: insert proper C++ library support
10259
 
        ld_shlibs_CXX=no
10260
 
        ;;
10261
 
    esac
10262
 
    ;;
10263
 
  freebsd[12]*)
10264
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
10265
 
    ld_shlibs_CXX=no
10266
 
    ;;
10267
 
  freebsd-elf*)
10268
 
    archive_cmds_need_lc_CXX=no
10269
 
    ;;
10270
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
10271
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10272
 
    # conventions
10273
 
    ld_shlibs_CXX=yes
10274
 
    ;;
10275
 
  gnu*)
10276
 
    ;;
10277
 
  hpux9*)
10278
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10279
 
    hardcode_libdir_separator_CXX=:
10280
 
    export_dynamic_flag_spec_CXX='${wl}-E'
10281
 
    hardcode_direct_CXX=yes
10282
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
10283
 
                                # but as the default
10284
 
                                # location of the library.
10285
 
 
10286
 
    case $cc_basename in
10287
 
    CC*)
10288
 
      # FIXME: insert proper C++ library support
10289
 
      ld_shlibs_CXX=no
10290
 
      ;;
10291
 
    aCC*)
10292
 
      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'
10293
 
      # Commands to make compiler produce verbose output that lists
10294
 
      # what "hidden" libraries, object files and flags are used when
10295
 
      # linking a shared library.
10296
 
      #
10297
 
      # There doesn't appear to be a way to prevent this compiler from
10298
 
      # explicitly linking system object files so we need to strip them
10299
 
      # from the output so that they don't get included in the library
10300
 
      # dependencies.
10301
 
      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'
10302
 
      ;;
10303
 
    *)
10304
 
      if test "$GXX" = yes; then
10305
 
        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'
10306
 
      else
10307
 
        # FIXME: insert proper C++ library support
10308
 
        ld_shlibs_CXX=no
10309
 
      fi
10310
 
      ;;
10311
 
    esac
10312
 
    ;;
10313
 
  hpux10*|hpux11*)
10314
 
    if test $with_gnu_ld = no; then
10315
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10316
 
      hardcode_libdir_separator_CXX=:
10317
 
 
10318
 
      case $host_cpu in
10319
 
      hppa*64*|ia64*)
10320
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10321
 
        ;;
10322
 
      *)
10323
 
        export_dynamic_flag_spec_CXX='${wl}-E'
10324
 
        ;;
10325
 
      esac
10326
 
    fi
10327
 
    case $host_cpu in
10328
 
    hppa*64*|ia64*)
10329
 
      hardcode_direct_CXX=no
10330
 
      hardcode_shlibpath_var_CXX=no
10331
 
      ;;
10332
 
    *)
10333
 
      hardcode_direct_CXX=yes
10334
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
10335
 
                                              # but as the default
10336
 
                                              # location of the library.
10337
 
      ;;
10338
 
    esac
10339
 
 
10340
 
    case $cc_basename in
10341
 
      CC*)
10342
 
        # FIXME: insert proper C++ library support
10343
 
        ld_shlibs_CXX=no
10344
 
        ;;
10345
 
      aCC*)
10346
 
        case $host_cpu in
10347
 
        hppa*64*)
10348
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10349
 
          ;;
10350
 
        ia64*)
10351
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10352
 
          ;;
10353
 
        *)
10354
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10355
 
          ;;
10356
 
        esac
10357
 
        # Commands to make compiler produce verbose output that lists
10358
 
        # what "hidden" libraries, object files and flags are used when
10359
 
        # linking a shared library.
10360
 
        #
10361
 
        # There doesn't appear to be a way to prevent this compiler from
10362
 
        # explicitly linking system object files so we need to strip them
10363
 
        # from the output so that they don't get included in the library
10364
 
        # dependencies.
10365
 
        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'
10366
 
        ;;
10367
 
      *)
10368
 
        if test "$GXX" = yes; then
10369
 
          if test $with_gnu_ld = no; then
10370
 
            case $host_cpu in
10371
 
            hppa*64*)
10372
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10373
 
              ;;
10374
 
            ia64*)
10375
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10376
 
              ;;
10377
 
            *)
10378
 
              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'
10379
 
              ;;
10380
 
            esac
10381
 
          fi
10382
 
        else
10383
 
          # FIXME: insert proper C++ library support
10384
 
          ld_shlibs_CXX=no
10385
 
        fi
10386
 
        ;;
10387
 
    esac
10388
 
    ;;
10389
 
  interix3*)
10390
 
    hardcode_direct_CXX=no
10391
 
    hardcode_shlibpath_var_CXX=no
10392
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10393
 
    export_dynamic_flag_spec_CXX='${wl}-E'
10394
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10395
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
10396
 
    # default) and relocated if they conflict, which is a slow very memory
10397
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
10398
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10399
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10400
 
    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'
10401
 
    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'
10402
 
    ;;
10403
 
  irix5* | irix6*)
10404
 
    case $cc_basename in
10405
 
      CC*)
10406
 
        # SGI C++
10407
 
        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'
10408
 
 
10409
 
        # Archives containing C++ object files must be created using
10410
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
10411
 
        # necessary to make sure instantiated templates are included
10412
 
        # in the archive.
10413
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10414
 
        ;;
10415
 
      *)
10416
 
        if test "$GXX" = yes; then
10417
 
          if test "$with_gnu_ld" = no; then
10418
 
            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'
10419
 
          else
10420
 
            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'
10421
 
          fi
10422
 
        fi
10423
 
        link_all_deplibs_CXX=yes
10424
 
        ;;
10425
 
    esac
10426
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10427
 
    hardcode_libdir_separator_CXX=:
10428
 
    ;;
10429
 
  linux*)
10430
 
    case $cc_basename in
10431
 
      KCC*)
10432
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10433
 
 
10434
 
        # KCC will only create a shared library if the output file
10435
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
10436
 
        # to its proper name (with version) after linking.
10437
 
        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'
10438
 
        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'
10439
 
        # Commands to make compiler produce verbose output that lists
10440
 
        # what "hidden" libraries, object files and flags are used when
10441
 
        # linking a shared library.
10442
 
        #
10443
 
        # There doesn't appear to be a way to prevent this compiler from
10444
 
        # explicitly linking system object files so we need to strip them
10445
 
        # from the output so that they don't get included in the library
10446
 
        # dependencies.
10447
 
        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'
10448
 
 
10449
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10450
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10451
 
 
10452
 
        # Archives containing C++ object files must be created using
10453
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10454
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10455
 
        ;;
10456
 
      icpc*)
10457
 
        # Intel C++
10458
 
        with_gnu_ld=yes
10459
 
        # version 8.0 and above of icpc choke on multiply defined symbols
10460
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
10461
 
        # earlier do not add the objects themselves.
10462
 
        case `$CC -V 2>&1` in
10463
 
        *"Version 7."*)
10464
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10465
 
          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'
10466
 
          ;;
10467
 
        *)  # Version 8.0 or newer
10468
 
          tmp_idyn=
10469
 
          case $host_cpu in
10470
 
            ia64*) tmp_idyn=' -i_dynamic';;
10471
 
          esac
10472
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10473
 
          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'
10474
 
          ;;
10475
 
        esac
10476
 
        archive_cmds_need_lc_CXX=no
10477
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10478
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10479
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10480
 
        ;;
10481
 
      pgCC*)
10482
 
        # Portland Group C++ compiler
10483
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10484
 
        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'
10485
 
 
10486
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10487
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10488
 
        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'
10489
 
        ;;
10490
 
      cxx*)
10491
 
        # Compaq C++
10492
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10493
 
        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'
10494
 
 
10495
 
        runpath_var=LD_RUN_PATH
10496
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10497
 
        hardcode_libdir_separator_CXX=:
10498
 
 
10499
 
        # Commands to make compiler produce verbose output that lists
10500
 
        # what "hidden" libraries, object files and flags are used when
10501
 
        # linking a shared library.
10502
 
        #
10503
 
        # There doesn't appear to be a way to prevent this compiler from
10504
 
        # explicitly linking system object files so we need to strip them
10505
 
        # from the output so that they don't get included in the library
10506
 
        # dependencies.
10507
 
        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'
10508
 
        ;;
10509
 
    esac
10510
 
    ;;
10511
 
  lynxos*)
10512
 
    # FIXME: insert proper C++ library support
10513
 
    ld_shlibs_CXX=no
10514
 
    ;;
10515
 
  m88k*)
10516
 
    # FIXME: insert proper C++ library support
10517
 
    ld_shlibs_CXX=no
10518
 
    ;;
10519
 
  mvs*)
10520
 
    case $cc_basename in
10521
 
      cxx*)
10522
 
        # FIXME: insert proper C++ library support
10523
 
        ld_shlibs_CXX=no
10524
 
        ;;
10525
 
      *)
10526
 
        # FIXME: insert proper C++ library support
10527
 
        ld_shlibs_CXX=no
10528
 
        ;;
10529
 
    esac
10530
 
    ;;
10531
 
  netbsd*)
10532
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10533
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10534
 
      wlarc=
10535
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
10536
 
      hardcode_direct_CXX=yes
10537
 
      hardcode_shlibpath_var_CXX=no
10538
 
    fi
10539
 
    # Workaround some broken pre-1.5 toolchains
10540
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10541
 
    ;;
10542
 
  openbsd2*)
10543
 
    # C++ shared libraries are fairly broken
10544
 
    ld_shlibs_CXX=no
10545
 
    ;;
10546
 
  openbsd*)
10547
 
    hardcode_direct_CXX=yes
10548
 
    hardcode_shlibpath_var_CXX=no
10549
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10550
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10551
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10552
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10553
 
      export_dynamic_flag_spec_CXX='${wl}-E'
10554
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10555
 
    fi
10556
 
    output_verbose_link_cmd='echo'
10557
 
    ;;
10558
 
  osf3*)
10559
 
    case $cc_basename in
10560
 
      KCC*)
10561
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10562
 
 
10563
 
        # KCC will only create a shared library if the output file
10564
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
10565
 
        # to its proper name (with version) after linking.
10566
 
        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'
10567
 
 
10568
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10569
 
        hardcode_libdir_separator_CXX=:
10570
 
 
10571
 
        # Archives containing C++ object files must be created using
10572
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10573
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10574
 
 
10575
 
        ;;
10576
 
      RCC*)
10577
 
        # Rational C++ 2.4.1
10578
 
        # FIXME: insert proper C++ library support
10579
 
        ld_shlibs_CXX=no
10580
 
        ;;
10581
 
      cxx*)
10582
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10583
 
        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'
10584
 
 
10585
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10586
 
        hardcode_libdir_separator_CXX=:
10587
 
 
10588
 
        # Commands to make compiler produce verbose output that lists
10589
 
        # what "hidden" libraries, object files and flags are used when
10590
 
        # linking a shared library.
10591
 
        #
10592
 
        # There doesn't appear to be a way to prevent this compiler from
10593
 
        # explicitly linking system object files so we need to strip them
10594
 
        # from the output so that they don't get included in the library
10595
 
        # dependencies.
10596
 
        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'
10597
 
        ;;
10598
 
      *)
10599
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10600
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10601
 
          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'
10602
 
 
10603
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10604
 
          hardcode_libdir_separator_CXX=:
10605
 
 
10606
 
          # Commands to make compiler produce verbose output that lists
10607
 
          # what "hidden" libraries, object files and flags are used when
10608
 
          # linking a shared library.
10609
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10610
 
 
10611
 
        else
10612
 
          # FIXME: insert proper C++ library support
10613
 
          ld_shlibs_CXX=no
10614
 
        fi
10615
 
        ;;
10616
 
    esac
10617
 
    ;;
10618
 
  osf4* | osf5*)
10619
 
    case $cc_basename in
10620
 
      KCC*)
10621
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10622
 
 
10623
 
        # KCC will only create a shared library if the output file
10624
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
10625
 
        # to its proper name (with version) after linking.
10626
 
        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'
10627
 
 
10628
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10629
 
        hardcode_libdir_separator_CXX=:
10630
 
 
10631
 
        # Archives containing C++ object files must be created using
10632
 
        # the KAI C++ compiler.
10633
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10634
 
        ;;
10635
 
      RCC*)
10636
 
        # Rational C++ 2.4.1
10637
 
        # FIXME: insert proper C++ library support
10638
 
        ld_shlibs_CXX=no
10639
 
        ;;
10640
 
      cxx*)
10641
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
10642
 
        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'
10643
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10644
 
          echo "-hidden">> $lib.exp~
10645
 
          $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~
10646
 
          $rm $lib.exp'
10647
 
 
10648
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10649
 
        hardcode_libdir_separator_CXX=:
10650
 
 
10651
 
        # Commands to make compiler produce verbose output that lists
10652
 
        # what "hidden" libraries, object files and flags are used when
10653
 
        # linking a shared library.
10654
 
        #
10655
 
        # There doesn't appear to be a way to prevent this compiler from
10656
 
        # explicitly linking system object files so we need to strip them
10657
 
        # from the output so that they don't get included in the library
10658
 
        # dependencies.
10659
 
        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'
10660
 
        ;;
10661
 
      *)
10662
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10663
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10664
 
         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'
10665
 
 
10666
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10667
 
          hardcode_libdir_separator_CXX=:
10668
 
 
10669
 
          # Commands to make compiler produce verbose output that lists
10670
 
          # what "hidden" libraries, object files and flags are used when
10671
 
          # linking a shared library.
10672
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10673
 
 
10674
 
        else
10675
 
          # FIXME: insert proper C++ library support
10676
 
          ld_shlibs_CXX=no
10677
 
        fi
10678
 
        ;;
10679
 
    esac
10680
 
    ;;
10681
 
  psos*)
10682
 
    # FIXME: insert proper C++ library support
10683
 
    ld_shlibs_CXX=no
10684
 
    ;;
10685
 
  sunos4*)
10686
 
    case $cc_basename in
10687
 
      CC*)
10688
 
        # Sun C++ 4.x
10689
 
        # FIXME: insert proper C++ library support
10690
 
        ld_shlibs_CXX=no
10691
 
        ;;
10692
 
      lcc*)
10693
 
        # Lucid
10694
 
        # FIXME: insert proper C++ library support
10695
 
        ld_shlibs_CXX=no
10696
 
        ;;
10697
 
      *)
10698
 
        # FIXME: insert proper C++ library support
10699
 
        ld_shlibs_CXX=no
10700
 
        ;;
10701
 
    esac
10702
 
    ;;
10703
 
  solaris*)
10704
 
    case $cc_basename in
10705
 
      CC*)
10706
 
        # Sun C++ 4.2, 5.x and Centerline C++
10707
 
        archive_cmds_need_lc_CXX=yes
10708
 
        no_undefined_flag_CXX=' -zdefs'
10709
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10710
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10711
 
        $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'
10712
 
 
10713
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
10714
 
        hardcode_shlibpath_var_CXX=no
10715
 
        case $host_os in
10716
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
10717
 
          *)
10718
 
            # The C++ compiler is used as linker so we must use $wl
10719
 
            # flag to pass the commands to the underlying system
10720
 
            # linker. We must also pass each convience library through
10721
 
            # to the system linker between allextract/defaultextract.
10722
 
            # The C++ compiler will combine linker options so we
10723
 
            # cannot just pass the convience library names through
10724
 
            # without $wl.
10725
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
10726
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
10727
 
            ;;
10728
 
        esac
10729
 
        link_all_deplibs_CXX=yes
10730
 
 
10731
 
        output_verbose_link_cmd='echo'
10732
 
 
10733
 
        # Archives containing C++ object files must be created using
10734
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
10735
 
        # necessary to make sure instantiated templates are included
10736
 
        # in the archive.
10737
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10738
 
        ;;
10739
 
      gcx*)
10740
 
        # Green Hills C++ Compiler
10741
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10742
 
 
10743
 
        # The C++ compiler must be used to create the archive.
10744
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10745
 
        ;;
10746
 
      *)
10747
 
        # GNU C++ compiler with Solaris linker
10748
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10749
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10750
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
10751
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10752
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10753
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10754
 
 
10755
 
            # Commands to make compiler produce verbose output that lists
10756
 
            # what "hidden" libraries, object files and flags are used when
10757
 
            # linking a shared library.
10758
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10759
 
          else
10760
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
10761
 
            # platform.
10762
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10763
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10764
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10765
 
 
10766
 
            # Commands to make compiler produce verbose output that lists
10767
 
            # what "hidden" libraries, object files and flags are used when
10768
 
            # linking a shared library.
10769
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10770
 
          fi
10771
 
 
10772
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10773
 
        fi
10774
 
        ;;
10775
 
    esac
10776
 
    ;;
10777
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10778
 
    no_undefined_flag_CXX='${wl}-z,text'
10779
 
    archive_cmds_need_lc_CXX=no
10780
 
    hardcode_shlibpath_var_CXX=no
10781
 
    runpath_var='LD_RUN_PATH'
10782
 
 
10783
 
    case $cc_basename in
10784
 
      CC*)
10785
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10786
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10787
 
        ;;
10788
 
      *)
10789
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10790
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10791
 
        ;;
10792
 
    esac
10793
 
    ;;
10794
 
  sysv5* | sco3.2v5* | sco5v6*)
10795
 
    # Note: We can NOT use -z defs as we might desire, because we do not
10796
 
    # link with -lc, and that would cause any symbols used from libc to
10797
 
    # always be unresolved, which means just about no library would
10798
 
    # ever link correctly.  If we're not using GNU ld we use -z text
10799
 
    # though, which does catch some bad symbols but isn't as heavy-handed
10800
 
    # as -z defs.
10801
 
    # For security reasons, it is highly recommended that you always
10802
 
    # use absolute paths for naming shared libraries, and exclude the
10803
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
10804
 
    # requires that you compile everything twice, which is a pain.
10805
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
10806
 
    # non-empty value in the environment.  Most likely only useful for
10807
 
    # creating official distributions of packages.
10808
 
    # This is a hack until libtool officially supports absolute path
10809
 
    # names for shared libraries.
10810
 
    no_undefined_flag_CXX='${wl}-z,text'
10811
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
10812
 
    archive_cmds_need_lc_CXX=no
10813
 
    hardcode_shlibpath_var_CXX=no
10814
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
10815
 
    hardcode_libdir_separator_CXX=':'
10816
 
    link_all_deplibs_CXX=yes
10817
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
10818
 
    runpath_var='LD_RUN_PATH'
10819
 
 
10820
 
    case $cc_basename in
10821
 
      CC*)
10822
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10823
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10824
 
        ;;
10825
 
      *)
10826
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10827
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10828
 
        ;;
10829
 
    esac
10830
 
    ;;
10831
 
  tandem*)
10832
 
    case $cc_basename in
10833
 
      NCC*)
10834
 
        # NonStop-UX NCC 3.20
10835
 
        # FIXME: insert proper C++ library support
10836
 
        ld_shlibs_CXX=no
10837
 
        ;;
10838
 
      *)
10839
 
        # FIXME: insert proper C++ library support
10840
 
        ld_shlibs_CXX=no
10841
 
        ;;
10842
 
    esac
10843
 
    ;;
10844
 
  vxworks*)
10845
 
    # FIXME: insert proper C++ library support
10846
 
    ld_shlibs_CXX=no
10847
 
    ;;
10848
 
  *)
10849
 
    # FIXME: insert proper C++ library support
10850
 
    ld_shlibs_CXX=no
10851
 
    ;;
10852
 
esac
10853
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10854
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
10855
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
10856
 
 
10857
 
GCC_CXX="$GXX"
10858
 
LD_CXX="$LD"
10859
 
 
10860
 
 
10861
 
cat > conftest.$ac_ext <<EOF
10862
 
class Foo
10863
 
{
10864
 
public:
10865
 
  Foo (void) { a = 0; }
10866
 
private:
10867
 
  int a;
10868
 
};
10869
 
EOF
10870
 
 
10871
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10872
 
  (eval $ac_compile) 2>&5
10873
 
  ac_status=$?
10874
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10875
 
  (exit $ac_status); }; then
10876
 
  # Parse the compiler output and extract the necessary
10877
 
  # objects, libraries and library flags.
10878
 
 
10879
 
  # Sentinel used to keep track of whether or not we are before
10880
 
  # the conftest object file.
10881
 
  pre_test_object_deps_done=no
10882
 
 
10883
 
  # The `*' in the case matches for architectures that use `case' in
10884
 
  # $output_verbose_cmd can trigger glob expansion during the loop
10885
 
  # eval without this substitution.
10886
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10887
 
 
10888
 
  for p in `eval $output_verbose_link_cmd`; do
10889
 
    case $p in
10890
 
 
10891
 
    -L* | -R* | -l*)
10892
 
       # Some compilers place space between "-{L,R}" and the path.
10893
 
       # Remove the space.
10894
 
       if test $p = "-L" \
10895
 
          || test $p = "-R"; then
10896
 
         prev=$p
10897
 
         continue
10898
 
       else
10899
 
         prev=
10900
 
       fi
10901
 
 
10902
 
       if test "$pre_test_object_deps_done" = no; then
10903
 
         case $p in
10904
 
         -L* | -R*)
10905
 
           # Internal compiler library paths should come after those
10906
 
           # provided the user.  The postdeps already come after the
10907
 
           # user supplied libs so there is no need to process them.
10908
 
           if test -z "$compiler_lib_search_path_CXX"; then
10909
 
             compiler_lib_search_path_CXX="${prev}${p}"
10910
 
           else
10911
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10912
 
           fi
10913
 
           ;;
10914
 
         # The "-l" case would never come before the object being
10915
 
         # linked, so don't bother handling this case.
10916
 
         esac
10917
 
       else
10918
 
         if test -z "$postdeps_CXX"; then
10919
 
           postdeps_CXX="${prev}${p}"
10920
 
         else
10921
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10922
 
         fi
10923
 
       fi
10924
 
       ;;
10925
 
 
10926
 
    *.$objext)
10927
 
       # This assumes that the test object file only shows up
10928
 
       # once in the compiler output.
10929
 
       if test "$p" = "conftest.$objext"; then
10930
 
         pre_test_object_deps_done=yes
10931
 
         continue
10932
 
       fi
10933
 
 
10934
 
       if test "$pre_test_object_deps_done" = no; then
10935
 
         if test -z "$predep_objects_CXX"; then
10936
 
           predep_objects_CXX="$p"
10937
 
         else
10938
 
           predep_objects_CXX="$predep_objects_CXX $p"
10939
 
         fi
10940
 
       else
10941
 
         if test -z "$postdep_objects_CXX"; then
10942
 
           postdep_objects_CXX="$p"
10943
 
         else
10944
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
10945
 
         fi
10946
 
       fi
10947
 
       ;;
10948
 
 
10949
 
    *) ;; # Ignore the rest.
10950
 
 
10951
 
    esac
10952
 
  done
10953
 
 
10954
 
  # Clean up.
10955
 
  rm -f a.out a.exe
10956
 
else
10957
 
  echo "libtool.m4: error: problem compiling CXX test program"
10958
 
fi
10959
 
 
10960
 
$rm -f confest.$objext
10961
 
 
10962
 
# PORTME: override above test on systems where it is broken
10963
 
case $host_os in
10964
 
interix3*)
10965
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
10966
 
  # hack all around it, let's just trust "g++" to DTRT.
10967
 
  predep_objects_CXX=
10968
 
  postdep_objects_CXX=
10969
 
  postdeps_CXX=
10970
 
  ;;
10971
 
 
10972
 
solaris*)
10973
 
  case $cc_basename in
10974
 
  CC*)
10975
 
    # Adding this requires a known-good setup of shared libraries for
10976
 
    # Sun compiler versions before 5.6, else PIC objects from an old
10977
 
    # archive will be linked into the output, leading to subtle bugs.
10978
 
    postdeps_CXX='-lCstd -lCrun'
10979
 
    ;;
10980
 
  esac
10981
 
  ;;
10982
 
esac
10983
 
 
10984
 
 
10985
 
case " $postdeps_CXX " in
10986
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
10987
 
esac
10988
 
 
10989
 
lt_prog_compiler_wl_CXX=
10990
 
lt_prog_compiler_pic_CXX=
10991
 
lt_prog_compiler_static_CXX=
10992
 
 
10993
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10994
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10995
 
 
10996
 
  # C++ specific cases for pic, static, wl, etc.
10997
 
  if test "$GXX" = yes; then
10998
 
    lt_prog_compiler_wl_CXX='-Wl,'
10999
 
    lt_prog_compiler_static_CXX='-static'
11000
 
 
11001
 
    case $host_os in
11002
 
    aix*)
11003
 
      # All AIX code is PIC.
11004
 
      if test "$host_cpu" = ia64; then
11005
 
        # AIX 5 now supports IA64 processor
11006
 
        lt_prog_compiler_static_CXX='-Bstatic'
11007
 
      fi
11008
 
      ;;
11009
 
    amigaos*)
11010
 
      # FIXME: we need at least 68020 code to build shared libraries, but
11011
 
      # adding the `-m68020' flag to GCC prevents building anything better,
11012
 
      # like `-m68040'.
11013
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
11014
 
      ;;
11015
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11016
 
      # PIC is the default for these OSes.
11017
 
      ;;
11018
 
    mingw* | os2* | pw32*)
11019
 
      # This hack is so that the source file can tell whether it is being
11020
 
      # built for inclusion in a dll (and should export symbols for example).
11021
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
11022
 
      ;;
11023
 
    darwin* | rhapsody*)
11024
 
      # PIC is the default on this platform
11025
 
      # Common symbols not allowed in MH_DYLIB files
11026
 
      lt_prog_compiler_pic_CXX='-fno-common'
11027
 
      ;;
11028
 
    *djgpp*)
11029
 
      # DJGPP does not support shared libraries at all
11030
 
      lt_prog_compiler_pic_CXX=
11031
 
      ;;
11032
 
    interix3*)
11033
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11034
 
      # Instead, we relocate shared libraries at runtime.
11035
 
      ;;
11036
 
    sysv4*MP*)
11037
 
      if test -d /usr/nec; then
11038
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
11039
 
      fi
11040
 
      ;;
11041
 
    hpux*)
11042
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11043
 
      # not for PA HP-UX.
11044
 
      case $host_cpu in
11045
 
      hppa*64*|ia64*)
11046
 
        ;;
11047
 
      *)
11048
 
        lt_prog_compiler_pic_CXX='-fPIC'
11049
 
        ;;
11050
 
      esac
11051
 
      ;;
11052
 
    *)
11053
 
      lt_prog_compiler_pic_CXX='-fPIC'
11054
 
      ;;
11055
 
    esac
11056
 
  else
11057
 
    case $host_os in
11058
 
      aix4* | aix5*)
11059
 
        # All AIX code is PIC.
11060
 
        if test "$host_cpu" = ia64; then
11061
 
          # AIX 5 now supports IA64 processor
11062
 
          lt_prog_compiler_static_CXX='-Bstatic'
11063
 
        else
11064
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
11065
 
        fi
11066
 
        ;;
11067
 
      chorus*)
11068
 
        case $cc_basename in
11069
 
        cxch68*)
11070
 
          # Green Hills C++ Compiler
11071
 
          # _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"
11072
 
          ;;
11073
 
        esac
11074
 
        ;;
11075
 
       darwin*)
11076
 
         # PIC is the default on this platform
11077
 
         # Common symbols not allowed in MH_DYLIB files
11078
 
         case $cc_basename in
11079
 
           xlc*)
11080
 
           lt_prog_compiler_pic_CXX='-qnocommon'
11081
 
           lt_prog_compiler_wl_CXX='-Wl,'
11082
 
           ;;
11083
 
         esac
11084
 
       ;;
11085
 
      dgux*)
11086
 
        case $cc_basename in
11087
 
          ec++*)
11088
 
            lt_prog_compiler_pic_CXX='-KPIC'
11089
 
            ;;
11090
 
          ghcx*)
11091
 
            # Green Hills C++ Compiler
11092
 
            lt_prog_compiler_pic_CXX='-pic'
11093
 
            ;;
11094
 
          *)
11095
 
            ;;
11096
 
        esac
11097
 
        ;;
11098
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
11099
 
        # FreeBSD uses GNU C++
11100
 
        ;;
11101
 
      hpux9* | hpux10* | hpux11*)
11102
 
        case $cc_basename in
11103
 
          CC*)
11104
 
            lt_prog_compiler_wl_CXX='-Wl,'
11105
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
11106
 
            if test "$host_cpu" != ia64; then
11107
 
              lt_prog_compiler_pic_CXX='+Z'
11108
 
            fi
11109
 
            ;;
11110
 
          aCC*)
11111
 
            lt_prog_compiler_wl_CXX='-Wl,'
11112
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
11113
 
            case $host_cpu in
11114
 
            hppa*64*|ia64*)
11115
 
              # +Z the default
11116
 
              ;;
11117
 
            *)
11118
 
              lt_prog_compiler_pic_CXX='+Z'
11119
 
              ;;
11120
 
            esac
11121
 
            ;;
11122
 
          *)
11123
 
            ;;
11124
 
        esac
11125
 
        ;;
11126
 
      interix*)
11127
 
        # This is c89, which is MS Visual C++ (no shared libs)
11128
 
        # Anyone wants to do a port?
11129
 
        ;;
11130
 
      irix5* | irix6* | nonstopux*)
11131
 
        case $cc_basename in
11132
 
          CC*)
11133
 
            lt_prog_compiler_wl_CXX='-Wl,'
11134
 
            lt_prog_compiler_static_CXX='-non_shared'
11135
 
            # CC pic flag -KPIC is the default.
11136
 
            ;;
11137
 
          *)
11138
 
            ;;
11139
 
        esac
11140
 
        ;;
11141
 
      linux*)
11142
 
        case $cc_basename in
11143
 
          KCC*)
11144
 
            # KAI C++ Compiler
11145
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
11146
 
            lt_prog_compiler_pic_CXX='-fPIC'
11147
 
            ;;
11148
 
          icpc* | ecpc*)
11149
 
            # Intel C++
11150
 
            lt_prog_compiler_wl_CXX='-Wl,'
11151
 
            lt_prog_compiler_pic_CXX='-KPIC'
11152
 
            lt_prog_compiler_static_CXX='-static'
11153
 
            ;;
11154
 
          pgCC*)
11155
 
            # Portland Group C++ compiler.
11156
 
            lt_prog_compiler_wl_CXX='-Wl,'
11157
 
            lt_prog_compiler_pic_CXX='-fpic'
11158
 
            lt_prog_compiler_static_CXX='-Bstatic'
11159
 
            ;;
11160
 
          cxx*)
11161
 
            # Compaq C++
11162
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
11163
 
            # Linux and Compaq Tru64 Unix objects are PIC.
11164
 
            lt_prog_compiler_pic_CXX=
11165
 
            lt_prog_compiler_static_CXX='-non_shared'
11166
 
            ;;
11167
 
          *)
11168
 
            ;;
11169
 
        esac
11170
 
        ;;
11171
 
      lynxos*)
11172
 
        ;;
11173
 
      m88k*)
11174
 
        ;;
11175
 
      mvs*)
11176
 
        case $cc_basename in
11177
 
          cxx*)
11178
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
11179
 
            ;;
11180
 
          *)
11181
 
            ;;
11182
 
        esac
11183
 
        ;;
11184
 
      netbsd*)
11185
 
        ;;
11186
 
      osf3* | osf4* | osf5*)
11187
 
        case $cc_basename in
11188
 
          KCC*)
11189
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
11190
 
            ;;
11191
 
          RCC*)
11192
 
            # Rational C++ 2.4.1
11193
 
            lt_prog_compiler_pic_CXX='-pic'
11194
 
            ;;
11195
 
          cxx*)
11196
 
            # Digital/Compaq C++
11197
 
            lt_prog_compiler_wl_CXX='-Wl,'
11198
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
11199
 
            # Linux and Compaq Tru64 Unix objects are PIC.
11200
 
            lt_prog_compiler_pic_CXX=
11201
 
            lt_prog_compiler_static_CXX='-non_shared'
11202
 
            ;;
11203
 
          *)
11204
 
            ;;
11205
 
        esac
11206
 
        ;;
11207
 
      psos*)
11208
 
        ;;
11209
 
      solaris*)
11210
 
        case $cc_basename in
11211
 
          CC*)
11212
 
            # Sun C++ 4.2, 5.x and Centerline C++
11213
 
            lt_prog_compiler_pic_CXX='-KPIC'
11214
 
            lt_prog_compiler_static_CXX='-Bstatic'
11215
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
11216
 
            ;;
11217
 
          gcx*)
11218
 
            # Green Hills C++ Compiler
11219
 
            lt_prog_compiler_pic_CXX='-PIC'
11220
 
            ;;
11221
 
          *)
11222
 
            ;;
11223
 
        esac
11224
 
        ;;
11225
 
      sunos4*)
11226
 
        case $cc_basename in
11227
 
          CC*)
11228
 
            # Sun C++ 4.x
11229
 
            lt_prog_compiler_pic_CXX='-pic'
11230
 
            lt_prog_compiler_static_CXX='-Bstatic'
11231
 
            ;;
11232
 
          lcc*)
11233
 
            # Lucid
11234
 
            lt_prog_compiler_pic_CXX='-pic'
11235
 
            ;;
11236
 
          *)
11237
 
            ;;
11238
 
        esac
11239
 
        ;;
11240
 
      tandem*)
11241
 
        case $cc_basename in
11242
 
          NCC*)
11243
 
            # NonStop-UX NCC 3.20
11244
 
            lt_prog_compiler_pic_CXX='-KPIC'
11245
 
            ;;
11246
 
          *)
11247
 
            ;;
11248
 
        esac
11249
 
        ;;
11250
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11251
 
        case $cc_basename in
11252
 
          CC*)
11253
 
            lt_prog_compiler_wl_CXX='-Wl,'
11254
 
            lt_prog_compiler_pic_CXX='-KPIC'
11255
 
            lt_prog_compiler_static_CXX='-Bstatic'
11256
 
            ;;
11257
 
        esac
11258
 
        ;;
11259
 
      vxworks*)
11260
 
        ;;
11261
 
      *)
11262
 
        lt_prog_compiler_can_build_shared_CXX=no
11263
 
        ;;
11264
 
    esac
11265
 
  fi
11266
 
 
11267
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11268
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11269
 
 
11270
 
#
11271
 
# Check to make sure the PIC flag actually works.
11272
 
#
11273
 
if test -n "$lt_prog_compiler_pic_CXX"; then
11274
 
 
11275
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11276
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11277
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11278
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11279
 
else
11280
 
  lt_prog_compiler_pic_works_CXX=no
11281
 
  ac_outfile=conftest.$ac_objext
11282
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11283
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
11284
 
   # Insert the option either (1) after the last *FLAGS variable, or
11285
 
   # (2) before a word containing "conftest.", or (3) at the end.
11286
 
   # Note that $ac_compile itself does not contain backslashes and begins
11287
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11288
 
   # The option is referenced via a variable to avoid confusing sed.
11289
 
   lt_compile=`echo "$ac_compile" | $SED \
11290
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11291
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11292
 
   -e 's:$: $lt_compiler_flag:'`
11293
 
   (eval echo "\"\$as_me:11293: $lt_compile\"" >&5)
11294
 
   (eval "$lt_compile" 2>conftest.err)
11295
 
   ac_status=$?
11296
 
   cat conftest.err >&5
11297
 
   echo "$as_me:11297: \$? = $ac_status" >&5
11298
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
11299
 
     # The compiler can only warn and ignore the option if not recognized
11300
 
     # So say no if there are warnings other than the usual output.
11301
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11302
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11303
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11304
 
       lt_prog_compiler_pic_works_CXX=yes
11305
 
     fi
11306
 
   fi
11307
 
   $rm conftest*
11308
 
 
11309
 
fi
11310
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11311
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11312
 
 
11313
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11314
 
    case $lt_prog_compiler_pic_CXX in
11315
 
     "" | " "*) ;;
11316
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
11317
 
     esac
11318
 
else
11319
 
    lt_prog_compiler_pic_CXX=
11320
 
     lt_prog_compiler_can_build_shared_CXX=no
11321
 
fi
11322
 
 
11323
 
fi
11324
 
case $host_os in
11325
 
  # For platforms which do not support PIC, -DPIC is meaningless:
11326
 
  *djgpp*)
11327
 
    lt_prog_compiler_pic_CXX=
11328
 
    ;;
11329
 
  *)
11330
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
11331
 
    ;;
11332
 
esac
11333
 
 
11334
 
#
11335
 
# Check to make sure the static flag actually works.
11336
 
#
11337
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
11338
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11339
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11340
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11341
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11342
 
else
11343
 
  lt_prog_compiler_static_works_CXX=no
11344
 
   save_LDFLAGS="$LDFLAGS"
11345
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11346
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
11347
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11348
 
     # The linker can only warn and ignore the option if not recognized
11349
 
     # So say no if there are warnings
11350
 
     if test -s conftest.err; then
11351
 
       # Append any errors to the config.log.
11352
 
       cat conftest.err 1>&5
11353
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11354
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11355
 
       if diff conftest.exp conftest.er2 >/dev/null; then
11356
 
         lt_prog_compiler_static_works_CXX=yes
11357
 
       fi
11358
 
     else
11359
 
       lt_prog_compiler_static_works_CXX=yes
11360
 
     fi
11361
 
   fi
11362
 
   $rm conftest*
11363
 
   LDFLAGS="$save_LDFLAGS"
11364
 
 
11365
 
fi
11366
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11367
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
11368
 
 
11369
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
11370
 
    :
11371
 
else
11372
 
    lt_prog_compiler_static_CXX=
11373
 
fi
11374
 
 
11375
 
 
11376
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11377
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11378
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11379
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11380
 
else
11381
 
  lt_cv_prog_compiler_c_o_CXX=no
11382
 
   $rm -r conftest 2>/dev/null
11383
 
   mkdir conftest
11384
 
   cd conftest
11385
 
   mkdir out
11386
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11387
 
 
11388
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
11389
 
   # Insert the option either (1) after the last *FLAGS variable, or
11390
 
   # (2) before a word containing "conftest.", or (3) at the end.
11391
 
   # Note that $ac_compile itself does not contain backslashes and begins
11392
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11393
 
   lt_compile=`echo "$ac_compile" | $SED \
11394
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11395
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11396
 
   -e 's:$: $lt_compiler_flag:'`
11397
 
   (eval echo "\"\$as_me:11397: $lt_compile\"" >&5)
11398
 
   (eval "$lt_compile" 2>out/conftest.err)
11399
 
   ac_status=$?
11400
 
   cat out/conftest.err >&5
11401
 
   echo "$as_me:11401: \$? = $ac_status" >&5
11402
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11403
 
   then
11404
 
     # The compiler can only warn and ignore the option if not recognized
11405
 
     # So say no if there are warnings
11406
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11407
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11408
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11409
 
       lt_cv_prog_compiler_c_o_CXX=yes
11410
 
     fi
11411
 
   fi
11412
 
   chmod u+w . 2>&5
11413
 
   $rm conftest*
11414
 
   # SGI C++ compiler will create directory out/ii_files/ for
11415
 
   # template instantiation
11416
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
11417
 
   $rm out/* && rmdir out
11418
 
   cd ..
11419
 
   rmdir conftest
11420
 
   $rm conftest*
11421
 
 
11422
 
fi
11423
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11424
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11425
 
 
11426
 
 
11427
 
hard_links="nottested"
11428
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11429
 
  # do not overwrite the value of need_locks provided by the user
11430
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11431
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11432
 
  hard_links=yes
11433
 
  $rm conftest*
11434
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11435
 
  touch conftest.a
11436
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
11437
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11438
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
11439
 
echo "${ECHO_T}$hard_links" >&6
11440
 
  if test "$hard_links" = no; then
11441
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11442
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11443
 
    need_locks=warn
11444
 
  fi
11445
 
else
11446
 
  need_locks=no
11447
 
fi
11448
 
 
11449
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11450
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11451
 
 
11452
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11453
 
  case $host_os in
11454
 
  aix4* | aix5*)
11455
 
    # If we're using GNU nm, then we don't want the "-C" option.
11456
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
11457
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
11458
 
      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'
11459
 
    else
11460
 
      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'
11461
 
    fi
11462
 
    ;;
11463
 
  pw32*)
11464
 
    export_symbols_cmds_CXX="$ltdll_cmds"
11465
 
  ;;
11466
 
  cygwin* | mingw*)
11467
 
    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'
11468
 
  ;;
11469
 
  *)
11470
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11471
 
  ;;
11472
 
  esac
11473
 
 
11474
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11475
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
11476
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
11477
 
 
11478
 
#
11479
 
# Do we need to explicitly link libc?
11480
 
#
11481
 
case "x$archive_cmds_need_lc_CXX" in
11482
 
x|xyes)
11483
 
  # Assume -lc should be added
11484
 
  archive_cmds_need_lc_CXX=yes
11485
 
 
11486
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
11487
 
    case $archive_cmds_CXX in
11488
 
    *'~'*)
11489
 
      # FIXME: we may have to deal with multi-command sequences.
11490
 
      ;;
11491
 
    '$CC '*)
11492
 
      # Test whether the compiler implicitly links with -lc since on some
11493
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11494
 
      # to ld, don't add -lc before -lgcc.
11495
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11496
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11497
 
      $rm conftest*
11498
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11499
 
 
11500
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11501
 
  (eval $ac_compile) 2>&5
11502
 
  ac_status=$?
11503
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11504
 
  (exit $ac_status); } 2>conftest.err; then
11505
 
        soname=conftest
11506
 
        lib=conftest
11507
 
        libobjs=conftest.$ac_objext
11508
 
        deplibs=
11509
 
        wl=$lt_prog_compiler_wl_CXX
11510
 
        pic_flag=$lt_prog_compiler_pic_CXX
11511
 
        compiler_flags=-v
11512
 
        linker_flags=-v
11513
 
        verstring=
11514
 
        output_objdir=.
11515
 
        libname=conftest
11516
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
11517
 
        allow_undefined_flag_CXX=
11518
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11519
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11520
 
  ac_status=$?
11521
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11522
 
  (exit $ac_status); }
11523
 
        then
11524
 
          archive_cmds_need_lc_CXX=no
11525
 
        else
11526
 
          archive_cmds_need_lc_CXX=yes
11527
 
        fi
11528
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
11529
 
      else
11530
 
        cat conftest.err 1>&5
11531
 
      fi
11532
 
      $rm conftest*
11533
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11534
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11535
 
      ;;
11536
 
    esac
11537
 
  fi
11538
 
  ;;
11539
 
esac
11540
 
 
11541
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11542
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11543
 
library_names_spec=
11544
 
libname_spec='lib$name'
11545
 
soname_spec=
11546
 
shrext_cmds=".so"
11547
 
postinstall_cmds=
11548
 
postuninstall_cmds=
11549
 
finish_cmds=
11550
 
finish_eval=
11551
 
shlibpath_var=
11552
 
shlibpath_overrides_runpath=unknown
11553
 
version_type=none
11554
 
dynamic_linker="$host_os ld.so"
11555
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11556
 
if test "$GCC" = yes; then
11557
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11558
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11559
 
    # if the path contains ";" then we assume it to be the separator
11560
 
    # otherwise default to the standard path separator (i.e. ":") - it is
11561
 
    # assumed that no part of a normal pathname contains ";" but that should
11562
 
    # okay in the real world where ";" in dirpaths is itself problematic.
11563
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11564
 
  else
11565
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11566
 
  fi
11567
 
else
11568
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11569
 
fi
11570
 
need_lib_prefix=unknown
11571
 
hardcode_into_libs=no
11572
 
 
11573
 
# when you set need_version to no, make sure it does not cause -set_version
11574
 
# flags to be left without arguments
11575
 
need_version=unknown
11576
 
 
11577
 
case $host_os in
11578
 
aix3*)
11579
 
  version_type=linux
11580
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11581
 
  shlibpath_var=LIBPATH
11582
 
 
11583
 
  # AIX 3 has no versioning support, so we append a major version to the name.
11584
 
  soname_spec='${libname}${release}${shared_ext}$major'
11585
 
  ;;
11586
 
 
11587
 
aix4* | aix5*)
11588
 
  version_type=linux
11589
 
  need_lib_prefix=no
11590
 
  need_version=no
11591
 
  hardcode_into_libs=yes
11592
 
  if test "$host_cpu" = ia64; then
11593
 
    # AIX 5 supports IA64
11594
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11595
 
    shlibpath_var=LD_LIBRARY_PATH
11596
 
  else
11597
 
    # With GCC up to 2.95.x, collect2 would create an import file
11598
 
    # for dependence libraries.  The import file would start with
11599
 
    # the line `#! .'.  This would cause the generated library to
11600
 
    # depend on `.', always an invalid library.  This was fixed in
11601
 
    # development snapshots of GCC prior to 3.0.
11602
 
    case $host_os in
11603
 
      aix4 | aix4.[01] | aix4.[01].*)
11604
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11605
 
           echo ' yes '
11606
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11607
 
        :
11608
 
      else
11609
 
        can_build_shared=no
11610
 
      fi
11611
 
      ;;
11612
 
    esac
11613
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11614
 
    # soname into executable. Probably we can add versioning support to
11615
 
    # collect2, so additional links can be useful in future.
11616
 
    if test "$aix_use_runtimelinking" = yes; then
11617
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11618
 
      # instead of lib<name>.a to let people know that these are not
11619
 
      # typical AIX shared libraries.
11620
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11621
 
    else
11622
 
      # We preserve .a as extension for shared libraries through AIX4.2
11623
 
      # and later when we are not doing run time linking.
11624
 
      library_names_spec='${libname}${release}.a $libname.a'
11625
 
      soname_spec='${libname}${release}${shared_ext}$major'
11626
 
    fi
11627
 
    shlibpath_var=LIBPATH
11628
 
  fi
11629
 
  ;;
11630
 
 
11631
 
amigaos*)
11632
 
  library_names_spec='$libname.ixlibrary $libname.a'
11633
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
11634
 
  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'
11635
 
  ;;
11636
 
 
11637
 
beos*)
11638
 
  library_names_spec='${libname}${shared_ext}'
11639
 
  dynamic_linker="$host_os ld.so"
11640
 
  shlibpath_var=LIBRARY_PATH
11641
 
  ;;
11642
 
 
11643
 
bsdi[45]*)
11644
 
  version_type=linux
11645
 
  need_version=no
11646
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11647
 
  soname_spec='${libname}${release}${shared_ext}$major'
11648
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11649
 
  shlibpath_var=LD_LIBRARY_PATH
11650
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11651
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11652
 
  # the default ld.so.conf also contains /usr/contrib/lib and
11653
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11654
 
  # libtool to hard-code these into programs
11655
 
  ;;
11656
 
 
11657
 
cygwin* | mingw* | pw32*)
11658
 
  version_type=windows
11659
 
  shrext_cmds=".dll"
11660
 
  need_version=no
11661
 
  need_lib_prefix=no
11662
 
 
11663
 
  case $GCC,$host_os in
11664
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
11665
 
    library_names_spec='$libname.dll.a'
11666
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11667
 
    postinstall_cmds='base_file=`basename \${file}`~
11668
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11669
 
      dldir=$destdir/`dirname \$dlpath`~
11670
 
      test -d \$dldir || mkdir -p \$dldir~
11671
 
      $install_prog $dir/$dlname \$dldir/$dlname~
11672
 
      chmod a+x \$dldir/$dlname'
11673
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11674
 
      dlpath=$dir/\$dldll~
11675
 
       $rm \$dlpath'
11676
 
    shlibpath_overrides_runpath=yes
11677
 
 
11678
 
    case $host_os in
11679
 
    cygwin*)
11680
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11681
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11682
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11683
 
      ;;
11684
 
    mingw*)
11685
 
      # MinGW DLLs use traditional 'lib' prefix
11686
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11687
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11688
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11689
 
        # It is most probably a Windows format PATH printed by
11690
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11691
 
        # path with ; separators, and with drive letters. We can handle the
11692
 
        # drive letters (cygwin fileutils understands them), so leave them,
11693
 
        # especially as we might pass files found there to a mingw objdump,
11694
 
        # which wouldn't understand a cygwinified path. Ahh.
11695
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11696
 
      else
11697
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11698
 
      fi
11699
 
      ;;
11700
 
    pw32*)
11701
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11702
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11703
 
      ;;
11704
 
    esac
11705
 
    ;;
11706
 
 
11707
 
  *)
11708
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11709
 
    ;;
11710
 
  esac
11711
 
  dynamic_linker='Win32 ld.exe'
11712
 
  # FIXME: first we should search . and the directory the executable is in
11713
 
  shlibpath_var=PATH
11714
 
  ;;
11715
 
 
11716
 
darwin* | rhapsody*)
11717
 
  dynamic_linker="$host_os dyld"
11718
 
  version_type=darwin
11719
 
  need_lib_prefix=no
11720
 
  need_version=no
11721
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11722
 
  soname_spec='${libname}${release}${major}$shared_ext'
11723
 
  shlibpath_overrides_runpath=yes
11724
 
  shlibpath_var=DYLD_LIBRARY_PATH
11725
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11726
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11727
 
  if test "$GCC" = yes; then
11728
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
11729
 
  else
11730
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
11731
 
  fi
11732
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11733
 
  ;;
11734
 
 
11735
 
dgux*)
11736
 
  version_type=linux
11737
 
  need_lib_prefix=no
11738
 
  need_version=no
11739
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11740
 
  soname_spec='${libname}${release}${shared_ext}$major'
11741
 
  shlibpath_var=LD_LIBRARY_PATH
11742
 
  ;;
11743
 
 
11744
 
freebsd1*)
11745
 
  dynamic_linker=no
11746
 
  ;;
11747
 
 
11748
 
kfreebsd*-gnu)
11749
 
  version_type=linux
11750
 
  need_lib_prefix=no
11751
 
  need_version=no
11752
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11753
 
  soname_spec='${libname}${release}${shared_ext}$major'
11754
 
  shlibpath_var=LD_LIBRARY_PATH
11755
 
  shlibpath_overrides_runpath=no
11756
 
  hardcode_into_libs=yes
11757
 
  dynamic_linker='GNU ld.so'
11758
 
  ;;
11759
 
 
11760
 
freebsd* | dragonfly*)
11761
 
  # DragonFly does not have aout.  When/if they implement a new
11762
 
  # versioning mechanism, adjust this.
11763
 
  if test -x /usr/bin/objformat; then
11764
 
    objformat=`/usr/bin/objformat`
11765
 
  else
11766
 
    case $host_os in
11767
 
    freebsd[123]*) objformat=aout ;;
11768
 
    *) objformat=elf ;;
11769
 
    esac
11770
 
  fi
11771
 
  version_type=freebsd-$objformat
11772
 
  case $version_type in
11773
 
    freebsd-elf*)
11774
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11775
 
      need_version=no
11776
 
      need_lib_prefix=no
11777
 
      ;;
11778
 
    freebsd-*)
11779
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11780
 
      need_version=yes
11781
 
      ;;
11782
 
  esac
11783
 
  shlibpath_var=LD_LIBRARY_PATH
11784
 
  case $host_os in
11785
 
  freebsd2*)
11786
 
    shlibpath_overrides_runpath=yes
11787
 
    ;;
11788
 
  freebsd3.[01]* | freebsdelf3.[01]*)
11789
 
    shlibpath_overrides_runpath=yes
11790
 
    hardcode_into_libs=yes
11791
 
    ;;
11792
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11793
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11794
 
    shlibpath_overrides_runpath=no
11795
 
    hardcode_into_libs=yes
11796
 
    ;;
11797
 
  freebsd*) # from 4.6 on
11798
 
    shlibpath_overrides_runpath=yes
11799
 
    hardcode_into_libs=yes
11800
 
    ;;
11801
 
  esac
11802
 
  ;;
11803
 
 
11804
 
gnu*)
11805
 
  version_type=linux
11806
 
  need_lib_prefix=no
11807
 
  need_version=no
11808
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11809
 
  soname_spec='${libname}${release}${shared_ext}$major'
11810
 
  shlibpath_var=LD_LIBRARY_PATH
11811
 
  hardcode_into_libs=yes
11812
 
  ;;
11813
 
 
11814
 
hpux9* | hpux10* | hpux11*)
11815
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
11816
 
  # link against other versions.
11817
 
  version_type=sunos
11818
 
  need_lib_prefix=no
11819
 
  need_version=no
11820
 
  case $host_cpu in
11821
 
  ia64*)
11822
 
    shrext_cmds='.so'
11823
 
    hardcode_into_libs=yes
11824
 
    dynamic_linker="$host_os dld.so"
11825
 
    shlibpath_var=LD_LIBRARY_PATH
11826
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11827
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11828
 
    soname_spec='${libname}${release}${shared_ext}$major'
11829
 
    if test "X$HPUX_IA64_MODE" = X32; then
11830
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11831
 
    else
11832
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11833
 
    fi
11834
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11835
 
    ;;
11836
 
   hppa*64*)
11837
 
     shrext_cmds='.sl'
11838
 
     hardcode_into_libs=yes
11839
 
     dynamic_linker="$host_os dld.sl"
11840
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11841
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11842
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11843
 
     soname_spec='${libname}${release}${shared_ext}$major'
11844
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11845
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11846
 
     ;;
11847
 
   *)
11848
 
    shrext_cmds='.sl'
11849
 
    dynamic_linker="$host_os dld.sl"
11850
 
    shlibpath_var=SHLIB_PATH
11851
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11852
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11853
 
    soname_spec='${libname}${release}${shared_ext}$major'
11854
 
    ;;
11855
 
  esac
11856
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11857
 
  postinstall_cmds='chmod 555 $lib'
11858
 
  ;;
11859
 
 
11860
 
interix3*)
11861
 
  version_type=linux
11862
 
  need_lib_prefix=no
11863
 
  need_version=no
11864
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11865
 
  soname_spec='${libname}${release}${shared_ext}$major'
11866
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11867
 
  shlibpath_var=LD_LIBRARY_PATH
11868
 
  shlibpath_overrides_runpath=no
11869
 
  hardcode_into_libs=yes
11870
 
  ;;
11871
 
 
11872
 
irix5* | irix6* | nonstopux*)
11873
 
  case $host_os in
11874
 
    nonstopux*) version_type=nonstopux ;;
11875
 
    *)
11876
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
11877
 
                version_type=linux
11878
 
        else
11879
 
                version_type=irix
11880
 
        fi ;;
11881
 
  esac
11882
 
  need_lib_prefix=no
11883
 
  need_version=no
11884
 
  soname_spec='${libname}${release}${shared_ext}$major'
11885
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11886
 
  case $host_os in
11887
 
  irix5* | nonstopux*)
11888
 
    libsuff= shlibsuff=
11889
 
    ;;
11890
 
  *)
11891
 
    case $LD in # libtool.m4 will add one of these switches to LD
11892
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11893
 
      libsuff= shlibsuff= libmagic=32-bit;;
11894
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11895
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
11896
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11897
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11898
 
    *) libsuff= shlibsuff= libmagic=never-match;;
11899
 
    esac
11900
 
    ;;
11901
 
  esac
11902
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11903
 
  shlibpath_overrides_runpath=no
11904
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11905
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11906
 
  hardcode_into_libs=yes
11907
 
  ;;
11908
 
 
11909
 
# No shared lib support for Linux oldld, aout, or coff.
11910
 
linux*oldld* | linux*aout* | linux*coff*)
11911
 
  dynamic_linker=no
11912
 
  ;;
11913
 
 
11914
 
# This must be Linux ELF.
11915
 
linux*)
11916
 
  version_type=linux
11917
 
  need_lib_prefix=no
11918
 
  need_version=no
11919
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11920
 
  soname_spec='${libname}${release}${shared_ext}$major'
11921
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11922
 
  shlibpath_var=LD_LIBRARY_PATH
11923
 
  shlibpath_overrides_runpath=no
11924
 
  # This implies no fast_install, which is unacceptable.
11925
 
  # Some rework will be needed to allow for fast_install
11926
 
  # before this can be enabled.
11927
 
  hardcode_into_libs=yes
11928
 
 
11929
 
  # find out which ABI we are using
11930
 
  libsuff=
11931
 
  case "$host_cpu" in
11932
 
  x86_64*|s390x*|powerpc64*)
11933
 
    echo '#line 11933 "configure"' > conftest.$ac_ext
11934
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11935
 
  (eval $ac_compile) 2>&5
11936
 
  ac_status=$?
11937
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11938
 
  (exit $ac_status); }; then
11939
 
      case `/usr/bin/file conftest.$ac_objext` in
11940
 
      *64-bit*)
11941
 
        libsuff=64
11942
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
11943
 
        ;;
11944
 
      esac
11945
 
    fi
11946
 
    rm -rf conftest*
11947
 
    ;;
11948
 
  esac
11949
 
 
11950
 
  # Append ld.so.conf contents to the search path
11951
 
  if test -f /etc/ld.so.conf; then
11952
 
    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/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11953
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
11954
 
  fi
11955
 
 
11956
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11957
 
  # powerpc, because MkLinux only supported shared libraries with the
11958
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
11959
 
  # most powerpc-linux boxes support dynamic linking these days and
11960
 
  # people can always --disable-shared, the test was removed, and we
11961
 
  # assume the GNU/Linux dynamic linker is in use.
11962
 
  dynamic_linker='GNU/Linux ld.so'
11963
 
  ;;
11964
 
 
11965
 
knetbsd*-gnu)
11966
 
  version_type=linux
11967
 
  need_lib_prefix=no
11968
 
  need_version=no
11969
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11970
 
  soname_spec='${libname}${release}${shared_ext}$major'
11971
 
  shlibpath_var=LD_LIBRARY_PATH
11972
 
  shlibpath_overrides_runpath=no
11973
 
  hardcode_into_libs=yes
11974
 
  dynamic_linker='GNU ld.so'
11975
 
  ;;
11976
 
 
11977
 
netbsd*)
11978
 
  version_type=sunos
11979
 
  need_lib_prefix=no
11980
 
  need_version=no
11981
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11982
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11983
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11984
 
    dynamic_linker='NetBSD (a.out) ld.so'
11985
 
  else
11986
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11987
 
    soname_spec='${libname}${release}${shared_ext}$major'
11988
 
    dynamic_linker='NetBSD ld.elf_so'
11989
 
  fi
11990
 
  shlibpath_var=LD_LIBRARY_PATH
11991
 
  shlibpath_overrides_runpath=yes
11992
 
  hardcode_into_libs=yes
11993
 
  ;;
11994
 
 
11995
 
newsos6)
11996
 
  version_type=linux
11997
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11998
 
  shlibpath_var=LD_LIBRARY_PATH
11999
 
  shlibpath_overrides_runpath=yes
12000
 
  ;;
12001
 
 
12002
 
nto-qnx*)
12003
 
  version_type=linux
12004
 
  need_lib_prefix=no
12005
 
  need_version=no
12006
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12007
 
  soname_spec='${libname}${release}${shared_ext}$major'
12008
 
  shlibpath_var=LD_LIBRARY_PATH
12009
 
  shlibpath_overrides_runpath=yes
12010
 
  ;;
12011
 
 
12012
 
openbsd*)
12013
 
  version_type=sunos
12014
 
  sys_lib_dlsearch_path_spec="/usr/lib"
12015
 
  need_lib_prefix=no
12016
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12017
 
  case $host_os in
12018
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12019
 
    *)                         need_version=no  ;;
12020
 
  esac
12021
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12022
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12023
 
  shlibpath_var=LD_LIBRARY_PATH
12024
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12025
 
    case $host_os in
12026
 
      openbsd2.[89] | openbsd2.[89].*)
12027
 
        shlibpath_overrides_runpath=no
12028
 
        ;;
12029
 
      *)
12030
 
        shlibpath_overrides_runpath=yes
12031
 
        ;;
12032
 
      esac
12033
 
  else
12034
 
    shlibpath_overrides_runpath=yes
12035
 
  fi
12036
 
  ;;
12037
 
 
12038
 
os2*)
12039
 
  libname_spec='$name'
12040
 
  shrext_cmds=".dll"
12041
 
  need_lib_prefix=no
12042
 
  library_names_spec='$libname${shared_ext} $libname.a'
12043
 
  dynamic_linker='OS/2 ld.exe'
12044
 
  shlibpath_var=LIBPATH
12045
 
  ;;
12046
 
 
12047
 
osf3* | osf4* | osf5*)
12048
 
  version_type=osf
12049
 
  need_lib_prefix=no
12050
 
  need_version=no
12051
 
  soname_spec='${libname}${release}${shared_ext}$major'
12052
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12053
 
  shlibpath_var=LD_LIBRARY_PATH
12054
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12055
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12056
 
  ;;
12057
 
 
12058
 
solaris*)
12059
 
  version_type=linux
12060
 
  need_lib_prefix=no
12061
 
  need_version=no
12062
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12063
 
  soname_spec='${libname}${release}${shared_ext}$major'
12064
 
  shlibpath_var=LD_LIBRARY_PATH
12065
 
  shlibpath_overrides_runpath=yes
12066
 
  hardcode_into_libs=yes
12067
 
  # ldd complains unless libraries are executable
12068
 
  postinstall_cmds='chmod +x $lib'
12069
 
  ;;
12070
 
 
12071
 
sunos4*)
12072
 
  version_type=sunos
12073
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12074
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12075
 
  shlibpath_var=LD_LIBRARY_PATH
12076
 
  shlibpath_overrides_runpath=yes
12077
 
  if test "$with_gnu_ld" = yes; then
12078
 
    need_lib_prefix=no
12079
 
  fi
12080
 
  need_version=yes
12081
 
  ;;
12082
 
 
12083
 
sysv4 | sysv4.3*)
12084
 
  version_type=linux
12085
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12086
 
  soname_spec='${libname}${release}${shared_ext}$major'
12087
 
  shlibpath_var=LD_LIBRARY_PATH
12088
 
  case $host_vendor in
12089
 
    sni)
12090
 
      shlibpath_overrides_runpath=no
12091
 
      need_lib_prefix=no
12092
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
12093
 
      runpath_var=LD_RUN_PATH
12094
 
      ;;
12095
 
    siemens)
12096
 
      need_lib_prefix=no
12097
 
      ;;
12098
 
    motorola)
12099
 
      need_lib_prefix=no
12100
 
      need_version=no
12101
 
      shlibpath_overrides_runpath=no
12102
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12103
 
      ;;
12104
 
  esac
12105
 
  ;;
12106
 
 
12107
 
sysv4*MP*)
12108
 
  if test -d /usr/nec ;then
12109
 
    version_type=linux
12110
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12111
 
    soname_spec='$libname${shared_ext}.$major'
12112
 
    shlibpath_var=LD_LIBRARY_PATH
12113
 
  fi
12114
 
  ;;
12115
 
 
12116
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12117
 
  version_type=freebsd-elf
12118
 
  need_lib_prefix=no
12119
 
  need_version=no
12120
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12121
 
  soname_spec='${libname}${release}${shared_ext}$major'
12122
 
  shlibpath_var=LD_LIBRARY_PATH
12123
 
  hardcode_into_libs=yes
12124
 
  if test "$with_gnu_ld" = yes; then
12125
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12126
 
    shlibpath_overrides_runpath=no
12127
 
  else
12128
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12129
 
    shlibpath_overrides_runpath=yes
12130
 
    case $host_os in
12131
 
      sco3.2v5*)
12132
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12133
 
        ;;
12134
 
    esac
12135
 
  fi
12136
 
  sys_lib_dlsearch_path_spec='/usr/lib'
12137
 
  ;;
12138
 
 
12139
 
uts4*)
12140
 
  version_type=linux
12141
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12142
 
  soname_spec='${libname}${release}${shared_ext}$major'
12143
 
  shlibpath_var=LD_LIBRARY_PATH
12144
 
  ;;
12145
 
 
12146
 
*)
12147
 
  dynamic_linker=no
12148
 
  ;;
12149
 
esac
12150
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12151
 
echo "${ECHO_T}$dynamic_linker" >&6
12152
 
test "$dynamic_linker" = no && can_build_shared=no
12153
 
 
12154
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12155
 
if test "$GCC" = yes; then
12156
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12157
 
fi
12158
 
 
12159
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12160
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12161
 
hardcode_action_CXX=
12162
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12163
 
   test -n "$runpath_var_CXX" || \
12164
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
12165
 
 
12166
 
  # We can hardcode non-existant directories.
12167
 
  if test "$hardcode_direct_CXX" != no &&
12168
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12169
 
     # have to relink, otherwise we might link with an installed library
12170
 
     # when we should be linking with a yet-to-be-installed one
12171
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12172
 
     test "$hardcode_minus_L_CXX" != no; then
12173
 
    # Linking always hardcodes the temporary library directory.
12174
 
    hardcode_action_CXX=relink
12175
 
  else
12176
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12177
 
    hardcode_action_CXX=immediate
12178
 
  fi
12179
 
else
12180
 
  # We cannot hardcode anything, or else we can only hardcode existing
12181
 
  # directories.
12182
 
  hardcode_action_CXX=unsupported
12183
 
fi
12184
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12185
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
12186
 
 
12187
 
if test "$hardcode_action_CXX" = relink; then
12188
 
  # Fast installation is not supported
12189
 
  enable_fast_install=no
12190
 
elif test "$shlibpath_overrides_runpath" = yes ||
12191
 
     test "$enable_shared" = no; then
12192
 
  # Fast installation is not necessary
12193
 
  enable_fast_install=needless
12194
 
fi
12195
 
 
12196
 
 
12197
 
# The else clause should only fire when bootstrapping the
12198
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
12199
 
# with your package, and you will get complaints that there are
12200
 
# no rules to generate ltmain.sh.
12201
 
if test -f "$ltmain"; then
12202
 
  # See if we are running on zsh, and set the options which allow our commands through
12203
 
  # without removal of \ escapes.
12204
 
  if test -n "${ZSH_VERSION+set}" ; then
12205
 
    setopt NO_GLOB_SUBST
12206
 
  fi
12207
 
  # Now quote all the things that may contain metacharacters while being
12208
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
12209
 
  # variables and quote the copies for generation of the libtool script.
12210
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12211
 
    SED SHELL STRIP \
12212
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12213
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12214
 
    deplibs_check_method reload_flag reload_cmds need_locks \
12215
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12216
 
    lt_cv_sys_global_symbol_to_c_name_address \
12217
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12218
 
    old_postinstall_cmds old_postuninstall_cmds \
12219
 
    compiler_CXX \
12220
 
    CC_CXX \
12221
 
    LD_CXX \
12222
 
    lt_prog_compiler_wl_CXX \
12223
 
    lt_prog_compiler_pic_CXX \
12224
 
    lt_prog_compiler_static_CXX \
12225
 
    lt_prog_compiler_no_builtin_flag_CXX \
12226
 
    export_dynamic_flag_spec_CXX \
12227
 
    thread_safe_flag_spec_CXX \
12228
 
    whole_archive_flag_spec_CXX \
12229
 
    enable_shared_with_static_runtimes_CXX \
12230
 
    old_archive_cmds_CXX \
12231
 
    old_archive_from_new_cmds_CXX \
12232
 
    predep_objects_CXX \
12233
 
    postdep_objects_CXX \
12234
 
    predeps_CXX \
12235
 
    postdeps_CXX \
12236
 
    compiler_lib_search_path_CXX \
12237
 
    archive_cmds_CXX \
12238
 
    archive_expsym_cmds_CXX \
12239
 
    postinstall_cmds_CXX \
12240
 
    postuninstall_cmds_CXX \
12241
 
    old_archive_from_expsyms_cmds_CXX \
12242
 
    allow_undefined_flag_CXX \
12243
 
    no_undefined_flag_CXX \
12244
 
    export_symbols_cmds_CXX \
12245
 
    hardcode_libdir_flag_spec_CXX \
12246
 
    hardcode_libdir_flag_spec_ld_CXX \
12247
 
    hardcode_libdir_separator_CXX \
12248
 
    hardcode_automatic_CXX \
12249
 
    module_cmds_CXX \
12250
 
    module_expsym_cmds_CXX \
12251
 
    lt_cv_prog_compiler_c_o_CXX \
12252
 
    exclude_expsyms_CXX \
12253
 
    include_expsyms_CXX; do
12254
 
 
12255
 
    case $var in
12256
 
    old_archive_cmds_CXX | \
12257
 
    old_archive_from_new_cmds_CXX | \
12258
 
    archive_cmds_CXX | \
12259
 
    archive_expsym_cmds_CXX | \
12260
 
    module_cmds_CXX | \
12261
 
    module_expsym_cmds_CXX | \
12262
 
    old_archive_from_expsyms_cmds_CXX | \
12263
 
    export_symbols_cmds_CXX | \
12264
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
12265
 
    postinstall_cmds | postuninstall_cmds | \
12266
 
    old_postinstall_cmds | old_postuninstall_cmds | \
12267
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12268
 
      # Double-quote double-evaled strings.
12269
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12270
 
      ;;
12271
 
    *)
12272
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12273
 
      ;;
12274
 
    esac
12275
 
  done
12276
 
 
12277
 
  case $lt_echo in
12278
 
  *'\$0 --fallback-echo"')
12279
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12280
 
    ;;
12281
 
  esac
12282
 
 
12283
 
cfgfile="$ofile"
12284
 
 
12285
 
  cat <<__EOF__ >> "$cfgfile"
12286
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
12287
 
 
12288
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12289
 
 
12290
 
# Shell to use when invoking shell scripts.
12291
 
SHELL=$lt_SHELL
12292
 
 
12293
 
# Whether or not to build shared libraries.
12294
 
build_libtool_libs=$enable_shared
12295
 
 
12296
 
# Whether or not to build static libraries.
12297
 
build_old_libs=$enable_static
12298
 
 
12299
 
# Whether or not to add -lc for building shared libraries.
12300
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
12301
 
 
12302
 
# Whether or not to disallow shared libs when runtime libs are static
12303
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12304
 
 
12305
 
# Whether or not to optimize for fast installation.
12306
 
fast_install=$enable_fast_install
12307
 
 
12308
 
# The host system.
12309
 
host_alias=$host_alias
12310
 
host=$host
12311
 
host_os=$host_os
12312
 
 
12313
 
# The build system.
12314
 
build_alias=$build_alias
12315
 
build=$build
12316
 
build_os=$build_os
12317
 
 
12318
 
# An echo program that does not interpret backslashes.
12319
 
echo=$lt_echo
12320
 
 
12321
 
# The archiver.
12322
 
AR=$lt_AR
12323
 
AR_FLAGS=$lt_AR_FLAGS
12324
 
 
12325
 
# A C compiler.
12326
 
LTCC=$lt_LTCC
12327
 
 
12328
 
# LTCC compiler flags.
12329
 
LTCFLAGS=$lt_LTCFLAGS
12330
 
 
12331
 
# A language-specific compiler.
12332
 
CC=$lt_compiler_CXX
12333
 
 
12334
 
# Is the compiler the GNU C compiler?
12335
 
with_gcc=$GCC_CXX
12336
 
 
12337
 
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
12338
 
gcc_ver=\`gcc -dumpversion\`
12339
 
 
12340
 
# An ERE matcher.
12341
 
EGREP=$lt_EGREP
12342
 
 
12343
 
# The linker used to build libraries.
12344
 
LD=$lt_LD_CXX
12345
 
 
12346
 
# Whether we need hard or soft links.
12347
 
LN_S=$lt_LN_S
12348
 
 
12349
 
# A BSD-compatible nm program.
12350
 
NM=$lt_NM
12351
 
 
12352
 
# A symbol stripping program
12353
 
STRIP=$lt_STRIP
12354
 
 
12355
 
# Used to examine libraries when file_magic_cmd begins "file"
12356
 
MAGIC_CMD=$MAGIC_CMD
12357
 
 
12358
 
# Used on cygwin: DLL creation program.
12359
 
DLLTOOL="$DLLTOOL"
12360
 
 
12361
 
# Used on cygwin: object dumper.
12362
 
OBJDUMP="$OBJDUMP"
12363
 
 
12364
 
# Used on cygwin: assembler.
12365
 
AS="$AS"
12366
 
 
12367
 
# The name of the directory that contains temporary libtool files.
12368
 
objdir=$objdir
12369
 
 
12370
 
# How to create reloadable object files.
12371
 
reload_flag=$lt_reload_flag
12372
 
reload_cmds=$lt_reload_cmds
12373
 
 
12374
 
# How to pass a linker flag through the compiler.
12375
 
wl=$lt_lt_prog_compiler_wl_CXX
12376
 
 
12377
 
# Object file suffix (normally "o").
12378
 
objext="$ac_objext"
12379
 
 
12380
 
# Old archive suffix (normally "a").
12381
 
libext="$libext"
12382
 
 
12383
 
# Shared library suffix (normally ".so").
12384
 
shrext_cmds='$shrext_cmds'
12385
 
 
12386
 
# Executable file suffix (normally "").
12387
 
exeext="$exeext"
12388
 
 
12389
 
# Additional compiler flags for building library objects.
12390
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
12391
 
pic_mode=$pic_mode
12392
 
 
12393
 
# What is the maximum length of a command?
12394
 
max_cmd_len=$lt_cv_sys_max_cmd_len
12395
 
 
12396
 
# Does compiler simultaneously support -c and -o options?
12397
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12398
 
 
12399
 
# Must we lock files when doing compilation?
12400
 
need_locks=$lt_need_locks
12401
 
 
12402
 
# Do we need the lib prefix for modules?
12403
 
need_lib_prefix=$need_lib_prefix
12404
 
 
12405
 
# Do we need a version for libraries?
12406
 
need_version=$need_version
12407
 
 
12408
 
# Whether dlopen is supported.
12409
 
dlopen_support=$enable_dlopen
12410
 
 
12411
 
# Whether dlopen of programs is supported.
12412
 
dlopen_self=$enable_dlopen_self
12413
 
 
12414
 
# Whether dlopen of statically linked programs is supported.
12415
 
dlopen_self_static=$enable_dlopen_self_static
12416
 
 
12417
 
# Compiler flag to prevent dynamic linking.
12418
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
12419
 
 
12420
 
# Compiler flag to turn off builtin functions.
12421
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12422
 
 
12423
 
# Compiler flag to allow reflexive dlopens.
12424
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12425
 
 
12426
 
# Compiler flag to generate shared objects directly from archives.
12427
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12428
 
 
12429
 
# Compiler flag to generate thread-safe objects.
12430
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12431
 
 
12432
 
# Library versioning type.
12433
 
version_type=$version_type
12434
 
 
12435
 
# Format of library name prefix.
12436
 
libname_spec=$lt_libname_spec
12437
 
 
12438
 
# List of archive names.  First name is the real one, the rest are links.
12439
 
# The last name is the one that the linker finds with -lNAME.
12440
 
library_names_spec=$lt_library_names_spec
12441
 
 
12442
 
# The coded name of the library, if different from the real name.
12443
 
soname_spec=$lt_soname_spec
12444
 
 
12445
 
# Commands used to build and install an old-style archive.
12446
 
RANLIB=$lt_RANLIB
12447
 
old_archive_cmds=$lt_old_archive_cmds_CXX
12448
 
old_postinstall_cmds=$lt_old_postinstall_cmds
12449
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
12450
 
 
12451
 
# Create an old-style archive from a shared archive.
12452
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12453
 
 
12454
 
# Create a temporary old-style archive to link instead of a shared archive.
12455
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12456
 
 
12457
 
# Commands used to build and install a shared archive.
12458
 
archive_cmds=$lt_archive_cmds_CXX
12459
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12460
 
postinstall_cmds=$lt_postinstall_cmds
12461
 
postuninstall_cmds=$lt_postuninstall_cmds
12462
 
 
12463
 
# Commands used to build a loadable module (assumed same as above if empty)
12464
 
module_cmds=$lt_module_cmds_CXX
12465
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
12466
 
 
12467
 
# Commands to strip libraries.
12468
 
old_striplib=$lt_old_striplib
12469
 
striplib=$lt_striplib
12470
 
 
12471
 
# Dependencies to place before the objects being linked to create a
12472
 
# shared library.
12473
 
predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12474
 
 
12475
 
# Dependencies to place after the objects being linked to create a
12476
 
# shared library.
12477
 
postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12478
 
 
12479
 
# Dependencies to place before the objects being linked to create a
12480
 
# shared library.
12481
 
predeps=$lt_predeps_CXX
12482
 
 
12483
 
# Dependencies to place after the objects being linked to create a
12484
 
# shared library.
12485
 
postdeps=$lt_postdeps_CXX
12486
 
 
12487
 
# The library search path used internally by the compiler when linking
12488
 
# a shared library.
12489
 
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12490
 
 
12491
 
# Method to check whether dependent libraries are shared objects.
12492
 
deplibs_check_method=$lt_deplibs_check_method
12493
 
 
12494
 
# Command to use when deplibs_check_method == file_magic.
12495
 
file_magic_cmd=$lt_file_magic_cmd
12496
 
 
12497
 
# Flag that allows shared libraries with undefined symbols to be built.
12498
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
12499
 
 
12500
 
# Flag that forces no undefined symbols.
12501
 
no_undefined_flag=$lt_no_undefined_flag_CXX
12502
 
 
12503
 
# Commands used to finish a libtool library installation in a directory.
12504
 
finish_cmds=$lt_finish_cmds
12505
 
 
12506
 
# Same as above, but a single script fragment to be evaled but not shown.
12507
 
finish_eval=$lt_finish_eval
12508
 
 
12509
 
# Take the output of nm and produce a listing of raw symbols and C names.
12510
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12511
 
 
12512
 
# Transform the output of nm in a proper C declaration
12513
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12514
 
 
12515
 
# Transform the output of nm in a C name address pair
12516
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12517
 
 
12518
 
# This is the shared library runtime path variable.
12519
 
runpath_var=$runpath_var
12520
 
 
12521
 
# This is the shared library path variable.
12522
 
shlibpath_var=$shlibpath_var
12523
 
 
12524
 
# Is shlibpath searched before the hard-coded library search path?
12525
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12526
 
 
12527
 
# How to hardcode a shared library path into an executable.
12528
 
hardcode_action=$hardcode_action_CXX
12529
 
 
12530
 
# Whether we should hardcode library paths into libraries.
12531
 
hardcode_into_libs=$hardcode_into_libs
12532
 
 
12533
 
# Flag to hardcode \$libdir into a binary during linking.
12534
 
# This must work even if \$libdir does not exist.
12535
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12536
 
 
12537
 
# If ld is used when linking, flag to hardcode \$libdir into
12538
 
# a binary during linking. This must work even if \$libdir does
12539
 
# not exist.
12540
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12541
 
 
12542
 
# Whether we need a single -rpath flag with a separated argument.
12543
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12544
 
 
12545
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12546
 
# resulting binary.
12547
 
hardcode_direct=$hardcode_direct_CXX
12548
 
 
12549
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12550
 
# resulting binary.
12551
 
hardcode_minus_L=$hardcode_minus_L_CXX
12552
 
 
12553
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12554
 
# the resulting binary.
12555
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12556
 
 
12557
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
12558
 
# and all subsequent libraries and executables linked against it.
12559
 
hardcode_automatic=$hardcode_automatic_CXX
12560
 
 
12561
 
# Variables whose values should be saved in libtool wrapper scripts and
12562
 
# restored at relink time.
12563
 
variables_saved_for_relink="$variables_saved_for_relink"
12564
 
 
12565
 
# Whether libtool must link a program against all its dependency libraries.
12566
 
link_all_deplibs=$link_all_deplibs_CXX
12567
 
 
12568
 
# Compile-time system search path for libraries
12569
 
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12570
 
 
12571
 
# Run-time system search path for libraries
12572
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12573
 
 
12574
 
# Fix the shell variable \$srcfile for the compiler.
12575
 
fix_srcfile_path="$fix_srcfile_path_CXX"
12576
 
 
12577
 
# Set to yes if exported symbols are required.
12578
 
always_export_symbols=$always_export_symbols_CXX
12579
 
 
12580
 
# The commands to list exported symbols.
12581
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
12582
 
 
12583
 
# The commands to extract the exported symbol list from a shared archive.
12584
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
12585
 
 
12586
 
# Symbols that should not be listed in the preloaded symbols.
12587
 
exclude_expsyms=$lt_exclude_expsyms_CXX
12588
 
 
12589
 
# Symbols that must always be exported.
12590
 
include_expsyms=$lt_include_expsyms_CXX
12591
 
 
12592
 
# ### END LIBTOOL TAG CONFIG: $tagname
12593
 
 
12594
 
__EOF__
12595
 
 
12596
 
 
12597
 
else
12598
 
  # If there is no Makefile yet, we rely on a make rule to execute
12599
 
  # `config.status --recheck' to rerun these tests and create the
12600
 
  # libtool script then.
12601
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12602
 
  if test -f "$ltmain_in"; then
12603
 
    test -f Makefile && make "$ltmain"
12604
 
  fi
12605
 
fi
12606
 
 
12607
 
 
12608
 
ac_ext=c
12609
 
ac_cpp='$CPP $CPPFLAGS'
12610
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12611
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12612
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12613
 
 
12614
 
CC=$lt_save_CC
12615
 
LDCXX=$LD
12616
 
LD=$lt_save_LD
12617
 
GCC=$lt_save_GCC
12618
 
with_gnu_ldcxx=$with_gnu_ld
12619
 
with_gnu_ld=$lt_save_with_gnu_ld
12620
 
lt_cv_path_LDCXX=$lt_cv_path_LD
12621
 
lt_cv_path_LD=$lt_save_path_LD
12622
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12623
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12624
 
 
12625
 
        else
12626
 
          tagname=""
12627
 
        fi
12628
 
        ;;
12629
 
 
12630
 
      F77)
12631
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
12632
 
 
12633
 
ac_ext=f
12634
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12635
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12636
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12637
 
 
12638
 
 
12639
 
archive_cmds_need_lc_F77=no
12640
 
allow_undefined_flag_F77=
12641
 
always_export_symbols_F77=no
12642
 
archive_expsym_cmds_F77=
12643
 
export_dynamic_flag_spec_F77=
12644
 
hardcode_direct_F77=no
12645
 
hardcode_libdir_flag_spec_F77=
12646
 
hardcode_libdir_flag_spec_ld_F77=
12647
 
hardcode_libdir_separator_F77=
12648
 
hardcode_minus_L_F77=no
12649
 
hardcode_automatic_F77=no
12650
 
module_cmds_F77=
12651
 
module_expsym_cmds_F77=
12652
 
link_all_deplibs_F77=unknown
12653
 
old_archive_cmds_F77=$old_archive_cmds
12654
 
no_undefined_flag_F77=
12655
 
whole_archive_flag_spec_F77=
12656
 
enable_shared_with_static_runtimes_F77=no
12657
 
 
12658
 
# Source file extension for f77 test sources.
12659
 
ac_ext=f
12660
 
 
12661
 
# Object file extension for compiled f77 test sources.
12662
 
objext=o
12663
 
objext_F77=$objext
12664
 
 
12665
 
# Code to be used in simple compile tests
12666
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
12667
 
 
12668
 
# Code to be used in simple link tests
12669
 
lt_simple_link_test_code="      program t\n      end\n"
12670
 
 
12671
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12672
 
 
12673
 
# If no C compiler was specified, use CC.
12674
 
LTCC=${LTCC-"$CC"}
12675
 
 
12676
 
# If no C compiler flags were specified, use CFLAGS.
12677
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12678
 
 
12679
 
# Allow CC to be a program name with arguments.
12680
 
compiler=$CC
12681
 
 
12682
 
 
12683
 
# save warnings/boilerplate of simple test code
12684
 
ac_outfile=conftest.$ac_objext
12685
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
12686
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12687
 
_lt_compiler_boilerplate=`cat conftest.err`
12688
 
$rm conftest*
12689
 
 
12690
 
ac_outfile=conftest.$ac_objext
12691
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
12692
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12693
 
_lt_linker_boilerplate=`cat conftest.err`
12694
 
$rm conftest*
12695
 
 
12696
 
 
12697
 
# Allow CC to be a program name with arguments.
12698
 
lt_save_CC="$CC"
12699
 
CC=${F77-"f77"}
12700
 
compiler=$CC
12701
 
compiler_F77=$CC
12702
 
for cc_temp in $compiler""; do
12703
 
  case $cc_temp in
12704
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12705
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12706
 
    \-*) ;;
12707
 
    *) break;;
12708
 
  esac
12709
 
done
12710
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12711
 
 
12712
 
 
12713
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12714
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12715
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
12716
 
echo "${ECHO_T}$can_build_shared" >&6
12717
 
 
12718
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12719
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12720
 
test "$can_build_shared" = "no" && enable_shared=no
12721
 
 
12722
 
# On AIX, shared libraries and static libraries use the same namespace, and
12723
 
# are all built from PIC.
12724
 
case $host_os in
12725
 
aix3*)
12726
 
  test "$enable_shared" = yes && enable_static=no
12727
 
  if test -n "$RANLIB"; then
12728
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
12729
 
    postinstall_cmds='$RANLIB $lib'
12730
 
  fi
12731
 
  ;;
12732
 
aix4* | aix5*)
12733
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12734
 
    test "$enable_shared" = yes && enable_static=no
12735
 
  fi
12736
 
  ;;
12737
 
esac
12738
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
12739
 
echo "${ECHO_T}$enable_shared" >&6
12740
 
 
12741
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12742
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12743
 
# Make sure either enable_shared or enable_static is yes.
12744
 
test "$enable_shared" = yes || enable_static=yes
12745
 
echo "$as_me:$LINENO: result: $enable_static" >&5
12746
 
echo "${ECHO_T}$enable_static" >&6
12747
 
 
12748
 
GCC_F77="$G77"
12749
 
LD_F77="$LD"
12750
 
 
12751
 
lt_prog_compiler_wl_F77=
12752
 
lt_prog_compiler_pic_F77=
12753
 
lt_prog_compiler_static_F77=
12754
 
 
12755
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12756
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12757
 
 
12758
 
  if test "$GCC" = yes; then
12759
 
    lt_prog_compiler_wl_F77='-Wl,'
12760
 
    lt_prog_compiler_static_F77='-static'
12761
 
 
12762
 
    case $host_os in
12763
 
      aix*)
12764
 
      # All AIX code is PIC.
12765
 
      if test "$host_cpu" = ia64; then
12766
 
        # AIX 5 now supports IA64 processor
12767
 
        lt_prog_compiler_static_F77='-Bstatic'
12768
 
      fi
12769
 
      ;;
12770
 
 
12771
 
    amigaos*)
12772
 
      # FIXME: we need at least 68020 code to build shared libraries, but
12773
 
      # adding the `-m68020' flag to GCC prevents building anything better,
12774
 
      # like `-m68040'.
12775
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12776
 
      ;;
12777
 
 
12778
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12779
 
      # PIC is the default for these OSes.
12780
 
      ;;
12781
 
 
12782
 
    mingw* | pw32* | os2*)
12783
 
      # This hack is so that the source file can tell whether it is being
12784
 
      # built for inclusion in a dll (and should export symbols for example).
12785
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12786
 
      ;;
12787
 
 
12788
 
    darwin* | rhapsody*)
12789
 
      # PIC is the default on this platform
12790
 
      # Common symbols not allowed in MH_DYLIB files
12791
 
      lt_prog_compiler_pic_F77='-fno-common'
12792
 
      ;;
12793
 
 
12794
 
    interix3*)
12795
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12796
 
      # Instead, we relocate shared libraries at runtime.
12797
 
      ;;
12798
 
 
12799
 
    msdosdjgpp*)
12800
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
12801
 
      # on systems that don't support them.
12802
 
      lt_prog_compiler_can_build_shared_F77=no
12803
 
      enable_shared=no
12804
 
      ;;
12805
 
 
12806
 
    sysv4*MP*)
12807
 
      if test -d /usr/nec; then
12808
 
        lt_prog_compiler_pic_F77=-Kconform_pic
12809
 
      fi
12810
 
      ;;
12811
 
 
12812
 
    hpux*)
12813
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12814
 
      # not for PA HP-UX.
12815
 
      case $host_cpu in
12816
 
      hppa*64*|ia64*)
12817
 
        # +Z the default
12818
 
        ;;
12819
 
      *)
12820
 
        lt_prog_compiler_pic_F77='-fPIC'
12821
 
        ;;
12822
 
      esac
12823
 
      ;;
12824
 
 
12825
 
    *)
12826
 
      lt_prog_compiler_pic_F77='-fPIC'
12827
 
      ;;
12828
 
    esac
12829
 
  else
12830
 
    # PORTME Check for flag to pass linker flags through the system compiler.
12831
 
    case $host_os in
12832
 
    aix*)
12833
 
      lt_prog_compiler_wl_F77='-Wl,'
12834
 
      if test "$host_cpu" = ia64; then
12835
 
        # AIX 5 now supports IA64 processor
12836
 
        lt_prog_compiler_static_F77='-Bstatic'
12837
 
      else
12838
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12839
 
      fi
12840
 
      ;;
12841
 
      darwin*)
12842
 
        # PIC is the default on this platform
12843
 
        # Common symbols not allowed in MH_DYLIB files
12844
 
       case $cc_basename in
12845
 
         xlc*)
12846
 
         lt_prog_compiler_pic_F77='-qnocommon'
12847
 
         lt_prog_compiler_wl_F77='-Wl,'
12848
 
         ;;
12849
 
       esac
12850
 
       ;;
12851
 
 
12852
 
    mingw* | pw32* | os2*)
12853
 
      # This hack is so that the source file can tell whether it is being
12854
 
      # built for inclusion in a dll (and should export symbols for example).
12855
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12856
 
      ;;
12857
 
 
12858
 
    hpux9* | hpux10* | hpux11*)
12859
 
      lt_prog_compiler_wl_F77='-Wl,'
12860
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12861
 
      # not for PA HP-UX.
12862
 
      case $host_cpu in
12863
 
      hppa*64*|ia64*)
12864
 
        # +Z the default
12865
 
        ;;
12866
 
      *)
12867
 
        lt_prog_compiler_pic_F77='+Z'
12868
 
        ;;
12869
 
      esac
12870
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
12871
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12872
 
      ;;
12873
 
 
12874
 
    irix5* | irix6* | nonstopux*)
12875
 
      lt_prog_compiler_wl_F77='-Wl,'
12876
 
      # PIC (with -KPIC) is the default.
12877
 
      lt_prog_compiler_static_F77='-non_shared'
12878
 
      ;;
12879
 
 
12880
 
    newsos6)
12881
 
      lt_prog_compiler_pic_F77='-KPIC'
12882
 
      lt_prog_compiler_static_F77='-Bstatic'
12883
 
      ;;
12884
 
 
12885
 
    linux*)
12886
 
      case $cc_basename in
12887
 
      icc* | ecc*)
12888
 
        lt_prog_compiler_wl_F77='-Wl,'
12889
 
        lt_prog_compiler_pic_F77='-KPIC'
12890
 
        lt_prog_compiler_static_F77='-static'
12891
 
        ;;
12892
 
      pgcc* | pgf77* | pgf90* | pgf95*)
12893
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
12894
 
        # which looks to be a dead project)
12895
 
        lt_prog_compiler_wl_F77='-Wl,'
12896
 
        lt_prog_compiler_pic_F77='-fpic'
12897
 
        lt_prog_compiler_static_F77='-Bstatic'
12898
 
        ;;
12899
 
      ccc*)
12900
 
        lt_prog_compiler_wl_F77='-Wl,'
12901
 
        # All Alpha code is PIC.
12902
 
        lt_prog_compiler_static_F77='-non_shared'
12903
 
        ;;
12904
 
      esac
12905
 
      ;;
12906
 
 
12907
 
    osf3* | osf4* | osf5*)
12908
 
      lt_prog_compiler_wl_F77='-Wl,'
12909
 
      # All OSF/1 code is PIC.
12910
 
      lt_prog_compiler_static_F77='-non_shared'
12911
 
      ;;
12912
 
 
12913
 
    solaris*)
12914
 
      lt_prog_compiler_pic_F77='-KPIC'
12915
 
      lt_prog_compiler_static_F77='-Bstatic'
12916
 
      case $cc_basename in
12917
 
      f77* | f90* | f95*)
12918
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
12919
 
      *)
12920
 
        lt_prog_compiler_wl_F77='-Wl,';;
12921
 
      esac
12922
 
      ;;
12923
 
 
12924
 
    sunos4*)
12925
 
      lt_prog_compiler_wl_F77='-Qoption ld '
12926
 
      lt_prog_compiler_pic_F77='-PIC'
12927
 
      lt_prog_compiler_static_F77='-Bstatic'
12928
 
      ;;
12929
 
 
12930
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
12931
 
      lt_prog_compiler_wl_F77='-Wl,'
12932
 
      lt_prog_compiler_pic_F77='-KPIC'
12933
 
      lt_prog_compiler_static_F77='-Bstatic'
12934
 
      ;;
12935
 
 
12936
 
    sysv4*MP*)
12937
 
      if test -d /usr/nec ;then
12938
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
12939
 
        lt_prog_compiler_static_F77='-Bstatic'
12940
 
      fi
12941
 
      ;;
12942
 
 
12943
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12944
 
      lt_prog_compiler_wl_F77='-Wl,'
12945
 
      lt_prog_compiler_pic_F77='-KPIC'
12946
 
      lt_prog_compiler_static_F77='-Bstatic'
12947
 
      ;;
12948
 
 
12949
 
    unicos*)
12950
 
      lt_prog_compiler_wl_F77='-Wl,'
12951
 
      lt_prog_compiler_can_build_shared_F77=no
12952
 
      ;;
12953
 
 
12954
 
    uts4*)
12955
 
      lt_prog_compiler_pic_F77='-pic'
12956
 
      lt_prog_compiler_static_F77='-Bstatic'
12957
 
      ;;
12958
 
 
12959
 
    *)
12960
 
      lt_prog_compiler_can_build_shared_F77=no
12961
 
      ;;
12962
 
    esac
12963
 
  fi
12964
 
 
12965
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
12966
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
12967
 
 
12968
 
#
12969
 
# Check to make sure the PIC flag actually works.
12970
 
#
12971
 
if test -n "$lt_prog_compiler_pic_F77"; then
12972
 
 
12973
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
12974
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
12975
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
12976
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12977
 
else
12978
 
  lt_prog_compiler_pic_works_F77=no
12979
 
  ac_outfile=conftest.$ac_objext
12980
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12981
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
12982
 
   # Insert the option either (1) after the last *FLAGS variable, or
12983
 
   # (2) before a word containing "conftest.", or (3) at the end.
12984
 
   # Note that $ac_compile itself does not contain backslashes and begins
12985
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12986
 
   # The option is referenced via a variable to avoid confusing sed.
12987
 
   lt_compile=`echo "$ac_compile" | $SED \
12988
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12989
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12990
 
   -e 's:$: $lt_compiler_flag:'`
12991
 
   (eval echo "\"\$as_me:12991: $lt_compile\"" >&5)
12992
 
   (eval "$lt_compile" 2>conftest.err)
12993
 
   ac_status=$?
12994
 
   cat conftest.err >&5
12995
 
   echo "$as_me:12995: \$? = $ac_status" >&5
12996
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
12997
 
     # The compiler can only warn and ignore the option if not recognized
12998
 
     # So say no if there are warnings other than the usual output.
12999
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13000
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13001
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13002
 
       lt_prog_compiler_pic_works_F77=yes
13003
 
     fi
13004
 
   fi
13005
 
   $rm conftest*
13006
 
 
13007
 
fi
13008
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13009
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13010
 
 
13011
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13012
 
    case $lt_prog_compiler_pic_F77 in
13013
 
     "" | " "*) ;;
13014
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13015
 
     esac
13016
 
else
13017
 
    lt_prog_compiler_pic_F77=
13018
 
     lt_prog_compiler_can_build_shared_F77=no
13019
 
fi
13020
 
 
13021
 
fi
13022
 
case $host_os in
13023
 
  # For platforms which do not support PIC, -DPIC is meaningless:
13024
 
  *djgpp*)
13025
 
    lt_prog_compiler_pic_F77=
13026
 
    ;;
13027
 
  *)
13028
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13029
 
    ;;
13030
 
esac
13031
 
 
13032
 
#
13033
 
# Check to make sure the static flag actually works.
13034
 
#
13035
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
13036
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13037
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13038
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13039
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13040
 
else
13041
 
  lt_prog_compiler_static_works_F77=no
13042
 
   save_LDFLAGS="$LDFLAGS"
13043
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13044
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
13045
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13046
 
     # The linker can only warn and ignore the option if not recognized
13047
 
     # So say no if there are warnings
13048
 
     if test -s conftest.err; then
13049
 
       # Append any errors to the config.log.
13050
 
       cat conftest.err 1>&5
13051
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13052
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13053
 
       if diff conftest.exp conftest.er2 >/dev/null; then
13054
 
         lt_prog_compiler_static_works_F77=yes
13055
 
       fi
13056
 
     else
13057
 
       lt_prog_compiler_static_works_F77=yes
13058
 
     fi
13059
 
   fi
13060
 
   $rm conftest*
13061
 
   LDFLAGS="$save_LDFLAGS"
13062
 
 
13063
 
fi
13064
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13065
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
13066
 
 
13067
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
13068
 
    :
13069
 
else
13070
 
    lt_prog_compiler_static_F77=
13071
 
fi
13072
 
 
13073
 
 
13074
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13075
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13076
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13077
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13078
 
else
13079
 
  lt_cv_prog_compiler_c_o_F77=no
13080
 
   $rm -r conftest 2>/dev/null
13081
 
   mkdir conftest
13082
 
   cd conftest
13083
 
   mkdir out
13084
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13085
 
 
13086
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13087
 
   # Insert the option either (1) after the last *FLAGS variable, or
13088
 
   # (2) before a word containing "conftest.", or (3) at the end.
13089
 
   # Note that $ac_compile itself does not contain backslashes and begins
13090
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13091
 
   lt_compile=`echo "$ac_compile" | $SED \
13092
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13093
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13094
 
   -e 's:$: $lt_compiler_flag:'`
13095
 
   (eval echo "\"\$as_me:13095: $lt_compile\"" >&5)
13096
 
   (eval "$lt_compile" 2>out/conftest.err)
13097
 
   ac_status=$?
13098
 
   cat out/conftest.err >&5
13099
 
   echo "$as_me:13099: \$? = $ac_status" >&5
13100
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13101
 
   then
13102
 
     # The compiler can only warn and ignore the option if not recognized
13103
 
     # So say no if there are warnings
13104
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13105
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13106
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13107
 
       lt_cv_prog_compiler_c_o_F77=yes
13108
 
     fi
13109
 
   fi
13110
 
   chmod u+w . 2>&5
13111
 
   $rm conftest*
13112
 
   # SGI C++ compiler will create directory out/ii_files/ for
13113
 
   # template instantiation
13114
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13115
 
   $rm out/* && rmdir out
13116
 
   cd ..
13117
 
   rmdir conftest
13118
 
   $rm conftest*
13119
 
 
13120
 
fi
13121
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13122
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13123
 
 
13124
 
 
13125
 
hard_links="nottested"
13126
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13127
 
  # do not overwrite the value of need_locks provided by the user
13128
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13129
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13130
 
  hard_links=yes
13131
 
  $rm conftest*
13132
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13133
 
  touch conftest.a
13134
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
13135
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13136
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13137
 
echo "${ECHO_T}$hard_links" >&6
13138
 
  if test "$hard_links" = no; then
13139
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13140
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13141
 
    need_locks=warn
13142
 
  fi
13143
 
else
13144
 
  need_locks=no
13145
 
fi
13146
 
 
13147
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13148
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13149
 
 
13150
 
  runpath_var=
13151
 
  allow_undefined_flag_F77=
13152
 
  enable_shared_with_static_runtimes_F77=no
13153
 
  archive_cmds_F77=
13154
 
  archive_expsym_cmds_F77=
13155
 
  old_archive_From_new_cmds_F77=
13156
 
  old_archive_from_expsyms_cmds_F77=
13157
 
  export_dynamic_flag_spec_F77=
13158
 
  whole_archive_flag_spec_F77=
13159
 
  thread_safe_flag_spec_F77=
13160
 
  hardcode_libdir_flag_spec_F77=
13161
 
  hardcode_libdir_flag_spec_ld_F77=
13162
 
  hardcode_libdir_separator_F77=
13163
 
  hardcode_direct_F77=no
13164
 
  hardcode_minus_L_F77=no
13165
 
  hardcode_shlibpath_var_F77=unsupported
13166
 
  link_all_deplibs_F77=unknown
13167
 
  hardcode_automatic_F77=no
13168
 
  module_cmds_F77=
13169
 
  module_expsym_cmds_F77=
13170
 
  always_export_symbols_F77=no
13171
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13172
 
  # include_expsyms should be a list of space-separated symbols to be *always*
13173
 
  # included in the symbol list
13174
 
  include_expsyms_F77=
13175
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
13176
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
13177
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13178
 
  # as well as any symbol that contains `d'.
13179
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13180
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13181
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
13182
 
  # the symbol is explicitly referenced.  Since portable code cannot
13183
 
  # rely on this symbol name, it's probably fine to never include it in
13184
 
  # preloaded symbol tables.
13185
 
  extract_expsyms_cmds=
13186
 
  # Just being paranoid about ensuring that cc_basename is set.
13187
 
  for cc_temp in $compiler""; do
13188
 
  case $cc_temp in
13189
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13190
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13191
 
    \-*) ;;
13192
 
    *) break;;
13193
 
  esac
13194
 
done
13195
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13196
 
 
13197
 
  case $host_os in
13198
 
  cygwin* | mingw* | pw32*)
13199
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
13200
 
    # When not using gcc, we currently assume that we are using
13201
 
    # Microsoft Visual C++.
13202
 
    if test "$GCC" != yes; then
13203
 
      with_gnu_ld=no
13204
 
    fi
13205
 
    ;;
13206
 
  interix*)
13207
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
13208
 
    with_gnu_ld=yes
13209
 
    ;;
13210
 
  openbsd*)
13211
 
    with_gnu_ld=no
13212
 
    ;;
13213
 
  esac
13214
 
 
13215
 
  ld_shlibs_F77=yes
13216
 
  if test "$with_gnu_ld" = yes; then
13217
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
13218
 
    wlarc='${wl}'
13219
 
 
13220
 
    # Set some defaults for GNU ld with shared library support. These
13221
 
    # are reset later if shared libraries are not supported. Putting them
13222
 
    # here allows them to be overridden if necessary.
13223
 
    runpath_var=LD_RUN_PATH
13224
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13225
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13226
 
    # ancient GNU ld didn't support --whole-archive et. al.
13227
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13228
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13229
 
      else
13230
 
        whole_archive_flag_spec_F77=
13231
 
    fi
13232
 
    supports_anon_versioning=no
13233
 
    case `$LD -v 2>/dev/null` in
13234
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13235
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13236
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13237
 
      *\ 2.11.*) ;; # other 2.11 versions
13238
 
      *) supports_anon_versioning=yes ;;
13239
 
    esac
13240
 
 
13241
 
    # See if GNU ld supports shared libraries.
13242
 
    case $host_os in
13243
 
    aix3* | aix4* | aix5*)
13244
 
      # On AIX/PPC, the GNU linker is very broken
13245
 
      if test "$host_cpu" != ia64; then
13246
 
        ld_shlibs_F77=no
13247
 
        cat <<EOF 1>&2
13248
 
 
13249
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
13250
 
*** to be unable to reliably create shared libraries on AIX.
13251
 
*** Therefore, libtool is disabling shared libraries support.  If you
13252
 
*** really care for shared libraries, you may want to modify your PATH
13253
 
*** so that a non-GNU linker is found, and then restart.
13254
 
 
13255
 
EOF
13256
 
      fi
13257
 
      ;;
13258
 
 
13259
 
    amigaos*)
13260
 
      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)'
13261
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
13262
 
      hardcode_minus_L_F77=yes
13263
 
 
13264
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13265
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
13266
 
      # to version 4, is to share data among multiple programs linked
13267
 
      # with the same dynamic library.  Since this doesn't match the
13268
 
      # behavior of shared libraries on other platforms, we can't use
13269
 
      # them.
13270
 
      ld_shlibs_F77=no
13271
 
      ;;
13272
 
 
13273
 
    beos*)
13274
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13275
 
        allow_undefined_flag_F77=unsupported
13276
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13277
 
        # support --undefined.  This deserves some investigation.  FIXME
13278
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13279
 
      else
13280
 
        ld_shlibs_F77=no
13281
 
      fi
13282
 
      ;;
13283
 
 
13284
 
    cygwin* | mingw* | pw32*)
13285
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13286
 
      # as there is no search path for DLLs.
13287
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
13288
 
      allow_undefined_flag_F77=unsupported
13289
 
      always_export_symbols_F77=no
13290
 
      enable_shared_with_static_runtimes_F77=yes
13291
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13292
 
 
13293
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13294
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13295
 
        # If the export-symbols file already is a .def file (1st line
13296
 
        # is EXPORTS), use it as is; otherwise, prepend...
13297
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13298
 
          cp $export_symbols $output_objdir/$soname.def;
13299
 
        else
13300
 
          echo EXPORTS > $output_objdir/$soname.def;
13301
 
          cat $export_symbols >> $output_objdir/$soname.def;
13302
 
        fi~
13303
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13304
 
      else
13305
 
        ld_shlibs_F77=no
13306
 
      fi
13307
 
      ;;
13308
 
 
13309
 
    interix3*)
13310
 
      hardcode_direct_F77=no
13311
 
      hardcode_shlibpath_var_F77=no
13312
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13313
 
      export_dynamic_flag_spec_F77='${wl}-E'
13314
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13315
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
13316
 
      # default) and relocated if they conflict, which is a slow very memory
13317
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
13318
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13319
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13320
 
      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'
13321
 
      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'
13322
 
      ;;
13323
 
 
13324
 
    linux*)
13325
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13326
 
        tmp_addflag=
13327
 
        case $cc_basename,$host_cpu in
13328
 
        pgcc*)                          # Portland Group C compiler
13329
 
          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'
13330
 
          tmp_addflag=' $pic_flag'
13331
 
          ;;
13332
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
13333
 
          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'
13334
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
13335
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
13336
 
          tmp_addflag=' -i_dynamic' ;;
13337
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
13338
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
13339
 
        ifc* | ifort*)                  # Intel Fortran compiler
13340
 
          tmp_addflag=' -nofor_main' ;;
13341
 
        esac
13342
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13343
 
 
13344
 
        if test $supports_anon_versioning = yes; then
13345
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
13346
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13347
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
13348
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13349
 
        fi
13350
 
      else
13351
 
        ld_shlibs_F77=no
13352
 
      fi
13353
 
      ;;
13354
 
 
13355
 
    netbsd*)
13356
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13357
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13358
 
        wlarc=
13359
 
      else
13360
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13361
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13362
 
      fi
13363
 
      ;;
13364
 
 
13365
 
    solaris*)
13366
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13367
 
        ld_shlibs_F77=no
13368
 
        cat <<EOF 1>&2
13369
 
 
13370
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
13371
 
*** create shared libraries on Solaris systems.  Therefore, libtool
13372
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
13373
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
13374
 
*** your PATH or compiler configuration so that the native linker is
13375
 
*** used, and then restart.
13376
 
 
13377
 
EOF
13378
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13379
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13380
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13381
 
      else
13382
 
        ld_shlibs_F77=no
13383
 
      fi
13384
 
      ;;
13385
 
 
13386
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13387
 
      case `$LD -v 2>&1` in
13388
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13389
 
        ld_shlibs_F77=no
13390
 
        cat <<_LT_EOF 1>&2
13391
 
 
13392
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13393
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
13394
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
13395
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
13396
 
*** your PATH or compiler configuration so that the native linker is
13397
 
*** used, and then restart.
13398
 
 
13399
 
_LT_EOF
13400
 
        ;;
13401
 
        *)
13402
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13403
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
13404
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
13405
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
13406
 
          else
13407
 
            ld_shlibs_F77=no
13408
 
          fi
13409
 
        ;;
13410
 
      esac
13411
 
      ;;
13412
 
 
13413
 
    sunos4*)
13414
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13415
 
      wlarc=
13416
 
      hardcode_direct_F77=yes
13417
 
      hardcode_shlibpath_var_F77=no
13418
 
      ;;
13419
 
 
13420
 
    *)
13421
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13422
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13423
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13424
 
      else
13425
 
        ld_shlibs_F77=no
13426
 
      fi
13427
 
      ;;
13428
 
    esac
13429
 
 
13430
 
    if test "$ld_shlibs_F77" = no; then
13431
 
      runpath_var=
13432
 
      hardcode_libdir_flag_spec_F77=
13433
 
      export_dynamic_flag_spec_F77=
13434
 
      whole_archive_flag_spec_F77=
13435
 
    fi
13436
 
  else
13437
 
    # PORTME fill in a description of your system's linker (not GNU ld)
13438
 
    case $host_os in
13439
 
    aix3*)
13440
 
      allow_undefined_flag_F77=unsupported
13441
 
      always_export_symbols_F77=yes
13442
 
      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'
13443
 
      # Note: this linker hardcodes the directories in LIBPATH if there
13444
 
      # are no directories specified by -L.
13445
 
      hardcode_minus_L_F77=yes
13446
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13447
 
        # Neither direct hardcoding nor static linking is supported with a
13448
 
        # broken collect2.
13449
 
        hardcode_direct_F77=unsupported
13450
 
      fi
13451
 
      ;;
13452
 
 
13453
 
    aix4* | aix5*)
13454
 
      if test "$host_cpu" = ia64; then
13455
 
        # On IA64, the linker does run time linking by default, so we don't
13456
 
        # have to do anything special.
13457
 
        aix_use_runtimelinking=no
13458
 
        exp_sym_flag='-Bexport'
13459
 
        no_entry_flag=""
13460
 
      else
13461
 
        # If we're using GNU nm, then we don't want the "-C" option.
13462
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
13463
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13464
 
          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'
13465
 
        else
13466
 
          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'
13467
 
        fi
13468
 
        aix_use_runtimelinking=no
13469
 
 
13470
 
        # Test if we are trying to use run time linking or normal
13471
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13472
 
        # need to do runtime linking.
13473
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13474
 
          for ld_flag in $LDFLAGS; do
13475
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13476
 
            aix_use_runtimelinking=yes
13477
 
            break
13478
 
          fi
13479
 
          done
13480
 
          ;;
13481
 
        esac
13482
 
 
13483
 
        exp_sym_flag='-bexport'
13484
 
        no_entry_flag='-bnoentry'
13485
 
      fi
13486
 
 
13487
 
      # When large executables or shared objects are built, AIX ld can
13488
 
      # have problems creating the table of contents.  If linking a library
13489
 
      # or program results in "error TOC overflow" add -mminimal-toc to
13490
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13491
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13492
 
 
13493
 
      archive_cmds_F77=''
13494
 
      hardcode_direct_F77=yes
13495
 
      hardcode_libdir_separator_F77=':'
13496
 
      link_all_deplibs_F77=yes
13497
 
 
13498
 
      if test "$GCC" = yes; then
13499
 
        case $host_os in aix4.[012]|aix4.[012].*)
13500
 
        # We only want to do this on AIX 4.2 and lower, the check
13501
 
        # below for broken collect2 doesn't work under 4.3+
13502
 
          collect2name=`${CC} -print-prog-name=collect2`
13503
 
          if test -f "$collect2name" && \
13504
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
13505
 
          then
13506
 
          # We have reworked collect2
13507
 
          hardcode_direct_F77=yes
13508
 
          else
13509
 
          # We have old collect2
13510
 
          hardcode_direct_F77=unsupported
13511
 
          # It fails to find uninstalled libraries when the uninstalled
13512
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
13513
 
          # to unsupported forces relinking
13514
 
          hardcode_minus_L_F77=yes
13515
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
13516
 
          hardcode_libdir_separator_F77=
13517
 
          fi
13518
 
          ;;
13519
 
        esac
13520
 
        shared_flag='-shared'
13521
 
        if test "$aix_use_runtimelinking" = yes; then
13522
 
          shared_flag="$shared_flag "'${wl}-G'
13523
 
        fi
13524
 
      else
13525
 
        # not using gcc
13526
 
        if test "$host_cpu" = ia64; then
13527
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13528
 
        # chokes on -Wl,-G. The following line is correct:
13529
 
          shared_flag='-G'
13530
 
        else
13531
 
          if test "$aix_use_runtimelinking" = yes; then
13532
 
            shared_flag='${wl}-G'
13533
 
          else
13534
 
            shared_flag='${wl}-bM:SRE'
13535
 
          fi
13536
 
        fi
13537
 
      fi
13538
 
 
13539
 
      # It seems that -bexpall does not export symbols beginning with
13540
 
      # underscore (_), so it is better to generate a list of symbols to export.
13541
 
      always_export_symbols_F77=yes
13542
 
      if test "$aix_use_runtimelinking" = yes; then
13543
 
        # Warning - without using the other runtime loading flags (-brtl),
13544
 
        # -berok will link without error, but may produce a broken library.
13545
 
        allow_undefined_flag_F77='-berok'
13546
 
       # Determine the default libpath from the value encoded in an empty executable.
13547
 
       cat >conftest.$ac_ext <<_ACEOF
13548
 
      program main
13549
 
 
13550
 
      end
13551
 
_ACEOF
13552
 
rm -f conftest.$ac_objext conftest$ac_exeext
13553
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13554
 
  (eval $ac_link) 2>conftest.er1
13555
 
  ac_status=$?
13556
 
  grep -v '^ *+' conftest.er1 >conftest.err
13557
 
  rm -f conftest.er1
13558
 
  cat conftest.err >&5
13559
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13560
 
  (exit $ac_status); } &&
13561
 
         { ac_try='test -z "$ac_f77_werror_flag"
13562
 
                         || test ! -s conftest.err'
13563
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13564
 
  (eval $ac_try) 2>&5
13565
 
  ac_status=$?
13566
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13567
 
  (exit $ac_status); }; } &&
13568
 
         { ac_try='test -s conftest$ac_exeext'
13569
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13570
 
  (eval $ac_try) 2>&5
13571
 
  ac_status=$?
13572
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13573
 
  (exit $ac_status); }; }; then
13574
 
 
13575
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13576
 
}'`
13577
 
# Check for a 64-bit object if we didn't find anything.
13578
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13579
 
}'`; fi
13580
 
else
13581
 
  echo "$as_me: failed program was:" >&5
13582
 
sed 's/^/| /' conftest.$ac_ext >&5
13583
 
 
13584
 
fi
13585
 
rm -f conftest.err conftest.$ac_objext \
13586
 
      conftest$ac_exeext conftest.$ac_ext
13587
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13588
 
 
13589
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13590
 
        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"
13591
 
       else
13592
 
        if test "$host_cpu" = ia64; then
13593
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13594
 
          allow_undefined_flag_F77="-z nodefs"
13595
 
          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"
13596
 
        else
13597
 
         # Determine the default libpath from the value encoded in an empty executable.
13598
 
         cat >conftest.$ac_ext <<_ACEOF
13599
 
      program main
13600
 
 
13601
 
      end
13602
 
_ACEOF
13603
 
rm -f conftest.$ac_objext conftest$ac_exeext
13604
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13605
 
  (eval $ac_link) 2>conftest.er1
13606
 
  ac_status=$?
13607
 
  grep -v '^ *+' conftest.er1 >conftest.err
13608
 
  rm -f conftest.er1
13609
 
  cat conftest.err >&5
13610
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611
 
  (exit $ac_status); } &&
13612
 
         { ac_try='test -z "$ac_f77_werror_flag"
13613
 
                         || test ! -s conftest.err'
13614
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13615
 
  (eval $ac_try) 2>&5
13616
 
  ac_status=$?
13617
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618
 
  (exit $ac_status); }; } &&
13619
 
         { ac_try='test -s conftest$ac_exeext'
13620
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13621
 
  (eval $ac_try) 2>&5
13622
 
  ac_status=$?
13623
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13624
 
  (exit $ac_status); }; }; then
13625
 
 
13626
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13627
 
}'`
13628
 
# Check for a 64-bit object if we didn't find anything.
13629
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13630
 
}'`; fi
13631
 
else
13632
 
  echo "$as_me: failed program was:" >&5
13633
 
sed 's/^/| /' conftest.$ac_ext >&5
13634
 
 
13635
 
fi
13636
 
rm -f conftest.err conftest.$ac_objext \
13637
 
      conftest$ac_exeext conftest.$ac_ext
13638
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13639
 
 
13640
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13641
 
          # Warning - without using the other run time loading flags,
13642
 
          # -berok will link without error, but may produce a broken library.
13643
 
          no_undefined_flag_F77=' ${wl}-bernotok'
13644
 
          allow_undefined_flag_F77=' ${wl}-berok'
13645
 
          # Exported symbols can be pulled into shared objects from archives
13646
 
          whole_archive_flag_spec_F77='$convenience'
13647
 
          archive_cmds_need_lc_F77=yes
13648
 
          # This is similar to how AIX traditionally builds its shared libraries.
13649
 
          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'
13650
 
        fi
13651
 
      fi
13652
 
      ;;
13653
 
 
13654
 
    amigaos*)
13655
 
      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)'
13656
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
13657
 
      hardcode_minus_L_F77=yes
13658
 
      # see comment about different semantics on the GNU ld section
13659
 
      ld_shlibs_F77=no
13660
 
      ;;
13661
 
 
13662
 
    bsdi[45]*)
13663
 
      export_dynamic_flag_spec_F77=-rdynamic
13664
 
      ;;
13665
 
 
13666
 
    cygwin* | mingw* | pw32*)
13667
 
      # When not using gcc, we currently assume that we are using
13668
 
      # Microsoft Visual C++.
13669
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
13670
 
      # no search path for DLLs.
13671
 
      hardcode_libdir_flag_spec_F77=' '
13672
 
      allow_undefined_flag_F77=unsupported
13673
 
      # Tell ltmain to make .lib files, not .a files.
13674
 
      libext=lib
13675
 
      # Tell ltmain to make .dll files, not .so files.
13676
 
      shrext_cmds=".dll"
13677
 
      # FIXME: Setting linknames here is a bad hack.
13678
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13679
 
      # The linker will automatically build a .lib file if we build a DLL.
13680
 
      old_archive_From_new_cmds_F77='true'
13681
 
      # FIXME: Should let the user specify the lib program.
13682
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13683
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
13684
 
      enable_shared_with_static_runtimes_F77=yes
13685
 
      ;;
13686
 
 
13687
 
    darwin* | rhapsody*)
13688
 
      case $host_os in
13689
 
        rhapsody* | darwin1.[012])
13690
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
13691
 
         ;;
13692
 
       *) # Darwin 1.3 on
13693
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13694
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13695
 
         else
13696
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
13697
 
             10.[012])
13698
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13699
 
               ;;
13700
 
             10.*)
13701
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
13702
 
               ;;
13703
 
           esac
13704
 
         fi
13705
 
         ;;
13706
 
      esac
13707
 
      archive_cmds_need_lc_F77=no
13708
 
      hardcode_direct_F77=no
13709
 
      hardcode_automatic_F77=yes
13710
 
      hardcode_shlibpath_var_F77=unsupported
13711
 
      whole_archive_flag_spec_F77=''
13712
 
      link_all_deplibs_F77=yes
13713
 
    if test "$GCC" = yes ; then
13714
 
        output_verbose_link_cmd='echo'
13715
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13716
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13717
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13718
 
      archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13719
 
      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}'
13720
 
    else
13721
 
      case $cc_basename in
13722
 
        xlc*)
13723
 
         output_verbose_link_cmd='echo'
13724
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
13725
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13726
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13727
 
         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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13728
 
          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}'
13729
 
          ;;
13730
 
       *)
13731
 
         ld_shlibs_F77=no
13732
 
          ;;
13733
 
      esac
13734
 
    fi
13735
 
      ;;
13736
 
 
13737
 
    dgux*)
13738
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13739
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
13740
 
      hardcode_shlibpath_var_F77=no
13741
 
      ;;
13742
 
 
13743
 
    freebsd1*)
13744
 
      ld_shlibs_F77=no
13745
 
      ;;
13746
 
 
13747
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13748
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
13749
 
    # does not break anything, and helps significantly (at the cost of a little
13750
 
    # extra space).
13751
 
    freebsd2.2*)
13752
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13753
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
13754
 
      hardcode_direct_F77=yes
13755
 
      hardcode_shlibpath_var_F77=no
13756
 
      ;;
13757
 
 
13758
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13759
 
    freebsd2*)
13760
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13761
 
      hardcode_direct_F77=yes
13762
 
      hardcode_minus_L_F77=yes
13763
 
      hardcode_shlibpath_var_F77=no
13764
 
      ;;
13765
 
 
13766
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13767
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
13768
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13769
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
13770
 
      hardcode_direct_F77=yes
13771
 
      hardcode_shlibpath_var_F77=no
13772
 
      ;;
13773
 
 
13774
 
    hpux9*)
13775
 
      if test "$GCC" = yes; then
13776
 
        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'
13777
 
      else
13778
 
        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'
13779
 
      fi
13780
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13781
 
      hardcode_libdir_separator_F77=:
13782
 
      hardcode_direct_F77=yes
13783
 
 
13784
 
      # hardcode_minus_L: Not really in the search PATH,
13785
 
      # but as the default location of the library.
13786
 
      hardcode_minus_L_F77=yes
13787
 
      export_dynamic_flag_spec_F77='${wl}-E'
13788
 
      ;;
13789
 
 
13790
 
    hpux10*)
13791
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13792
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13793
 
      else
13794
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13795
 
      fi
13796
 
      if test "$with_gnu_ld" = no; then
13797
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13798
 
        hardcode_libdir_separator_F77=:
13799
 
 
13800
 
        hardcode_direct_F77=yes
13801
 
        export_dynamic_flag_spec_F77='${wl}-E'
13802
 
 
13803
 
        # hardcode_minus_L: Not really in the search PATH,
13804
 
        # but as the default location of the library.
13805
 
        hardcode_minus_L_F77=yes
13806
 
      fi
13807
 
      ;;
13808
 
 
13809
 
    hpux11*)
13810
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13811
 
        case $host_cpu in
13812
 
        hppa*64*)
13813
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13814
 
          ;;
13815
 
        ia64*)
13816
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13817
 
          ;;
13818
 
        *)
13819
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13820
 
          ;;
13821
 
        esac
13822
 
      else
13823
 
        case $host_cpu in
13824
 
        hppa*64*)
13825
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13826
 
          ;;
13827
 
        ia64*)
13828
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13829
 
          ;;
13830
 
        *)
13831
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13832
 
          ;;
13833
 
        esac
13834
 
      fi
13835
 
      if test "$with_gnu_ld" = no; then
13836
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13837
 
        hardcode_libdir_separator_F77=:
13838
 
 
13839
 
        case $host_cpu in
13840
 
        hppa*64*|ia64*)
13841
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13842
 
          hardcode_direct_F77=no
13843
 
          hardcode_shlibpath_var_F77=no
13844
 
          ;;
13845
 
        *)
13846
 
          hardcode_direct_F77=yes
13847
 
          export_dynamic_flag_spec_F77='${wl}-E'
13848
 
 
13849
 
          # hardcode_minus_L: Not really in the search PATH,
13850
 
          # but as the default location of the library.
13851
 
          hardcode_minus_L_F77=yes
13852
 
          ;;
13853
 
        esac
13854
 
      fi
13855
 
      ;;
13856
 
 
13857
 
    irix5* | irix6* | nonstopux*)
13858
 
      if test "$GCC" = yes; then
13859
 
        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'
13860
 
      else
13861
 
        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'
13862
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13863
 
      fi
13864
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13865
 
      hardcode_libdir_separator_F77=:
13866
 
      link_all_deplibs_F77=yes
13867
 
      ;;
13868
 
 
13869
 
    netbsd*)
13870
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13871
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
13872
 
      else
13873
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
13874
 
      fi
13875
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
13876
 
      hardcode_direct_F77=yes
13877
 
      hardcode_shlibpath_var_F77=no
13878
 
      ;;
13879
 
 
13880
 
    newsos6)
13881
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13882
 
      hardcode_direct_F77=yes
13883
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13884
 
      hardcode_libdir_separator_F77=:
13885
 
      hardcode_shlibpath_var_F77=no
13886
 
      ;;
13887
 
 
13888
 
    openbsd*)
13889
 
      hardcode_direct_F77=yes
13890
 
      hardcode_shlibpath_var_F77=no
13891
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13892
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13893
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13894
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13895
 
        export_dynamic_flag_spec_F77='${wl}-E'
13896
 
      else
13897
 
       case $host_os in
13898
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13899
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13900
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
13901
 
           ;;
13902
 
         *)
13903
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13904
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13905
 
           ;;
13906
 
       esac
13907
 
      fi
13908
 
      ;;
13909
 
 
13910
 
    os2*)
13911
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
13912
 
      hardcode_minus_L_F77=yes
13913
 
      allow_undefined_flag_F77=unsupported
13914
 
      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'
13915
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13916
 
      ;;
13917
 
 
13918
 
    osf3*)
13919
 
      if test "$GCC" = yes; then
13920
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13921
 
        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'
13922
 
      else
13923
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
13924
 
        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'
13925
 
      fi
13926
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13927
 
      hardcode_libdir_separator_F77=:
13928
 
      ;;
13929
 
 
13930
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
13931
 
      if test "$GCC" = yes; then
13932
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13933
 
        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'
13934
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13935
 
      else
13936
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
13937
 
        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'
13938
 
        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~
13939
 
        $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'
13940
 
 
13941
 
        # Both c and cxx compiler support -rpath directly
13942
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
13943
 
      fi
13944
 
      hardcode_libdir_separator_F77=:
13945
 
      ;;
13946
 
 
13947
 
    solaris*)
13948
 
      no_undefined_flag_F77=' -z text'
13949
 
      if test "$GCC" = yes; then
13950
 
        wlarc='${wl}'
13951
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13952
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13953
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13954
 
      else
13955
 
        wlarc=''
13956
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13957
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13958
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13959
 
      fi
13960
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
13961
 
      hardcode_shlibpath_var_F77=no
13962
 
      case $host_os in
13963
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
13964
 
      *)
13965
 
        # The compiler driver will combine linker options so we
13966
 
        # cannot just pass the convience library names through
13967
 
        # without $wl, iff we do not link with $LD.
13968
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
13969
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
13970
 
        case $wlarc in
13971
 
        '')
13972
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13973
 
        *)
13974
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
13975
 
        esac ;;
13976
 
      esac
13977
 
      link_all_deplibs_F77=yes
13978
 
      ;;
13979
 
 
13980
 
    sunos4*)
13981
 
      if test "x$host_vendor" = xsequent; then
13982
 
        # Use $CC to link under sequent, because it throws in some extra .o
13983
 
        # files that make .init and .fini sections work.
13984
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13985
 
      else
13986
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13987
 
      fi
13988
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
13989
 
      hardcode_direct_F77=yes
13990
 
      hardcode_minus_L_F77=yes
13991
 
      hardcode_shlibpath_var_F77=no
13992
 
      ;;
13993
 
 
13994
 
    sysv4)
13995
 
      case $host_vendor in
13996
 
        sni)
13997
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13998
 
          hardcode_direct_F77=yes # is this really true???
13999
 
        ;;
14000
 
        siemens)
14001
 
          ## LD is ld it makes a PLAMLIB
14002
 
          ## CC just makes a GrossModule.
14003
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14004
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
14005
 
          hardcode_direct_F77=no
14006
 
        ;;
14007
 
        motorola)
14008
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14009
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
14010
 
        ;;
14011
 
      esac
14012
 
      runpath_var='LD_RUN_PATH'
14013
 
      hardcode_shlibpath_var_F77=no
14014
 
      ;;
14015
 
 
14016
 
    sysv4.3*)
14017
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14018
 
      hardcode_shlibpath_var_F77=no
14019
 
      export_dynamic_flag_spec_F77='-Bexport'
14020
 
      ;;
14021
 
 
14022
 
    sysv4*MP*)
14023
 
      if test -d /usr/nec; then
14024
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14025
 
        hardcode_shlibpath_var_F77=no
14026
 
        runpath_var=LD_RUN_PATH
14027
 
        hardcode_runpath_var=yes
14028
 
        ld_shlibs_F77=yes
14029
 
      fi
14030
 
      ;;
14031
 
 
14032
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
14033
 
      no_undefined_flag_F77='${wl}-z,text'
14034
 
      archive_cmds_need_lc_F77=no
14035
 
      hardcode_shlibpath_var_F77=no
14036
 
      runpath_var='LD_RUN_PATH'
14037
 
 
14038
 
      if test "$GCC" = yes; then
14039
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14040
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14041
 
      else
14042
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14043
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14044
 
      fi
14045
 
      ;;
14046
 
 
14047
 
    sysv5* | sco3.2v5* | sco5v6*)
14048
 
      # Note: We can NOT use -z defs as we might desire, because we do not
14049
 
      # link with -lc, and that would cause any symbols used from libc to
14050
 
      # always be unresolved, which means just about no library would
14051
 
      # ever link correctly.  If we're not using GNU ld we use -z text
14052
 
      # though, which does catch some bad symbols but isn't as heavy-handed
14053
 
      # as -z defs.
14054
 
      no_undefined_flag_F77='${wl}-z,text'
14055
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
14056
 
      archive_cmds_need_lc_F77=no
14057
 
      hardcode_shlibpath_var_F77=no
14058
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14059
 
      hardcode_libdir_separator_F77=':'
14060
 
      link_all_deplibs_F77=yes
14061
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
14062
 
      runpath_var='LD_RUN_PATH'
14063
 
 
14064
 
      if test "$GCC" = yes; then
14065
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14066
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14067
 
      else
14068
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14069
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14070
 
      fi
14071
 
      ;;
14072
 
 
14073
 
    uts4*)
14074
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14075
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14076
 
      hardcode_shlibpath_var_F77=no
14077
 
      ;;
14078
 
 
14079
 
    *)
14080
 
      ld_shlibs_F77=no
14081
 
      ;;
14082
 
    esac
14083
 
  fi
14084
 
 
14085
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14086
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
14087
 
test "$ld_shlibs_F77" = no && can_build_shared=no
14088
 
 
14089
 
#
14090
 
# Do we need to explicitly link libc?
14091
 
#
14092
 
case "x$archive_cmds_need_lc_F77" in
14093
 
x|xyes)
14094
 
  # Assume -lc should be added
14095
 
  archive_cmds_need_lc_F77=yes
14096
 
 
14097
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
14098
 
    case $archive_cmds_F77 in
14099
 
    *'~'*)
14100
 
      # FIXME: we may have to deal with multi-command sequences.
14101
 
      ;;
14102
 
    '$CC '*)
14103
 
      # Test whether the compiler implicitly links with -lc since on some
14104
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14105
 
      # to ld, don't add -lc before -lgcc.
14106
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14107
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14108
 
      $rm conftest*
14109
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14110
 
 
14111
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14112
 
  (eval $ac_compile) 2>&5
14113
 
  ac_status=$?
14114
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115
 
  (exit $ac_status); } 2>conftest.err; then
14116
 
        soname=conftest
14117
 
        lib=conftest
14118
 
        libobjs=conftest.$ac_objext
14119
 
        deplibs=
14120
 
        wl=$lt_prog_compiler_wl_F77
14121
 
        pic_flag=$lt_prog_compiler_pic_F77
14122
 
        compiler_flags=-v
14123
 
        linker_flags=-v
14124
 
        verstring=
14125
 
        output_objdir=.
14126
 
        libname=conftest
14127
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
14128
 
        allow_undefined_flag_F77=
14129
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14130
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14131
 
  ac_status=$?
14132
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133
 
  (exit $ac_status); }
14134
 
        then
14135
 
          archive_cmds_need_lc_F77=no
14136
 
        else
14137
 
          archive_cmds_need_lc_F77=yes
14138
 
        fi
14139
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
14140
 
      else
14141
 
        cat conftest.err 1>&5
14142
 
      fi
14143
 
      $rm conftest*
14144
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14145
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14146
 
      ;;
14147
 
    esac
14148
 
  fi
14149
 
  ;;
14150
 
esac
14151
 
 
14152
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14153
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14154
 
library_names_spec=
14155
 
libname_spec='lib$name'
14156
 
soname_spec=
14157
 
shrext_cmds=".so"
14158
 
postinstall_cmds=
14159
 
postuninstall_cmds=
14160
 
finish_cmds=
14161
 
finish_eval=
14162
 
shlibpath_var=
14163
 
shlibpath_overrides_runpath=unknown
14164
 
version_type=none
14165
 
dynamic_linker="$host_os ld.so"
14166
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14167
 
if test "$GCC" = yes; then
14168
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14169
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14170
 
    # if the path contains ";" then we assume it to be the separator
14171
 
    # otherwise default to the standard path separator (i.e. ":") - it is
14172
 
    # assumed that no part of a normal pathname contains ";" but that should
14173
 
    # okay in the real world where ";" in dirpaths is itself problematic.
14174
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14175
 
  else
14176
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14177
 
  fi
14178
 
else
14179
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14180
 
fi
14181
 
need_lib_prefix=unknown
14182
 
hardcode_into_libs=no
14183
 
 
14184
 
# when you set need_version to no, make sure it does not cause -set_version
14185
 
# flags to be left without arguments
14186
 
need_version=unknown
14187
 
 
14188
 
case $host_os in
14189
 
aix3*)
14190
 
  version_type=linux
14191
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14192
 
  shlibpath_var=LIBPATH
14193
 
 
14194
 
  # AIX 3 has no versioning support, so we append a major version to the name.
14195
 
  soname_spec='${libname}${release}${shared_ext}$major'
14196
 
  ;;
14197
 
 
14198
 
aix4* | aix5*)
14199
 
  version_type=linux
14200
 
  need_lib_prefix=no
14201
 
  need_version=no
14202
 
  hardcode_into_libs=yes
14203
 
  if test "$host_cpu" = ia64; then
14204
 
    # AIX 5 supports IA64
14205
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14206
 
    shlibpath_var=LD_LIBRARY_PATH
14207
 
  else
14208
 
    # With GCC up to 2.95.x, collect2 would create an import file
14209
 
    # for dependence libraries.  The import file would start with
14210
 
    # the line `#! .'.  This would cause the generated library to
14211
 
    # depend on `.', always an invalid library.  This was fixed in
14212
 
    # development snapshots of GCC prior to 3.0.
14213
 
    case $host_os in
14214
 
      aix4 | aix4.[01] | aix4.[01].*)
14215
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14216
 
           echo ' yes '
14217
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14218
 
        :
14219
 
      else
14220
 
        can_build_shared=no
14221
 
      fi
14222
 
      ;;
14223
 
    esac
14224
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14225
 
    # soname into executable. Probably we can add versioning support to
14226
 
    # collect2, so additional links can be useful in future.
14227
 
    if test "$aix_use_runtimelinking" = yes; then
14228
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14229
 
      # instead of lib<name>.a to let people know that these are not
14230
 
      # typical AIX shared libraries.
14231
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14232
 
    else
14233
 
      # We preserve .a as extension for shared libraries through AIX4.2
14234
 
      # and later when we are not doing run time linking.
14235
 
      library_names_spec='${libname}${release}.a $libname.a'
14236
 
      soname_spec='${libname}${release}${shared_ext}$major'
14237
 
    fi
14238
 
    shlibpath_var=LIBPATH
14239
 
  fi
14240
 
  ;;
14241
 
 
14242
 
amigaos*)
14243
 
  library_names_spec='$libname.ixlibrary $libname.a'
14244
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
14245
 
  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'
14246
 
  ;;
14247
 
 
14248
 
beos*)
14249
 
  library_names_spec='${libname}${shared_ext}'
14250
 
  dynamic_linker="$host_os ld.so"
14251
 
  shlibpath_var=LIBRARY_PATH
14252
 
  ;;
14253
 
 
14254
 
bsdi[45]*)
14255
 
  version_type=linux
14256
 
  need_version=no
14257
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14258
 
  soname_spec='${libname}${release}${shared_ext}$major'
14259
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14260
 
  shlibpath_var=LD_LIBRARY_PATH
14261
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14262
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14263
 
  # the default ld.so.conf also contains /usr/contrib/lib and
14264
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14265
 
  # libtool to hard-code these into programs
14266
 
  ;;
14267
 
 
14268
 
cygwin* | mingw* | pw32*)
14269
 
  version_type=windows
14270
 
  shrext_cmds=".dll"
14271
 
  need_version=no
14272
 
  need_lib_prefix=no
14273
 
 
14274
 
  case $GCC,$host_os in
14275
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
14276
 
    library_names_spec='$libname.dll.a'
14277
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14278
 
    postinstall_cmds='base_file=`basename \${file}`~
14279
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14280
 
      dldir=$destdir/`dirname \$dlpath`~
14281
 
      test -d \$dldir || mkdir -p \$dldir~
14282
 
      $install_prog $dir/$dlname \$dldir/$dlname~
14283
 
      chmod a+x \$dldir/$dlname'
14284
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14285
 
      dlpath=$dir/\$dldll~
14286
 
       $rm \$dlpath'
14287
 
    shlibpath_overrides_runpath=yes
14288
 
 
14289
 
    case $host_os in
14290
 
    cygwin*)
14291
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14292
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14293
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14294
 
      ;;
14295
 
    mingw*)
14296
 
      # MinGW DLLs use traditional 'lib' prefix
14297
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14298
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14299
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14300
 
        # It is most probably a Windows format PATH printed by
14301
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
14302
 
        # path with ; separators, and with drive letters. We can handle the
14303
 
        # drive letters (cygwin fileutils understands them), so leave them,
14304
 
        # especially as we might pass files found there to a mingw objdump,
14305
 
        # which wouldn't understand a cygwinified path. Ahh.
14306
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14307
 
      else
14308
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14309
 
      fi
14310
 
      ;;
14311
 
    pw32*)
14312
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
14313
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14314
 
      ;;
14315
 
    esac
14316
 
    ;;
14317
 
 
14318
 
  *)
14319
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14320
 
    ;;
14321
 
  esac
14322
 
  dynamic_linker='Win32 ld.exe'
14323
 
  # FIXME: first we should search . and the directory the executable is in
14324
 
  shlibpath_var=PATH
14325
 
  ;;
14326
 
 
14327
 
darwin* | rhapsody*)
14328
 
  dynamic_linker="$host_os dyld"
14329
 
  version_type=darwin
14330
 
  need_lib_prefix=no
14331
 
  need_version=no
14332
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14333
 
  soname_spec='${libname}${release}${major}$shared_ext'
14334
 
  shlibpath_overrides_runpath=yes
14335
 
  shlibpath_var=DYLD_LIBRARY_PATH
14336
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14337
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14338
 
  if test "$GCC" = yes; then
14339
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
14340
 
  else
14341
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14342
 
  fi
14343
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14344
 
  ;;
14345
 
 
14346
 
dgux*)
14347
 
  version_type=linux
14348
 
  need_lib_prefix=no
14349
 
  need_version=no
14350
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14351
 
  soname_spec='${libname}${release}${shared_ext}$major'
14352
 
  shlibpath_var=LD_LIBRARY_PATH
14353
 
  ;;
14354
 
 
14355
 
freebsd1*)
14356
 
  dynamic_linker=no
14357
 
  ;;
14358
 
 
14359
 
kfreebsd*-gnu)
14360
 
  version_type=linux
14361
 
  need_lib_prefix=no
14362
 
  need_version=no
14363
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14364
 
  soname_spec='${libname}${release}${shared_ext}$major'
14365
 
  shlibpath_var=LD_LIBRARY_PATH
14366
 
  shlibpath_overrides_runpath=no
14367
 
  hardcode_into_libs=yes
14368
 
  dynamic_linker='GNU ld.so'
14369
 
  ;;
14370
 
 
14371
 
freebsd* | dragonfly*)
14372
 
  # DragonFly does not have aout.  When/if they implement a new
14373
 
  # versioning mechanism, adjust this.
14374
 
  if test -x /usr/bin/objformat; then
14375
 
    objformat=`/usr/bin/objformat`
14376
 
  else
14377
 
    case $host_os in
14378
 
    freebsd[123]*) objformat=aout ;;
14379
 
    *) objformat=elf ;;
14380
 
    esac
14381
 
  fi
14382
 
  version_type=freebsd-$objformat
14383
 
  case $version_type in
14384
 
    freebsd-elf*)
14385
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14386
 
      need_version=no
14387
 
      need_lib_prefix=no
14388
 
      ;;
14389
 
    freebsd-*)
14390
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14391
 
      need_version=yes
14392
 
      ;;
14393
 
  esac
14394
 
  shlibpath_var=LD_LIBRARY_PATH
14395
 
  case $host_os in
14396
 
  freebsd2*)
14397
 
    shlibpath_overrides_runpath=yes
14398
 
    ;;
14399
 
  freebsd3.[01]* | freebsdelf3.[01]*)
14400
 
    shlibpath_overrides_runpath=yes
14401
 
    hardcode_into_libs=yes
14402
 
    ;;
14403
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14404
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14405
 
    shlibpath_overrides_runpath=no
14406
 
    hardcode_into_libs=yes
14407
 
    ;;
14408
 
  freebsd*) # from 4.6 on
14409
 
    shlibpath_overrides_runpath=yes
14410
 
    hardcode_into_libs=yes
14411
 
    ;;
14412
 
  esac
14413
 
  ;;
14414
 
 
14415
 
gnu*)
14416
 
  version_type=linux
14417
 
  need_lib_prefix=no
14418
 
  need_version=no
14419
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14420
 
  soname_spec='${libname}${release}${shared_ext}$major'
14421
 
  shlibpath_var=LD_LIBRARY_PATH
14422
 
  hardcode_into_libs=yes
14423
 
  ;;
14424
 
 
14425
 
hpux9* | hpux10* | hpux11*)
14426
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
14427
 
  # link against other versions.
14428
 
  version_type=sunos
14429
 
  need_lib_prefix=no
14430
 
  need_version=no
14431
 
  case $host_cpu in
14432
 
  ia64*)
14433
 
    shrext_cmds='.so'
14434
 
    hardcode_into_libs=yes
14435
 
    dynamic_linker="$host_os dld.so"
14436
 
    shlibpath_var=LD_LIBRARY_PATH
14437
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14438
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14439
 
    soname_spec='${libname}${release}${shared_ext}$major'
14440
 
    if test "X$HPUX_IA64_MODE" = X32; then
14441
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14442
 
    else
14443
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14444
 
    fi
14445
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14446
 
    ;;
14447
 
   hppa*64*)
14448
 
     shrext_cmds='.sl'
14449
 
     hardcode_into_libs=yes
14450
 
     dynamic_linker="$host_os dld.sl"
14451
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14452
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14453
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14454
 
     soname_spec='${libname}${release}${shared_ext}$major'
14455
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14456
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14457
 
     ;;
14458
 
   *)
14459
 
    shrext_cmds='.sl'
14460
 
    dynamic_linker="$host_os dld.sl"
14461
 
    shlibpath_var=SHLIB_PATH
14462
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14463
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14464
 
    soname_spec='${libname}${release}${shared_ext}$major'
14465
 
    ;;
14466
 
  esac
14467
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
14468
 
  postinstall_cmds='chmod 555 $lib'
14469
 
  ;;
14470
 
 
14471
 
interix3*)
14472
 
  version_type=linux
14473
 
  need_lib_prefix=no
14474
 
  need_version=no
14475
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14476
 
  soname_spec='${libname}${release}${shared_ext}$major'
14477
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14478
 
  shlibpath_var=LD_LIBRARY_PATH
14479
 
  shlibpath_overrides_runpath=no
14480
 
  hardcode_into_libs=yes
14481
 
  ;;
14482
 
 
14483
 
irix5* | irix6* | nonstopux*)
14484
 
  case $host_os in
14485
 
    nonstopux*) version_type=nonstopux ;;
14486
 
    *)
14487
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
14488
 
                version_type=linux
14489
 
        else
14490
 
                version_type=irix
14491
 
        fi ;;
14492
 
  esac
14493
 
  need_lib_prefix=no
14494
 
  need_version=no
14495
 
  soname_spec='${libname}${release}${shared_ext}$major'
14496
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14497
 
  case $host_os in
14498
 
  irix5* | nonstopux*)
14499
 
    libsuff= shlibsuff=
14500
 
    ;;
14501
 
  *)
14502
 
    case $LD in # libtool.m4 will add one of these switches to LD
14503
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14504
 
      libsuff= shlibsuff= libmagic=32-bit;;
14505
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14506
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
14507
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14508
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
14509
 
    *) libsuff= shlibsuff= libmagic=never-match;;
14510
 
    esac
14511
 
    ;;
14512
 
  esac
14513
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14514
 
  shlibpath_overrides_runpath=no
14515
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14516
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14517
 
  hardcode_into_libs=yes
14518
 
  ;;
14519
 
 
14520
 
# No shared lib support for Linux oldld, aout, or coff.
14521
 
linux*oldld* | linux*aout* | linux*coff*)
14522
 
  dynamic_linker=no
14523
 
  ;;
14524
 
 
14525
 
# This must be Linux ELF.
14526
 
linux*)
14527
 
  version_type=linux
14528
 
  need_lib_prefix=no
14529
 
  need_version=no
14530
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14531
 
  soname_spec='${libname}${release}${shared_ext}$major'
14532
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14533
 
  shlibpath_var=LD_LIBRARY_PATH
14534
 
  shlibpath_overrides_runpath=no
14535
 
  # This implies no fast_install, which is unacceptable.
14536
 
  # Some rework will be needed to allow for fast_install
14537
 
  # before this can be enabled.
14538
 
  hardcode_into_libs=yes
14539
 
 
14540
 
  # find out which ABI we are using
14541
 
  libsuff=
14542
 
  case "$host_cpu" in
14543
 
  x86_64*|s390x*|powerpc64*)
14544
 
    echo '#line 14544 "configure"' > conftest.$ac_ext
14545
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14546
 
  (eval $ac_compile) 2>&5
14547
 
  ac_status=$?
14548
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14549
 
  (exit $ac_status); }; then
14550
 
      case `/usr/bin/file conftest.$ac_objext` in
14551
 
      *64-bit*)
14552
 
        libsuff=64
14553
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14554
 
        ;;
14555
 
      esac
14556
 
    fi
14557
 
    rm -rf conftest*
14558
 
    ;;
14559
 
  esac
14560
 
 
14561
 
  # Append ld.so.conf contents to the search path
14562
 
  if test -f /etc/ld.so.conf; then
14563
 
    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/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14564
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
14565
 
  fi
14566
 
 
14567
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14568
 
  # powerpc, because MkLinux only supported shared libraries with the
14569
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
14570
 
  # most powerpc-linux boxes support dynamic linking these days and
14571
 
  # people can always --disable-shared, the test was removed, and we
14572
 
  # assume the GNU/Linux dynamic linker is in use.
14573
 
  dynamic_linker='GNU/Linux ld.so'
14574
 
  ;;
14575
 
 
14576
 
knetbsd*-gnu)
14577
 
  version_type=linux
14578
 
  need_lib_prefix=no
14579
 
  need_version=no
14580
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14581
 
  soname_spec='${libname}${release}${shared_ext}$major'
14582
 
  shlibpath_var=LD_LIBRARY_PATH
14583
 
  shlibpath_overrides_runpath=no
14584
 
  hardcode_into_libs=yes
14585
 
  dynamic_linker='GNU ld.so'
14586
 
  ;;
14587
 
 
14588
 
netbsd*)
14589
 
  version_type=sunos
14590
 
  need_lib_prefix=no
14591
 
  need_version=no
14592
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14593
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14594
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14595
 
    dynamic_linker='NetBSD (a.out) ld.so'
14596
 
  else
14597
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14598
 
    soname_spec='${libname}${release}${shared_ext}$major'
14599
 
    dynamic_linker='NetBSD ld.elf_so'
14600
 
  fi
14601
 
  shlibpath_var=LD_LIBRARY_PATH
14602
 
  shlibpath_overrides_runpath=yes
14603
 
  hardcode_into_libs=yes
14604
 
  ;;
14605
 
 
14606
 
newsos6)
14607
 
  version_type=linux
14608
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14609
 
  shlibpath_var=LD_LIBRARY_PATH
14610
 
  shlibpath_overrides_runpath=yes
14611
 
  ;;
14612
 
 
14613
 
nto-qnx*)
14614
 
  version_type=linux
14615
 
  need_lib_prefix=no
14616
 
  need_version=no
14617
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14618
 
  soname_spec='${libname}${release}${shared_ext}$major'
14619
 
  shlibpath_var=LD_LIBRARY_PATH
14620
 
  shlibpath_overrides_runpath=yes
14621
 
  ;;
14622
 
 
14623
 
openbsd*)
14624
 
  version_type=sunos
14625
 
  sys_lib_dlsearch_path_spec="/usr/lib"
14626
 
  need_lib_prefix=no
14627
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14628
 
  case $host_os in
14629
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14630
 
    *)                         need_version=no  ;;
14631
 
  esac
14632
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14633
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14634
 
  shlibpath_var=LD_LIBRARY_PATH
14635
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14636
 
    case $host_os in
14637
 
      openbsd2.[89] | openbsd2.[89].*)
14638
 
        shlibpath_overrides_runpath=no
14639
 
        ;;
14640
 
      *)
14641
 
        shlibpath_overrides_runpath=yes
14642
 
        ;;
14643
 
      esac
14644
 
  else
14645
 
    shlibpath_overrides_runpath=yes
14646
 
  fi
14647
 
  ;;
14648
 
 
14649
 
os2*)
14650
 
  libname_spec='$name'
14651
 
  shrext_cmds=".dll"
14652
 
  need_lib_prefix=no
14653
 
  library_names_spec='$libname${shared_ext} $libname.a'
14654
 
  dynamic_linker='OS/2 ld.exe'
14655
 
  shlibpath_var=LIBPATH
14656
 
  ;;
14657
 
 
14658
 
osf3* | osf4* | osf5*)
14659
 
  version_type=osf
14660
 
  need_lib_prefix=no
14661
 
  need_version=no
14662
 
  soname_spec='${libname}${release}${shared_ext}$major'
14663
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14664
 
  shlibpath_var=LD_LIBRARY_PATH
14665
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14666
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14667
 
  ;;
14668
 
 
14669
 
solaris*)
14670
 
  version_type=linux
14671
 
  need_lib_prefix=no
14672
 
  need_version=no
14673
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14674
 
  soname_spec='${libname}${release}${shared_ext}$major'
14675
 
  shlibpath_var=LD_LIBRARY_PATH
14676
 
  shlibpath_overrides_runpath=yes
14677
 
  hardcode_into_libs=yes
14678
 
  # ldd complains unless libraries are executable
14679
 
  postinstall_cmds='chmod +x $lib'
14680
 
  ;;
14681
 
 
14682
 
sunos4*)
14683
 
  version_type=sunos
14684
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14685
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14686
 
  shlibpath_var=LD_LIBRARY_PATH
14687
 
  shlibpath_overrides_runpath=yes
14688
 
  if test "$with_gnu_ld" = yes; then
14689
 
    need_lib_prefix=no
14690
 
  fi
14691
 
  need_version=yes
14692
 
  ;;
14693
 
 
14694
 
sysv4 | sysv4.3*)
14695
 
  version_type=linux
14696
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14697
 
  soname_spec='${libname}${release}${shared_ext}$major'
14698
 
  shlibpath_var=LD_LIBRARY_PATH
14699
 
  case $host_vendor in
14700
 
    sni)
14701
 
      shlibpath_overrides_runpath=no
14702
 
      need_lib_prefix=no
14703
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
14704
 
      runpath_var=LD_RUN_PATH
14705
 
      ;;
14706
 
    siemens)
14707
 
      need_lib_prefix=no
14708
 
      ;;
14709
 
    motorola)
14710
 
      need_lib_prefix=no
14711
 
      need_version=no
14712
 
      shlibpath_overrides_runpath=no
14713
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14714
 
      ;;
14715
 
  esac
14716
 
  ;;
14717
 
 
14718
 
sysv4*MP*)
14719
 
  if test -d /usr/nec ;then
14720
 
    version_type=linux
14721
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14722
 
    soname_spec='$libname${shared_ext}.$major'
14723
 
    shlibpath_var=LD_LIBRARY_PATH
14724
 
  fi
14725
 
  ;;
14726
 
 
14727
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14728
 
  version_type=freebsd-elf
14729
 
  need_lib_prefix=no
14730
 
  need_version=no
14731
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14732
 
  soname_spec='${libname}${release}${shared_ext}$major'
14733
 
  shlibpath_var=LD_LIBRARY_PATH
14734
 
  hardcode_into_libs=yes
14735
 
  if test "$with_gnu_ld" = yes; then
14736
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14737
 
    shlibpath_overrides_runpath=no
14738
 
  else
14739
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14740
 
    shlibpath_overrides_runpath=yes
14741
 
    case $host_os in
14742
 
      sco3.2v5*)
14743
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14744
 
        ;;
14745
 
    esac
14746
 
  fi
14747
 
  sys_lib_dlsearch_path_spec='/usr/lib'
14748
 
  ;;
14749
 
 
14750
 
uts4*)
14751
 
  version_type=linux
14752
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14753
 
  soname_spec='${libname}${release}${shared_ext}$major'
14754
 
  shlibpath_var=LD_LIBRARY_PATH
14755
 
  ;;
14756
 
 
14757
 
*)
14758
 
  dynamic_linker=no
14759
 
  ;;
14760
 
esac
14761
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14762
 
echo "${ECHO_T}$dynamic_linker" >&6
14763
 
test "$dynamic_linker" = no && can_build_shared=no
14764
 
 
14765
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14766
 
if test "$GCC" = yes; then
14767
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14768
 
fi
14769
 
 
14770
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14771
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14772
 
hardcode_action_F77=
14773
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
14774
 
   test -n "$runpath_var_F77" || \
14775
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
14776
 
 
14777
 
  # We can hardcode non-existant directories.
14778
 
  if test "$hardcode_direct_F77" != no &&
14779
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14780
 
     # have to relink, otherwise we might link with an installed library
14781
 
     # when we should be linking with a yet-to-be-installed one
14782
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14783
 
     test "$hardcode_minus_L_F77" != no; then
14784
 
    # Linking always hardcodes the temporary library directory.
14785
 
    hardcode_action_F77=relink
14786
 
  else
14787
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
14788
 
    hardcode_action_F77=immediate
14789
 
  fi
14790
 
else
14791
 
  # We cannot hardcode anything, or else we can only hardcode existing
14792
 
  # directories.
14793
 
  hardcode_action_F77=unsupported
14794
 
fi
14795
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14796
 
echo "${ECHO_T}$hardcode_action_F77" >&6
14797
 
 
14798
 
if test "$hardcode_action_F77" = relink; then
14799
 
  # Fast installation is not supported
14800
 
  enable_fast_install=no
14801
 
elif test "$shlibpath_overrides_runpath" = yes ||
14802
 
     test "$enable_shared" = no; then
14803
 
  # Fast installation is not necessary
14804
 
  enable_fast_install=needless
14805
 
fi
14806
 
 
14807
 
 
14808
 
# The else clause should only fire when bootstrapping the
14809
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
14810
 
# with your package, and you will get complaints that there are
14811
 
# no rules to generate ltmain.sh.
14812
 
if test -f "$ltmain"; then
14813
 
  # See if we are running on zsh, and set the options which allow our commands through
14814
 
  # without removal of \ escapes.
14815
 
  if test -n "${ZSH_VERSION+set}" ; then
14816
 
    setopt NO_GLOB_SUBST
14817
 
  fi
14818
 
  # Now quote all the things that may contain metacharacters while being
14819
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
14820
 
  # variables and quote the copies for generation of the libtool script.
14821
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14822
 
    SED SHELL STRIP \
14823
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14824
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14825
 
    deplibs_check_method reload_flag reload_cmds need_locks \
14826
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14827
 
    lt_cv_sys_global_symbol_to_c_name_address \
14828
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14829
 
    old_postinstall_cmds old_postuninstall_cmds \
14830
 
    compiler_F77 \
14831
 
    CC_F77 \
14832
 
    LD_F77 \
14833
 
    lt_prog_compiler_wl_F77 \
14834
 
    lt_prog_compiler_pic_F77 \
14835
 
    lt_prog_compiler_static_F77 \
14836
 
    lt_prog_compiler_no_builtin_flag_F77 \
14837
 
    export_dynamic_flag_spec_F77 \
14838
 
    thread_safe_flag_spec_F77 \
14839
 
    whole_archive_flag_spec_F77 \
14840
 
    enable_shared_with_static_runtimes_F77 \
14841
 
    old_archive_cmds_F77 \
14842
 
    old_archive_from_new_cmds_F77 \
14843
 
    predep_objects_F77 \
14844
 
    postdep_objects_F77 \
14845
 
    predeps_F77 \
14846
 
    postdeps_F77 \
14847
 
    compiler_lib_search_path_F77 \
14848
 
    archive_cmds_F77 \
14849
 
    archive_expsym_cmds_F77 \
14850
 
    postinstall_cmds_F77 \
14851
 
    postuninstall_cmds_F77 \
14852
 
    old_archive_from_expsyms_cmds_F77 \
14853
 
    allow_undefined_flag_F77 \
14854
 
    no_undefined_flag_F77 \
14855
 
    export_symbols_cmds_F77 \
14856
 
    hardcode_libdir_flag_spec_F77 \
14857
 
    hardcode_libdir_flag_spec_ld_F77 \
14858
 
    hardcode_libdir_separator_F77 \
14859
 
    hardcode_automatic_F77 \
14860
 
    module_cmds_F77 \
14861
 
    module_expsym_cmds_F77 \
14862
 
    lt_cv_prog_compiler_c_o_F77 \
14863
 
    exclude_expsyms_F77 \
14864
 
    include_expsyms_F77; do
14865
 
 
14866
 
    case $var in
14867
 
    old_archive_cmds_F77 | \
14868
 
    old_archive_from_new_cmds_F77 | \
14869
 
    archive_cmds_F77 | \
14870
 
    archive_expsym_cmds_F77 | \
14871
 
    module_cmds_F77 | \
14872
 
    module_expsym_cmds_F77 | \
14873
 
    old_archive_from_expsyms_cmds_F77 | \
14874
 
    export_symbols_cmds_F77 | \
14875
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
14876
 
    postinstall_cmds | postuninstall_cmds | \
14877
 
    old_postinstall_cmds | old_postuninstall_cmds | \
14878
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14879
 
      # Double-quote double-evaled strings.
14880
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14881
 
      ;;
14882
 
    *)
14883
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14884
 
      ;;
14885
 
    esac
14886
 
  done
14887
 
 
14888
 
  case $lt_echo in
14889
 
  *'\$0 --fallback-echo"')
14890
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14891
 
    ;;
14892
 
  esac
14893
 
 
14894
 
cfgfile="$ofile"
14895
 
 
14896
 
  cat <<__EOF__ >> "$cfgfile"
14897
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
14898
 
 
14899
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14900
 
 
14901
 
# Shell to use when invoking shell scripts.
14902
 
SHELL=$lt_SHELL
14903
 
 
14904
 
# Whether or not to build shared libraries.
14905
 
build_libtool_libs=$enable_shared
14906
 
 
14907
 
# Whether or not to build static libraries.
14908
 
build_old_libs=$enable_static
14909
 
 
14910
 
# Whether or not to add -lc for building shared libraries.
14911
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
14912
 
 
14913
 
# Whether or not to disallow shared libs when runtime libs are static
14914
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14915
 
 
14916
 
# Whether or not to optimize for fast installation.
14917
 
fast_install=$enable_fast_install
14918
 
 
14919
 
# The host system.
14920
 
host_alias=$host_alias
14921
 
host=$host
14922
 
host_os=$host_os
14923
 
 
14924
 
# The build system.
14925
 
build_alias=$build_alias
14926
 
build=$build
14927
 
build_os=$build_os
14928
 
 
14929
 
# An echo program that does not interpret backslashes.
14930
 
echo=$lt_echo
14931
 
 
14932
 
# The archiver.
14933
 
AR=$lt_AR
14934
 
AR_FLAGS=$lt_AR_FLAGS
14935
 
 
14936
 
# A C compiler.
14937
 
LTCC=$lt_LTCC
14938
 
 
14939
 
# LTCC compiler flags.
14940
 
LTCFLAGS=$lt_LTCFLAGS
14941
 
 
14942
 
# A language-specific compiler.
14943
 
CC=$lt_compiler_F77
14944
 
 
14945
 
# Is the compiler the GNU C compiler?
14946
 
with_gcc=$GCC_F77
14947
 
 
14948
 
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
14949
 
gcc_ver=\`gcc -dumpversion\`
14950
 
 
14951
 
# An ERE matcher.
14952
 
EGREP=$lt_EGREP
14953
 
 
14954
 
# The linker used to build libraries.
14955
 
LD=$lt_LD_F77
14956
 
 
14957
 
# Whether we need hard or soft links.
14958
 
LN_S=$lt_LN_S
14959
 
 
14960
 
# A BSD-compatible nm program.
14961
 
NM=$lt_NM
14962
 
 
14963
 
# A symbol stripping program
14964
 
STRIP=$lt_STRIP
14965
 
 
14966
 
# Used to examine libraries when file_magic_cmd begins "file"
14967
 
MAGIC_CMD=$MAGIC_CMD
14968
 
 
14969
 
# Used on cygwin: DLL creation program.
14970
 
DLLTOOL="$DLLTOOL"
14971
 
 
14972
 
# Used on cygwin: object dumper.
14973
 
OBJDUMP="$OBJDUMP"
14974
 
 
14975
 
# Used on cygwin: assembler.
14976
 
AS="$AS"
14977
 
 
14978
 
# The name of the directory that contains temporary libtool files.
14979
 
objdir=$objdir
14980
 
 
14981
 
# How to create reloadable object files.
14982
 
reload_flag=$lt_reload_flag
14983
 
reload_cmds=$lt_reload_cmds
14984
 
 
14985
 
# How to pass a linker flag through the compiler.
14986
 
wl=$lt_lt_prog_compiler_wl_F77
14987
 
 
14988
 
# Object file suffix (normally "o").
14989
 
objext="$ac_objext"
14990
 
 
14991
 
# Old archive suffix (normally "a").
14992
 
libext="$libext"
14993
 
 
14994
 
# Shared library suffix (normally ".so").
14995
 
shrext_cmds='$shrext_cmds'
14996
 
 
14997
 
# Executable file suffix (normally "").
14998
 
exeext="$exeext"
14999
 
 
15000
 
# Additional compiler flags for building library objects.
15001
 
pic_flag=$lt_lt_prog_compiler_pic_F77
15002
 
pic_mode=$pic_mode
15003
 
 
15004
 
# What is the maximum length of a command?
15005
 
max_cmd_len=$lt_cv_sys_max_cmd_len
15006
 
 
15007
 
# Does compiler simultaneously support -c and -o options?
15008
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15009
 
 
15010
 
# Must we lock files when doing compilation?
15011
 
need_locks=$lt_need_locks
15012
 
 
15013
 
# Do we need the lib prefix for modules?
15014
 
need_lib_prefix=$need_lib_prefix
15015
 
 
15016
 
# Do we need a version for libraries?
15017
 
need_version=$need_version
15018
 
 
15019
 
# Whether dlopen is supported.
15020
 
dlopen_support=$enable_dlopen
15021
 
 
15022
 
# Whether dlopen of programs is supported.
15023
 
dlopen_self=$enable_dlopen_self
15024
 
 
15025
 
# Whether dlopen of statically linked programs is supported.
15026
 
dlopen_self_static=$enable_dlopen_self_static
15027
 
 
15028
 
# Compiler flag to prevent dynamic linking.
15029
 
link_static_flag=$lt_lt_prog_compiler_static_F77
15030
 
 
15031
 
# Compiler flag to turn off builtin functions.
15032
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15033
 
 
15034
 
# Compiler flag to allow reflexive dlopens.
15035
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15036
 
 
15037
 
# Compiler flag to generate shared objects directly from archives.
15038
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15039
 
 
15040
 
# Compiler flag to generate thread-safe objects.
15041
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15042
 
 
15043
 
# Library versioning type.
15044
 
version_type=$version_type
15045
 
 
15046
 
# Format of library name prefix.
15047
 
libname_spec=$lt_libname_spec
15048
 
 
15049
 
# List of archive names.  First name is the real one, the rest are links.
15050
 
# The last name is the one that the linker finds with -lNAME.
15051
 
library_names_spec=$lt_library_names_spec
15052
 
 
15053
 
# The coded name of the library, if different from the real name.
15054
 
soname_spec=$lt_soname_spec
15055
 
 
15056
 
# Commands used to build and install an old-style archive.
15057
 
RANLIB=$lt_RANLIB
15058
 
old_archive_cmds=$lt_old_archive_cmds_F77
15059
 
old_postinstall_cmds=$lt_old_postinstall_cmds
15060
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15061
 
 
15062
 
# Create an old-style archive from a shared archive.
15063
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15064
 
 
15065
 
# Create a temporary old-style archive to link instead of a shared archive.
15066
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15067
 
 
15068
 
# Commands used to build and install a shared archive.
15069
 
archive_cmds=$lt_archive_cmds_F77
15070
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15071
 
postinstall_cmds=$lt_postinstall_cmds
15072
 
postuninstall_cmds=$lt_postuninstall_cmds
15073
 
 
15074
 
# Commands used to build a loadable module (assumed same as above if empty)
15075
 
module_cmds=$lt_module_cmds_F77
15076
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
15077
 
 
15078
 
# Commands to strip libraries.
15079
 
old_striplib=$lt_old_striplib
15080
 
striplib=$lt_striplib
15081
 
 
15082
 
# Dependencies to place before the objects being linked to create a
15083
 
# shared library.
15084
 
predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15085
 
 
15086
 
# Dependencies to place after the objects being linked to create a
15087
 
# shared library.
15088
 
postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15089
 
 
15090
 
# Dependencies to place before the objects being linked to create a
15091
 
# shared library.
15092
 
predeps=$lt_predeps_F77
15093
 
 
15094
 
# Dependencies to place after the objects being linked to create a
15095
 
# shared library.
15096
 
postdeps=$lt_postdeps_F77
15097
 
 
15098
 
# The library search path used internally by the compiler when linking
15099
 
# a shared library.
15100
 
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15101
 
 
15102
 
# Method to check whether dependent libraries are shared objects.
15103
 
deplibs_check_method=$lt_deplibs_check_method
15104
 
 
15105
 
# Command to use when deplibs_check_method == file_magic.
15106
 
file_magic_cmd=$lt_file_magic_cmd
15107
 
 
15108
 
# Flag that allows shared libraries with undefined symbols to be built.
15109
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
15110
 
 
15111
 
# Flag that forces no undefined symbols.
15112
 
no_undefined_flag=$lt_no_undefined_flag_F77
15113
 
 
15114
 
# Commands used to finish a libtool library installation in a directory.
15115
 
finish_cmds=$lt_finish_cmds
15116
 
 
15117
 
# Same as above, but a single script fragment to be evaled but not shown.
15118
 
finish_eval=$lt_finish_eval
15119
 
 
15120
 
# Take the output of nm and produce a listing of raw symbols and C names.
15121
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15122
 
 
15123
 
# Transform the output of nm in a proper C declaration
15124
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15125
 
 
15126
 
# Transform the output of nm in a C name address pair
15127
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15128
 
 
15129
 
# This is the shared library runtime path variable.
15130
 
runpath_var=$runpath_var
15131
 
 
15132
 
# This is the shared library path variable.
15133
 
shlibpath_var=$shlibpath_var
15134
 
 
15135
 
# Is shlibpath searched before the hard-coded library search path?
15136
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15137
 
 
15138
 
# How to hardcode a shared library path into an executable.
15139
 
hardcode_action=$hardcode_action_F77
15140
 
 
15141
 
# Whether we should hardcode library paths into libraries.
15142
 
hardcode_into_libs=$hardcode_into_libs
15143
 
 
15144
 
# Flag to hardcode \$libdir into a binary during linking.
15145
 
# This must work even if \$libdir does not exist.
15146
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15147
 
 
15148
 
# If ld is used when linking, flag to hardcode \$libdir into
15149
 
# a binary during linking. This must work even if \$libdir does
15150
 
# not exist.
15151
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15152
 
 
15153
 
# Whether we need a single -rpath flag with a separated argument.
15154
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15155
 
 
15156
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15157
 
# resulting binary.
15158
 
hardcode_direct=$hardcode_direct_F77
15159
 
 
15160
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15161
 
# resulting binary.
15162
 
hardcode_minus_L=$hardcode_minus_L_F77
15163
 
 
15164
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15165
 
# the resulting binary.
15166
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15167
 
 
15168
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
15169
 
# and all subsequent libraries and executables linked against it.
15170
 
hardcode_automatic=$hardcode_automatic_F77
15171
 
 
15172
 
# Variables whose values should be saved in libtool wrapper scripts and
15173
 
# restored at relink time.
15174
 
variables_saved_for_relink="$variables_saved_for_relink"
15175
 
 
15176
 
# Whether libtool must link a program against all its dependency libraries.
15177
 
link_all_deplibs=$link_all_deplibs_F77
15178
 
 
15179
 
# Compile-time system search path for libraries
15180
 
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15181
 
 
15182
 
# Run-time system search path for libraries
15183
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15184
 
 
15185
 
# Fix the shell variable \$srcfile for the compiler.
15186
 
fix_srcfile_path="$fix_srcfile_path_F77"
15187
 
 
15188
 
# Set to yes if exported symbols are required.
15189
 
always_export_symbols=$always_export_symbols_F77
15190
 
 
15191
 
# The commands to list exported symbols.
15192
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
15193
 
 
15194
 
# The commands to extract the exported symbol list from a shared archive.
15195
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15196
 
 
15197
 
# Symbols that should not be listed in the preloaded symbols.
15198
 
exclude_expsyms=$lt_exclude_expsyms_F77
15199
 
 
15200
 
# Symbols that must always be exported.
15201
 
include_expsyms=$lt_include_expsyms_F77
15202
 
 
15203
 
# ### END LIBTOOL TAG CONFIG: $tagname
15204
 
 
15205
 
__EOF__
15206
 
 
15207
 
 
15208
 
else
15209
 
  # If there is no Makefile yet, we rely on a make rule to execute
15210
 
  # `config.status --recheck' to rerun these tests and create the
15211
 
  # libtool script then.
15212
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15213
 
  if test -f "$ltmain_in"; then
15214
 
    test -f Makefile && make "$ltmain"
15215
 
  fi
15216
 
fi
15217
 
 
15218
 
 
15219
 
ac_ext=c
15220
 
ac_cpp='$CPP $CPPFLAGS'
15221
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15222
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15223
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15224
 
 
15225
 
CC="$lt_save_CC"
15226
 
 
15227
 
        else
15228
 
          tagname=""
15229
 
        fi
15230
 
        ;;
15231
 
 
15232
 
      GCJ)
15233
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15234
 
 
15235
 
 
15236
 
 
15237
 
# Source file extension for Java test sources.
15238
 
ac_ext=java
15239
 
 
15240
 
# Object file extension for compiled Java test sources.
15241
 
objext=o
15242
 
objext_GCJ=$objext
15243
 
 
15244
 
# Code to be used in simple compile tests
15245
 
lt_simple_compile_test_code="class foo {}\n"
15246
 
 
15247
 
# Code to be used in simple link tests
15248
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
15249
 
 
15250
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15251
 
 
15252
 
# If no C compiler was specified, use CC.
15253
 
LTCC=${LTCC-"$CC"}
15254
 
 
15255
 
# If no C compiler flags were specified, use CFLAGS.
15256
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15257
 
 
15258
 
# Allow CC to be a program name with arguments.
15259
 
compiler=$CC
15260
 
 
15261
 
 
15262
 
# save warnings/boilerplate of simple test code
15263
 
ac_outfile=conftest.$ac_objext
15264
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
15265
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15266
 
_lt_compiler_boilerplate=`cat conftest.err`
15267
 
$rm conftest*
15268
 
 
15269
 
ac_outfile=conftest.$ac_objext
15270
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
15271
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15272
 
_lt_linker_boilerplate=`cat conftest.err`
15273
 
$rm conftest*
15274
 
 
15275
 
 
15276
 
# Allow CC to be a program name with arguments.
15277
 
lt_save_CC="$CC"
15278
 
CC=${GCJ-"gcj"}
15279
 
compiler=$CC
15280
 
compiler_GCJ=$CC
15281
 
for cc_temp in $compiler""; do
15282
 
  case $cc_temp in
15283
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15284
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15285
 
    \-*) ;;
15286
 
    *) break;;
15287
 
  esac
15288
 
done
15289
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15290
 
 
15291
 
 
15292
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
15293
 
archive_cmds_need_lc_GCJ=no
15294
 
 
15295
 
old_archive_cmds_GCJ=$old_archive_cmds
15296
 
 
15297
 
 
15298
 
lt_prog_compiler_no_builtin_flag_GCJ=
15299
 
 
15300
 
if test "$GCC" = yes; then
15301
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15302
 
 
15303
 
 
15304
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15305
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15306
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15307
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15308
 
else
15309
 
  lt_cv_prog_compiler_rtti_exceptions=no
15310
 
  ac_outfile=conftest.$ac_objext
15311
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15312
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
15313
 
   # Insert the option either (1) after the last *FLAGS variable, or
15314
 
   # (2) before a word containing "conftest.", or (3) at the end.
15315
 
   # Note that $ac_compile itself does not contain backslashes and begins
15316
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15317
 
   # The option is referenced via a variable to avoid confusing sed.
15318
 
   lt_compile=`echo "$ac_compile" | $SED \
15319
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15320
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15321
 
   -e 's:$: $lt_compiler_flag:'`
15322
 
   (eval echo "\"\$as_me:15322: $lt_compile\"" >&5)
15323
 
   (eval "$lt_compile" 2>conftest.err)
15324
 
   ac_status=$?
15325
 
   cat conftest.err >&5
15326
 
   echo "$as_me:15326: \$? = $ac_status" >&5
15327
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
15328
 
     # The compiler can only warn and ignore the option if not recognized
15329
 
     # So say no if there are warnings other than the usual output.
15330
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15331
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15332
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15333
 
       lt_cv_prog_compiler_rtti_exceptions=yes
15334
 
     fi
15335
 
   fi
15336
 
   $rm conftest*
15337
 
 
15338
 
fi
15339
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15340
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15341
 
 
15342
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15343
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15344
 
else
15345
 
    :
15346
 
fi
15347
 
 
15348
 
fi
15349
 
 
15350
 
lt_prog_compiler_wl_GCJ=
15351
 
lt_prog_compiler_pic_GCJ=
15352
 
lt_prog_compiler_static_GCJ=
15353
 
 
15354
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15355
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15356
 
 
15357
 
  if test "$GCC" = yes; then
15358
 
    lt_prog_compiler_wl_GCJ='-Wl,'
15359
 
    lt_prog_compiler_static_GCJ='-static'
15360
 
 
15361
 
    case $host_os in
15362
 
      aix*)
15363
 
      # All AIX code is PIC.
15364
 
      if test "$host_cpu" = ia64; then
15365
 
        # AIX 5 now supports IA64 processor
15366
 
        lt_prog_compiler_static_GCJ='-Bstatic'
15367
 
      fi
15368
 
      ;;
15369
 
 
15370
 
    amigaos*)
15371
 
      # FIXME: we need at least 68020 code to build shared libraries, but
15372
 
      # adding the `-m68020' flag to GCC prevents building anything better,
15373
 
      # like `-m68040'.
15374
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15375
 
      ;;
15376
 
 
15377
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15378
 
      # PIC is the default for these OSes.
15379
 
      ;;
15380
 
 
15381
 
    mingw* | pw32* | os2*)
15382
 
      # This hack is so that the source file can tell whether it is being
15383
 
      # built for inclusion in a dll (and should export symbols for example).
15384
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15385
 
      ;;
15386
 
 
15387
 
    darwin* | rhapsody*)
15388
 
      # PIC is the default on this platform
15389
 
      # Common symbols not allowed in MH_DYLIB files
15390
 
      lt_prog_compiler_pic_GCJ='-fno-common'
15391
 
      ;;
15392
 
 
15393
 
    interix3*)
15394
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15395
 
      # Instead, we relocate shared libraries at runtime.
15396
 
      ;;
15397
 
 
15398
 
    msdosdjgpp*)
15399
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
15400
 
      # on systems that don't support them.
15401
 
      lt_prog_compiler_can_build_shared_GCJ=no
15402
 
      enable_shared=no
15403
 
      ;;
15404
 
 
15405
 
    sysv4*MP*)
15406
 
      if test -d /usr/nec; then
15407
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
15408
 
      fi
15409
 
      ;;
15410
 
 
15411
 
    hpux*)
15412
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15413
 
      # not for PA HP-UX.
15414
 
      case $host_cpu in
15415
 
      hppa*64*|ia64*)
15416
 
        # +Z the default
15417
 
        ;;
15418
 
      *)
15419
 
        lt_prog_compiler_pic_GCJ='-fPIC'
15420
 
        ;;
15421
 
      esac
15422
 
      ;;
15423
 
 
15424
 
    *)
15425
 
      lt_prog_compiler_pic_GCJ='-fPIC'
15426
 
      ;;
15427
 
    esac
15428
 
  else
15429
 
    # PORTME Check for flag to pass linker flags through the system compiler.
15430
 
    case $host_os in
15431
 
    aix*)
15432
 
      lt_prog_compiler_wl_GCJ='-Wl,'
15433
 
      if test "$host_cpu" = ia64; then
15434
 
        # AIX 5 now supports IA64 processor
15435
 
        lt_prog_compiler_static_GCJ='-Bstatic'
15436
 
      else
15437
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15438
 
      fi
15439
 
      ;;
15440
 
      darwin*)
15441
 
        # PIC is the default on this platform
15442
 
        # Common symbols not allowed in MH_DYLIB files
15443
 
       case $cc_basename in
15444
 
         xlc*)
15445
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
15446
 
         lt_prog_compiler_wl_GCJ='-Wl,'
15447
 
         ;;
15448
 
       esac
15449
 
       ;;
15450
 
 
15451
 
    mingw* | pw32* | os2*)
15452
 
      # This hack is so that the source file can tell whether it is being
15453
 
      # built for inclusion in a dll (and should export symbols for example).
15454
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15455
 
      ;;
15456
 
 
15457
 
    hpux9* | hpux10* | hpux11*)
15458
 
      lt_prog_compiler_wl_GCJ='-Wl,'
15459
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15460
 
      # not for PA HP-UX.
15461
 
      case $host_cpu in
15462
 
      hppa*64*|ia64*)
15463
 
        # +Z the default
15464
 
        ;;
15465
 
      *)
15466
 
        lt_prog_compiler_pic_GCJ='+Z'
15467
 
        ;;
15468
 
      esac
15469
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
15470
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15471
 
      ;;
15472
 
 
15473
 
    irix5* | irix6* | nonstopux*)
15474
 
      lt_prog_compiler_wl_GCJ='-Wl,'
15475
 
      # PIC (with -KPIC) is the default.
15476
 
      lt_prog_compiler_static_GCJ='-non_shared'
15477
 
      ;;
15478
 
 
15479
 
    newsos6)
15480
 
      lt_prog_compiler_pic_GCJ='-KPIC'
15481
 
      lt_prog_compiler_static_GCJ='-Bstatic'
15482
 
      ;;
15483
 
 
15484
 
    linux*)
15485
 
      case $cc_basename in
15486
 
      icc* | ecc*)
15487
 
        lt_prog_compiler_wl_GCJ='-Wl,'
15488
 
        lt_prog_compiler_pic_GCJ='-KPIC'
15489
 
        lt_prog_compiler_static_GCJ='-static'
15490
 
        ;;
15491
 
      pgcc* | pgf77* | pgf90* | pgf95*)
15492
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
15493
 
        # which looks to be a dead project)
15494
 
        lt_prog_compiler_wl_GCJ='-Wl,'
15495
 
        lt_prog_compiler_pic_GCJ='-fpic'
15496
 
        lt_prog_compiler_static_GCJ='-Bstatic'
15497
 
        ;;
15498
 
      ccc*)
15499
 
        lt_prog_compiler_wl_GCJ='-Wl,'
15500
 
        # All Alpha code is PIC.
15501
 
        lt_prog_compiler_static_GCJ='-non_shared'
15502
 
        ;;
15503
 
      esac
15504
 
      ;;
15505
 
 
15506
 
    osf3* | osf4* | osf5*)
15507
 
      lt_prog_compiler_wl_GCJ='-Wl,'
15508
 
      # All OSF/1 code is PIC.
15509
 
      lt_prog_compiler_static_GCJ='-non_shared'
15510
 
      ;;
15511
 
 
15512
 
    solaris*)
15513
 
      lt_prog_compiler_pic_GCJ='-KPIC'
15514
 
      lt_prog_compiler_static_GCJ='-Bstatic'
15515
 
      case $cc_basename in
15516
 
      f77* | f90* | f95*)
15517
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
15518
 
      *)
15519
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
15520
 
      esac
15521
 
      ;;
15522
 
 
15523
 
    sunos4*)
15524
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
15525
 
      lt_prog_compiler_pic_GCJ='-PIC'
15526
 
      lt_prog_compiler_static_GCJ='-Bstatic'
15527
 
      ;;
15528
 
 
15529
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
15530
 
      lt_prog_compiler_wl_GCJ='-Wl,'
15531
 
      lt_prog_compiler_pic_GCJ='-KPIC'
15532
 
      lt_prog_compiler_static_GCJ='-Bstatic'
15533
 
      ;;
15534
 
 
15535
 
    sysv4*MP*)
15536
 
      if test -d /usr/nec ;then
15537
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
15538
 
        lt_prog_compiler_static_GCJ='-Bstatic'
15539
 
      fi
15540
 
      ;;
15541
 
 
15542
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15543
 
      lt_prog_compiler_wl_GCJ='-Wl,'
15544
 
      lt_prog_compiler_pic_GCJ='-KPIC'
15545
 
      lt_prog_compiler_static_GCJ='-Bstatic'
15546
 
      ;;
15547
 
 
15548
 
    unicos*)
15549
 
      lt_prog_compiler_wl_GCJ='-Wl,'
15550
 
      lt_prog_compiler_can_build_shared_GCJ=no
15551
 
      ;;
15552
 
 
15553
 
    uts4*)
15554
 
      lt_prog_compiler_pic_GCJ='-pic'
15555
 
      lt_prog_compiler_static_GCJ='-Bstatic'
15556
 
      ;;
15557
 
 
15558
 
    *)
15559
 
      lt_prog_compiler_can_build_shared_GCJ=no
15560
 
      ;;
15561
 
    esac
15562
 
  fi
15563
 
 
15564
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15565
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15566
 
 
15567
 
#
15568
 
# Check to make sure the PIC flag actually works.
15569
 
#
15570
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
15571
 
 
15572
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15573
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15574
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15575
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15576
 
else
15577
 
  lt_prog_compiler_pic_works_GCJ=no
15578
 
  ac_outfile=conftest.$ac_objext
15579
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15580
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15581
 
   # Insert the option either (1) after the last *FLAGS variable, or
15582
 
   # (2) before a word containing "conftest.", or (3) at the end.
15583
 
   # Note that $ac_compile itself does not contain backslashes and begins
15584
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15585
 
   # The option is referenced via a variable to avoid confusing sed.
15586
 
   lt_compile=`echo "$ac_compile" | $SED \
15587
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15588
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15589
 
   -e 's:$: $lt_compiler_flag:'`
15590
 
   (eval echo "\"\$as_me:15590: $lt_compile\"" >&5)
15591
 
   (eval "$lt_compile" 2>conftest.err)
15592
 
   ac_status=$?
15593
 
   cat conftest.err >&5
15594
 
   echo "$as_me:15594: \$? = $ac_status" >&5
15595
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
15596
 
     # The compiler can only warn and ignore the option if not recognized
15597
 
     # So say no if there are warnings other than the usual output.
15598
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15599
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15600
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15601
 
       lt_prog_compiler_pic_works_GCJ=yes
15602
 
     fi
15603
 
   fi
15604
 
   $rm conftest*
15605
 
 
15606
 
fi
15607
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15608
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15609
 
 
15610
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15611
 
    case $lt_prog_compiler_pic_GCJ in
15612
 
     "" | " "*) ;;
15613
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15614
 
     esac
15615
 
else
15616
 
    lt_prog_compiler_pic_GCJ=
15617
 
     lt_prog_compiler_can_build_shared_GCJ=no
15618
 
fi
15619
 
 
15620
 
fi
15621
 
case $host_os in
15622
 
  # For platforms which do not support PIC, -DPIC is meaningless:
15623
 
  *djgpp*)
15624
 
    lt_prog_compiler_pic_GCJ=
15625
 
    ;;
15626
 
  *)
15627
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15628
 
    ;;
15629
 
esac
15630
 
 
15631
 
#
15632
 
# Check to make sure the static flag actually works.
15633
 
#
15634
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
15635
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15636
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15637
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15638
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15639
 
else
15640
 
  lt_prog_compiler_static_works_GCJ=no
15641
 
   save_LDFLAGS="$LDFLAGS"
15642
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15643
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
15644
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15645
 
     # The linker can only warn and ignore the option if not recognized
15646
 
     # So say no if there are warnings
15647
 
     if test -s conftest.err; then
15648
 
       # Append any errors to the config.log.
15649
 
       cat conftest.err 1>&5
15650
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15651
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15652
 
       if diff conftest.exp conftest.er2 >/dev/null; then
15653
 
         lt_prog_compiler_static_works_GCJ=yes
15654
 
       fi
15655
 
     else
15656
 
       lt_prog_compiler_static_works_GCJ=yes
15657
 
     fi
15658
 
   fi
15659
 
   $rm conftest*
15660
 
   LDFLAGS="$save_LDFLAGS"
15661
 
 
15662
 
fi
15663
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
15664
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
15665
 
 
15666
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
15667
 
    :
15668
 
else
15669
 
    lt_prog_compiler_static_GCJ=
15670
 
fi
15671
 
 
15672
 
 
15673
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15674
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15675
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15676
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15677
 
else
15678
 
  lt_cv_prog_compiler_c_o_GCJ=no
15679
 
   $rm -r conftest 2>/dev/null
15680
 
   mkdir conftest
15681
 
   cd conftest
15682
 
   mkdir out
15683
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15684
 
 
15685
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15686
 
   # Insert the option either (1) after the last *FLAGS variable, or
15687
 
   # (2) before a word containing "conftest.", or (3) at the end.
15688
 
   # Note that $ac_compile itself does not contain backslashes and begins
15689
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15690
 
   lt_compile=`echo "$ac_compile" | $SED \
15691
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15692
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15693
 
   -e 's:$: $lt_compiler_flag:'`
15694
 
   (eval echo "\"\$as_me:15694: $lt_compile\"" >&5)
15695
 
   (eval "$lt_compile" 2>out/conftest.err)
15696
 
   ac_status=$?
15697
 
   cat out/conftest.err >&5
15698
 
   echo "$as_me:15698: \$? = $ac_status" >&5
15699
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15700
 
   then
15701
 
     # The compiler can only warn and ignore the option if not recognized
15702
 
     # So say no if there are warnings
15703
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15704
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15705
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15706
 
       lt_cv_prog_compiler_c_o_GCJ=yes
15707
 
     fi
15708
 
   fi
15709
 
   chmod u+w . 2>&5
15710
 
   $rm conftest*
15711
 
   # SGI C++ compiler will create directory out/ii_files/ for
15712
 
   # template instantiation
15713
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15714
 
   $rm out/* && rmdir out
15715
 
   cd ..
15716
 
   rmdir conftest
15717
 
   $rm conftest*
15718
 
 
15719
 
fi
15720
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15721
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15722
 
 
15723
 
 
15724
 
hard_links="nottested"
15725
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15726
 
  # do not overwrite the value of need_locks provided by the user
15727
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15728
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15729
 
  hard_links=yes
15730
 
  $rm conftest*
15731
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15732
 
  touch conftest.a
15733
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
15734
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15735
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
15736
 
echo "${ECHO_T}$hard_links" >&6
15737
 
  if test "$hard_links" = no; then
15738
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15739
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15740
 
    need_locks=warn
15741
 
  fi
15742
 
else
15743
 
  need_locks=no
15744
 
fi
15745
 
 
15746
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15747
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15748
 
 
15749
 
  runpath_var=
15750
 
  allow_undefined_flag_GCJ=
15751
 
  enable_shared_with_static_runtimes_GCJ=no
15752
 
  archive_cmds_GCJ=
15753
 
  archive_expsym_cmds_GCJ=
15754
 
  old_archive_From_new_cmds_GCJ=
15755
 
  old_archive_from_expsyms_cmds_GCJ=
15756
 
  export_dynamic_flag_spec_GCJ=
15757
 
  whole_archive_flag_spec_GCJ=
15758
 
  thread_safe_flag_spec_GCJ=
15759
 
  hardcode_libdir_flag_spec_GCJ=
15760
 
  hardcode_libdir_flag_spec_ld_GCJ=
15761
 
  hardcode_libdir_separator_GCJ=
15762
 
  hardcode_direct_GCJ=no
15763
 
  hardcode_minus_L_GCJ=no
15764
 
  hardcode_shlibpath_var_GCJ=unsupported
15765
 
  link_all_deplibs_GCJ=unknown
15766
 
  hardcode_automatic_GCJ=no
15767
 
  module_cmds_GCJ=
15768
 
  module_expsym_cmds_GCJ=
15769
 
  always_export_symbols_GCJ=no
15770
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15771
 
  # include_expsyms should be a list of space-separated symbols to be *always*
15772
 
  # included in the symbol list
15773
 
  include_expsyms_GCJ=
15774
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
15775
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
15776
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15777
 
  # as well as any symbol that contains `d'.
15778
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15779
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15780
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
15781
 
  # the symbol is explicitly referenced.  Since portable code cannot
15782
 
  # rely on this symbol name, it's probably fine to never include it in
15783
 
  # preloaded symbol tables.
15784
 
  extract_expsyms_cmds=
15785
 
  # Just being paranoid about ensuring that cc_basename is set.
15786
 
  for cc_temp in $compiler""; do
15787
 
  case $cc_temp in
15788
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15789
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15790
 
    \-*) ;;
15791
 
    *) break;;
15792
 
  esac
15793
 
done
15794
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15795
 
 
15796
 
  case $host_os in
15797
 
  cygwin* | mingw* | pw32*)
15798
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
15799
 
    # When not using gcc, we currently assume that we are using
15800
 
    # Microsoft Visual C++.
15801
 
    if test "$GCC" != yes; then
15802
 
      with_gnu_ld=no
15803
 
    fi
15804
 
    ;;
15805
 
  interix*)
15806
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
15807
 
    with_gnu_ld=yes
15808
 
    ;;
15809
 
  openbsd*)
15810
 
    with_gnu_ld=no
15811
 
    ;;
15812
 
  esac
15813
 
 
15814
 
  ld_shlibs_GCJ=yes
15815
 
  if test "$with_gnu_ld" = yes; then
15816
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
15817
 
    wlarc='${wl}'
15818
 
 
15819
 
    # Set some defaults for GNU ld with shared library support. These
15820
 
    # are reset later if shared libraries are not supported. Putting them
15821
 
    # here allows them to be overridden if necessary.
15822
 
    runpath_var=LD_RUN_PATH
15823
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15824
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15825
 
    # ancient GNU ld didn't support --whole-archive et. al.
15826
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15827
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15828
 
      else
15829
 
        whole_archive_flag_spec_GCJ=
15830
 
    fi
15831
 
    supports_anon_versioning=no
15832
 
    case `$LD -v 2>/dev/null` in
15833
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15834
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15835
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15836
 
      *\ 2.11.*) ;; # other 2.11 versions
15837
 
      *) supports_anon_versioning=yes ;;
15838
 
    esac
15839
 
 
15840
 
    # See if GNU ld supports shared libraries.
15841
 
    case $host_os in
15842
 
    aix3* | aix4* | aix5*)
15843
 
      # On AIX/PPC, the GNU linker is very broken
15844
 
      if test "$host_cpu" != ia64; then
15845
 
        ld_shlibs_GCJ=no
15846
 
        cat <<EOF 1>&2
15847
 
 
15848
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15849
 
*** to be unable to reliably create shared libraries on AIX.
15850
 
*** Therefore, libtool is disabling shared libraries support.  If you
15851
 
*** really care for shared libraries, you may want to modify your PATH
15852
 
*** so that a non-GNU linker is found, and then restart.
15853
 
 
15854
 
EOF
15855
 
      fi
15856
 
      ;;
15857
 
 
15858
 
    amigaos*)
15859
 
      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)'
15860
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
15861
 
      hardcode_minus_L_GCJ=yes
15862
 
 
15863
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15864
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
15865
 
      # to version 4, is to share data among multiple programs linked
15866
 
      # with the same dynamic library.  Since this doesn't match the
15867
 
      # behavior of shared libraries on other platforms, we can't use
15868
 
      # them.
15869
 
      ld_shlibs_GCJ=no
15870
 
      ;;
15871
 
 
15872
 
    beos*)
15873
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15874
 
        allow_undefined_flag_GCJ=unsupported
15875
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15876
 
        # support --undefined.  This deserves some investigation.  FIXME
15877
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15878
 
      else
15879
 
        ld_shlibs_GCJ=no
15880
 
      fi
15881
 
      ;;
15882
 
 
15883
 
    cygwin* | mingw* | pw32*)
15884
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15885
 
      # as there is no search path for DLLs.
15886
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
15887
 
      allow_undefined_flag_GCJ=unsupported
15888
 
      always_export_symbols_GCJ=no
15889
 
      enable_shared_with_static_runtimes_GCJ=yes
15890
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15891
 
 
15892
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15893
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15894
 
        # If the export-symbols file already is a .def file (1st line
15895
 
        # is EXPORTS), use it as is; otherwise, prepend...
15896
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15897
 
          cp $export_symbols $output_objdir/$soname.def;
15898
 
        else
15899
 
          echo EXPORTS > $output_objdir/$soname.def;
15900
 
          cat $export_symbols >> $output_objdir/$soname.def;
15901
 
        fi~
15902
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15903
 
      else
15904
 
        ld_shlibs_GCJ=no
15905
 
      fi
15906
 
      ;;
15907
 
 
15908
 
    interix3*)
15909
 
      hardcode_direct_GCJ=no
15910
 
      hardcode_shlibpath_var_GCJ=no
15911
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15912
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
15913
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15914
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
15915
 
      # default) and relocated if they conflict, which is a slow very memory
15916
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
15917
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15918
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15919
 
      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'
15920
 
      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'
15921
 
      ;;
15922
 
 
15923
 
    linux*)
15924
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15925
 
        tmp_addflag=
15926
 
        case $cc_basename,$host_cpu in
15927
 
        pgcc*)                          # Portland Group C compiler
15928
 
          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'
15929
 
          tmp_addflag=' $pic_flag'
15930
 
          ;;
15931
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
15932
 
          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'
15933
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
15934
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
15935
 
          tmp_addflag=' -i_dynamic' ;;
15936
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
15937
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
15938
 
        ifc* | ifort*)                  # Intel Fortran compiler
15939
 
          tmp_addflag=' -nofor_main' ;;
15940
 
        esac
15941
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15942
 
 
15943
 
        if test $supports_anon_versioning = yes; then
15944
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
15945
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15946
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
15947
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15948
 
        fi
15949
 
      else
15950
 
        ld_shlibs_GCJ=no
15951
 
      fi
15952
 
      ;;
15953
 
 
15954
 
    netbsd*)
15955
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15956
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15957
 
        wlarc=
15958
 
      else
15959
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15960
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15961
 
      fi
15962
 
      ;;
15963
 
 
15964
 
    solaris*)
15965
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15966
 
        ld_shlibs_GCJ=no
15967
 
        cat <<EOF 1>&2
15968
 
 
15969
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15970
 
*** create shared libraries on Solaris systems.  Therefore, libtool
15971
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
15972
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
15973
 
*** your PATH or compiler configuration so that the native linker is
15974
 
*** used, and then restart.
15975
 
 
15976
 
EOF
15977
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15978
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15979
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15980
 
      else
15981
 
        ld_shlibs_GCJ=no
15982
 
      fi
15983
 
      ;;
15984
 
 
15985
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15986
 
      case `$LD -v 2>&1` in
15987
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15988
 
        ld_shlibs_GCJ=no
15989
 
        cat <<_LT_EOF 1>&2
15990
 
 
15991
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15992
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
15993
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
15994
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
15995
 
*** your PATH or compiler configuration so that the native linker is
15996
 
*** used, and then restart.
15997
 
 
15998
 
_LT_EOF
15999
 
        ;;
16000
 
        *)
16001
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16002
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16003
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16004
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16005
 
          else
16006
 
            ld_shlibs_GCJ=no
16007
 
          fi
16008
 
        ;;
16009
 
      esac
16010
 
      ;;
16011
 
 
16012
 
    sunos4*)
16013
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16014
 
      wlarc=
16015
 
      hardcode_direct_GCJ=yes
16016
 
      hardcode_shlibpath_var_GCJ=no
16017
 
      ;;
16018
 
 
16019
 
    *)
16020
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16021
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16022
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16023
 
      else
16024
 
        ld_shlibs_GCJ=no
16025
 
      fi
16026
 
      ;;
16027
 
    esac
16028
 
 
16029
 
    if test "$ld_shlibs_GCJ" = no; then
16030
 
      runpath_var=
16031
 
      hardcode_libdir_flag_spec_GCJ=
16032
 
      export_dynamic_flag_spec_GCJ=
16033
 
      whole_archive_flag_spec_GCJ=
16034
 
    fi
16035
 
  else
16036
 
    # PORTME fill in a description of your system's linker (not GNU ld)
16037
 
    case $host_os in
16038
 
    aix3*)
16039
 
      allow_undefined_flag_GCJ=unsupported
16040
 
      always_export_symbols_GCJ=yes
16041
 
      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'
16042
 
      # Note: this linker hardcodes the directories in LIBPATH if there
16043
 
      # are no directories specified by -L.
16044
 
      hardcode_minus_L_GCJ=yes
16045
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16046
 
        # Neither direct hardcoding nor static linking is supported with a
16047
 
        # broken collect2.
16048
 
        hardcode_direct_GCJ=unsupported
16049
 
      fi
16050
 
      ;;
16051
 
 
16052
 
    aix4* | aix5*)
16053
 
      if test "$host_cpu" = ia64; then
16054
 
        # On IA64, the linker does run time linking by default, so we don't
16055
 
        # have to do anything special.
16056
 
        aix_use_runtimelinking=no
16057
 
        exp_sym_flag='-Bexport'
16058
 
        no_entry_flag=""
16059
 
      else
16060
 
        # If we're using GNU nm, then we don't want the "-C" option.
16061
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
16062
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
16063
 
          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'
16064
 
        else
16065
 
          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'
16066
 
        fi
16067
 
        aix_use_runtimelinking=no
16068
 
 
16069
 
        # Test if we are trying to use run time linking or normal
16070
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16071
 
        # need to do runtime linking.
16072
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
16073
 
          for ld_flag in $LDFLAGS; do
16074
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16075
 
            aix_use_runtimelinking=yes
16076
 
            break
16077
 
          fi
16078
 
          done
16079
 
          ;;
16080
 
        esac
16081
 
 
16082
 
        exp_sym_flag='-bexport'
16083
 
        no_entry_flag='-bnoentry'
16084
 
      fi
16085
 
 
16086
 
      # When large executables or shared objects are built, AIX ld can
16087
 
      # have problems creating the table of contents.  If linking a library
16088
 
      # or program results in "error TOC overflow" add -mminimal-toc to
16089
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
16090
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16091
 
 
16092
 
      archive_cmds_GCJ=''
16093
 
      hardcode_direct_GCJ=yes
16094
 
      hardcode_libdir_separator_GCJ=':'
16095
 
      link_all_deplibs_GCJ=yes
16096
 
 
16097
 
      if test "$GCC" = yes; then
16098
 
        case $host_os in aix4.[012]|aix4.[012].*)
16099
 
        # We only want to do this on AIX 4.2 and lower, the check
16100
 
        # below for broken collect2 doesn't work under 4.3+
16101
 
          collect2name=`${CC} -print-prog-name=collect2`
16102
 
          if test -f "$collect2name" && \
16103
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
16104
 
          then
16105
 
          # We have reworked collect2
16106
 
          hardcode_direct_GCJ=yes
16107
 
          else
16108
 
          # We have old collect2
16109
 
          hardcode_direct_GCJ=unsupported
16110
 
          # It fails to find uninstalled libraries when the uninstalled
16111
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
16112
 
          # to unsupported forces relinking
16113
 
          hardcode_minus_L_GCJ=yes
16114
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
16115
 
          hardcode_libdir_separator_GCJ=
16116
 
          fi
16117
 
          ;;
16118
 
        esac
16119
 
        shared_flag='-shared'
16120
 
        if test "$aix_use_runtimelinking" = yes; then
16121
 
          shared_flag="$shared_flag "'${wl}-G'
16122
 
        fi
16123
 
      else
16124
 
        # not using gcc
16125
 
        if test "$host_cpu" = ia64; then
16126
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16127
 
        # chokes on -Wl,-G. The following line is correct:
16128
 
          shared_flag='-G'
16129
 
        else
16130
 
          if test "$aix_use_runtimelinking" = yes; then
16131
 
            shared_flag='${wl}-G'
16132
 
          else
16133
 
            shared_flag='${wl}-bM:SRE'
16134
 
          fi
16135
 
        fi
16136
 
      fi
16137
 
 
16138
 
      # It seems that -bexpall does not export symbols beginning with
16139
 
      # underscore (_), so it is better to generate a list of symbols to export.
16140
 
      always_export_symbols_GCJ=yes
16141
 
      if test "$aix_use_runtimelinking" = yes; then
16142
 
        # Warning - without using the other runtime loading flags (-brtl),
16143
 
        # -berok will link without error, but may produce a broken library.
16144
 
        allow_undefined_flag_GCJ='-berok'
16145
 
       # Determine the default libpath from the value encoded in an empty executable.
16146
 
       cat >conftest.$ac_ext <<_ACEOF
16147
 
/* confdefs.h.  */
16148
 
_ACEOF
16149
 
cat confdefs.h >>conftest.$ac_ext
16150
 
cat >>conftest.$ac_ext <<_ACEOF
16151
 
/* end confdefs.h.  */
16152
 
 
16153
 
int
16154
 
main ()
16155
 
{
16156
 
 
16157
 
  ;
16158
 
  return 0;
16159
 
}
16160
 
_ACEOF
16161
 
rm -f conftest.$ac_objext conftest$ac_exeext
16162
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16163
 
  (eval $ac_link) 2>conftest.er1
16164
 
  ac_status=$?
16165
 
  grep -v '^ *+' conftest.er1 >conftest.err
16166
 
  rm -f conftest.er1
16167
 
  cat conftest.err >&5
16168
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16169
 
  (exit $ac_status); } &&
16170
 
         { ac_try='test -z "$ac_c_werror_flag"
16171
 
                         || test ! -s conftest.err'
16172
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16173
 
  (eval $ac_try) 2>&5
16174
 
  ac_status=$?
16175
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176
 
  (exit $ac_status); }; } &&
16177
 
         { ac_try='test -s conftest$ac_exeext'
16178
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16179
 
  (eval $ac_try) 2>&5
16180
 
  ac_status=$?
16181
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16182
 
  (exit $ac_status); }; }; then
16183
 
 
16184
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16185
 
}'`
16186
 
# Check for a 64-bit object if we didn't find anything.
16187
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16188
 
}'`; fi
16189
 
else
16190
 
  echo "$as_me: failed program was:" >&5
16191
 
sed 's/^/| /' conftest.$ac_ext >&5
16192
 
 
16193
 
fi
16194
 
rm -f conftest.err conftest.$ac_objext \
16195
 
      conftest$ac_exeext conftest.$ac_ext
16196
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16197
 
 
16198
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16199
 
        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"
16200
 
       else
16201
 
        if test "$host_cpu" = ia64; then
16202
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
16203
 
          allow_undefined_flag_GCJ="-z nodefs"
16204
 
          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"
16205
 
        else
16206
 
         # Determine the default libpath from the value encoded in an empty executable.
16207
 
         cat >conftest.$ac_ext <<_ACEOF
16208
 
/* confdefs.h.  */
16209
 
_ACEOF
16210
 
cat confdefs.h >>conftest.$ac_ext
16211
 
cat >>conftest.$ac_ext <<_ACEOF
16212
 
/* end confdefs.h.  */
16213
 
 
16214
 
int
16215
 
main ()
16216
 
{
16217
 
 
16218
 
  ;
16219
 
  return 0;
16220
 
}
16221
 
_ACEOF
16222
 
rm -f conftest.$ac_objext conftest$ac_exeext
16223
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16224
 
  (eval $ac_link) 2>conftest.er1
16225
 
  ac_status=$?
16226
 
  grep -v '^ *+' conftest.er1 >conftest.err
16227
 
  rm -f conftest.er1
16228
 
  cat conftest.err >&5
16229
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230
 
  (exit $ac_status); } &&
16231
 
         { ac_try='test -z "$ac_c_werror_flag"
16232
 
                         || test ! -s conftest.err'
16233
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16234
 
  (eval $ac_try) 2>&5
16235
 
  ac_status=$?
16236
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237
 
  (exit $ac_status); }; } &&
16238
 
         { ac_try='test -s conftest$ac_exeext'
16239
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16240
 
  (eval $ac_try) 2>&5
16241
 
  ac_status=$?
16242
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243
 
  (exit $ac_status); }; }; then
16244
 
 
16245
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16246
 
}'`
16247
 
# Check for a 64-bit object if we didn't find anything.
16248
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16249
 
}'`; fi
16250
 
else
16251
 
  echo "$as_me: failed program was:" >&5
16252
 
sed 's/^/| /' conftest.$ac_ext >&5
16253
 
 
16254
 
fi
16255
 
rm -f conftest.err conftest.$ac_objext \
16256
 
      conftest$ac_exeext conftest.$ac_ext
16257
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16258
 
 
16259
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16260
 
          # Warning - without using the other run time loading flags,
16261
 
          # -berok will link without error, but may produce a broken library.
16262
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
16263
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
16264
 
          # Exported symbols can be pulled into shared objects from archives
16265
 
          whole_archive_flag_spec_GCJ='$convenience'
16266
 
          archive_cmds_need_lc_GCJ=yes
16267
 
          # This is similar to how AIX traditionally builds its shared libraries.
16268
 
          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'
16269
 
        fi
16270
 
      fi
16271
 
      ;;
16272
 
 
16273
 
    amigaos*)
16274
 
      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)'
16275
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
16276
 
      hardcode_minus_L_GCJ=yes
16277
 
      # see comment about different semantics on the GNU ld section
16278
 
      ld_shlibs_GCJ=no
16279
 
      ;;
16280
 
 
16281
 
    bsdi[45]*)
16282
 
      export_dynamic_flag_spec_GCJ=-rdynamic
16283
 
      ;;
16284
 
 
16285
 
    cygwin* | mingw* | pw32*)
16286
 
      # When not using gcc, we currently assume that we are using
16287
 
      # Microsoft Visual C++.
16288
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
16289
 
      # no search path for DLLs.
16290
 
      hardcode_libdir_flag_spec_GCJ=' '
16291
 
      allow_undefined_flag_GCJ=unsupported
16292
 
      # Tell ltmain to make .lib files, not .a files.
16293
 
      libext=lib
16294
 
      # Tell ltmain to make .dll files, not .so files.
16295
 
      shrext_cmds=".dll"
16296
 
      # FIXME: Setting linknames here is a bad hack.
16297
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16298
 
      # The linker will automatically build a .lib file if we build a DLL.
16299
 
      old_archive_From_new_cmds_GCJ='true'
16300
 
      # FIXME: Should let the user specify the lib program.
16301
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
16302
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
16303
 
      enable_shared_with_static_runtimes_GCJ=yes
16304
 
      ;;
16305
 
 
16306
 
    darwin* | rhapsody*)
16307
 
      case $host_os in
16308
 
        rhapsody* | darwin1.[012])
16309
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
16310
 
         ;;
16311
 
       *) # Darwin 1.3 on
16312
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16313
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16314
 
         else
16315
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
16316
 
             10.[012])
16317
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16318
 
               ;;
16319
 
             10.*)
16320
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
16321
 
               ;;
16322
 
           esac
16323
 
         fi
16324
 
         ;;
16325
 
      esac
16326
 
      archive_cmds_need_lc_GCJ=no
16327
 
      hardcode_direct_GCJ=no
16328
 
      hardcode_automatic_GCJ=yes
16329
 
      hardcode_shlibpath_var_GCJ=unsupported
16330
 
      whole_archive_flag_spec_GCJ=''
16331
 
      link_all_deplibs_GCJ=yes
16332
 
    if test "$GCC" = yes ; then
16333
 
        output_verbose_link_cmd='echo'
16334
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16335
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16336
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16337
 
      archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16338
 
      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}'
16339
 
    else
16340
 
      case $cc_basename in
16341
 
        xlc*)
16342
 
         output_verbose_link_cmd='echo'
16343
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16344
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16345
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16346
 
         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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16347
 
          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}'
16348
 
          ;;
16349
 
       *)
16350
 
         ld_shlibs_GCJ=no
16351
 
          ;;
16352
 
      esac
16353
 
    fi
16354
 
      ;;
16355
 
 
16356
 
    dgux*)
16357
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16358
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
16359
 
      hardcode_shlibpath_var_GCJ=no
16360
 
      ;;
16361
 
 
16362
 
    freebsd1*)
16363
 
      ld_shlibs_GCJ=no
16364
 
      ;;
16365
 
 
16366
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16367
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
16368
 
    # does not break anything, and helps significantly (at the cost of a little
16369
 
    # extra space).
16370
 
    freebsd2.2*)
16371
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16372
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
16373
 
      hardcode_direct_GCJ=yes
16374
 
      hardcode_shlibpath_var_GCJ=no
16375
 
      ;;
16376
 
 
16377
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16378
 
    freebsd2*)
16379
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16380
 
      hardcode_direct_GCJ=yes
16381
 
      hardcode_minus_L_GCJ=yes
16382
 
      hardcode_shlibpath_var_GCJ=no
16383
 
      ;;
16384
 
 
16385
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16386
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
16387
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16388
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
16389
 
      hardcode_direct_GCJ=yes
16390
 
      hardcode_shlibpath_var_GCJ=no
16391
 
      ;;
16392
 
 
16393
 
    hpux9*)
16394
 
      if test "$GCC" = yes; then
16395
 
        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'
16396
 
      else
16397
 
        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'
16398
 
      fi
16399
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16400
 
      hardcode_libdir_separator_GCJ=:
16401
 
      hardcode_direct_GCJ=yes
16402
 
 
16403
 
      # hardcode_minus_L: Not really in the search PATH,
16404
 
      # but as the default location of the library.
16405
 
      hardcode_minus_L_GCJ=yes
16406
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
16407
 
      ;;
16408
 
 
16409
 
    hpux10*)
16410
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16411
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16412
 
      else
16413
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16414
 
      fi
16415
 
      if test "$with_gnu_ld" = no; then
16416
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16417
 
        hardcode_libdir_separator_GCJ=:
16418
 
 
16419
 
        hardcode_direct_GCJ=yes
16420
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
16421
 
 
16422
 
        # hardcode_minus_L: Not really in the search PATH,
16423
 
        # but as the default location of the library.
16424
 
        hardcode_minus_L_GCJ=yes
16425
 
      fi
16426
 
      ;;
16427
 
 
16428
 
    hpux11*)
16429
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16430
 
        case $host_cpu in
16431
 
        hppa*64*)
16432
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16433
 
          ;;
16434
 
        ia64*)
16435
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16436
 
          ;;
16437
 
        *)
16438
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16439
 
          ;;
16440
 
        esac
16441
 
      else
16442
 
        case $host_cpu in
16443
 
        hppa*64*)
16444
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16445
 
          ;;
16446
 
        ia64*)
16447
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16448
 
          ;;
16449
 
        *)
16450
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16451
 
          ;;
16452
 
        esac
16453
 
      fi
16454
 
      if test "$with_gnu_ld" = no; then
16455
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16456
 
        hardcode_libdir_separator_GCJ=:
16457
 
 
16458
 
        case $host_cpu in
16459
 
        hppa*64*|ia64*)
16460
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
16461
 
          hardcode_direct_GCJ=no
16462
 
          hardcode_shlibpath_var_GCJ=no
16463
 
          ;;
16464
 
        *)
16465
 
          hardcode_direct_GCJ=yes
16466
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
16467
 
 
16468
 
          # hardcode_minus_L: Not really in the search PATH,
16469
 
          # but as the default location of the library.
16470
 
          hardcode_minus_L_GCJ=yes
16471
 
          ;;
16472
 
        esac
16473
 
      fi
16474
 
      ;;
16475
 
 
16476
 
    irix5* | irix6* | nonstopux*)
16477
 
      if test "$GCC" = yes; then
16478
 
        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'
16479
 
      else
16480
 
        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'
16481
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
16482
 
      fi
16483
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16484
 
      hardcode_libdir_separator_GCJ=:
16485
 
      link_all_deplibs_GCJ=yes
16486
 
      ;;
16487
 
 
16488
 
    netbsd*)
16489
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16490
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16491
 
      else
16492
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
16493
 
      fi
16494
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
16495
 
      hardcode_direct_GCJ=yes
16496
 
      hardcode_shlibpath_var_GCJ=no
16497
 
      ;;
16498
 
 
16499
 
    newsos6)
16500
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16501
 
      hardcode_direct_GCJ=yes
16502
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16503
 
      hardcode_libdir_separator_GCJ=:
16504
 
      hardcode_shlibpath_var_GCJ=no
16505
 
      ;;
16506
 
 
16507
 
    openbsd*)
16508
 
      hardcode_direct_GCJ=yes
16509
 
      hardcode_shlibpath_var_GCJ=no
16510
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16511
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16512
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16513
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16514
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
16515
 
      else
16516
 
       case $host_os in
16517
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16518
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16519
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
16520
 
           ;;
16521
 
         *)
16522
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16523
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16524
 
           ;;
16525
 
       esac
16526
 
      fi
16527
 
      ;;
16528
 
 
16529
 
    os2*)
16530
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
16531
 
      hardcode_minus_L_GCJ=yes
16532
 
      allow_undefined_flag_GCJ=unsupported
16533
 
      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'
16534
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16535
 
      ;;
16536
 
 
16537
 
    osf3*)
16538
 
      if test "$GCC" = yes; then
16539
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16540
 
        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'
16541
 
      else
16542
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
16543
 
        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'
16544
 
      fi
16545
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16546
 
      hardcode_libdir_separator_GCJ=:
16547
 
      ;;
16548
 
 
16549
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
16550
 
      if test "$GCC" = yes; then
16551
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16552
 
        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'
16553
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16554
 
      else
16555
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
16556
 
        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'
16557
 
        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~
16558
 
        $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'
16559
 
 
16560
 
        # Both c and cxx compiler support -rpath directly
16561
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16562
 
      fi
16563
 
      hardcode_libdir_separator_GCJ=:
16564
 
      ;;
16565
 
 
16566
 
    solaris*)
16567
 
      no_undefined_flag_GCJ=' -z text'
16568
 
      if test "$GCC" = yes; then
16569
 
        wlarc='${wl}'
16570
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16571
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16572
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16573
 
      else
16574
 
        wlarc=''
16575
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16576
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16577
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16578
 
      fi
16579
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
16580
 
      hardcode_shlibpath_var_GCJ=no
16581
 
      case $host_os in
16582
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16583
 
      *)
16584
 
        # The compiler driver will combine linker options so we
16585
 
        # cannot just pass the convience library names through
16586
 
        # without $wl, iff we do not link with $LD.
16587
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
16588
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16589
 
        case $wlarc in
16590
 
        '')
16591
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16592
 
        *)
16593
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
16594
 
        esac ;;
16595
 
      esac
16596
 
      link_all_deplibs_GCJ=yes
16597
 
      ;;
16598
 
 
16599
 
    sunos4*)
16600
 
      if test "x$host_vendor" = xsequent; then
16601
 
        # Use $CC to link under sequent, because it throws in some extra .o
16602
 
        # files that make .init and .fini sections work.
16603
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16604
 
      else
16605
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16606
 
      fi
16607
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
16608
 
      hardcode_direct_GCJ=yes
16609
 
      hardcode_minus_L_GCJ=yes
16610
 
      hardcode_shlibpath_var_GCJ=no
16611
 
      ;;
16612
 
 
16613
 
    sysv4)
16614
 
      case $host_vendor in
16615
 
        sni)
16616
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16617
 
          hardcode_direct_GCJ=yes # is this really true???
16618
 
        ;;
16619
 
        siemens)
16620
 
          ## LD is ld it makes a PLAMLIB
16621
 
          ## CC just makes a GrossModule.
16622
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16623
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16624
 
          hardcode_direct_GCJ=no
16625
 
        ;;
16626
 
        motorola)
16627
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16628
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16629
 
        ;;
16630
 
      esac
16631
 
      runpath_var='LD_RUN_PATH'
16632
 
      hardcode_shlibpath_var_GCJ=no
16633
 
      ;;
16634
 
 
16635
 
    sysv4.3*)
16636
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16637
 
      hardcode_shlibpath_var_GCJ=no
16638
 
      export_dynamic_flag_spec_GCJ='-Bexport'
16639
 
      ;;
16640
 
 
16641
 
    sysv4*MP*)
16642
 
      if test -d /usr/nec; then
16643
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16644
 
        hardcode_shlibpath_var_GCJ=no
16645
 
        runpath_var=LD_RUN_PATH
16646
 
        hardcode_runpath_var=yes
16647
 
        ld_shlibs_GCJ=yes
16648
 
      fi
16649
 
      ;;
16650
 
 
16651
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
16652
 
      no_undefined_flag_GCJ='${wl}-z,text'
16653
 
      archive_cmds_need_lc_GCJ=no
16654
 
      hardcode_shlibpath_var_GCJ=no
16655
 
      runpath_var='LD_RUN_PATH'
16656
 
 
16657
 
      if test "$GCC" = yes; then
16658
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16659
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16660
 
      else
16661
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16662
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16663
 
      fi
16664
 
      ;;
16665
 
 
16666
 
    sysv5* | sco3.2v5* | sco5v6*)
16667
 
      # Note: We can NOT use -z defs as we might desire, because we do not
16668
 
      # link with -lc, and that would cause any symbols used from libc to
16669
 
      # always be unresolved, which means just about no library would
16670
 
      # ever link correctly.  If we're not using GNU ld we use -z text
16671
 
      # though, which does catch some bad symbols but isn't as heavy-handed
16672
 
      # as -z defs.
16673
 
      no_undefined_flag_GCJ='${wl}-z,text'
16674
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
16675
 
      archive_cmds_need_lc_GCJ=no
16676
 
      hardcode_shlibpath_var_GCJ=no
16677
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16678
 
      hardcode_libdir_separator_GCJ=':'
16679
 
      link_all_deplibs_GCJ=yes
16680
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16681
 
      runpath_var='LD_RUN_PATH'
16682
 
 
16683
 
      if test "$GCC" = yes; then
16684
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16685
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16686
 
      else
16687
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16688
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16689
 
      fi
16690
 
      ;;
16691
 
 
16692
 
    uts4*)
16693
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16694
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
16695
 
      hardcode_shlibpath_var_GCJ=no
16696
 
      ;;
16697
 
 
16698
 
    *)
16699
 
      ld_shlibs_GCJ=no
16700
 
      ;;
16701
 
    esac
16702
 
  fi
16703
 
 
16704
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16705
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16706
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
16707
 
 
16708
 
#
16709
 
# Do we need to explicitly link libc?
16710
 
#
16711
 
case "x$archive_cmds_need_lc_GCJ" in
16712
 
x|xyes)
16713
 
  # Assume -lc should be added
16714
 
  archive_cmds_need_lc_GCJ=yes
16715
 
 
16716
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
16717
 
    case $archive_cmds_GCJ in
16718
 
    *'~'*)
16719
 
      # FIXME: we may have to deal with multi-command sequences.
16720
 
      ;;
16721
 
    '$CC '*)
16722
 
      # Test whether the compiler implicitly links with -lc since on some
16723
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16724
 
      # to ld, don't add -lc before -lgcc.
16725
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16726
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16727
 
      $rm conftest*
16728
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16729
 
 
16730
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16731
 
  (eval $ac_compile) 2>&5
16732
 
  ac_status=$?
16733
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734
 
  (exit $ac_status); } 2>conftest.err; then
16735
 
        soname=conftest
16736
 
        lib=conftest
16737
 
        libobjs=conftest.$ac_objext
16738
 
        deplibs=
16739
 
        wl=$lt_prog_compiler_wl_GCJ
16740
 
        pic_flag=$lt_prog_compiler_pic_GCJ
16741
 
        compiler_flags=-v
16742
 
        linker_flags=-v
16743
 
        verstring=
16744
 
        output_objdir=.
16745
 
        libname=conftest
16746
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16747
 
        allow_undefined_flag_GCJ=
16748
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16749
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16750
 
  ac_status=$?
16751
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752
 
  (exit $ac_status); }
16753
 
        then
16754
 
          archive_cmds_need_lc_GCJ=no
16755
 
        else
16756
 
          archive_cmds_need_lc_GCJ=yes
16757
 
        fi
16758
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16759
 
      else
16760
 
        cat conftest.err 1>&5
16761
 
      fi
16762
 
      $rm conftest*
16763
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16764
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16765
 
      ;;
16766
 
    esac
16767
 
  fi
16768
 
  ;;
16769
 
esac
16770
 
 
16771
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16772
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16773
 
library_names_spec=
16774
 
libname_spec='lib$name'
16775
 
soname_spec=
16776
 
shrext_cmds=".so"
16777
 
postinstall_cmds=
16778
 
postuninstall_cmds=
16779
 
finish_cmds=
16780
 
finish_eval=
16781
 
shlibpath_var=
16782
 
shlibpath_overrides_runpath=unknown
16783
 
version_type=none
16784
 
dynamic_linker="$host_os ld.so"
16785
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16786
 
if test "$GCC" = yes; then
16787
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16788
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16789
 
    # if the path contains ";" then we assume it to be the separator
16790
 
    # otherwise default to the standard path separator (i.e. ":") - it is
16791
 
    # assumed that no part of a normal pathname contains ";" but that should
16792
 
    # okay in the real world where ";" in dirpaths is itself problematic.
16793
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16794
 
  else
16795
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16796
 
  fi
16797
 
else
16798
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16799
 
fi
16800
 
need_lib_prefix=unknown
16801
 
hardcode_into_libs=no
16802
 
 
16803
 
# when you set need_version to no, make sure it does not cause -set_version
16804
 
# flags to be left without arguments
16805
 
need_version=unknown
16806
 
 
16807
 
case $host_os in
16808
 
aix3*)
16809
 
  version_type=linux
16810
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16811
 
  shlibpath_var=LIBPATH
16812
 
 
16813
 
  # AIX 3 has no versioning support, so we append a major version to the name.
16814
 
  soname_spec='${libname}${release}${shared_ext}$major'
16815
 
  ;;
16816
 
 
16817
 
aix4* | aix5*)
16818
 
  version_type=linux
16819
 
  need_lib_prefix=no
16820
 
  need_version=no
16821
 
  hardcode_into_libs=yes
16822
 
  if test "$host_cpu" = ia64; then
16823
 
    # AIX 5 supports IA64
16824
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16825
 
    shlibpath_var=LD_LIBRARY_PATH
16826
 
  else
16827
 
    # With GCC up to 2.95.x, collect2 would create an import file
16828
 
    # for dependence libraries.  The import file would start with
16829
 
    # the line `#! .'.  This would cause the generated library to
16830
 
    # depend on `.', always an invalid library.  This was fixed in
16831
 
    # development snapshots of GCC prior to 3.0.
16832
 
    case $host_os in
16833
 
      aix4 | aix4.[01] | aix4.[01].*)
16834
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16835
 
           echo ' yes '
16836
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16837
 
        :
16838
 
      else
16839
 
        can_build_shared=no
16840
 
      fi
16841
 
      ;;
16842
 
    esac
16843
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16844
 
    # soname into executable. Probably we can add versioning support to
16845
 
    # collect2, so additional links can be useful in future.
16846
 
    if test "$aix_use_runtimelinking" = yes; then
16847
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16848
 
      # instead of lib<name>.a to let people know that these are not
16849
 
      # typical AIX shared libraries.
16850
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16851
 
    else
16852
 
      # We preserve .a as extension for shared libraries through AIX4.2
16853
 
      # and later when we are not doing run time linking.
16854
 
      library_names_spec='${libname}${release}.a $libname.a'
16855
 
      soname_spec='${libname}${release}${shared_ext}$major'
16856
 
    fi
16857
 
    shlibpath_var=LIBPATH
16858
 
  fi
16859
 
  ;;
16860
 
 
16861
 
amigaos*)
16862
 
  library_names_spec='$libname.ixlibrary $libname.a'
16863
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
16864
 
  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'
16865
 
  ;;
16866
 
 
16867
 
beos*)
16868
 
  library_names_spec='${libname}${shared_ext}'
16869
 
  dynamic_linker="$host_os ld.so"
16870
 
  shlibpath_var=LIBRARY_PATH
16871
 
  ;;
16872
 
 
16873
 
bsdi[45]*)
16874
 
  version_type=linux
16875
 
  need_version=no
16876
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16877
 
  soname_spec='${libname}${release}${shared_ext}$major'
16878
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16879
 
  shlibpath_var=LD_LIBRARY_PATH
16880
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16881
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16882
 
  # the default ld.so.conf also contains /usr/contrib/lib and
16883
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16884
 
  # libtool to hard-code these into programs
16885
 
  ;;
16886
 
 
16887
 
cygwin* | mingw* | pw32*)
16888
 
  version_type=windows
16889
 
  shrext_cmds=".dll"
16890
 
  need_version=no
16891
 
  need_lib_prefix=no
16892
 
 
16893
 
  case $GCC,$host_os in
16894
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
16895
 
    library_names_spec='$libname.dll.a'
16896
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16897
 
    postinstall_cmds='base_file=`basename \${file}`~
16898
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16899
 
      dldir=$destdir/`dirname \$dlpath`~
16900
 
      test -d \$dldir || mkdir -p \$dldir~
16901
 
      $install_prog $dir/$dlname \$dldir/$dlname~
16902
 
      chmod a+x \$dldir/$dlname'
16903
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16904
 
      dlpath=$dir/\$dldll~
16905
 
       $rm \$dlpath'
16906
 
    shlibpath_overrides_runpath=yes
16907
 
 
16908
 
    case $host_os in
16909
 
    cygwin*)
16910
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16911
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16912
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16913
 
      ;;
16914
 
    mingw*)
16915
 
      # MinGW DLLs use traditional 'lib' prefix
16916
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16917
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16918
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16919
 
        # It is most probably a Windows format PATH printed by
16920
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
16921
 
        # path with ; separators, and with drive letters. We can handle the
16922
 
        # drive letters (cygwin fileutils understands them), so leave them,
16923
 
        # especially as we might pass files found there to a mingw objdump,
16924
 
        # which wouldn't understand a cygwinified path. Ahh.
16925
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16926
 
      else
16927
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16928
 
      fi
16929
 
      ;;
16930
 
    pw32*)
16931
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
16932
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16933
 
      ;;
16934
 
    esac
16935
 
    ;;
16936
 
 
16937
 
  *)
16938
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16939
 
    ;;
16940
 
  esac
16941
 
  dynamic_linker='Win32 ld.exe'
16942
 
  # FIXME: first we should search . and the directory the executable is in
16943
 
  shlibpath_var=PATH
16944
 
  ;;
16945
 
 
16946
 
darwin* | rhapsody*)
16947
 
  dynamic_linker="$host_os dyld"
16948
 
  version_type=darwin
16949
 
  need_lib_prefix=no
16950
 
  need_version=no
16951
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16952
 
  soname_spec='${libname}${release}${major}$shared_ext'
16953
 
  shlibpath_overrides_runpath=yes
16954
 
  shlibpath_var=DYLD_LIBRARY_PATH
16955
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16956
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16957
 
  if test "$GCC" = yes; then
16958
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
16959
 
  else
16960
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
16961
 
  fi
16962
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16963
 
  ;;
16964
 
 
16965
 
dgux*)
16966
 
  version_type=linux
16967
 
  need_lib_prefix=no
16968
 
  need_version=no
16969
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16970
 
  soname_spec='${libname}${release}${shared_ext}$major'
16971
 
  shlibpath_var=LD_LIBRARY_PATH
16972
 
  ;;
16973
 
 
16974
 
freebsd1*)
16975
 
  dynamic_linker=no
16976
 
  ;;
16977
 
 
16978
 
kfreebsd*-gnu)
16979
 
  version_type=linux
16980
 
  need_lib_prefix=no
16981
 
  need_version=no
16982
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16983
 
  soname_spec='${libname}${release}${shared_ext}$major'
16984
 
  shlibpath_var=LD_LIBRARY_PATH
16985
 
  shlibpath_overrides_runpath=no
16986
 
  hardcode_into_libs=yes
16987
 
  dynamic_linker='GNU ld.so'
16988
 
  ;;
16989
 
 
16990
 
freebsd* | dragonfly*)
16991
 
  # DragonFly does not have aout.  When/if they implement a new
16992
 
  # versioning mechanism, adjust this.
16993
 
  if test -x /usr/bin/objformat; then
16994
 
    objformat=`/usr/bin/objformat`
16995
 
  else
16996
 
    case $host_os in
16997
 
    freebsd[123]*) objformat=aout ;;
16998
 
    *) objformat=elf ;;
16999
 
    esac
17000
 
  fi
17001
 
  version_type=freebsd-$objformat
17002
 
  case $version_type in
17003
 
    freebsd-elf*)
17004
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17005
 
      need_version=no
17006
 
      need_lib_prefix=no
17007
 
      ;;
17008
 
    freebsd-*)
17009
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17010
 
      need_version=yes
17011
 
      ;;
17012
 
  esac
17013
 
  shlibpath_var=LD_LIBRARY_PATH
17014
 
  case $host_os in
17015
 
  freebsd2*)
17016
 
    shlibpath_overrides_runpath=yes
17017
 
    ;;
17018
 
  freebsd3.[01]* | freebsdelf3.[01]*)
17019
 
    shlibpath_overrides_runpath=yes
17020
 
    hardcode_into_libs=yes
17021
 
    ;;
17022
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17023
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17024
 
    shlibpath_overrides_runpath=no
17025
 
    hardcode_into_libs=yes
17026
 
    ;;
17027
 
  freebsd*) # from 4.6 on
17028
 
    shlibpath_overrides_runpath=yes
17029
 
    hardcode_into_libs=yes
17030
 
    ;;
17031
 
  esac
17032
 
  ;;
17033
 
 
17034
 
gnu*)
17035
 
  version_type=linux
17036
 
  need_lib_prefix=no
17037
 
  need_version=no
17038
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17039
 
  soname_spec='${libname}${release}${shared_ext}$major'
17040
 
  shlibpath_var=LD_LIBRARY_PATH
17041
 
  hardcode_into_libs=yes
17042
 
  ;;
17043
 
 
17044
 
hpux9* | hpux10* | hpux11*)
17045
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
17046
 
  # link against other versions.
17047
 
  version_type=sunos
17048
 
  need_lib_prefix=no
17049
 
  need_version=no
17050
 
  case $host_cpu in
17051
 
  ia64*)
17052
 
    shrext_cmds='.so'
17053
 
    hardcode_into_libs=yes
17054
 
    dynamic_linker="$host_os dld.so"
17055
 
    shlibpath_var=LD_LIBRARY_PATH
17056
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17057
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17058
 
    soname_spec='${libname}${release}${shared_ext}$major'
17059
 
    if test "X$HPUX_IA64_MODE" = X32; then
17060
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17061
 
    else
17062
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17063
 
    fi
17064
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17065
 
    ;;
17066
 
   hppa*64*)
17067
 
     shrext_cmds='.sl'
17068
 
     hardcode_into_libs=yes
17069
 
     dynamic_linker="$host_os dld.sl"
17070
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17071
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17072
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17073
 
     soname_spec='${libname}${release}${shared_ext}$major'
17074
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17075
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17076
 
     ;;
17077
 
   *)
17078
 
    shrext_cmds='.sl'
17079
 
    dynamic_linker="$host_os dld.sl"
17080
 
    shlibpath_var=SHLIB_PATH
17081
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17082
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17083
 
    soname_spec='${libname}${release}${shared_ext}$major'
17084
 
    ;;
17085
 
  esac
17086
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
17087
 
  postinstall_cmds='chmod 555 $lib'
17088
 
  ;;
17089
 
 
17090
 
interix3*)
17091
 
  version_type=linux
17092
 
  need_lib_prefix=no
17093
 
  need_version=no
17094
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17095
 
  soname_spec='${libname}${release}${shared_ext}$major'
17096
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17097
 
  shlibpath_var=LD_LIBRARY_PATH
17098
 
  shlibpath_overrides_runpath=no
17099
 
  hardcode_into_libs=yes
17100
 
  ;;
17101
 
 
17102
 
irix5* | irix6* | nonstopux*)
17103
 
  case $host_os in
17104
 
    nonstopux*) version_type=nonstopux ;;
17105
 
    *)
17106
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
17107
 
                version_type=linux
17108
 
        else
17109
 
                version_type=irix
17110
 
        fi ;;
17111
 
  esac
17112
 
  need_lib_prefix=no
17113
 
  need_version=no
17114
 
  soname_spec='${libname}${release}${shared_ext}$major'
17115
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17116
 
  case $host_os in
17117
 
  irix5* | nonstopux*)
17118
 
    libsuff= shlibsuff=
17119
 
    ;;
17120
 
  *)
17121
 
    case $LD in # libtool.m4 will add one of these switches to LD
17122
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17123
 
      libsuff= shlibsuff= libmagic=32-bit;;
17124
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17125
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
17126
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17127
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
17128
 
    *) libsuff= shlibsuff= libmagic=never-match;;
17129
 
    esac
17130
 
    ;;
17131
 
  esac
17132
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17133
 
  shlibpath_overrides_runpath=no
17134
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17135
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17136
 
  hardcode_into_libs=yes
17137
 
  ;;
17138
 
 
17139
 
# No shared lib support for Linux oldld, aout, or coff.
17140
 
linux*oldld* | linux*aout* | linux*coff*)
17141
 
  dynamic_linker=no
17142
 
  ;;
17143
 
 
17144
 
# This must be Linux ELF.
17145
 
linux*)
17146
 
  version_type=linux
17147
 
  need_lib_prefix=no
17148
 
  need_version=no
17149
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17150
 
  soname_spec='${libname}${release}${shared_ext}$major'
17151
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17152
 
  shlibpath_var=LD_LIBRARY_PATH
17153
 
  shlibpath_overrides_runpath=no
17154
 
  # This implies no fast_install, which is unacceptable.
17155
 
  # Some rework will be needed to allow for fast_install
17156
 
  # before this can be enabled.
17157
 
  hardcode_into_libs=yes
17158
 
 
17159
 
  # find out which ABI we are using
17160
 
  libsuff=
17161
 
  case "$host_cpu" in
17162
 
  x86_64*|s390x*|powerpc64*)
17163
 
    echo '#line 17163 "configure"' > conftest.$ac_ext
17164
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17165
 
  (eval $ac_compile) 2>&5
17166
 
  ac_status=$?
17167
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168
 
  (exit $ac_status); }; then
17169
 
      case `/usr/bin/file conftest.$ac_objext` in
17170
 
      *64-bit*)
17171
 
        libsuff=64
17172
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17173
 
        ;;
17174
 
      esac
17175
 
    fi
17176
 
    rm -rf conftest*
17177
 
    ;;
17178
 
  esac
17179
 
 
17180
 
  # Append ld.so.conf contents to the search path
17181
 
  if test -f /etc/ld.so.conf; then
17182
 
    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/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17183
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
17184
 
  fi
17185
 
 
17186
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
17187
 
  # powerpc, because MkLinux only supported shared libraries with the
17188
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
17189
 
  # most powerpc-linux boxes support dynamic linking these days and
17190
 
  # people can always --disable-shared, the test was removed, and we
17191
 
  # assume the GNU/Linux dynamic linker is in use.
17192
 
  dynamic_linker='GNU/Linux ld.so'
17193
 
  ;;
17194
 
 
17195
 
knetbsd*-gnu)
17196
 
  version_type=linux
17197
 
  need_lib_prefix=no
17198
 
  need_version=no
17199
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17200
 
  soname_spec='${libname}${release}${shared_ext}$major'
17201
 
  shlibpath_var=LD_LIBRARY_PATH
17202
 
  shlibpath_overrides_runpath=no
17203
 
  hardcode_into_libs=yes
17204
 
  dynamic_linker='GNU ld.so'
17205
 
  ;;
17206
 
 
17207
 
netbsd*)
17208
 
  version_type=sunos
17209
 
  need_lib_prefix=no
17210
 
  need_version=no
17211
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17212
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17213
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17214
 
    dynamic_linker='NetBSD (a.out) ld.so'
17215
 
  else
17216
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17217
 
    soname_spec='${libname}${release}${shared_ext}$major'
17218
 
    dynamic_linker='NetBSD ld.elf_so'
17219
 
  fi
17220
 
  shlibpath_var=LD_LIBRARY_PATH
17221
 
  shlibpath_overrides_runpath=yes
17222
 
  hardcode_into_libs=yes
17223
 
  ;;
17224
 
 
17225
 
newsos6)
17226
 
  version_type=linux
17227
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17228
 
  shlibpath_var=LD_LIBRARY_PATH
17229
 
  shlibpath_overrides_runpath=yes
17230
 
  ;;
17231
 
 
17232
 
nto-qnx*)
17233
 
  version_type=linux
17234
 
  need_lib_prefix=no
17235
 
  need_version=no
17236
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17237
 
  soname_spec='${libname}${release}${shared_ext}$major'
17238
 
  shlibpath_var=LD_LIBRARY_PATH
17239
 
  shlibpath_overrides_runpath=yes
17240
 
  ;;
17241
 
 
17242
 
openbsd*)
17243
 
  version_type=sunos
17244
 
  sys_lib_dlsearch_path_spec="/usr/lib"
17245
 
  need_lib_prefix=no
17246
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17247
 
  case $host_os in
17248
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17249
 
    *)                         need_version=no  ;;
17250
 
  esac
17251
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17252
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17253
 
  shlibpath_var=LD_LIBRARY_PATH
17254
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17255
 
    case $host_os in
17256
 
      openbsd2.[89] | openbsd2.[89].*)
17257
 
        shlibpath_overrides_runpath=no
17258
 
        ;;
17259
 
      *)
17260
 
        shlibpath_overrides_runpath=yes
17261
 
        ;;
17262
 
      esac
17263
 
  else
17264
 
    shlibpath_overrides_runpath=yes
17265
 
  fi
17266
 
  ;;
17267
 
 
17268
 
os2*)
17269
 
  libname_spec='$name'
17270
 
  shrext_cmds=".dll"
17271
 
  need_lib_prefix=no
17272
 
  library_names_spec='$libname${shared_ext} $libname.a'
17273
 
  dynamic_linker='OS/2 ld.exe'
17274
 
  shlibpath_var=LIBPATH
17275
 
  ;;
17276
 
 
17277
 
osf3* | osf4* | osf5*)
17278
 
  version_type=osf
17279
 
  need_lib_prefix=no
17280
 
  need_version=no
17281
 
  soname_spec='${libname}${release}${shared_ext}$major'
17282
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17283
 
  shlibpath_var=LD_LIBRARY_PATH
17284
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17285
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17286
 
  ;;
17287
 
 
17288
 
solaris*)
17289
 
  version_type=linux
17290
 
  need_lib_prefix=no
17291
 
  need_version=no
17292
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17293
 
  soname_spec='${libname}${release}${shared_ext}$major'
17294
 
  shlibpath_var=LD_LIBRARY_PATH
17295
 
  shlibpath_overrides_runpath=yes
17296
 
  hardcode_into_libs=yes
17297
 
  # ldd complains unless libraries are executable
17298
 
  postinstall_cmds='chmod +x $lib'
17299
 
  ;;
17300
 
 
17301
 
sunos4*)
17302
 
  version_type=sunos
17303
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17304
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17305
 
  shlibpath_var=LD_LIBRARY_PATH
17306
 
  shlibpath_overrides_runpath=yes
17307
 
  if test "$with_gnu_ld" = yes; then
17308
 
    need_lib_prefix=no
17309
 
  fi
17310
 
  need_version=yes
17311
 
  ;;
17312
 
 
17313
 
sysv4 | sysv4.3*)
17314
 
  version_type=linux
17315
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17316
 
  soname_spec='${libname}${release}${shared_ext}$major'
17317
 
  shlibpath_var=LD_LIBRARY_PATH
17318
 
  case $host_vendor in
17319
 
    sni)
17320
 
      shlibpath_overrides_runpath=no
17321
 
      need_lib_prefix=no
17322
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
17323
 
      runpath_var=LD_RUN_PATH
17324
 
      ;;
17325
 
    siemens)
17326
 
      need_lib_prefix=no
17327
 
      ;;
17328
 
    motorola)
17329
 
      need_lib_prefix=no
17330
 
      need_version=no
17331
 
      shlibpath_overrides_runpath=no
17332
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17333
 
      ;;
17334
 
  esac
17335
 
  ;;
17336
 
 
17337
 
sysv4*MP*)
17338
 
  if test -d /usr/nec ;then
17339
 
    version_type=linux
17340
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17341
 
    soname_spec='$libname${shared_ext}.$major'
17342
 
    shlibpath_var=LD_LIBRARY_PATH
17343
 
  fi
17344
 
  ;;
17345
 
 
17346
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17347
 
  version_type=freebsd-elf
17348
 
  need_lib_prefix=no
17349
 
  need_version=no
17350
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17351
 
  soname_spec='${libname}${release}${shared_ext}$major'
17352
 
  shlibpath_var=LD_LIBRARY_PATH
17353
 
  hardcode_into_libs=yes
17354
 
  if test "$with_gnu_ld" = yes; then
17355
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17356
 
    shlibpath_overrides_runpath=no
17357
 
  else
17358
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17359
 
    shlibpath_overrides_runpath=yes
17360
 
    case $host_os in
17361
 
      sco3.2v5*)
17362
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17363
 
        ;;
17364
 
    esac
17365
 
  fi
17366
 
  sys_lib_dlsearch_path_spec='/usr/lib'
17367
 
  ;;
17368
 
 
17369
 
uts4*)
17370
 
  version_type=linux
17371
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17372
 
  soname_spec='${libname}${release}${shared_ext}$major'
17373
 
  shlibpath_var=LD_LIBRARY_PATH
17374
 
  ;;
17375
 
 
17376
 
*)
17377
 
  dynamic_linker=no
17378
 
  ;;
17379
 
esac
17380
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17381
 
echo "${ECHO_T}$dynamic_linker" >&6
17382
 
test "$dynamic_linker" = no && can_build_shared=no
17383
 
 
17384
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17385
 
if test "$GCC" = yes; then
17386
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17387
 
fi
17388
 
 
17389
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17390
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17391
 
hardcode_action_GCJ=
17392
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17393
 
   test -n "$runpath_var_GCJ" || \
17394
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17395
 
 
17396
 
  # We can hardcode non-existant directories.
17397
 
  if test "$hardcode_direct_GCJ" != no &&
17398
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
17399
 
     # have to relink, otherwise we might link with an installed library
17400
 
     # when we should be linking with a yet-to-be-installed one
17401
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17402
 
     test "$hardcode_minus_L_GCJ" != no; then
17403
 
    # Linking always hardcodes the temporary library directory.
17404
 
    hardcode_action_GCJ=relink
17405
 
  else
17406
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
17407
 
    hardcode_action_GCJ=immediate
17408
 
  fi
17409
 
else
17410
 
  # We cannot hardcode anything, or else we can only hardcode existing
17411
 
  # directories.
17412
 
  hardcode_action_GCJ=unsupported
17413
 
fi
17414
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17415
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
17416
 
 
17417
 
if test "$hardcode_action_GCJ" = relink; then
17418
 
  # Fast installation is not supported
17419
 
  enable_fast_install=no
17420
 
elif test "$shlibpath_overrides_runpath" = yes ||
17421
 
     test "$enable_shared" = no; then
17422
 
  # Fast installation is not necessary
17423
 
  enable_fast_install=needless
17424
 
fi
17425
 
 
17426
 
 
17427
 
# The else clause should only fire when bootstrapping the
17428
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
17429
 
# with your package, and you will get complaints that there are
17430
 
# no rules to generate ltmain.sh.
17431
 
if test -f "$ltmain"; then
17432
 
  # See if we are running on zsh, and set the options which allow our commands through
17433
 
  # without removal of \ escapes.
17434
 
  if test -n "${ZSH_VERSION+set}" ; then
17435
 
    setopt NO_GLOB_SUBST
17436
 
  fi
17437
 
  # Now quote all the things that may contain metacharacters while being
17438
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
17439
 
  # variables and quote the copies for generation of the libtool script.
17440
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17441
 
    SED SHELL STRIP \
17442
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17443
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17444
 
    deplibs_check_method reload_flag reload_cmds need_locks \
17445
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17446
 
    lt_cv_sys_global_symbol_to_c_name_address \
17447
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17448
 
    old_postinstall_cmds old_postuninstall_cmds \
17449
 
    compiler_GCJ \
17450
 
    CC_GCJ \
17451
 
    LD_GCJ \
17452
 
    lt_prog_compiler_wl_GCJ \
17453
 
    lt_prog_compiler_pic_GCJ \
17454
 
    lt_prog_compiler_static_GCJ \
17455
 
    lt_prog_compiler_no_builtin_flag_GCJ \
17456
 
    export_dynamic_flag_spec_GCJ \
17457
 
    thread_safe_flag_spec_GCJ \
17458
 
    whole_archive_flag_spec_GCJ \
17459
 
    enable_shared_with_static_runtimes_GCJ \
17460
 
    old_archive_cmds_GCJ \
17461
 
    old_archive_from_new_cmds_GCJ \
17462
 
    predep_objects_GCJ \
17463
 
    postdep_objects_GCJ \
17464
 
    predeps_GCJ \
17465
 
    postdeps_GCJ \
17466
 
    compiler_lib_search_path_GCJ \
17467
 
    archive_cmds_GCJ \
17468
 
    archive_expsym_cmds_GCJ \
17469
 
    postinstall_cmds_GCJ \
17470
 
    postuninstall_cmds_GCJ \
17471
 
    old_archive_from_expsyms_cmds_GCJ \
17472
 
    allow_undefined_flag_GCJ \
17473
 
    no_undefined_flag_GCJ \
17474
 
    export_symbols_cmds_GCJ \
17475
 
    hardcode_libdir_flag_spec_GCJ \
17476
 
    hardcode_libdir_flag_spec_ld_GCJ \
17477
 
    hardcode_libdir_separator_GCJ \
17478
 
    hardcode_automatic_GCJ \
17479
 
    module_cmds_GCJ \
17480
 
    module_expsym_cmds_GCJ \
17481
 
    lt_cv_prog_compiler_c_o_GCJ \
17482
 
    exclude_expsyms_GCJ \
17483
 
    include_expsyms_GCJ; do
17484
 
 
17485
 
    case $var in
17486
 
    old_archive_cmds_GCJ | \
17487
 
    old_archive_from_new_cmds_GCJ | \
17488
 
    archive_cmds_GCJ | \
17489
 
    archive_expsym_cmds_GCJ | \
17490
 
    module_cmds_GCJ | \
17491
 
    module_expsym_cmds_GCJ | \
17492
 
    old_archive_from_expsyms_cmds_GCJ | \
17493
 
    export_symbols_cmds_GCJ | \
17494
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
17495
 
    postinstall_cmds | postuninstall_cmds | \
17496
 
    old_postinstall_cmds | old_postuninstall_cmds | \
17497
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17498
 
      # Double-quote double-evaled strings.
17499
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17500
 
      ;;
17501
 
    *)
17502
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17503
 
      ;;
17504
 
    esac
17505
 
  done
17506
 
 
17507
 
  case $lt_echo in
17508
 
  *'\$0 --fallback-echo"')
17509
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17510
 
    ;;
17511
 
  esac
17512
 
 
17513
 
cfgfile="$ofile"
17514
 
 
17515
 
  cat <<__EOF__ >> "$cfgfile"
17516
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
17517
 
 
17518
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17519
 
 
17520
 
# Shell to use when invoking shell scripts.
17521
 
SHELL=$lt_SHELL
17522
 
 
17523
 
# Whether or not to build shared libraries.
17524
 
build_libtool_libs=$enable_shared
17525
 
 
17526
 
# Whether or not to build static libraries.
17527
 
build_old_libs=$enable_static
17528
 
 
17529
 
# Whether or not to add -lc for building shared libraries.
17530
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17531
 
 
17532
 
# Whether or not to disallow shared libs when runtime libs are static
17533
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17534
 
 
17535
 
# Whether or not to optimize for fast installation.
17536
 
fast_install=$enable_fast_install
17537
 
 
17538
 
# The host system.
17539
 
host_alias=$host_alias
17540
 
host=$host
17541
 
host_os=$host_os
17542
 
 
17543
 
# The build system.
17544
 
build_alias=$build_alias
17545
 
build=$build
17546
 
build_os=$build_os
17547
 
 
17548
 
# An echo program that does not interpret backslashes.
17549
 
echo=$lt_echo
17550
 
 
17551
 
# The archiver.
17552
 
AR=$lt_AR
17553
 
AR_FLAGS=$lt_AR_FLAGS
17554
 
 
17555
 
# A C compiler.
17556
 
LTCC=$lt_LTCC
17557
 
 
17558
 
# LTCC compiler flags.
17559
 
LTCFLAGS=$lt_LTCFLAGS
17560
 
 
17561
 
# A language-specific compiler.
17562
 
CC=$lt_compiler_GCJ
17563
 
 
17564
 
# Is the compiler the GNU C compiler?
17565
 
with_gcc=$GCC_GCJ
17566
 
 
17567
 
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
17568
 
gcc_ver=\`gcc -dumpversion\`
17569
 
 
17570
 
# An ERE matcher.
17571
 
EGREP=$lt_EGREP
17572
 
 
17573
 
# The linker used to build libraries.
17574
 
LD=$lt_LD_GCJ
17575
 
 
17576
 
# Whether we need hard or soft links.
17577
 
LN_S=$lt_LN_S
17578
 
 
17579
 
# A BSD-compatible nm program.
17580
 
NM=$lt_NM
17581
 
 
17582
 
# A symbol stripping program
17583
 
STRIP=$lt_STRIP
17584
 
 
17585
 
# Used to examine libraries when file_magic_cmd begins "file"
17586
 
MAGIC_CMD=$MAGIC_CMD
17587
 
 
17588
 
# Used on cygwin: DLL creation program.
17589
 
DLLTOOL="$DLLTOOL"
17590
 
 
17591
 
# Used on cygwin: object dumper.
17592
 
OBJDUMP="$OBJDUMP"
17593
 
 
17594
 
# Used on cygwin: assembler.
17595
 
AS="$AS"
17596
 
 
17597
 
# The name of the directory that contains temporary libtool files.
17598
 
objdir=$objdir
17599
 
 
17600
 
# How to create reloadable object files.
17601
 
reload_flag=$lt_reload_flag
17602
 
reload_cmds=$lt_reload_cmds
17603
 
 
17604
 
# How to pass a linker flag through the compiler.
17605
 
wl=$lt_lt_prog_compiler_wl_GCJ
17606
 
 
17607
 
# Object file suffix (normally "o").
17608
 
objext="$ac_objext"
17609
 
 
17610
 
# Old archive suffix (normally "a").
17611
 
libext="$libext"
17612
 
 
17613
 
# Shared library suffix (normally ".so").
17614
 
shrext_cmds='$shrext_cmds'
17615
 
 
17616
 
# Executable file suffix (normally "").
17617
 
exeext="$exeext"
17618
 
 
17619
 
# Additional compiler flags for building library objects.
17620
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
17621
 
pic_mode=$pic_mode
17622
 
 
17623
 
# What is the maximum length of a command?
17624
 
max_cmd_len=$lt_cv_sys_max_cmd_len
17625
 
 
17626
 
# Does compiler simultaneously support -c and -o options?
17627
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17628
 
 
17629
 
# Must we lock files when doing compilation?
17630
 
need_locks=$lt_need_locks
17631
 
 
17632
 
# Do we need the lib prefix for modules?
17633
 
need_lib_prefix=$need_lib_prefix
17634
 
 
17635
 
# Do we need a version for libraries?
17636
 
need_version=$need_version
17637
 
 
17638
 
# Whether dlopen is supported.
17639
 
dlopen_support=$enable_dlopen
17640
 
 
17641
 
# Whether dlopen of programs is supported.
17642
 
dlopen_self=$enable_dlopen_self
17643
 
 
17644
 
# Whether dlopen of statically linked programs is supported.
17645
 
dlopen_self_static=$enable_dlopen_self_static
17646
 
 
17647
 
# Compiler flag to prevent dynamic linking.
17648
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
17649
 
 
17650
 
# Compiler flag to turn off builtin functions.
17651
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17652
 
 
17653
 
# Compiler flag to allow reflexive dlopens.
17654
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17655
 
 
17656
 
# Compiler flag to generate shared objects directly from archives.
17657
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17658
 
 
17659
 
# Compiler flag to generate thread-safe objects.
17660
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17661
 
 
17662
 
# Library versioning type.
17663
 
version_type=$version_type
17664
 
 
17665
 
# Format of library name prefix.
17666
 
libname_spec=$lt_libname_spec
17667
 
 
17668
 
# List of archive names.  First name is the real one, the rest are links.
17669
 
# The last name is the one that the linker finds with -lNAME.
17670
 
library_names_spec=$lt_library_names_spec
17671
 
 
17672
 
# The coded name of the library, if different from the real name.
17673
 
soname_spec=$lt_soname_spec
17674
 
 
17675
 
# Commands used to build and install an old-style archive.
17676
 
RANLIB=$lt_RANLIB
17677
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
17678
 
old_postinstall_cmds=$lt_old_postinstall_cmds
17679
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17680
 
 
17681
 
# Create an old-style archive from a shared archive.
17682
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17683
 
 
17684
 
# Create a temporary old-style archive to link instead of a shared archive.
17685
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17686
 
 
17687
 
# Commands used to build and install a shared archive.
17688
 
archive_cmds=$lt_archive_cmds_GCJ
17689
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17690
 
postinstall_cmds=$lt_postinstall_cmds
17691
 
postuninstall_cmds=$lt_postuninstall_cmds
17692
 
 
17693
 
# Commands used to build a loadable module (assumed same as above if empty)
17694
 
module_cmds=$lt_module_cmds_GCJ
17695
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17696
 
 
17697
 
# Commands to strip libraries.
17698
 
old_striplib=$lt_old_striplib
17699
 
striplib=$lt_striplib
17700
 
 
17701
 
# Dependencies to place before the objects being linked to create a
17702
 
# shared library.
17703
 
predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
17704
 
 
17705
 
# Dependencies to place after the objects being linked to create a
17706
 
# shared library.
17707
 
postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
17708
 
 
17709
 
# Dependencies to place before the objects being linked to create a
17710
 
# shared library.
17711
 
predeps=$lt_predeps_GCJ
17712
 
 
17713
 
# Dependencies to place after the objects being linked to create a
17714
 
# shared library.
17715
 
postdeps=$lt_postdeps_GCJ
17716
 
 
17717
 
# The library search path used internally by the compiler when linking
17718
 
# a shared library.
17719
 
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
17720
 
 
17721
 
# Method to check whether dependent libraries are shared objects.
17722
 
deplibs_check_method=$lt_deplibs_check_method
17723
 
 
17724
 
# Command to use when deplibs_check_method == file_magic.
17725
 
file_magic_cmd=$lt_file_magic_cmd
17726
 
 
17727
 
# Flag that allows shared libraries with undefined symbols to be built.
17728
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17729
 
 
17730
 
# Flag that forces no undefined symbols.
17731
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
17732
 
 
17733
 
# Commands used to finish a libtool library installation in a directory.
17734
 
finish_cmds=$lt_finish_cmds
17735
 
 
17736
 
# Same as above, but a single script fragment to be evaled but not shown.
17737
 
finish_eval=$lt_finish_eval
17738
 
 
17739
 
# Take the output of nm and produce a listing of raw symbols and C names.
17740
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17741
 
 
17742
 
# Transform the output of nm in a proper C declaration
17743
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17744
 
 
17745
 
# Transform the output of nm in a C name address pair
17746
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17747
 
 
17748
 
# This is the shared library runtime path variable.
17749
 
runpath_var=$runpath_var
17750
 
 
17751
 
# This is the shared library path variable.
17752
 
shlibpath_var=$shlibpath_var
17753
 
 
17754
 
# Is shlibpath searched before the hard-coded library search path?
17755
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17756
 
 
17757
 
# How to hardcode a shared library path into an executable.
17758
 
hardcode_action=$hardcode_action_GCJ
17759
 
 
17760
 
# Whether we should hardcode library paths into libraries.
17761
 
hardcode_into_libs=$hardcode_into_libs
17762
 
 
17763
 
# Flag to hardcode \$libdir into a binary during linking.
17764
 
# This must work even if \$libdir does not exist.
17765
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17766
 
 
17767
 
# If ld is used when linking, flag to hardcode \$libdir into
17768
 
# a binary during linking. This must work even if \$libdir does
17769
 
# not exist.
17770
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17771
 
 
17772
 
# Whether we need a single -rpath flag with a separated argument.
17773
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17774
 
 
17775
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17776
 
# resulting binary.
17777
 
hardcode_direct=$hardcode_direct_GCJ
17778
 
 
17779
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17780
 
# resulting binary.
17781
 
hardcode_minus_L=$hardcode_minus_L_GCJ
17782
 
 
17783
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17784
 
# the resulting binary.
17785
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17786
 
 
17787
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
17788
 
# and all subsequent libraries and executables linked against it.
17789
 
hardcode_automatic=$hardcode_automatic_GCJ
17790
 
 
17791
 
# Variables whose values should be saved in libtool wrapper scripts and
17792
 
# restored at relink time.
17793
 
variables_saved_for_relink="$variables_saved_for_relink"
17794
 
 
17795
 
# Whether libtool must link a program against all its dependency libraries.
17796
 
link_all_deplibs=$link_all_deplibs_GCJ
17797
 
 
17798
 
# Compile-time system search path for libraries
17799
 
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
17800
 
 
17801
 
# Run-time system search path for libraries
17802
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17803
 
 
17804
 
# Fix the shell variable \$srcfile for the compiler.
17805
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
17806
 
 
17807
 
# Set to yes if exported symbols are required.
17808
 
always_export_symbols=$always_export_symbols_GCJ
17809
 
 
17810
 
# The commands to list exported symbols.
17811
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17812
 
 
17813
 
# The commands to extract the exported symbol list from a shared archive.
17814
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17815
 
 
17816
 
# Symbols that should not be listed in the preloaded symbols.
17817
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
17818
 
 
17819
 
# Symbols that must always be exported.
17820
 
include_expsyms=$lt_include_expsyms_GCJ
17821
 
 
17822
 
# ### END LIBTOOL TAG CONFIG: $tagname
17823
 
 
17824
 
__EOF__
17825
 
 
17826
 
 
17827
 
else
17828
 
  # If there is no Makefile yet, we rely on a make rule to execute
17829
 
  # `config.status --recheck' to rerun these tests and create the
17830
 
  # libtool script then.
17831
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17832
 
  if test -f "$ltmain_in"; then
17833
 
    test -f Makefile && make "$ltmain"
17834
 
  fi
17835
 
fi
17836
 
 
17837
 
 
17838
 
ac_ext=c
17839
 
ac_cpp='$CPP $CPPFLAGS'
17840
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17841
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17842
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17843
 
 
17844
 
CC="$lt_save_CC"
17845
 
 
17846
 
        else
17847
 
          tagname=""
17848
 
        fi
17849
 
        ;;
17850
 
 
17851
 
      RC)
17852
 
 
17853
 
 
17854
 
 
17855
 
# Source file extension for RC test sources.
17856
 
ac_ext=rc
17857
 
 
17858
 
# Object file extension for compiled RC test sources.
17859
 
objext=o
17860
 
objext_RC=$objext
17861
 
 
17862
 
# Code to be used in simple compile tests
17863
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17864
 
 
17865
 
# Code to be used in simple link tests
17866
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
17867
 
 
17868
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17869
 
 
17870
 
# If no C compiler was specified, use CC.
17871
 
LTCC=${LTCC-"$CC"}
17872
 
 
17873
 
# If no C compiler flags were specified, use CFLAGS.
17874
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17875
 
 
17876
 
# Allow CC to be a program name with arguments.
17877
 
compiler=$CC
17878
 
 
17879
 
 
17880
 
# save warnings/boilerplate of simple test code
17881
 
ac_outfile=conftest.$ac_objext
17882
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
17883
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17884
 
_lt_compiler_boilerplate=`cat conftest.err`
17885
 
$rm conftest*
17886
 
 
17887
 
ac_outfile=conftest.$ac_objext
17888
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
17889
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17890
 
_lt_linker_boilerplate=`cat conftest.err`
17891
 
$rm conftest*
17892
 
 
17893
 
 
17894
 
# Allow CC to be a program name with arguments.
17895
 
lt_save_CC="$CC"
17896
 
CC=${RC-"windres"}
17897
 
compiler=$CC
17898
 
compiler_RC=$CC
17899
 
for cc_temp in $compiler""; do
17900
 
  case $cc_temp in
17901
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17902
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17903
 
    \-*) ;;
17904
 
    *) break;;
17905
 
  esac
17906
 
done
17907
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17908
 
 
17909
 
lt_cv_prog_compiler_c_o_RC=yes
17910
 
 
17911
 
# The else clause should only fire when bootstrapping the
17912
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
17913
 
# with your package, and you will get complaints that there are
17914
 
# no rules to generate ltmain.sh.
17915
 
if test -f "$ltmain"; then
17916
 
  # See if we are running on zsh, and set the options which allow our commands through
17917
 
  # without removal of \ escapes.
17918
 
  if test -n "${ZSH_VERSION+set}" ; then
17919
 
    setopt NO_GLOB_SUBST
17920
 
  fi
17921
 
  # Now quote all the things that may contain metacharacters while being
17922
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
17923
 
  # variables and quote the copies for generation of the libtool script.
17924
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17925
 
    SED SHELL STRIP \
17926
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17927
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17928
 
    deplibs_check_method reload_flag reload_cmds need_locks \
17929
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17930
 
    lt_cv_sys_global_symbol_to_c_name_address \
17931
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17932
 
    old_postinstall_cmds old_postuninstall_cmds \
17933
 
    compiler_RC \
17934
 
    CC_RC \
17935
 
    LD_RC \
17936
 
    lt_prog_compiler_wl_RC \
17937
 
    lt_prog_compiler_pic_RC \
17938
 
    lt_prog_compiler_static_RC \
17939
 
    lt_prog_compiler_no_builtin_flag_RC \
17940
 
    export_dynamic_flag_spec_RC \
17941
 
    thread_safe_flag_spec_RC \
17942
 
    whole_archive_flag_spec_RC \
17943
 
    enable_shared_with_static_runtimes_RC \
17944
 
    old_archive_cmds_RC \
17945
 
    old_archive_from_new_cmds_RC \
17946
 
    predep_objects_RC \
17947
 
    postdep_objects_RC \
17948
 
    predeps_RC \
17949
 
    postdeps_RC \
17950
 
    compiler_lib_search_path_RC \
17951
 
    archive_cmds_RC \
17952
 
    archive_expsym_cmds_RC \
17953
 
    postinstall_cmds_RC \
17954
 
    postuninstall_cmds_RC \
17955
 
    old_archive_from_expsyms_cmds_RC \
17956
 
    allow_undefined_flag_RC \
17957
 
    no_undefined_flag_RC \
17958
 
    export_symbols_cmds_RC \
17959
 
    hardcode_libdir_flag_spec_RC \
17960
 
    hardcode_libdir_flag_spec_ld_RC \
17961
 
    hardcode_libdir_separator_RC \
17962
 
    hardcode_automatic_RC \
17963
 
    module_cmds_RC \
17964
 
    module_expsym_cmds_RC \
17965
 
    lt_cv_prog_compiler_c_o_RC \
17966
 
    exclude_expsyms_RC \
17967
 
    include_expsyms_RC; do
17968
 
 
17969
 
    case $var in
17970
 
    old_archive_cmds_RC | \
17971
 
    old_archive_from_new_cmds_RC | \
17972
 
    archive_cmds_RC | \
17973
 
    archive_expsym_cmds_RC | \
17974
 
    module_cmds_RC | \
17975
 
    module_expsym_cmds_RC | \
17976
 
    old_archive_from_expsyms_cmds_RC | \
17977
 
    export_symbols_cmds_RC | \
17978
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
17979
 
    postinstall_cmds | postuninstall_cmds | \
17980
 
    old_postinstall_cmds | old_postuninstall_cmds | \
17981
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17982
 
      # Double-quote double-evaled strings.
17983
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17984
 
      ;;
17985
 
    *)
17986
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17987
 
      ;;
17988
 
    esac
17989
 
  done
17990
 
 
17991
 
  case $lt_echo in
17992
 
  *'\$0 --fallback-echo"')
17993
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17994
 
    ;;
17995
 
  esac
17996
 
 
17997
 
cfgfile="$ofile"
17998
 
 
17999
 
  cat <<__EOF__ >> "$cfgfile"
18000
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18001
 
 
18002
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18003
 
 
18004
 
# Shell to use when invoking shell scripts.
18005
 
SHELL=$lt_SHELL
18006
 
 
18007
 
# Whether or not to build shared libraries.
18008
 
build_libtool_libs=$enable_shared
18009
 
 
18010
 
# Whether or not to build static libraries.
18011
 
build_old_libs=$enable_static
18012
 
 
18013
 
# Whether or not to add -lc for building shared libraries.
18014
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
18015
 
 
18016
 
# Whether or not to disallow shared libs when runtime libs are static
18017
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18018
 
 
18019
 
# Whether or not to optimize for fast installation.
18020
 
fast_install=$enable_fast_install
18021
 
 
18022
 
# The host system.
18023
 
host_alias=$host_alias
18024
 
host=$host
18025
 
host_os=$host_os
18026
 
 
18027
 
# The build system.
18028
 
build_alias=$build_alias
18029
 
build=$build
18030
 
build_os=$build_os
18031
 
 
18032
 
# An echo program that does not interpret backslashes.
18033
 
echo=$lt_echo
18034
 
 
18035
 
# The archiver.
18036
 
AR=$lt_AR
18037
 
AR_FLAGS=$lt_AR_FLAGS
18038
 
 
18039
 
# A C compiler.
18040
 
LTCC=$lt_LTCC
18041
 
 
18042
 
# LTCC compiler flags.
18043
 
LTCFLAGS=$lt_LTCFLAGS
18044
 
 
18045
 
# A language-specific compiler.
18046
 
CC=$lt_compiler_RC
18047
 
 
18048
 
# Is the compiler the GNU C compiler?
18049
 
with_gcc=$GCC_RC
18050
 
 
18051
 
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
18052
 
gcc_ver=\`gcc -dumpversion\`
18053
 
 
18054
 
# An ERE matcher.
18055
 
EGREP=$lt_EGREP
18056
 
 
18057
 
# The linker used to build libraries.
18058
 
LD=$lt_LD_RC
18059
 
 
18060
 
# Whether we need hard or soft links.
18061
 
LN_S=$lt_LN_S
18062
 
 
18063
 
# A BSD-compatible nm program.
18064
 
NM=$lt_NM
18065
 
 
18066
 
# A symbol stripping program
18067
 
STRIP=$lt_STRIP
18068
 
 
18069
 
# Used to examine libraries when file_magic_cmd begins "file"
18070
 
MAGIC_CMD=$MAGIC_CMD
18071
 
 
18072
 
# Used on cygwin: DLL creation program.
18073
 
DLLTOOL="$DLLTOOL"
18074
 
 
18075
 
# Used on cygwin: object dumper.
18076
 
OBJDUMP="$OBJDUMP"
18077
 
 
18078
 
# Used on cygwin: assembler.
18079
 
AS="$AS"
18080
 
 
18081
 
# The name of the directory that contains temporary libtool files.
18082
 
objdir=$objdir
18083
 
 
18084
 
# How to create reloadable object files.
18085
 
reload_flag=$lt_reload_flag
18086
 
reload_cmds=$lt_reload_cmds
18087
 
 
18088
 
# How to pass a linker flag through the compiler.
18089
 
wl=$lt_lt_prog_compiler_wl_RC
18090
 
 
18091
 
# Object file suffix (normally "o").
18092
 
objext="$ac_objext"
18093
 
 
18094
 
# Old archive suffix (normally "a").
18095
 
libext="$libext"
18096
 
 
18097
 
# Shared library suffix (normally ".so").
18098
 
shrext_cmds='$shrext_cmds'
18099
 
 
18100
 
# Executable file suffix (normally "").
18101
 
exeext="$exeext"
18102
 
 
18103
 
# Additional compiler flags for building library objects.
18104
 
pic_flag=$lt_lt_prog_compiler_pic_RC
18105
 
pic_mode=$pic_mode
18106
 
 
18107
 
# What is the maximum length of a command?
18108
 
max_cmd_len=$lt_cv_sys_max_cmd_len
18109
 
 
18110
 
# Does compiler simultaneously support -c and -o options?
18111
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18112
 
 
18113
 
# Must we lock files when doing compilation?
18114
 
need_locks=$lt_need_locks
18115
 
 
18116
 
# Do we need the lib prefix for modules?
18117
 
need_lib_prefix=$need_lib_prefix
18118
 
 
18119
 
# Do we need a version for libraries?
18120
 
need_version=$need_version
18121
 
 
18122
 
# Whether dlopen is supported.
18123
 
dlopen_support=$enable_dlopen
18124
 
 
18125
 
# Whether dlopen of programs is supported.
18126
 
dlopen_self=$enable_dlopen_self
18127
 
 
18128
 
# Whether dlopen of statically linked programs is supported.
18129
 
dlopen_self_static=$enable_dlopen_self_static
18130
 
 
18131
 
# Compiler flag to prevent dynamic linking.
18132
 
link_static_flag=$lt_lt_prog_compiler_static_RC
18133
 
 
18134
 
# Compiler flag to turn off builtin functions.
18135
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18136
 
 
18137
 
# Compiler flag to allow reflexive dlopens.
18138
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18139
 
 
18140
 
# Compiler flag to generate shared objects directly from archives.
18141
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18142
 
 
18143
 
# Compiler flag to generate thread-safe objects.
18144
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18145
 
 
18146
 
# Library versioning type.
18147
 
version_type=$version_type
18148
 
 
18149
 
# Format of library name prefix.
18150
 
libname_spec=$lt_libname_spec
18151
 
 
18152
 
# List of archive names.  First name is the real one, the rest are links.
18153
 
# The last name is the one that the linker finds with -lNAME.
18154
 
library_names_spec=$lt_library_names_spec
18155
 
 
18156
 
# The coded name of the library, if different from the real name.
18157
 
soname_spec=$lt_soname_spec
18158
 
 
18159
 
# Commands used to build and install an old-style archive.
18160
 
RANLIB=$lt_RANLIB
18161
 
old_archive_cmds=$lt_old_archive_cmds_RC
18162
 
old_postinstall_cmds=$lt_old_postinstall_cmds
18163
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18164
 
 
18165
 
# Create an old-style archive from a shared archive.
18166
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18167
 
 
18168
 
# Create a temporary old-style archive to link instead of a shared archive.
18169
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18170
 
 
18171
 
# Commands used to build and install a shared archive.
18172
 
archive_cmds=$lt_archive_cmds_RC
18173
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18174
 
postinstall_cmds=$lt_postinstall_cmds
18175
 
postuninstall_cmds=$lt_postuninstall_cmds
18176
 
 
18177
 
# Commands used to build a loadable module (assumed same as above if empty)
18178
 
module_cmds=$lt_module_cmds_RC
18179
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
18180
 
 
18181
 
# Commands to strip libraries.
18182
 
old_striplib=$lt_old_striplib
18183
 
striplib=$lt_striplib
18184
 
 
18185
 
# Dependencies to place before the objects being linked to create a
18186
 
# shared library.
18187
 
predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18188
 
 
18189
 
# Dependencies to place after the objects being linked to create a
18190
 
# shared library.
18191
 
postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18192
 
 
18193
 
# Dependencies to place before the objects being linked to create a
18194
 
# shared library.
18195
 
predeps=$lt_predeps_RC
18196
 
 
18197
 
# Dependencies to place after the objects being linked to create a
18198
 
# shared library.
18199
 
postdeps=$lt_postdeps_RC
18200
 
 
18201
 
# The library search path used internally by the compiler when linking
18202
 
# a shared library.
18203
 
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18204
 
 
18205
 
# Method to check whether dependent libraries are shared objects.
18206
 
deplibs_check_method=$lt_deplibs_check_method
18207
 
 
18208
 
# Command to use when deplibs_check_method == file_magic.
18209
 
file_magic_cmd=$lt_file_magic_cmd
18210
 
 
18211
 
# Flag that allows shared libraries with undefined symbols to be built.
18212
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
18213
 
 
18214
 
# Flag that forces no undefined symbols.
18215
 
no_undefined_flag=$lt_no_undefined_flag_RC
18216
 
 
18217
 
# Commands used to finish a libtool library installation in a directory.
18218
 
finish_cmds=$lt_finish_cmds
18219
 
 
18220
 
# Same as above, but a single script fragment to be evaled but not shown.
18221
 
finish_eval=$lt_finish_eval
18222
 
 
18223
 
# Take the output of nm and produce a listing of raw symbols and C names.
18224
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18225
 
 
18226
 
# Transform the output of nm in a proper C declaration
18227
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18228
 
 
18229
 
# Transform the output of nm in a C name address pair
18230
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18231
 
 
18232
 
# This is the shared library runtime path variable.
18233
 
runpath_var=$runpath_var
18234
 
 
18235
 
# This is the shared library path variable.
18236
 
shlibpath_var=$shlibpath_var
18237
 
 
18238
 
# Is shlibpath searched before the hard-coded library search path?
18239
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18240
 
 
18241
 
# How to hardcode a shared library path into an executable.
18242
 
hardcode_action=$hardcode_action_RC
18243
 
 
18244
 
# Whether we should hardcode library paths into libraries.
18245
 
hardcode_into_libs=$hardcode_into_libs
18246
 
 
18247
 
# Flag to hardcode \$libdir into a binary during linking.
18248
 
# This must work even if \$libdir does not exist.
18249
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18250
 
 
18251
 
# If ld is used when linking, flag to hardcode \$libdir into
18252
 
# a binary during linking. This must work even if \$libdir does
18253
 
# not exist.
18254
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18255
 
 
18256
 
# Whether we need a single -rpath flag with a separated argument.
18257
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18258
 
 
18259
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18260
 
# resulting binary.
18261
 
hardcode_direct=$hardcode_direct_RC
18262
 
 
18263
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18264
 
# resulting binary.
18265
 
hardcode_minus_L=$hardcode_minus_L_RC
18266
 
 
18267
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18268
 
# the resulting binary.
18269
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18270
 
 
18271
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
18272
 
# and all subsequent libraries and executables linked against it.
18273
 
hardcode_automatic=$hardcode_automatic_RC
18274
 
 
18275
 
# Variables whose values should be saved in libtool wrapper scripts and
18276
 
# restored at relink time.
18277
 
variables_saved_for_relink="$variables_saved_for_relink"
18278
 
 
18279
 
# Whether libtool must link a program against all its dependency libraries.
18280
 
link_all_deplibs=$link_all_deplibs_RC
18281
 
 
18282
 
# Compile-time system search path for libraries
18283
 
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18284
 
 
18285
 
# Run-time system search path for libraries
18286
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18287
 
 
18288
 
# Fix the shell variable \$srcfile for the compiler.
18289
 
fix_srcfile_path="$fix_srcfile_path_RC"
18290
 
 
18291
 
# Set to yes if exported symbols are required.
18292
 
always_export_symbols=$always_export_symbols_RC
18293
 
 
18294
 
# The commands to list exported symbols.
18295
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
18296
 
 
18297
 
# The commands to extract the exported symbol list from a shared archive.
18298
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18299
 
 
18300
 
# Symbols that should not be listed in the preloaded symbols.
18301
 
exclude_expsyms=$lt_exclude_expsyms_RC
18302
 
 
18303
 
# Symbols that must always be exported.
18304
 
include_expsyms=$lt_include_expsyms_RC
18305
 
 
18306
 
# ### END LIBTOOL TAG CONFIG: $tagname
18307
 
 
18308
 
__EOF__
18309
 
 
18310
 
 
18311
 
else
18312
 
  # If there is no Makefile yet, we rely on a make rule to execute
18313
 
  # `config.status --recheck' to rerun these tests and create the
18314
 
  # libtool script then.
18315
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18316
 
  if test -f "$ltmain_in"; then
18317
 
    test -f Makefile && make "$ltmain"
18318
 
  fi
18319
 
fi
18320
 
 
18321
 
 
18322
 
ac_ext=c
18323
 
ac_cpp='$CPP $CPPFLAGS'
18324
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18325
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18326
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18327
 
 
18328
 
CC="$lt_save_CC"
18329
 
 
18330
 
        ;;
18331
 
 
18332
 
      *)
18333
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18334
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18335
 
   { (exit 1); exit 1; }; }
18336
 
        ;;
18337
 
      esac
18338
 
 
18339
 
      # Append the new tag name to the list of available tags.
18340
 
      if test -n "$tagname" ; then
18341
 
      available_tags="$available_tags $tagname"
18342
 
    fi
18343
 
    fi
18344
 
  done
18345
 
  IFS="$lt_save_ifs"
18346
 
 
18347
 
  # Now substitute the updated list of available tags.
18348
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18349
 
    mv "${ofile}T" "$ofile"
18350
 
    chmod +x "$ofile"
18351
 
  else
18352
 
    rm -f "${ofile}T"
18353
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18354
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18355
 
   { (exit 1); exit 1; }; }
18356
 
  fi
18357
 
fi
18358
 
 
18359
 
 
18360
 
 
18361
 
# This can be used to rebuild libtool when needed
18362
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18363
 
 
18364
 
# Always use our own libtool.
18365
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
18366
 
 
18367
 
# Prevent multiple expansion
18368
 
 
18369
 
 
18370
 
 
18371
 
 
18372
 
 
18373
 
 
18374
 
 
18375
 
 
18376
 
 
18377
 
 
18378
 
 
18379
 
 
18380
 
 
18381
 
 
18382
 
 
18383
 
 
18384
 
 
18385
 
 
18386
 
 
18387
 
 
18388
 
 
18389
 
 
18390
 
am__api_version="1.9"
 
10812
 
 
10813
 
 
10814
 
 
10815
 
 
10816
 
 
10817
 
 
10818
 
 
10819
 
 
10820
 
 
10821
 
 
10822
 
 
10823
 
 
10824
 
 
10825
 
 
10826
 
 
10827
striplib=
 
10828
old_striplib=
 
10829
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
10830
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
10831
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
10832
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
10833
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
10834
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10835
$as_echo "yes" >&6; }
 
10836
else
 
10837
# FIXME - insert some real tests, host_os isn't really good enough
 
10838
  case $host_os in
 
10839
  darwin*)
 
10840
    if test -n "$STRIP" ; then
 
10841
      striplib="$STRIP -x"
 
10842
      old_striplib="$STRIP -S"
 
10843
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10844
$as_echo "yes" >&6; }
 
10845
    else
 
10846
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
10847
$as_echo "no" >&6; }
 
10848
    fi
 
10849
    ;;
 
10850
  *)
 
10851
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
10852
$as_echo "no" >&6; }
 
10853
    ;;
 
10854
  esac
 
10855
fi
 
10856
 
 
10857
 
 
10858
 
 
10859
 
 
10860
 
 
10861
 
 
10862
 
 
10863
 
 
10864
 
 
10865
 
 
10866
 
 
10867
 
 
10868
  # Report which library types will actually be built
 
10869
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10870
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
10871
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10872
$as_echo "$can_build_shared" >&6; }
 
10873
 
 
10874
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10875
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
10876
  test "$can_build_shared" = "no" && enable_shared=no
 
10877
 
 
10878
  # On AIX, shared libraries and static libraries use the same namespace, and
 
10879
  # are all built from PIC.
 
10880
  case $host_os in
 
10881
  aix3*)
 
10882
    test "$enable_shared" = yes && enable_static=no
 
10883
    if test -n "$RANLIB"; then
 
10884
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
10885
      postinstall_cmds='$RANLIB $lib'
 
10886
    fi
 
10887
    ;;
 
10888
 
 
10889
  aix[4-9]*)
 
10890
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
10891
      test "$enable_shared" = yes && enable_static=no
 
10892
    fi
 
10893
    ;;
 
10894
  esac
 
10895
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10896
$as_echo "$enable_shared" >&6; }
 
10897
 
 
10898
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10899
$as_echo_n "checking whether to build static libraries... " >&6; }
 
10900
  # Make sure either enable_shared or enable_static is yes.
 
10901
  test "$enable_shared" = yes || enable_static=yes
 
10902
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
10903
$as_echo "$enable_static" >&6; }
 
10904
 
 
10905
 
 
10906
 
 
10907
 
 
10908
fi
 
10909
ac_ext=c
 
10910
ac_cpp='$CPP $CPPFLAGS'
 
10911
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10912
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10913
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
10914
 
 
10915
CC="$lt_save_CC"
 
10916
 
 
10917
 
 
10918
 
 
10919
 
 
10920
 
 
10921
 
 
10922
 
 
10923
 
 
10924
 
 
10925
 
 
10926
 
 
10927
 
 
10928
 
 
10929
        ac_config_commands="$ac_config_commands libtool"
 
10930
 
 
10931
 
 
10932
 
 
10933
 
 
10934
# Only expand once:
 
10935
 
 
10936
 
 
10937
 
 
10938
 
 
10939
am__api_version='1.11'
 
10940
 
18391
10941
# Find a good install program.  We prefer a C program (faster),
18392
10942
# so one script is as good as another.  But avoid the broken or
18393
10943
# incompatible versions:
18401
10951
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
18402
10952
# OS/2's system install, which has a completely different semantic
18403
10953
# ./install, which can be erroneously created by make from ./install.sh.
18404
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
18405
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
10954
# Reject install programs that cannot install multiple files.
 
10955
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
10956
$as_echo_n "checking for a BSD-compatible install... " >&6; }
18406
10957
if test -z "$INSTALL"; then
18407
10958
if test "${ac_cv_path_install+set}" = set; then
18408
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10959
  $as_echo_n "(cached) " >&6
18409
10960
else
18410
10961
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18411
10962
for as_dir in $PATH
18424
10975
    # by default.
18425
10976
    for ac_prog in ginstall scoinst install; do
18426
10977
      for ac_exec_ext in '' $ac_executable_extensions; do
18427
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
10978
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
18428
10979
          if test $ac_prog = install &&
18429
10980
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
18430
10981
            # AIX install.  It has an incompatible calling convention.
18434
10985
            # program-specific install script used by HP pwplus--don't use.
18435
10986
            :
18436
10987
          else
18437
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
18438
 
            break 3
 
10988
            rm -rf conftest.one conftest.two conftest.dir
 
10989
            echo one > conftest.one
 
10990
            echo two > conftest.two
 
10991
            mkdir conftest.dir
 
10992
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
10993
              test -s conftest.one && test -s conftest.two &&
 
10994
              test -s conftest.dir/conftest.one &&
 
10995
              test -s conftest.dir/conftest.two
 
10996
            then
 
10997
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
10998
              break 3
 
10999
            fi
18439
11000
          fi
18440
11001
        fi
18441
11002
      done
18442
11003
    done
18443
11004
    ;;
18444
11005
esac
 
11006
 
18445
11007
done
 
11008
IFS=$as_save_IFS
18446
11009
 
 
11010
rm -rf conftest.one conftest.two conftest.dir
18447
11011
 
18448
11012
fi
18449
11013
  if test "${ac_cv_path_install+set}" = set; then
18450
11014
    INSTALL=$ac_cv_path_install
18451
11015
  else
18452
 
    # As a last resort, use the slow shell script.  We don't cache a
18453
 
    # path for INSTALL within a source directory, because that will
 
11016
    # As a last resort, use the slow shell script.  Don't cache a
 
11017
    # value for INSTALL within a source directory, because that will
18454
11018
    # break other packages using the cache if that directory is
18455
 
    # removed, or if the path is relative.
 
11019
    # removed, or if the value is a relative name.
18456
11020
    INSTALL=$ac_install_sh
18457
11021
  fi
18458
11022
fi
18459
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
18460
 
echo "${ECHO_T}$INSTALL" >&6
 
11023
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
11024
$as_echo "$INSTALL" >&6; }
18461
11025
 
18462
11026
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
18463
11027
# It thinks the first close brace ends the variable substitution.
18467
11031
 
18468
11032
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
18469
11033
 
18470
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
18471
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
11034
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
11035
$as_echo_n "checking whether build environment is sane... " >&6; }
18472
11036
# Just in case
18473
11037
sleep 1
18474
11038
echo timestamp > conftest.file
 
11039
# Reject unsafe characters in $srcdir or the absolute working directory
 
11040
# name.  Accept space and tab only in the latter.
 
11041
am_lf='
 
11042
'
 
11043
case `pwd` in
 
11044
  *[\\\"\#\$\&\'\`$am_lf]*)
 
11045
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
 
11046
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
 
11047
   { (exit 1); exit 1; }; };;
 
11048
esac
 
11049
case $srcdir in
 
11050
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
11051
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
 
11052
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
 
11053
   { (exit 1); exit 1; }; };;
 
11054
esac
 
11055
 
18475
11056
# Do `set' in a subshell so we don't clobber the current shell's
18476
11057
# arguments.  Must try -L first in case configure is actually a
18477
11058
# symlink; some systems play weird games with the mod time of symlinks
18478
11059
# (eg FreeBSD returns the mod time of the symlink's containing
18479
11060
# directory).
18480
11061
if (
18481
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
11062
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
18482
11063
   if test "$*" = "X"; then
18483
11064
      # -L didn't work.
18484
 
      set X `ls -t $srcdir/configure conftest.file`
 
11065
      set X `ls -t "$srcdir/configure" conftest.file`
18485
11066
   fi
18486
11067
   rm -f conftest.file
18487
11068
   if test "$*" != "X $srcdir/configure conftest.file" \
18491
11072
      # if, for instance, CONFIG_SHELL is bash and it inherits a
18492
11073
      # broken ls alias from the environment.  This has actually
18493
11074
      # happened.  Such a system could not be considered "sane".
18494
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
11075
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
18495
11076
alias in your environment" >&5
18496
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
11077
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
18497
11078
alias in your environment" >&2;}
18498
11079
   { (exit 1); exit 1; }; }
18499
11080
   fi
18504
11085
   # Ok.
18505
11086
   :
18506
11087
else
18507
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
11088
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
18508
11089
Check your system clock" >&5
18509
 
echo "$as_me: error: newly created file is older than distributed files!
 
11090
$as_echo "$as_me: error: newly created file is older than distributed files!
18510
11091
Check your system clock" >&2;}
18511
11092
   { (exit 1); exit 1; }; }
18512
11093
fi
18513
 
echo "$as_me:$LINENO: result: yes" >&5
18514
 
echo "${ECHO_T}yes" >&6
 
11094
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
11095
$as_echo "yes" >&6; }
18515
11096
test "$program_prefix" != NONE &&
18516
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
11097
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
18517
11098
# Use a double $ so make ignores it.
18518
11099
test "$program_suffix" != NONE &&
18519
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
18520
 
# Double any \ or $.  echo might interpret backslashes.
 
11100
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
11101
# Double any \ or $.
18521
11102
# By default was `s,x,x', remove it if useless.
18522
 
cat <<\_ACEOF >conftest.sed
18523
 
s/[\\$]/&&/g;s/;s,x,x,$//
18524
 
_ACEOF
18525
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
18526
 
rm conftest.sed
 
11103
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
11104
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
18527
11105
 
18528
11106
# expand $ac_aux_dir to an absolute path
18529
11107
am_aux_dir=`cd $ac_aux_dir && pwd`
18530
11108
 
18531
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
11109
if test x"${MISSING+set}" != xset; then
 
11110
  case $am_aux_dir in
 
11111
  *\ * | *\     *)
 
11112
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
11113
  *)
 
11114
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
11115
  esac
 
11116
fi
18532
11117
# Use eval to expand $SHELL
18533
11118
if eval "$MISSING --run true"; then
18534
11119
  am_missing_run="$MISSING --run "
18535
11120
else
18536
11121
  am_missing_run=
18537
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
18538
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
18539
 
fi
18540
 
 
18541
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
18542
 
  # We used to keeping the `.' as first argument, in order to
18543
 
  # allow $(mkdir_p) to be used without argument.  As in
18544
 
  #   $(mkdir_p) $(somedir)
18545
 
  # where $(somedir) is conditionally defined.  However this is wrong
18546
 
  # for two reasons:
18547
 
  #  1. if the package is installed by a user who cannot write `.'
18548
 
  #     make install will fail,
18549
 
  #  2. the above comment should most certainly read
18550
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
18551
 
  #     so it does not work when $(somedir) is undefined and
18552
 
  #     $(DESTDIR) is not.
18553
 
  #  To support the latter case, we have to write
18554
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
18555
 
  #  so the `.' trick is pointless.
18556
 
  mkdir_p='mkdir -p --'
18557
 
else
18558
 
  # On NextStep and OpenStep, the `mkdir' command does not
18559
 
  # recognize any option.  It will interpret all options as
18560
 
  # directories to create, and then abort because `.' already
18561
 
  # exists.
18562
 
  for d in ./-p ./--version;
18563
 
  do
18564
 
    test -d $d && rmdir $d
18565
 
  done
18566
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
18567
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
18568
 
    mkdir_p='$(mkinstalldirs)'
18569
 
  else
18570
 
    mkdir_p='$(install_sh) -d'
18571
 
  fi
18572
 
fi
 
11122
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
11123
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
11124
fi
 
11125
 
 
11126
if test x"${install_sh}" != xset; then
 
11127
  case $am_aux_dir in
 
11128
  *\ * | *\     *)
 
11129
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
11130
  *)
 
11131
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
11132
  esac
 
11133
fi
 
11134
 
 
11135
# Installed binaries are usually stripped using `strip' when the user
 
11136
# run `make install-strip'.  However `strip' might not be the right
 
11137
# tool to use in cross-compilation environments, therefore Automake
 
11138
# will honor the `STRIP' environment variable to overrule this program.
 
11139
if test "$cross_compiling" != no; then
 
11140
  if test -n "$ac_tool_prefix"; then
 
11141
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
11142
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
11143
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11144
$as_echo_n "checking for $ac_word... " >&6; }
 
11145
if test "${ac_cv_prog_STRIP+set}" = set; then
 
11146
  $as_echo_n "(cached) " >&6
 
11147
else
 
11148
  if test -n "$STRIP"; then
 
11149
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
11150
else
 
11151
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11152
for as_dir in $PATH
 
11153
do
 
11154
  IFS=$as_save_IFS
 
11155
  test -z "$as_dir" && as_dir=.
 
11156
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11157
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11158
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
11159
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11160
    break 2
 
11161
  fi
 
11162
done
 
11163
done
 
11164
IFS=$as_save_IFS
 
11165
 
 
11166
fi
 
11167
fi
 
11168
STRIP=$ac_cv_prog_STRIP
 
11169
if test -n "$STRIP"; then
 
11170
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
11171
$as_echo "$STRIP" >&6; }
 
11172
else
 
11173
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11174
$as_echo "no" >&6; }
 
11175
fi
 
11176
 
 
11177
 
 
11178
fi
 
11179
if test -z "$ac_cv_prog_STRIP"; then
 
11180
  ac_ct_STRIP=$STRIP
 
11181
  # Extract the first word of "strip", so it can be a program name with args.
 
11182
set dummy strip; ac_word=$2
 
11183
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11184
$as_echo_n "checking for $ac_word... " >&6; }
 
11185
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
11186
  $as_echo_n "(cached) " >&6
 
11187
else
 
11188
  if test -n "$ac_ct_STRIP"; then
 
11189
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
11190
else
 
11191
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11192
for as_dir in $PATH
 
11193
do
 
11194
  IFS=$as_save_IFS
 
11195
  test -z "$as_dir" && as_dir=.
 
11196
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11197
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11198
    ac_cv_prog_ac_ct_STRIP="strip"
 
11199
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11200
    break 2
 
11201
  fi
 
11202
done
 
11203
done
 
11204
IFS=$as_save_IFS
 
11205
 
 
11206
fi
 
11207
fi
 
11208
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
11209
if test -n "$ac_ct_STRIP"; then
 
11210
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
11211
$as_echo "$ac_ct_STRIP" >&6; }
 
11212
else
 
11213
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11214
$as_echo "no" >&6; }
 
11215
fi
 
11216
 
 
11217
  if test "x$ac_ct_STRIP" = x; then
 
11218
    STRIP=":"
 
11219
  else
 
11220
    case $cross_compiling:$ac_tool_warned in
 
11221
yes:)
 
11222
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
11223
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
11224
ac_tool_warned=yes ;;
 
11225
esac
 
11226
    STRIP=$ac_ct_STRIP
 
11227
  fi
 
11228
else
 
11229
  STRIP="$ac_cv_prog_STRIP"
 
11230
fi
 
11231
 
 
11232
fi
 
11233
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
11234
 
 
11235
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
11236
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
11237
if test -z "$MKDIR_P"; then
 
11238
  if test "${ac_cv_path_mkdir+set}" = set; then
 
11239
  $as_echo_n "(cached) " >&6
 
11240
else
 
11241
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11242
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
11243
do
 
11244
  IFS=$as_save_IFS
 
11245
  test -z "$as_dir" && as_dir=.
 
11246
  for ac_prog in mkdir gmkdir; do
 
11247
         for ac_exec_ext in '' $ac_executable_extensions; do
 
11248
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
11249
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
11250
             'mkdir (GNU coreutils) '* | \
 
11251
             'mkdir (coreutils) '* | \
 
11252
             'mkdir (fileutils) '4.1*)
 
11253
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
11254
               break 3;;
 
11255
           esac
 
11256
         done
 
11257
       done
 
11258
done
 
11259
IFS=$as_save_IFS
 
11260
 
 
11261
fi
 
11262
 
 
11263
  if test "${ac_cv_path_mkdir+set}" = set; then
 
11264
    MKDIR_P="$ac_cv_path_mkdir -p"
 
11265
  else
 
11266
    # As a last resort, use the slow shell script.  Don't cache a
 
11267
    # value for MKDIR_P within a source directory, because that will
 
11268
    # break other packages using the cache if that directory is
 
11269
    # removed, or if the value is a relative name.
 
11270
    test -d ./--version && rmdir ./--version
 
11271
    MKDIR_P="$ac_install_sh -d"
 
11272
  fi
 
11273
fi
 
11274
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
11275
$as_echo "$MKDIR_P" >&6; }
 
11276
 
 
11277
mkdir_p="$MKDIR_P"
 
11278
case $mkdir_p in
 
11279
  [\\/$]* | ?:[\\/]*) ;;
 
11280
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
11281
esac
18573
11282
 
18574
11283
for ac_prog in gawk mawk nawk awk
18575
11284
do
18576
11285
  # Extract the first word of "$ac_prog", so it can be a program name with args.
18577
11286
set dummy $ac_prog; ac_word=$2
18578
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18579
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
11287
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11288
$as_echo_n "checking for $ac_word... " >&6; }
18580
11289
if test "${ac_cv_prog_AWK+set}" = set; then
18581
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11290
  $as_echo_n "(cached) " >&6
18582
11291
else
18583
11292
  if test -n "$AWK"; then
18584
11293
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
18589
11298
  IFS=$as_save_IFS
18590
11299
  test -z "$as_dir" && as_dir=.
18591
11300
  for ac_exec_ext in '' $ac_executable_extensions; do
18592
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11301
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18593
11302
    ac_cv_prog_AWK="$ac_prog"
18594
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11303
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18595
11304
    break 2
18596
11305
  fi
18597
11306
done
18598
11307
done
 
11308
IFS=$as_save_IFS
18599
11309
 
18600
11310
fi
18601
11311
fi
18602
11312
AWK=$ac_cv_prog_AWK
18603
11313
if test -n "$AWK"; then
18604
 
  echo "$as_me:$LINENO: result: $AWK" >&5
18605
 
echo "${ECHO_T}$AWK" >&6
 
11314
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
11315
$as_echo "$AWK" >&6; }
18606
11316
else
18607
 
  echo "$as_me:$LINENO: result: no" >&5
18608
 
echo "${ECHO_T}no" >&6
 
11317
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11318
$as_echo "no" >&6; }
18609
11319
fi
18610
11320
 
 
11321
 
18611
11322
  test -n "$AWK" && break
18612
11323
done
18613
11324
 
18614
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
18615
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
18616
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
18617
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
18618
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11325
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
11326
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
11327
set x ${MAKE-make}
 
11328
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
11329
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
11330
  $as_echo_n "(cached) " >&6
18619
11331
else
18620
11332
  cat >conftest.make <<\_ACEOF
 
11333
SHELL = /bin/sh
18621
11334
all:
18622
 
        @echo 'ac_maketemp="$(MAKE)"'
 
11335
        @echo '@@@%%%=$(MAKE)=@@@%%%'
18623
11336
_ACEOF
18624
11337
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18625
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
18626
 
if test -n "$ac_maketemp"; then
18627
 
  eval ac_cv_prog_make_${ac_make}_set=yes
18628
 
else
18629
 
  eval ac_cv_prog_make_${ac_make}_set=no
18630
 
fi
 
11338
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
11339
  *@@@%%%=?*=@@@%%%*)
 
11340
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
11341
  *)
 
11342
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
11343
esac
18631
11344
rm -f conftest.make
18632
11345
fi
18633
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
18634
 
  echo "$as_me:$LINENO: result: yes" >&5
18635
 
echo "${ECHO_T}yes" >&6
 
11346
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
11347
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11348
$as_echo "yes" >&6; }
18636
11349
  SET_MAKE=
18637
11350
else
18638
 
  echo "$as_me:$LINENO: result: no" >&5
18639
 
echo "${ECHO_T}no" >&6
 
11351
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11352
$as_echo "no" >&6; }
18640
11353
  SET_MAKE="MAKE=${MAKE-make}"
18641
11354
fi
18642
11355
 
18651
11364
 
18652
11365
DEPDIR="${am__leading_dot}deps"
18653
11366
 
18654
 
          ac_config_commands="$ac_config_commands depfiles"
 
11367
ac_config_commands="$ac_config_commands depfiles"
18655
11368
 
18656
11369
 
18657
11370
am_make=${MAKE-make}
18658
11371
cat > confinc << 'END'
18659
11372
am__doit:
18660
 
        @echo done
 
11373
        @echo this is the am__doit target
18661
11374
.PHONY: am__doit
18662
11375
END
18663
11376
# If we don't find an include directive, just comment out the code.
18664
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
18665
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
11377
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
11378
$as_echo_n "checking for style of include used by $am_make... " >&6; }
18666
11379
am__include="#"
18667
11380
am__quote=
18668
11381
_am_result=none
18669
11382
# First try GNU make style include.
18670
11383
echo "include confinc" > confmf
18671
 
# We grep out `Entering directory' and `Leaving directory'
18672
 
# messages which can occur if `w' ends up in MAKEFLAGS.
18673
 
# In particular we don't look at `^make:' because GNU make might
18674
 
# be invoked under some other name (usually "gmake"), in which
18675
 
# case it prints its new name instead of `make'.
18676
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
18677
 
   am__include=include
18678
 
   am__quote=
18679
 
   _am_result=GNU
18680
 
fi
 
11384
# Ignore all kinds of additional output from `make'.
 
11385
case `$am_make -s -f confmf 2> /dev/null` in #(
 
11386
*the\ am__doit\ target*)
 
11387
  am__include=include
 
11388
  am__quote=
 
11389
  _am_result=GNU
 
11390
  ;;
 
11391
esac
18681
11392
# Now try BSD make style include.
18682
11393
if test "$am__include" = "#"; then
18683
11394
   echo '.include "confinc"' > confmf
18684
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
18685
 
      am__include=.include
18686
 
      am__quote="\""
18687
 
      _am_result=BSD
18688
 
   fi
 
11395
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
11396
   *the\ am__doit\ target*)
 
11397
     am__include=.include
 
11398
     am__quote="\""
 
11399
     _am_result=BSD
 
11400
     ;;
 
11401
   esac
18689
11402
fi
18690
11403
 
18691
11404
 
18692
 
echo "$as_me:$LINENO: result: $_am_result" >&5
18693
 
echo "${ECHO_T}$_am_result" >&6
 
11405
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
11406
$as_echo "$_am_result" >&6; }
18694
11407
rm -f confinc confmf
18695
11408
 
18696
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
11409
# Check whether --enable-dependency-tracking was given.
18697
11410
if test "${enable_dependency_tracking+set}" = set; then
18698
 
  enableval="$enable_dependency_tracking"
 
11411
  enableval=$enable_dependency_tracking;
 
11412
fi
18699
11413
 
18700
 
fi;
18701
11414
if test "x$enable_dependency_tracking" != xno; then
18702
11415
  am_depcomp="$ac_aux_dir/depcomp"
18703
11416
  AMDEPBACKSLASH='\'
18704
11417
fi
18705
 
 
18706
 
 
18707
 
if test "x$enable_dependency_tracking" != xno; then
 
11418
 if test "x$enable_dependency_tracking" != xno; then
18708
11419
  AMDEP_TRUE=
18709
11420
  AMDEP_FALSE='#'
18710
11421
else
18713
11424
fi
18714
11425
 
18715
11426
 
18716
 
 
18717
 
# test to see if srcdir already configured
18718
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
18719
 
   test -f $srcdir/config.status; then
18720
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
18721
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
11427
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
11428
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
11429
  # is not polluted with repeated "-I."
 
11430
  am__isrc=' -I$(srcdir)'
 
11431
  # test to see if srcdir already configured
 
11432
  if test -f $srcdir/config.status; then
 
11433
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
11434
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
18722
11435
   { (exit 1); exit 1; }; }
 
11436
  fi
18723
11437
fi
18724
11438
 
18725
11439
# test whether we have cygpath
18762
11476
 
18763
11477
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
18764
11478
 
18765
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
18766
 
 
18767
 
# Installed binaries are usually stripped using `strip' when the user
18768
 
# run `make install-strip'.  However `strip' might not be the right
18769
 
# tool to use in cross-compilation environments, therefore Automake
18770
 
# will honor the `STRIP' environment variable to overrule this program.
18771
 
if test "$cross_compiling" != no; then
18772
 
  if test -n "$ac_tool_prefix"; then
18773
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
18774
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
18775
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18776
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18777
 
if test "${ac_cv_prog_STRIP+set}" = set; then
18778
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18779
 
else
18780
 
  if test -n "$STRIP"; then
18781
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
18782
 
else
18783
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18784
 
for as_dir in $PATH
18785
 
do
18786
 
  IFS=$as_save_IFS
18787
 
  test -z "$as_dir" && as_dir=.
18788
 
  for ac_exec_ext in '' $ac_executable_extensions; do
18789
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18790
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
18791
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18792
 
    break 2
18793
 
  fi
18794
 
done
18795
 
done
18796
 
 
18797
 
fi
18798
 
fi
18799
 
STRIP=$ac_cv_prog_STRIP
18800
 
if test -n "$STRIP"; then
18801
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
18802
 
echo "${ECHO_T}$STRIP" >&6
18803
 
else
18804
 
  echo "$as_me:$LINENO: result: no" >&5
18805
 
echo "${ECHO_T}no" >&6
18806
 
fi
18807
 
 
18808
 
fi
18809
 
if test -z "$ac_cv_prog_STRIP"; then
18810
 
  ac_ct_STRIP=$STRIP
18811
 
  # Extract the first word of "strip", so it can be a program name with args.
18812
 
set dummy strip; ac_word=$2
18813
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18814
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18815
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
18816
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18817
 
else
18818
 
  if test -n "$ac_ct_STRIP"; then
18819
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
18820
 
else
18821
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18822
 
for as_dir in $PATH
18823
 
do
18824
 
  IFS=$as_save_IFS
18825
 
  test -z "$as_dir" && as_dir=.
18826
 
  for ac_exec_ext in '' $ac_executable_extensions; do
18827
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18828
 
    ac_cv_prog_ac_ct_STRIP="strip"
18829
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18830
 
    break 2
18831
 
  fi
18832
 
done
18833
 
done
18834
 
 
18835
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
18836
 
fi
18837
 
fi
18838
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
18839
 
if test -n "$ac_ct_STRIP"; then
18840
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
18841
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
18842
 
else
18843
 
  echo "$as_me:$LINENO: result: no" >&5
18844
 
echo "${ECHO_T}no" >&6
18845
 
fi
18846
 
 
18847
 
  STRIP=$ac_ct_STRIP
18848
 
else
18849
 
  STRIP="$ac_cv_prog_STRIP"
18850
 
fi
18851
 
 
18852
 
fi
18853
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
18854
 
 
18855
11479
# We need awk for the "check" target.  The system "awk" is bad on
18856
11480
# some platforms.
18857
11481
# Always define AMTAR for backward compatibility.
18865
11489
 
18866
11490
depcc="$CC"   am_compiler_list=
18867
11491
 
18868
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
18869
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
11492
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
11493
$as_echo_n "checking dependency style of $depcc... " >&6; }
18870
11494
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
18871
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11495
  $as_echo_n "(cached) " >&6
18872
11496
else
18873
11497
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
18874
11498
  # We make a subdir and do the tests there.  Otherwise we can end up
18893
11517
  if test "$am_compiler_list" = ""; then
18894
11518
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
18895
11519
  fi
 
11520
  am__universal=false
 
11521
  case " $depcc " in #(
 
11522
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
11523
     esac
 
11524
 
18896
11525
  for depmode in $am_compiler_list; do
18897
11526
    # Setup a source with many dependencies, because some compilers
18898
11527
    # like to wrap large dependency lists on column 80 (with \), and
18910
11539
    done
18911
11540
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
18912
11541
 
 
11542
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
11543
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
11544
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
11545
    # versions had trouble with output in subdirs
 
11546
    am__obj=sub/conftest.${OBJEXT-o}
 
11547
    am__minus_obj="-o $am__obj"
18913
11548
    case $depmode in
 
11549
    gcc)
 
11550
      # This depmode causes a compiler race in universal mode.
 
11551
      test "$am__universal" = false || continue
 
11552
      ;;
18914
11553
    nosideeffect)
18915
11554
      # after this tag, mechanisms are not by side-effect, so they'll
18916
11555
      # only be used when explicitly requested
18920
11559
        break
18921
11560
      fi
18922
11561
      ;;
 
11562
    msvisualcpp | msvcmsys)
 
11563
      # This compiler won't grok `-c -o', but also, the minuso test has
 
11564
      # not run yet.  These depmodes are late enough in the game, and
 
11565
      # so weak that their functioning should not be impacted.
 
11566
      am__obj=conftest.${OBJEXT-o}
 
11567
      am__minus_obj=
 
11568
      ;;
18923
11569
    none) break ;;
18924
11570
    esac
18925
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
18926
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
18927
 
    # handle `-M -o', and we need to detect this.
18928
11571
    if depmode=$depmode \
18929
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
11572
       source=sub/conftest.c object=$am__obj \
18930
11573
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
18931
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
11574
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
18932
11575
         >/dev/null 2>conftest.err &&
 
11576
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
18933
11577
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
18934
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
11578
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
18935
11579
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
18936
11580
      # icc doesn't choke on unknown options, it will just issue warnings
18937
11581
      # or remarks (even with -Werror).  So we grep stderr for any message
18955
11599
fi
18956
11600
 
18957
11601
fi
18958
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
18959
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
11602
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
11603
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
18960
11604
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
18961
11605
 
18962
 
 
18963
 
 
18964
 
if
 
11606
 if
18965
11607
  test "x$enable_dependency_tracking" != xno \
18966
11608
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
18967
11609
  am__fastdepCC_TRUE=
18972
11614
fi
18973
11615
 
18974
11616
 
18975
 
depcc="$CXX"  am_compiler_list=
18976
 
 
18977
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
18978
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
18979
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
18980
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18981
 
else
18982
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
18983
 
  # We make a subdir and do the tests there.  Otherwise we can end up
18984
 
  # making bogus files that we don't know about and never remove.  For
18985
 
  # instance it was reported that on HP-UX the gcc test will end up
18986
 
  # making a dummy file named `D' -- because `-MD' means `put the output
18987
 
  # in D'.
18988
 
  mkdir conftest.dir
18989
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
18990
 
  # using a relative directory.
18991
 
  cp "$am_depcomp" conftest.dir
18992
 
  cd conftest.dir
18993
 
  # We will build objects and dependencies in a subdirectory because
18994
 
  # it helps to detect inapplicable dependency modes.  For instance
18995
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
18996
 
  # side effect of compilation, but ICC will put the dependencies in
18997
 
  # the current directory while Tru64 will put them in the object
18998
 
  # directory.
18999
 
  mkdir sub
19000
 
 
19001
 
  am_cv_CXX_dependencies_compiler_type=none
19002
 
  if test "$am_compiler_list" = ""; then
19003
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
19004
 
  fi
19005
 
  for depmode in $am_compiler_list; do
19006
 
    # Setup a source with many dependencies, because some compilers
19007
 
    # like to wrap large dependency lists on column 80 (with \), and
19008
 
    # we should not choose a depcomp mode which is confused by this.
19009
 
    #
19010
 
    # We need to recreate these files for each test, as the compiler may
19011
 
    # overwrite some of them when testing with obscure command lines.
19012
 
    # This happens at least with the AIX C compiler.
19013
 
    : > sub/conftest.c
19014
 
    for i in 1 2 3 4 5 6; do
19015
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
19016
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
19017
 
      # Solaris 8's {/usr,}/bin/sh.
19018
 
      touch sub/conftst$i.h
19019
 
    done
19020
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
19021
 
 
19022
 
    case $depmode in
19023
 
    nosideeffect)
19024
 
      # after this tag, mechanisms are not by side-effect, so they'll
19025
 
      # only be used when explicitly requested
19026
 
      if test "x$enable_dependency_tracking" = xyes; then
19027
 
        continue
19028
 
      else
19029
 
        break
19030
 
      fi
19031
 
      ;;
19032
 
    none) break ;;
19033
 
    esac
19034
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
19035
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
19036
 
    # handle `-M -o', and we need to detect this.
19037
 
    if depmode=$depmode \
19038
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
19039
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
19040
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
19041
 
         >/dev/null 2>conftest.err &&
19042
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
19043
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
19044
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
19045
 
      # icc doesn't choke on unknown options, it will just issue warnings
19046
 
      # or remarks (even with -Werror).  So we grep stderr for any message
19047
 
      # that says an option was ignored or not supported.
19048
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
19049
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
19050
 
      # The diagnosis changed in icc 8.0:
19051
 
      #   icc: Command line remark: option '-MP' not supported
19052
 
      if (grep 'ignoring option' conftest.err ||
19053
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
19054
 
        am_cv_CXX_dependencies_compiler_type=$depmode
19055
 
        break
19056
 
      fi
19057
 
    fi
19058
 
  done
19059
 
 
19060
 
  cd ..
19061
 
  rm -rf conftest.dir
19062
 
else
19063
 
  am_cv_CXX_dependencies_compiler_type=none
19064
 
fi
19065
 
 
19066
 
fi
19067
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
19068
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
19069
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
19070
 
 
19071
 
 
19072
 
 
19073
 
if
19074
 
  test "x$enable_dependency_tracking" != xno \
19075
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
19076
 
  am__fastdepCXX_TRUE=
19077
 
  am__fastdepCXX_FALSE='#'
19078
 
else
19079
 
  am__fastdepCXX_TRUE='#'
19080
 
  am__fastdepCXX_FALSE=
19081
 
fi
19082
 
 
19083
 
 
19084
 
 
19085
 
 
19086
 
 
19087
 
    # Check whether --enable-doxygen or --disable-doxygen was given.
 
11617
 
 
11618
 
 
11619
 
 
11620
    # Check whether --enable-doxygen was given.
19088
11621
if test "${enable_doxygen+set}" = set; then
19089
 
  enableval="$enable_doxygen"
19090
 
 
 
11622
  enableval=$enable_doxygen;
19091
11623
        if test "$enableval" = "yes"; then
19092
11624
        # Extract the first word of "doxygen", so it can be a program name with args.
19093
11625
set dummy doxygen; ac_word=$2
19094
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19095
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
11626
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11627
$as_echo_n "checking for $ac_word... " >&6; }
19096
11628
if test "${ac_cv_path_DOXYGEN+set}" = set; then
19097
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11629
  $as_echo_n "(cached) " >&6
19098
11630
else
19099
11631
  case $DOXYGEN in
19100
11632
  [\\/]* | ?:[\\/]*)
19107
11639
  IFS=$as_save_IFS
19108
11640
  test -z "$as_dir" && as_dir=.
19109
11641
  for ac_exec_ext in '' $ac_executable_extensions; do
19110
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11642
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19111
11643
    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
19112
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11644
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19113
11645
    break 2
19114
11646
  fi
19115
11647
done
19116
11648
done
 
11649
IFS=$as_save_IFS
19117
11650
 
19118
11651
  test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="
19119
 
            { { echo "$as_me:$LINENO: error: Doxygen installation not found" >&5
19120
 
echo "$as_me: error: Doxygen installation not found" >&2;}
 
11652
            { { $as_echo "$as_me:$LINENO: error: Doxygen installation not found" >&5
 
11653
$as_echo "$as_me: error: Doxygen installation not found" >&2;}
19121
11654
   { (exit 1); exit 1; }; }
19122
11655
            "
19123
11656
  ;;
19124
11657
esac
19125
11658
fi
19126
11659
DOXYGEN=$ac_cv_path_DOXYGEN
19127
 
 
19128
11660
if test -n "$DOXYGEN"; then
19129
 
  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
19130
 
echo "${ECHO_T}$DOXYGEN" >&6
 
11661
  { $as_echo "$as_me:$LINENO: result: $DOXYGEN" >&5
 
11662
$as_echo "$DOXYGEN" >&6; }
19131
11663
else
19132
 
  echo "$as_me:$LINENO: result: no" >&5
19133
 
echo "${ECHO_T}no" >&6
 
11664
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11665
$as_echo "no" >&6; }
19134
11666
fi
19135
11667
 
 
11668
 
19136
11669
        else
19137
11670
        DOXYGEN="$enableval"
19138
11671
 
19143
11676
        DOXYGEN=""
19144
11677
 
19145
11678
 
19146
 
fi;
19147
 
 
19148
 
 
19149
 
    # Check whether --enable-internal-doc or --disable-internal-doc was given.
 
11679
fi
 
11680
 
 
11681
 
 
11682
 
 
11683
    # Check whether --enable-internal-doc was given.
19150
11684
if test "${enable_internal_doc+set}" = set; then
19151
 
  enableval="$enable_internal_doc"
19152
 
 
 
11685
  enableval=$enable_internal_doc;
19153
11686
    DOXYFILE="Doxyfile-internal"
19154
11687
 
19155
11688
 
19158
11691
    DOXYFILE="Doxyfile"
19159
11692
 
19160
11693
 
19161
 
fi;
 
11694
fi
 
11695
 
19162
11696
 
19163
11697
 
19164
11698
    if test -n "$DOXYGEN" ; then
19165
11699
    # Extract the first word of "dot", so it can be a program name with args.
19166
11700
set dummy dot; ac_word=$2
19167
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19168
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
11701
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11702
$as_echo_n "checking for $ac_word... " >&6; }
19169
11703
if test "${ac_cv_path_DOT+set}" = set; then
19170
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11704
  $as_echo_n "(cached) " >&6
19171
11705
else
19172
11706
  case $DOT in
19173
11707
  [\\/]* | ?:[\\/]*)
19180
11714
  IFS=$as_save_IFS
19181
11715
  test -z "$as_dir" && as_dir=.
19182
11716
  for ac_exec_ext in '' $ac_executable_extensions; do
19183
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11717
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19184
11718
    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
19185
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11719
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19186
11720
    break 2
19187
11721
  fi
19188
11722
done
19189
11723
done
 
11724
IFS=$as_save_IFS
19190
11725
 
19191
11726
  ;;
19192
11727
esac
19193
11728
fi
19194
11729
DOT=$ac_cv_path_DOT
19195
 
 
19196
11730
if test -n "$DOT"; then
19197
 
  echo "$as_me:$LINENO: result: $DOT" >&5
19198
 
echo "${ECHO_T}$DOT" >&6
 
11731
  { $as_echo "$as_me:$LINENO: result: $DOT" >&5
 
11732
$as_echo "$DOT" >&6; }
19199
11733
else
19200
 
  echo "$as_me:$LINENO: result: no" >&5
19201
 
echo "${ECHO_T}no" >&6
 
11734
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11735
$as_echo "no" >&6; }
19202
11736
fi
19203
11737
 
19204
11738
 
 
11739
 
19205
11740
    if test -z "$GLOBUS_SH_PERL" ; then
19206
11741
        # Extract the first word of "perl", so it can be a program name with args.
19207
11742
set dummy perl; ac_word=$2
19208
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19209
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
11743
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11744
$as_echo_n "checking for $ac_word... " >&6; }
19210
11745
if test "${ac_cv_path_PERL+set}" = set; then
19211
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11746
  $as_echo_n "(cached) " >&6
19212
11747
else
19213
11748
  case $PERL in
19214
11749
  [\\/]* | ?:[\\/]*)
19221
11756
  IFS=$as_save_IFS
19222
11757
  test -z "$as_dir" && as_dir=.
19223
11758
  for ac_exec_ext in '' $ac_executable_extensions; do
19224
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11759
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19225
11760
    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
19226
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11761
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19227
11762
    break 2
19228
11763
  fi
19229
11764
done
19230
11765
done
 
11766
IFS=$as_save_IFS
19231
11767
 
19232
11768
  ;;
19233
11769
esac
19234
11770
fi
19235
11771
PERL=$ac_cv_path_PERL
19236
 
 
19237
11772
if test -n "$PERL"; then
19238
 
  echo "$as_me:$LINENO: result: $PERL" >&5
19239
 
echo "${ECHO_T}$PERL" >&6
 
11773
  { $as_echo "$as_me:$LINENO: result: $PERL" >&5
 
11774
$as_echo "$PERL" >&6; }
19240
11775
else
19241
 
  echo "$as_me:$LINENO: result: no" >&5
19242
 
echo "${ECHO_T}no" >&6
 
11776
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11777
$as_echo "no" >&6; }
19243
11778
fi
19244
11779
 
 
11780
 
19245
11781
    else
19246
11782
        PERL="$GLOBUS_SH_PERL"
19247
11783
 
19286
11822
 
19287
11823
    fi
19288
11824
 
19289
 
    echo "$as_me:$LINENO: checking documentation dependencies" >&5
19290
 
echo $ECHO_N "checking documentation dependencies... $ECHO_C" >&6
 
11825
    { $as_echo "$as_me:$LINENO: checking documentation dependencies" >&5
 
11826
$as_echo_n "checking documentation dependencies... " >&6; }
19291
11827
 
19292
11828
    tagfiles="`$lac_dep_check -src $srcdir/pkgdata/pkg_data_src.gpt.in 2>/dev/null`"
19293
11829
    if test "$?" != "0"; then
19294
 
        echo "$as_me:$LINENO: result: failed" >&5
19295
 
echo "${ECHO_T}failed" >&6
19296
 
        { { echo "$as_me:$LINENO: error: Documentation dependencies could not be satisfied." >&5
19297
 
echo "$as_me: error: Documentation dependencies could not be satisfied." >&2;}
 
11830
        { $as_echo "$as_me:$LINENO: result: failed" >&5
 
11831
$as_echo "failed" >&6; }
 
11832
        { { $as_echo "$as_me:$LINENO: error: Documentation dependencies could not be satisfied." >&5
 
11833
$as_echo "$as_me: error: Documentation dependencies could not be satisfied." >&2;}
19298
11834
   { (exit 1); exit 1; }; }
19299
11835
    else
19300
 
        echo "$as_me:$LINENO: result: ok" >&5
19301
 
echo "${ECHO_T}ok" >&6
 
11836
        { $as_echo "$as_me:$LINENO: result: ok" >&5
 
11837
$as_echo "ok" >&6; }
19302
11838
    fi
19303
11839
 
19304
11840
 
19327
11863
 
19328
11864
# Extract the first word of "mpiexec", so it can be a program name with args.
19329
11865
set dummy mpiexec; ac_word=$2
19330
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19331
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
11866
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11867
$as_echo_n "checking for $ac_word... " >&6; }
19332
11868
if test "${ac_cv_path_MPIEXEC+set}" = set; then
19333
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11869
  $as_echo_n "(cached) " >&6
19334
11870
else
19335
11871
  case $MPIEXEC in
19336
11872
  [\\/]* | ?:[\\/]*)
19343
11879
  IFS=$as_save_IFS
19344
11880
  test -z "$as_dir" && as_dir=.
19345
11881
  for ac_exec_ext in '' $ac_executable_extensions; do
19346
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11882
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19347
11883
    ac_cv_path_MPIEXEC="$as_dir/$ac_word$ac_exec_ext"
19348
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11884
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19349
11885
    break 2
19350
11886
  fi
19351
11887
done
19352
11888
done
 
11889
IFS=$as_save_IFS
19353
11890
 
19354
11891
  test -z "$ac_cv_path_MPIEXEC" && ac_cv_path_MPIEXEC="no"
19355
11892
  ;;
19356
11893
esac
19357
11894
fi
19358
11895
MPIEXEC=$ac_cv_path_MPIEXEC
19359
 
 
19360
11896
if test -n "$MPIEXEC"; then
19361
 
  echo "$as_me:$LINENO: result: $MPIEXEC" >&5
19362
 
echo "${ECHO_T}$MPIEXEC" >&6
 
11897
  { $as_echo "$as_me:$LINENO: result: $MPIEXEC" >&5
 
11898
$as_echo "$MPIEXEC" >&6; }
19363
11899
else
19364
 
  echo "$as_me:$LINENO: result: no" >&5
19365
 
echo "${ECHO_T}no" >&6
 
11900
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11901
$as_echo "no" >&6; }
19366
11902
fi
19367
11903
 
 
11904
 
19368
11905
if test "$MPIEXEC" = "no" ; then
19369
 
    { echo "$as_me:$LINENO: WARNING: Cannot locate mpiexec" >&5
19370
 
echo "$as_me: WARNING: Cannot locate mpiexec" >&2;}
 
11906
    { $as_echo "$as_me:$LINENO: WARNING: Cannot locate mpiexec" >&5
 
11907
$as_echo "$as_me: WARNING: Cannot locate mpiexec" >&2;}
19371
11908
fi
19372
11909
 
19373
11910
# Extract the first word of "mpirun", so it can be a program name with args.
19374
11911
set dummy mpirun; ac_word=$2
19375
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19376
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
11912
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11913
$as_echo_n "checking for $ac_word... " >&6; }
19377
11914
if test "${ac_cv_path_MPIRUN+set}" = set; then
19378
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11915
  $as_echo_n "(cached) " >&6
19379
11916
else
19380
11917
  case $MPIRUN in
19381
11918
  [\\/]* | ?:[\\/]*)
19388
11925
  IFS=$as_save_IFS
19389
11926
  test -z "$as_dir" && as_dir=.
19390
11927
  for ac_exec_ext in '' $ac_executable_extensions; do
19391
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11928
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19392
11929
    ac_cv_path_MPIRUN="$as_dir/$ac_word$ac_exec_ext"
19393
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11930
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19394
11931
    break 2
19395
11932
  fi
19396
11933
done
19397
11934
done
 
11935
IFS=$as_save_IFS
19398
11936
 
19399
11937
  test -z "$ac_cv_path_MPIRUN" && ac_cv_path_MPIRUN="no"
19400
11938
  ;;
19401
11939
esac
19402
11940
fi
19403
11941
MPIRUN=$ac_cv_path_MPIRUN
19404
 
 
19405
11942
if test -n "$MPIRUN"; then
19406
 
  echo "$as_me:$LINENO: result: $MPIRUN" >&5
19407
 
echo "${ECHO_T}$MPIRUN" >&6
 
11943
  { $as_echo "$as_me:$LINENO: result: $MPIRUN" >&5
 
11944
$as_echo "$MPIRUN" >&6; }
19408
11945
else
19409
 
  echo "$as_me:$LINENO: result: no" >&5
19410
 
echo "${ECHO_T}no" >&6
 
11946
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11947
$as_echo "no" >&6; }
19411
11948
fi
19412
11949
 
 
11950
 
19413
11951
if test "$MPIRUN" = "no" ; then
19414
 
    { echo "$as_me:$LINENO: WARNING: Cannot locate mpirun" >&5
19415
 
echo "$as_me: WARNING: Cannot locate mpirun" >&2;}
 
11952
    { $as_echo "$as_me:$LINENO: WARNING: Cannot locate mpirun" >&5
 
11953
$as_echo "$as_me: WARNING: Cannot locate mpirun" >&2;}
19416
11954
fi
19417
11955
 
19418
11956
# SoftEnv installation directory
19419
11957
 
19420
 
# Check whether --with-softenv-dir or --without-softenv-dir was given.
 
11958
# Check whether --with-softenv-dir was given.
19421
11959
if test "${with_softenv_dir+set}" = set; then
19422
 
  withval="$with_softenv_dir"
19423
 
  SOFTENV_DIR=$withval
 
11960
  withval=$with_softenv_dir; SOFTENV_DIR=$withval
19424
11961
else
19425
11962
  SOFTENV_DIR=''
19426
 
fi;
 
11963
fi
 
11964
 
19427
11965
 
19428
11966
 
19429
11967
 
19430
11968
xml_catalog_path="notset"
19431
11969
 
19432
 
# Check whether --with-xml-catalog or --without-xml-catalog was given.
 
11970
# Check whether --with-xml-catalog was given.
19433
11971
if test "${with_xml_catalog+set}" = set; then
19434
 
  withval="$with_xml_catalog"
19435
 
  xml_catalog_path="$withval"
 
11972
  withval=$with_xml_catalog; xml_catalog_path="$withval"
19436
11973
else
19437
11974
  xml_catalog_path="notset"
19438
 
fi;
 
11975
fi
 
11976
 
19439
11977
 
19440
11978
# Extract the first word of ""xsltproc"", so it can be a program name with args.
19441
11979
set dummy "xsltproc"; ac_word=$2
19442
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19443
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
11980
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11981
$as_echo_n "checking for $ac_word... " >&6; }
19444
11982
if test "${ac_cv_path_XSLTPROC+set}" = set; then
19445
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11983
  $as_echo_n "(cached) " >&6
19446
11984
else
19447
11985
  case $XSLTPROC in
19448
11986
  [\\/]* | ?:[\\/]*)
19455
11993
  IFS=$as_save_IFS
19456
11994
  test -z "$as_dir" && as_dir=.
19457
11995
  for ac_exec_ext in '' $ac_executable_extensions; do
19458
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11996
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19459
11997
    ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
19460
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11998
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19461
11999
    break 2
19462
12000
  fi
19463
12001
done
19464
12002
done
 
12003
IFS=$as_save_IFS
19465
12004
 
19466
12005
  ;;
19467
12006
esac
19468
12007
fi
19469
12008
XSLTPROC=$ac_cv_path_XSLTPROC
19470
 
 
19471
12009
if test -n "$XSLTPROC"; then
19472
 
  echo "$as_me:$LINENO: result: $XSLTPROC" >&5
19473
 
echo "${ECHO_T}$XSLTPROC" >&6
 
12010
  { $as_echo "$as_me:$LINENO: result: $XSLTPROC" >&5
 
12011
$as_echo "$XSLTPROC" >&6; }
19474
12012
else
19475
 
  echo "$as_me:$LINENO: result: no" >&5
19476
 
echo "${ECHO_T}no" >&6
 
12013
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12014
$as_echo "no" >&6; }
19477
12015
fi
19478
12016
 
 
12017
 
19479
12018
# Extract the first word of ""xmllint"", so it can be a program name with args.
19480
12019
set dummy "xmllint"; ac_word=$2
19481
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19482
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
12020
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12021
$as_echo_n "checking for $ac_word... " >&6; }
19483
12022
if test "${ac_cv_path_XMLLINT+set}" = set; then
19484
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12023
  $as_echo_n "(cached) " >&6
19485
12024
else
19486
12025
  case $XMLLINT in
19487
12026
  [\\/]* | ?:[\\/]*)
19494
12033
  IFS=$as_save_IFS
19495
12034
  test -z "$as_dir" && as_dir=.
19496
12035
  for ac_exec_ext in '' $ac_executable_extensions; do
19497
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12036
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19498
12037
    ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
19499
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12038
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19500
12039
    break 2
19501
12040
  fi
19502
12041
done
19503
12042
done
 
12043
IFS=$as_save_IFS
19504
12044
 
19505
12045
  ;;
19506
12046
esac
19507
12047
fi
19508
12048
XMLLINT=$ac_cv_path_XMLLINT
19509
 
 
19510
12049
if test -n "$XMLLINT"; then
19511
 
  echo "$as_me:$LINENO: result: $XMLLINT" >&5
19512
 
echo "${ECHO_T}$XMLLINT" >&6
 
12050
  { $as_echo "$as_me:$LINENO: result: $XMLLINT" >&5
 
12051
$as_echo "$XMLLINT" >&6; }
19513
12052
else
19514
 
  echo "$as_me:$LINENO: result: no" >&5
19515
 
echo "${ECHO_T}no" >&6
 
12053
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12054
$as_echo "no" >&6; }
19516
12055
fi
19517
12056
 
19518
12057
 
 
12058
 
19519
12059
if test "x$xml_catalog_path" != x"notset"; then
19520
12060
    if test ! -f "$xml_catalog_path"; then
19521
 
        { { echo "$as_me:$LINENO: error: Invalid XML catalog path" >&5
19522
 
echo "$as_me: error: Invalid XML catalog path" >&2;}
 
12061
        { { $as_echo "$as_me:$LINENO: error: Invalid XML catalog path" >&5
 
12062
$as_echo "$as_me: error: Invalid XML catalog path" >&2;}
19523
12063
   { (exit 1); exit 1; }; }
19524
12064
    else
19525
12065
        XML_CATALOG_PATH=$xml_catalog_path
19528
12068
fi
19529
12069
 
19530
12070
 
19531
 
# Check whether --with-globus-state-dir or --without-globus-state-dir was given.
 
12071
# Check whether --with-globus-state-dir was given.
19532
12072
if test "${with_globus_state_dir+set}" = set; then
19533
 
  withval="$with_globus_state_dir"
19534
 
  globusstatedir="$withval"
 
12073
  withval=$with_globus_state_dir; globusstatedir="$withval"
19535
12074
else
19536
12075
  globusstatedir=$localstatedir
19537
 
fi;
19538
 
 
19539
 
 
19540
 
 
19541
 
 
19542
 
# Check whether --with-seg or --without-seg was given.
 
12076
fi
 
12077
 
 
12078
 
 
12079
# GRAM-333: SEG config in installer has variables that aren't resolved at
 
12080
# runtime
 
12081
globusstatedir="`eval echo $globusstatedir`"
 
12082
 
 
12083
 
 
12084
 
 
12085
# Check whether --with-seg was given.
19543
12086
if test "${with_seg+set}" = set; then
19544
 
  withval="$with_seg"
19545
 
  SEG_ENABLED="$withval"
 
12087
  withval=$with_seg; SEG_ENABLED="$withval"
19546
12088
else
19547
12089
  SEG_ENABLED="no"
19548
 
fi;
 
12090
fi
 
12091
 
19549
12092
case "$SEG_ENABLED" in
19550
12093
        yes)
19551
12094
            SEG_CLAUSE="-seg-module fork"
19554
12097
            SEG_CLAUSE=""
19555
12098
            ;;
19556
12099
        *)
19557
 
            { { echo "$as_me:$LINENO: error: Invalid argument to --with-seg" >&5
19558
 
echo "$as_me: error: Invalid argument to --with-seg" >&2;}
 
12100
            { { $as_echo "$as_me:$LINENO: error: Invalid argument to --with-seg" >&5
 
12101
$as_echo "$as_me: error: Invalid argument to --with-seg" >&2;}
19559
12102
   { (exit 1); exit 1; }; }
19560
12103
            ;;
19561
12104
esac
19562
12105
 
19563
12106
 
19564
12107
 
19565
 
 
19566
 
 
19567
 
if test "$SEG_ENABLED" = "yes"; then
 
12108
 if test "$SEG_ENABLED" = "yes"; then
19568
12109
  SEG_ENABLED_COND_TRUE=
19569
12110
  SEG_ENABLED_COND_FALSE='#'
19570
12111
else
19574
12115
 
19575
12116
 
19576
12117
 
19577
 
 
19578
 
 
19579
 
if test "$xml_catalog_path" != "notset"; then
 
12118
 if test "$xml_catalog_path" != "notset"; then
19580
12119
  GENERATE_MANPAGES_TRUE=
19581
12120
  GENERATE_MANPAGES_FALSE='#'
19582
12121
else
19588
12127
 
19589
12128
 
19590
12129
 
19591
 
                                                                                                                        ac_config_files="$ac_config_files Makefile globus-fork.conf jobmanager-fork-poll jobmanager-fork-seg starter/Makefile seg/Makefile pkgdata/Makefile pkgdata/pkg_data_src.gpt doxygen/Doxyfile doxygen/Doxyfile-internal doxygen/Makefile version.h"
 
12130
ac_config_files="$ac_config_files Makefile globus-fork.conf starter/Makefile seg/Makefile pkgdata/Makefile pkgdata/pkg_data_src.gpt doxygen/Doxyfile doxygen/Doxyfile-internal doxygen/Makefile version.h"
 
12131
 
19592
12132
cat >confcache <<\_ACEOF
19593
12133
# This file is a shell script that caches the results of configure
19594
12134
# tests run on this system so they can be shared between configure
19607
12147
 
19608
12148
# The following way of writing the cache mishandles newlines in values,
19609
12149
# but we know of no workaround that is simple, portable, and efficient.
19610
 
# So, don't put newlines in cache variables' values.
 
12150
# So, we kill variables containing newlines.
19611
12151
# Ultrix sh set writes to stderr and can't be redirected directly,
19612
12152
# and sets the high bit in the cache file unless we assign to the vars.
19613
 
{
 
12153
(
 
12154
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
12155
    eval ac_val=\$$ac_var
 
12156
    case $ac_val in #(
 
12157
    *${as_nl}*)
 
12158
      case $ac_var in #(
 
12159
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
12160
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
12161
      esac
 
12162
      case $ac_var in #(
 
12163
      _ | IFS | as_nl) ;; #(
 
12164
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
12165
      *) $as_unset $ac_var ;;
 
12166
      esac ;;
 
12167
    esac
 
12168
  done
 
12169
 
19614
12170
  (set) 2>&1 |
19615
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
19616
 
    *ac_space=\ *)
 
12171
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
12172
    *${as_nl}ac_space=\ *)
19617
12173
      # `set' does not quote correctly, so add quotes (double-quote
19618
12174
      # substitution turns \\\\ into \\, and sed turns \\ into \).
19619
12175
      sed -n \
19620
12176
        "s/'/'\\\\''/g;
19621
12177
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19622
 
      ;;
 
12178
      ;; #(
19623
12179
    *)
19624
12180
      # `set' quotes correctly as required by POSIX, so do not add quotes.
19625
 
      sed -n \
19626
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
12181
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19627
12182
      ;;
19628
 
    esac;
19629
 
} |
 
12183
    esac |
 
12184
    sort
 
12185
) |
19630
12186
  sed '
 
12187
     /^ac_cv_env_/b end
19631
12188
     t clear
19632
 
     : clear
 
12189
     :clear
19633
12190
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19634
12191
     t end
19635
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19636
 
     : end' >>confcache
19637
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
19638
 
  if test -w $cache_file; then
19639
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
12192
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
12193
     :end' >>confcache
 
12194
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
12195
  if test -w "$cache_file"; then
 
12196
    test "x$cache_file" != "x/dev/null" &&
 
12197
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
12198
$as_echo "$as_me: updating cache $cache_file" >&6;}
19640
12199
    cat confcache >$cache_file
19641
12200
  else
19642
 
    echo "not updating unwritable cache $cache_file"
 
12201
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
12202
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19643
12203
  fi
19644
12204
fi
19645
12205
rm -f confcache
19648
12208
# Let make expand exec_prefix.
19649
12209
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19650
12210
 
19651
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
19652
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19653
 
# trailing colons and then remove the whole line if VPATH becomes empty
19654
 
# (actually we leave an empty line to preserve line numbers).
19655
 
if test "x$srcdir" = x.; then
19656
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
19657
 
s/:*\$(srcdir):*/:/;
19658
 
s/:*\${srcdir}:*/:/;
19659
 
s/:*@srcdir@:*/:/;
19660
 
s/^\([^=]*=[     ]*\):*/\1/;
19661
 
s/:*$//;
19662
 
s/^[^=]*=[       ]*$//;
19663
 
}'
19664
 
fi
19665
 
 
19666
12211
# Transform confdefs.h into DEFS.
19667
12212
# Protect against shell expansion while executing Makefile rules.
19668
12213
# Protect against Makefile macro expansion.
19669
12214
#
19670
12215
# If the first sed substitution is executed (which looks for macros that
19671
 
# take arguments), then we branch to the quote section.  Otherwise,
 
12216
# take arguments), then branch to the quote section.  Otherwise,
19672
12217
# look for a macro that doesn't take arguments.
19673
 
cat >confdef2opt.sed <<\_ACEOF
 
12218
ac_script='
 
12219
:mline
 
12220
/\\$/{
 
12221
 N
 
12222
 s,\\\n,,
 
12223
 b mline
 
12224
}
19674
12225
t clear
19675
 
: clear
19676
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
19677
 
t quote
19678
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
19679
 
t quote
19680
 
d
19681
 
: quote
19682
 
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
19683
 
s,\[,\\&,g
19684
 
s,\],\\&,g
19685
 
s,\$,$$,g
19686
 
p
19687
 
_ACEOF
19688
 
# We use echo to avoid assuming a particular line-breaking character.
19689
 
# The extra dot is to prevent the shell from consuming trailing
19690
 
# line-breaks from the sub-command output.  A line-break within
19691
 
# single-quotes doesn't work because, if this script is created in a
19692
 
# platform that uses two characters for line-breaks (e.g., DOS), tr
19693
 
# would break.
19694
 
ac_LF_and_DOT=`echo; echo .`
19695
 
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
19696
 
rm -f confdef2opt.sed
 
12226
:clear
 
12227
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
 
12228
t quote
 
12229
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
 
12230
t quote
 
12231
b any
 
12232
:quote
 
12233
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
 
12234
s/\[/\\&/g
 
12235
s/\]/\\&/g
 
12236
s/\$/$$/g
 
12237
H
 
12238
:any
 
12239
${
 
12240
        g
 
12241
        s/^\n//
 
12242
        s/\n/ /g
 
12243
        p
 
12244
}
 
12245
'
 
12246
DEFS=`sed -n "$ac_script" confdefs.h`
19697
12247
 
19698
12248
 
19699
12249
ac_libobjs=
19700
12250
ac_ltlibobjs=
19701
12251
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19702
12252
  # 1. Remove the extension, and $U if already installed.
19703
 
  ac_i=`echo "$ac_i" |
19704
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19705
 
  # 2. Add them.
19706
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
19707
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
12253
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
12254
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
12255
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
12256
  #    will be set to the directory where LIBOBJS objects are built.
 
12257
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
12258
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
19708
12259
done
19709
12260
LIBOBJS=$ac_libobjs
19710
12261
 
19712
12263
 
19713
12264
 
19714
12265
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19715
 
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 
12266
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
19716
12267
Usually this means the macro was only invoked conditionally." >&5
19717
 
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 
12268
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
19718
12269
Usually this means the macro was only invoked conditionally." >&2;}
19719
12270
   { (exit 1); exit 1; }; }
19720
12271
fi
19721
12272
if test -z "${WITHOUT_FLAVORS_TRUE}" && test -z "${WITHOUT_FLAVORS_FALSE}"; then
19722
 
  { { echo "$as_me:$LINENO: error: conditional \"WITHOUT_FLAVORS\" was never defined.
 
12273
  { { $as_echo "$as_me:$LINENO: error: conditional \"WITHOUT_FLAVORS\" was never defined.
19723
12274
Usually this means the macro was only invoked conditionally." >&5
19724
 
echo "$as_me: error: conditional \"WITHOUT_FLAVORS\" was never defined.
 
12275
$as_echo "$as_me: error: conditional \"WITHOUT_FLAVORS\" was never defined.
19725
12276
Usually this means the macro was only invoked conditionally." >&2;}
19726
12277
   { (exit 1); exit 1; }; }
19727
12278
fi
19728
12279
if test -z "${ENABLE_PROGRAMS_TRUE}" && test -z "${ENABLE_PROGRAMS_FALSE}"; then
19729
 
  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PROGRAMS\" was never defined.
 
12280
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_PROGRAMS\" was never defined.
19730
12281
Usually this means the macro was only invoked conditionally." >&5
19731
 
echo "$as_me: error: conditional \"ENABLE_PROGRAMS\" was never defined.
 
12282
$as_echo "$as_me: error: conditional \"ENABLE_PROGRAMS\" was never defined.
19732
12283
Usually this means the macro was only invoked conditionally." >&2;}
19733
12284
   { (exit 1); exit 1; }; }
19734
12285
fi
19735
12286
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19736
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
12287
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19737
12288
Usually this means the macro was only invoked conditionally." >&5
19738
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
12289
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
19739
12290
Usually this means the macro was only invoked conditionally." >&2;}
19740
12291
   { (exit 1); exit 1; }; }
19741
12292
fi
19742
12293
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19743
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19744
 
Usually this means the macro was only invoked conditionally." >&5
19745
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19746
 
Usually this means the macro was only invoked conditionally." >&2;}
19747
 
   { (exit 1); exit 1; }; }
19748
 
fi
19749
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19750
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19751
 
Usually this means the macro was only invoked conditionally." >&5
19752
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19753
 
Usually this means the macro was only invoked conditionally." >&2;}
19754
 
   { (exit 1); exit 1; }; }
19755
 
fi
 
12294
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
12295
Usually this means the macro was only invoked conditionally." >&5
 
12296
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
12297
Usually this means the macro was only invoked conditionally." >&2;}
 
12298
   { (exit 1); exit 1; }; }
 
12299
fi
 
12300
 if test -n "$EXEEXT"; then
 
12301
  am__EXEEXT_TRUE=
 
12302
  am__EXEEXT_FALSE='#'
 
12303
else
 
12304
  am__EXEEXT_TRUE='#'
 
12305
  am__EXEEXT_FALSE=
 
12306
fi
 
12307
 
19756
12308
if test -z "${SEG_ENABLED_COND_TRUE}" && test -z "${SEG_ENABLED_COND_FALSE}"; then
19757
 
  { { echo "$as_me:$LINENO: error: conditional \"SEG_ENABLED_COND\" was never defined.
 
12309
  { { $as_echo "$as_me:$LINENO: error: conditional \"SEG_ENABLED_COND\" was never defined.
19758
12310
Usually this means the macro was only invoked conditionally." >&5
19759
 
echo "$as_me: error: conditional \"SEG_ENABLED_COND\" was never defined.
 
12311
$as_echo "$as_me: error: conditional \"SEG_ENABLED_COND\" was never defined.
19760
12312
Usually this means the macro was only invoked conditionally." >&2;}
19761
12313
   { (exit 1); exit 1; }; }
19762
12314
fi
19763
12315
if test -z "${GENERATE_MANPAGES_TRUE}" && test -z "${GENERATE_MANPAGES_FALSE}"; then
19764
 
  { { echo "$as_me:$LINENO: error: conditional \"GENERATE_MANPAGES\" was never defined.
 
12316
  { { $as_echo "$as_me:$LINENO: error: conditional \"GENERATE_MANPAGES\" was never defined.
19765
12317
Usually this means the macro was only invoked conditionally." >&5
19766
 
echo "$as_me: error: conditional \"GENERATE_MANPAGES\" was never defined.
 
12318
$as_echo "$as_me: error: conditional \"GENERATE_MANPAGES\" was never defined.
19767
12319
Usually this means the macro was only invoked conditionally." >&2;}
19768
12320
   { (exit 1); exit 1; }; }
19769
12321
fi
19770
12322
 
19771
12323
: ${CONFIG_STATUS=./config.status}
 
12324
ac_write_fail=0
19772
12325
ac_clean_files_save=$ac_clean_files
19773
12326
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19774
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19775
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
19776
 
cat >$CONFIG_STATUS <<_ACEOF
 
12327
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
12328
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
12329
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19777
12330
#! $SHELL
19778
12331
# Generated by $as_me.
19779
12332
# Run this file to recreate the current configuration.
19786
12339
SHELL=\${CONFIG_SHELL-$SHELL}
19787
12340
_ACEOF
19788
12341
 
19789
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
12342
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19790
12343
## --------------------- ##
19791
12344
## M4sh Initialization.  ##
19792
12345
## --------------------- ##
19793
12346
 
19794
 
# Be Bourne compatible
 
12347
# Be more Bourne compatible
 
12348
DUALCASE=1; export DUALCASE # for MKS sh
19795
12349
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19796
12350
  emulate sh
19797
12351
  NULLCMD=:
19798
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
12352
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19799
12353
  # is contrary to our usage.  Disable this feature.
19800
12354
  alias -g '${1+"$@"}'='"$@"'
19801
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
19802
 
  set -o posix
19803
 
fi
19804
 
DUALCASE=1; export DUALCASE # for MKS sh
 
12355
  setopt NO_GLOB_SUBST
 
12356
else
 
12357
  case `(set -o) 2>/dev/null` in
 
12358
  *posix*) set -o posix ;;
 
12359
esac
 
12360
 
 
12361
fi
 
12362
 
 
12363
 
 
12364
 
 
12365
 
 
12366
# PATH needs CR
 
12367
# Avoid depending upon Character Ranges.
 
12368
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
12369
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
12370
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
12371
as_cr_digits='0123456789'
 
12372
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
12373
 
 
12374
as_nl='
 
12375
'
 
12376
export as_nl
 
12377
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
12378
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
12379
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
12380
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
12381
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
12382
  as_echo='printf %s\n'
 
12383
  as_echo_n='printf %s'
 
12384
else
 
12385
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
12386
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
12387
    as_echo_n='/usr/ucb/echo -n'
 
12388
  else
 
12389
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
12390
    as_echo_n_body='eval
 
12391
      arg=$1;
 
12392
      case $arg in
 
12393
      *"$as_nl"*)
 
12394
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
12395
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
12396
      esac;
 
12397
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
12398
    '
 
12399
    export as_echo_n_body
 
12400
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
12401
  fi
 
12402
  export as_echo_body
 
12403
  as_echo='sh -c $as_echo_body as_echo'
 
12404
fi
 
12405
 
 
12406
# The user is always right.
 
12407
if test "${PATH_SEPARATOR+set}" != set; then
 
12408
  PATH_SEPARATOR=:
 
12409
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
12410
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
12411
      PATH_SEPARATOR=';'
 
12412
  }
 
12413
fi
19805
12414
 
19806
12415
# Support unset when possible.
19807
12416
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
19811
12420
fi
19812
12421
 
19813
12422
 
 
12423
# IFS
 
12424
# We need space, tab and new line, in precisely that order.  Quoting is
 
12425
# there to prevent editors from complaining about space-tab.
 
12426
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
12427
# splitting by setting IFS to empty value.)
 
12428
IFS=" ""        $as_nl"
 
12429
 
 
12430
# Find who we are.  Look in the path if we contain no directory separator.
 
12431
case $0 in
 
12432
  *[\\/]* ) as_myself=$0 ;;
 
12433
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12434
for as_dir in $PATH
 
12435
do
 
12436
  IFS=$as_save_IFS
 
12437
  test -z "$as_dir" && as_dir=.
 
12438
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
12439
done
 
12440
IFS=$as_save_IFS
 
12441
 
 
12442
     ;;
 
12443
esac
 
12444
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
12445
# in which case we are not to be found in the path.
 
12446
if test "x$as_myself" = x; then
 
12447
  as_myself=$0
 
12448
fi
 
12449
if test ! -f "$as_myself"; then
 
12450
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
12451
  { (exit 1); exit 1; }
 
12452
fi
 
12453
 
19814
12454
# Work around bugs in pre-3.0 UWIN ksh.
19815
 
$as_unset ENV MAIL MAILPATH
 
12455
for as_var in ENV MAIL MAILPATH
 
12456
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
12457
done
19816
12458
PS1='$ '
19817
12459
PS2='> '
19818
12460
PS4='+ '
19819
12461
 
19820
12462
# NLS nuisances.
19821
 
for as_var in \
19822
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19823
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19824
 
  LC_TELEPHONE LC_TIME
19825
 
do
19826
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19827
 
    eval $as_var=C; export $as_var
19828
 
  else
19829
 
    $as_unset $as_var
19830
 
  fi
19831
 
done
 
12463
LC_ALL=C
 
12464
export LC_ALL
 
12465
LANGUAGE=C
 
12466
export LANGUAGE
19832
12467
 
19833
12468
# Required to use basename.
19834
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
12469
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
12470
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
19835
12471
  as_expr=expr
19836
12472
else
19837
12473
  as_expr=false
19838
12474
fi
19839
12475
 
19840
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
12476
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19841
12477
  as_basename=basename
19842
12478
else
19843
12479
  as_basename=false
19845
12481
 
19846
12482
 
19847
12483
# Name of the executable.
19848
 
as_me=`$as_basename "$0" ||
 
12484
as_me=`$as_basename -- "$0" ||
19849
12485
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19850
12486
         X"$0" : 'X\(//\)$' \| \
19851
 
         X"$0" : 'X\(/\)$' \| \
19852
 
         .     : '\(.\)' 2>/dev/null ||
19853
 
echo X/"$0" |
19854
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19855
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
19856
 
          /^X\/\(\/\).*/{ s//\1/; q; }
19857
 
          s/.*/./; q'`
19858
 
 
19859
 
 
19860
 
# PATH needs CR, and LINENO needs CR and PATH.
19861
 
# Avoid depending upon Character Ranges.
19862
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19863
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19864
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19865
 
as_cr_digits='0123456789'
19866
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
19867
 
 
19868
 
# The user is always right.
19869
 
if test "${PATH_SEPARATOR+set}" != set; then
19870
 
  echo "#! /bin/sh" >conf$$.sh
19871
 
  echo  "exit 0"   >>conf$$.sh
19872
 
  chmod +x conf$$.sh
19873
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
19874
 
    PATH_SEPARATOR=';'
19875
 
  else
19876
 
    PATH_SEPARATOR=:
19877
 
  fi
19878
 
  rm -f conf$$.sh
19879
 
fi
19880
 
 
19881
 
 
19882
 
  as_lineno_1=$LINENO
19883
 
  as_lineno_2=$LINENO
19884
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19885
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
19886
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
19887
 
  # Find who we are.  Look in the path if we contain no path at all
19888
 
  # relative or not.
19889
 
  case $0 in
19890
 
    *[\\/]* ) as_myself=$0 ;;
19891
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19892
 
for as_dir in $PATH
19893
 
do
19894
 
  IFS=$as_save_IFS
19895
 
  test -z "$as_dir" && as_dir=.
19896
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19897
 
done
19898
 
 
19899
 
       ;;
19900
 
  esac
19901
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
19902
 
  # in which case we are not to be found in the path.
19903
 
  if test "x$as_myself" = x; then
19904
 
    as_myself=$0
19905
 
  fi
19906
 
  if test ! -f "$as_myself"; then
19907
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19908
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19909
 
   { (exit 1); exit 1; }; }
19910
 
  fi
19911
 
  case $CONFIG_SHELL in
19912
 
  '')
19913
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19914
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
19915
 
do
19916
 
  IFS=$as_save_IFS
19917
 
  test -z "$as_dir" && as_dir=.
19918
 
  for as_base in sh bash ksh sh5; do
19919
 
         case $as_dir in
19920
 
         /*)
19921
 
           if ("$as_dir/$as_base" -c '
19922
 
  as_lineno_1=$LINENO
19923
 
  as_lineno_2=$LINENO
19924
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19925
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
19926
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
19927
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
19928
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
19929
 
             CONFIG_SHELL=$as_dir/$as_base
19930
 
             export CONFIG_SHELL
19931
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19932
 
           fi;;
19933
 
         esac
19934
 
       done
19935
 
done
19936
 
;;
19937
 
  esac
 
12487
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
12488
$as_echo X/"$0" |
 
12489
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
12490
            s//\1/
 
12491
            q
 
12492
          }
 
12493
          /^X\/\(\/\/\)$/{
 
12494
            s//\1/
 
12495
            q
 
12496
          }
 
12497
          /^X\/\(\/\).*/{
 
12498
            s//\1/
 
12499
            q
 
12500
          }
 
12501
          s/.*/./; q'`
 
12502
 
 
12503
# CDPATH.
 
12504
$as_unset CDPATH
 
12505
 
 
12506
 
 
12507
 
 
12508
  as_lineno_1=$LINENO
 
12509
  as_lineno_2=$LINENO
 
12510
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
12511
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
19938
12512
 
19939
12513
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19940
12514
  # uniformly replaced by the line number.  The first 'sed' inserts a
19941
 
  # line-number line before each line; the second 'sed' does the real
19942
 
  # work.  The second script uses 'N' to pair each line-number line
19943
 
  # with the numbered line, and appends trailing '-' during
19944
 
  # substitution so that $LINENO is not a special case at line end.
 
12515
  # line-number line after each line using $LINENO; the second 'sed'
 
12516
  # does the real work.  The second script uses 'N' to pair each
 
12517
  # line-number line with the line containing $LINENO, and appends
 
12518
  # trailing '-' during substitution so that $LINENO is not a special
 
12519
  # case at line end.
19945
12520
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19946
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
19947
 
  sed '=' <$as_myself |
 
12521
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
12522
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
12523
  sed -n '
 
12524
    p
 
12525
    /[$]LINENO/=
 
12526
  ' <$as_myself |
19948
12527
    sed '
 
12528
      s/[$]LINENO.*/&-/
 
12529
      t lineno
 
12530
      b
 
12531
      :lineno
19949
12532
      N
19950
 
      s,$,-,
19951
 
      : loop
19952
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
12533
      :loop
 
12534
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
19953
12535
      t loop
19954
 
      s,-$,,
19955
 
      s,^['$as_cr_digits']*\n,,
 
12536
      s/-\n.*//
19956
12537
    ' >$as_me.lineno &&
19957
 
  chmod +x $as_me.lineno ||
19958
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19959
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
12538
  chmod +x "$as_me.lineno" ||
 
12539
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
19960
12540
   { (exit 1); exit 1; }; }
19961
12541
 
19962
12542
  # Don't try to exec as it changes $[0], causing all sort of problems
19963
12543
  # (the dirname of $[0] is not the place where we might find the
19964
 
  # original and so on.  Autoconf is especially sensible to this).
19965
 
  . ./$as_me.lineno
 
12544
  # original and so on.  Autoconf is especially sensitive to this).
 
12545
  . "./$as_me.lineno"
19966
12546
  # Exit status is that of the last command.
19967
12547
  exit
19968
12548
}
19969
12549
 
19970
12550
 
19971
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19972
 
  *c*,-n*) ECHO_N= ECHO_C='
19973
 
' ECHO_T='      ' ;;
19974
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
19975
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
12551
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
12552
  as_dirname=dirname
 
12553
else
 
12554
  as_dirname=false
 
12555
fi
 
12556
 
 
12557
ECHO_C= ECHO_N= ECHO_T=
 
12558
case `echo -n x` in
 
12559
-n*)
 
12560
  case `echo 'x\c'` in
 
12561
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
12562
  *)   ECHO_C='\c';;
 
12563
  esac;;
 
12564
*)
 
12565
  ECHO_N='-n';;
19976
12566
esac
19977
 
 
19978
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
12567
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
12568
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
19979
12569
  as_expr=expr
19980
12570
else
19981
12571
  as_expr=false
19982
12572
fi
19983
12573
 
19984
12574
rm -f conf$$ conf$$.exe conf$$.file
19985
 
echo >conf$$.file
19986
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
19987
 
  # We could just check for DJGPP; but this test a) works b) is more generic
19988
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19989
 
  if test -f conf$$.exe; then
19990
 
    # Don't use ln at all; we don't have any links
 
12575
if test -d conf$$.dir; then
 
12576
  rm -f conf$$.dir/conf$$.file
 
12577
else
 
12578
  rm -f conf$$.dir
 
12579
  mkdir conf$$.dir 2>/dev/null
 
12580
fi
 
12581
if (echo >conf$$.file) 2>/dev/null; then
 
12582
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
12583
    as_ln_s='ln -s'
 
12584
    # ... but there are two gotchas:
 
12585
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
12586
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
12587
    # In both cases, we have to default to `cp -p'.
 
12588
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
12589
      as_ln_s='cp -p'
 
12590
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
12591
    as_ln_s=ln
 
12592
  else
19991
12593
    as_ln_s='cp -p'
19992
 
  else
19993
 
    as_ln_s='ln -s'
19994
12594
  fi
19995
 
elif ln conf$$.file conf$$ 2>/dev/null; then
19996
 
  as_ln_s=ln
19997
12595
else
19998
12596
  as_ln_s='cp -p'
19999
12597
fi
20000
 
rm -f conf$$ conf$$.exe conf$$.file
 
12598
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
12599
rmdir conf$$.dir 2>/dev/null
20001
12600
 
20002
12601
if mkdir -p . 2>/dev/null; then
20003
12602
  as_mkdir_p=:
20006
12605
  as_mkdir_p=false
20007
12606
fi
20008
12607
 
20009
 
as_executable_p="test -f"
 
12608
if test -x / >/dev/null 2>&1; then
 
12609
  as_test_x='test -x'
 
12610
else
 
12611
  if ls -dL / >/dev/null 2>&1; then
 
12612
    as_ls_L_option=L
 
12613
  else
 
12614
    as_ls_L_option=
 
12615
  fi
 
12616
  as_test_x='
 
12617
    eval sh -c '\''
 
12618
      if test -d "$1"; then
 
12619
        test -d "$1/.";
 
12620
      else
 
12621
        case $1 in
 
12622
        -*)set "./$1";;
 
12623
        esac;
 
12624
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
12625
        ???[sx]*):;;*)false;;esac;fi
 
12626
    '\'' sh
 
12627
  '
 
12628
fi
 
12629
as_executable_p=$as_test_x
20010
12630
 
20011
12631
# Sed expression to map a string onto a valid CPP name.
20012
12632
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20015
12635
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20016
12636
 
20017
12637
 
20018
 
# IFS
20019
 
# We need space, tab and new line, in precisely that order.
20020
 
as_nl='
20021
 
'
20022
 
IFS="   $as_nl"
20023
 
 
20024
 
# CDPATH.
20025
 
$as_unset CDPATH
20026
 
 
20027
12638
exec 6>&1
20028
12639
 
20029
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
12640
# Save the log message, to keep $[0] and so on meaningful, and to
20030
12641
# report actual input values of CONFIG_FILES etc. instead of their
20031
 
# values after options handling.  Logging --version etc. is OK.
20032
 
exec 5>>config.log
20033
 
{
20034
 
  echo
20035
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20036
 
## Running $as_me. ##
20037
 
_ASBOX
20038
 
} >&5
20039
 
cat >&5 <<_CSEOF
20040
 
 
 
12642
# values after options handling.
 
12643
ac_log="
20041
12644
This file was extended by $as_me, which was
20042
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
12645
generated by GNU Autoconf 2.63.  Invocation command line was
20043
12646
 
20044
12647
  CONFIG_FILES    = $CONFIG_FILES
20045
12648
  CONFIG_HEADERS  = $CONFIG_HEADERS
20047
12650
  CONFIG_COMMANDS = $CONFIG_COMMANDS
20048
12651
  $ $0 $@
20049
12652
 
20050
 
_CSEOF
20051
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20052
 
echo >&5
 
12653
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
12654
"
 
12655
 
20053
12656
_ACEOF
20054
12657
 
 
12658
case $ac_config_files in *"
 
12659
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
12660
esac
 
12661
 
 
12662
 
 
12663
 
 
12664
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20055
12665
# Files that config.status was made for.
20056
 
if test -n "$ac_config_files"; then
20057
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20058
 
fi
20059
 
 
20060
 
if test -n "$ac_config_headers"; then
20061
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20062
 
fi
20063
 
 
20064
 
if test -n "$ac_config_links"; then
20065
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20066
 
fi
20067
 
 
20068
 
if test -n "$ac_config_commands"; then
20069
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20070
 
fi
20071
 
 
20072
 
cat >>$CONFIG_STATUS <<\_ACEOF
20073
 
 
 
12666
config_files="$ac_config_files"
 
12667
config_commands="$ac_config_commands"
 
12668
 
 
12669
_ACEOF
 
12670
 
 
12671
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20074
12672
ac_cs_usage="\
20075
12673
\`$as_me' instantiates files from templates according to the
20076
12674
current configuration.
20077
12675
 
20078
 
Usage: $0 [OPTIONS] [FILE]...
 
12676
Usage: $0 [OPTION]... [FILE]...
20079
12677
 
20080
12678
  -h, --help       print this help, then exit
20081
 
  -V, --version    print version number, then exit
20082
 
  -q, --quiet      do not print progress messages
 
12679
  -V, --version    print version number and configuration settings, then exit
 
12680
  -q, --quiet, --silent
 
12681
                   do not print progress messages
20083
12682
  -d, --debug      don't remove temporary files
20084
12683
      --recheck    update $as_me by reconfiguring in the same conditions
20085
 
  --file=FILE[:TEMPLATE]
20086
 
                   instantiate the configuration file FILE
 
12684
      --file=FILE[:TEMPLATE]
 
12685
                   instantiate the configuration file FILE
20087
12686
 
20088
12687
Configuration files:
20089
12688
$config_files
20092
12691
$config_commands
20093
12692
 
20094
12693
Report bugs to <bug-autoconf@gnu.org>."
 
12694
 
20095
12695
_ACEOF
20096
 
 
20097
 
cat >>$CONFIG_STATUS <<_ACEOF
 
12696
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20098
12697
ac_cs_version="\\
20099
12698
config.status
20100
 
configured by $0, generated by GNU Autoconf 2.59,
20101
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
12699
configured by $0, generated by GNU Autoconf 2.63,
 
12700
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20102
12701
 
20103
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
12702
Copyright (C) 2008 Free Software Foundation, Inc.
20104
12703
This config.status script is free software; the Free Software Foundation
20105
12704
gives unlimited permission to copy, distribute and modify it."
20106
 
srcdir=$srcdir
20107
 
INSTALL="$INSTALL"
 
12705
 
 
12706
ac_pwd='$ac_pwd'
 
12707
srcdir='$srcdir'
 
12708
INSTALL='$INSTALL'
 
12709
MKDIR_P='$MKDIR_P'
 
12710
AWK='$AWK'
 
12711
test -n "\$AWK" || AWK=awk
20108
12712
_ACEOF
20109
12713
 
20110
 
cat >>$CONFIG_STATUS <<\_ACEOF
20111
 
# If no file are specified by the user, then we need to provide default
20112
 
# value.  By we need to know if files were specified by the user.
 
12714
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12715
# The default lists apply if the user does not specify any file.
20113
12716
ac_need_defaults=:
20114
12717
while test $# != 0
20115
12718
do
20116
12719
  case $1 in
20117
12720
  --*=*)
20118
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
20119
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
12721
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
12722
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20120
12723
    ac_shift=:
20121
12724
    ;;
20122
 
  -*)
 
12725
  *)
20123
12726
    ac_option=$1
20124
12727
    ac_optarg=$2
20125
12728
    ac_shift=shift
20126
12729
    ;;
20127
 
  *) # This is not an option, so the user has probably given explicit
20128
 
     # arguments.
20129
 
     ac_option=$1
20130
 
     ac_need_defaults=false;;
20131
12730
  esac
20132
12731
 
20133
12732
  case $ac_option in
20134
12733
  # Handling of the options.
20135
 
_ACEOF
20136
 
cat >>$CONFIG_STATUS <<\_ACEOF
20137
12734
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20138
12735
    ac_cs_recheck=: ;;
20139
 
  --version | --vers* | -V )
20140
 
    echo "$ac_cs_version"; exit 0 ;;
20141
 
  --he | --h)
20142
 
    # Conflict between --help and --header
20143
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
20144
 
Try \`$0 --help' for more information." >&5
20145
 
echo "$as_me: error: ambiguous option: $1
20146
 
Try \`$0 --help' for more information." >&2;}
20147
 
   { (exit 1); exit 1; }; };;
20148
 
  --help | --hel | -h )
20149
 
    echo "$ac_cs_usage"; exit 0 ;;
20150
 
  --debug | --d* | -d )
 
12736
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
12737
    $as_echo "$ac_cs_version"; exit ;;
 
12738
  --debug | --debu | --deb | --de | --d | -d )
20151
12739
    debug=: ;;
20152
12740
  --file | --fil | --fi | --f )
20153
12741
    $ac_shift
20154
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20155
 
    ac_need_defaults=false;;
20156
 
  --header | --heade | --head | --hea )
20157
 
    $ac_shift
20158
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20159
 
    ac_need_defaults=false;;
 
12742
    case $ac_optarg in
 
12743
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
12744
    esac
 
12745
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
12746
    ac_need_defaults=false;;
 
12747
  --he | --h |  --help | --hel | -h )
 
12748
    $as_echo "$ac_cs_usage"; exit ;;
20160
12749
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20161
12750
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
20162
12751
    ac_cs_silent=: ;;
20163
12752
 
20164
12753
  # This is an error.
20165
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20166
 
Try \`$0 --help' for more information." >&5
20167
 
echo "$as_me: error: unrecognized option: $1
20168
 
Try \`$0 --help' for more information." >&2;}
 
12754
  -*) { $as_echo "$as_me: error: unrecognized option: $1
 
12755
Try \`$0 --help' for more information." >&2
20169
12756
   { (exit 1); exit 1; }; } ;;
20170
12757
 
20171
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
12758
  *) ac_config_targets="$ac_config_targets $1"
 
12759
     ac_need_defaults=false ;;
20172
12760
 
20173
12761
  esac
20174
12762
  shift
20182
12770
fi
20183
12771
 
20184
12772
_ACEOF
20185
 
cat >>$CONFIG_STATUS <<_ACEOF
 
12773
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20186
12774
if \$ac_cs_recheck; then
20187
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20188
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20189
 
fi
20190
 
 
20191
 
_ACEOF
20192
 
 
20193
 
cat >>$CONFIG_STATUS <<_ACEOF
20194
 
#
20195
 
# INIT-COMMANDS section.
20196
 
#
 
12775
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
12776
  shift
 
12777
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
12778
  CONFIG_SHELL='$SHELL'
 
12779
  export CONFIG_SHELL
 
12780
  exec "\$@"
 
12781
fi
 
12782
 
 
12783
_ACEOF
 
12784
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12785
exec 5>>config.log
 
12786
{
 
12787
  echo
 
12788
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
12789
## Running $as_me. ##
 
12790
_ASBOX
 
12791
  $as_echo "$ac_log"
 
12792
} >&5
 
12793
 
 
12794
_ACEOF
 
12795
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
12796
#
 
12797
# INIT-COMMANDS
 
12798
#
 
12799
 
 
12800
 
 
12801
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
12802
# if CDPATH is set.
 
12803
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
12804
 
 
12805
sed_quote_subst='$sed_quote_subst'
 
12806
double_quote_subst='$double_quote_subst'
 
12807
delay_variable_subst='$delay_variable_subst'
 
12808
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
12809
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
12810
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
12811
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
12812
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
12813
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
12814
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
12815
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
12816
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
12817
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
12818
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
12819
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
12820
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
12821
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
12822
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
12823
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
12824
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
12825
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
12826
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
12827
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
12828
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
12829
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
12830
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
12831
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
12832
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
12833
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
12834
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
12835
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12836
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
12837
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
12838
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
12839
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
12840
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
12841
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
12842
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
12843
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12844
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12845
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12846
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
12847
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
12848
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
12849
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
12850
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
12851
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
12852
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"`'
 
12853
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"`'
 
12854
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
12855
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
12856
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
12857
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
12858
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
12859
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
12860
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
12861
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
12862
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
12863
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
12864
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
12865
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
12866
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
12867
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
12868
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
12869
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
12870
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12871
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12872
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
12873
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
12874
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12875
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12876
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
12877
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12878
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12879
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12880
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12881
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12882
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12883
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
12884
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
12885
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
12886
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12887
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
12888
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
12889
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
12890
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
12891
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
12892
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
12893
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
12894
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
12895
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
12896
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
12897
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
12898
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12899
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
12900
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
12901
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12902
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12903
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
12904
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
12905
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
12906
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
12907
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
12908
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
12909
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
12910
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12911
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12912
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12913
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12914
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12915
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12916
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
12917
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
12918
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12919
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12920
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
12921
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
12922
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
12923
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
12924
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
12925
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
12926
 
 
12927
LTCC='$LTCC'
 
12928
LTCFLAGS='$LTCFLAGS'
 
12929
compiler='$compiler_DEFAULT'
 
12930
 
 
12931
# Quote evaled strings.
 
12932
for var in SED \
 
12933
GREP \
 
12934
EGREP \
 
12935
FGREP \
 
12936
LD \
 
12937
NM \
 
12938
LN_S \
 
12939
lt_SP2NL \
 
12940
lt_NL2SP \
 
12941
reload_flag \
 
12942
OBJDUMP \
 
12943
deplibs_check_method \
 
12944
file_magic_cmd \
 
12945
AR \
 
12946
AR_FLAGS \
 
12947
STRIP \
 
12948
RANLIB \
 
12949
CC \
 
12950
CFLAGS \
 
12951
compiler \
 
12952
lt_cv_sys_global_symbol_pipe \
 
12953
lt_cv_sys_global_symbol_to_cdecl \
 
12954
lt_cv_sys_global_symbol_to_c_name_address \
 
12955
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
12956
SHELL \
 
12957
ECHO \
 
12958
lt_prog_compiler_no_builtin_flag \
 
12959
lt_prog_compiler_wl \
 
12960
lt_prog_compiler_pic \
 
12961
lt_prog_compiler_static \
 
12962
lt_cv_prog_compiler_c_o \
 
12963
need_locks \
 
12964
DSYMUTIL \
 
12965
NMEDIT \
 
12966
LIPO \
 
12967
OTOOL \
 
12968
OTOOL64 \
 
12969
shrext_cmds \
 
12970
export_dynamic_flag_spec \
 
12971
whole_archive_flag_spec \
 
12972
compiler_needs_object \
 
12973
with_gnu_ld \
 
12974
allow_undefined_flag \
 
12975
no_undefined_flag \
 
12976
hardcode_libdir_flag_spec \
 
12977
hardcode_libdir_flag_spec_ld \
 
12978
hardcode_libdir_separator \
 
12979
fix_srcfile_path \
 
12980
exclude_expsyms \
 
12981
include_expsyms \
 
12982
file_list_spec \
 
12983
variables_saved_for_relink \
 
12984
libname_spec \
 
12985
library_names_spec \
 
12986
soname_spec \
 
12987
finish_eval \
 
12988
old_striplib \
 
12989
striplib; do
 
12990
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
12991
    *[\\\\\\\`\\"\\\$]*)
 
12992
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
12993
      ;;
 
12994
    *)
 
12995
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
12996
      ;;
 
12997
    esac
 
12998
done
 
12999
 
 
13000
# Double-quote double-evaled strings.
 
13001
for var in reload_cmds \
 
13002
old_postinstall_cmds \
 
13003
old_postuninstall_cmds \
 
13004
old_archive_cmds \
 
13005
extract_expsyms_cmds \
 
13006
old_archive_from_new_cmds \
 
13007
old_archive_from_expsyms_cmds \
 
13008
archive_cmds \
 
13009
archive_expsym_cmds \
 
13010
module_cmds \
 
13011
module_expsym_cmds \
 
13012
export_symbols_cmds \
 
13013
prelink_cmds \
 
13014
postinstall_cmds \
 
13015
postuninstall_cmds \
 
13016
finish_cmds \
 
13017
sys_lib_search_path_spec \
 
13018
sys_lib_dlsearch_path_spec; do
 
13019
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
13020
    *[\\\\\\\`\\"\\\$]*)
 
13021
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
13022
      ;;
 
13023
    *)
 
13024
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
13025
      ;;
 
13026
    esac
 
13027
done
 
13028
 
 
13029
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
13030
case \$lt_ECHO in
 
13031
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
13032
  ;;
 
13033
esac
 
13034
 
 
13035
ac_aux_dir='$ac_aux_dir'
 
13036
xsi_shell='$xsi_shell'
 
13037
lt_shell_append='$lt_shell_append'
 
13038
 
 
13039
# See if we are running on zsh, and set the options which allow our
 
13040
# commands through without removal of \ escapes INIT.
 
13041
if test -n "\${ZSH_VERSION+set}" ; then
 
13042
   setopt NO_GLOB_SUBST
 
13043
fi
 
13044
 
 
13045
 
 
13046
    PACKAGE='$PACKAGE'
 
13047
    VERSION='$VERSION'
 
13048
    TIMESTAMP='$TIMESTAMP'
 
13049
    RM='$RM'
 
13050
    ofile='$ofile'
 
13051
 
 
13052
 
20197
13053
 
20198
13054
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20199
13055
 
20200
13056
_ACEOF
20201
13057
 
20202
 
 
20203
 
 
20204
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
13058
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13059
 
 
13060
# Handling of arguments.
20205
13061
for ac_config_target in $ac_config_targets
20206
13062
do
20207
 
  case "$ac_config_target" in
20208
 
  # Handling of arguments.
20209
 
  "pkgdata/$pkgconffile" ) CONFIG_FILES="$CONFIG_FILES pkgdata/$pkgconffile:pkgdata/pkg_data_src.pc.in" ;;
20210
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20211
 
  "globus-fork.conf" ) CONFIG_FILES="$CONFIG_FILES globus-fork.conf" ;;
20212
 
  "jobmanager-fork-poll" ) CONFIG_FILES="$CONFIG_FILES jobmanager-fork-poll" ;;
20213
 
  "jobmanager-fork-seg" ) CONFIG_FILES="$CONFIG_FILES jobmanager-fork-seg" ;;
20214
 
  "starter/Makefile" ) CONFIG_FILES="$CONFIG_FILES starter/Makefile" ;;
20215
 
  "seg/Makefile" ) CONFIG_FILES="$CONFIG_FILES seg/Makefile" ;;
20216
 
  "pkgdata/Makefile" ) CONFIG_FILES="$CONFIG_FILES pkgdata/Makefile" ;;
20217
 
  "pkgdata/pkg_data_src.gpt" ) CONFIG_FILES="$CONFIG_FILES pkgdata/pkg_data_src.gpt" ;;
20218
 
  "doxygen/Doxyfile" ) CONFIG_FILES="$CONFIG_FILES doxygen/Doxyfile" ;;
20219
 
  "doxygen/Doxyfile-internal" ) CONFIG_FILES="$CONFIG_FILES doxygen/Doxyfile-internal" ;;
20220
 
  "doxygen/Makefile" ) CONFIG_FILES="$CONFIG_FILES doxygen/Makefile" ;;
20221
 
  "version.h" ) CONFIG_FILES="$CONFIG_FILES version.h" ;;
20222
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20223
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20224
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
13063
  case $ac_config_target in
 
13064
    "pkgdata/$pkgconffile") CONFIG_FILES="$CONFIG_FILES pkgdata/$pkgconffile:pkgdata/pkg_data_src.pc.in" ;;
 
13065
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
13066
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
13067
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
13068
    "globus-fork.conf") CONFIG_FILES="$CONFIG_FILES globus-fork.conf" ;;
 
13069
    "starter/Makefile") CONFIG_FILES="$CONFIG_FILES starter/Makefile" ;;
 
13070
    "seg/Makefile") CONFIG_FILES="$CONFIG_FILES seg/Makefile" ;;
 
13071
    "pkgdata/Makefile") CONFIG_FILES="$CONFIG_FILES pkgdata/Makefile" ;;
 
13072
    "pkgdata/pkg_data_src.gpt") CONFIG_FILES="$CONFIG_FILES pkgdata/pkg_data_src.gpt" ;;
 
13073
    "doxygen/Doxyfile") CONFIG_FILES="$CONFIG_FILES doxygen/Doxyfile" ;;
 
13074
    "doxygen/Doxyfile-internal") CONFIG_FILES="$CONFIG_FILES doxygen/Doxyfile-internal" ;;
 
13075
    "doxygen/Makefile") CONFIG_FILES="$CONFIG_FILES doxygen/Makefile" ;;
 
13076
    "version.h") CONFIG_FILES="$CONFIG_FILES version.h" ;;
 
13077
 
 
13078
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
13079
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20225
13080
   { (exit 1); exit 1; }; };;
20226
13081
  esac
20227
13082
done
20228
13083
 
 
13084
 
20229
13085
# If the user did not use the arguments to specify the items to instantiate,
20230
13086
# then the envvar interface is used.  Set only those that are not.
20231
13087
# We use the long form for the default assignment because of an extremely
20236
13092
fi
20237
13093
 
20238
13094
# Have a temporary directory for convenience.  Make it in the build tree
20239
 
# simply because there is no reason to put it here, and in addition,
 
13095
# simply because there is no reason against having it here, and in addition,
20240
13096
# creating and moving files from /tmp can sometimes cause problems.
20241
 
# Create a temporary directory, and hook for its removal unless debugging.
 
13097
# Hook for its removal unless debugging.
 
13098
# Note that there is a small window in which the directory will not be cleaned:
 
13099
# after its creation but before its name has been assigned to `$tmp'.
20242
13100
$debug ||
20243
13101
{
20244
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
13102
  tmp=
 
13103
  trap 'exit_status=$?
 
13104
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
13105
' 0
20245
13106
  trap '{ (exit 1); exit 1; }' 1 2 13 15
20246
13107
}
20247
 
 
20248
13108
# Create a (secure) tmp directory for tmp files.
20249
13109
 
20250
13110
{
20251
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
13111
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20252
13112
  test -n "$tmp" && test -d "$tmp"
20253
13113
}  ||
20254
13114
{
20255
 
  tmp=./confstat$$-$RANDOM
20256
 
  (umask 077 && mkdir $tmp)
 
13115
  tmp=./conf$$-$RANDOM
 
13116
  (umask 077 && mkdir "$tmp")
20257
13117
} ||
20258
13118
{
20259
 
   echo "$me: cannot create a temporary directory in ." >&2
 
13119
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
20260
13120
   { (exit 1); exit 1; }
20261
13121
}
20262
13122
 
20263
 
_ACEOF
20264
 
 
20265
 
cat >>$CONFIG_STATUS <<_ACEOF
20266
 
 
20267
 
#
20268
 
# CONFIG_FILES section.
20269
 
#
20270
 
 
20271
 
# No need to generate the scripts if there are no CONFIG_FILES.
20272
 
# This happens for instance when ./config.status config.h
20273
 
if test -n "\$CONFIG_FILES"; then
20274
 
  # Protect against being on the right side of a sed subst in config.status.
20275
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20276
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20277
 
s,@SHELL@,$SHELL,;t t
20278
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20279
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20280
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20281
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20282
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20283
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20284
 
s,@exec_prefix@,$exec_prefix,;t t
20285
 
s,@prefix@,$prefix,;t t
20286
 
s,@program_transform_name@,$program_transform_name,;t t
20287
 
s,@bindir@,$bindir,;t t
20288
 
s,@sbindir@,$sbindir,;t t
20289
 
s,@libexecdir@,$libexecdir,;t t
20290
 
s,@datadir@,$datadir,;t t
20291
 
s,@sysconfdir@,$sysconfdir,;t t
20292
 
s,@sharedstatedir@,$sharedstatedir,;t t
20293
 
s,@localstatedir@,$localstatedir,;t t
20294
 
s,@libdir@,$libdir,;t t
20295
 
s,@includedir@,$includedir,;t t
20296
 
s,@oldincludedir@,$oldincludedir,;t t
20297
 
s,@infodir@,$infodir,;t t
20298
 
s,@mandir@,$mandir,;t t
20299
 
s,@build_alias@,$build_alias,;t t
20300
 
s,@host_alias@,$host_alias,;t t
20301
 
s,@target_alias@,$target_alias,;t t
20302
 
s,@DEFS@,$DEFS,;t t
20303
 
s,@ECHO_C@,$ECHO_C,;t t
20304
 
s,@ECHO_N@,$ECHO_N,;t t
20305
 
s,@ECHO_T@,$ECHO_T,;t t
20306
 
s,@LIBS@,$LIBS,;t t
20307
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
20308
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
20309
 
s,@MAINT@,$MAINT,;t t
20310
 
s,@docdir@,$docdir,;t t
20311
 
s,@GPT_LOCATION@,$GPT_LOCATION,;t t
20312
 
s,@GPT_PKGCONFIG_DEPENDENCIES@,$GPT_PKGCONFIG_DEPENDENCIES,;t t
20313
 
s,@GPT_IS_2@,$GPT_IS_2,;t t
20314
 
s,@GPT_CFLAGS@,$GPT_CFLAGS,;t t
20315
 
s,@GPT_PKG_CFLAGS@,$GPT_PKG_CFLAGS,;t t
20316
 
s,@GPT_INCLUDES@,$GPT_INCLUDES,;t t
20317
 
s,@GPT_EXTERNAL_INCLUDES@,$GPT_EXTERNAL_INCLUDES,;t t
20318
 
s,@GPT_EXTERNAL_LIBS@,$GPT_EXTERNAL_LIBS,;t t
20319
 
s,@GPT_LIBS@,$GPT_LIBS,;t t
20320
 
s,@GPT_LDFLAGS@,$GPT_LDFLAGS,;t t
20321
 
s,@GPT_CONFIG_CFLAGS@,$GPT_CONFIG_CFLAGS,;t t
20322
 
s,@GPT_CONFIG_INCLUDES@,$GPT_CONFIG_INCLUDES,;t t
20323
 
s,@GPT_CONFIG_LIBS@,$GPT_CONFIG_LIBS,;t t
20324
 
s,@GPT_CONFIG_PKG_LIBS@,$GPT_CONFIG_PKG_LIBS,;t t
20325
 
s,@GPT_PGM_LINKS@,$GPT_PGM_LINKS,;t t
20326
 
s,@GPT_LIB_LINKS@,$GPT_LIB_LINKS,;t t
20327
 
s,@GPT_LINKTYPE@,$GPT_LINKTYPE,;t t
20328
 
s,@builddir@,$builddir,;t t
20329
 
s,@pkgconfdir@,$pkgconfdir,;t t
20330
 
s,@pkgconffile@,$pkgconffile,;t t
20331
 
s,@pkgconffile_in@,$pkgconffile_in,;t t
20332
 
s,@WITHOUT_FLAVORS_TRUE@,$WITHOUT_FLAVORS_TRUE,;t t
20333
 
s,@WITHOUT_FLAVORS_FALSE@,$WITHOUT_FLAVORS_FALSE,;t t
20334
 
s,@GLOBUS_FLAVOR_NAME@,$GLOBUS_FLAVOR_NAME,;t t
20335
 
s,@datarootdir@,$datarootdir,;t t
20336
 
s,@CC@,$CC,;t t
20337
 
s,@CPP@,$CPP,;t t
20338
 
s,@CFLAGS@,$CFLAGS,;t t
20339
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
20340
 
s,@LD@,$LD,;t t
20341
 
s,@LDFLAGS@,$LDFLAGS,;t t
20342
 
s,@CXX@,$CXX,;t t
20343
 
s,@CXXCPP@,$CXXCPP,;t t
20344
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
20345
 
s,@INSURE@,$INSURE,;t t
20346
 
s,@DOXYGEN@,$DOXYGEN,;t t
20347
 
s,@F77@,$F77,;t t
20348
 
s,@F77FLAGS@,$F77FLAGS,;t t
20349
 
s,@F90@,$F90,;t t
20350
 
s,@F90FLAGS@,$F90FLAGS,;t t
20351
 
s,@AR@,$AR,;t t
20352
 
s,@ARFLAGS@,$ARFLAGS,;t t
20353
 
s,@RANLIB@,$RANLIB,;t t
20354
 
s,@PERL@,$PERL,;t t
20355
 
s,@CROSS@,$CROSS,;t t
20356
 
s,@cross_compiling@,$cross_compiling,;t t
20357
 
s,@OBJEXT@,$OBJEXT,;t t
20358
 
s,@EXEEXT@,$EXEEXT,;t t
20359
 
s,@OBJECT_MODE@,$OBJECT_MODE,;t t
20360
 
s,@setupdir@,$setupdir,;t t
20361
 
s,@testdir@,$testdir,;t t
20362
 
s,@flavorincludedir@,$flavorincludedir,;t t
20363
 
s,@pkgdir@,$pkgdir,;t t
20364
 
s,@aclocaldir@,$aclocaldir,;t t
20365
 
s,@perlmoduledir@,$perlmoduledir,;t t
20366
 
s,@doxygendir@,$doxygendir,;t t
20367
 
s,@FILELIST_FILE@,$FILELIST_FILE,;t t
20368
 
s,@GPT_MAJOR_VERSION@,$GPT_MAJOR_VERSION,;t t
20369
 
s,@GPT_MINOR_VERSION@,$GPT_MINOR_VERSION,;t t
20370
 
s,@GPT_AGE_VERSION@,$GPT_AGE_VERSION,;t t
20371
 
s,@DIRT_TIMESTAMP@,$DIRT_TIMESTAMP,;t t
20372
 
s,@DIRT_BRANCH_ID@,$DIRT_BRANCH_ID,;t t
20373
 
s,@ENABLE_PROGRAMS_TRUE@,$ENABLE_PROGRAMS_TRUE,;t t
20374
 
s,@ENABLE_PROGRAMS_FALSE@,$ENABLE_PROGRAMS_FALSE,;t t
20375
 
s,@build@,$build,;t t
20376
 
s,@build_cpu@,$build_cpu,;t t
20377
 
s,@build_vendor@,$build_vendor,;t t
20378
 
s,@build_os@,$build_os,;t t
20379
 
s,@host@,$host,;t t
20380
 
s,@host_cpu@,$host_cpu,;t t
20381
 
s,@host_vendor@,$host_vendor,;t t
20382
 
s,@host_os@,$host_os,;t t
20383
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
20384
 
s,@SED@,$SED,;t t
20385
 
s,@EGREP@,$EGREP,;t t
20386
 
s,@LN_S@,$LN_S,;t t
20387
 
s,@ECHO@,$ECHO,;t t
20388
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
20389
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20390
 
s,@STRIP@,$STRIP,;t t
20391
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20392
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20393
 
s,@FFLAGS@,$FFLAGS,;t t
20394
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
20395
 
s,@LIBTOOL@,$LIBTOOL,;t t
20396
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20397
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20398
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20399
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
20400
 
s,@PACKAGE@,$PACKAGE,;t t
20401
 
s,@VERSION@,$VERSION,;t t
20402
 
s,@ACLOCAL@,$ACLOCAL,;t t
20403
 
s,@AUTOCONF@,$AUTOCONF,;t t
20404
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
20405
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
20406
 
s,@MAKEINFO@,$MAKEINFO,;t t
20407
 
s,@install_sh@,$install_sh,;t t
20408
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20409
 
s,@mkdir_p@,$mkdir_p,;t t
20410
 
s,@AWK@,$AWK,;t t
20411
 
s,@SET_MAKE@,$SET_MAKE,;t t
20412
 
s,@am__leading_dot@,$am__leading_dot,;t t
20413
 
s,@AMTAR@,$AMTAR,;t t
20414
 
s,@am__tar@,$am__tar,;t t
20415
 
s,@am__untar@,$am__untar,;t t
20416
 
s,@DEPDIR@,$DEPDIR,;t t
20417
 
s,@am__include@,$am__include,;t t
20418
 
s,@am__quote@,$am__quote,;t t
20419
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20420
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20421
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20422
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
20423
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20424
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20425
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
20426
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
20427
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
20428
 
s,@DOXYFILE@,$DOXYFILE,;t t
20429
 
s,@DOT@,$DOT,;t t
20430
 
s,@HAVE_DOT@,$HAVE_DOT,;t t
20431
 
s,@lac_doxygen_srcdirs@,$lac_doxygen_srcdirs,;t t
20432
 
s,@lac_doxygen_input_filter@,$lac_doxygen_input_filter,;t t
20433
 
s,@lac_doxygen_project@,$lac_doxygen_project,;t t
20434
 
s,@lac_doxygen_output_tagfile@,$lac_doxygen_output_tagfile,;t t
20435
 
s,@lac_doxygen_tagfiles@,$lac_doxygen_tagfiles,;t t
20436
 
s,@lac_doxygen_internal_tagfiles@,$lac_doxygen_internal_tagfiles,;t t
20437
 
s,@lac_doxygen_installdox@,$lac_doxygen_installdox,;t t
20438
 
s,@lac_doxygen_file_patterns@,$lac_doxygen_file_patterns,;t t
20439
 
s,@lac_doxygen_examples@,$lac_doxygen_examples,;t t
20440
 
s,@lac_doxygen_predefines@,$lac_doxygen_predefines,;t t
20441
 
s,@MPIEXEC@,$MPIEXEC,;t t
20442
 
s,@MPIRUN@,$MPIRUN,;t t
20443
 
s,@SOFTENV_DIR@,$SOFTENV_DIR,;t t
20444
 
s,@XSLTPROC@,$XSLTPROC,;t t
20445
 
s,@XMLLINT@,$XMLLINT,;t t
20446
 
s,@XML_CATALOG_PATH@,$XML_CATALOG_PATH,;t t
20447
 
s,@globusstatedir@,$globusstatedir,;t t
20448
 
s,@SEG_CLAUSE@,$SEG_CLAUSE,;t t
20449
 
s,@SEG_ENABLED_COND_TRUE@,$SEG_ENABLED_COND_TRUE,;t t
20450
 
s,@SEG_ENABLED_COND_FALSE@,$SEG_ENABLED_COND_FALSE,;t t
20451
 
s,@GENERATE_MANPAGES_TRUE@,$GENERATE_MANPAGES_TRUE,;t t
20452
 
s,@GENERATE_MANPAGES_FALSE@,$GENERATE_MANPAGES_FALSE,;t t
20453
 
s,@LIBOBJS@,$LIBOBJS,;t t
20454
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20455
 
/@GLOBUS_LIBDIR_CHOICE@/r $GLOBUS_LIBDIR_CHOICE
20456
 
s,@GLOBUS_LIBDIR_CHOICE@,,;t t
20457
 
/@GLOBUS_PERL_LIBDIR_CHOICE@/r $GLOBUS_PERL_LIBDIR_CHOICE
20458
 
s,@GLOBUS_PERL_LIBDIR_CHOICE@,,;t t
20459
 
/@GLOBUS_SCRIPT_INITIALIZER@/r $GLOBUS_SCRIPT_INITIALIZER
20460
 
s,@GLOBUS_SCRIPT_INITIALIZER@,,;t t
20461
 
/@GLOBUS_PERL_INITIALIZER@/r $GLOBUS_PERL_INITIALIZER
20462
 
s,@GLOBUS_PERL_INITIALIZER@,,;t t
20463
 
CEOF
20464
 
 
20465
 
_ACEOF
20466
 
 
20467
 
  cat >>$CONFIG_STATUS <<\_ACEOF
20468
 
  # Split the substitutions into bite-sized pieces for seds with
20469
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
20470
 
  ac_max_sed_lines=48
20471
 
  ac_sed_frag=1 # Number of current file.
20472
 
  ac_beg=1 # First line for current file.
20473
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
20474
 
  ac_more_lines=:
20475
 
  ac_sed_cmds=
20476
 
  while $ac_more_lines; do
20477
 
    if test $ac_beg -gt 1; then
20478
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20479
 
    else
20480
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20481
 
    fi
20482
 
    if test ! -s $tmp/subs.frag; then
20483
 
      ac_more_lines=false
20484
 
    else
20485
 
      # The purpose of the label and of the branching condition is to
20486
 
      # speed up the sed processing (if there are no `@' at all, there
20487
 
      # is no need to browse any of the substitutions).
20488
 
      # These are the two extra sed commands mentioned above.
20489
 
      (echo ':t
20490
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
20491
 
      if test -z "$ac_sed_cmds"; then
20492
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
20493
 
      else
20494
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20495
 
      fi
20496
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
20497
 
      ac_beg=$ac_end
20498
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
20499
 
    fi
20500
 
  done
20501
 
  if test -z "$ac_sed_cmds"; then
20502
 
    ac_sed_cmds=cat
 
13123
# Set up the scripts for CONFIG_FILES section.
 
13124
# No need to generate them if there are no CONFIG_FILES.
 
13125
# This happens for instance with `./config.status config.h'.
 
13126
if test -n "$CONFIG_FILES"; then
 
13127
 
 
13128
if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
 
13129
  ac_cs_awk_getline=:
 
13130
  ac_cs_awk_pipe_init=
 
13131
  ac_cs_awk_read_file='
 
13132
      while ((getline aline < (F[key])) > 0)
 
13133
        print(aline)
 
13134
      close(F[key])'
 
13135
  ac_cs_awk_pipe_fini=
 
13136
else
 
13137
  ac_cs_awk_getline=false
 
13138
  ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
 
13139
  ac_cs_awk_read_file='
 
13140
      print "|#_!!_#|"
 
13141
      print "cat " F[key] " &&"
 
13142
      '$ac_cs_awk_pipe_init
 
13143
  # The final `:' finishes the AND list.
 
13144
  ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
 
13145
fi
 
13146
ac_cr='
 
 
b"'"
 
13147
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
13148
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
13149
  ac_cs_awk_cr='\\r'
 
13150
else
 
13151
  ac_cs_awk_cr=$ac_cr
 
13152
fi
 
13153
 
 
13154
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
13155
_ACEOF
 
13156
 
 
13157
# Create commands to substitute file output variables.
 
13158
{
 
13159
  echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
 
13160
  echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
 
13161
  echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
 
13162
  echo "_ACAWK" &&
 
13163
  echo "_ACEOF"
 
13164
} >conf$$files.sh &&
 
13165
. ./conf$$files.sh ||
 
13166
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
13167
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
13168
   { (exit 1); exit 1; }; }
 
13169
rm -f conf$$files.sh
 
13170
 
 
13171
{
 
13172
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
13173
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
13174
  echo "_ACEOF"
 
13175
} >conf$$subs.sh ||
 
13176
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
13177
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
13178
   { (exit 1); exit 1; }; }
 
13179
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
13180
ac_delim='%!_!# '
 
13181
for ac_last_try in false false false false false :; do
 
13182
  . ./conf$$subs.sh ||
 
13183
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
13184
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
13185
   { (exit 1); exit 1; }; }
 
13186
 
 
13187
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
13188
  if test $ac_delim_n = $ac_delim_num; then
 
13189
    break
 
13190
  elif $ac_last_try; then
 
13191
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
13192
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
13193
   { (exit 1); exit 1; }; }
 
13194
  else
 
13195
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20503
13196
  fi
 
13197
done
 
13198
rm -f conf$$subs.sh
 
13199
 
 
13200
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13201
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
13202
_ACEOF
 
13203
sed -n '
 
13204
h
 
13205
s/^/S["/; s/!.*/"]=/
 
13206
p
 
13207
g
 
13208
s/^[^!]*!//
 
13209
:repl
 
13210
t repl
 
13211
s/'"$ac_delim"'$//
 
13212
t delim
 
13213
:nl
 
13214
h
 
13215
s/\(.\{148\}\).*/\1/
 
13216
t more1
 
13217
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
13218
p
 
13219
n
 
13220
b repl
 
13221
:more1
 
13222
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
13223
p
 
13224
g
 
13225
s/.\{148\}//
 
13226
t nl
 
13227
:delim
 
13228
h
 
13229
s/\(.\{148\}\).*/\1/
 
13230
t more2
 
13231
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
13232
p
 
13233
b
 
13234
:more2
 
13235
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
13236
p
 
13237
g
 
13238
s/.\{148\}//
 
13239
t delim
 
13240
' <conf$$subs.awk | sed '
 
13241
/^[^""]/{
 
13242
  N
 
13243
  s/\n//
 
13244
}
 
13245
' >>$CONFIG_STATUS || ac_write_fail=1
 
13246
rm -f conf$$subs.awk
 
13247
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13248
_ACAWK
 
13249
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
13250
  for (key in S) S_is_set[key] = 1
 
13251
  FS = ""
 
13252
  \$ac_cs_awk_pipe_init
 
13253
}
 
13254
{
 
13255
  line = $ 0
 
13256
  nfields = split(line, field, "@")
 
13257
  substed = 0
 
13258
  len = length(field[1])
 
13259
  for (i = 2; i < nfields; i++) {
 
13260
    key = field[i]
 
13261
    keylen = length(key)
 
13262
    if (S_is_set[key]) {
 
13263
      value = S[key]
 
13264
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
13265
      len += length(value) + length(field[++i])
 
13266
      substed = 1
 
13267
    } else
 
13268
      len += 1 + keylen
 
13269
  }
 
13270
  if (nfields == 3 && !substed) {
 
13271
    key = field[2]
 
13272
    if (F[key] != "" && line ~ /^[       ]*@.*@[         ]*$/) {
 
13273
      \$ac_cs_awk_read_file
 
13274
      next
 
13275
    }
 
13276
  }
 
13277
  print line
 
13278
}
 
13279
\$ac_cs_awk_pipe_fini
 
13280
_ACAWK
 
13281
_ACEOF
 
13282
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13283
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
13284
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
13285
else
 
13286
  cat
 
13287
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
13288
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
13289
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
13290
   { (exit 1); exit 1; }; }
 
13291
_ACEOF
 
13292
 
 
13293
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
13294
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
13295
# trailing colons and then remove the whole line if VPATH becomes empty
 
13296
# (actually we leave an empty line to preserve line numbers).
 
13297
if test "x$srcdir" = x.; then
 
13298
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
13299
s/:*\$(srcdir):*/:/
 
13300
s/:*\${srcdir}:*/:/
 
13301
s/:*@srcdir@:*/:/
 
13302
s/^\([^=]*=[     ]*\):*/\1/
 
13303
s/:*$//
 
13304
s/^[^=]*=[       ]*$//
 
13305
}'
 
13306
fi
 
13307
 
 
13308
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20504
13309
fi # test -n "$CONFIG_FILES"
20505
13310
 
20506
 
_ACEOF
20507
 
cat >>$CONFIG_STATUS <<\_ACEOF
20508
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
20509
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20510
 
  case $ac_file in
20511
 
  - | *:- | *:-:* ) # input from stdin
20512
 
        cat >$tmp/stdin
20513
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20514
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20515
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20516
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20517
 
  * )   ac_file_in=$ac_file.in ;;
20518
 
  esac
20519
 
 
20520
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20521
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
13311
 
 
13312
eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
 
13313
shift
 
13314
for ac_tag
 
13315
do
 
13316
  case $ac_tag in
 
13317
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
13318
  esac
 
13319
  case $ac_mode$ac_tag in
 
13320
  :[FHL]*:*);;
 
13321
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
13322
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
 
13323
   { (exit 1); exit 1; }; };;
 
13324
  :[FH]-) ac_tag=-:-;;
 
13325
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
13326
  esac
 
13327
  ac_save_IFS=$IFS
 
13328
  IFS=:
 
13329
  set x $ac_tag
 
13330
  IFS=$ac_save_IFS
 
13331
  shift
 
13332
  ac_file=$1
 
13333
  shift
 
13334
 
 
13335
  case $ac_mode in
 
13336
  :L) ac_source=$1;;
 
13337
  :[FH])
 
13338
    ac_file_inputs=
 
13339
    for ac_f
 
13340
    do
 
13341
      case $ac_f in
 
13342
      -) ac_f="$tmp/stdin";;
 
13343
      *) # Look for the file first in the build tree, then in the source tree
 
13344
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
13345
         # because $ac_f cannot contain `:'.
 
13346
         test -f "$ac_f" ||
 
13347
           case $ac_f in
 
13348
           [\\/$]*) false;;
 
13349
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
13350
           esac ||
 
13351
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
13352
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
13353
   { (exit 1); exit 1; }; };;
 
13354
      esac
 
13355
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
13356
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
13357
    done
 
13358
 
 
13359
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
13360
    # use $as_me), people would be surprised to read:
 
13361
    #    /* config.h.  Generated by config.status.  */
 
13362
    configure_input='Generated from '`
 
13363
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
13364
        `' by configure.'
 
13365
    if test x"$ac_file" != x-; then
 
13366
      configure_input="$ac_file.  $configure_input"
 
13367
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
13368
$as_echo "$as_me: creating $ac_file" >&6;}
 
13369
    fi
 
13370
    # Neutralize special characters interpreted by sed in replacement strings.
 
13371
    case $configure_input in #(
 
13372
    *\&* | *\|* | *\\* )
 
13373
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
13374
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
13375
    *) ac_sed_conf_input=$configure_input;;
 
13376
    esac
 
13377
 
 
13378
    case $ac_tag in
 
13379
    *:-:* | *:-) cat >"$tmp/stdin" \
 
13380
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
13381
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
13382
   { (exit 1); exit 1; }; } ;;
 
13383
    esac
 
13384
    ;;
 
13385
  esac
 
13386
 
 
13387
  ac_dir=`$as_dirname -- "$ac_file" ||
20522
13388
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20523
13389
         X"$ac_file" : 'X\(//\)[^/]' \| \
20524
13390
         X"$ac_file" : 'X\(//\)$' \| \
20525
 
         X"$ac_file" : 'X\(/\)' \| \
20526
 
         .     : '\(.\)' 2>/dev/null ||
20527
 
echo X"$ac_file" |
20528
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20529
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20530
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20531
 
          /^X\(\/\).*/{ s//\1/; q; }
20532
 
          s/.*/./; q'`
20533
 
  { if $as_mkdir_p; then
20534
 
    mkdir -p "$ac_dir"
20535
 
  else
20536
 
    as_dir="$ac_dir"
 
13391
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
13392
$as_echo X"$ac_file" |
 
13393
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
13394
            s//\1/
 
13395
            q
 
13396
          }
 
13397
          /^X\(\/\/\)[^/].*/{
 
13398
            s//\1/
 
13399
            q
 
13400
          }
 
13401
          /^X\(\/\/\)$/{
 
13402
            s//\1/
 
13403
            q
 
13404
          }
 
13405
          /^X\(\/\).*/{
 
13406
            s//\1/
 
13407
            q
 
13408
          }
 
13409
          s/.*/./; q'`
 
13410
  { as_dir="$ac_dir"
 
13411
  case $as_dir in #(
 
13412
  -*) as_dir=./$as_dir;;
 
13413
  esac
 
13414
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20537
13415
    as_dirs=
20538
 
    while test ! -d "$as_dir"; do
20539
 
      as_dirs="$as_dir $as_dirs"
20540
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
13416
    while :; do
 
13417
      case $as_dir in #(
 
13418
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
13419
      *) as_qdir=$as_dir;;
 
13420
      esac
 
13421
      as_dirs="'$as_qdir' $as_dirs"
 
13422
      as_dir=`$as_dirname -- "$as_dir" ||
20541
13423
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20542
13424
         X"$as_dir" : 'X\(//\)[^/]' \| \
20543
13425
         X"$as_dir" : 'X\(//\)$' \| \
20544
 
         X"$as_dir" : 'X\(/\)' \| \
20545
 
         .     : '\(.\)' 2>/dev/null ||
20546
 
echo X"$as_dir" |
20547
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20548
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20549
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20550
 
          /^X\(\/\).*/{ s//\1/; q; }
20551
 
          s/.*/./; q'`
 
13426
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
13427
$as_echo X"$as_dir" |
 
13428
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
13429
            s//\1/
 
13430
            q
 
13431
          }
 
13432
          /^X\(\/\/\)[^/].*/{
 
13433
            s//\1/
 
13434
            q
 
13435
          }
 
13436
          /^X\(\/\/\)$/{
 
13437
            s//\1/
 
13438
            q
 
13439
          }
 
13440
          /^X\(\/\).*/{
 
13441
            s//\1/
 
13442
            q
 
13443
          }
 
13444
          s/.*/./; q'`
 
13445
      test -d "$as_dir" && break
20552
13446
    done
20553
 
    test ! -n "$as_dirs" || mkdir $as_dirs
20554
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20555
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
13447
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
13448
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
13449
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
20556
13450
   { (exit 1); exit 1; }; }; }
20557
 
 
20558
13451
  ac_builddir=.
20559
13452
 
20560
 
if test "$ac_dir" != .; then
20561
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20562
 
  # A "../" for each directory in $ac_dir_suffix.
20563
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20564
 
else
20565
 
  ac_dir_suffix= ac_top_builddir=
20566
 
fi
 
13453
case "$ac_dir" in
 
13454
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
13455
*)
 
13456
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
13457
  # A ".." for each directory in $ac_dir_suffix.
 
13458
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
13459
  case $ac_top_builddir_sub in
 
13460
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
13461
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
13462
  esac ;;
 
13463
esac
 
13464
ac_abs_top_builddir=$ac_pwd
 
13465
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
13466
# for backward compatibility:
 
13467
ac_top_builddir=$ac_top_build_prefix
20567
13468
 
20568
13469
case $srcdir in
20569
 
  .)  # No --srcdir option.  We are building in place.
 
13470
  .)  # We are building in place.
20570
13471
    ac_srcdir=.
20571
 
    if test -z "$ac_top_builddir"; then
20572
 
       ac_top_srcdir=.
20573
 
    else
20574
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
20575
 
    fi ;;
20576
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
13472
    ac_top_srcdir=$ac_top_builddir_sub
 
13473
    ac_abs_top_srcdir=$ac_pwd ;;
 
13474
  [\\/]* | ?:[\\/]* )  # Absolute name.
20577
13475
    ac_srcdir=$srcdir$ac_dir_suffix;
20578
 
    ac_top_srcdir=$srcdir ;;
20579
 
  *) # Relative path.
20580
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20581
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
20582
 
esac
20583
 
 
20584
 
# Do not use `cd foo && pwd` to compute absolute paths, because
20585
 
# the directories may not exist.
20586
 
case `pwd` in
20587
 
.) ac_abs_builddir="$ac_dir";;
20588
 
*)
20589
 
  case "$ac_dir" in
20590
 
  .) ac_abs_builddir=`pwd`;;
20591
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20592
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
20593
 
  esac;;
20594
 
esac
20595
 
case $ac_abs_builddir in
20596
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
20597
 
*)
20598
 
  case ${ac_top_builddir}. in
20599
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
20600
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20601
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20602
 
  esac;;
20603
 
esac
20604
 
case $ac_abs_builddir in
20605
 
.) ac_abs_srcdir=$ac_srcdir;;
20606
 
*)
20607
 
  case $ac_srcdir in
20608
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
20609
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20610
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20611
 
  esac;;
20612
 
esac
20613
 
case $ac_abs_builddir in
20614
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
20615
 
*)
20616
 
  case $ac_top_srcdir in
20617
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
20618
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20619
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20620
 
  esac;;
20621
 
esac
20622
 
 
 
13476
    ac_top_srcdir=$srcdir
 
13477
    ac_abs_top_srcdir=$srcdir ;;
 
13478
  *) # Relative name.
 
13479
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
13480
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
13481
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
13482
esac
 
13483
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
13484
 
 
13485
 
 
13486
  case $ac_mode in
 
13487
  :F)
 
13488
  #
 
13489
  # CONFIG_FILE
 
13490
  #
20623
13491
 
20624
13492
  case $INSTALL in
20625
13493
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20626
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
20627
 
  esac
20628
 
 
20629
 
  if test x"$ac_file" != x-; then
20630
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
20631
 
echo "$as_me: creating $ac_file" >&6;}
20632
 
    rm -f "$ac_file"
20633
 
  fi
20634
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
20635
 
  # use $as_me), people would be surprised to read:
20636
 
  #    /* config.h.  Generated by config.status.  */
20637
 
  if test x"$ac_file" = x-; then
20638
 
    configure_input=
20639
 
  else
20640
 
    configure_input="$ac_file.  "
20641
 
  fi
20642
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
20643
 
                                     sed 's,.*/,,'` by configure."
20644
 
 
20645
 
  # First look for the input files in the build tree, otherwise in the
20646
 
  # src tree.
20647
 
  ac_file_inputs=`IFS=:
20648
 
    for f in $ac_file_in; do
20649
 
      case $f in
20650
 
      -) echo $tmp/stdin ;;
20651
 
      [\\/$]*)
20652
 
         # Absolute (can't be DOS-style, as IFS=:)
20653
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20654
 
echo "$as_me: error: cannot find input file: $f" >&2;}
20655
 
   { (exit 1); exit 1; }; }
20656
 
         echo "$f";;
20657
 
      *) # Relative
20658
 
         if test -f "$f"; then
20659
 
           # Build tree
20660
 
           echo "$f"
20661
 
         elif test -f "$srcdir/$f"; then
20662
 
           # Source tree
20663
 
           echo "$srcdir/$f"
20664
 
         else
20665
 
           # /dev/null tree
20666
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20667
 
echo "$as_me: error: cannot find input file: $f" >&2;}
20668
 
   { (exit 1); exit 1; }; }
20669
 
         fi;;
20670
 
      esac
20671
 
    done` || { (exit 1); exit 1; }
20672
 
_ACEOF
20673
 
cat >>$CONFIG_STATUS <<_ACEOF
20674
 
  sed "$ac_vpsub
 
13494
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
13495
  esac
 
13496
  ac_MKDIR_P=$MKDIR_P
 
13497
  case $MKDIR_P in
 
13498
  [\\/$]* | ?:[\\/]* ) ;;
 
13499
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
13500
  esac
 
13501
_ACEOF
 
13502
 
 
13503
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13504
# If the template does not know about datarootdir, expand it.
 
13505
# FIXME: This hack should be removed a few years after 2.60.
 
13506
ac_datarootdir_hack=; ac_datarootdir_seen=
 
13507
 
 
13508
ac_sed_dataroot='
 
13509
/datarootdir/ {
 
13510
  p
 
13511
  q
 
13512
}
 
13513
/@datadir@/p
 
13514
/@docdir@/p
 
13515
/@infodir@/p
 
13516
/@localedir@/p
 
13517
/@mandir@/p
 
13518
'
 
13519
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
13520
*datarootdir*) ac_datarootdir_seen=yes;;
 
13521
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
13522
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
13523
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
13524
_ACEOF
 
13525
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13526
  ac_datarootdir_hack='
 
13527
  s&@datadir@&$datadir&g
 
13528
  s&@docdir@&$docdir&g
 
13529
  s&@infodir@&$infodir&g
 
13530
  s&@localedir@&$localedir&g
 
13531
  s&@mandir@&$mandir&g
 
13532
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
13533
esac
 
13534
_ACEOF
 
13535
 
 
13536
# Neutralize VPATH when `$srcdir' = `.'.
 
13537
# Shell code in configure.ac might set extrasub.
 
13538
# FIXME: do we really want to maintain this feature?
 
13539
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13540
ac_sed_extra="$ac_vpsub
20675
13541
$extrasub
20676
13542
_ACEOF
20677
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
13543
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20678
13544
:t
20679
13545
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20680
 
s,@configure_input@,$configure_input,;t t
20681
 
s,@srcdir@,$ac_srcdir,;t t
20682
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
20683
 
s,@top_srcdir@,$ac_top_srcdir,;t t
20684
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
20685
 
s,@builddir@,$ac_builddir,;t t
20686
 
s,@abs_builddir@,$ac_abs_builddir,;t t
20687
 
s,@top_builddir@,$ac_top_builddir,;t t
20688
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
20689
 
s,@INSTALL@,$ac_INSTALL,;t t
20690
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20691
 
  rm -f $tmp/stdin
20692
 
  if test x"$ac_file" != x-; then
20693
 
    mv $tmp/out $ac_file
20694
 
  else
20695
 
    cat $tmp/out
20696
 
    rm -f $tmp/out
20697
 
  fi
20698
 
 
20699
 
done
20700
 
_ACEOF
20701
 
cat >>$CONFIG_STATUS <<\_ACEOF
20702
 
 
20703
 
#
20704
 
# CONFIG_COMMANDS section.
20705
 
#
20706
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
20707
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
20708
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
20709
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
20710
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20711
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
20712
 
         X"$ac_dest" : 'X\(//\)$' \| \
20713
 
         X"$ac_dest" : 'X\(/\)' \| \
20714
 
         .     : '\(.\)' 2>/dev/null ||
20715
 
echo X"$ac_dest" |
20716
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20717
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20718
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20719
 
          /^X\(\/\).*/{ s//\1/; q; }
20720
 
          s/.*/./; q'`
20721
 
  { if $as_mkdir_p; then
20722
 
    mkdir -p "$ac_dir"
20723
 
  else
20724
 
    as_dir="$ac_dir"
20725
 
    as_dirs=
20726
 
    while test ! -d "$as_dir"; do
20727
 
      as_dirs="$as_dir $as_dirs"
20728
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
20729
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20730
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
20731
 
         X"$as_dir" : 'X\(//\)$' \| \
20732
 
         X"$as_dir" : 'X\(/\)' \| \
20733
 
         .     : '\(.\)' 2>/dev/null ||
20734
 
echo X"$as_dir" |
20735
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20736
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20737
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20738
 
          /^X\(\/\).*/{ s//\1/; q; }
20739
 
          s/.*/./; q'`
20740
 
    done
20741
 
    test ! -n "$as_dirs" || mkdir $as_dirs
20742
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20743
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20744
 
   { (exit 1); exit 1; }; }; }
20745
 
 
20746
 
  ac_builddir=.
20747
 
 
20748
 
if test "$ac_dir" != .; then
20749
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20750
 
  # A "../" for each directory in $ac_dir_suffix.
20751
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
13546
s|@configure_input@|$ac_sed_conf_input|;t t
 
13547
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
13548
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
13549
s&@srcdir@&$ac_srcdir&;t t
 
13550
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
13551
s&@top_srcdir@&$ac_top_srcdir&;t t
 
13552
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
13553
s&@builddir@&$ac_builddir&;t t
 
13554
s&@abs_builddir@&$ac_abs_builddir&;t t
 
13555
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
13556
s&@INSTALL@&$ac_INSTALL&;t t
 
13557
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
13558
$ac_datarootdir_hack
 
13559
"
 
13560
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
 
13561
if $ac_cs_awk_getline; then
 
13562
  $AWK -f "$tmp/subs.awk"
20752
13563
else
20753
 
  ac_dir_suffix= ac_top_builddir=
 
13564
  $AWK -f "$tmp/subs.awk" | $SHELL
 
13565
fi >$tmp/out \
 
13566
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
13567
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
13568
   { (exit 1); exit 1; }; }
 
13569
 
 
13570
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
13571
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
13572
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
13573
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
13574
which seems to be undefined.  Please make sure it is defined." >&5
 
13575
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
13576
which seems to be undefined.  Please make sure it is defined." >&2;}
 
13577
 
 
13578
  rm -f "$tmp/stdin"
 
13579
  case $ac_file in
 
13580
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
13581
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
13582
  esac \
 
13583
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
13584
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
13585
   { (exit 1); exit 1; }; }
 
13586
 ;;
 
13587
 
 
13588
 
 
13589
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
13590
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
13591
 ;;
 
13592
  esac
 
13593
 
 
13594
 
 
13595
  case $ac_file$ac_mode in
 
13596
    "libtool":C)
 
13597
 
 
13598
    # See if we are running on zsh, and set the options which allow our
 
13599
    # commands through without removal of \ escapes.
 
13600
    if test -n "${ZSH_VERSION+set}" ; then
 
13601
      setopt NO_GLOB_SUBST
 
13602
    fi
 
13603
 
 
13604
    cfgfile="${ofile}T"
 
13605
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
13606
    $RM "$cfgfile"
 
13607
 
 
13608
    cat <<_LT_EOF >> "$cfgfile"
 
13609
#! $SHELL
 
13610
 
 
13611
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
13612
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
13613
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
13614
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
13615
#
 
13616
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
13617
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
13618
#   Written by Gordon Matzigkeit, 1996
 
13619
#
 
13620
#   This file is part of GNU Libtool.
 
13621
#
 
13622
# GNU Libtool is free software; you can redistribute it and/or
 
13623
# modify it under the terms of the GNU General Public License as
 
13624
# published by the Free Software Foundation; either version 2 of
 
13625
# the License, or (at your option) any later version.
 
13626
#
 
13627
# As a special exception to the GNU General Public License,
 
13628
# if you distribute this file as part of a program or library that
 
13629
# is built using GNU Libtool, you may include this file under the
 
13630
# same distribution terms that you use for the rest of that program.
 
13631
#
 
13632
# GNU Libtool is distributed in the hope that it will be useful,
 
13633
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13634
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13635
# GNU General Public License for more details.
 
13636
#
 
13637
# You should have received a copy of the GNU General Public License
 
13638
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
13639
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
13640
# obtained by writing to the Free Software Foundation, Inc.,
 
13641
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
13642
 
 
13643
 
 
13644
# The names of the tagged configurations supported by this script.
 
13645
available_tags=""
 
13646
 
 
13647
# ### BEGIN LIBTOOL CONFIG
 
13648
 
 
13649
# Which release of libtool.m4 was used?
 
13650
macro_version=$macro_version
 
13651
macro_revision=$macro_revision
 
13652
 
 
13653
# Whether or not to build shared libraries.
 
13654
build_libtool_libs=$enable_shared
 
13655
 
 
13656
# Whether or not to build static libraries.
 
13657
build_old_libs=$enable_static
 
13658
 
 
13659
# What type of objects to build.
 
13660
pic_mode=$pic_mode
 
13661
 
 
13662
# Whether or not to optimize for fast installation.
 
13663
fast_install=$enable_fast_install
 
13664
 
 
13665
# The host system.
 
13666
host_alias=$host_alias
 
13667
host=$host
 
13668
host_os=$host_os
 
13669
 
 
13670
# The build system.
 
13671
build_alias=$build_alias
 
13672
build=$build
 
13673
build_os=$build_os
 
13674
 
 
13675
# A sed program that does not truncate output.
 
13676
SED=$lt_SED
 
13677
 
 
13678
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
13679
Xsed="\$SED -e 1s/^X//"
 
13680
 
 
13681
# A grep program that handles long lines.
 
13682
GREP=$lt_GREP
 
13683
 
 
13684
# An ERE matcher.
 
13685
EGREP=$lt_EGREP
 
13686
 
 
13687
# A literal string matcher.
 
13688
FGREP=$lt_FGREP
 
13689
 
 
13690
# A BSD- or MS-compatible name lister.
 
13691
NM=$lt_NM
 
13692
 
 
13693
# Whether we need soft or hard links.
 
13694
LN_S=$lt_LN_S
 
13695
 
 
13696
# What is the maximum length of a command?
 
13697
max_cmd_len=$max_cmd_len
 
13698
 
 
13699
# Object file suffix (normally "o").
 
13700
objext=$ac_objext
 
13701
 
 
13702
# Executable file suffix (normally "").
 
13703
exeext=$exeext
 
13704
 
 
13705
# whether the shell understands "unset".
 
13706
lt_unset=$lt_unset
 
13707
 
 
13708
# turn spaces into newlines.
 
13709
SP2NL=$lt_lt_SP2NL
 
13710
 
 
13711
# turn newlines into spaces.
 
13712
NL2SP=$lt_lt_NL2SP
 
13713
 
 
13714
# How to create reloadable object files.
 
13715
reload_flag=$lt_reload_flag
 
13716
reload_cmds=$lt_reload_cmds
 
13717
 
 
13718
# An object symbol dumper.
 
13719
OBJDUMP=$lt_OBJDUMP
 
13720
 
 
13721
# Method to check whether dependent libraries are shared objects.
 
13722
deplibs_check_method=$lt_deplibs_check_method
 
13723
 
 
13724
# Command to use when deplibs_check_method == "file_magic".
 
13725
file_magic_cmd=$lt_file_magic_cmd
 
13726
 
 
13727
# The archiver.
 
13728
AR=$lt_AR
 
13729
AR_FLAGS=$lt_AR_FLAGS
 
13730
 
 
13731
# A symbol stripping program.
 
13732
STRIP=$lt_STRIP
 
13733
 
 
13734
# Commands used to install an old-style archive.
 
13735
RANLIB=$lt_RANLIB
 
13736
old_postinstall_cmds=$lt_old_postinstall_cmds
 
13737
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
13738
 
 
13739
# A C compiler.
 
13740
LTCC=$lt_CC
 
13741
 
 
13742
# LTCC compiler flags.
 
13743
LTCFLAGS=$lt_CFLAGS
 
13744
 
 
13745
# Take the output of nm and produce a listing of raw symbols and C names.
 
13746
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
13747
 
 
13748
# Transform the output of nm in a proper C declaration.
 
13749
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
13750
 
 
13751
# Transform the output of nm in a C name address pair.
 
13752
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
13753
 
 
13754
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
13755
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
13756
 
 
13757
# The name of the directory that contains temporary libtool files.
 
13758
objdir=$objdir
 
13759
 
 
13760
# Shell to use when invoking shell scripts.
 
13761
SHELL=$lt_SHELL
 
13762
 
 
13763
# An echo program that does not interpret backslashes.
 
13764
ECHO=$lt_ECHO
 
13765
 
 
13766
# Used to examine libraries when file_magic_cmd begins with "file".
 
13767
MAGIC_CMD=$MAGIC_CMD
 
13768
 
 
13769
# Must we lock files when doing compilation?
 
13770
need_locks=$lt_need_locks
 
13771
 
 
13772
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
13773
DSYMUTIL=$lt_DSYMUTIL
 
13774
 
 
13775
# Tool to change global to local symbols on Mac OS X.
 
13776
NMEDIT=$lt_NMEDIT
 
13777
 
 
13778
# Tool to manipulate fat objects and archives on Mac OS X.
 
13779
LIPO=$lt_LIPO
 
13780
 
 
13781
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
13782
OTOOL=$lt_OTOOL
 
13783
 
 
13784
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
13785
OTOOL64=$lt_OTOOL64
 
13786
 
 
13787
# Old archive suffix (normally "a").
 
13788
libext=$libext
 
13789
 
 
13790
# Shared library suffix (normally ".so").
 
13791
shrext_cmds=$lt_shrext_cmds
 
13792
 
 
13793
# The commands to extract the exported symbol list from a shared archive.
 
13794
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
13795
 
 
13796
# Variables whose values should be saved in libtool wrapper scripts and
 
13797
# restored at link time.
 
13798
variables_saved_for_relink=$lt_variables_saved_for_relink
 
13799
 
 
13800
# Do we need the "lib" prefix for modules?
 
13801
need_lib_prefix=$need_lib_prefix
 
13802
 
 
13803
# Do we need a version for libraries?
 
13804
need_version=$need_version
 
13805
 
 
13806
# Library versioning type.
 
13807
version_type=$version_type
 
13808
 
 
13809
# Shared library runtime path variable.
 
13810
runpath_var=$runpath_var
 
13811
 
 
13812
# Shared library path variable.
 
13813
shlibpath_var=$shlibpath_var
 
13814
 
 
13815
# Is shlibpath searched before the hard-coded library search path?
 
13816
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
13817
 
 
13818
# Format of library name prefix.
 
13819
libname_spec=$lt_libname_spec
 
13820
 
 
13821
# List of archive names.  First name is the real one, the rest are links.
 
13822
# The last name is the one that the linker finds with -lNAME
 
13823
library_names_spec=$lt_library_names_spec
 
13824
 
 
13825
# The coded name of the library, if different from the real name.
 
13826
soname_spec=$lt_soname_spec
 
13827
 
 
13828
# Command to use after installation of a shared archive.
 
13829
postinstall_cmds=$lt_postinstall_cmds
 
13830
 
 
13831
# Command to use after uninstallation of a shared archive.
 
13832
postuninstall_cmds=$lt_postuninstall_cmds
 
13833
 
 
13834
# Commands used to finish a libtool library installation in a directory.
 
13835
finish_cmds=$lt_finish_cmds
 
13836
 
 
13837
# As "finish_cmds", except a single script fragment to be evaled but
 
13838
# not shown.
 
13839
finish_eval=$lt_finish_eval
 
13840
 
 
13841
# Whether we should hardcode library paths into libraries.
 
13842
hardcode_into_libs=$hardcode_into_libs
 
13843
 
 
13844
# Compile-time system search path for libraries.
 
13845
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
13846
 
 
13847
# Run-time system search path for libraries.
 
13848
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
13849
 
 
13850
# Whether dlopen is supported.
 
13851
dlopen_support=$enable_dlopen
 
13852
 
 
13853
# Whether dlopen of programs is supported.
 
13854
dlopen_self=$enable_dlopen_self
 
13855
 
 
13856
# Whether dlopen of statically linked programs is supported.
 
13857
dlopen_self_static=$enable_dlopen_self_static
 
13858
 
 
13859
# Commands to strip libraries.
 
13860
old_striplib=$lt_old_striplib
 
13861
striplib=$lt_striplib
 
13862
 
 
13863
 
 
13864
# The linker used to build libraries.
 
13865
LD=$lt_LD
 
13866
 
 
13867
# Commands used to build an old-style archive.
 
13868
old_archive_cmds=$lt_old_archive_cmds
 
13869
 
 
13870
# A language specific compiler.
 
13871
CC=$lt_compiler
 
13872
 
 
13873
# Is the compiler the GNU compiler?
 
13874
with_gcc=$GCC
 
13875
 
 
13876
# Compiler flag to turn off builtin functions.
 
13877
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
13878
 
 
13879
# How to pass a linker flag through the compiler.
 
13880
wl=$lt_lt_prog_compiler_wl
 
13881
 
 
13882
# Additional compiler flags for building library objects.
 
13883
pic_flag=$lt_lt_prog_compiler_pic
 
13884
 
 
13885
# Compiler flag to prevent dynamic linking.
 
13886
link_static_flag=$lt_lt_prog_compiler_static
 
13887
 
 
13888
# Does compiler simultaneously support -c and -o options?
 
13889
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
13890
 
 
13891
# Whether or not to add -lc for building shared libraries.
 
13892
build_libtool_need_lc=$archive_cmds_need_lc
 
13893
 
 
13894
# Whether or not to disallow shared libs when runtime libs are static.
 
13895
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
13896
 
 
13897
# Compiler flag to allow reflexive dlopens.
 
13898
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
13899
 
 
13900
# Compiler flag to generate shared objects directly from archives.
 
13901
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
13902
 
 
13903
# Whether the compiler copes with passing no objects directly.
 
13904
compiler_needs_object=$lt_compiler_needs_object
 
13905
 
 
13906
# Create an old-style archive from a shared archive.
 
13907
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
13908
 
 
13909
# Create a temporary old-style archive to link instead of a shared archive.
 
13910
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
13911
 
 
13912
# Commands used to build a shared archive.
 
13913
archive_cmds=$lt_archive_cmds
 
13914
archive_expsym_cmds=$lt_archive_expsym_cmds
 
13915
 
 
13916
# Commands used to build a loadable module if different from building
 
13917
# a shared archive.
 
13918
module_cmds=$lt_module_cmds
 
13919
module_expsym_cmds=$lt_module_expsym_cmds
 
13920
 
 
13921
# Whether we are building with GNU ld or not.
 
13922
with_gnu_ld=$lt_with_gnu_ld
 
13923
 
 
13924
# Flag that allows shared libraries with undefined symbols to be built.
 
13925
allow_undefined_flag=$lt_allow_undefined_flag
 
13926
 
 
13927
# Flag that enforces no undefined symbols.
 
13928
no_undefined_flag=$lt_no_undefined_flag
 
13929
 
 
13930
# Flag to hardcode \$libdir into a binary during linking.
 
13931
# This must work even if \$libdir does not exist
 
13932
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
13933
 
 
13934
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
13935
# during linking.  This must work even if \$libdir does not exist.
 
13936
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
13937
 
 
13938
# Whether we need a single "-rpath" flag with a separated argument.
 
13939
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
13940
 
 
13941
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
13942
# DIR into the resulting binary.
 
13943
hardcode_direct=$hardcode_direct
 
13944
 
 
13945
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
13946
# DIR into the resulting binary and the resulting library dependency is
 
13947
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
13948
# library is relocated.
 
13949
hardcode_direct_absolute=$hardcode_direct_absolute
 
13950
 
 
13951
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
13952
# into the resulting binary.
 
13953
hardcode_minus_L=$hardcode_minus_L
 
13954
 
 
13955
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
13956
# into the resulting binary.
 
13957
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
13958
 
 
13959
# Set to "yes" if building a shared library automatically hardcodes DIR
 
13960
# into the library and all subsequent libraries and executables linked
 
13961
# against it.
 
13962
hardcode_automatic=$hardcode_automatic
 
13963
 
 
13964
# Set to yes if linker adds runtime paths of dependent libraries
 
13965
# to runtime path list.
 
13966
inherit_rpath=$inherit_rpath
 
13967
 
 
13968
# Whether libtool must link a program against all its dependency libraries.
 
13969
link_all_deplibs=$link_all_deplibs
 
13970
 
 
13971
# Fix the shell variable \$srcfile for the compiler.
 
13972
fix_srcfile_path=$lt_fix_srcfile_path
 
13973
 
 
13974
# Set to "yes" if exported symbols are required.
 
13975
always_export_symbols=$always_export_symbols
 
13976
 
 
13977
# The commands to list exported symbols.
 
13978
export_symbols_cmds=$lt_export_symbols_cmds
 
13979
 
 
13980
# Symbols that should not be listed in the preloaded symbols.
 
13981
exclude_expsyms=$lt_exclude_expsyms
 
13982
 
 
13983
# Symbols that must always be exported.
 
13984
include_expsyms=$lt_include_expsyms
 
13985
 
 
13986
# Commands necessary for linking programs (against libraries) with templates.
 
13987
prelink_cmds=$lt_prelink_cmds
 
13988
 
 
13989
# Specify filename containing input files.
 
13990
file_list_spec=$lt_file_list_spec
 
13991
 
 
13992
# How to hardcode a shared library path into an executable.
 
13993
hardcode_action=$hardcode_action
 
13994
 
 
13995
# ### END LIBTOOL CONFIG
 
13996
 
 
13997
_LT_EOF
 
13998
 
 
13999
  case $host_os in
 
14000
  aix3*)
 
14001
    cat <<\_LT_EOF >> "$cfgfile"
 
14002
# AIX sometimes has problems with the GCC collect2 program.  For some
 
14003
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
14004
# vanish in a puff of smoke.
 
14005
if test "X${COLLECT_NAMES+set}" != Xset; then
 
14006
  COLLECT_NAMES=
 
14007
  export COLLECT_NAMES
20754
14008
fi
20755
 
 
20756
 
case $srcdir in
20757
 
  .)  # No --srcdir option.  We are building in place.
20758
 
    ac_srcdir=.
20759
 
    if test -z "$ac_top_builddir"; then
20760
 
       ac_top_srcdir=.
20761
 
    else
20762
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
20763
 
    fi ;;
20764
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
20765
 
    ac_srcdir=$srcdir$ac_dir_suffix;
20766
 
    ac_top_srcdir=$srcdir ;;
20767
 
  *) # Relative path.
20768
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20769
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
20770
 
esac
20771
 
 
20772
 
# Do not use `cd foo && pwd` to compute absolute paths, because
20773
 
# the directories may not exist.
20774
 
case `pwd` in
20775
 
.) ac_abs_builddir="$ac_dir";;
20776
 
*)
20777
 
  case "$ac_dir" in
20778
 
  .) ac_abs_builddir=`pwd`;;
20779
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20780
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
20781
 
  esac;;
20782
 
esac
20783
 
case $ac_abs_builddir in
20784
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
20785
 
*)
20786
 
  case ${ac_top_builddir}. in
20787
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
20788
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20789
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20790
 
  esac;;
20791
 
esac
20792
 
case $ac_abs_builddir in
20793
 
.) ac_abs_srcdir=$ac_srcdir;;
20794
 
*)
20795
 
  case $ac_srcdir in
20796
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
20797
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20798
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20799
 
  esac;;
20800
 
esac
20801
 
case $ac_abs_builddir in
20802
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
20803
 
*)
20804
 
  case $ac_top_srcdir in
20805
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
20806
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20807
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20808
 
  esac;;
20809
 
esac
20810
 
 
20811
 
 
20812
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20813
 
echo "$as_me: executing $ac_dest commands" >&6;}
20814
 
  case $ac_dest in
20815
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
20816
 
  # Strip MF so we end up with the name of the file.
20817
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
20818
 
  # Check whether this is an Automake generated Makefile or not.
20819
 
  # We used to match only the files named `Makefile.in', but
20820
 
  # some people rename them; so instead we look at the file content.
20821
 
  # Grep'ing the first line is not enough: some people post-process
20822
 
  # each Makefile.in and add a new line on top of each file to say so.
20823
 
  # So let's grep whole file.
20824
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
20825
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
14009
_LT_EOF
 
14010
    ;;
 
14011
  esac
 
14012
 
 
14013
 
 
14014
ltmain="$ac_aux_dir/ltmain.sh"
 
14015
 
 
14016
 
 
14017
  # We use sed instead of cat because bash on DJGPP gets confused if
 
14018
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
14019
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
14020
  # is reportedly fixed, but why not run on old versions too?
 
14021
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
14022
    || (rm -f "$cfgfile"; exit 1)
 
14023
 
 
14024
  case $xsi_shell in
 
14025
  yes)
 
14026
    cat << \_LT_EOF >> "$cfgfile"
 
14027
 
 
14028
# func_dirname file append nondir_replacement
 
14029
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
14030
# otherwise set result to NONDIR_REPLACEMENT.
 
14031
func_dirname ()
 
14032
{
 
14033
  case ${1} in
 
14034
    */*) func_dirname_result="${1%/*}${2}" ;;
 
14035
    *  ) func_dirname_result="${3}" ;;
 
14036
  esac
 
14037
}
 
14038
 
 
14039
# func_basename file
 
14040
func_basename ()
 
14041
{
 
14042
  func_basename_result="${1##*/}"
 
14043
}
 
14044
 
 
14045
# func_dirname_and_basename file append nondir_replacement
 
14046
# perform func_basename and func_dirname in a single function
 
14047
# call:
 
14048
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
14049
#             add APPEND to the result, otherwise set result
 
14050
#             to NONDIR_REPLACEMENT.
 
14051
#             value returned in "$func_dirname_result"
 
14052
#   basename: Compute filename of FILE.
 
14053
#             value retuned in "$func_basename_result"
 
14054
# Implementation must be kept synchronized with func_dirname
 
14055
# and func_basename. For efficiency, we do not delegate to
 
14056
# those functions but instead duplicate the functionality here.
 
14057
func_dirname_and_basename ()
 
14058
{
 
14059
  case ${1} in
 
14060
    */*) func_dirname_result="${1%/*}${2}" ;;
 
14061
    *  ) func_dirname_result="${3}" ;;
 
14062
  esac
 
14063
  func_basename_result="${1##*/}"
 
14064
}
 
14065
 
 
14066
# func_stripname prefix suffix name
 
14067
# strip PREFIX and SUFFIX off of NAME.
 
14068
# PREFIX and SUFFIX must not contain globbing or regex special
 
14069
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
14070
# dot (in which case that matches only a dot).
 
14071
func_stripname ()
 
14072
{
 
14073
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
14074
  # positional parameters, so assign one to ordinary parameter first.
 
14075
  func_stripname_result=${3}
 
14076
  func_stripname_result=${func_stripname_result#"${1}"}
 
14077
  func_stripname_result=${func_stripname_result%"${2}"}
 
14078
}
 
14079
 
 
14080
# func_opt_split
 
14081
func_opt_split ()
 
14082
{
 
14083
  func_opt_split_opt=${1%%=*}
 
14084
  func_opt_split_arg=${1#*=}
 
14085
}
 
14086
 
 
14087
# func_lo2o object
 
14088
func_lo2o ()
 
14089
{
 
14090
  case ${1} in
 
14091
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
14092
    *)    func_lo2o_result=${1} ;;
 
14093
  esac
 
14094
}
 
14095
 
 
14096
# func_xform libobj-or-source
 
14097
func_xform ()
 
14098
{
 
14099
  func_xform_result=${1%.*}.lo
 
14100
}
 
14101
 
 
14102
# func_arith arithmetic-term...
 
14103
func_arith ()
 
14104
{
 
14105
  func_arith_result=$(( $* ))
 
14106
}
 
14107
 
 
14108
# func_len string
 
14109
# STRING may not start with a hyphen.
 
14110
func_len ()
 
14111
{
 
14112
  func_len_result=${#1}
 
14113
}
 
14114
 
 
14115
_LT_EOF
 
14116
    ;;
 
14117
  *) # Bourne compatible functions.
 
14118
    cat << \_LT_EOF >> "$cfgfile"
 
14119
 
 
14120
# func_dirname file append nondir_replacement
 
14121
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
14122
# otherwise set result to NONDIR_REPLACEMENT.
 
14123
func_dirname ()
 
14124
{
 
14125
  # Extract subdirectory from the argument.
 
14126
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
14127
  if test "X$func_dirname_result" = "X${1}"; then
 
14128
    func_dirname_result="${3}"
 
14129
  else
 
14130
    func_dirname_result="$func_dirname_result${2}"
 
14131
  fi
 
14132
}
 
14133
 
 
14134
# func_basename file
 
14135
func_basename ()
 
14136
{
 
14137
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
14138
}
 
14139
 
 
14140
 
 
14141
# func_stripname prefix suffix name
 
14142
# strip PREFIX and SUFFIX off of NAME.
 
14143
# PREFIX and SUFFIX must not contain globbing or regex special
 
14144
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
14145
# dot (in which case that matches only a dot).
 
14146
# func_strip_suffix prefix name
 
14147
func_stripname ()
 
14148
{
 
14149
  case ${2} in
 
14150
    .*) func_stripname_result=`$ECHO "X${3}" \
 
14151
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
14152
    *)  func_stripname_result=`$ECHO "X${3}" \
 
14153
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
14154
  esac
 
14155
}
 
14156
 
 
14157
# sed scripts:
 
14158
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
14159
my_sed_long_arg='1s/^-[^=]*=//'
 
14160
 
 
14161
# func_opt_split
 
14162
func_opt_split ()
 
14163
{
 
14164
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
14165
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
14166
}
 
14167
 
 
14168
# func_lo2o object
 
14169
func_lo2o ()
 
14170
{
 
14171
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
14172
}
 
14173
 
 
14174
# func_xform libobj-or-source
 
14175
func_xform ()
 
14176
{
 
14177
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
14178
}
 
14179
 
 
14180
# func_arith arithmetic-term...
 
14181
func_arith ()
 
14182
{
 
14183
  func_arith_result=`expr "$@"`
 
14184
}
 
14185
 
 
14186
# func_len string
 
14187
# STRING may not start with a hyphen.
 
14188
func_len ()
 
14189
{
 
14190
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
14191
}
 
14192
 
 
14193
_LT_EOF
 
14194
esac
 
14195
 
 
14196
case $lt_shell_append in
 
14197
  yes)
 
14198
    cat << \_LT_EOF >> "$cfgfile"
 
14199
 
 
14200
# func_append var value
 
14201
# Append VALUE to the end of shell variable VAR.
 
14202
func_append ()
 
14203
{
 
14204
  eval "$1+=\$2"
 
14205
}
 
14206
_LT_EOF
 
14207
    ;;
 
14208
  *)
 
14209
    cat << \_LT_EOF >> "$cfgfile"
 
14210
 
 
14211
# func_append var value
 
14212
# Append VALUE to the end of shell variable VAR.
 
14213
func_append ()
 
14214
{
 
14215
  eval "$1=\$$1\$2"
 
14216
}
 
14217
 
 
14218
_LT_EOF
 
14219
    ;;
 
14220
  esac
 
14221
 
 
14222
 
 
14223
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
14224
    || (rm -f "$cfgfile"; exit 1)
 
14225
 
 
14226
  mv -f "$cfgfile" "$ofile" ||
 
14227
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
14228
  chmod +x "$ofile"
 
14229
 
 
14230
 ;;
 
14231
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
14232
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
14233
  # are listed without --file.  Let's play safe and only enable the eval
 
14234
  # if we detect the quoting.
 
14235
  case $CONFIG_FILES in
 
14236
  *\'*) eval set x "$CONFIG_FILES" ;;
 
14237
  *)   set x $CONFIG_FILES ;;
 
14238
  esac
 
14239
  shift
 
14240
  for mf
 
14241
  do
 
14242
    # Strip MF so we end up with the name of the file.
 
14243
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
14244
    # Check whether this is an Automake generated Makefile or not.
 
14245
    # We used to match only the files named `Makefile.in', but
 
14246
    # some people rename them; so instead we look at the file content.
 
14247
    # Grep'ing the first line is not enough: some people post-process
 
14248
    # each Makefile.in and add a new line on top of each file to say so.
 
14249
    # Grep'ing the whole file is not good either: AIX grep has a line
 
14250
    # limit of 2048, but all sed's we know have understand at least 4000.
 
14251
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
14252
      dirpart=`$as_dirname -- "$mf" ||
20826
14253
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20827
14254
         X"$mf" : 'X\(//\)[^/]' \| \
20828
14255
         X"$mf" : 'X\(//\)$' \| \
20829
 
         X"$mf" : 'X\(/\)' \| \
20830
 
         .     : '\(.\)' 2>/dev/null ||
20831
 
echo X"$mf" |
20832
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20833
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20834
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20835
 
          /^X\(\/\).*/{ s//\1/; q; }
20836
 
          s/.*/./; q'`
20837
 
  else
20838
 
    continue
20839
 
  fi
20840
 
  # Extract the definition of DEPDIR, am__include, and am__quote
20841
 
  # from the Makefile without running `make'.
20842
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20843
 
  test -z "$DEPDIR" && continue
20844
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
20845
 
  test -z "am__include" && continue
20846
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20847
 
  # When using ansi2knr, U may be empty or an underscore; expand it
20848
 
  U=`sed -n 's/^U = //p' < "$mf"`
20849
 
  # Find all dependency output files, they are included files with
20850
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
20851
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
20852
 
  # expansion.
20853
 
  for file in `sed -n "
20854
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20855
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20856
 
    # Make sure the directory exists.
20857
 
    test -f "$dirpart/$file" && continue
20858
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
14256
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
14257
$as_echo X"$mf" |
 
14258
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
14259
            s//\1/
 
14260
            q
 
14261
          }
 
14262
          /^X\(\/\/\)[^/].*/{
 
14263
            s//\1/
 
14264
            q
 
14265
          }
 
14266
          /^X\(\/\/\)$/{
 
14267
            s//\1/
 
14268
            q
 
14269
          }
 
14270
          /^X\(\/\).*/{
 
14271
            s//\1/
 
14272
            q
 
14273
          }
 
14274
          s/.*/./; q'`
 
14275
    else
 
14276
      continue
 
14277
    fi
 
14278
    # Extract the definition of DEPDIR, am__include, and am__quote
 
14279
    # from the Makefile without running `make'.
 
14280
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
14281
    test -z "$DEPDIR" && continue
 
14282
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
14283
    test -z "am__include" && continue
 
14284
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
14285
    # When using ansi2knr, U may be empty or an underscore; expand it
 
14286
    U=`sed -n 's/^U = //p' < "$mf"`
 
14287
    # Find all dependency output files, they are included files with
 
14288
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
14289
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
14290
    # expansion.
 
14291
    for file in `sed -n "
 
14292
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
14293
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
14294
      # Make sure the directory exists.
 
14295
      test -f "$dirpart/$file" && continue
 
14296
      fdir=`$as_dirname -- "$file" ||
20859
14297
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20860
14298
         X"$file" : 'X\(//\)[^/]' \| \
20861
14299
         X"$file" : 'X\(//\)$' \| \
20862
 
         X"$file" : 'X\(/\)' \| \
20863
 
         .     : '\(.\)' 2>/dev/null ||
20864
 
echo X"$file" |
20865
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20866
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20867
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20868
 
          /^X\(\/\).*/{ s//\1/; q; }
20869
 
          s/.*/./; q'`
20870
 
    { if $as_mkdir_p; then
20871
 
    mkdir -p $dirpart/$fdir
20872
 
  else
20873
 
    as_dir=$dirpart/$fdir
 
14300
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
14301
$as_echo X"$file" |
 
14302
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
14303
            s//\1/
 
14304
            q
 
14305
          }
 
14306
          /^X\(\/\/\)[^/].*/{
 
14307
            s//\1/
 
14308
            q
 
14309
          }
 
14310
          /^X\(\/\/\)$/{
 
14311
            s//\1/
 
14312
            q
 
14313
          }
 
14314
          /^X\(\/\).*/{
 
14315
            s//\1/
 
14316
            q
 
14317
          }
 
14318
          s/.*/./; q'`
 
14319
      { as_dir=$dirpart/$fdir
 
14320
  case $as_dir in #(
 
14321
  -*) as_dir=./$as_dir;;
 
14322
  esac
 
14323
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20874
14324
    as_dirs=
20875
 
    while test ! -d "$as_dir"; do
20876
 
      as_dirs="$as_dir $as_dirs"
20877
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
14325
    while :; do
 
14326
      case $as_dir in #(
 
14327
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
14328
      *) as_qdir=$as_dir;;
 
14329
      esac
 
14330
      as_dirs="'$as_qdir' $as_dirs"
 
14331
      as_dir=`$as_dirname -- "$as_dir" ||
20878
14332
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20879
14333
         X"$as_dir" : 'X\(//\)[^/]' \| \
20880
14334
         X"$as_dir" : 'X\(//\)$' \| \
20881
 
         X"$as_dir" : 'X\(/\)' \| \
20882
 
         .     : '\(.\)' 2>/dev/null ||
20883
 
echo X"$as_dir" |
20884
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20885
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20886
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20887
 
          /^X\(\/\).*/{ s//\1/; q; }
20888
 
          s/.*/./; q'`
 
14335
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
14336
$as_echo X"$as_dir" |
 
14337
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
14338
            s//\1/
 
14339
            q
 
14340
          }
 
14341
          /^X\(\/\/\)[^/].*/{
 
14342
            s//\1/
 
14343
            q
 
14344
          }
 
14345
          /^X\(\/\/\)$/{
 
14346
            s//\1/
 
14347
            q
 
14348
          }
 
14349
          /^X\(\/\).*/{
 
14350
            s//\1/
 
14351
            q
 
14352
          }
 
14353
          s/.*/./; q'`
 
14354
      test -d "$as_dir" && break
20889
14355
    done
20890
 
    test ! -n "$as_dirs" || mkdir $as_dirs
20891
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
20892
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
14356
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
14357
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
14358
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
20893
14359
   { (exit 1); exit 1; }; }; }
20894
 
 
20895
 
    # echo "creating $dirpart/$file"
20896
 
    echo '# dummy' > "$dirpart/$file"
 
14360
      # echo "creating $dirpart/$file"
 
14361
      echo '# dummy' > "$dirpart/$file"
 
14362
    done
20897
14363
  done
20898
 
done
 
14364
}
20899
14365
 ;;
 
14366
 
20900
14367
  esac
20901
 
done
20902
 
_ACEOF
 
14368
done # for ac_tag
20903
14369
 
20904
 
cat >>$CONFIG_STATUS <<\_ACEOF
20905
14370
 
20906
14371
{ (exit 0); exit 0; }
20907
14372
_ACEOF
20908
14373
chmod +x $CONFIG_STATUS
20909
14374
ac_clean_files=$ac_clean_files_save
20910
14375
 
 
14376
test $ac_write_fail = 0 ||
 
14377
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
14378
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
14379
   { (exit 1); exit 1; }; }
 
14380
 
20911
14381
 
20912
14382
# configure is writing to config.log, and then calls config.status.
20913
14383
# config.status does its own redirection, appending to config.log.
20929
14399
  # would make configure fail if this is the last instruction.
20930
14400
  $ac_cs_success || { (exit 1); exit 1; }
20931
14401
fi
 
14402
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
14403
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
14404
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
14405
fi
20932
14406