~ubuntu-branches/ubuntu/trusty/sblim-sfcb/trusty-proposed

« back to all changes in this revision

Viewing changes to mofc/configure

  • Committer: Bazaar Package Importer
  • Author(s): Thierry Carrez
  • Date: 2009-06-08 12:04:49 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090608120449-byfplk09rqz8rtg6
Tags: 1.3.3-0ubuntu1
* New upstream release.
* debian/rules: Removed rpath hacks, SFCB default build handles that now.
* Removed 1934753-remove-assignment.diff, now upstream.
* Refreshed patch cim-schema-location.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.59 for MOF Compiler 0.8.2.
 
3
# Generated by GNU Autoconf 2.63 for MOF Compiler 0.8.2.
4
4
#
5
5
# Report bugs to <sblim-devel@lists.sourceforge.net>.
6
6
#
7
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
8
9
# This configure script is free software; the Free Software Foundation
9
10
# gives unlimited permission to copy, distribute and modify it.
10
11
## --------------------- ##
11
12
## M4sh Initialization.  ##
12
13
## --------------------- ##
13
14
 
14
 
# Be Bourne compatible
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
 
  emulate sh
17
 
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
 
  # is contrary to our usage.  Disable this feature.
20
 
  alias -g '${1+"$@"}'='"$@"'
21
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
 
  set -o posix
23
 
fi
 
15
# Be more Bourne compatible
24
16
DUALCASE=1; export DUALCASE # for MKS sh
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
18
  emulate sh
 
19
  NULLCMD=:
 
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
21
  # is contrary to our usage.  Disable this feature.
 
22
  alias -g '${1+"$@"}'='"$@"'
 
23
  setopt NO_GLOB_SUBST
 
24
else
 
25
  case `(set -o) 2>/dev/null` in
 
26
  *posix*) set -o posix ;;
 
27
esac
 
28
 
 
29
fi
 
30
 
 
31
 
 
32
 
 
33
 
 
34
# PATH needs CR
 
35
# Avoid depending upon Character Ranges.
 
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
39
as_cr_digits='0123456789'
 
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
41
 
 
42
as_nl='
 
43
'
 
44
export as_nl
 
45
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
46
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
48
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
49
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
50
  as_echo='printf %s\n'
 
51
  as_echo_n='printf %s'
 
52
else
 
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
55
    as_echo_n='/usr/ucb/echo -n'
 
56
  else
 
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
58
    as_echo_n_body='eval
 
59
      arg=$1;
 
60
      case $arg in
 
61
      *"$as_nl"*)
 
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
64
      esac;
 
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
66
    '
 
67
    export as_echo_n_body
 
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
69
  fi
 
70
  export as_echo_body
 
71
  as_echo='sh -c $as_echo_body as_echo'
 
72
fi
 
73
 
 
74
# The user is always right.
 
75
if test "${PATH_SEPARATOR+set}" != set; then
 
76
  PATH_SEPARATOR=:
 
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
79
      PATH_SEPARATOR=';'
 
80
  }
 
81
fi
25
82
 
26
83
# Support unset when possible.
27
84
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
31
88
fi
32
89
 
33
90
 
 
91
# IFS
 
92
# We need space, tab and new line, in precisely that order.  Quoting is
 
93
# there to prevent editors from complaining about space-tab.
 
94
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
95
# splitting by setting IFS to empty value.)
 
96
IFS=" ""        $as_nl"
 
97
 
 
98
# Find who we are.  Look in the path if we contain no directory separator.
 
99
case $0 in
 
100
  *[\\/]* ) as_myself=$0 ;;
 
101
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
102
for as_dir in $PATH
 
103
do
 
104
  IFS=$as_save_IFS
 
105
  test -z "$as_dir" && as_dir=.
 
106
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
107
done
 
108
IFS=$as_save_IFS
 
109
 
 
110
     ;;
 
111
esac
 
112
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
113
# in which case we are not to be found in the path.
 
114
if test "x$as_myself" = x; then
 
115
  as_myself=$0
 
116
fi
 
117
if test ! -f "$as_myself"; then
 
118
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
119
  { (exit 1); exit 1; }
 
120
fi
 
121
 
34
122
# Work around bugs in pre-3.0 UWIN ksh.
35
 
$as_unset ENV MAIL MAILPATH
 
123
for as_var in ENV MAIL MAILPATH
 
124
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
125
done
36
126
PS1='$ '
37
127
PS2='> '
38
128
PS4='+ '
39
129
 
40
130
# NLS nuisances.
41
 
for as_var in \
42
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44
 
  LC_TELEPHONE LC_TIME
45
 
do
46
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
 
    eval $as_var=C; export $as_var
48
 
  else
49
 
    $as_unset $as_var
50
 
  fi
51
 
done
 
131
LC_ALL=C
 
132
export LC_ALL
 
133
LANGUAGE=C
 
134
export LANGUAGE
52
135
 
53
136
# Required to use basename.
54
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
138
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
55
139
  as_expr=expr
56
140
else
57
141
  as_expr=false
58
142
fi
59
143
 
60
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
144
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
61
145
  as_basename=basename
62
146
else
63
147
  as_basename=false
65
149
 
66
150
 
67
151
# Name of the executable.
68
 
as_me=`$as_basename "$0" ||
 
152
as_me=`$as_basename -- "$0" ||
69
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
154
         X"$0" : 'X\(//\)$' \| \
71
 
         X"$0" : 'X\(/\)$' \| \
72
 
         .     : '\(.\)' 2>/dev/null ||
73
 
echo X/"$0" |
74
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
76
 
          /^X\/\(\/\).*/{ s//\1/; q; }
77
 
          s/.*/./; q'`
78
 
 
79
 
 
80
 
# PATH needs CR, and LINENO needs CR and PATH.
81
 
# Avoid depending upon Character Ranges.
82
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
 
as_cr_digits='0123456789'
86
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
87
 
 
88
 
# The user is always right.
89
 
if test "${PATH_SEPARATOR+set}" != set; then
90
 
  echo "#! /bin/sh" >conf$$.sh
91
 
  echo  "exit 0"   >>conf$$.sh
92
 
  chmod +x conf$$.sh
93
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94
 
    PATH_SEPARATOR=';'
95
 
  else
96
 
    PATH_SEPARATOR=:
97
 
  fi
98
 
  rm -f conf$$.sh
99
 
fi
100
 
 
101
 
 
102
 
  as_lineno_1=$LINENO
103
 
  as_lineno_2=$LINENO
104
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
106
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107
 
  # Find who we are.  Look in the path if we contain no path at all
108
 
  # relative or not.
109
 
  case $0 in
110
 
    *[\\/]* ) as_myself=$0 ;;
111
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112
 
for as_dir in $PATH
113
 
do
114
 
  IFS=$as_save_IFS
115
 
  test -z "$as_dir" && as_dir=.
116
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117
 
done
118
 
 
119
 
       ;;
120
 
  esac
121
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
122
 
  # in which case we are not to be found in the path.
123
 
  if test "x$as_myself" = x; then
124
 
    as_myself=$0
125
 
  fi
126
 
  if test ! -f "$as_myself"; then
127
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
 
   { (exit 1); exit 1; }; }
129
 
  fi
130
 
  case $CONFIG_SHELL in
131
 
  '')
 
155
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
156
$as_echo X/"$0" |
 
157
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
158
            s//\1/
 
159
            q
 
160
          }
 
161
          /^X\/\(\/\/\)$/{
 
162
            s//\1/
 
163
            q
 
164
          }
 
165
          /^X\/\(\/\).*/{
 
166
            s//\1/
 
167
            q
 
168
          }
 
169
          s/.*/./; q'`
 
170
 
 
171
# CDPATH.
 
172
$as_unset CDPATH
 
173
 
 
174
 
 
175
if test "x$CONFIG_SHELL" = x; then
 
176
  if (eval ":") 2>/dev/null; then
 
177
  as_have_required=yes
 
178
else
 
179
  as_have_required=no
 
180
fi
 
181
 
 
182
  if test $as_have_required = yes &&     (eval ":
 
183
(as_func_return () {
 
184
  (exit \$1)
 
185
}
 
186
as_func_success () {
 
187
  as_func_return 0
 
188
}
 
189
as_func_failure () {
 
190
  as_func_return 1
 
191
}
 
192
as_func_ret_success () {
 
193
  return 0
 
194
}
 
195
as_func_ret_failure () {
 
196
  return 1
 
197
}
 
198
 
 
199
exitcode=0
 
200
if as_func_success; then
 
201
  :
 
202
else
 
203
  exitcode=1
 
204
  echo as_func_success failed.
 
205
fi
 
206
 
 
207
if as_func_failure; then
 
208
  exitcode=1
 
209
  echo as_func_failure succeeded.
 
210
fi
 
211
 
 
212
if as_func_ret_success; then
 
213
  :
 
214
else
 
215
  exitcode=1
 
216
  echo as_func_ret_success failed.
 
217
fi
 
218
 
 
219
if as_func_ret_failure; then
 
220
  exitcode=1
 
221
  echo as_func_ret_failure succeeded.
 
222
fi
 
223
 
 
224
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
225
  :
 
226
else
 
227
  exitcode=1
 
228
  echo positional parameters were not saved.
 
229
fi
 
230
 
 
231
test \$exitcode = 0) || { (exit 1); exit 1; }
 
232
 
 
233
(
 
234
  as_lineno_1=\$LINENO
 
235
  as_lineno_2=\$LINENO
 
236
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
237
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
238
") 2> /dev/null; then
 
239
  :
 
240
else
 
241
  as_candidate_shells=
132
242
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
243
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
244
do
135
245
  IFS=$as_save_IFS
136
246
  test -z "$as_dir" && as_dir=.
137
 
  for as_base in sh bash ksh sh5; do
138
 
         case $as_dir in
 
247
  case $as_dir in
139
248
         /*)
140
 
           if ("$as_dir/$as_base" -c '
141
 
  as_lineno_1=$LINENO
142
 
  as_lineno_2=$LINENO
143
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
145
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
 
             CONFIG_SHELL=$as_dir/$as_base
149
 
             export CONFIG_SHELL
150
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151
 
           fi;;
152
 
         esac
153
 
       done
 
249
           for as_base in sh bash ksh sh5; do
 
250
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
251
           done;;
 
252
       esac
154
253
done
155
 
;;
156
 
  esac
 
254
IFS=$as_save_IFS
 
255
 
 
256
 
 
257
      for as_shell in $as_candidate_shells $SHELL; do
 
258
         # Try only shells that exist, to save several forks.
 
259
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
260
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
262
  emulate sh
 
263
  NULLCMD=:
 
264
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
265
  # is contrary to our usage.  Disable this feature.
 
266
  alias -g '${1+"$@"}'='"$@"'
 
267
  setopt NO_GLOB_SUBST
 
268
else
 
269
  case `(set -o) 2>/dev/null` in
 
270
  *posix*) set -o posix ;;
 
271
esac
 
272
 
 
273
fi
 
274
 
 
275
 
 
276
:
 
277
_ASEOF
 
278
}; then
 
279
  CONFIG_SHELL=$as_shell
 
280
               as_have_required=yes
 
281
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
283
  emulate sh
 
284
  NULLCMD=:
 
285
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
286
  # is contrary to our usage.  Disable this feature.
 
287
  alias -g '${1+"$@"}'='"$@"'
 
288
  setopt NO_GLOB_SUBST
 
289
else
 
290
  case `(set -o) 2>/dev/null` in
 
291
  *posix*) set -o posix ;;
 
292
esac
 
293
 
 
294
fi
 
295
 
 
296
 
 
297
:
 
298
(as_func_return () {
 
299
  (exit $1)
 
300
}
 
301
as_func_success () {
 
302
  as_func_return 0
 
303
}
 
304
as_func_failure () {
 
305
  as_func_return 1
 
306
}
 
307
as_func_ret_success () {
 
308
  return 0
 
309
}
 
310
as_func_ret_failure () {
 
311
  return 1
 
312
}
 
313
 
 
314
exitcode=0
 
315
if as_func_success; then
 
316
  :
 
317
else
 
318
  exitcode=1
 
319
  echo as_func_success failed.
 
320
fi
 
321
 
 
322
if as_func_failure; then
 
323
  exitcode=1
 
324
  echo as_func_failure succeeded.
 
325
fi
 
326
 
 
327
if as_func_ret_success; then
 
328
  :
 
329
else
 
330
  exitcode=1
 
331
  echo as_func_ret_success failed.
 
332
fi
 
333
 
 
334
if as_func_ret_failure; then
 
335
  exitcode=1
 
336
  echo as_func_ret_failure succeeded.
 
337
fi
 
338
 
 
339
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
340
  :
 
341
else
 
342
  exitcode=1
 
343
  echo positional parameters were not saved.
 
344
fi
 
345
 
 
346
test $exitcode = 0) || { (exit 1); exit 1; }
 
347
 
 
348
(
 
349
  as_lineno_1=$LINENO
 
350
  as_lineno_2=$LINENO
 
351
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
352
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
353
 
 
354
_ASEOF
 
355
}; then
 
356
  break
 
357
fi
 
358
 
 
359
fi
 
360
 
 
361
      done
 
362
 
 
363
      if test "x$CONFIG_SHELL" != x; then
 
364
  for as_var in BASH_ENV ENV
 
365
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
366
        done
 
367
        export CONFIG_SHELL
 
368
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
369
fi
 
370
 
 
371
 
 
372
    if test $as_have_required = no; then
 
373
  echo This script requires a shell more modern than all the
 
374
      echo shells that I found on your system.  Please install a
 
375
      echo modern shell, or manually run the script under such a
 
376
      echo shell if you do have one.
 
377
      { (exit 1); exit 1; }
 
378
fi
 
379
 
 
380
 
 
381
fi
 
382
 
 
383
fi
 
384
 
 
385
 
 
386
 
 
387
(eval "as_func_return () {
 
388
  (exit \$1)
 
389
}
 
390
as_func_success () {
 
391
  as_func_return 0
 
392
}
 
393
as_func_failure () {
 
394
  as_func_return 1
 
395
}
 
396
as_func_ret_success () {
 
397
  return 0
 
398
}
 
399
as_func_ret_failure () {
 
400
  return 1
 
401
}
 
402
 
 
403
exitcode=0
 
404
if as_func_success; then
 
405
  :
 
406
else
 
407
  exitcode=1
 
408
  echo as_func_success failed.
 
409
fi
 
410
 
 
411
if as_func_failure; then
 
412
  exitcode=1
 
413
  echo as_func_failure succeeded.
 
414
fi
 
415
 
 
416
if as_func_ret_success; then
 
417
  :
 
418
else
 
419
  exitcode=1
 
420
  echo as_func_ret_success failed.
 
421
fi
 
422
 
 
423
if as_func_ret_failure; then
 
424
  exitcode=1
 
425
  echo as_func_ret_failure succeeded.
 
426
fi
 
427
 
 
428
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
429
  :
 
430
else
 
431
  exitcode=1
 
432
  echo positional parameters were not saved.
 
433
fi
 
434
 
 
435
test \$exitcode = 0") || {
 
436
  echo No shell found that supports shell functions.
 
437
  echo Please tell bug-autoconf@gnu.org about your system,
 
438
  echo including any error possibly output before this message.
 
439
  echo This can help us improve future autoconf versions.
 
440
  echo Configuration will now proceed without shell functions.
 
441
}
 
442
 
 
443
 
 
444
 
 
445
  as_lineno_1=$LINENO
 
446
  as_lineno_2=$LINENO
 
447
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
448
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
157
449
 
158
450
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
451
  # uniformly replaced by the line number.  The first 'sed' inserts a
160
 
  # line-number line before each line; the second 'sed' does the real
161
 
  # work.  The second script uses 'N' to pair each line-number line
162
 
  # with the numbered line, and appends trailing '-' during
163
 
  # substitution so that $LINENO is not a special case at line end.
 
452
  # line-number line after each line using $LINENO; the second 'sed'
 
453
  # does the real work.  The second script uses 'N' to pair each
 
454
  # line-number line with the line containing $LINENO, and appends
 
455
  # trailing '-' during substitution so that $LINENO is not a special
 
456
  # case at line end.
164
457
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166
 
  sed '=' <$as_myself |
 
458
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
459
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
460
  sed -n '
 
461
    p
 
462
    /[$]LINENO/=
 
463
  ' <$as_myself |
167
464
    sed '
 
465
      s/[$]LINENO.*/&-/
 
466
      t lineno
 
467
      b
 
468
      :lineno
168
469
      N
169
 
      s,$,-,
170
 
      : loop
171
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
470
      :loop
 
471
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172
472
      t loop
173
 
      s,-$,,
174
 
      s,^['$as_cr_digits']*\n,,
 
473
      s/-\n.*//
175
474
    ' >$as_me.lineno &&
176
 
  chmod +x $as_me.lineno ||
177
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
475
  chmod +x "$as_me.lineno" ||
 
476
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
477
   { (exit 1); exit 1; }; }
179
478
 
180
479
  # Don't try to exec as it changes $[0], causing all sort of problems
181
480
  # (the dirname of $[0] is not the place where we might find the
182
 
  # original and so on.  Autoconf is especially sensible to this).
183
 
  . ./$as_me.lineno
 
481
  # original and so on.  Autoconf is especially sensitive to this).
 
482
  . "./$as_me.lineno"
184
483
  # Exit status is that of the last command.
185
484
  exit
186
485
}
187
486
 
188
487
 
189
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
 
  *c*,-n*) ECHO_N= ECHO_C='
191
 
' ECHO_T='      ' ;;
192
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
488
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
489
  as_dirname=dirname
 
490
else
 
491
  as_dirname=false
 
492
fi
 
493
 
 
494
ECHO_C= ECHO_N= ECHO_T=
 
495
case `echo -n x` in
 
496
-n*)
 
497
  case `echo 'x\c'` in
 
498
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
499
  *)   ECHO_C='\c';;
 
500
  esac;;
 
501
*)
 
502
  ECHO_N='-n';;
194
503
esac
195
 
 
196
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
504
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
505
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
197
506
  as_expr=expr
198
507
else
199
508
  as_expr=false
200
509
fi
201
510
 
202
511
rm -f conf$$ conf$$.exe conf$$.file
203
 
echo >conf$$.file
204
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
 
  # We could just check for DJGPP; but this test a) works b) is more generic
206
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
 
  if test -f conf$$.exe; then
208
 
    # Don't use ln at all; we don't have any links
 
512
if test -d conf$$.dir; then
 
513
  rm -f conf$$.dir/conf$$.file
 
514
else
 
515
  rm -f conf$$.dir
 
516
  mkdir conf$$.dir 2>/dev/null
 
517
fi
 
518
if (echo >conf$$.file) 2>/dev/null; then
 
519
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
520
    as_ln_s='ln -s'
 
521
    # ... but there are two gotchas:
 
522
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
523
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
524
    # In both cases, we have to default to `cp -p'.
 
525
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
526
      as_ln_s='cp -p'
 
527
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
528
    as_ln_s=ln
 
529
  else
209
530
    as_ln_s='cp -p'
210
 
  else
211
 
    as_ln_s='ln -s'
212
531
  fi
213
 
elif ln conf$$.file conf$$ 2>/dev/null; then
214
 
  as_ln_s=ln
215
532
else
216
533
  as_ln_s='cp -p'
217
534
fi
218
 
rm -f conf$$ conf$$.exe conf$$.file
 
535
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
536
rmdir conf$$.dir 2>/dev/null
219
537
 
220
538
if mkdir -p . 2>/dev/null; then
221
539
  as_mkdir_p=:
224
542
  as_mkdir_p=false
225
543
fi
226
544
 
227
 
as_executable_p="test -f"
 
545
if test -x / >/dev/null 2>&1; then
 
546
  as_test_x='test -x'
 
547
else
 
548
  if ls -dL / >/dev/null 2>&1; then
 
549
    as_ls_L_option=L
 
550
  else
 
551
    as_ls_L_option=
 
552
  fi
 
553
  as_test_x='
 
554
    eval sh -c '\''
 
555
      if test -d "$1"; then
 
556
        test -d "$1/.";
 
557
      else
 
558
        case $1 in
 
559
        -*)set "./$1";;
 
560
        esac;
 
561
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
562
        ???[sx]*):;;*)false;;esac;fi
 
563
    '\'' sh
 
564
  '
 
565
fi
 
566
as_executable_p=$as_test_x
228
567
 
229
568
# Sed expression to map a string onto a valid CPP name.
230
569
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233
572
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
573
 
235
574
 
236
 
# IFS
237
 
# We need space, tab and new line, in precisely that order.
238
 
as_nl='
239
 
'
240
 
IFS="   $as_nl"
241
 
 
242
 
# CDPATH.
243
 
$as_unset CDPATH
244
 
 
 
575
 
 
576
 
 
577
# Check that we are running under the correct shell.
 
578
SHELL=${CONFIG_SHELL-/bin/sh}
 
579
 
 
580
case X$ECHO in
 
581
X*--fallback-echo)
 
582
  # Remove one level of quotation (which was required for Make).
 
583
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
584
  ;;
 
585
esac
 
586
 
 
587
echo=${ECHO-echo}
 
588
if test "X$1" = X--no-reexec; then
 
589
  # Discard the --no-reexec flag, and continue.
 
590
  shift
 
591
elif test "X$1" = X--fallback-echo; then
 
592
  # Avoid inline document here, it may be left over
 
593
  :
 
594
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
 
595
  # Yippee, $echo works!
 
596
  :
 
597
else
 
598
  # Restart under the correct shell.
 
599
  exec $SHELL "$0" --no-reexec ${1+"$@"}
 
600
fi
 
601
 
 
602
if test "X$1" = X--fallback-echo; then
 
603
  # used as fallback echo
 
604
  shift
 
605
  cat <<EOF
 
606
$*
 
607
EOF
 
608
  exit 0
 
609
fi
 
610
 
 
611
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
612
# if CDPATH is set.
 
613
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
614
 
 
615
if test -z "$ECHO"; then
 
616
if test "X${echo_test_string+set}" != Xset; then
 
617
# find a string as large as possible, as long as the shell can cope with it
 
618
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
619
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
620
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
 
621
       echo_test_string=`eval $cmd` &&
 
622
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
 
623
    then
 
624
      break
 
625
    fi
 
626
  done
 
627
fi
 
628
 
 
629
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
 
630
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
 
631
   test "X$echo_testing_string" = "X$echo_test_string"; then
 
632
  :
 
633
else
 
634
  # The Solaris, AIX, and Digital Unix default echo programs unquote
 
635
  # backslashes.  This makes it impossible to quote backslashes using
 
636
  #   echo "$something" | sed 's/\\/\\\\/g'
 
637
  #
 
638
  # So, first we look for a working echo in the user's PATH.
 
639
 
 
640
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
641
  for dir in $PATH /usr/ucb; do
 
642
    IFS="$lt_save_ifs"
 
643
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
644
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
645
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
646
       test "X$echo_testing_string" = "X$echo_test_string"; then
 
647
      echo="$dir/echo"
 
648
      break
 
649
    fi
 
650
  done
 
651
  IFS="$lt_save_ifs"
 
652
 
 
653
  if test "X$echo" = Xecho; then
 
654
    # We didn't find a better echo, so look for alternatives.
 
655
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
 
656
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
 
657
       test "X$echo_testing_string" = "X$echo_test_string"; then
 
658
      # This shell has a builtin print -r that does the trick.
 
659
      echo='print -r'
 
660
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
 
661
         test "X$CONFIG_SHELL" != X/bin/ksh; then
 
662
      # If we have ksh, try running configure again with it.
 
663
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
664
      export ORIGINAL_CONFIG_SHELL
 
665
      CONFIG_SHELL=/bin/ksh
 
666
      export CONFIG_SHELL
 
667
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
 
668
    else
 
669
      # Try using printf.
 
670
      echo='printf %s\n'
 
671
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
 
672
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
 
673
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
674
        # Cool, printf works
 
675
        :
 
676
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
677
           test "X$echo_testing_string" = 'X\t' &&
 
678
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
679
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
680
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
681
        export CONFIG_SHELL
 
682
        SHELL="$CONFIG_SHELL"
 
683
        export SHELL
 
684
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
685
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
686
           test "X$echo_testing_string" = 'X\t' &&
 
687
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
688
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
689
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
690
      else
 
691
        # maybe with a smaller string...
 
692
        prev=:
 
693
 
 
694
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
695
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
 
696
          then
 
697
            break
 
698
          fi
 
699
          prev="$cmd"
 
700
        done
 
701
 
 
702
        if test "$prev" != 'sed 50q "$0"'; then
 
703
          echo_test_string=`eval $prev`
 
704
          export echo_test_string
 
705
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
706
        else
 
707
          # Oops.  We lost completely, so just stick with echo.
 
708
          echo=echo
 
709
        fi
 
710
      fi
 
711
    fi
 
712
  fi
 
713
fi
 
714
fi
 
715
 
 
716
# Copy echo and quote the copy suitably for passing to libtool from
 
717
# the Makefile, instead of quoting the original, which is used later.
 
718
ECHO=$echo
 
719
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
720
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
721
fi
 
722
 
 
723
 
 
724
 
 
725
 
 
726
tagnames=${tagnames+${tagnames},}CXX
 
727
 
 
728
tagnames=${tagnames+${tagnames},}F77
 
729
 
 
730
exec 7<&0 </dev/null 6>&1
245
731
 
246
732
# Name of the host.
247
733
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248
734
# so uname gets run too.
249
735
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
736
 
251
 
exec 6>&1
252
 
 
253
737
#
254
738
# Initializations.
255
739
#
256
740
ac_default_prefix=/usr/local
 
741
ac_clean_files=
257
742
ac_config_libobj_dir=.
 
743
LIBOBJS=
258
744
cross_compiling=no
259
745
subdirs=
260
746
MFLAGS=
261
747
MAKEFLAGS=
262
748
SHELL=${CONFIG_SHELL-/bin/sh}
263
749
 
264
 
# Maximum number of lines to put in a shell here document.
265
 
# This variable seems obsolete.  It should probably be removed, and
266
 
# only ac_max_sed_lines should be used.
267
 
: ${ac_max_here_lines=38}
268
 
 
269
750
# Identity of this package.
270
751
PACKAGE_NAME='MOF Compiler'
271
752
PACKAGE_TARNAME='mofc'
277
758
# Factoring default headers for most tests.
278
759
ac_includes_default="\
279
760
#include <stdio.h>
280
 
#if HAVE_SYS_TYPES_H
 
761
#ifdef HAVE_SYS_TYPES_H
281
762
# include <sys/types.h>
282
763
#endif
283
 
#if HAVE_SYS_STAT_H
 
764
#ifdef HAVE_SYS_STAT_H
284
765
# include <sys/stat.h>
285
766
#endif
286
 
#if STDC_HEADERS
 
767
#ifdef STDC_HEADERS
287
768
# include <stdlib.h>
288
769
# include <stddef.h>
289
770
#else
290
 
# if HAVE_STDLIB_H
 
771
# ifdef HAVE_STDLIB_H
291
772
#  include <stdlib.h>
292
773
# endif
293
774
#endif
294
 
#if HAVE_STRING_H
295
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
775
#ifdef HAVE_STRING_H
 
776
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
296
777
#  include <memory.h>
297
778
# endif
298
779
# include <string.h>
299
780
#endif
300
 
#if HAVE_STRINGS_H
 
781
#ifdef HAVE_STRINGS_H
301
782
# include <strings.h>
302
783
#endif
303
 
#if HAVE_INTTYPES_H
 
784
#ifdef HAVE_INTTYPES_H
304
785
# include <inttypes.h>
305
 
#else
306
 
# if HAVE_STDINT_H
307
 
#  include <stdint.h>
308
 
# endif
309
 
#endif
310
 
#if HAVE_UNISTD_H
 
786
#endif
 
787
#ifdef HAVE_STDINT_H
 
788
# include <stdint.h>
 
789
#endif
 
790
#ifdef HAVE_UNISTD_H
311
791
# include <unistd.h>
312
792
#endif"
313
793
 
314
 
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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar build build_cpu build_vendor build_os host host_cpu host_vendor host_os MOFC_CPPFLAGS MOFC_CFLAGS MOFC_LDFLAGS SFCB_DIR CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE YACC LEX LEXLIB LEX_OUTPUT_ROOT CPP EGREP LIBOBJS TESTSCANNER_TRUE TESTSCANNER_FALSE ALTERNATE_MOFCNAME_TRUE ALTERNATE_MOFCNAME_FALSE MOFCNAME BACKEND_OBJ BACKEND_LIBS BACKEND_INCLUDES LTLIBOBJS'
 
794
ac_subst_vars='LTLIBOBJS
 
795
BACKEND_INCLUDES
 
796
BACKEND_LIBS
 
797
BACKEND_OBJ
 
798
MOFCNAME
 
799
ALTERNATE_MOFCNAME_FALSE
 
800
ALTERNATE_MOFCNAME_TRUE
 
801
TESTSCANNER_FALSE
 
802
TESTSCANNER_TRUE
 
803
LIBOBJS
 
804
LIBTOOL
 
805
ac_ct_F77
 
806
FFLAGS
 
807
F77
 
808
CXXCPP
 
809
am__fastdepCXX_FALSE
 
810
am__fastdepCXX_TRUE
 
811
CXXDEPMODE
 
812
ac_ct_CXX
 
813
CXXFLAGS
 
814
CXX
 
815
CPP
 
816
NMEDIT
 
817
DSYMUTIL
 
818
RANLIB
 
819
AR
 
820
ECHO
 
821
LN_S
 
822
EGREP
 
823
GREP
 
824
SED
 
825
LEXLIB
 
826
LEX_OUTPUT_ROOT
 
827
LEX
 
828
YFLAGS
 
829
YACC
 
830
am__fastdepCC_FALSE
 
831
am__fastdepCC_TRUE
 
832
CCDEPMODE
 
833
AMDEPBACKSLASH
 
834
AMDEP_FALSE
 
835
AMDEP_TRUE
 
836
am__quote
 
837
am__include
 
838
DEPDIR
 
839
OBJEXT
 
840
EXEEXT
 
841
ac_ct_CC
 
842
CPPFLAGS
 
843
LDFLAGS
 
844
CFLAGS
 
845
CC
 
846
SFCB_DIR
 
847
MOFC_LDFLAGS
 
848
MOFC_CFLAGS
 
849
MOFC_CPPFLAGS
 
850
host_os
 
851
host_vendor
 
852
host_cpu
 
853
host
 
854
build_os
 
855
build_vendor
 
856
build_cpu
 
857
build
 
858
am__untar
 
859
am__tar
 
860
AMTAR
 
861
am__leading_dot
 
862
SET_MAKE
 
863
AWK
 
864
mkdir_p
 
865
MKDIR_P
 
866
INSTALL_STRIP_PROGRAM
 
867
STRIP
 
868
install_sh
 
869
MAKEINFO
 
870
AUTOHEADER
 
871
AUTOMAKE
 
872
AUTOCONF
 
873
ACLOCAL
 
874
VERSION
 
875
PACKAGE
 
876
CYGPATH_W
 
877
am__isrc
 
878
INSTALL_DATA
 
879
INSTALL_SCRIPT
 
880
INSTALL_PROGRAM
 
881
target_alias
 
882
host_alias
 
883
build_alias
 
884
LIBS
 
885
ECHO_T
 
886
ECHO_N
 
887
ECHO_C
 
888
DEFS
 
889
mandir
 
890
localedir
 
891
libdir
 
892
psdir
 
893
pdfdir
 
894
dvidir
 
895
htmldir
 
896
infodir
 
897
docdir
 
898
oldincludedir
 
899
includedir
 
900
localstatedir
 
901
sharedstatedir
 
902
sysconfdir
 
903
datadir
 
904
datarootdir
 
905
libexecdir
 
906
sbindir
 
907
bindir
 
908
program_transform_name
 
909
prefix
 
910
exec_prefix
 
911
PACKAGE_BUGREPORT
 
912
PACKAGE_STRING
 
913
PACKAGE_VERSION
 
914
PACKAGE_TARNAME
 
915
PACKAGE_NAME
 
916
PATH_SEPARATOR
 
917
SHELL'
315
918
ac_subst_files=''
 
919
ac_user_opts='
 
920
enable_option_checking
 
921
enable_relax_mofsyntax
 
922
enable_onepass
 
923
enable_namespace_kludge
 
924
enable_testscanner
 
925
with_sfcb
 
926
enable_dependency_tracking
 
927
enable_shared
 
928
enable_static
 
929
enable_fast_install
 
930
with_gnu_ld
 
931
enable_libtool_lock
 
932
with_pic
 
933
with_tags
 
934
'
 
935
      ac_precious_vars='build_alias
 
936
host_alias
 
937
target_alias
 
938
SFCB_DIR
 
939
CC
 
940
CFLAGS
 
941
LDFLAGS
 
942
LIBS
 
943
CPPFLAGS
 
944
YACC
 
945
YFLAGS
 
946
CPP
 
947
CXX
 
948
CXXFLAGS
 
949
CCC
 
950
CXXCPP
 
951
F77
 
952
FFLAGS'
 
953
 
316
954
 
317
955
# Initialize some variables set by options.
318
956
ac_init_help=
319
957
ac_init_version=false
 
958
ac_unrecognized_opts=
 
959
ac_unrecognized_sep=
320
960
# The variables have the same names as the options, with
321
961
# dashes changed to underlines.
322
962
cache_file=/dev/null
339
979
# and all the variables that are supposed to be based on exec_prefix
340
980
# by default will actually change.
341
981
# Use braces instead of parens because sh, perl, etc. also accept them.
 
982
# (The list follows the same order as the GNU Coding Standards.)
342
983
bindir='${exec_prefix}/bin'
343
984
sbindir='${exec_prefix}/sbin'
344
985
libexecdir='${exec_prefix}/libexec'
345
 
datadir='${prefix}/share'
 
986
datarootdir='${prefix}/share'
 
987
datadir='${datarootdir}'
346
988
sysconfdir='${prefix}/etc'
347
989
sharedstatedir='${prefix}/com'
348
990
localstatedir='${prefix}/var'
349
 
libdir='${exec_prefix}/lib'
350
991
includedir='${prefix}/include'
351
992
oldincludedir='/usr/include'
352
 
infodir='${prefix}/info'
353
 
mandir='${prefix}/man'
 
993
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
994
infodir='${datarootdir}/info'
 
995
htmldir='${docdir}'
 
996
dvidir='${docdir}'
 
997
pdfdir='${docdir}'
 
998
psdir='${docdir}'
 
999
libdir='${exec_prefix}/lib'
 
1000
localedir='${datarootdir}/locale'
 
1001
mandir='${datarootdir}/man'
354
1002
 
355
1003
ac_prev=
 
1004
ac_dashdash=
356
1005
for ac_option
357
1006
do
358
1007
  # If the previous option needs an argument, assign it.
359
1008
  if test -n "$ac_prev"; then
360
 
    eval "$ac_prev=\$ac_option"
 
1009
    eval $ac_prev=\$ac_option
361
1010
    ac_prev=
362
1011
    continue
363
1012
  fi
364
1013
 
365
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
1014
  case $ac_option in
 
1015
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1016
  *)    ac_optarg=yes ;;
 
1017
  esac
366
1018
 
367
1019
  # Accept the important Cygnus configure options, so we can diagnose typos.
368
1020
 
369
 
  case $ac_option in
 
1021
  case $ac_dashdash$ac_option in
 
1022
  --)
 
1023
    ac_dashdash=yes ;;
370
1024
 
371
1025
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
372
1026
    ac_prev=bindir ;;
388
1042
  --config-cache | -C)
389
1043
    cache_file=config.cache ;;
390
1044
 
391
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1045
  -datadir | --datadir | --datadi | --datad)
392
1046
    ac_prev=datadir ;;
393
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394
 
  | --da=*)
 
1047
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
395
1048
    datadir=$ac_optarg ;;
396
1049
 
 
1050
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1051
  | --dataroo | --dataro | --datar)
 
1052
    ac_prev=datarootdir ;;
 
1053
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1054
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1055
    datarootdir=$ac_optarg ;;
 
1056
 
397
1057
  -disable-* | --disable-*)
398
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1058
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399
1059
    # Reject names that are not valid shell variable names.
400
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1060
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1061
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
402
1062
   { (exit 1); exit 1; }; }
403
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404
 
    eval "enable_$ac_feature=no" ;;
 
1063
    ac_useropt_orig=$ac_useropt
 
1064
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1065
    case $ac_user_opts in
 
1066
      *"
 
1067
"enable_$ac_useropt"
 
1068
"*) ;;
 
1069
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1070
         ac_unrecognized_sep=', ';;
 
1071
    esac
 
1072
    eval enable_$ac_useropt=no ;;
 
1073
 
 
1074
  -docdir | --docdir | --docdi | --doc | --do)
 
1075
    ac_prev=docdir ;;
 
1076
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1077
    docdir=$ac_optarg ;;
 
1078
 
 
1079
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1080
    ac_prev=dvidir ;;
 
1081
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1082
    dvidir=$ac_optarg ;;
405
1083
 
406
1084
  -enable-* | --enable-*)
407
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1085
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408
1086
    # Reject names that are not valid shell variable names.
409
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1087
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1088
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
411
1089
   { (exit 1); exit 1; }; }
412
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413
 
    case $ac_option in
414
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415
 
      *) ac_optarg=yes ;;
 
1090
    ac_useropt_orig=$ac_useropt
 
1091
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1092
    case $ac_user_opts in
 
1093
      *"
 
1094
"enable_$ac_useropt"
 
1095
"*) ;;
 
1096
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1097
         ac_unrecognized_sep=', ';;
416
1098
    esac
417
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1099
    eval enable_$ac_useropt=\$ac_optarg ;;
418
1100
 
419
1101
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420
1102
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
441
1123
  -host=* | --host=* | --hos=* | --ho=*)
442
1124
    host_alias=$ac_optarg ;;
443
1125
 
 
1126
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1127
    ac_prev=htmldir ;;
 
1128
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1129
  | --ht=*)
 
1130
    htmldir=$ac_optarg ;;
 
1131
 
444
1132
  -includedir | --includedir | --includedi | --included | --include \
445
1133
  | --includ | --inclu | --incl | --inc)
446
1134
    ac_prev=includedir ;;
465
1153
  | --libexe=* | --libex=* | --libe=*)
466
1154
    libexecdir=$ac_optarg ;;
467
1155
 
 
1156
  -localedir | --localedir | --localedi | --localed | --locale)
 
1157
    ac_prev=localedir ;;
 
1158
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1159
    localedir=$ac_optarg ;;
 
1160
 
468
1161
  -localstatedir | --localstatedir | --localstatedi | --localstated \
469
 
  | --localstate | --localstat | --localsta | --localst \
470
 
  | --locals | --local | --loca | --loc | --lo)
 
1162
  | --localstate | --localstat | --localsta | --localst | --locals)
471
1163
    ac_prev=localstatedir ;;
472
1164
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1165
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
475
1166
    localstatedir=$ac_optarg ;;
476
1167
 
477
1168
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
536
1227
  | --progr-tra=* | --program-tr=* | --program-t=*)
537
1228
    program_transform_name=$ac_optarg ;;
538
1229
 
 
1230
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1231
    ac_prev=pdfdir ;;
 
1232
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1233
    pdfdir=$ac_optarg ;;
 
1234
 
 
1235
  -psdir | --psdir | --psdi | --psd | --ps)
 
1236
    ac_prev=psdir ;;
 
1237
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1238
    psdir=$ac_optarg ;;
 
1239
 
539
1240
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540
1241
  | -silent | --silent | --silen | --sile | --sil)
541
1242
    silent=yes ;;
586
1287
    ac_init_version=: ;;
587
1288
 
588
1289
  -with-* | --with-*)
589
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1290
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590
1291
    # Reject names that are not valid shell variable names.
591
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1292
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1293
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
593
1294
   { (exit 1); exit 1; }; }
594
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
595
 
    case $ac_option in
596
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597
 
      *) ac_optarg=yes ;;
 
1295
    ac_useropt_orig=$ac_useropt
 
1296
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1297
    case $ac_user_opts in
 
1298
      *"
 
1299
"with_$ac_useropt"
 
1300
"*) ;;
 
1301
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1302
         ac_unrecognized_sep=', ';;
598
1303
    esac
599
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1304
    eval with_$ac_useropt=\$ac_optarg ;;
600
1305
 
601
1306
  -without-* | --without-*)
602
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1307
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603
1308
    # Reject names that are not valid shell variable names.
604
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1309
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1310
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
606
1311
   { (exit 1); exit 1; }; }
607
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
608
 
    eval "with_$ac_package=no" ;;
 
1312
    ac_useropt_orig=$ac_useropt
 
1313
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1314
    case $ac_user_opts in
 
1315
      *"
 
1316
"with_$ac_useropt"
 
1317
"*) ;;
 
1318
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1319
         ac_unrecognized_sep=', ';;
 
1320
    esac
 
1321
    eval with_$ac_useropt=no ;;
609
1322
 
610
1323
  --x)
611
1324
    # Obsolete; use --with-x.
625
1338
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626
1339
    x_libraries=$ac_optarg ;;
627
1340
 
628
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1341
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
629
1342
Try \`$0 --help' for more information." >&2
630
1343
   { (exit 1); exit 1; }; }
631
1344
    ;;
634
1347
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635
1348
    # Reject names that are not valid shell variable names.
636
1349
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1350
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638
1351
   { (exit 1); exit 1; }; }
639
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640
 
    eval "$ac_envvar='$ac_optarg'"
 
1352
    eval $ac_envvar=\$ac_optarg
641
1353
    export $ac_envvar ;;
642
1354
 
643
1355
  *)
644
1356
    # FIXME: should be removed in autoconf 3.0.
645
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1357
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646
1358
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1359
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648
1360
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649
1361
    ;;
650
1362
 
653
1365
 
654
1366
if test -n "$ac_prev"; then
655
1367
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
657
 
   { (exit 1); exit 1; }; }
658
 
fi
659
 
 
660
 
# Be sure to have absolute paths.
661
 
for ac_var in exec_prefix prefix
662
 
do
663
 
  eval ac_val=$`echo $ac_var`
664
 
  case $ac_val in
665
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667
 
   { (exit 1); exit 1; }; };;
668
 
  esac
669
 
done
670
 
 
671
 
# Be sure to have absolute paths.
672
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673
 
              localstatedir libdir includedir oldincludedir infodir mandir
674
 
do
675
 
  eval ac_val=$`echo $ac_var`
676
 
  case $ac_val in
677
 
    [\\/$]* | ?:[\\/]* ) ;;
678
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679
 
   { (exit 1); exit 1; }; };;
680
 
  esac
 
1368
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
 
1369
   { (exit 1); exit 1; }; }
 
1370
fi
 
1371
 
 
1372
if test -n "$ac_unrecognized_opts"; then
 
1373
  case $enable_option_checking in
 
1374
    no) ;;
 
1375
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1376
   { (exit 1); exit 1; }; } ;;
 
1377
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1378
  esac
 
1379
fi
 
1380
 
 
1381
# Check all directory arguments for consistency.
 
1382
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1383
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1384
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1385
                libdir localedir mandir
 
1386
do
 
1387
  eval ac_val=\$$ac_var
 
1388
  # Remove trailing slashes.
 
1389
  case $ac_val in
 
1390
    */ )
 
1391
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1392
      eval $ac_var=\$ac_val;;
 
1393
  esac
 
1394
  # Be sure to have absolute directory names.
 
1395
  case $ac_val in
 
1396
    [\\/$]* | ?:[\\/]* )  continue;;
 
1397
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1398
  esac
 
1399
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1400
   { (exit 1); exit 1; }; }
681
1401
done
682
1402
 
683
1403
# There might be people who depend on the old broken behavior: `$host'
691
1411
if test "x$host_alias" != x; then
692
1412
  if test "x$build_alias" = x; then
693
1413
    cross_compiling=maybe
694
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1414
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695
1415
    If a cross compiler is detected then cross compile mode will be used." >&2
696
1416
  elif test "x$build_alias" != "x$host_alias"; then
697
1417
    cross_compiling=yes
704
1424
test "$silent" = yes && exec 6>/dev/null
705
1425
 
706
1426
 
 
1427
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1428
ac_ls_di=`ls -di .` &&
 
1429
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1430
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
 
1431
   { (exit 1); exit 1; }; }
 
1432
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1433
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
 
1434
   { (exit 1); exit 1; }; }
 
1435
 
 
1436
 
707
1437
# Find the source files, if location was not specified.
708
1438
if test -z "$srcdir"; then
709
1439
  ac_srcdir_defaulted=yes
710
 
  # Try the directory containing this script, then its parent.
711
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
712
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713
 
         X"$0" : 'X\(//\)[^/]' \| \
714
 
         X"$0" : 'X\(//\)$' \| \
715
 
         X"$0" : 'X\(/\)' \| \
716
 
         .     : '\(.\)' 2>/dev/null ||
717
 
echo X"$0" |
718
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720
 
          /^X\(\/\/\)$/{ s//\1/; q; }
721
 
          /^X\(\/\).*/{ s//\1/; q; }
722
 
          s/.*/./; q'`
 
1440
  # Try the directory containing this script, then the parent directory.
 
1441
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1442
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1443
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1444
         X"$as_myself" : 'X\(//\)$' \| \
 
1445
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1446
$as_echo X"$as_myself" |
 
1447
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1448
            s//\1/
 
1449
            q
 
1450
          }
 
1451
          /^X\(\/\/\)[^/].*/{
 
1452
            s//\1/
 
1453
            q
 
1454
          }
 
1455
          /^X\(\/\/\)$/{
 
1456
            s//\1/
 
1457
            q
 
1458
          }
 
1459
          /^X\(\/\).*/{
 
1460
            s//\1/
 
1461
            q
 
1462
          }
 
1463
          s/.*/./; q'`
723
1464
  srcdir=$ac_confdir
724
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1465
  if test ! -r "$srcdir/$ac_unique_file"; then
725
1466
    srcdir=..
726
1467
  fi
727
1468
else
728
1469
  ac_srcdir_defaulted=no
729
1470
fi
730
 
if test ! -r $srcdir/$ac_unique_file; then
731
 
  if test "$ac_srcdir_defaulted" = yes; then
732
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733
 
   { (exit 1); exit 1; }; }
734
 
  else
735
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736
 
   { (exit 1); exit 1; }; }
737
 
  fi
738
 
fi
739
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741
 
   { (exit 1); exit 1; }; }
742
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743
 
ac_env_build_alias_set=${build_alias+set}
744
 
ac_env_build_alias_value=$build_alias
745
 
ac_cv_env_build_alias_set=${build_alias+set}
746
 
ac_cv_env_build_alias_value=$build_alias
747
 
ac_env_host_alias_set=${host_alias+set}
748
 
ac_env_host_alias_value=$host_alias
749
 
ac_cv_env_host_alias_set=${host_alias+set}
750
 
ac_cv_env_host_alias_value=$host_alias
751
 
ac_env_target_alias_set=${target_alias+set}
752
 
ac_env_target_alias_value=$target_alias
753
 
ac_cv_env_target_alias_set=${target_alias+set}
754
 
ac_cv_env_target_alias_value=$target_alias
755
 
ac_env_SFCB_DIR_set=${SFCB_DIR+set}
756
 
ac_env_SFCB_DIR_value=$SFCB_DIR
757
 
ac_cv_env_SFCB_DIR_set=${SFCB_DIR+set}
758
 
ac_cv_env_SFCB_DIR_value=$SFCB_DIR
759
 
ac_env_CC_set=${CC+set}
760
 
ac_env_CC_value=$CC
761
 
ac_cv_env_CC_set=${CC+set}
762
 
ac_cv_env_CC_value=$CC
763
 
ac_env_CFLAGS_set=${CFLAGS+set}
764
 
ac_env_CFLAGS_value=$CFLAGS
765
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
766
 
ac_cv_env_CFLAGS_value=$CFLAGS
767
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
768
 
ac_env_LDFLAGS_value=$LDFLAGS
769
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
770
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
771
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
772
 
ac_env_CPPFLAGS_value=$CPPFLAGS
773
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
774
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
775
 
ac_env_CPP_set=${CPP+set}
776
 
ac_env_CPP_value=$CPP
777
 
ac_cv_env_CPP_set=${CPP+set}
778
 
ac_cv_env_CPP_value=$CPP
 
1471
if test ! -r "$srcdir/$ac_unique_file"; then
 
1472
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1473
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1474
   { (exit 1); exit 1; }; }
 
1475
fi
 
1476
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1477
ac_abs_confdir=`(
 
1478
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
 
1479
   { (exit 1); exit 1; }; }
 
1480
        pwd)`
 
1481
# When building in place, set srcdir=.
 
1482
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1483
  srcdir=.
 
1484
fi
 
1485
# Remove unnecessary trailing slashes from srcdir.
 
1486
# Double slashes in file names in object file debugging info
 
1487
# mess up M-x gdb in Emacs.
 
1488
case $srcdir in
 
1489
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1490
esac
 
1491
for ac_var in $ac_precious_vars; do
 
1492
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1493
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1494
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1495
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1496
done
779
1497
 
780
1498
#
781
1499
# Report the --help message.
804
1522
  -n, --no-create         do not create output files
805
1523
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
806
1524
 
807
 
_ACEOF
808
 
 
809
 
  cat <<_ACEOF
810
1525
Installation directories:
811
1526
  --prefix=PREFIX         install architecture-independent files in PREFIX
812
 
                          [$ac_default_prefix]
 
1527
                          [$ac_default_prefix]
813
1528
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
814
 
                          [PREFIX]
 
1529
                          [PREFIX]
815
1530
 
816
1531
By default, \`make install' will install all the files in
817
1532
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
821
1536
For better control, use the options below.
822
1537
 
823
1538
Fine tuning of the installation directories:
824
 
  --bindir=DIR           user executables [EPREFIX/bin]
825
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
826
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
827
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
828
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
829
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
830
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
831
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
832
 
  --includedir=DIR       C header files [PREFIX/include]
833
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
834
 
  --infodir=DIR          info documentation [PREFIX/info]
835
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1539
  --bindir=DIR            user executables [EPREFIX/bin]
 
1540
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1541
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1542
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1543
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1544
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1545
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1546
  --includedir=DIR        C header files [PREFIX/include]
 
1547
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1548
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1549
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1550
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1551
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1552
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1553
  --docdir=DIR            documentation root [DATAROOTDIR/doc/mofc]
 
1554
  --htmldir=DIR           html documentation [DOCDIR]
 
1555
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1556
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1557
  --psdir=DIR             ps documentation [DOCDIR]
836
1558
_ACEOF
837
1559
 
838
1560
  cat <<\_ACEOF
855
1577
  cat <<\_ACEOF
856
1578
 
857
1579
Optional Features:
 
1580
  --disable-option-checking  ignore unrecognized --enable/--with options
858
1581
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
859
1582
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
860
1583
  --enable-relax-mofsyntax
866
1589
  --enable-testscanner    produce a standalone scanner for testing.
867
1590
  --disable-dependency-tracking  speeds up one-time build
868
1591
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1592
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1593
  --enable-static[=PKGS]  build static libraries [default=yes]
 
1594
  --enable-fast-install[=PKGS]
 
1595
                          optimize for fast installation [default=yes]
 
1596
  --disable-libtool-lock  avoid locking (might break parallel builds)
869
1597
 
870
1598
Optional Packages:
871
1599
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
872
1600
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
873
1601
  --with-sfcb             use sfcb backend. In that case this package must be
874
1602
                          in a sub-directory of the sfcb package.
 
1603
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1604
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1605
                          both]
 
1606
  --with-tags[=TAGS]      include additional configurations [automatic]
875
1607
 
876
1608
Some influential environment variables:
877
1609
  SFCB_DIR    set SFCB_DIR to the directory containing the SFCB sources, if
880
1612
  CFLAGS      C compiler flags
881
1613
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
882
1614
              nonstandard directory <lib dir>
883
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
884
 
              headers in a nonstandard directory <include dir>
 
1615
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1616
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1617
              you have headers in a nonstandard directory <include dir>
 
1618
  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
 
1619
              the first program found out of: `bison -y', `byacc', `yacc'.
 
1620
  YFLAGS      The list of arguments that will be passed by default to $YACC.
 
1621
              This script will default YFLAGS to the empty string to avoid a
 
1622
              default value of `-d' given by some make applications.
885
1623
  CPP         C preprocessor
 
1624
  CXX         C++ compiler command
 
1625
  CXXFLAGS    C++ compiler flags
 
1626
  CXXCPP      C++ preprocessor
 
1627
  F77         Fortran 77 compiler command
 
1628
  FFLAGS      Fortran 77 compiler flags
886
1629
 
887
1630
Use these variables to override the choices made by `configure' or to help
888
1631
it to find libraries and programs with nonstandard names/locations.
889
1632
 
890
1633
Report bugs to <sblim-devel@lists.sourceforge.net>.
891
1634
_ACEOF
 
1635
ac_status=$?
892
1636
fi
893
1637
 
894
1638
if test "$ac_init_help" = "recursive"; then
895
1639
  # If there are subdirs, report their specific --help.
896
 
  ac_popdir=`pwd`
897
1640
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
898
 
    test -d $ac_dir || continue
 
1641
    test -d "$ac_dir" ||
 
1642
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1643
      continue
899
1644
    ac_builddir=.
900
1645
 
901
 
if test "$ac_dir" != .; then
902
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
903
 
  # A "../" for each directory in $ac_dir_suffix.
904
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
905
 
else
906
 
  ac_dir_suffix= ac_top_builddir=
907
 
fi
 
1646
case "$ac_dir" in
 
1647
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1648
*)
 
1649
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1650
  # A ".." for each directory in $ac_dir_suffix.
 
1651
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1652
  case $ac_top_builddir_sub in
 
1653
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1654
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1655
  esac ;;
 
1656
esac
 
1657
ac_abs_top_builddir=$ac_pwd
 
1658
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1659
# for backward compatibility:
 
1660
ac_top_builddir=$ac_top_build_prefix
908
1661
 
909
1662
case $srcdir in
910
 
  .)  # No --srcdir option.  We are building in place.
 
1663
  .)  # We are building in place.
911
1664
    ac_srcdir=.
912
 
    if test -z "$ac_top_builddir"; then
913
 
       ac_top_srcdir=.
914
 
    else
915
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
916
 
    fi ;;
917
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1665
    ac_top_srcdir=$ac_top_builddir_sub
 
1666
    ac_abs_top_srcdir=$ac_pwd ;;
 
1667
  [\\/]* | ?:[\\/]* )  # Absolute name.
918
1668
    ac_srcdir=$srcdir$ac_dir_suffix;
919
 
    ac_top_srcdir=$srcdir ;;
920
 
  *) # Relative path.
921
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
922
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
923
 
esac
924
 
 
925
 
# Do not use `cd foo && pwd` to compute absolute paths, because
926
 
# the directories may not exist.
927
 
case `pwd` in
928
 
.) ac_abs_builddir="$ac_dir";;
929
 
*)
930
 
  case "$ac_dir" in
931
 
  .) ac_abs_builddir=`pwd`;;
932
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
933
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
934
 
  esac;;
935
 
esac
936
 
case $ac_abs_builddir in
937
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
938
 
*)
939
 
  case ${ac_top_builddir}. in
940
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
941
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
942
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
943
 
  esac;;
944
 
esac
945
 
case $ac_abs_builddir in
946
 
.) ac_abs_srcdir=$ac_srcdir;;
947
 
*)
948
 
  case $ac_srcdir in
949
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
950
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
951
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
952
 
  esac;;
953
 
esac
954
 
case $ac_abs_builddir in
955
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
956
 
*)
957
 
  case $ac_top_srcdir in
958
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
959
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
960
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
961
 
  esac;;
962
 
esac
963
 
 
964
 
    cd $ac_dir
965
 
    # Check for guested configure; otherwise get Cygnus style configure.
966
 
    if test -f $ac_srcdir/configure.gnu; then
967
 
      echo
968
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
969
 
    elif test -f $ac_srcdir/configure; then
970
 
      echo
971
 
      $SHELL $ac_srcdir/configure  --help=recursive
972
 
    elif test -f $ac_srcdir/configure.ac ||
973
 
           test -f $ac_srcdir/configure.in; then
974
 
      echo
975
 
      $ac_configure --help
 
1669
    ac_top_srcdir=$srcdir
 
1670
    ac_abs_top_srcdir=$srcdir ;;
 
1671
  *) # Relative name.
 
1672
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1673
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1674
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1675
esac
 
1676
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1677
 
 
1678
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1679
    # Check for guested configure.
 
1680
    if test -f "$ac_srcdir/configure.gnu"; then
 
1681
      echo &&
 
1682
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1683
    elif test -f "$ac_srcdir/configure"; then
 
1684
      echo &&
 
1685
      $SHELL "$ac_srcdir/configure" --help=recursive
976
1686
    else
977
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
978
 
    fi
979
 
    cd $ac_popdir
 
1687
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1688
    fi || ac_status=$?
 
1689
    cd "$ac_pwd" || { ac_status=$?; break; }
980
1690
  done
981
1691
fi
982
1692
 
983
 
test -n "$ac_init_help" && exit 0
 
1693
test -n "$ac_init_help" && exit $ac_status
984
1694
if $ac_init_version; then
985
1695
  cat <<\_ACEOF
986
1696
MOF Compiler configure 0.8.2
987
 
generated by GNU Autoconf 2.59
 
1697
generated by GNU Autoconf 2.63
988
1698
 
989
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1699
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1700
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
990
1701
This configure script is free software; the Free Software Foundation
991
1702
gives unlimited permission to copy, distribute and modify it.
992
1703
_ACEOF
993
 
  exit 0
 
1704
  exit
994
1705
fi
995
 
exec 5>config.log
996
 
cat >&5 <<_ACEOF
 
1706
cat >config.log <<_ACEOF
997
1707
This file contains any messages produced by compilers while
998
1708
running configure, to aid debugging if configure makes a mistake.
999
1709
 
1000
1710
It was created by MOF Compiler $as_me 0.8.2, which was
1001
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1711
generated by GNU Autoconf 2.63.  Invocation command line was
1002
1712
 
1003
1713
  $ $0 $@
1004
1714
 
1005
1715
_ACEOF
 
1716
exec 5>>config.log
1006
1717
{
1007
1718
cat <<_ASUNAME
1008
1719
## --------- ##
1021
1732
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1022
1733
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1023
1734
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1024
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1735
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1025
1736
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1026
1737
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1027
1738
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1033
1744
do
1034
1745
  IFS=$as_save_IFS
1035
1746
  test -z "$as_dir" && as_dir=.
1036
 
  echo "PATH: $as_dir"
 
1747
  $as_echo "PATH: $as_dir"
1037
1748
done
 
1749
IFS=$as_save_IFS
1038
1750
 
1039
1751
} >&5
1040
1752
 
1056
1768
ac_configure_args=
1057
1769
ac_configure_args0=
1058
1770
ac_configure_args1=
1059
 
ac_sep=
1060
1771
ac_must_keep_next=false
1061
1772
for ac_pass in 1 2
1062
1773
do
1067
1778
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1068
1779
    | -silent | --silent | --silen | --sile | --sil)
1069
1780
      continue ;;
1070
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1071
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1781
    *\'*)
 
1782
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1072
1783
    esac
1073
1784
    case $ac_pass in
1074
1785
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1089
1800
          -* ) ac_must_keep_next=true ;;
1090
1801
        esac
1091
1802
      fi
1092
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1093
 
      # Get rid of the leading space.
1094
 
      ac_sep=" "
 
1803
      ac_configure_args="$ac_configure_args '$ac_arg'"
1095
1804
      ;;
1096
1805
    esac
1097
1806
  done
1102
1811
# When interrupted or exit'd, cleanup temporary files, and complete
1103
1812
# config.log.  We remove comments because anyway the quotes in there
1104
1813
# would cause problems or look ugly.
1105
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1106
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1814
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1815
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1107
1816
trap 'exit_status=$?
1108
1817
  # Save into config.log some information that might help in debugging.
1109
1818
  {
1116
1825
_ASBOX
1117
1826
    echo
1118
1827
    # The following way of writing the cache mishandles newlines in values,
1119
 
{
 
1828
(
 
1829
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1830
    eval ac_val=\$$ac_var
 
1831
    case $ac_val in #(
 
1832
    *${as_nl}*)
 
1833
      case $ac_var in #(
 
1834
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1835
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
1836
      esac
 
1837
      case $ac_var in #(
 
1838
      _ | IFS | as_nl) ;; #(
 
1839
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
1840
      *) $as_unset $ac_var ;;
 
1841
      esac ;;
 
1842
    esac
 
1843
  done
1120
1844
  (set) 2>&1 |
1121
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1122
 
    *ac_space=\ *)
 
1845
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1846
    *${as_nl}ac_space=\ *)
1123
1847
      sed -n \
1124
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1125
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1126
 
      ;;
 
1848
        "s/'\''/'\''\\\\'\'''\''/g;
 
1849
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1850
      ;; #(
1127
1851
    *)
1128
 
      sed -n \
1129
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1852
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1130
1853
      ;;
1131
 
    esac;
1132
 
}
 
1854
    esac |
 
1855
    sort
 
1856
)
1133
1857
    echo
1134
1858
 
1135
1859
    cat <<\_ASBOX
1140
1864
    echo
1141
1865
    for ac_var in $ac_subst_vars
1142
1866
    do
1143
 
      eval ac_val=$`echo $ac_var`
1144
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1867
      eval ac_val=\$$ac_var
 
1868
      case $ac_val in
 
1869
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1870
      esac
 
1871
      $as_echo "$ac_var='\''$ac_val'\''"
1145
1872
    done | sort
1146
1873
    echo
1147
1874
 
1148
1875
    if test -n "$ac_subst_files"; then
1149
1876
      cat <<\_ASBOX
1150
 
## ------------- ##
1151
 
## Output files. ##
1152
 
## ------------- ##
 
1877
## ------------------- ##
 
1878
## File substitutions. ##
 
1879
## ------------------- ##
1153
1880
_ASBOX
1154
1881
      echo
1155
1882
      for ac_var in $ac_subst_files
1156
1883
      do
1157
 
        eval ac_val=$`echo $ac_var`
1158
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1884
        eval ac_val=\$$ac_var
 
1885
        case $ac_val in
 
1886
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1887
        esac
 
1888
        $as_echo "$ac_var='\''$ac_val'\''"
1159
1889
      done | sort
1160
1890
      echo
1161
1891
    fi
1167
1897
## ----------- ##
1168
1898
_ASBOX
1169
1899
      echo
1170
 
      sed "/^$/d" confdefs.h | sort
 
1900
      cat confdefs.h
1171
1901
      echo
1172
1902
    fi
1173
1903
    test "$ac_signal" != 0 &&
1174
 
      echo "$as_me: caught signal $ac_signal"
1175
 
    echo "$as_me: exit $exit_status"
 
1904
      $as_echo "$as_me: caught signal $ac_signal"
 
1905
    $as_echo "$as_me: exit $exit_status"
1176
1906
  } >&5
1177
 
  rm -f core *.core &&
1178
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1907
  rm -f core *.core core.conftest.* &&
 
1908
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1179
1909
    exit $exit_status
1180
 
     ' 0
 
1910
' 0
1181
1911
for ac_signal in 1 2 13 15; do
1182
1912
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1183
1913
done
1184
1914
ac_signal=0
1185
1915
 
1186
1916
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1187
 
rm -rf conftest* confdefs.h
1188
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1189
 
echo >confdefs.h
 
1917
rm -f -r conftest* confdefs.h
1190
1918
 
1191
1919
# Predefined preprocessor variables.
1192
1920
 
1216
1944
 
1217
1945
 
1218
1946
# Let the site file select an alternate cache file if it wants to.
1219
 
# Prefer explicitly selected file to automatically selected ones.
1220
 
if test -z "$CONFIG_SITE"; then
1221
 
  if test "x$prefix" != xNONE; then
1222
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1223
 
  else
1224
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1225
 
  fi
 
1947
# Prefer an explicitly selected file to automatically selected ones.
 
1948
ac_site_file1=NONE
 
1949
ac_site_file2=NONE
 
1950
if test -n "$CONFIG_SITE"; then
 
1951
  ac_site_file1=$CONFIG_SITE
 
1952
elif test "x$prefix" != xNONE; then
 
1953
  ac_site_file1=$prefix/share/config.site
 
1954
  ac_site_file2=$prefix/etc/config.site
 
1955
else
 
1956
  ac_site_file1=$ac_default_prefix/share/config.site
 
1957
  ac_site_file2=$ac_default_prefix/etc/config.site
1226
1958
fi
1227
 
for ac_site_file in $CONFIG_SITE; do
 
1959
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
1960
do
 
1961
  test "x$ac_site_file" = xNONE && continue
1228
1962
  if test -r "$ac_site_file"; then
1229
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1230
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1963
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1964
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1231
1965
    sed 's/^/| /' "$ac_site_file" >&5
1232
1966
    . "$ac_site_file"
1233
1967
  fi
1237
1971
  # Some versions of bash will fail to source /dev/null (special
1238
1972
  # files actually), so we avoid doing that.
1239
1973
  if test -f "$cache_file"; then
1240
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1241
 
echo "$as_me: loading cache $cache_file" >&6;}
 
1974
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1975
$as_echo "$as_me: loading cache $cache_file" >&6;}
1242
1976
    case $cache_file in
1243
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1244
 
      *)                      . ./$cache_file;;
 
1977
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1978
      *)                      . "./$cache_file";;
1245
1979
    esac
1246
1980
  fi
1247
1981
else
1248
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1249
 
echo "$as_me: creating cache $cache_file" >&6;}
 
1982
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1983
$as_echo "$as_me: creating cache $cache_file" >&6;}
1250
1984
  >$cache_file
1251
1985
fi
1252
1986
 
1253
1987
# Check that the precious variables saved in the cache have kept the same
1254
1988
# value.
1255
1989
ac_cache_corrupted=false
1256
 
for ac_var in `(set) 2>&1 |
1257
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1990
for ac_var in $ac_precious_vars; do
1258
1991
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1259
1992
  eval ac_new_set=\$ac_env_${ac_var}_set
1260
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1261
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1993
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1994
  eval ac_new_val=\$ac_env_${ac_var}_value
1262
1995
  case $ac_old_set,$ac_new_set in
1263
1996
    set,)
1264
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1265
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1997
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1998
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1266
1999
      ac_cache_corrupted=: ;;
1267
2000
    ,set)
1268
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1269
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2001
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2002
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1270
2003
      ac_cache_corrupted=: ;;
1271
2004
    ,);;
1272
2005
    *)
1273
2006
      if test "x$ac_old_val" != "x$ac_new_val"; then
1274
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1275
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1276
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1277
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1278
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1279
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1280
 
        ac_cache_corrupted=:
 
2007
        # differences in whitespace do not lead to failure.
 
2008
        ac_old_val_w=`echo x $ac_old_val`
 
2009
        ac_new_val_w=`echo x $ac_new_val`
 
2010
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2011
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2012
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2013
          ac_cache_corrupted=:
 
2014
        else
 
2015
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2016
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2017
          eval $ac_var=\$ac_old_val
 
2018
        fi
 
2019
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2020
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2021
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2022
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1281
2023
      fi;;
1282
2024
  esac
1283
2025
  # Pass precious variables to config.status.
1284
2026
  if test "$ac_new_set" = set; then
1285
2027
    case $ac_new_val in
1286
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1287
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2028
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1288
2029
    *) ac_arg=$ac_var=$ac_new_val ;;
1289
2030
    esac
1290
2031
    case " $ac_configure_args " in
1294
2035
  fi
1295
2036
done
1296
2037
if $ac_cache_corrupted; then
1297
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1298
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1299
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1300
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
2038
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2039
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2040
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2041
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2042
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
2043
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1301
2044
   { (exit 1); exit 1; }; }
1302
2045
fi
1303
2046
 
 
2047
 
 
2048
 
 
2049
 
 
2050
 
 
2051
 
 
2052
 
 
2053
 
 
2054
 
 
2055
 
 
2056
 
 
2057
 
 
2058
 
 
2059
 
 
2060
 
 
2061
 
 
2062
 
 
2063
 
 
2064
 
 
2065
 
 
2066
 
 
2067
 
 
2068
 
 
2069
 
 
2070
 
1304
2071
ac_ext=c
1305
2072
ac_cpp='$CPP $CPPFLAGS'
1306
2073
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1309
2076
 
1310
2077
 
1311
2078
 
1312
 
 
1313
 
 
1314
 
 
1315
 
 
1316
 
 
1317
 
 
1318
 
 
1319
 
 
1320
 
 
1321
 
 
1322
 
 
1323
 
 
1324
 
 
1325
 
 
1326
 
 
1327
 
 
1328
 
 
1329
 
 
1330
 
 
1331
 
 
1332
 
 
1333
 
 
1334
 
 
1335
 
 
1336
 
 
1337
 
          ac_config_headers="$ac_config_headers config.h"
1338
 
 
1339
 
 
1340
 
am__api_version="1.9"
 
2079
ac_config_headers="$ac_config_headers config.h"
 
2080
 
 
2081
 
 
2082
am__api_version='1.10'
 
2083
 
1341
2084
ac_aux_dir=
1342
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1343
 
  if test -f $ac_dir/install-sh; then
 
2085
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2086
  if test -f "$ac_dir/install-sh"; then
1344
2087
    ac_aux_dir=$ac_dir
1345
2088
    ac_install_sh="$ac_aux_dir/install-sh -c"
1346
2089
    break
1347
 
  elif test -f $ac_dir/install.sh; then
 
2090
  elif test -f "$ac_dir/install.sh"; then
1348
2091
    ac_aux_dir=$ac_dir
1349
2092
    ac_install_sh="$ac_aux_dir/install.sh -c"
1350
2093
    break
1351
 
  elif test -f $ac_dir/shtool; then
 
2094
  elif test -f "$ac_dir/shtool"; then
1352
2095
    ac_aux_dir=$ac_dir
1353
2096
    ac_install_sh="$ac_aux_dir/shtool install -c"
1354
2097
    break
1355
2098
  fi
1356
2099
done
1357
2100
if test -z "$ac_aux_dir"; then
1358
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1359
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
2101
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2102
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1360
2103
   { (exit 1); exit 1; }; }
1361
2104
fi
1362
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1363
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1364
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2105
 
 
2106
# These three variables are undocumented and unsupported,
 
2107
# and are intended to be withdrawn in a future Autoconf release.
 
2108
# They can cause serious problems if a builder's source tree is in a directory
 
2109
# whose full name contains unusual characters.
 
2110
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2111
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2112
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2113
 
1365
2114
 
1366
2115
# Find a good install program.  We prefer a C program (faster),
1367
2116
# so one script is as good as another.  But avoid the broken or
1376
2125
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1377
2126
# OS/2's system install, which has a completely different semantic
1378
2127
# ./install, which can be erroneously created by make from ./install.sh.
1379
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1380
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2128
# Reject install programs that cannot install multiple files.
 
2129
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2130
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1381
2131
if test -z "$INSTALL"; then
1382
2132
if test "${ac_cv_path_install+set}" = set; then
1383
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2133
  $as_echo_n "(cached) " >&6
1384
2134
else
1385
2135
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1386
2136
for as_dir in $PATH
1399
2149
    # by default.
1400
2150
    for ac_prog in ginstall scoinst install; do
1401
2151
      for ac_exec_ext in '' $ac_executable_extensions; do
1402
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2152
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1403
2153
          if test $ac_prog = install &&
1404
2154
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1405
2155
            # AIX install.  It has an incompatible calling convention.
1409
2159
            # program-specific install script used by HP pwplus--don't use.
1410
2160
            :
1411
2161
          else
1412
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1413
 
            break 3
 
2162
            rm -rf conftest.one conftest.two conftest.dir
 
2163
            echo one > conftest.one
 
2164
            echo two > conftest.two
 
2165
            mkdir conftest.dir
 
2166
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2167
              test -s conftest.one && test -s conftest.two &&
 
2168
              test -s conftest.dir/conftest.one &&
 
2169
              test -s conftest.dir/conftest.two
 
2170
            then
 
2171
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2172
              break 3
 
2173
            fi
1414
2174
          fi
1415
2175
        fi
1416
2176
      done
1417
2177
    done
1418
2178
    ;;
1419
2179
esac
 
2180
 
1420
2181
done
 
2182
IFS=$as_save_IFS
1421
2183
 
 
2184
rm -rf conftest.one conftest.two conftest.dir
1422
2185
 
1423
2186
fi
1424
2187
  if test "${ac_cv_path_install+set}" = set; then
1425
2188
    INSTALL=$ac_cv_path_install
1426
2189
  else
1427
 
    # As a last resort, use the slow shell script.  We don't cache a
1428
 
    # path for INSTALL within a source directory, because that will
 
2190
    # As a last resort, use the slow shell script.  Don't cache a
 
2191
    # value for INSTALL within a source directory, because that will
1429
2192
    # break other packages using the cache if that directory is
1430
 
    # removed, or if the path is relative.
 
2193
    # removed, or if the value is a relative name.
1431
2194
    INSTALL=$ac_install_sh
1432
2195
  fi
1433
2196
fi
1434
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1435
 
echo "${ECHO_T}$INSTALL" >&6
 
2197
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2198
$as_echo "$INSTALL" >&6; }
1436
2199
 
1437
2200
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1438
2201
# It thinks the first close brace ends the variable substitution.
1442
2205
 
1443
2206
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1444
2207
 
1445
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1446
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2208
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2209
$as_echo_n "checking whether build environment is sane... " >&6; }
1447
2210
# Just in case
1448
2211
sleep 1
1449
2212
echo timestamp > conftest.file
1466
2229
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1467
2230
      # broken ls alias from the environment.  This has actually
1468
2231
      # happened.  Such a system could not be considered "sane".
1469
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2232
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1470
2233
alias in your environment" >&5
1471
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2234
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1472
2235
alias in your environment" >&2;}
1473
2236
   { (exit 1); exit 1; }; }
1474
2237
   fi
1479
2242
   # Ok.
1480
2243
   :
1481
2244
else
1482
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2245
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1483
2246
Check your system clock" >&5
1484
 
echo "$as_me: error: newly created file is older than distributed files!
 
2247
$as_echo "$as_me: error: newly created file is older than distributed files!
1485
2248
Check your system clock" >&2;}
1486
2249
   { (exit 1); exit 1; }; }
1487
2250
fi
1488
 
echo "$as_me:$LINENO: result: yes" >&5
1489
 
echo "${ECHO_T}yes" >&6
 
2251
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2252
$as_echo "yes" >&6; }
1490
2253
test "$program_prefix" != NONE &&
1491
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2254
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1492
2255
# Use a double $ so make ignores it.
1493
2256
test "$program_suffix" != NONE &&
1494
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1495
 
# Double any \ or $.  echo might interpret backslashes.
 
2257
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2258
# Double any \ or $.
1496
2259
# By default was `s,x,x', remove it if useless.
1497
 
cat <<\_ACEOF >conftest.sed
1498
 
s/[\\$]/&&/g;s/;s,x,x,$//
1499
 
_ACEOF
1500
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1501
 
rm conftest.sed
 
2260
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2261
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1502
2262
 
1503
2263
# expand $ac_aux_dir to an absolute path
1504
2264
am_aux_dir=`cd $ac_aux_dir && pwd`
1509
2269
  am_missing_run="$MISSING --run "
1510
2270
else
1511
2271
  am_missing_run=
1512
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1513
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2272
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2273
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1514
2274
fi
1515
2275
 
1516
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1517
 
  # We used to keeping the `.' as first argument, in order to
1518
 
  # allow $(mkdir_p) to be used without argument.  As in
1519
 
  #   $(mkdir_p) $(somedir)
1520
 
  # where $(somedir) is conditionally defined.  However this is wrong
1521
 
  # for two reasons:
1522
 
  #  1. if the package is installed by a user who cannot write `.'
1523
 
  #     make install will fail,
1524
 
  #  2. the above comment should most certainly read
1525
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
1526
 
  #     so it does not work when $(somedir) is undefined and
1527
 
  #     $(DESTDIR) is not.
1528
 
  #  To support the latter case, we have to write
1529
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1530
 
  #  so the `.' trick is pointless.
1531
 
  mkdir_p='mkdir -p --'
 
2276
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2277
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2278
if test -z "$MKDIR_P"; then
 
2279
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2280
  $as_echo_n "(cached) " >&6
1532
2281
else
1533
 
  # On NextStep and OpenStep, the `mkdir' command does not
1534
 
  # recognize any option.  It will interpret all options as
1535
 
  # directories to create, and then abort because `.' already
1536
 
  # exists.
1537
 
  for d in ./-p ./--version;
1538
 
  do
1539
 
    test -d $d && rmdir $d
1540
 
  done
1541
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1542
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
1543
 
    mkdir_p='$(mkinstalldirs)'
 
2282
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2283
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2284
do
 
2285
  IFS=$as_save_IFS
 
2286
  test -z "$as_dir" && as_dir=.
 
2287
  for ac_prog in mkdir gmkdir; do
 
2288
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2289
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2290
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2291
             'mkdir (GNU coreutils) '* | \
 
2292
             'mkdir (coreutils) '* | \
 
2293
             'mkdir (fileutils) '4.1*)
 
2294
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2295
               break 3;;
 
2296
           esac
 
2297
         done
 
2298
       done
 
2299
done
 
2300
IFS=$as_save_IFS
 
2301
 
 
2302
fi
 
2303
 
 
2304
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2305
    MKDIR_P="$ac_cv_path_mkdir -p"
1544
2306
  else
1545
 
    mkdir_p='$(install_sh) -d'
 
2307
    # As a last resort, use the slow shell script.  Don't cache a
 
2308
    # value for MKDIR_P within a source directory, because that will
 
2309
    # break other packages using the cache if that directory is
 
2310
    # removed, or if the value is a relative name.
 
2311
    test -d ./--version && rmdir ./--version
 
2312
    MKDIR_P="$ac_install_sh -d"
1546
2313
  fi
1547
2314
fi
 
2315
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2316
$as_echo "$MKDIR_P" >&6; }
 
2317
 
 
2318
mkdir_p="$MKDIR_P"
 
2319
case $mkdir_p in
 
2320
  [\\/$]* | ?:[\\/]*) ;;
 
2321
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2322
esac
1548
2323
 
1549
2324
for ac_prog in gawk mawk nawk awk
1550
2325
do
1551
2326
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1552
2327
set dummy $ac_prog; ac_word=$2
1553
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1554
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2328
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2329
$as_echo_n "checking for $ac_word... " >&6; }
1555
2330
if test "${ac_cv_prog_AWK+set}" = set; then
1556
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2331
  $as_echo_n "(cached) " >&6
1557
2332
else
1558
2333
  if test -n "$AWK"; then
1559
2334
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1564
2339
  IFS=$as_save_IFS
1565
2340
  test -z "$as_dir" && as_dir=.
1566
2341
  for ac_exec_ext in '' $ac_executable_extensions; do
1567
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2342
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1568
2343
    ac_cv_prog_AWK="$ac_prog"
1569
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2344
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1570
2345
    break 2
1571
2346
  fi
1572
2347
done
1573
2348
done
 
2349
IFS=$as_save_IFS
1574
2350
 
1575
2351
fi
1576
2352
fi
1577
2353
AWK=$ac_cv_prog_AWK
1578
2354
if test -n "$AWK"; then
1579
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1580
 
echo "${ECHO_T}$AWK" >&6
 
2355
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2356
$as_echo "$AWK" >&6; }
1581
2357
else
1582
 
  echo "$as_me:$LINENO: result: no" >&5
1583
 
echo "${ECHO_T}no" >&6
 
2358
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2359
$as_echo "no" >&6; }
1584
2360
fi
1585
2361
 
 
2362
 
1586
2363
  test -n "$AWK" && break
1587
2364
done
1588
2365
 
1589
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1590
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1591
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1592
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1593
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2366
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2367
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2368
set x ${MAKE-make}
 
2369
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2370
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2371
  $as_echo_n "(cached) " >&6
1594
2372
else
1595
2373
  cat >conftest.make <<\_ACEOF
 
2374
SHELL = /bin/sh
1596
2375
all:
1597
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2376
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1598
2377
_ACEOF
1599
2378
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1600
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1601
 
if test -n "$ac_maketemp"; then
1602
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1603
 
else
1604
 
  eval ac_cv_prog_make_${ac_make}_set=no
1605
 
fi
 
2379
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2380
  *@@@%%%=?*=@@@%%%*)
 
2381
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2382
  *)
 
2383
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2384
esac
1606
2385
rm -f conftest.make
1607
2386
fi
1608
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1609
 
  echo "$as_me:$LINENO: result: yes" >&5
1610
 
echo "${ECHO_T}yes" >&6
 
2387
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2388
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2389
$as_echo "yes" >&6; }
1611
2390
  SET_MAKE=
1612
2391
else
1613
 
  echo "$as_me:$LINENO: result: no" >&5
1614
 
echo "${ECHO_T}no" >&6
 
2392
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2393
$as_echo "no" >&6; }
1615
2394
  SET_MAKE="MAKE=${MAKE-make}"
1616
2395
fi
1617
2396
 
1624
2403
fi
1625
2404
rmdir .tst 2>/dev/null
1626
2405
 
1627
 
# test to see if srcdir already configured
1628
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1629
 
   test -f $srcdir/config.status; then
1630
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1631
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2406
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2407
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2408
  # is not polluted with repeated "-I."
 
2409
  am__isrc=' -I$(srcdir)'
 
2410
  # test to see if srcdir already configured
 
2411
  if test -f $srcdir/config.status; then
 
2412
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2413
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1632
2414
   { (exit 1); exit 1; }; }
 
2415
  fi
1633
2416
fi
1634
2417
 
1635
2418
# test whether we have cygpath
1672
2455
 
1673
2456
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1674
2457
 
1675
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
2458
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
1676
2459
 
1677
2460
# Installed binaries are usually stripped using `strip' when the user
1678
2461
# run `make install-strip'.  However `strip' might not be the right
1682
2465
  if test -n "$ac_tool_prefix"; then
1683
2466
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1684
2467
set dummy ${ac_tool_prefix}strip; ac_word=$2
1685
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1686
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2468
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2469
$as_echo_n "checking for $ac_word... " >&6; }
1687
2470
if test "${ac_cv_prog_STRIP+set}" = set; then
1688
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2471
  $as_echo_n "(cached) " >&6
1689
2472
else
1690
2473
  if test -n "$STRIP"; then
1691
2474
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1696
2479
  IFS=$as_save_IFS
1697
2480
  test -z "$as_dir" && as_dir=.
1698
2481
  for ac_exec_ext in '' $ac_executable_extensions; do
1699
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2482
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1700
2483
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1701
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2484
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1702
2485
    break 2
1703
2486
  fi
1704
2487
done
1705
2488
done
 
2489
IFS=$as_save_IFS
1706
2490
 
1707
2491
fi
1708
2492
fi
1709
2493
STRIP=$ac_cv_prog_STRIP
1710
2494
if test -n "$STRIP"; then
1711
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1712
 
echo "${ECHO_T}$STRIP" >&6
 
2495
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2496
$as_echo "$STRIP" >&6; }
1713
2497
else
1714
 
  echo "$as_me:$LINENO: result: no" >&5
1715
 
echo "${ECHO_T}no" >&6
 
2498
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2499
$as_echo "no" >&6; }
1716
2500
fi
 
2501
 
1717
2502
 
1718
2503
fi
1719
2504
if test -z "$ac_cv_prog_STRIP"; then
1720
2505
  ac_ct_STRIP=$STRIP
1721
2506
  # Extract the first word of "strip", so it can be a program name with args.
1722
2507
set dummy strip; ac_word=$2
1723
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1724
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2508
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2509
$as_echo_n "checking for $ac_word... " >&6; }
1725
2510
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1726
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2511
  $as_echo_n "(cached) " >&6
1727
2512
else
1728
2513
  if test -n "$ac_ct_STRIP"; then
1729
2514
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1734
2519
  IFS=$as_save_IFS
1735
2520
  test -z "$as_dir" && as_dir=.
1736
2521
  for ac_exec_ext in '' $ac_executable_extensions; do
1737
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2522
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1738
2523
    ac_cv_prog_ac_ct_STRIP="strip"
1739
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2524
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1740
2525
    break 2
1741
2526
  fi
1742
2527
done
1743
2528
done
 
2529
IFS=$as_save_IFS
1744
2530
 
1745
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1746
2531
fi
1747
2532
fi
1748
2533
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1749
2534
if test -n "$ac_ct_STRIP"; then
1750
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1751
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2535
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2536
$as_echo "$ac_ct_STRIP" >&6; }
1752
2537
else
1753
 
  echo "$as_me:$LINENO: result: no" >&5
1754
 
echo "${ECHO_T}no" >&6
 
2538
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2539
$as_echo "no" >&6; }
1755
2540
fi
1756
2541
 
1757
 
  STRIP=$ac_ct_STRIP
 
2542
  if test "x$ac_ct_STRIP" = x; then
 
2543
    STRIP=":"
 
2544
  else
 
2545
    case $cross_compiling:$ac_tool_warned in
 
2546
yes:)
 
2547
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2548
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2549
ac_tool_warned=yes ;;
 
2550
esac
 
2551
    STRIP=$ac_ct_STRIP
 
2552
  fi
1758
2553
else
1759
2554
  STRIP="$ac_cv_prog_STRIP"
1760
2555
fi
1761
2556
 
1762
2557
fi
1763
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
2558
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1764
2559
 
1765
2560
# We need awk for the "check" target.  The system "awk" is bad on
1766
2561
# some platforms.
1776
2571
 
1777
2572
 
1778
2573
# Make sure we can run config.sub.
1779
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
1780
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1781
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
2574
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2575
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
2576
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1782
2577
   { (exit 1); exit 1; }; }
1783
2578
 
1784
 
echo "$as_me:$LINENO: checking build system type" >&5
1785
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
2579
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
2580
$as_echo_n "checking build system type... " >&6; }
1786
2581
if test "${ac_cv_build+set}" = set; then
1787
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2582
  $as_echo_n "(cached) " >&6
1788
2583
else
1789
 
  ac_cv_build_alias=$build_alias
1790
 
test -z "$ac_cv_build_alias" &&
1791
 
  ac_cv_build_alias=`$ac_config_guess`
1792
 
test -z "$ac_cv_build_alias" &&
1793
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1794
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
2584
  ac_build_alias=$build_alias
 
2585
test "x$ac_build_alias" = x &&
 
2586
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2587
test "x$ac_build_alias" = x &&
 
2588
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
2589
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1795
2590
   { (exit 1); exit 1; }; }
1796
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1797
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1798
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
2591
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2592
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
2593
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1799
2594
   { (exit 1); exit 1; }; }
1800
2595
 
1801
2596
fi
1802
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1803
 
echo "${ECHO_T}$ac_cv_build" >&6
 
2597
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2598
$as_echo "$ac_cv_build" >&6; }
 
2599
case $ac_cv_build in
 
2600
*-*-*) ;;
 
2601
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2602
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
 
2603
   { (exit 1); exit 1; }; };;
 
2604
esac
1804
2605
build=$ac_cv_build
1805
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1806
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1807
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1808
 
 
1809
 
 
1810
 
echo "$as_me:$LINENO: checking host system type" >&5
1811
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
2606
ac_save_IFS=$IFS; IFS='-'
 
2607
set x $ac_cv_build
 
2608
shift
 
2609
build_cpu=$1
 
2610
build_vendor=$2
 
2611
shift; shift
 
2612
# Remember, the first character of IFS is used to create $*,
 
2613
# except with old shells:
 
2614
build_os=$*
 
2615
IFS=$ac_save_IFS
 
2616
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2617
 
 
2618
 
 
2619
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
2620
$as_echo_n "checking host system type... " >&6; }
1812
2621
if test "${ac_cv_host+set}" = set; then
1813
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1814
 
else
1815
 
  ac_cv_host_alias=$host_alias
1816
 
test -z "$ac_cv_host_alias" &&
1817
 
  ac_cv_host_alias=$ac_cv_build_alias
1818
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1819
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1820
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
2622
  $as_echo_n "(cached) " >&6
 
2623
else
 
2624
  if test "x$host_alias" = x; then
 
2625
  ac_cv_host=$ac_cv_build
 
2626
else
 
2627
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2628
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2629
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1821
2630
   { (exit 1); exit 1; }; }
 
2631
fi
1822
2632
 
1823
2633
fi
1824
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1825
 
echo "${ECHO_T}$ac_cv_host" >&6
 
2634
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2635
$as_echo "$ac_cv_host" >&6; }
 
2636
case $ac_cv_host in
 
2637
*-*-*) ;;
 
2638
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2639
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
 
2640
   { (exit 1); exit 1; }; };;
 
2641
esac
1826
2642
host=$ac_cv_host
1827
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1828
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1829
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
2643
ac_save_IFS=$IFS; IFS='-'
 
2644
set x $ac_cv_host
 
2645
shift
 
2646
host_cpu=$1
 
2647
host_vendor=$2
 
2648
shift; shift
 
2649
# Remember, the first character of IFS is used to create $*,
 
2650
# except with old shells:
 
2651
host_os=$*
 
2652
IFS=$ac_save_IFS
 
2653
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1830
2654
 
1831
2655
 
1832
2656
case $host_os in
1845
2669
 
1846
2670
 
1847
2671
 
1848
 
# Check whether --enable-relax-mofsyntax or --disable-relax-mofsyntax was given.
 
2672
# Check whether --enable-relax-mofsyntax was given.
1849
2673
if test "${enable_relax_mofsyntax+set}" = set; then
1850
 
  enableval="$enable_relax_mofsyntax"
 
2674
  enableval=$enable_relax_mofsyntax;
 
2675
fi
1851
2676
 
1852
 
fi;
1853
 
# Check whether --enable-onepass or --disable-onepass was given.
 
2677
# Check whether --enable-onepass was given.
1854
2678
if test "${enable_onepass+set}" = set; then
1855
 
  enableval="$enable_onepass"
 
2679
  enableval=$enable_onepass;
 
2680
fi
1856
2681
 
1857
 
fi;
1858
 
# Check whether --enable-namespace-kludge or --disable-namespace-kludge was given.
 
2682
# Check whether --enable-namespace-kludge was given.
1859
2683
if test "${enable_namespace_kludge+set}" = set; then
1860
 
  enableval="$enable_namespace_kludge"
 
2684
  enableval=$enable_namespace_kludge;
 
2685
fi
1861
2686
 
1862
 
fi;
1863
 
# Check whether --enable-testscanner or --disable-testscanner was given.
 
2687
# Check whether --enable-testscanner was given.
1864
2688
if test "${enable_testscanner+set}" = set; then
1865
 
  enableval="$enable_testscanner"
1866
 
 
1867
 
fi;
1868
 
 
1869
 
 
1870
 
 
1871
 
# Check whether --with-sfcb or --without-sfcb was given.
 
2689
  enableval=$enable_testscanner;
 
2690
fi
 
2691
 
 
2692
 
 
2693
 
 
2694
 
 
2695
# Check whether --with-sfcb was given.
1872
2696
if test "${with_sfcb+set}" = set; then
1873
 
  withval="$with_sfcb"
 
2697
  withval=$with_sfcb;
 
2698
fi
1874
2699
 
1875
 
fi;
1876
2700
 
1877
2701
 
1878
2702
if test x"$SFCB_DIR" != x && test "$with_sfcb" != yes ; then
1879
 
   { echo "$as_me:$LINENO: WARNING: SFCB_DIR has been specified ... assuming --with_sfcb" >&5
1880
 
echo "$as_me: WARNING: SFCB_DIR has been specified ... assuming --with_sfcb" >&2;}
 
2703
   { $as_echo "$as_me:$LINENO: WARNING: SFCB_DIR has been specified ... assuming --with_sfcb" >&5
 
2704
$as_echo "$as_me: WARNING: SFCB_DIR has been specified ... assuming --with_sfcb" >&2;}
1881
2705
   with_sfcb=yes
1882
2706
fi
1883
2707
 
1891
2715
   BACKEND_STRING=sfcb
1892
2716
   BACKEND_OBJ='backend_sfcb.$(OBJEXT)'
1893
2717
 
1894
 
   BACKEND_LIBS="-L ../.libs -lsfcBrokerCore -lsfcFileRepository -lsfcUtil"
 
2718
   BACKEND_LIBS="-L../.libs -lsfcBrokerCore -lsfcFileRepository -lsfcUtil"
1895
2719
   BACKEND_INCLUDES="-I $SFCB_DIR -I $SFCB_DIR/sfcUtil"
1896
2720
 
1897
2721
cat >>confdefs.h <<\_ACEOF
1919
2743
if test -n "$ac_tool_prefix"; then
1920
2744
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1921
2745
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1922
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1923
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2746
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2747
$as_echo_n "checking for $ac_word... " >&6; }
1924
2748
if test "${ac_cv_prog_CC+set}" = set; then
1925
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2749
  $as_echo_n "(cached) " >&6
1926
2750
else
1927
2751
  if test -n "$CC"; then
1928
2752
  ac_cv_prog_CC="$CC" # Let the user override the test.
1933
2757
  IFS=$as_save_IFS
1934
2758
  test -z "$as_dir" && as_dir=.
1935
2759
  for ac_exec_ext in '' $ac_executable_extensions; do
1936
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2760
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1937
2761
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1938
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2762
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1939
2763
    break 2
1940
2764
  fi
1941
2765
done
1942
2766
done
 
2767
IFS=$as_save_IFS
1943
2768
 
1944
2769
fi
1945
2770
fi
1946
2771
CC=$ac_cv_prog_CC
1947
2772
if test -n "$CC"; then
1948
 
  echo "$as_me:$LINENO: result: $CC" >&5
1949
 
echo "${ECHO_T}$CC" >&6
 
2773
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2774
$as_echo "$CC" >&6; }
1950
2775
else
1951
 
  echo "$as_me:$LINENO: result: no" >&5
1952
 
echo "${ECHO_T}no" >&6
 
2776
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2777
$as_echo "no" >&6; }
1953
2778
fi
 
2779
 
1954
2780
 
1955
2781
fi
1956
2782
if test -z "$ac_cv_prog_CC"; then
1957
2783
  ac_ct_CC=$CC
1958
2784
  # Extract the first word of "gcc", so it can be a program name with args.
1959
2785
set dummy gcc; ac_word=$2
1960
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1961
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2786
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2787
$as_echo_n "checking for $ac_word... " >&6; }
1962
2788
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1963
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2789
  $as_echo_n "(cached) " >&6
1964
2790
else
1965
2791
  if test -n "$ac_ct_CC"; then
1966
2792
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1971
2797
  IFS=$as_save_IFS
1972
2798
  test -z "$as_dir" && as_dir=.
1973
2799
  for ac_exec_ext in '' $ac_executable_extensions; do
1974
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2800
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1975
2801
    ac_cv_prog_ac_ct_CC="gcc"
1976
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2802
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1977
2803
    break 2
1978
2804
  fi
1979
2805
done
1980
2806
done
 
2807
IFS=$as_save_IFS
1981
2808
 
1982
2809
fi
1983
2810
fi
1984
2811
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1985
2812
if test -n "$ac_ct_CC"; then
1986
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1987
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2813
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2814
$as_echo "$ac_ct_CC" >&6; }
1988
2815
else
1989
 
  echo "$as_me:$LINENO: result: no" >&5
1990
 
echo "${ECHO_T}no" >&6
 
2816
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2817
$as_echo "no" >&6; }
1991
2818
fi
1992
2819
 
1993
 
  CC=$ac_ct_CC
 
2820
  if test "x$ac_ct_CC" = x; then
 
2821
    CC=""
 
2822
  else
 
2823
    case $cross_compiling:$ac_tool_warned in
 
2824
yes:)
 
2825
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2826
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2827
ac_tool_warned=yes ;;
 
2828
esac
 
2829
    CC=$ac_ct_CC
 
2830
  fi
1994
2831
else
1995
2832
  CC="$ac_cv_prog_CC"
1996
2833
fi
1997
2834
 
1998
2835
if test -z "$CC"; then
1999
 
  if test -n "$ac_tool_prefix"; then
2000
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2836
          if test -n "$ac_tool_prefix"; then
 
2837
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2001
2838
set dummy ${ac_tool_prefix}cc; ac_word=$2
2002
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2003
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2839
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2840
$as_echo_n "checking for $ac_word... " >&6; }
2004
2841
if test "${ac_cv_prog_CC+set}" = set; then
2005
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2842
  $as_echo_n "(cached) " >&6
2006
2843
else
2007
2844
  if test -n "$CC"; then
2008
2845
  ac_cv_prog_CC="$CC" # Let the user override the test.
2013
2850
  IFS=$as_save_IFS
2014
2851
  test -z "$as_dir" && as_dir=.
2015
2852
  for ac_exec_ext in '' $ac_executable_extensions; do
2016
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2853
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2017
2854
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2018
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2855
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2019
2856
    break 2
2020
2857
  fi
2021
2858
done
2022
2859
done
 
2860
IFS=$as_save_IFS
2023
2861
 
2024
2862
fi
2025
2863
fi
2026
2864
CC=$ac_cv_prog_CC
2027
2865
if test -n "$CC"; then
2028
 
  echo "$as_me:$LINENO: result: $CC" >&5
2029
 
echo "${ECHO_T}$CC" >&6
2030
 
else
2031
 
  echo "$as_me:$LINENO: result: no" >&5
2032
 
echo "${ECHO_T}no" >&6
2033
 
fi
2034
 
 
2035
 
fi
2036
 
if test -z "$ac_cv_prog_CC"; then
2037
 
  ac_ct_CC=$CC
2038
 
  # Extract the first word of "cc", so it can be a program name with args.
2039
 
set dummy cc; ac_word=$2
2040
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2041
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2042
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2043
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2044
 
else
2045
 
  if test -n "$ac_ct_CC"; then
2046
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2047
 
else
2048
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2049
 
for as_dir in $PATH
2050
 
do
2051
 
  IFS=$as_save_IFS
2052
 
  test -z "$as_dir" && as_dir=.
2053
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2054
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2055
 
    ac_cv_prog_ac_ct_CC="cc"
2056
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2057
 
    break 2
 
2866
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2867
$as_echo "$CC" >&6; }
 
2868
else
 
2869
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2870
$as_echo "no" >&6; }
 
2871
fi
 
2872
 
 
2873
 
2058
2874
  fi
2059
 
done
2060
 
done
2061
 
 
2062
 
fi
2063
 
fi
2064
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2065
 
if test -n "$ac_ct_CC"; then
2066
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2067
 
echo "${ECHO_T}$ac_ct_CC" >&6
2068
 
else
2069
 
  echo "$as_me:$LINENO: result: no" >&5
2070
 
echo "${ECHO_T}no" >&6
2071
 
fi
2072
 
 
2073
 
  CC=$ac_ct_CC
2074
 
else
2075
 
  CC="$ac_cv_prog_CC"
2076
 
fi
2077
 
 
2078
2875
fi
2079
2876
if test -z "$CC"; then
2080
2877
  # Extract the first word of "cc", so it can be a program name with args.
2081
2878
set dummy cc; ac_word=$2
2082
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2083
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2879
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2880
$as_echo_n "checking for $ac_word... " >&6; }
2084
2881
if test "${ac_cv_prog_CC+set}" = set; then
2085
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2882
  $as_echo_n "(cached) " >&6
2086
2883
else
2087
2884
  if test -n "$CC"; then
2088
2885
  ac_cv_prog_CC="$CC" # Let the user override the test.
2094
2891
  IFS=$as_save_IFS
2095
2892
  test -z "$as_dir" && as_dir=.
2096
2893
  for ac_exec_ext in '' $ac_executable_extensions; do
2097
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2894
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2098
2895
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2099
2896
       ac_prog_rejected=yes
2100
2897
       continue
2101
2898
     fi
2102
2899
    ac_cv_prog_CC="cc"
2103
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2900
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2104
2901
    break 2
2105
2902
  fi
2106
2903
done
2107
2904
done
 
2905
IFS=$as_save_IFS
2108
2906
 
2109
2907
if test $ac_prog_rejected = yes; then
2110
2908
  # We found a bogon in the path, so make sure we never use it.
2122
2920
fi
2123
2921
CC=$ac_cv_prog_CC
2124
2922
if test -n "$CC"; then
2125
 
  echo "$as_me:$LINENO: result: $CC" >&5
2126
 
echo "${ECHO_T}$CC" >&6
 
2923
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2924
$as_echo "$CC" >&6; }
2127
2925
else
2128
 
  echo "$as_me:$LINENO: result: no" >&5
2129
 
echo "${ECHO_T}no" >&6
 
2926
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2927
$as_echo "no" >&6; }
2130
2928
fi
 
2929
 
2131
2930
 
2132
2931
fi
2133
2932
if test -z "$CC"; then
2134
2933
  if test -n "$ac_tool_prefix"; then
2135
 
  for ac_prog in cl
 
2934
  for ac_prog in cl.exe
2136
2935
  do
2137
2936
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2138
2937
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2139
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2140
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2938
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2939
$as_echo_n "checking for $ac_word... " >&6; }
2141
2940
if test "${ac_cv_prog_CC+set}" = set; then
2142
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2941
  $as_echo_n "(cached) " >&6
2143
2942
else
2144
2943
  if test -n "$CC"; then
2145
2944
  ac_cv_prog_CC="$CC" # Let the user override the test.
2150
2949
  IFS=$as_save_IFS
2151
2950
  test -z "$as_dir" && as_dir=.
2152
2951
  for ac_exec_ext in '' $ac_executable_extensions; do
2153
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2952
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2154
2953
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2155
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2954
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2156
2955
    break 2
2157
2956
  fi
2158
2957
done
2159
2958
done
 
2959
IFS=$as_save_IFS
2160
2960
 
2161
2961
fi
2162
2962
fi
2163
2963
CC=$ac_cv_prog_CC
2164
2964
if test -n "$CC"; then
2165
 
  echo "$as_me:$LINENO: result: $CC" >&5
2166
 
echo "${ECHO_T}$CC" >&6
 
2965
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2966
$as_echo "$CC" >&6; }
2167
2967
else
2168
 
  echo "$as_me:$LINENO: result: no" >&5
2169
 
echo "${ECHO_T}no" >&6
 
2968
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2969
$as_echo "no" >&6; }
2170
2970
fi
2171
2971
 
 
2972
 
2172
2973
    test -n "$CC" && break
2173
2974
  done
2174
2975
fi
2175
2976
if test -z "$CC"; then
2176
2977
  ac_ct_CC=$CC
2177
 
  for ac_prog in cl
 
2978
  for ac_prog in cl.exe
2178
2979
do
2179
2980
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2180
2981
set dummy $ac_prog; ac_word=$2
2181
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2182
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2982
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2983
$as_echo_n "checking for $ac_word... " >&6; }
2183
2984
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2184
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2985
  $as_echo_n "(cached) " >&6
2185
2986
else
2186
2987
  if test -n "$ac_ct_CC"; then
2187
2988
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2192
2993
  IFS=$as_save_IFS
2193
2994
  test -z "$as_dir" && as_dir=.
2194
2995
  for ac_exec_ext in '' $ac_executable_extensions; do
2195
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2996
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2196
2997
    ac_cv_prog_ac_ct_CC="$ac_prog"
2197
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2998
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198
2999
    break 2
2199
3000
  fi
2200
3001
done
2201
3002
done
 
3003
IFS=$as_save_IFS
2202
3004
 
2203
3005
fi
2204
3006
fi
2205
3007
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2206
3008
if test -n "$ac_ct_CC"; then
2207
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2208
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
3009
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3010
$as_echo "$ac_ct_CC" >&6; }
2209
3011
else
2210
 
  echo "$as_me:$LINENO: result: no" >&5
2211
 
echo "${ECHO_T}no" >&6
 
3012
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3013
$as_echo "no" >&6; }
2212
3014
fi
2213
3015
 
 
3016
 
2214
3017
  test -n "$ac_ct_CC" && break
2215
3018
done
2216
3019
 
2217
 
  CC=$ac_ct_CC
2218
 
fi
2219
 
 
2220
 
fi
2221
 
 
2222
 
 
2223
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
3020
  if test "x$ac_ct_CC" = x; then
 
3021
    CC=""
 
3022
  else
 
3023
    case $cross_compiling:$ac_tool_warned in
 
3024
yes:)
 
3025
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3026
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3027
ac_tool_warned=yes ;;
 
3028
esac
 
3029
    CC=$ac_ct_CC
 
3030
  fi
 
3031
fi
 
3032
 
 
3033
fi
 
3034
 
 
3035
 
 
3036
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3037
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3038
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2224
3039
See \`config.log' for more details." >&5
2225
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
3040
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2226
3041
See \`config.log' for more details." >&2;}
2227
 
   { (exit 1); exit 1; }; }
 
3042
   { (exit 1); exit 1; }; }; }
2228
3043
 
2229
3044
# Provide some information about the compiler.
2230
 
echo "$as_me:$LINENO:" \
2231
 
     "checking for C compiler version" >&5
2232
 
ac_compiler=`set X $ac_compile; echo $2`
2233
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2234
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2235
 
  ac_status=$?
2236
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2237
 
  (exit $ac_status); }
2238
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2239
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2240
 
  ac_status=$?
2241
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2242
 
  (exit $ac_status); }
2243
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2244
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
2245
 
  ac_status=$?
2246
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3045
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3046
set X $ac_compile
 
3047
ac_compiler=$2
 
3048
{ (ac_try="$ac_compiler --version >&5"
 
3049
case "(($ac_try" in
 
3050
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3051
  *) ac_try_echo=$ac_try;;
 
3052
esac
 
3053
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3054
$as_echo "$ac_try_echo") >&5
 
3055
  (eval "$ac_compiler --version >&5") 2>&5
 
3056
  ac_status=$?
 
3057
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3058
  (exit $ac_status); }
 
3059
{ (ac_try="$ac_compiler -v >&5"
 
3060
case "(($ac_try" in
 
3061
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3062
  *) ac_try_echo=$ac_try;;
 
3063
esac
 
3064
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3065
$as_echo "$ac_try_echo") >&5
 
3066
  (eval "$ac_compiler -v >&5") 2>&5
 
3067
  ac_status=$?
 
3068
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3069
  (exit $ac_status); }
 
3070
{ (ac_try="$ac_compiler -V >&5"
 
3071
case "(($ac_try" in
 
3072
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3073
  *) ac_try_echo=$ac_try;;
 
3074
esac
 
3075
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3076
$as_echo "$ac_try_echo") >&5
 
3077
  (eval "$ac_compiler -V >&5") 2>&5
 
3078
  ac_status=$?
 
3079
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247
3080
  (exit $ac_status); }
2248
3081
 
2249
3082
cat >conftest.$ac_ext <<_ACEOF
2262
3095
}
2263
3096
_ACEOF
2264
3097
ac_clean_files_save=$ac_clean_files
2265
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3098
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2266
3099
# Try to create an executable without -o first, disregard a.out.
2267
3100
# It will help us diagnose broken compilers, and finding out an intuition
2268
3101
# of exeext.
2269
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2270
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2271
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2272
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2273
 
  (eval $ac_link_default) 2>&5
 
3102
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3103
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3104
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3105
 
 
3106
# The possible output files:
 
3107
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3108
 
 
3109
ac_rmfiles=
 
3110
for ac_file in $ac_files
 
3111
do
 
3112
  case $ac_file in
 
3113
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3114
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3115
  esac
 
3116
done
 
3117
rm -f $ac_rmfiles
 
3118
 
 
3119
if { (ac_try="$ac_link_default"
 
3120
case "(($ac_try" in
 
3121
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3122
  *) ac_try_echo=$ac_try;;
 
3123
esac
 
3124
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3125
$as_echo "$ac_try_echo") >&5
 
3126
  (eval "$ac_link_default") 2>&5
2274
3127
  ac_status=$?
2275
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3128
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276
3129
  (exit $ac_status); }; then
2277
 
  # Find the output, starting from the most likely.  This scheme is
2278
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2279
 
# resort.
2280
 
 
2281
 
# Be careful to initialize this variable, since it used to be cached.
2282
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2283
 
ac_cv_exeext=
2284
 
# b.out is created by i960 compilers.
2285
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
3130
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3131
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3132
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3133
# so that the user can short-circuit this test for compilers unknown to
 
3134
# Autoconf.
 
3135
for ac_file in $ac_files ''
2286
3136
do
2287
3137
  test -f "$ac_file" || continue
2288
3138
  case $ac_file in
2289
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2290
 
        ;;
2291
 
    conftest.$ac_ext )
2292
 
        # This is the source file.
 
3139
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2293
3140
        ;;
2294
3141
    [ab].out )
2295
3142
        # We found the default executable, but exeext='' is most
2296
3143
        # certainly right.
2297
3144
        break;;
2298
3145
    *.* )
2299
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2300
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2301
 
        # but it would be cool to find out if it's true.  Does anybody
2302
 
        # maintain Libtool? --akim.
2303
 
        export ac_cv_exeext
 
3146
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3147
        then :; else
 
3148
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3149
        fi
 
3150
        # We set ac_cv_exeext here because the later test for it is not
 
3151
        # safe: cross compilers may not add the suffix if given an `-o'
 
3152
        # argument, so we may need to know it at that point already.
 
3153
        # Even if this section looks crufty: it has the advantage of
 
3154
        # actually working.
2304
3155
        break;;
2305
3156
    * )
2306
3157
        break;;
2307
3158
  esac
2308
3159
done
 
3160
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3161
 
2309
3162
else
2310
 
  echo "$as_me: failed program was:" >&5
 
3163
  ac_file=''
 
3164
fi
 
3165
 
 
3166
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3167
$as_echo "$ac_file" >&6; }
 
3168
if test -z "$ac_file"; then
 
3169
  $as_echo "$as_me: failed program was:" >&5
2311
3170
sed 's/^/| /' conftest.$ac_ext >&5
2312
3171
 
2313
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
3172
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3173
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3174
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2314
3175
See \`config.log' for more details." >&5
2315
 
echo "$as_me: error: C compiler cannot create executables
 
3176
$as_echo "$as_me: error: C compiler cannot create executables
2316
3177
See \`config.log' for more details." >&2;}
2317
 
   { (exit 77); exit 77; }; }
 
3178
   { (exit 77); exit 77; }; }; }
2318
3179
fi
2319
3180
 
2320
3181
ac_exeext=$ac_cv_exeext
2321
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2322
 
echo "${ECHO_T}$ac_file" >&6
2323
3182
 
2324
 
# Check the compiler produces executables we can run.  If not, either
 
3183
# Check that the compiler produces executables we can run.  If not, either
2325
3184
# the compiler is broken, or we cross compile.
2326
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2327
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
3185
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3186
$as_echo_n "checking whether the C compiler works... " >&6; }
2328
3187
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2329
3188
# If not cross compiling, check that we can run a simple program.
2330
3189
if test "$cross_compiling" != yes; then
2331
3190
  if { ac_try='./$ac_file'
2332
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333
 
  (eval $ac_try) 2>&5
 
3191
  { (case "(($ac_try" in
 
3192
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3193
  *) ac_try_echo=$ac_try;;
 
3194
esac
 
3195
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3196
$as_echo "$ac_try_echo") >&5
 
3197
  (eval "$ac_try") 2>&5
2334
3198
  ac_status=$?
2335
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3199
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336
3200
  (exit $ac_status); }; }; then
2337
3201
    cross_compiling=no
2338
3202
  else
2339
3203
    if test "$cross_compiling" = maybe; then
2340
3204
        cross_compiling=yes
2341
3205
    else
2342
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3206
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3207
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3208
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2343
3209
If you meant to cross compile, use \`--host'.
2344
3210
See \`config.log' for more details." >&5
2345
 
echo "$as_me: error: cannot run C compiled programs.
 
3211
$as_echo "$as_me: error: cannot run C compiled programs.
2346
3212
If you meant to cross compile, use \`--host'.
2347
3213
See \`config.log' for more details." >&2;}
2348
 
   { (exit 1); exit 1; }; }
 
3214
   { (exit 1); exit 1; }; }; }
2349
3215
    fi
2350
3216
  fi
2351
3217
fi
2352
 
echo "$as_me:$LINENO: result: yes" >&5
2353
 
echo "${ECHO_T}yes" >&6
 
3218
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3219
$as_echo "yes" >&6; }
2354
3220
 
2355
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3221
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2356
3222
ac_clean_files=$ac_clean_files_save
2357
 
# Check the compiler produces executables we can run.  If not, either
 
3223
# Check that the compiler produces executables we can run.  If not, either
2358
3224
# the compiler is broken, or we cross compile.
2359
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2360
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2361
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2362
 
echo "${ECHO_T}$cross_compiling" >&6
 
3225
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3226
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3227
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3228
$as_echo "$cross_compiling" >&6; }
2363
3229
 
2364
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2365
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2366
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2367
 
  (eval $ac_link) 2>&5
 
3230
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3231
$as_echo_n "checking for suffix of executables... " >&6; }
 
3232
if { (ac_try="$ac_link"
 
3233
case "(($ac_try" in
 
3234
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3235
  *) ac_try_echo=$ac_try;;
 
3236
esac
 
3237
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3238
$as_echo "$ac_try_echo") >&5
 
3239
  (eval "$ac_link") 2>&5
2368
3240
  ac_status=$?
2369
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3241
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370
3242
  (exit $ac_status); }; then
2371
3243
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2372
3244
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2375
3247
for ac_file in conftest.exe conftest conftest.*; do
2376
3248
  test -f "$ac_file" || continue
2377
3249
  case $ac_file in
2378
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3250
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2379
3251
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2380
 
          export ac_cv_exeext
2381
3252
          break;;
2382
3253
    * ) break;;
2383
3254
  esac
2384
3255
done
2385
3256
else
2386
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3257
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3258
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3259
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2387
3260
See \`config.log' for more details." >&5
2388
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3261
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2389
3262
See \`config.log' for more details." >&2;}
2390
 
   { (exit 1); exit 1; }; }
 
3263
   { (exit 1); exit 1; }; }; }
2391
3264
fi
2392
3265
 
2393
3266
rm -f conftest$ac_cv_exeext
2394
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2395
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3267
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3268
$as_echo "$ac_cv_exeext" >&6; }
2396
3269
 
2397
3270
rm -f conftest.$ac_ext
2398
3271
EXEEXT=$ac_cv_exeext
2399
3272
ac_exeext=$EXEEXT
2400
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2401
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3273
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3274
$as_echo_n "checking for suffix of object files... " >&6; }
2402
3275
if test "${ac_cv_objext+set}" = set; then
2403
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3276
  $as_echo_n "(cached) " >&6
2404
3277
else
2405
3278
  cat >conftest.$ac_ext <<_ACEOF
2406
3279
/* confdefs.h.  */
2418
3291
}
2419
3292
_ACEOF
2420
3293
rm -f conftest.o conftest.obj
2421
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2422
 
  (eval $ac_compile) 2>&5
 
3294
if { (ac_try="$ac_compile"
 
3295
case "(($ac_try" in
 
3296
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3297
  *) ac_try_echo=$ac_try;;
 
3298
esac
 
3299
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3300
$as_echo "$ac_try_echo") >&5
 
3301
  (eval "$ac_compile") 2>&5
2423
3302
  ac_status=$?
2424
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3303
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425
3304
  (exit $ac_status); }; then
2426
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3305
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3306
  test -f "$ac_file" || continue;
2427
3307
  case $ac_file in
2428
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3308
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2429
3309
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2430
3310
       break;;
2431
3311
  esac
2432
3312
done
2433
3313
else
2434
 
  echo "$as_me: failed program was:" >&5
 
3314
  $as_echo "$as_me: failed program was:" >&5
2435
3315
sed 's/^/| /' conftest.$ac_ext >&5
2436
3316
 
2437
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3317
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3318
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3319
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2438
3320
See \`config.log' for more details." >&5
2439
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3321
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2440
3322
See \`config.log' for more details." >&2;}
2441
 
   { (exit 1); exit 1; }; }
 
3323
   { (exit 1); exit 1; }; }; }
2442
3324
fi
2443
3325
 
2444
3326
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2445
3327
fi
2446
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2447
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3328
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3329
$as_echo "$ac_cv_objext" >&6; }
2448
3330
OBJEXT=$ac_cv_objext
2449
3331
ac_objext=$OBJEXT
2450
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2451
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3332
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3333
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2452
3334
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2453
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3335
  $as_echo_n "(cached) " >&6
2454
3336
else
2455
3337
  cat >conftest.$ac_ext <<_ACEOF
2456
3338
/* confdefs.h.  */
2471
3353
}
2472
3354
_ACEOF
2473
3355
rm -f conftest.$ac_objext
2474
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2475
 
  (eval $ac_compile) 2>conftest.er1
 
3356
if { (ac_try="$ac_compile"
 
3357
case "(($ac_try" in
 
3358
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3359
  *) ac_try_echo=$ac_try;;
 
3360
esac
 
3361
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3362
$as_echo "$ac_try_echo") >&5
 
3363
  (eval "$ac_compile") 2>conftest.er1
2476
3364
  ac_status=$?
2477
3365
  grep -v '^ *+' conftest.er1 >conftest.err
2478
3366
  rm -f conftest.er1
2479
3367
  cat conftest.err >&5
2480
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481
 
  (exit $ac_status); } &&
2482
 
         { ac_try='test -z "$ac_c_werror_flag"
2483
 
                         || test ! -s conftest.err'
2484
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2485
 
  (eval $ac_try) 2>&5
2486
 
  ac_status=$?
2487
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488
 
  (exit $ac_status); }; } &&
2489
 
         { ac_try='test -s conftest.$ac_objext'
2490
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2491
 
  (eval $ac_try) 2>&5
2492
 
  ac_status=$?
2493
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2494
 
  (exit $ac_status); }; }; then
 
3368
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3369
  (exit $ac_status); } && {
 
3370
         test -z "$ac_c_werror_flag" ||
 
3371
         test ! -s conftest.err
 
3372
       } && test -s conftest.$ac_objext; then
2495
3373
  ac_compiler_gnu=yes
2496
3374
else
2497
 
  echo "$as_me: failed program was:" >&5
 
3375
  $as_echo "$as_me: failed program was:" >&5
2498
3376
sed 's/^/| /' conftest.$ac_ext >&5
2499
3377
 
2500
 
ac_compiler_gnu=no
 
3378
        ac_compiler_gnu=no
2501
3379
fi
2502
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3380
 
 
3381
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2503
3382
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2504
3383
 
2505
3384
fi
2506
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2507
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2508
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3385
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3386
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3387
if test $ac_compiler_gnu = yes; then
 
3388
  GCC=yes
 
3389
else
 
3390
  GCC=
 
3391
fi
2509
3392
ac_test_CFLAGS=${CFLAGS+set}
2510
3393
ac_save_CFLAGS=$CFLAGS
2511
 
CFLAGS="-g"
2512
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2513
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3394
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3395
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2514
3396
if test "${ac_cv_prog_cc_g+set}" = set; then
2515
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2516
 
else
2517
 
  cat >conftest.$ac_ext <<_ACEOF
2518
 
/* confdefs.h.  */
2519
 
_ACEOF
2520
 
cat confdefs.h >>conftest.$ac_ext
2521
 
cat >>conftest.$ac_ext <<_ACEOF
2522
 
/* end confdefs.h.  */
2523
 
 
2524
 
int
2525
 
main ()
2526
 
{
2527
 
 
2528
 
  ;
2529
 
  return 0;
2530
 
}
2531
 
_ACEOF
2532
 
rm -f conftest.$ac_objext
2533
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2534
 
  (eval $ac_compile) 2>conftest.er1
2535
 
  ac_status=$?
2536
 
  grep -v '^ *+' conftest.er1 >conftest.err
2537
 
  rm -f conftest.er1
2538
 
  cat conftest.err >&5
2539
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540
 
  (exit $ac_status); } &&
2541
 
         { ac_try='test -z "$ac_c_werror_flag"
2542
 
                         || test ! -s conftest.err'
2543
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2544
 
  (eval $ac_try) 2>&5
2545
 
  ac_status=$?
2546
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547
 
  (exit $ac_status); }; } &&
2548
 
         { ac_try='test -s conftest.$ac_objext'
2549
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2550
 
  (eval $ac_try) 2>&5
2551
 
  ac_status=$?
2552
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553
 
  (exit $ac_status); }; }; then
2554
 
  ac_cv_prog_cc_g=yes
2555
 
else
2556
 
  echo "$as_me: failed program was:" >&5
2557
 
sed 's/^/| /' conftest.$ac_ext >&5
2558
 
 
2559
 
ac_cv_prog_cc_g=no
2560
 
fi
2561
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2562
 
fi
2563
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2564
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3397
  $as_echo_n "(cached) " >&6
 
3398
else
 
3399
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3400
   ac_c_werror_flag=yes
 
3401
   ac_cv_prog_cc_g=no
 
3402
   CFLAGS="-g"
 
3403
   cat >conftest.$ac_ext <<_ACEOF
 
3404
/* confdefs.h.  */
 
3405
_ACEOF
 
3406
cat confdefs.h >>conftest.$ac_ext
 
3407
cat >>conftest.$ac_ext <<_ACEOF
 
3408
/* end confdefs.h.  */
 
3409
 
 
3410
int
 
3411
main ()
 
3412
{
 
3413
 
 
3414
  ;
 
3415
  return 0;
 
3416
}
 
3417
_ACEOF
 
3418
rm -f conftest.$ac_objext
 
3419
if { (ac_try="$ac_compile"
 
3420
case "(($ac_try" in
 
3421
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3422
  *) ac_try_echo=$ac_try;;
 
3423
esac
 
3424
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3425
$as_echo "$ac_try_echo") >&5
 
3426
  (eval "$ac_compile") 2>conftest.er1
 
3427
  ac_status=$?
 
3428
  grep -v '^ *+' conftest.er1 >conftest.err
 
3429
  rm -f conftest.er1
 
3430
  cat conftest.err >&5
 
3431
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3432
  (exit $ac_status); } && {
 
3433
         test -z "$ac_c_werror_flag" ||
 
3434
         test ! -s conftest.err
 
3435
       } && test -s conftest.$ac_objext; then
 
3436
  ac_cv_prog_cc_g=yes
 
3437
else
 
3438
  $as_echo "$as_me: failed program was:" >&5
 
3439
sed 's/^/| /' conftest.$ac_ext >&5
 
3440
 
 
3441
        CFLAGS=""
 
3442
      cat >conftest.$ac_ext <<_ACEOF
 
3443
/* confdefs.h.  */
 
3444
_ACEOF
 
3445
cat confdefs.h >>conftest.$ac_ext
 
3446
cat >>conftest.$ac_ext <<_ACEOF
 
3447
/* end confdefs.h.  */
 
3448
 
 
3449
int
 
3450
main ()
 
3451
{
 
3452
 
 
3453
  ;
 
3454
  return 0;
 
3455
}
 
3456
_ACEOF
 
3457
rm -f conftest.$ac_objext
 
3458
if { (ac_try="$ac_compile"
 
3459
case "(($ac_try" in
 
3460
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3461
  *) ac_try_echo=$ac_try;;
 
3462
esac
 
3463
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3464
$as_echo "$ac_try_echo") >&5
 
3465
  (eval "$ac_compile") 2>conftest.er1
 
3466
  ac_status=$?
 
3467
  grep -v '^ *+' conftest.er1 >conftest.err
 
3468
  rm -f conftest.er1
 
3469
  cat conftest.err >&5
 
3470
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3471
  (exit $ac_status); } && {
 
3472
         test -z "$ac_c_werror_flag" ||
 
3473
         test ! -s conftest.err
 
3474
       } && test -s conftest.$ac_objext; then
 
3475
  :
 
3476
else
 
3477
  $as_echo "$as_me: failed program was:" >&5
 
3478
sed 's/^/| /' conftest.$ac_ext >&5
 
3479
 
 
3480
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3481
         CFLAGS="-g"
 
3482
         cat >conftest.$ac_ext <<_ACEOF
 
3483
/* confdefs.h.  */
 
3484
_ACEOF
 
3485
cat confdefs.h >>conftest.$ac_ext
 
3486
cat >>conftest.$ac_ext <<_ACEOF
 
3487
/* end confdefs.h.  */
 
3488
 
 
3489
int
 
3490
main ()
 
3491
{
 
3492
 
 
3493
  ;
 
3494
  return 0;
 
3495
}
 
3496
_ACEOF
 
3497
rm -f conftest.$ac_objext
 
3498
if { (ac_try="$ac_compile"
 
3499
case "(($ac_try" in
 
3500
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3501
  *) ac_try_echo=$ac_try;;
 
3502
esac
 
3503
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3504
$as_echo "$ac_try_echo") >&5
 
3505
  (eval "$ac_compile") 2>conftest.er1
 
3506
  ac_status=$?
 
3507
  grep -v '^ *+' conftest.er1 >conftest.err
 
3508
  rm -f conftest.er1
 
3509
  cat conftest.err >&5
 
3510
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3511
  (exit $ac_status); } && {
 
3512
         test -z "$ac_c_werror_flag" ||
 
3513
         test ! -s conftest.err
 
3514
       } && test -s conftest.$ac_objext; then
 
3515
  ac_cv_prog_cc_g=yes
 
3516
else
 
3517
  $as_echo "$as_me: failed program was:" >&5
 
3518
sed 's/^/| /' conftest.$ac_ext >&5
 
3519
 
 
3520
 
 
3521
fi
 
3522
 
 
3523
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3524
fi
 
3525
 
 
3526
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3527
fi
 
3528
 
 
3529
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3530
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3531
fi
 
3532
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3533
$as_echo "$ac_cv_prog_cc_g" >&6; }
2565
3534
if test "$ac_test_CFLAGS" = set; then
2566
3535
  CFLAGS=$ac_save_CFLAGS
2567
3536
elif test $ac_cv_prog_cc_g = yes; then
2577
3546
    CFLAGS=
2578
3547
  fi
2579
3548
fi
2580
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2581
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2582
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2583
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3549
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3550
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3551
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3552
  $as_echo_n "(cached) " >&6
2584
3553
else
2585
 
  ac_cv_prog_cc_stdc=no
 
3554
  ac_cv_prog_cc_c89=no
2586
3555
ac_save_CC=$CC
2587
3556
cat >conftest.$ac_ext <<_ACEOF
2588
3557
/* confdefs.h.  */
2616
3585
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2617
3586
   function prototypes and stuff, but not '\xHH' hex character constants.
2618
3587
   These don't provoke an error unfortunately, instead are silently treated
2619
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3588
   as 'x'.  The following induces an error, until -std is added to get
2620
3589
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2621
3590
   array size at least.  It's necessary to write '\x00'==0 to get something
2622
 
   that's true only with -std1.  */
 
3591
   that's true only with -std.  */
2623
3592
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2624
3593
 
 
3594
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3595
   inside strings and character constants.  */
 
3596
#define FOO(x) 'x'
 
3597
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3598
 
2625
3599
int test (int i, double x);
2626
3600
struct s1 {int (*f) (int a);};
2627
3601
struct s2 {int (*f) (double a);};
2636
3610
  return 0;
2637
3611
}
2638
3612
_ACEOF
2639
 
# Don't try gcc -ansi; that turns off useful extensions and
2640
 
# breaks some systems' header files.
2641
 
# AIX                   -qlanglvl=ansi
2642
 
# Ultrix and OSF/1      -std1
2643
 
# HP-UX 10.20 and later -Ae
2644
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2645
 
# SVR4                  -Xc -D__EXTENSIONS__
2646
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3613
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3614
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2647
3615
do
2648
3616
  CC="$ac_save_CC $ac_arg"
2649
3617
  rm -f conftest.$ac_objext
2650
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2651
 
  (eval $ac_compile) 2>conftest.er1
 
3618
if { (ac_try="$ac_compile"
 
3619
case "(($ac_try" in
 
3620
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3621
  *) ac_try_echo=$ac_try;;
 
3622
esac
 
3623
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3624
$as_echo "$ac_try_echo") >&5
 
3625
  (eval "$ac_compile") 2>conftest.er1
2652
3626
  ac_status=$?
2653
3627
  grep -v '^ *+' conftest.er1 >conftest.err
2654
3628
  rm -f conftest.er1
2655
3629
  cat conftest.err >&5
2656
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657
 
  (exit $ac_status); } &&
2658
 
         { ac_try='test -z "$ac_c_werror_flag"
2659
 
                         || test ! -s conftest.err'
2660
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2661
 
  (eval $ac_try) 2>&5
2662
 
  ac_status=$?
2663
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664
 
  (exit $ac_status); }; } &&
2665
 
         { ac_try='test -s conftest.$ac_objext'
2666
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2667
 
  (eval $ac_try) 2>&5
2668
 
  ac_status=$?
2669
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670
 
  (exit $ac_status); }; }; then
2671
 
  ac_cv_prog_cc_stdc=$ac_arg
2672
 
break
 
3630
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3631
  (exit $ac_status); } && {
 
3632
         test -z "$ac_c_werror_flag" ||
 
3633
         test ! -s conftest.err
 
3634
       } && test -s conftest.$ac_objext; then
 
3635
  ac_cv_prog_cc_c89=$ac_arg
2673
3636
else
2674
 
  echo "$as_me: failed program was:" >&5
 
3637
  $as_echo "$as_me: failed program was:" >&5
2675
3638
sed 's/^/| /' conftest.$ac_ext >&5
2676
3639
 
 
3640
 
2677
3641
fi
2678
 
rm -f conftest.err conftest.$ac_objext
 
3642
 
 
3643
rm -f core conftest.err conftest.$ac_objext
 
3644
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2679
3645
done
2680
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3646
rm -f conftest.$ac_ext
2681
3647
CC=$ac_save_CC
2682
3648
 
2683
3649
fi
2684
 
 
2685
 
case "x$ac_cv_prog_cc_stdc" in
2686
 
  x|xno)
2687
 
    echo "$as_me:$LINENO: result: none needed" >&5
2688
 
echo "${ECHO_T}none needed" >&6 ;;
 
3650
# AC_CACHE_VAL
 
3651
case "x$ac_cv_prog_cc_c89" in
 
3652
  x)
 
3653
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3654
$as_echo "none needed" >&6; } ;;
 
3655
  xno)
 
3656
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3657
$as_echo "unsupported" >&6; } ;;
2689
3658
  *)
2690
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2691
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2692
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3659
    CC="$CC $ac_cv_prog_cc_c89"
 
3660
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3661
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2693
3662
esac
2694
3663
 
2695
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2696
 
# in C++ we need to declare it.  In case someone uses the same compiler
2697
 
# for both compiling C and C++ we need to have the C++ compiler decide
2698
 
# the declaration of exit, since it's the most demanding environment.
2699
 
cat >conftest.$ac_ext <<_ACEOF
2700
 
#ifndef __cplusplus
2701
 
  choke me
2702
 
#endif
2703
 
_ACEOF
2704
 
rm -f conftest.$ac_objext
2705
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2706
 
  (eval $ac_compile) 2>conftest.er1
2707
 
  ac_status=$?
2708
 
  grep -v '^ *+' conftest.er1 >conftest.err
2709
 
  rm -f conftest.er1
2710
 
  cat conftest.err >&5
2711
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712
 
  (exit $ac_status); } &&
2713
 
         { ac_try='test -z "$ac_c_werror_flag"
2714
 
                         || test ! -s conftest.err'
2715
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2716
 
  (eval $ac_try) 2>&5
2717
 
  ac_status=$?
2718
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719
 
  (exit $ac_status); }; } &&
2720
 
         { ac_try='test -s conftest.$ac_objext'
2721
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2722
 
  (eval $ac_try) 2>&5
2723
 
  ac_status=$?
2724
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725
 
  (exit $ac_status); }; }; then
2726
 
  for ac_declaration in \
2727
 
   '' \
2728
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2729
 
   'extern "C" void std::exit (int); using std::exit;' \
2730
 
   'extern "C" void exit (int) throw ();' \
2731
 
   'extern "C" void exit (int);' \
2732
 
   'void exit (int);'
2733
 
do
2734
 
  cat >conftest.$ac_ext <<_ACEOF
2735
 
/* confdefs.h.  */
2736
 
_ACEOF
2737
 
cat confdefs.h >>conftest.$ac_ext
2738
 
cat >>conftest.$ac_ext <<_ACEOF
2739
 
/* end confdefs.h.  */
2740
 
$ac_declaration
2741
 
#include <stdlib.h>
2742
 
int
2743
 
main ()
2744
 
{
2745
 
exit (42);
2746
 
  ;
2747
 
  return 0;
2748
 
}
2749
 
_ACEOF
2750
 
rm -f conftest.$ac_objext
2751
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2752
 
  (eval $ac_compile) 2>conftest.er1
2753
 
  ac_status=$?
2754
 
  grep -v '^ *+' conftest.er1 >conftest.err
2755
 
  rm -f conftest.er1
2756
 
  cat conftest.err >&5
2757
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758
 
  (exit $ac_status); } &&
2759
 
         { ac_try='test -z "$ac_c_werror_flag"
2760
 
                         || test ! -s conftest.err'
2761
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2762
 
  (eval $ac_try) 2>&5
2763
 
  ac_status=$?
2764
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765
 
  (exit $ac_status); }; } &&
2766
 
         { ac_try='test -s conftest.$ac_objext'
2767
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2768
 
  (eval $ac_try) 2>&5
2769
 
  ac_status=$?
2770
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771
 
  (exit $ac_status); }; }; then
2772
 
  :
2773
 
else
2774
 
  echo "$as_me: failed program was:" >&5
2775
 
sed 's/^/| /' conftest.$ac_ext >&5
2776
 
 
2777
 
continue
2778
 
fi
2779
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2780
 
  cat >conftest.$ac_ext <<_ACEOF
2781
 
/* confdefs.h.  */
2782
 
_ACEOF
2783
 
cat confdefs.h >>conftest.$ac_ext
2784
 
cat >>conftest.$ac_ext <<_ACEOF
2785
 
/* end confdefs.h.  */
2786
 
$ac_declaration
2787
 
int
2788
 
main ()
2789
 
{
2790
 
exit (42);
2791
 
  ;
2792
 
  return 0;
2793
 
}
2794
 
_ACEOF
2795
 
rm -f conftest.$ac_objext
2796
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2797
 
  (eval $ac_compile) 2>conftest.er1
2798
 
  ac_status=$?
2799
 
  grep -v '^ *+' conftest.er1 >conftest.err
2800
 
  rm -f conftest.er1
2801
 
  cat conftest.err >&5
2802
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803
 
  (exit $ac_status); } &&
2804
 
         { ac_try='test -z "$ac_c_werror_flag"
2805
 
                         || test ! -s conftest.err'
2806
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2807
 
  (eval $ac_try) 2>&5
2808
 
  ac_status=$?
2809
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810
 
  (exit $ac_status); }; } &&
2811
 
         { ac_try='test -s conftest.$ac_objext'
2812
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2813
 
  (eval $ac_try) 2>&5
2814
 
  ac_status=$?
2815
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816
 
  (exit $ac_status); }; }; then
2817
 
  break
2818
 
else
2819
 
  echo "$as_me: failed program was:" >&5
2820
 
sed 's/^/| /' conftest.$ac_ext >&5
2821
 
 
2822
 
fi
2823
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2824
 
done
2825
 
rm -f conftest*
2826
 
if test -n "$ac_declaration"; then
2827
 
  echo '#ifdef __cplusplus' >>confdefs.h
2828
 
  echo $ac_declaration      >>confdefs.h
2829
 
  echo '#endif'             >>confdefs.h
2830
 
fi
2831
 
 
2832
 
else
2833
 
  echo "$as_me: failed program was:" >&5
2834
 
sed 's/^/| /' conftest.$ac_ext >&5
2835
 
 
2836
 
fi
2837
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3664
 
2838
3665
ac_ext=c
2839
3666
ac_cpp='$CPP $CPPFLAGS'
2840
3667
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2842
3669
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2843
3670
DEPDIR="${am__leading_dot}deps"
2844
3671
 
2845
 
          ac_config_commands="$ac_config_commands depfiles"
 
3672
ac_config_commands="$ac_config_commands depfiles"
2846
3673
 
2847
3674
 
2848
3675
am_make=${MAKE-make}
2852
3679
.PHONY: am__doit
2853
3680
END
2854
3681
# If we don't find an include directive, just comment out the code.
2855
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2856
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3682
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3683
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2857
3684
am__include="#"
2858
3685
am__quote=
2859
3686
_am_result=none
2880
3707
fi
2881
3708
 
2882
3709
 
2883
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2884
 
echo "${ECHO_T}$_am_result" >&6
 
3710
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3711
$as_echo "$_am_result" >&6; }
2885
3712
rm -f confinc confmf
2886
3713
 
2887
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3714
# Check whether --enable-dependency-tracking was given.
2888
3715
if test "${enable_dependency_tracking+set}" = set; then
2889
 
  enableval="$enable_dependency_tracking"
 
3716
  enableval=$enable_dependency_tracking;
 
3717
fi
2890
3718
 
2891
 
fi;
2892
3719
if test "x$enable_dependency_tracking" != xno; then
2893
3720
  am_depcomp="$ac_aux_dir/depcomp"
2894
3721
  AMDEPBACKSLASH='\'
2895
3722
fi
2896
 
 
2897
 
 
2898
 
if test "x$enable_dependency_tracking" != xno; then
 
3723
 if test "x$enable_dependency_tracking" != xno; then
2899
3724
  AMDEP_TRUE=
2900
3725
  AMDEP_FALSE='#'
2901
3726
else
2905
3730
 
2906
3731
 
2907
3732
 
2908
 
 
2909
3733
depcc="$CC"   am_compiler_list=
2910
3734
 
2911
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2912
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3735
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3736
$as_echo_n "checking dependency style of $depcc... " >&6; }
2913
3737
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2914
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3738
  $as_echo_n "(cached) " >&6
2915
3739
else
2916
3740
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2917
3741
  # We make a subdir and do the tests there.  Otherwise we can end up
2973
3797
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2974
3798
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2975
3799
         >/dev/null 2>conftest.err &&
 
3800
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
2976
3801
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2977
3802
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2978
3803
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2998
3823
fi
2999
3824
 
3000
3825
fi
3001
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3002
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3826
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3827
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3003
3828
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3004
3829
 
3005
 
 
3006
 
 
3007
 
if
 
3830
 if
3008
3831
  test "x$enable_dependency_tracking" != xno \
3009
3832
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3010
3833
  am__fastdepCC_TRUE=
3015
3838
fi
3016
3839
 
3017
3840
 
 
3841
if test "x$CC" != xcc; then
 
3842
  { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
 
3843
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 
3844
else
 
3845
  { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
 
3846
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 
3847
fi
 
3848
set dummy $CC; ac_cc=`$as_echo "$2" |
 
3849
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
3850
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
 
3851
  $as_echo_n "(cached) " >&6
 
3852
else
 
3853
  cat >conftest.$ac_ext <<_ACEOF
 
3854
/* confdefs.h.  */
 
3855
_ACEOF
 
3856
cat confdefs.h >>conftest.$ac_ext
 
3857
cat >>conftest.$ac_ext <<_ACEOF
 
3858
/* end confdefs.h.  */
 
3859
 
 
3860
int
 
3861
main ()
 
3862
{
 
3863
 
 
3864
  ;
 
3865
  return 0;
 
3866
}
 
3867
_ACEOF
 
3868
# Make sure it works both with $CC and with simple cc.
 
3869
# We do the test twice because some compilers refuse to overwrite an
 
3870
# existing .o file with -o, though they will create one.
 
3871
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
3872
rm -f conftest2.*
 
3873
if { (case "(($ac_try" in
 
3874
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3875
  *) ac_try_echo=$ac_try;;
 
3876
esac
 
3877
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3878
$as_echo "$ac_try_echo") >&5
 
3879
  (eval "$ac_try") 2>&5
 
3880
  ac_status=$?
 
3881
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3882
  (exit $ac_status); } &&
 
3883
   test -f conftest2.$ac_objext && { (case "(($ac_try" in
 
3884
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3885
  *) ac_try_echo=$ac_try;;
 
3886
esac
 
3887
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3888
$as_echo "$ac_try_echo") >&5
 
3889
  (eval "$ac_try") 2>&5
 
3890
  ac_status=$?
 
3891
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3892
  (exit $ac_status); };
 
3893
then
 
3894
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 
3895
  if test "x$CC" != xcc; then
 
3896
    # Test first that cc exists at all.
 
3897
    if { ac_try='cc -c conftest.$ac_ext >&5'
 
3898
  { (case "(($ac_try" in
 
3899
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3900
  *) ac_try_echo=$ac_try;;
 
3901
esac
 
3902
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3903
$as_echo "$ac_try_echo") >&5
 
3904
  (eval "$ac_try") 2>&5
 
3905
  ac_status=$?
 
3906
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3907
  (exit $ac_status); }; }; then
 
3908
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
3909
      rm -f conftest2.*
 
3910
      if { (case "(($ac_try" in
 
3911
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3912
  *) ac_try_echo=$ac_try;;
 
3913
esac
 
3914
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3915
$as_echo "$ac_try_echo") >&5
 
3916
  (eval "$ac_try") 2>&5
 
3917
  ac_status=$?
 
3918
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3919
  (exit $ac_status); } &&
 
3920
         test -f conftest2.$ac_objext && { (case "(($ac_try" in
 
3921
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3922
  *) ac_try_echo=$ac_try;;
 
3923
esac
 
3924
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3925
$as_echo "$ac_try_echo") >&5
 
3926
  (eval "$ac_try") 2>&5
 
3927
  ac_status=$?
 
3928
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3929
  (exit $ac_status); };
 
3930
      then
 
3931
        # cc works too.
 
3932
        :
 
3933
      else
 
3934
        # cc exists but doesn't like -o.
 
3935
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
3936
      fi
 
3937
    fi
 
3938
  fi
 
3939
else
 
3940
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
3941
fi
 
3942
rm -f core conftest*
 
3943
 
 
3944
fi
 
3945
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 
3946
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
3947
$as_echo "yes" >&6; }
 
3948
else
 
3949
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3950
$as_echo "no" >&6; }
 
3951
 
 
3952
cat >>confdefs.h <<\_ACEOF
 
3953
#define NO_MINUS_C_MINUS_O 1
 
3954
_ACEOF
 
3955
 
 
3956
fi
 
3957
 
 
3958
# FIXME: we rely on the cache variable name because
 
3959
# there is no other way.
 
3960
set dummy $CC
 
3961
ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
3962
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
 
3963
   # Losing compiler, so override with the script.
 
3964
   # FIXME: It is wrong to rewrite CC.
 
3965
   # But if we don't then we get into trouble of one sort or another.
 
3966
   # A longer-term fix would be to have automake use am__CC in this case,
 
3967
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
3968
   CC="$am_aux_dir/compile $CC"
 
3969
fi
 
3970
 
 
3971
 
3018
3972
for ac_prog in 'bison -y' byacc
3019
3973
do
3020
3974
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3021
3975
set dummy $ac_prog; ac_word=$2
3022
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3023
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3976
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3977
$as_echo_n "checking for $ac_word... " >&6; }
3024
3978
if test "${ac_cv_prog_YACC+set}" = set; then
3025
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3979
  $as_echo_n "(cached) " >&6
3026
3980
else
3027
3981
  if test -n "$YACC"; then
3028
3982
  ac_cv_prog_YACC="$YACC" # Let the user override the test.
3033
3987
  IFS=$as_save_IFS
3034
3988
  test -z "$as_dir" && as_dir=.
3035
3989
  for ac_exec_ext in '' $ac_executable_extensions; do
3036
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3990
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3037
3991
    ac_cv_prog_YACC="$ac_prog"
3038
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3992
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3039
3993
    break 2
3040
3994
  fi
3041
3995
done
3042
3996
done
 
3997
IFS=$as_save_IFS
3043
3998
 
3044
3999
fi
3045
4000
fi
3046
4001
YACC=$ac_cv_prog_YACC
3047
4002
if test -n "$YACC"; then
3048
 
  echo "$as_me:$LINENO: result: $YACC" >&5
3049
 
echo "${ECHO_T}$YACC" >&6
 
4003
  { $as_echo "$as_me:$LINENO: result: $YACC" >&5
 
4004
$as_echo "$YACC" >&6; }
3050
4005
else
3051
 
  echo "$as_me:$LINENO: result: no" >&5
3052
 
echo "${ECHO_T}no" >&6
 
4006
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4007
$as_echo "no" >&6; }
3053
4008
fi
3054
4009
 
 
4010
 
3055
4011
  test -n "$YACC" && break
3056
4012
done
3057
4013
test -n "$YACC" || YACC="yacc"
3061
4017
do
3062
4018
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3063
4019
set dummy $ac_prog; ac_word=$2
3064
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3065
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4020
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4021
$as_echo_n "checking for $ac_word... " >&6; }
3066
4022
if test "${ac_cv_prog_LEX+set}" = set; then
3067
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4023
  $as_echo_n "(cached) " >&6
3068
4024
else
3069
4025
  if test -n "$LEX"; then
3070
4026
  ac_cv_prog_LEX="$LEX" # Let the user override the test.
3075
4031
  IFS=$as_save_IFS
3076
4032
  test -z "$as_dir" && as_dir=.
3077
4033
  for ac_exec_ext in '' $ac_executable_extensions; do
3078
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4034
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3079
4035
    ac_cv_prog_LEX="$ac_prog"
3080
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4036
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3081
4037
    break 2
3082
4038
  fi
3083
4039
done
3084
4040
done
 
4041
IFS=$as_save_IFS
3085
4042
 
3086
4043
fi
3087
4044
fi
3088
4045
LEX=$ac_cv_prog_LEX
3089
4046
if test -n "$LEX"; then
3090
 
  echo "$as_me:$LINENO: result: $LEX" >&5
3091
 
echo "${ECHO_T}$LEX" >&6
 
4047
  { $as_echo "$as_me:$LINENO: result: $LEX" >&5
 
4048
$as_echo "$LEX" >&6; }
3092
4049
else
3093
 
  echo "$as_me:$LINENO: result: no" >&5
3094
 
echo "${ECHO_T}no" >&6
 
4050
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4051
$as_echo "no" >&6; }
3095
4052
fi
3096
4053
 
 
4054
 
3097
4055
  test -n "$LEX" && break
3098
4056
done
3099
4057
test -n "$LEX" || LEX=":"
3100
4058
 
3101
 
if test -z "$LEXLIB"
3102
 
then
3103
 
  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3104
 
echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3105
 
if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3106
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3107
 
else
3108
 
  ac_check_lib_save_LIBS=$LIBS
3109
 
LIBS="-lfl  $LIBS"
3110
 
cat >conftest.$ac_ext <<_ACEOF
3111
 
/* confdefs.h.  */
3112
 
_ACEOF
3113
 
cat confdefs.h >>conftest.$ac_ext
3114
 
cat >>conftest.$ac_ext <<_ACEOF
3115
 
/* end confdefs.h.  */
3116
 
 
3117
 
/* Override any gcc2 internal prototype to avoid an error.  */
3118
 
#ifdef __cplusplus
3119
 
extern "C"
3120
 
#endif
3121
 
/* We use char because int might match the return type of a gcc2
3122
 
   builtin and then its argument prototype would still apply.  */
3123
 
char yywrap ();
3124
 
int
3125
 
main ()
3126
 
{
3127
 
yywrap ();
3128
 
  ;
3129
 
  return 0;
3130
 
}
3131
 
_ACEOF
3132
 
rm -f conftest.$ac_objext conftest$ac_exeext
3133
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3134
 
  (eval $ac_link) 2>conftest.er1
3135
 
  ac_status=$?
3136
 
  grep -v '^ *+' conftest.er1 >conftest.err
3137
 
  rm -f conftest.er1
3138
 
  cat conftest.err >&5
3139
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140
 
  (exit $ac_status); } &&
3141
 
         { ac_try='test -z "$ac_c_werror_flag"
3142
 
                         || test ! -s conftest.err'
3143
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3144
 
  (eval $ac_try) 2>&5
3145
 
  ac_status=$?
3146
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147
 
  (exit $ac_status); }; } &&
3148
 
         { ac_try='test -s conftest$ac_exeext'
3149
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3150
 
  (eval $ac_try) 2>&5
3151
 
  ac_status=$?
3152
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153
 
  (exit $ac_status); }; }; then
3154
 
  ac_cv_lib_fl_yywrap=yes
3155
 
else
3156
 
  echo "$as_me: failed program was:" >&5
3157
 
sed 's/^/| /' conftest.$ac_ext >&5
3158
 
 
3159
 
ac_cv_lib_fl_yywrap=no
3160
 
fi
3161
 
rm -f conftest.err conftest.$ac_objext \
3162
 
      conftest$ac_exeext conftest.$ac_ext
3163
 
LIBS=$ac_check_lib_save_LIBS
3164
 
fi
3165
 
echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3166
 
echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3167
 
if test $ac_cv_lib_fl_yywrap = yes; then
3168
 
  LEXLIB="-lfl"
3169
 
else
3170
 
  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3171
 
echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3172
 
if test "${ac_cv_lib_l_yywrap+set}" = set; then
3173
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3174
 
else
3175
 
  ac_check_lib_save_LIBS=$LIBS
3176
 
LIBS="-ll  $LIBS"
3177
 
cat >conftest.$ac_ext <<_ACEOF
3178
 
/* confdefs.h.  */
3179
 
_ACEOF
3180
 
cat confdefs.h >>conftest.$ac_ext
3181
 
cat >>conftest.$ac_ext <<_ACEOF
3182
 
/* end confdefs.h.  */
3183
 
 
3184
 
/* Override any gcc2 internal prototype to avoid an error.  */
3185
 
#ifdef __cplusplus
3186
 
extern "C"
3187
 
#endif
3188
 
/* We use char because int might match the return type of a gcc2
3189
 
   builtin and then its argument prototype would still apply.  */
3190
 
char yywrap ();
3191
 
int
3192
 
main ()
3193
 
{
3194
 
yywrap ();
3195
 
  ;
3196
 
  return 0;
3197
 
}
3198
 
_ACEOF
3199
 
rm -f conftest.$ac_objext conftest$ac_exeext
3200
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3201
 
  (eval $ac_link) 2>conftest.er1
3202
 
  ac_status=$?
3203
 
  grep -v '^ *+' conftest.er1 >conftest.err
3204
 
  rm -f conftest.er1
3205
 
  cat conftest.err >&5
3206
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207
 
  (exit $ac_status); } &&
3208
 
         { ac_try='test -z "$ac_c_werror_flag"
3209
 
                         || test ! -s conftest.err'
3210
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3211
 
  (eval $ac_try) 2>&5
3212
 
  ac_status=$?
3213
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214
 
  (exit $ac_status); }; } &&
3215
 
         { ac_try='test -s conftest$ac_exeext'
3216
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3217
 
  (eval $ac_try) 2>&5
3218
 
  ac_status=$?
3219
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220
 
  (exit $ac_status); }; }; then
3221
 
  ac_cv_lib_l_yywrap=yes
3222
 
else
3223
 
  echo "$as_me: failed program was:" >&5
3224
 
sed 's/^/| /' conftest.$ac_ext >&5
3225
 
 
3226
 
ac_cv_lib_l_yywrap=no
3227
 
fi
3228
 
rm -f conftest.err conftest.$ac_objext \
3229
 
      conftest$ac_exeext conftest.$ac_ext
3230
 
LIBS=$ac_check_lib_save_LIBS
3231
 
fi
3232
 
echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3233
 
echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3234
 
if test $ac_cv_lib_l_yywrap = yes; then
3235
 
  LEXLIB="-ll"
3236
 
fi
3237
 
 
3238
 
fi
3239
 
 
3240
 
fi
3241
 
 
3242
4059
if test "x$LEX" != "x:"; then
3243
 
  echo "$as_me:$LINENO: checking lex output file root" >&5
3244
 
echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
 
4060
  cat >conftest.l <<_ACEOF
 
4061
%%
 
4062
a { ECHO; }
 
4063
b { REJECT; }
 
4064
c { yymore (); }
 
4065
d { yyless (1); }
 
4066
e { yyless (input () != 0); }
 
4067
f { unput (yytext[0]); }
 
4068
. { BEGIN INITIAL; }
 
4069
%%
 
4070
#ifdef YYTEXT_POINTER
 
4071
extern char *yytext;
 
4072
#endif
 
4073
int
 
4074
main (void)
 
4075
{
 
4076
  return ! yylex () + ! yywrap ();
 
4077
}
 
4078
_ACEOF
 
4079
{ (ac_try="$LEX conftest.l"
 
4080
case "(($ac_try" in
 
4081
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4082
  *) ac_try_echo=$ac_try;;
 
4083
esac
 
4084
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4085
$as_echo "$ac_try_echo") >&5
 
4086
  (eval "$LEX conftest.l") 2>&5
 
4087
  ac_status=$?
 
4088
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4089
  (exit $ac_status); }
 
4090
{ $as_echo "$as_me:$LINENO: checking lex output file root" >&5
 
4091
$as_echo_n "checking lex output file root... " >&6; }
3245
4092
if test "${ac_cv_prog_lex_root+set}" = set; then
3246
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4093
  $as_echo_n "(cached) " >&6
3247
4094
else
3248
 
  # The minimal lex program is just a single line: %%.  But some broken lexes
3249
 
# (Solaris, I think it was) want two %% lines, so accommodate them.
3250
 
cat >conftest.l <<_ACEOF
3251
 
%%
3252
 
%%
3253
 
_ACEOF
3254
 
{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3255
 
  (eval $LEX conftest.l) 2>&5
3256
 
  ac_status=$?
3257
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258
 
  (exit $ac_status); }
 
4095
 
3259
4096
if test -f lex.yy.c; then
3260
4097
  ac_cv_prog_lex_root=lex.yy
3261
4098
elif test -f lexyy.c; then
3262
4099
  ac_cv_prog_lex_root=lexyy
3263
4100
else
3264
 
  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3265
 
echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
 
4101
  { { $as_echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
 
4102
$as_echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3266
4103
   { (exit 1); exit 1; }; }
3267
4104
fi
3268
4105
fi
3269
 
echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3270
 
echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3271
 
rm -f conftest.l
 
4106
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
 
4107
$as_echo "$ac_cv_prog_lex_root" >&6; }
3272
4108
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3273
4109
 
3274
 
echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3275
 
echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
 
4110
if test -z "${LEXLIB+set}"; then
 
4111
  { $as_echo "$as_me:$LINENO: checking lex library" >&5
 
4112
$as_echo_n "checking lex library... " >&6; }
 
4113
if test "${ac_cv_lib_lex+set}" = set; then
 
4114
  $as_echo_n "(cached) " >&6
 
4115
else
 
4116
 
 
4117
    ac_save_LIBS=$LIBS
 
4118
    ac_cv_lib_lex='none needed'
 
4119
    for ac_lib in '' -lfl -ll; do
 
4120
      LIBS="$ac_lib $ac_save_LIBS"
 
4121
      cat >conftest.$ac_ext <<_ACEOF
 
4122
`cat $LEX_OUTPUT_ROOT.c`
 
4123
_ACEOF
 
4124
rm -f conftest.$ac_objext conftest$ac_exeext
 
4125
if { (ac_try="$ac_link"
 
4126
case "(($ac_try" in
 
4127
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4128
  *) ac_try_echo=$ac_try;;
 
4129
esac
 
4130
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4131
$as_echo "$ac_try_echo") >&5
 
4132
  (eval "$ac_link") 2>conftest.er1
 
4133
  ac_status=$?
 
4134
  grep -v '^ *+' conftest.er1 >conftest.err
 
4135
  rm -f conftest.er1
 
4136
  cat conftest.err >&5
 
4137
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4138
  (exit $ac_status); } && {
 
4139
         test -z "$ac_c_werror_flag" ||
 
4140
         test ! -s conftest.err
 
4141
       } && test -s conftest$ac_exeext && {
 
4142
         test "$cross_compiling" = yes ||
 
4143
         $as_test_x conftest$ac_exeext
 
4144
       }; then
 
4145
  ac_cv_lib_lex=$ac_lib
 
4146
else
 
4147
  $as_echo "$as_me: failed program was:" >&5
 
4148
sed 's/^/| /' conftest.$ac_ext >&5
 
4149
 
 
4150
 
 
4151
fi
 
4152
 
 
4153
rm -rf conftest.dSYM
 
4154
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
4155
      conftest$ac_exeext conftest.$ac_ext
 
4156
      test "$ac_cv_lib_lex" != 'none needed' && break
 
4157
    done
 
4158
    LIBS=$ac_save_LIBS
 
4159
 
 
4160
fi
 
4161
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
 
4162
$as_echo "$ac_cv_lib_lex" >&6; }
 
4163
  test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
 
4164
fi
 
4165
 
 
4166
 
 
4167
{ $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
 
4168
$as_echo_n "checking whether yytext is a pointer... " >&6; }
3276
4169
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3277
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4170
  $as_echo_n "(cached) " >&6
3278
4171
else
3279
4172
  # POSIX says lex can declare yytext either as a pointer or an array; the
3280
 
# default is implementation-dependent. Figure out which it is, since
 
4173
# default is implementation-dependent.  Figure out which it is, since
3281
4174
# not all implementations provide the %pointer and %array declarations.
3282
4175
ac_cv_prog_lex_yytext_pointer=no
3283
 
echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3284
4176
ac_save_LIBS=$LIBS
3285
 
LIBS="$LIBS $LEXLIB"
 
4177
LIBS="$LEXLIB $ac_save_LIBS"
3286
4178
cat >conftest.$ac_ext <<_ACEOF
 
4179
#define YYTEXT_POINTER 1
3287
4180
`cat $LEX_OUTPUT_ROOT.c`
3288
4181
_ACEOF
3289
4182
rm -f conftest.$ac_objext conftest$ac_exeext
3290
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3291
 
  (eval $ac_link) 2>conftest.er1
 
4183
if { (ac_try="$ac_link"
 
4184
case "(($ac_try" in
 
4185
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4186
  *) ac_try_echo=$ac_try;;
 
4187
esac
 
4188
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4189
$as_echo "$ac_try_echo") >&5
 
4190
  (eval "$ac_link") 2>conftest.er1
3292
4191
  ac_status=$?
3293
4192
  grep -v '^ *+' conftest.er1 >conftest.err
3294
4193
  rm -f conftest.er1
3295
4194
  cat conftest.err >&5
3296
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297
 
  (exit $ac_status); } &&
3298
 
         { ac_try='test -z "$ac_c_werror_flag"
3299
 
                         || test ! -s conftest.err'
3300
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3301
 
  (eval $ac_try) 2>&5
3302
 
  ac_status=$?
3303
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304
 
  (exit $ac_status); }; } &&
3305
 
         { ac_try='test -s conftest$ac_exeext'
3306
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3307
 
  (eval $ac_try) 2>&5
3308
 
  ac_status=$?
3309
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310
 
  (exit $ac_status); }; }; then
 
4195
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4196
  (exit $ac_status); } && {
 
4197
         test -z "$ac_c_werror_flag" ||
 
4198
         test ! -s conftest.err
 
4199
       } && test -s conftest$ac_exeext && {
 
4200
         test "$cross_compiling" = yes ||
 
4201
         $as_test_x conftest$ac_exeext
 
4202
       }; then
3311
4203
  ac_cv_prog_lex_yytext_pointer=yes
3312
4204
else
3313
 
  echo "$as_me: failed program was:" >&5
 
4205
  $as_echo "$as_me: failed program was:" >&5
3314
4206
sed 's/^/| /' conftest.$ac_ext >&5
3315
4207
 
 
4208
 
3316
4209
fi
3317
 
rm -f conftest.err conftest.$ac_objext \
 
4210
 
 
4211
rm -rf conftest.dSYM
 
4212
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3318
4213
      conftest$ac_exeext conftest.$ac_ext
3319
4214
LIBS=$ac_save_LIBS
3320
 
rm -f "${LEX_OUTPUT_ROOT}.c"
3321
4215
 
3322
4216
fi
3323
 
echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3324
 
echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
 
4217
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
 
4218
$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
3325
4219
if test $ac_cv_prog_lex_yytext_pointer = yes; then
3326
4220
 
3327
4221
cat >>confdefs.h <<\_ACEOF
3329
4223
_ACEOF
3330
4224
 
3331
4225
fi
3332
 
 
3333
 
fi
3334
 
 
3335
 
if test -z "${YACC}" || test -z "${LEX}"
3336
 
then
3337
 
        { echo "$as_me:$LINENO: WARNING: Lex and Yacc are required to build mofc from scratch or after grammar changes." >&5
3338
 
echo "$as_me: WARNING: Lex and Yacc are required to build mofc from scratch or after grammar changes." >&2;}
3339
 
fi
3340
 
 
3341
 
# Checks for header files.
 
4226
rm -f conftest.l $LEX_OUTPUT_ROOT.c
 
4227
 
 
4228
fi
 
4229
# Check whether --enable-shared was given.
 
4230
if test "${enable_shared+set}" = set; then
 
4231
  enableval=$enable_shared; p=${PACKAGE-default}
 
4232
    case $enableval in
 
4233
    yes) enable_shared=yes ;;
 
4234
    no) enable_shared=no ;;
 
4235
    *)
 
4236
      enable_shared=no
 
4237
      # Look at the argument we got.  We use all the common list separators.
 
4238
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
4239
      for pkg in $enableval; do
 
4240
        IFS="$lt_save_ifs"
 
4241
        if test "X$pkg" = "X$p"; then
 
4242
          enable_shared=yes
 
4243
        fi
 
4244
      done
 
4245
      IFS="$lt_save_ifs"
 
4246
      ;;
 
4247
    esac
 
4248
else
 
4249
  enable_shared=yes
 
4250
fi
 
4251
 
 
4252
 
 
4253
# Check whether --enable-static was given.
 
4254
if test "${enable_static+set}" = set; then
 
4255
  enableval=$enable_static; p=${PACKAGE-default}
 
4256
    case $enableval in
 
4257
    yes) enable_static=yes ;;
 
4258
    no) enable_static=no ;;
 
4259
    *)
 
4260
     enable_static=no
 
4261
      # Look at the argument we got.  We use all the common list separators.
 
4262
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
4263
      for pkg in $enableval; do
 
4264
        IFS="$lt_save_ifs"
 
4265
        if test "X$pkg" = "X$p"; then
 
4266
          enable_static=yes
 
4267
        fi
 
4268
      done
 
4269
      IFS="$lt_save_ifs"
 
4270
      ;;
 
4271
    esac
 
4272
else
 
4273
  enable_static=yes
 
4274
fi
 
4275
 
 
4276
 
 
4277
# Check whether --enable-fast-install was given.
 
4278
if test "${enable_fast_install+set}" = set; then
 
4279
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
4280
    case $enableval in
 
4281
    yes) enable_fast_install=yes ;;
 
4282
    no) enable_fast_install=no ;;
 
4283
    *)
 
4284
      enable_fast_install=no
 
4285
      # Look at the argument we got.  We use all the common list separators.
 
4286
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
4287
      for pkg in $enableval; do
 
4288
        IFS="$lt_save_ifs"
 
4289
        if test "X$pkg" = "X$p"; then
 
4290
          enable_fast_install=yes
 
4291
        fi
 
4292
      done
 
4293
      IFS="$lt_save_ifs"
 
4294
      ;;
 
4295
    esac
 
4296
else
 
4297
  enable_fast_install=yes
 
4298
fi
 
4299
 
 
4300
 
 
4301
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4302
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4303
if test "${lt_cv_path_SED+set}" = set; then
 
4304
  $as_echo_n "(cached) " >&6
 
4305
else
 
4306
  # Loop through the user's path and test for sed and gsed.
 
4307
# Then use that list of sed's as ones to test for truncation.
 
4308
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4309
for as_dir in $PATH
 
4310
do
 
4311
  IFS=$as_save_IFS
 
4312
  test -z "$as_dir" && as_dir=.
 
4313
  for lt_ac_prog in sed gsed; do
 
4314
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4315
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
 
4316
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
 
4317
      fi
 
4318
    done
 
4319
  done
 
4320
done
 
4321
IFS=$as_save_IFS
 
4322
lt_ac_max=0
 
4323
lt_ac_count=0
 
4324
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
 
4325
# along with /bin/sed that truncates output.
 
4326
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
 
4327
  test ! -f $lt_ac_sed && continue
 
4328
  cat /dev/null > conftest.in
 
4329
  lt_ac_count=0
 
4330
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
 
4331
  # Check for GNU sed and select it if it is found.
 
4332
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
 
4333
    lt_cv_path_SED=$lt_ac_sed
 
4334
    break
 
4335
  fi
 
4336
  while true; do
 
4337
    cat conftest.in conftest.in >conftest.tmp
 
4338
    mv conftest.tmp conftest.in
 
4339
    cp conftest.in conftest.nl
 
4340
    echo >>conftest.nl
 
4341
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
 
4342
    cmp -s conftest.out conftest.nl || break
 
4343
    # 10000 chars as input seems more than enough
 
4344
    test $lt_ac_count -gt 10 && break
 
4345
    lt_ac_count=`expr $lt_ac_count + 1`
 
4346
    if test $lt_ac_count -gt $lt_ac_max; then
 
4347
      lt_ac_max=$lt_ac_count
 
4348
      lt_cv_path_SED=$lt_ac_sed
 
4349
    fi
 
4350
  done
 
4351
done
 
4352
 
 
4353
fi
 
4354
 
 
4355
SED=$lt_cv_path_SED
 
4356
 
 
4357
{ $as_echo "$as_me:$LINENO: result: $SED" >&5
 
4358
$as_echo "$SED" >&6; }
 
4359
 
 
4360
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4361
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4362
if test "${ac_cv_path_GREP+set}" = set; then
 
4363
  $as_echo_n "(cached) " >&6
 
4364
else
 
4365
  if test -z "$GREP"; then
 
4366
  ac_path_GREP_found=false
 
4367
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4368
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4369
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4370
do
 
4371
  IFS=$as_save_IFS
 
4372
  test -z "$as_dir" && as_dir=.
 
4373
  for ac_prog in grep ggrep; do
 
4374
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4375
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4376
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4377
# Check for GNU ac_path_GREP and select it if it is found.
 
4378
  # Check for GNU $ac_path_GREP
 
4379
case `"$ac_path_GREP" --version 2>&1` in
 
4380
*GNU*)
 
4381
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4382
*)
 
4383
  ac_count=0
 
4384
  $as_echo_n 0123456789 >"conftest.in"
 
4385
  while :
 
4386
  do
 
4387
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4388
    mv "conftest.tmp" "conftest.in"
 
4389
    cp "conftest.in" "conftest.nl"
 
4390
    $as_echo 'GREP' >> "conftest.nl"
 
4391
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4392
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4393
    ac_count=`expr $ac_count + 1`
 
4394
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4395
      # Best one so far, save it but keep looking for a better one
 
4396
      ac_cv_path_GREP="$ac_path_GREP"
 
4397
      ac_path_GREP_max=$ac_count
 
4398
    fi
 
4399
    # 10*(2^10) chars as input seems more than enough
 
4400
    test $ac_count -gt 10 && break
 
4401
  done
 
4402
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4403
esac
 
4404
 
 
4405
      $ac_path_GREP_found && break 3
 
4406
    done
 
4407
  done
 
4408
done
 
4409
IFS=$as_save_IFS
 
4410
  if test -z "$ac_cv_path_GREP"; then
 
4411
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4412
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4413
   { (exit 1); exit 1; }; }
 
4414
  fi
 
4415
else
 
4416
  ac_cv_path_GREP=$GREP
 
4417
fi
 
4418
 
 
4419
fi
 
4420
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4421
$as_echo "$ac_cv_path_GREP" >&6; }
 
4422
 GREP="$ac_cv_path_GREP"
 
4423
 
 
4424
 
 
4425
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4426
$as_echo_n "checking for egrep... " >&6; }
 
4427
if test "${ac_cv_path_EGREP+set}" = set; then
 
4428
  $as_echo_n "(cached) " >&6
 
4429
else
 
4430
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4431
   then ac_cv_path_EGREP="$GREP -E"
 
4432
   else
 
4433
     if test -z "$EGREP"; then
 
4434
  ac_path_EGREP_found=false
 
4435
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4436
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4437
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4438
do
 
4439
  IFS=$as_save_IFS
 
4440
  test -z "$as_dir" && as_dir=.
 
4441
  for ac_prog in egrep; do
 
4442
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4443
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4444
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4445
# Check for GNU ac_path_EGREP and select it if it is found.
 
4446
  # Check for GNU $ac_path_EGREP
 
4447
case `"$ac_path_EGREP" --version 2>&1` in
 
4448
*GNU*)
 
4449
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4450
*)
 
4451
  ac_count=0
 
4452
  $as_echo_n 0123456789 >"conftest.in"
 
4453
  while :
 
4454
  do
 
4455
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4456
    mv "conftest.tmp" "conftest.in"
 
4457
    cp "conftest.in" "conftest.nl"
 
4458
    $as_echo 'EGREP' >> "conftest.nl"
 
4459
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4460
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4461
    ac_count=`expr $ac_count + 1`
 
4462
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4463
      # Best one so far, save it but keep looking for a better one
 
4464
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4465
      ac_path_EGREP_max=$ac_count
 
4466
    fi
 
4467
    # 10*(2^10) chars as input seems more than enough
 
4468
    test $ac_count -gt 10 && break
 
4469
  done
 
4470
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4471
esac
 
4472
 
 
4473
      $ac_path_EGREP_found && break 3
 
4474
    done
 
4475
  done
 
4476
done
 
4477
IFS=$as_save_IFS
 
4478
  if test -z "$ac_cv_path_EGREP"; then
 
4479
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4480
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4481
   { (exit 1); exit 1; }; }
 
4482
  fi
 
4483
else
 
4484
  ac_cv_path_EGREP=$EGREP
 
4485
fi
 
4486
 
 
4487
   fi
 
4488
fi
 
4489
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4490
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4491
 EGREP="$ac_cv_path_EGREP"
 
4492
 
 
4493
 
 
4494
 
 
4495
# Check whether --with-gnu-ld was given.
 
4496
if test "${with_gnu_ld+set}" = set; then
 
4497
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
4498
else
 
4499
  with_gnu_ld=no
 
4500
fi
 
4501
 
 
4502
ac_prog=ld
 
4503
if test "$GCC" = yes; then
 
4504
  # Check if gcc -print-prog-name=ld gives a path.
 
4505
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4506
$as_echo_n "checking for ld used by $CC... " >&6; }
 
4507
  case $host in
 
4508
  *-*-mingw*)
 
4509
    # gcc leaves a trailing carriage return which upsets mingw
 
4510
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
4511
  *)
 
4512
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
4513
  esac
 
4514
  case $ac_prog in
 
4515
    # Accept absolute paths.
 
4516
    [\\/]* | ?:[\\/]*)
 
4517
      re_direlt='/[^/][^/]*/\.\./'
 
4518
      # Canonicalize the pathname of ld
 
4519
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
 
4520
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 
4521
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
4522
      done
 
4523
      test -z "$LD" && LD="$ac_prog"
 
4524
      ;;
 
4525
  "")
 
4526
    # If it fails, then pretend we aren't using GCC.
 
4527
    ac_prog=ld
 
4528
    ;;
 
4529
  *)
 
4530
    # If it is relative, then search for the first ld in PATH.
 
4531
    with_gnu_ld=unknown
 
4532
    ;;
 
4533
  esac
 
4534
elif test "$with_gnu_ld" = yes; then
 
4535
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4536
$as_echo_n "checking for GNU ld... " >&6; }
 
4537
else
 
4538
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4539
$as_echo_n "checking for non-GNU ld... " >&6; }
 
4540
fi
 
4541
if test "${lt_cv_path_LD+set}" = set; then
 
4542
  $as_echo_n "(cached) " >&6
 
4543
else
 
4544
  if test -z "$LD"; then
 
4545
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4546
  for ac_dir in $PATH; do
 
4547
    IFS="$lt_save_ifs"
 
4548
    test -z "$ac_dir" && ac_dir=.
 
4549
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
4550
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
4551
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
4552
      # but apparently some variants of GNU ld only accept -v.
 
4553
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
4554
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
4555
      *GNU* | *'with BFD'*)
 
4556
        test "$with_gnu_ld" != no && break
 
4557
        ;;
 
4558
      *)
 
4559
        test "$with_gnu_ld" != yes && break
 
4560
        ;;
 
4561
      esac
 
4562
    fi
 
4563
  done
 
4564
  IFS="$lt_save_ifs"
 
4565
else
 
4566
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
4567
fi
 
4568
fi
 
4569
 
 
4570
LD="$lt_cv_path_LD"
 
4571
if test -n "$LD"; then
 
4572
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
4573
$as_echo "$LD" >&6; }
 
4574
else
 
4575
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4576
$as_echo "no" >&6; }
 
4577
fi
 
4578
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
4579
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
4580
   { (exit 1); exit 1; }; }
 
4581
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4582
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
4583
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
4584
  $as_echo_n "(cached) " >&6
 
4585
else
 
4586
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
4587
case `$LD -v 2>&1 </dev/null` in
 
4588
*GNU* | *'with BFD'*)
 
4589
  lt_cv_prog_gnu_ld=yes
 
4590
  ;;
 
4591
*)
 
4592
  lt_cv_prog_gnu_ld=no
 
4593
  ;;
 
4594
esac
 
4595
fi
 
4596
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4597
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
4598
with_gnu_ld=$lt_cv_prog_gnu_ld
 
4599
 
 
4600
 
 
4601
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4602
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
4603
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
4604
  $as_echo_n "(cached) " >&6
 
4605
else
 
4606
  lt_cv_ld_reload_flag='-r'
 
4607
fi
 
4608
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4609
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
4610
reload_flag=$lt_cv_ld_reload_flag
 
4611
case $reload_flag in
 
4612
"" | " "*) ;;
 
4613
*) reload_flag=" $reload_flag" ;;
 
4614
esac
 
4615
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4616
case $host_os in
 
4617
  darwin*)
 
4618
    if test "$GCC" = yes; then
 
4619
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
4620
    else
 
4621
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4622
    fi
 
4623
    ;;
 
4624
esac
 
4625
 
 
4626
{ $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
4627
$as_echo_n "checking for BSD-compatible nm... " >&6; }
 
4628
if test "${lt_cv_path_NM+set}" = set; then
 
4629
  $as_echo_n "(cached) " >&6
 
4630
else
 
4631
  if test -n "$NM"; then
 
4632
  # Let the user override the test.
 
4633
  lt_cv_path_NM="$NM"
 
4634
else
 
4635
  lt_nm_to_check="${ac_tool_prefix}nm"
 
4636
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
4637
    lt_nm_to_check="$lt_nm_to_check nm"
 
4638
  fi
 
4639
  for lt_tmp_nm in $lt_nm_to_check; do
 
4640
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4641
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
4642
      IFS="$lt_save_ifs"
 
4643
      test -z "$ac_dir" && ac_dir=.
 
4644
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
4645
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
4646
        # Check to see if the nm accepts a BSD-compat flag.
 
4647
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
4648
        #   nm: unknown option "B" ignored
 
4649
        # Tru64's nm complains that /dev/null is an invalid object file
 
4650
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
4651
        */dev/null* | *'Invalid file or object type'*)
 
4652
          lt_cv_path_NM="$tmp_nm -B"
 
4653
          break
 
4654
          ;;
 
4655
        *)
 
4656
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
4657
          */dev/null*)
 
4658
            lt_cv_path_NM="$tmp_nm -p"
 
4659
            break
 
4660
            ;;
 
4661
          *)
 
4662
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
4663
            continue # so that we can try to find one that supports BSD flags
 
4664
            ;;
 
4665
          esac
 
4666
          ;;
 
4667
        esac
 
4668
      fi
 
4669
    done
 
4670
    IFS="$lt_save_ifs"
 
4671
  done
 
4672
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 
4673
fi
 
4674
fi
 
4675
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4676
$as_echo "$lt_cv_path_NM" >&6; }
 
4677
NM="$lt_cv_path_NM"
 
4678
 
 
4679
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4680
$as_echo_n "checking whether ln -s works... " >&6; }
 
4681
LN_S=$as_ln_s
 
4682
if test "$LN_S" = "ln -s"; then
 
4683
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4684
$as_echo "yes" >&6; }
 
4685
else
 
4686
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4687
$as_echo "no, using $LN_S" >&6; }
 
4688
fi
 
4689
 
 
4690
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
4691
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
4692
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
4693
  $as_echo_n "(cached) " >&6
 
4694
else
 
4695
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
4696
lt_cv_file_magic_test_file=
 
4697
lt_cv_deplibs_check_method='unknown'
 
4698
# Need to set the preceding variable on all platforms that support
 
4699
# interlibrary dependencies.
 
4700
# 'none' -- dependencies not supported.
 
4701
# `unknown' -- same as none, but documents that we really don't know.
 
4702
# 'pass_all' -- all dependencies passed with no checks.
 
4703
# 'test_compile' -- check by making test program.
 
4704
# 'file_magic [[regex]]' -- check by looking for files in library path
 
4705
# which responds to the $file_magic_cmd with a given extended regex.
 
4706
# If you have `file' or equivalent on your system and you're not sure
 
4707
# whether `pass_all' will *always* work, you probably want this one.
 
4708
 
 
4709
case $host_os in
 
4710
aix[4-9]*)
 
4711
  lt_cv_deplibs_check_method=pass_all
 
4712
  ;;
 
4713
 
 
4714
beos*)
 
4715
  lt_cv_deplibs_check_method=pass_all
 
4716
  ;;
 
4717
 
 
4718
bsdi[45]*)
 
4719
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
4720
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
4721
  lt_cv_file_magic_test_file=/shlib/libc.so
 
4722
  ;;
 
4723
 
 
4724
cygwin*)
 
4725
  # func_win32_libid is a shell function defined in ltmain.sh
 
4726
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
4727
  lt_cv_file_magic_cmd='func_win32_libid'
 
4728
  ;;
 
4729
 
 
4730
mingw* | pw32*)
 
4731
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
4732
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
4733
  # unless we find 'file', for example because we are cross-compiling.
 
4734
  if ( file / ) >/dev/null 2>&1; then
 
4735
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
4736
    lt_cv_file_magic_cmd='func_win32_libid'
 
4737
  else
 
4738
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
4739
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4740
  fi
 
4741
  ;;
 
4742
 
 
4743
darwin* | rhapsody*)
 
4744
  lt_cv_deplibs_check_method=pass_all
 
4745
  ;;
 
4746
 
 
4747
freebsd* | dragonfly*)
 
4748
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
4749
    case $host_cpu in
 
4750
    i*86 )
 
4751
      # Not sure whether the presence of OpenBSD here was a mistake.
 
4752
      # Let's accept both of them until this is cleared up.
 
4753
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
4754
      lt_cv_file_magic_cmd=/usr/bin/file
 
4755
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
4756
      ;;
 
4757
    esac
 
4758
  else
 
4759
    lt_cv_deplibs_check_method=pass_all
 
4760
  fi
 
4761
  ;;
 
4762
 
 
4763
gnu*)
 
4764
  lt_cv_deplibs_check_method=pass_all
 
4765
  ;;
 
4766
 
 
4767
hpux10.20* | hpux11*)
 
4768
  lt_cv_file_magic_cmd=/usr/bin/file
 
4769
  case $host_cpu in
 
4770
  ia64*)
 
4771
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
4772
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
4773
    ;;
 
4774
  hppa*64*)
 
4775
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 
4776
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
4777
    ;;
 
4778
  *)
 
4779
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
4780
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
4781
    ;;
 
4782
  esac
 
4783
  ;;
 
4784
 
 
4785
interix[3-9]*)
 
4786
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
4787
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
4788
  ;;
 
4789
 
 
4790
irix5* | irix6* | nonstopux*)
 
4791
  case $LD in
 
4792
  *-32|*"-32 ") libmagic=32-bit;;
 
4793
  *-n32|*"-n32 ") libmagic=N32;;
 
4794
  *-64|*"-64 ") libmagic=64-bit;;
 
4795
  *) libmagic=never-match;;
 
4796
  esac
 
4797
  lt_cv_deplibs_check_method=pass_all
 
4798
  ;;
 
4799
 
 
4800
# This must be Linux ELF.
 
4801
linux* | k*bsd*-gnu)
 
4802
  lt_cv_deplibs_check_method=pass_all
 
4803
  ;;
 
4804
 
 
4805
netbsd*)
 
4806
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
4807
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
4808
  else
 
4809
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
4810
  fi
 
4811
  ;;
 
4812
 
 
4813
newos6*)
 
4814
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
4815
  lt_cv_file_magic_cmd=/usr/bin/file
 
4816
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
4817
  ;;
 
4818
 
 
4819
nto-qnx*)
 
4820
  lt_cv_deplibs_check_method=unknown
 
4821
  ;;
 
4822
 
 
4823
openbsd*)
 
4824
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
4825
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
4826
  else
 
4827
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
4828
  fi
 
4829
  ;;
 
4830
 
 
4831
osf3* | osf4* | osf5*)
 
4832
  lt_cv_deplibs_check_method=pass_all
 
4833
  ;;
 
4834
 
 
4835
rdos*)
 
4836
  lt_cv_deplibs_check_method=pass_all
 
4837
  ;;
 
4838
 
 
4839
solaris*)
 
4840
  lt_cv_deplibs_check_method=pass_all
 
4841
  ;;
 
4842
 
 
4843
sysv4 | sysv4.3*)
 
4844
  case $host_vendor in
 
4845
  motorola)
 
4846
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
 
4847
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
4848
    ;;
 
4849
  ncr)
 
4850
    lt_cv_deplibs_check_method=pass_all
 
4851
    ;;
 
4852
  sequent)
 
4853
    lt_cv_file_magic_cmd='/bin/file'
 
4854
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
4855
    ;;
 
4856
  sni)
 
4857
    lt_cv_file_magic_cmd='/bin/file'
 
4858
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
4859
    lt_cv_file_magic_test_file=/lib/libc.so
 
4860
    ;;
 
4861
  siemens)
 
4862
    lt_cv_deplibs_check_method=pass_all
 
4863
    ;;
 
4864
  pc)
 
4865
    lt_cv_deplibs_check_method=pass_all
 
4866
    ;;
 
4867
  esac
 
4868
  ;;
 
4869
 
 
4870
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
4871
  lt_cv_deplibs_check_method=pass_all
 
4872
  ;;
 
4873
esac
 
4874
 
 
4875
fi
 
4876
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
4877
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
4878
file_magic_cmd=$lt_cv_file_magic_cmd
 
4879
deplibs_check_method=$lt_cv_deplibs_check_method
 
4880
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
4881
 
 
4882
 
 
4883
 
 
4884
 
 
4885
# If no C compiler was specified, use CC.
 
4886
LTCC=${LTCC-"$CC"}
 
4887
 
 
4888
# If no C compiler flags were specified, use CFLAGS.
 
4889
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
4890
 
 
4891
# Allow CC to be a program name with arguments.
 
4892
compiler=$CC
 
4893
 
 
4894
# Check whether --enable-libtool-lock was given.
 
4895
if test "${enable_libtool_lock+set}" = set; then
 
4896
  enableval=$enable_libtool_lock;
 
4897
fi
 
4898
 
 
4899
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
4900
 
 
4901
# Some flags need to be propagated to the compiler or linker for good
 
4902
# libtool support.
 
4903
case $host in
 
4904
ia64-*-hpux*)
 
4905
  # Find out which ABI we are using.
 
4906
  echo 'int i;' > conftest.$ac_ext
 
4907
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4908
  (eval $ac_compile) 2>&5
 
4909
  ac_status=$?
 
4910
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4911
  (exit $ac_status); }; then
 
4912
    case `/usr/bin/file conftest.$ac_objext` in
 
4913
    *ELF-32*)
 
4914
      HPUX_IA64_MODE="32"
 
4915
      ;;
 
4916
    *ELF-64*)
 
4917
      HPUX_IA64_MODE="64"
 
4918
      ;;
 
4919
    esac
 
4920
  fi
 
4921
  rm -rf conftest*
 
4922
  ;;
 
4923
*-*-irix6*)
 
4924
  # Find out which ABI we are using.
 
4925
  echo '#line 4925 "configure"' > conftest.$ac_ext
 
4926
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4927
  (eval $ac_compile) 2>&5
 
4928
  ac_status=$?
 
4929
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4930
  (exit $ac_status); }; then
 
4931
   if test "$lt_cv_prog_gnu_ld" = yes; then
 
4932
    case `/usr/bin/file conftest.$ac_objext` in
 
4933
    *32-bit*)
 
4934
      LD="${LD-ld} -melf32bsmip"
 
4935
      ;;
 
4936
    *N32*)
 
4937
      LD="${LD-ld} -melf32bmipn32"
 
4938
      ;;
 
4939
    *64-bit*)
 
4940
      LD="${LD-ld} -melf64bmip"
 
4941
      ;;
 
4942
    esac
 
4943
   else
 
4944
    case `/usr/bin/file conftest.$ac_objext` in
 
4945
    *32-bit*)
 
4946
      LD="${LD-ld} -32"
 
4947
      ;;
 
4948
    *N32*)
 
4949
      LD="${LD-ld} -n32"
 
4950
      ;;
 
4951
    *64-bit*)
 
4952
      LD="${LD-ld} -64"
 
4953
      ;;
 
4954
    esac
 
4955
   fi
 
4956
  fi
 
4957
  rm -rf conftest*
 
4958
  ;;
 
4959
 
 
4960
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
4961
s390*-*linux*|sparc*-*linux*)
 
4962
  # Find out which ABI we are using.
 
4963
  echo 'int i;' > conftest.$ac_ext
 
4964
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4965
  (eval $ac_compile) 2>&5
 
4966
  ac_status=$?
 
4967
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4968
  (exit $ac_status); }; then
 
4969
    case `/usr/bin/file conftest.o` in
 
4970
    *32-bit*)
 
4971
      case $host in
 
4972
        x86_64-*kfreebsd*-gnu)
 
4973
          LD="${LD-ld} -m elf_i386_fbsd"
 
4974
          ;;
 
4975
        x86_64-*linux*)
 
4976
          LD="${LD-ld} -m elf_i386"
 
4977
          ;;
 
4978
        ppc64-*linux*|powerpc64-*linux*)
 
4979
          LD="${LD-ld} -m elf32ppclinux"
 
4980
          ;;
 
4981
        s390x-*linux*)
 
4982
          LD="${LD-ld} -m elf_s390"
 
4983
          ;;
 
4984
        sparc64-*linux*)
 
4985
          LD="${LD-ld} -m elf32_sparc"
 
4986
          ;;
 
4987
      esac
 
4988
      ;;
 
4989
    *64-bit*)
 
4990
      case $host in
 
4991
        x86_64-*kfreebsd*-gnu)
 
4992
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
4993
          ;;
 
4994
        x86_64-*linux*)
 
4995
          LD="${LD-ld} -m elf_x86_64"
 
4996
          ;;
 
4997
        ppc*-*linux*|powerpc*-*linux*)
 
4998
          LD="${LD-ld} -m elf64ppc"
 
4999
          ;;
 
5000
        s390*-*linux*)
 
5001
          LD="${LD-ld} -m elf64_s390"
 
5002
          ;;
 
5003
        sparc*-*linux*)
 
5004
          LD="${LD-ld} -m elf64_sparc"
 
5005
          ;;
 
5006
      esac
 
5007
      ;;
 
5008
    esac
 
5009
  fi
 
5010
  rm -rf conftest*
 
5011
  ;;
 
5012
 
 
5013
*-*-sco3.2v5*)
 
5014
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
5015
  SAVE_CFLAGS="$CFLAGS"
 
5016
  CFLAGS="$CFLAGS -belf"
 
5017
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
5018
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
5019
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
5020
  $as_echo_n "(cached) " >&6
 
5021
else
 
5022
  ac_ext=c
 
5023
ac_cpp='$CPP $CPPFLAGS'
 
5024
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5025
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5026
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5027
 
 
5028
     cat >conftest.$ac_ext <<_ACEOF
 
5029
/* confdefs.h.  */
 
5030
_ACEOF
 
5031
cat confdefs.h >>conftest.$ac_ext
 
5032
cat >>conftest.$ac_ext <<_ACEOF
 
5033
/* end confdefs.h.  */
 
5034
 
 
5035
int
 
5036
main ()
 
5037
{
 
5038
 
 
5039
  ;
 
5040
  return 0;
 
5041
}
 
5042
_ACEOF
 
5043
rm -f conftest.$ac_objext conftest$ac_exeext
 
5044
if { (ac_try="$ac_link"
 
5045
case "(($ac_try" in
 
5046
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5047
  *) ac_try_echo=$ac_try;;
 
5048
esac
 
5049
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5050
$as_echo "$ac_try_echo") >&5
 
5051
  (eval "$ac_link") 2>conftest.er1
 
5052
  ac_status=$?
 
5053
  grep -v '^ *+' conftest.er1 >conftest.err
 
5054
  rm -f conftest.er1
 
5055
  cat conftest.err >&5
 
5056
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5057
  (exit $ac_status); } && {
 
5058
         test -z "$ac_c_werror_flag" ||
 
5059
         test ! -s conftest.err
 
5060
       } && test -s conftest$ac_exeext && {
 
5061
         test "$cross_compiling" = yes ||
 
5062
         $as_test_x conftest$ac_exeext
 
5063
       }; then
 
5064
  lt_cv_cc_needs_belf=yes
 
5065
else
 
5066
  $as_echo "$as_me: failed program was:" >&5
 
5067
sed 's/^/| /' conftest.$ac_ext >&5
 
5068
 
 
5069
        lt_cv_cc_needs_belf=no
 
5070
fi
 
5071
 
 
5072
rm -rf conftest.dSYM
 
5073
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5074
      conftest$ac_exeext conftest.$ac_ext
 
5075
     ac_ext=c
 
5076
ac_cpp='$CPP $CPPFLAGS'
 
5077
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5078
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5079
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5080
 
 
5081
fi
 
5082
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
5083
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
5084
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
5085
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
5086
    CFLAGS="$SAVE_CFLAGS"
 
5087
  fi
 
5088
  ;;
 
5089
sparc*-*solaris*)
 
5090
  # Find out which ABI we are using.
 
5091
  echo 'int i;' > conftest.$ac_ext
 
5092
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5093
  (eval $ac_compile) 2>&5
 
5094
  ac_status=$?
 
5095
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5096
  (exit $ac_status); }; then
 
5097
    case `/usr/bin/file conftest.o` in
 
5098
    *64-bit*)
 
5099
      case $lt_cv_prog_gnu_ld in
 
5100
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
5101
      *)
 
5102
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
5103
          LD="${LD-ld} -64"
 
5104
        fi
 
5105
        ;;
 
5106
      esac
 
5107
      ;;
 
5108
    esac
 
5109
  fi
 
5110
  rm -rf conftest*
 
5111
  ;;
 
5112
 
 
5113
 
 
5114
esac
 
5115
 
 
5116
need_locks="$enable_libtool_lock"
 
5117
 
 
5118
 
3342
5119
ac_ext=c
3343
5120
ac_cpp='$CPP $CPPFLAGS'
3344
5121
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3345
5122
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3346
5123
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3347
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3348
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
5124
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
5125
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3349
5126
# On Suns, sometimes $CPP names a directory.
3350
5127
if test -n "$CPP" && test -d "$CPP"; then
3351
5128
  CPP=
3352
5129
fi
3353
5130
if test -z "$CPP"; then
3354
5131
  if test "${ac_cv_prog_CPP+set}" = set; then
3355
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5132
  $as_echo_n "(cached) " >&6
3356
5133
else
3357
5134
      # Double quotes because CPP needs to be expanded
3358
5135
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3379
5156
#endif
3380
5157
                     Syntax error
3381
5158
_ACEOF
3382
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3383
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5159
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5160
case "(($ac_try" in
 
5161
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5162
  *) ac_try_echo=$ac_try;;
 
5163
esac
 
5164
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5165
$as_echo "$ac_try_echo") >&5
 
5166
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3384
5167
  ac_status=$?
3385
5168
  grep -v '^ *+' conftest.er1 >conftest.err
3386
5169
  rm -f conftest.er1
3387
5170
  cat conftest.err >&5
3388
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389
 
  (exit $ac_status); } >/dev/null; then
3390
 
  if test -s conftest.err; then
3391
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3392
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3393
 
  else
3394
 
    ac_cpp_err=
3395
 
  fi
3396
 
else
3397
 
  ac_cpp_err=yes
3398
 
fi
3399
 
if test -z "$ac_cpp_err"; then
 
5171
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5172
  (exit $ac_status); } >/dev/null && {
 
5173
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5174
         test ! -s conftest.err
 
5175
       }; then
3400
5176
  :
3401
5177
else
3402
 
  echo "$as_me: failed program was:" >&5
 
5178
  $as_echo "$as_me: failed program was:" >&5
3403
5179
sed 's/^/| /' conftest.$ac_ext >&5
3404
5180
 
3405
5181
  # Broken: fails on valid input.
3406
5182
continue
3407
5183
fi
 
5184
 
3408
5185
rm -f conftest.err conftest.$ac_ext
3409
5186
 
3410
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5187
  # OK, works on sane cases.  Now check whether nonexistent headers
3411
5188
  # can be detected and how.
3412
5189
  cat >conftest.$ac_ext <<_ACEOF
3413
5190
/* confdefs.h.  */
3417
5194
/* end confdefs.h.  */
3418
5195
#include <ac_nonexistent.h>
3419
5196
_ACEOF
3420
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3421
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5197
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5198
case "(($ac_try" in
 
5199
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5200
  *) ac_try_echo=$ac_try;;
 
5201
esac
 
5202
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5203
$as_echo "$ac_try_echo") >&5
 
5204
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3422
5205
  ac_status=$?
3423
5206
  grep -v '^ *+' conftest.er1 >conftest.err
3424
5207
  rm -f conftest.er1
3425
5208
  cat conftest.err >&5
3426
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427
 
  (exit $ac_status); } >/dev/null; then
3428
 
  if test -s conftest.err; then
3429
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3430
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3431
 
  else
3432
 
    ac_cpp_err=
3433
 
  fi
3434
 
else
3435
 
  ac_cpp_err=yes
3436
 
fi
3437
 
if test -z "$ac_cpp_err"; then
 
5209
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5210
  (exit $ac_status); } >/dev/null && {
 
5211
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5212
         test ! -s conftest.err
 
5213
       }; then
3438
5214
  # Broken: success on invalid input.
3439
5215
continue
3440
5216
else
3441
 
  echo "$as_me: failed program was:" >&5
 
5217
  $as_echo "$as_me: failed program was:" >&5
3442
5218
sed 's/^/| /' conftest.$ac_ext >&5
3443
5219
 
3444
5220
  # Passes both tests.
3445
5221
ac_preproc_ok=:
3446
5222
break
3447
5223
fi
 
5224
 
3448
5225
rm -f conftest.err conftest.$ac_ext
3449
5226
 
3450
5227
done
3462
5239
else
3463
5240
  ac_cv_prog_CPP=$CPP
3464
5241
fi
3465
 
echo "$as_me:$LINENO: result: $CPP" >&5
3466
 
echo "${ECHO_T}$CPP" >&6
 
5242
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
5243
$as_echo "$CPP" >&6; }
3467
5244
ac_preproc_ok=false
3468
5245
for ac_c_preproc_warn_flag in '' yes
3469
5246
do
3486
5263
#endif
3487
5264
                     Syntax error
3488
5265
_ACEOF
3489
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3490
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5266
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5267
case "(($ac_try" in
 
5268
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5269
  *) ac_try_echo=$ac_try;;
 
5270
esac
 
5271
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5272
$as_echo "$ac_try_echo") >&5
 
5273
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3491
5274
  ac_status=$?
3492
5275
  grep -v '^ *+' conftest.er1 >conftest.err
3493
5276
  rm -f conftest.er1
3494
5277
  cat conftest.err >&5
3495
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496
 
  (exit $ac_status); } >/dev/null; then
3497
 
  if test -s conftest.err; then
3498
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3499
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3500
 
  else
3501
 
    ac_cpp_err=
3502
 
  fi
3503
 
else
3504
 
  ac_cpp_err=yes
3505
 
fi
3506
 
if test -z "$ac_cpp_err"; then
 
5278
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5279
  (exit $ac_status); } >/dev/null && {
 
5280
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5281
         test ! -s conftest.err
 
5282
       }; then
3507
5283
  :
3508
5284
else
3509
 
  echo "$as_me: failed program was:" >&5
 
5285
  $as_echo "$as_me: failed program was:" >&5
3510
5286
sed 's/^/| /' conftest.$ac_ext >&5
3511
5287
 
3512
5288
  # Broken: fails on valid input.
3513
5289
continue
3514
5290
fi
 
5291
 
3515
5292
rm -f conftest.err conftest.$ac_ext
3516
5293
 
3517
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5294
  # OK, works on sane cases.  Now check whether nonexistent headers
3518
5295
  # can be detected and how.
3519
5296
  cat >conftest.$ac_ext <<_ACEOF
3520
5297
/* confdefs.h.  */
3524
5301
/* end confdefs.h.  */
3525
5302
#include <ac_nonexistent.h>
3526
5303
_ACEOF
3527
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3528
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5304
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5305
case "(($ac_try" in
 
5306
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5307
  *) ac_try_echo=$ac_try;;
 
5308
esac
 
5309
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5310
$as_echo "$ac_try_echo") >&5
 
5311
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3529
5312
  ac_status=$?
3530
5313
  grep -v '^ *+' conftest.er1 >conftest.err
3531
5314
  rm -f conftest.er1
3532
5315
  cat conftest.err >&5
3533
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534
 
  (exit $ac_status); } >/dev/null; then
3535
 
  if test -s conftest.err; then
3536
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3537
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3538
 
  else
3539
 
    ac_cpp_err=
3540
 
  fi
3541
 
else
3542
 
  ac_cpp_err=yes
3543
 
fi
3544
 
if test -z "$ac_cpp_err"; then
 
5316
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5317
  (exit $ac_status); } >/dev/null && {
 
5318
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5319
         test ! -s conftest.err
 
5320
       }; then
3545
5321
  # Broken: success on invalid input.
3546
5322
continue
3547
5323
else
3548
 
  echo "$as_me: failed program was:" >&5
 
5324
  $as_echo "$as_me: failed program was:" >&5
3549
5325
sed 's/^/| /' conftest.$ac_ext >&5
3550
5326
 
3551
5327
  # Passes both tests.
3552
5328
ac_preproc_ok=:
3553
5329
break
3554
5330
fi
 
5331
 
3555
5332
rm -f conftest.err conftest.$ac_ext
3556
5333
 
3557
5334
done
3560
5337
if $ac_preproc_ok; then
3561
5338
  :
3562
5339
else
3563
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
5340
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5341
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5342
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3564
5343
See \`config.log' for more details." >&5
3565
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
5344
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3566
5345
See \`config.log' for more details." >&2;}
3567
 
   { (exit 1); exit 1; }; }
 
5346
   { (exit 1); exit 1; }; }; }
3568
5347
fi
3569
5348
 
3570
5349
ac_ext=c
3574
5353
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3575
5354
 
3576
5355
 
3577
 
echo "$as_me:$LINENO: checking for egrep" >&5
3578
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3579
 
if test "${ac_cv_prog_egrep+set}" = set; then
3580
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3581
 
else
3582
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3583
 
    then ac_cv_prog_egrep='grep -E'
3584
 
    else ac_cv_prog_egrep='egrep'
3585
 
    fi
3586
 
fi
3587
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3588
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3589
 
 EGREP=$ac_cv_prog_egrep
3590
 
 
3591
 
 
3592
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3593
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
5356
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
5357
$as_echo_n "checking for ANSI C header files... " >&6; }
3594
5358
if test "${ac_cv_header_stdc+set}" = set; then
3595
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5359
  $as_echo_n "(cached) " >&6
3596
5360
else
3597
5361
  cat >conftest.$ac_ext <<_ACEOF
3598
5362
/* confdefs.h.  */
3614
5378
}
3615
5379
_ACEOF
3616
5380
rm -f conftest.$ac_objext
3617
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3618
 
  (eval $ac_compile) 2>conftest.er1
 
5381
if { (ac_try="$ac_compile"
 
5382
case "(($ac_try" in
 
5383
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5384
  *) ac_try_echo=$ac_try;;
 
5385
esac
 
5386
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5387
$as_echo "$ac_try_echo") >&5
 
5388
  (eval "$ac_compile") 2>conftest.er1
3619
5389
  ac_status=$?
3620
5390
  grep -v '^ *+' conftest.er1 >conftest.err
3621
5391
  rm -f conftest.er1
3622
5392
  cat conftest.err >&5
3623
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624
 
  (exit $ac_status); } &&
3625
 
         { ac_try='test -z "$ac_c_werror_flag"
3626
 
                         || test ! -s conftest.err'
3627
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3628
 
  (eval $ac_try) 2>&5
3629
 
  ac_status=$?
3630
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631
 
  (exit $ac_status); }; } &&
3632
 
         { ac_try='test -s conftest.$ac_objext'
3633
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3634
 
  (eval $ac_try) 2>&5
3635
 
  ac_status=$?
3636
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637
 
  (exit $ac_status); }; }; then
 
5393
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5394
  (exit $ac_status); } && {
 
5395
         test -z "$ac_c_werror_flag" ||
 
5396
         test ! -s conftest.err
 
5397
       } && test -s conftest.$ac_objext; then
3638
5398
  ac_cv_header_stdc=yes
3639
5399
else
3640
 
  echo "$as_me: failed program was:" >&5
 
5400
  $as_echo "$as_me: failed program was:" >&5
3641
5401
sed 's/^/| /' conftest.$ac_ext >&5
3642
5402
 
3643
 
ac_cv_header_stdc=no
 
5403
        ac_cv_header_stdc=no
3644
5404
fi
3645
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5405
 
 
5406
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3646
5407
 
3647
5408
if test $ac_cv_header_stdc = yes; then
3648
5409
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3698
5459
cat >>conftest.$ac_ext <<_ACEOF
3699
5460
/* end confdefs.h.  */
3700
5461
#include <ctype.h>
 
5462
#include <stdlib.h>
3701
5463
#if ((' ' & 0x0FF) == 0x020)
3702
5464
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3703
5465
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3717
5479
  for (i = 0; i < 256; i++)
3718
5480
    if (XOR (islower (i), ISLOWER (i))
3719
5481
        || toupper (i) != TOUPPER (i))
3720
 
      exit(2);
3721
 
  exit (0);
 
5482
      return 2;
 
5483
  return 0;
3722
5484
}
3723
5485
_ACEOF
3724
5486
rm -f conftest$ac_exeext
3725
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3726
 
  (eval $ac_link) 2>&5
 
5487
if { (ac_try="$ac_link"
 
5488
case "(($ac_try" in
 
5489
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5490
  *) ac_try_echo=$ac_try;;
 
5491
esac
 
5492
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5493
$as_echo "$ac_try_echo") >&5
 
5494
  (eval "$ac_link") 2>&5
3727
5495
  ac_status=$?
3728
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5496
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729
5497
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3730
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3731
 
  (eval $ac_try) 2>&5
 
5498
  { (case "(($ac_try" in
 
5499
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5500
  *) ac_try_echo=$ac_try;;
 
5501
esac
 
5502
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5503
$as_echo "$ac_try_echo") >&5
 
5504
  (eval "$ac_try") 2>&5
3732
5505
  ac_status=$?
3733
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5506
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734
5507
  (exit $ac_status); }; }; then
3735
5508
  :
3736
5509
else
3737
 
  echo "$as_me: program exited with status $ac_status" >&5
3738
 
echo "$as_me: failed program was:" >&5
 
5510
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
5511
$as_echo "$as_me: failed program was:" >&5
3739
5512
sed 's/^/| /' conftest.$ac_ext >&5
3740
5513
 
3741
5514
( exit $ac_status )
3742
5515
ac_cv_header_stdc=no
3743
5516
fi
3744
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3745
 
fi
3746
 
fi
3747
 
fi
3748
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3749
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
5517
rm -rf conftest.dSYM
 
5518
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5519
fi
 
5520
 
 
5521
 
 
5522
fi
 
5523
fi
 
5524
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5525
$as_echo "$ac_cv_header_stdc" >&6; }
3750
5526
if test $ac_cv_header_stdc = yes; then
3751
5527
 
3752
5528
cat >>confdefs.h <<\_ACEOF
3768
5544
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3769
5545
                  inttypes.h stdint.h unistd.h
3770
5546
do
3771
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3772
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
3773
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3774
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3775
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5547
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5548
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5549
$as_echo_n "checking for $ac_header... " >&6; }
 
5550
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5551
  $as_echo_n "(cached) " >&6
3776
5552
else
3777
5553
  cat >conftest.$ac_ext <<_ACEOF
3778
5554
/* confdefs.h.  */
3785
5561
#include <$ac_header>
3786
5562
_ACEOF
3787
5563
rm -f conftest.$ac_objext
3788
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3789
 
  (eval $ac_compile) 2>conftest.er1
 
5564
if { (ac_try="$ac_compile"
 
5565
case "(($ac_try" in
 
5566
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5567
  *) ac_try_echo=$ac_try;;
 
5568
esac
 
5569
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5570
$as_echo "$ac_try_echo") >&5
 
5571
  (eval "$ac_compile") 2>conftest.er1
3790
5572
  ac_status=$?
3791
5573
  grep -v '^ *+' conftest.er1 >conftest.err
3792
5574
  rm -f conftest.er1
3793
5575
  cat conftest.err >&5
3794
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795
 
  (exit $ac_status); } &&
3796
 
         { ac_try='test -z "$ac_c_werror_flag"
3797
 
                         || test ! -s conftest.err'
3798
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3799
 
  (eval $ac_try) 2>&5
3800
 
  ac_status=$?
3801
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802
 
  (exit $ac_status); }; } &&
3803
 
         { ac_try='test -s conftest.$ac_objext'
3804
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3805
 
  (eval $ac_try) 2>&5
3806
 
  ac_status=$?
3807
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808
 
  (exit $ac_status); }; }; then
 
5576
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5577
  (exit $ac_status); } && {
 
5578
         test -z "$ac_c_werror_flag" ||
 
5579
         test ! -s conftest.err
 
5580
       } && test -s conftest.$ac_objext; then
3809
5581
  eval "$as_ac_Header=yes"
3810
5582
else
3811
 
  echo "$as_me: failed program was:" >&5
3812
 
sed 's/^/| /' conftest.$ac_ext >&5
3813
 
 
3814
 
eval "$as_ac_Header=no"
3815
 
fi
3816
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3817
 
fi
3818
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3819
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3820
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3821
 
  cat >>confdefs.h <<_ACEOF
3822
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3823
 
_ACEOF
3824
 
 
3825
 
fi
3826
 
 
3827
 
done
3828
 
 
 
5583
  $as_echo "$as_me: failed program was:" >&5
 
5584
sed 's/^/| /' conftest.$ac_ext >&5
 
5585
 
 
5586
        eval "$as_ac_Header=no"
 
5587
fi
 
5588
 
 
5589
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5590
fi
 
5591
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5592
                 $as_echo "$as_val"'`
 
5593
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5594
$as_echo "$ac_res" >&6; }
 
5595
as_val=`eval 'as_val=${'$as_ac_Header'}
 
5596
                 $as_echo "$as_val"'`
 
5597
   if test "x$as_val" = x""yes; then
 
5598
  cat >>confdefs.h <<_ACEOF
 
5599
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5600
_ACEOF
 
5601
 
 
5602
fi
 
5603
 
 
5604
done
 
5605
 
 
5606
 
 
5607
 
 
5608
for ac_header in dlfcn.h
 
5609
do
 
5610
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5611
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5612
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5613
$as_echo_n "checking for $ac_header... " >&6; }
 
5614
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5615
  $as_echo_n "(cached) " >&6
 
5616
fi
 
5617
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5618
                 $as_echo "$as_val"'`
 
5619
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5620
$as_echo "$ac_res" >&6; }
 
5621
else
 
5622
  # Is the header compilable?
 
5623
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5624
$as_echo_n "checking $ac_header usability... " >&6; }
 
5625
cat >conftest.$ac_ext <<_ACEOF
 
5626
/* confdefs.h.  */
 
5627
_ACEOF
 
5628
cat confdefs.h >>conftest.$ac_ext
 
5629
cat >>conftest.$ac_ext <<_ACEOF
 
5630
/* end confdefs.h.  */
 
5631
$ac_includes_default
 
5632
#include <$ac_header>
 
5633
_ACEOF
 
5634
rm -f conftest.$ac_objext
 
5635
if { (ac_try="$ac_compile"
 
5636
case "(($ac_try" in
 
5637
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5638
  *) ac_try_echo=$ac_try;;
 
5639
esac
 
5640
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5641
$as_echo "$ac_try_echo") >&5
 
5642
  (eval "$ac_compile") 2>conftest.er1
 
5643
  ac_status=$?
 
5644
  grep -v '^ *+' conftest.er1 >conftest.err
 
5645
  rm -f conftest.er1
 
5646
  cat conftest.err >&5
 
5647
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5648
  (exit $ac_status); } && {
 
5649
         test -z "$ac_c_werror_flag" ||
 
5650
         test ! -s conftest.err
 
5651
       } && test -s conftest.$ac_objext; then
 
5652
  ac_header_compiler=yes
 
5653
else
 
5654
  $as_echo "$as_me: failed program was:" >&5
 
5655
sed 's/^/| /' conftest.$ac_ext >&5
 
5656
 
 
5657
        ac_header_compiler=no
 
5658
fi
 
5659
 
 
5660
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5661
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5662
$as_echo "$ac_header_compiler" >&6; }
 
5663
 
 
5664
# Is the header present?
 
5665
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5666
$as_echo_n "checking $ac_header presence... " >&6; }
 
5667
cat >conftest.$ac_ext <<_ACEOF
 
5668
/* confdefs.h.  */
 
5669
_ACEOF
 
5670
cat confdefs.h >>conftest.$ac_ext
 
5671
cat >>conftest.$ac_ext <<_ACEOF
 
5672
/* end confdefs.h.  */
 
5673
#include <$ac_header>
 
5674
_ACEOF
 
5675
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5676
case "(($ac_try" in
 
5677
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5678
  *) ac_try_echo=$ac_try;;
 
5679
esac
 
5680
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5681
$as_echo "$ac_try_echo") >&5
 
5682
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
5683
  ac_status=$?
 
5684
  grep -v '^ *+' conftest.er1 >conftest.err
 
5685
  rm -f conftest.er1
 
5686
  cat conftest.err >&5
 
5687
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5688
  (exit $ac_status); } >/dev/null && {
 
5689
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5690
         test ! -s conftest.err
 
5691
       }; then
 
5692
  ac_header_preproc=yes
 
5693
else
 
5694
  $as_echo "$as_me: failed program was:" >&5
 
5695
sed 's/^/| /' conftest.$ac_ext >&5
 
5696
 
 
5697
  ac_header_preproc=no
 
5698
fi
 
5699
 
 
5700
rm -f conftest.err conftest.$ac_ext
 
5701
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5702
$as_echo "$ac_header_preproc" >&6; }
 
5703
 
 
5704
# So?  What about this header?
 
5705
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
5706
  yes:no: )
 
5707
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
5708
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
5709
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
5710
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
5711
    ac_header_preproc=yes
 
5712
    ;;
 
5713
  no:yes:* )
 
5714
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
5715
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
5716
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
5717
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
5718
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
5719
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
5720
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
5721
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
5722
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
5723
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
5724
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
5725
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
5726
    ( cat <<\_ASBOX
 
5727
## ------------------------------------------------ ##
 
5728
## Report this to sblim-devel@lists.sourceforge.net ##
 
5729
## ------------------------------------------------ ##
 
5730
_ASBOX
 
5731
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
5732
    ;;
 
5733
esac
 
5734
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5735
$as_echo_n "checking for $ac_header... " >&6; }
 
5736
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5737
  $as_echo_n "(cached) " >&6
 
5738
else
 
5739
  eval "$as_ac_Header=\$ac_header_preproc"
 
5740
fi
 
5741
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5742
                 $as_echo "$as_val"'`
 
5743
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5744
$as_echo "$ac_res" >&6; }
 
5745
 
 
5746
fi
 
5747
as_val=`eval 'as_val=${'$as_ac_Header'}
 
5748
                 $as_echo "$as_val"'`
 
5749
   if test "x$as_val" = x""yes; then
 
5750
  cat >>confdefs.h <<_ACEOF
 
5751
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5752
_ACEOF
 
5753
 
 
5754
fi
 
5755
 
 
5756
done
 
5757
 
 
5758
ac_ext=cpp
 
5759
ac_cpp='$CXXCPP $CPPFLAGS'
 
5760
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5761
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5762
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
5763
if test -z "$CXX"; then
 
5764
  if test -n "$CCC"; then
 
5765
    CXX=$CCC
 
5766
  else
 
5767
    if test -n "$ac_tool_prefix"; then
 
5768
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
5769
  do
 
5770
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5771
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5772
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5773
$as_echo_n "checking for $ac_word... " >&6; }
 
5774
if test "${ac_cv_prog_CXX+set}" = set; then
 
5775
  $as_echo_n "(cached) " >&6
 
5776
else
 
5777
  if test -n "$CXX"; then
 
5778
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
5779
else
 
5780
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5781
for as_dir in $PATH
 
5782
do
 
5783
  IFS=$as_save_IFS
 
5784
  test -z "$as_dir" && as_dir=.
 
5785
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5786
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5787
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
5788
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5789
    break 2
 
5790
  fi
 
5791
done
 
5792
done
 
5793
IFS=$as_save_IFS
 
5794
 
 
5795
fi
 
5796
fi
 
5797
CXX=$ac_cv_prog_CXX
 
5798
if test -n "$CXX"; then
 
5799
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
5800
$as_echo "$CXX" >&6; }
 
5801
else
 
5802
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5803
$as_echo "no" >&6; }
 
5804
fi
 
5805
 
 
5806
 
 
5807
    test -n "$CXX" && break
 
5808
  done
 
5809
fi
 
5810
if test -z "$CXX"; then
 
5811
  ac_ct_CXX=$CXX
 
5812
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
5813
do
 
5814
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5815
set dummy $ac_prog; ac_word=$2
 
5816
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5817
$as_echo_n "checking for $ac_word... " >&6; }
 
5818
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 
5819
  $as_echo_n "(cached) " >&6
 
5820
else
 
5821
  if test -n "$ac_ct_CXX"; then
 
5822
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
5823
else
 
5824
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5825
for as_dir in $PATH
 
5826
do
 
5827
  IFS=$as_save_IFS
 
5828
  test -z "$as_dir" && as_dir=.
 
5829
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5830
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5831
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
5832
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5833
    break 2
 
5834
  fi
 
5835
done
 
5836
done
 
5837
IFS=$as_save_IFS
 
5838
 
 
5839
fi
 
5840
fi
 
5841
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
5842
if test -n "$ac_ct_CXX"; then
 
5843
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
5844
$as_echo "$ac_ct_CXX" >&6; }
 
5845
else
 
5846
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5847
$as_echo "no" >&6; }
 
5848
fi
 
5849
 
 
5850
 
 
5851
  test -n "$ac_ct_CXX" && break
 
5852
done
 
5853
 
 
5854
  if test "x$ac_ct_CXX" = x; then
 
5855
    CXX="g++"
 
5856
  else
 
5857
    case $cross_compiling:$ac_tool_warned in
 
5858
yes:)
 
5859
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5860
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5861
ac_tool_warned=yes ;;
 
5862
esac
 
5863
    CXX=$ac_ct_CXX
 
5864
  fi
 
5865
fi
 
5866
 
 
5867
  fi
 
5868
fi
 
5869
# Provide some information about the compiler.
 
5870
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
5871
set X $ac_compile
 
5872
ac_compiler=$2
 
5873
{ (ac_try="$ac_compiler --version >&5"
 
5874
case "(($ac_try" in
 
5875
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5876
  *) ac_try_echo=$ac_try;;
 
5877
esac
 
5878
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5879
$as_echo "$ac_try_echo") >&5
 
5880
  (eval "$ac_compiler --version >&5") 2>&5
 
5881
  ac_status=$?
 
5882
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5883
  (exit $ac_status); }
 
5884
{ (ac_try="$ac_compiler -v >&5"
 
5885
case "(($ac_try" in
 
5886
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5887
  *) ac_try_echo=$ac_try;;
 
5888
esac
 
5889
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5890
$as_echo "$ac_try_echo") >&5
 
5891
  (eval "$ac_compiler -v >&5") 2>&5
 
5892
  ac_status=$?
 
5893
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5894
  (exit $ac_status); }
 
5895
{ (ac_try="$ac_compiler -V >&5"
 
5896
case "(($ac_try" in
 
5897
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5898
  *) ac_try_echo=$ac_try;;
 
5899
esac
 
5900
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5901
$as_echo "$ac_try_echo") >&5
 
5902
  (eval "$ac_compiler -V >&5") 2>&5
 
5903
  ac_status=$?
 
5904
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5905
  (exit $ac_status); }
 
5906
 
 
5907
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
5908
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
5909
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 
5910
  $as_echo_n "(cached) " >&6
 
5911
else
 
5912
  cat >conftest.$ac_ext <<_ACEOF
 
5913
/* confdefs.h.  */
 
5914
_ACEOF
 
5915
cat confdefs.h >>conftest.$ac_ext
 
5916
cat >>conftest.$ac_ext <<_ACEOF
 
5917
/* end confdefs.h.  */
 
5918
 
 
5919
int
 
5920
main ()
 
5921
{
 
5922
#ifndef __GNUC__
 
5923
       choke me
 
5924
#endif
 
5925
 
 
5926
  ;
 
5927
  return 0;
 
5928
}
 
5929
_ACEOF
 
5930
rm -f conftest.$ac_objext
 
5931
if { (ac_try="$ac_compile"
 
5932
case "(($ac_try" in
 
5933
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5934
  *) ac_try_echo=$ac_try;;
 
5935
esac
 
5936
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5937
$as_echo "$ac_try_echo") >&5
 
5938
  (eval "$ac_compile") 2>conftest.er1
 
5939
  ac_status=$?
 
5940
  grep -v '^ *+' conftest.er1 >conftest.err
 
5941
  rm -f conftest.er1
 
5942
  cat conftest.err >&5
 
5943
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5944
  (exit $ac_status); } && {
 
5945
         test -z "$ac_cxx_werror_flag" ||
 
5946
         test ! -s conftest.err
 
5947
       } && test -s conftest.$ac_objext; then
 
5948
  ac_compiler_gnu=yes
 
5949
else
 
5950
  $as_echo "$as_me: failed program was:" >&5
 
5951
sed 's/^/| /' conftest.$ac_ext >&5
 
5952
 
 
5953
        ac_compiler_gnu=no
 
5954
fi
 
5955
 
 
5956
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5957
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
5958
 
 
5959
fi
 
5960
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
5961
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
5962
if test $ac_compiler_gnu = yes; then
 
5963
  GXX=yes
 
5964
else
 
5965
  GXX=
 
5966
fi
 
5967
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
5968
ac_save_CXXFLAGS=$CXXFLAGS
 
5969
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
5970
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
5971
if test "${ac_cv_prog_cxx_g+set}" = set; then
 
5972
  $as_echo_n "(cached) " >&6
 
5973
else
 
5974
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
5975
   ac_cxx_werror_flag=yes
 
5976
   ac_cv_prog_cxx_g=no
 
5977
   CXXFLAGS="-g"
 
5978
   cat >conftest.$ac_ext <<_ACEOF
 
5979
/* confdefs.h.  */
 
5980
_ACEOF
 
5981
cat confdefs.h >>conftest.$ac_ext
 
5982
cat >>conftest.$ac_ext <<_ACEOF
 
5983
/* end confdefs.h.  */
 
5984
 
 
5985
int
 
5986
main ()
 
5987
{
 
5988
 
 
5989
  ;
 
5990
  return 0;
 
5991
}
 
5992
_ACEOF
 
5993
rm -f conftest.$ac_objext
 
5994
if { (ac_try="$ac_compile"
 
5995
case "(($ac_try" in
 
5996
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5997
  *) ac_try_echo=$ac_try;;
 
5998
esac
 
5999
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6000
$as_echo "$ac_try_echo") >&5
 
6001
  (eval "$ac_compile") 2>conftest.er1
 
6002
  ac_status=$?
 
6003
  grep -v '^ *+' conftest.er1 >conftest.err
 
6004
  rm -f conftest.er1
 
6005
  cat conftest.err >&5
 
6006
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6007
  (exit $ac_status); } && {
 
6008
         test -z "$ac_cxx_werror_flag" ||
 
6009
         test ! -s conftest.err
 
6010
       } && test -s conftest.$ac_objext; then
 
6011
  ac_cv_prog_cxx_g=yes
 
6012
else
 
6013
  $as_echo "$as_me: failed program was:" >&5
 
6014
sed 's/^/| /' conftest.$ac_ext >&5
 
6015
 
 
6016
        CXXFLAGS=""
 
6017
      cat >conftest.$ac_ext <<_ACEOF
 
6018
/* confdefs.h.  */
 
6019
_ACEOF
 
6020
cat confdefs.h >>conftest.$ac_ext
 
6021
cat >>conftest.$ac_ext <<_ACEOF
 
6022
/* end confdefs.h.  */
 
6023
 
 
6024
int
 
6025
main ()
 
6026
{
 
6027
 
 
6028
  ;
 
6029
  return 0;
 
6030
}
 
6031
_ACEOF
 
6032
rm -f conftest.$ac_objext
 
6033
if { (ac_try="$ac_compile"
 
6034
case "(($ac_try" in
 
6035
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6036
  *) ac_try_echo=$ac_try;;
 
6037
esac
 
6038
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6039
$as_echo "$ac_try_echo") >&5
 
6040
  (eval "$ac_compile") 2>conftest.er1
 
6041
  ac_status=$?
 
6042
  grep -v '^ *+' conftest.er1 >conftest.err
 
6043
  rm -f conftest.er1
 
6044
  cat conftest.err >&5
 
6045
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6046
  (exit $ac_status); } && {
 
6047
         test -z "$ac_cxx_werror_flag" ||
 
6048
         test ! -s conftest.err
 
6049
       } && test -s conftest.$ac_objext; then
 
6050
  :
 
6051
else
 
6052
  $as_echo "$as_me: failed program was:" >&5
 
6053
sed 's/^/| /' conftest.$ac_ext >&5
 
6054
 
 
6055
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
6056
         CXXFLAGS="-g"
 
6057
         cat >conftest.$ac_ext <<_ACEOF
 
6058
/* confdefs.h.  */
 
6059
_ACEOF
 
6060
cat confdefs.h >>conftest.$ac_ext
 
6061
cat >>conftest.$ac_ext <<_ACEOF
 
6062
/* end confdefs.h.  */
 
6063
 
 
6064
int
 
6065
main ()
 
6066
{
 
6067
 
 
6068
  ;
 
6069
  return 0;
 
6070
}
 
6071
_ACEOF
 
6072
rm -f conftest.$ac_objext
 
6073
if { (ac_try="$ac_compile"
 
6074
case "(($ac_try" in
 
6075
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6076
  *) ac_try_echo=$ac_try;;
 
6077
esac
 
6078
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6079
$as_echo "$ac_try_echo") >&5
 
6080
  (eval "$ac_compile") 2>conftest.er1
 
6081
  ac_status=$?
 
6082
  grep -v '^ *+' conftest.er1 >conftest.err
 
6083
  rm -f conftest.er1
 
6084
  cat conftest.err >&5
 
6085
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6086
  (exit $ac_status); } && {
 
6087
         test -z "$ac_cxx_werror_flag" ||
 
6088
         test ! -s conftest.err
 
6089
       } && test -s conftest.$ac_objext; then
 
6090
  ac_cv_prog_cxx_g=yes
 
6091
else
 
6092
  $as_echo "$as_me: failed program was:" >&5
 
6093
sed 's/^/| /' conftest.$ac_ext >&5
 
6094
 
 
6095
 
 
6096
fi
 
6097
 
 
6098
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6099
fi
 
6100
 
 
6101
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6102
fi
 
6103
 
 
6104
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6105
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
6106
fi
 
6107
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
6108
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
6109
if test "$ac_test_CXXFLAGS" = set; then
 
6110
  CXXFLAGS=$ac_save_CXXFLAGS
 
6111
elif test $ac_cv_prog_cxx_g = yes; then
 
6112
  if test "$GXX" = yes; then
 
6113
    CXXFLAGS="-g -O2"
 
6114
  else
 
6115
    CXXFLAGS="-g"
 
6116
  fi
 
6117
else
 
6118
  if test "$GXX" = yes; then
 
6119
    CXXFLAGS="-O2"
 
6120
  else
 
6121
    CXXFLAGS=
 
6122
  fi
 
6123
fi
 
6124
ac_ext=cpp
 
6125
ac_cpp='$CXXCPP $CPPFLAGS'
 
6126
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6127
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6128
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
6129
 
 
6130
depcc="$CXX"  am_compiler_list=
 
6131
 
 
6132
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
6133
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
6134
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 
6135
  $as_echo_n "(cached) " >&6
 
6136
else
 
6137
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
6138
  # We make a subdir and do the tests there.  Otherwise we can end up
 
6139
  # making bogus files that we don't know about and never remove.  For
 
6140
  # instance it was reported that on HP-UX the gcc test will end up
 
6141
  # making a dummy file named `D' -- because `-MD' means `put the output
 
6142
  # in D'.
 
6143
  mkdir conftest.dir
 
6144
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
6145
  # using a relative directory.
 
6146
  cp "$am_depcomp" conftest.dir
 
6147
  cd conftest.dir
 
6148
  # We will build objects and dependencies in a subdirectory because
 
6149
  # it helps to detect inapplicable dependency modes.  For instance
 
6150
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
6151
  # side effect of compilation, but ICC will put the dependencies in
 
6152
  # the current directory while Tru64 will put them in the object
 
6153
  # directory.
 
6154
  mkdir sub
 
6155
 
 
6156
  am_cv_CXX_dependencies_compiler_type=none
 
6157
  if test "$am_compiler_list" = ""; then
 
6158
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
6159
  fi
 
6160
  for depmode in $am_compiler_list; do
 
6161
    # Setup a source with many dependencies, because some compilers
 
6162
    # like to wrap large dependency lists on column 80 (with \), and
 
6163
    # we should not choose a depcomp mode which is confused by this.
 
6164
    #
 
6165
    # We need to recreate these files for each test, as the compiler may
 
6166
    # overwrite some of them when testing with obscure command lines.
 
6167
    # This happens at least with the AIX C compiler.
 
6168
    : > sub/conftest.c
 
6169
    for i in 1 2 3 4 5 6; do
 
6170
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
6171
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
6172
      # Solaris 8's {/usr,}/bin/sh.
 
6173
      touch sub/conftst$i.h
 
6174
    done
 
6175
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
6176
 
 
6177
    case $depmode in
 
6178
    nosideeffect)
 
6179
      # after this tag, mechanisms are not by side-effect, so they'll
 
6180
      # only be used when explicitly requested
 
6181
      if test "x$enable_dependency_tracking" = xyes; then
 
6182
        continue
 
6183
      else
 
6184
        break
 
6185
      fi
 
6186
      ;;
 
6187
    none) break ;;
 
6188
    esac
 
6189
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
6190
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
6191
    # handle `-M -o', and we need to detect this.
 
6192
    if depmode=$depmode \
 
6193
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
6194
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
6195
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
6196
         >/dev/null 2>conftest.err &&
 
6197
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
6198
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
6199
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
6200
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
6201
      # icc doesn't choke on unknown options, it will just issue warnings
 
6202
      # or remarks (even with -Werror).  So we grep stderr for any message
 
6203
      # that says an option was ignored or not supported.
 
6204
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
6205
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
6206
      # The diagnosis changed in icc 8.0:
 
6207
      #   icc: Command line remark: option '-MP' not supported
 
6208
      if (grep 'ignoring option' conftest.err ||
 
6209
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
6210
        am_cv_CXX_dependencies_compiler_type=$depmode
 
6211
        break
 
6212
      fi
 
6213
    fi
 
6214
  done
 
6215
 
 
6216
  cd ..
 
6217
  rm -rf conftest.dir
 
6218
else
 
6219
  am_cv_CXX_dependencies_compiler_type=none
 
6220
fi
 
6221
 
 
6222
fi
 
6223
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
6224
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
6225
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
6226
 
 
6227
 if
 
6228
  test "x$enable_dependency_tracking" != xno \
 
6229
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
6230
  am__fastdepCXX_TRUE=
 
6231
  am__fastdepCXX_FALSE='#'
 
6232
else
 
6233
  am__fastdepCXX_TRUE='#'
 
6234
  am__fastdepCXX_FALSE=
 
6235
fi
 
6236
 
 
6237
 
 
6238
 
 
6239
 
 
6240
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
6241
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
6242
    (test "X$CXX" != "Xg++"))) ; then
 
6243
  ac_ext=cpp
 
6244
ac_cpp='$CXXCPP $CPPFLAGS'
 
6245
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6246
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6247
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
6248
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
6249
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 
6250
if test -z "$CXXCPP"; then
 
6251
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
 
6252
  $as_echo_n "(cached) " >&6
 
6253
else
 
6254
      # Double quotes because CXXCPP needs to be expanded
 
6255
    for CXXCPP in "$CXX -E" "/lib/cpp"
 
6256
    do
 
6257
      ac_preproc_ok=false
 
6258
for ac_cxx_preproc_warn_flag in '' yes
 
6259
do
 
6260
  # Use a header file that comes with gcc, so configuring glibc
 
6261
  # with a fresh cross-compiler works.
 
6262
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6263
  # <limits.h> exists even on freestanding compilers.
 
6264
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6265
  # not just through cpp. "Syntax error" is here to catch this case.
 
6266
  cat >conftest.$ac_ext <<_ACEOF
 
6267
/* confdefs.h.  */
 
6268
_ACEOF
 
6269
cat confdefs.h >>conftest.$ac_ext
 
6270
cat >>conftest.$ac_ext <<_ACEOF
 
6271
/* end confdefs.h.  */
 
6272
#ifdef __STDC__
 
6273
# include <limits.h>
 
6274
#else
 
6275
# include <assert.h>
 
6276
#endif
 
6277
                     Syntax error
 
6278
_ACEOF
 
6279
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6280
case "(($ac_try" in
 
6281
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6282
  *) ac_try_echo=$ac_try;;
 
6283
esac
 
6284
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6285
$as_echo "$ac_try_echo") >&5
 
6286
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6287
  ac_status=$?
 
6288
  grep -v '^ *+' conftest.er1 >conftest.err
 
6289
  rm -f conftest.er1
 
6290
  cat conftest.err >&5
 
6291
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6292
  (exit $ac_status); } >/dev/null && {
 
6293
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6294
         test ! -s conftest.err
 
6295
       }; then
 
6296
  :
 
6297
else
 
6298
  $as_echo "$as_me: failed program was:" >&5
 
6299
sed 's/^/| /' conftest.$ac_ext >&5
 
6300
 
 
6301
  # Broken: fails on valid input.
 
6302
continue
 
6303
fi
 
6304
 
 
6305
rm -f conftest.err conftest.$ac_ext
 
6306
 
 
6307
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6308
  # can be detected and how.
 
6309
  cat >conftest.$ac_ext <<_ACEOF
 
6310
/* confdefs.h.  */
 
6311
_ACEOF
 
6312
cat confdefs.h >>conftest.$ac_ext
 
6313
cat >>conftest.$ac_ext <<_ACEOF
 
6314
/* end confdefs.h.  */
 
6315
#include <ac_nonexistent.h>
 
6316
_ACEOF
 
6317
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6318
case "(($ac_try" in
 
6319
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6320
  *) ac_try_echo=$ac_try;;
 
6321
esac
 
6322
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6323
$as_echo "$ac_try_echo") >&5
 
6324
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6325
  ac_status=$?
 
6326
  grep -v '^ *+' conftest.er1 >conftest.err
 
6327
  rm -f conftest.er1
 
6328
  cat conftest.err >&5
 
6329
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6330
  (exit $ac_status); } >/dev/null && {
 
6331
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6332
         test ! -s conftest.err
 
6333
       }; then
 
6334
  # Broken: success on invalid input.
 
6335
continue
 
6336
else
 
6337
  $as_echo "$as_me: failed program was:" >&5
 
6338
sed 's/^/| /' conftest.$ac_ext >&5
 
6339
 
 
6340
  # Passes both tests.
 
6341
ac_preproc_ok=:
 
6342
break
 
6343
fi
 
6344
 
 
6345
rm -f conftest.err conftest.$ac_ext
 
6346
 
 
6347
done
 
6348
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6349
rm -f conftest.err conftest.$ac_ext
 
6350
if $ac_preproc_ok; then
 
6351
  break
 
6352
fi
 
6353
 
 
6354
    done
 
6355
    ac_cv_prog_CXXCPP=$CXXCPP
 
6356
 
 
6357
fi
 
6358
  CXXCPP=$ac_cv_prog_CXXCPP
 
6359
else
 
6360
  ac_cv_prog_CXXCPP=$CXXCPP
 
6361
fi
 
6362
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
6363
$as_echo "$CXXCPP" >&6; }
 
6364
ac_preproc_ok=false
 
6365
for ac_cxx_preproc_warn_flag in '' yes
 
6366
do
 
6367
  # Use a header file that comes with gcc, so configuring glibc
 
6368
  # with a fresh cross-compiler works.
 
6369
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6370
  # <limits.h> exists even on freestanding compilers.
 
6371
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6372
  # not just through cpp. "Syntax error" is here to catch this case.
 
6373
  cat >conftest.$ac_ext <<_ACEOF
 
6374
/* confdefs.h.  */
 
6375
_ACEOF
 
6376
cat confdefs.h >>conftest.$ac_ext
 
6377
cat >>conftest.$ac_ext <<_ACEOF
 
6378
/* end confdefs.h.  */
 
6379
#ifdef __STDC__
 
6380
# include <limits.h>
 
6381
#else
 
6382
# include <assert.h>
 
6383
#endif
 
6384
                     Syntax error
 
6385
_ACEOF
 
6386
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6387
case "(($ac_try" in
 
6388
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6389
  *) ac_try_echo=$ac_try;;
 
6390
esac
 
6391
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6392
$as_echo "$ac_try_echo") >&5
 
6393
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6394
  ac_status=$?
 
6395
  grep -v '^ *+' conftest.er1 >conftest.err
 
6396
  rm -f conftest.er1
 
6397
  cat conftest.err >&5
 
6398
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6399
  (exit $ac_status); } >/dev/null && {
 
6400
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6401
         test ! -s conftest.err
 
6402
       }; then
 
6403
  :
 
6404
else
 
6405
  $as_echo "$as_me: failed program was:" >&5
 
6406
sed 's/^/| /' conftest.$ac_ext >&5
 
6407
 
 
6408
  # Broken: fails on valid input.
 
6409
continue
 
6410
fi
 
6411
 
 
6412
rm -f conftest.err conftest.$ac_ext
 
6413
 
 
6414
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6415
  # can be detected and how.
 
6416
  cat >conftest.$ac_ext <<_ACEOF
 
6417
/* confdefs.h.  */
 
6418
_ACEOF
 
6419
cat confdefs.h >>conftest.$ac_ext
 
6420
cat >>conftest.$ac_ext <<_ACEOF
 
6421
/* end confdefs.h.  */
 
6422
#include <ac_nonexistent.h>
 
6423
_ACEOF
 
6424
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6425
case "(($ac_try" in
 
6426
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6427
  *) ac_try_echo=$ac_try;;
 
6428
esac
 
6429
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6430
$as_echo "$ac_try_echo") >&5
 
6431
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6432
  ac_status=$?
 
6433
  grep -v '^ *+' conftest.er1 >conftest.err
 
6434
  rm -f conftest.er1
 
6435
  cat conftest.err >&5
 
6436
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6437
  (exit $ac_status); } >/dev/null && {
 
6438
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6439
         test ! -s conftest.err
 
6440
       }; then
 
6441
  # Broken: success on invalid input.
 
6442
continue
 
6443
else
 
6444
  $as_echo "$as_me: failed program was:" >&5
 
6445
sed 's/^/| /' conftest.$ac_ext >&5
 
6446
 
 
6447
  # Passes both tests.
 
6448
ac_preproc_ok=:
 
6449
break
 
6450
fi
 
6451
 
 
6452
rm -f conftest.err conftest.$ac_ext
 
6453
 
 
6454
done
 
6455
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6456
rm -f conftest.err conftest.$ac_ext
 
6457
if $ac_preproc_ok; then
 
6458
  :
 
6459
else
 
6460
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
6461
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
6462
{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
6463
See \`config.log' for more details." >&5
 
6464
$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
6465
See \`config.log' for more details." >&2;}
 
6466
   { (exit 1); exit 1; }; }; }
 
6467
fi
 
6468
 
 
6469
ac_ext=cpp
 
6470
ac_cpp='$CXXCPP $CPPFLAGS'
 
6471
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6472
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6473
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
6474
 
 
6475
fi
 
6476
 
 
6477
 
 
6478
ac_ext=f
 
6479
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 
6480
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6481
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 
6482
if test -n "$ac_tool_prefix"; then
 
6483
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
 
6484
  do
 
6485
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6486
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6487
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6488
$as_echo_n "checking for $ac_word... " >&6; }
 
6489
if test "${ac_cv_prog_F77+set}" = set; then
 
6490
  $as_echo_n "(cached) " >&6
 
6491
else
 
6492
  if test -n "$F77"; then
 
6493
  ac_cv_prog_F77="$F77" # Let the user override the test.
 
6494
else
 
6495
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6496
for as_dir in $PATH
 
6497
do
 
6498
  IFS=$as_save_IFS
 
6499
  test -z "$as_dir" && as_dir=.
 
6500
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6501
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6502
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
 
6503
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6504
    break 2
 
6505
  fi
 
6506
done
 
6507
done
 
6508
IFS=$as_save_IFS
 
6509
 
 
6510
fi
 
6511
fi
 
6512
F77=$ac_cv_prog_F77
 
6513
if test -n "$F77"; then
 
6514
  { $as_echo "$as_me:$LINENO: result: $F77" >&5
 
6515
$as_echo "$F77" >&6; }
 
6516
else
 
6517
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6518
$as_echo "no" >&6; }
 
6519
fi
 
6520
 
 
6521
 
 
6522
    test -n "$F77" && break
 
6523
  done
 
6524
fi
 
6525
if test -z "$F77"; then
 
6526
  ac_ct_F77=$F77
 
6527
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
 
6528
do
 
6529
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6530
set dummy $ac_prog; ac_word=$2
 
6531
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6532
$as_echo_n "checking for $ac_word... " >&6; }
 
6533
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
 
6534
  $as_echo_n "(cached) " >&6
 
6535
else
 
6536
  if test -n "$ac_ct_F77"; then
 
6537
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
 
6538
else
 
6539
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6540
for as_dir in $PATH
 
6541
do
 
6542
  IFS=$as_save_IFS
 
6543
  test -z "$as_dir" && as_dir=.
 
6544
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6545
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6546
    ac_cv_prog_ac_ct_F77="$ac_prog"
 
6547
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6548
    break 2
 
6549
  fi
 
6550
done
 
6551
done
 
6552
IFS=$as_save_IFS
 
6553
 
 
6554
fi
 
6555
fi
 
6556
ac_ct_F77=$ac_cv_prog_ac_ct_F77
 
6557
if test -n "$ac_ct_F77"; then
 
6558
  { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
6559
$as_echo "$ac_ct_F77" >&6; }
 
6560
else
 
6561
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6562
$as_echo "no" >&6; }
 
6563
fi
 
6564
 
 
6565
 
 
6566
  test -n "$ac_ct_F77" && break
 
6567
done
 
6568
 
 
6569
  if test "x$ac_ct_F77" = x; then
 
6570
    F77=""
 
6571
  else
 
6572
    case $cross_compiling:$ac_tool_warned in
 
6573
yes:)
 
6574
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6575
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6576
ac_tool_warned=yes ;;
 
6577
esac
 
6578
    F77=$ac_ct_F77
 
6579
  fi
 
6580
fi
 
6581
 
 
6582
 
 
6583
# Provide some information about the compiler.
 
6584
$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
 
6585
set X $ac_compile
 
6586
ac_compiler=$2
 
6587
{ (ac_try="$ac_compiler --version >&5"
 
6588
case "(($ac_try" in
 
6589
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6590
  *) ac_try_echo=$ac_try;;
 
6591
esac
 
6592
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6593
$as_echo "$ac_try_echo") >&5
 
6594
  (eval "$ac_compiler --version >&5") 2>&5
 
6595
  ac_status=$?
 
6596
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6597
  (exit $ac_status); }
 
6598
{ (ac_try="$ac_compiler -v >&5"
 
6599
case "(($ac_try" in
 
6600
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6601
  *) ac_try_echo=$ac_try;;
 
6602
esac
 
6603
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6604
$as_echo "$ac_try_echo") >&5
 
6605
  (eval "$ac_compiler -v >&5") 2>&5
 
6606
  ac_status=$?
 
6607
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6608
  (exit $ac_status); }
 
6609
{ (ac_try="$ac_compiler -V >&5"
 
6610
case "(($ac_try" in
 
6611
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6612
  *) ac_try_echo=$ac_try;;
 
6613
esac
 
6614
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6615
$as_echo "$ac_try_echo") >&5
 
6616
  (eval "$ac_compiler -V >&5") 2>&5
 
6617
  ac_status=$?
 
6618
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6619
  (exit $ac_status); }
 
6620
rm -f a.out
 
6621
 
 
6622
# If we don't use `.F' as extension, the preprocessor is not run on the
 
6623
# input file.  (Note that this only needs to work for GNU compilers.)
 
6624
ac_save_ext=$ac_ext
 
6625
ac_ext=F
 
6626
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
6627
$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
 
6628
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
 
6629
  $as_echo_n "(cached) " >&6
 
6630
else
 
6631
  cat >conftest.$ac_ext <<_ACEOF
 
6632
      program main
 
6633
#ifndef __GNUC__
 
6634
       choke me
 
6635
#endif
 
6636
 
 
6637
      end
 
6638
_ACEOF
 
6639
rm -f conftest.$ac_objext
 
6640
if { (ac_try="$ac_compile"
 
6641
case "(($ac_try" in
 
6642
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6643
  *) ac_try_echo=$ac_try;;
 
6644
esac
 
6645
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6646
$as_echo "$ac_try_echo") >&5
 
6647
  (eval "$ac_compile") 2>conftest.er1
 
6648
  ac_status=$?
 
6649
  grep -v '^ *+' conftest.er1 >conftest.err
 
6650
  rm -f conftest.er1
 
6651
  cat conftest.err >&5
 
6652
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6653
  (exit $ac_status); } && {
 
6654
         test -z "$ac_f77_werror_flag" ||
 
6655
         test ! -s conftest.err
 
6656
       } && test -s conftest.$ac_objext; then
 
6657
  ac_compiler_gnu=yes
 
6658
else
 
6659
  $as_echo "$as_me: failed program was:" >&5
 
6660
sed 's/^/| /' conftest.$ac_ext >&5
 
6661
 
 
6662
        ac_compiler_gnu=no
 
6663
fi
 
6664
 
 
6665
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6666
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
 
6667
 
 
6668
fi
 
6669
{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
6670
$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
 
6671
ac_ext=$ac_save_ext
 
6672
ac_test_FFLAGS=${FFLAGS+set}
 
6673
ac_save_FFLAGS=$FFLAGS
 
6674
FFLAGS=
 
6675
{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
6676
$as_echo_n "checking whether $F77 accepts -g... " >&6; }
 
6677
if test "${ac_cv_prog_f77_g+set}" = set; then
 
6678
  $as_echo_n "(cached) " >&6
 
6679
else
 
6680
  FFLAGS=-g
 
6681
cat >conftest.$ac_ext <<_ACEOF
 
6682
      program main
 
6683
 
 
6684
      end
 
6685
_ACEOF
 
6686
rm -f conftest.$ac_objext
 
6687
if { (ac_try="$ac_compile"
 
6688
case "(($ac_try" in
 
6689
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6690
  *) ac_try_echo=$ac_try;;
 
6691
esac
 
6692
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6693
$as_echo "$ac_try_echo") >&5
 
6694
  (eval "$ac_compile") 2>conftest.er1
 
6695
  ac_status=$?
 
6696
  grep -v '^ *+' conftest.er1 >conftest.err
 
6697
  rm -f conftest.er1
 
6698
  cat conftest.err >&5
 
6699
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6700
  (exit $ac_status); } && {
 
6701
         test -z "$ac_f77_werror_flag" ||
 
6702
         test ! -s conftest.err
 
6703
       } && test -s conftest.$ac_objext; then
 
6704
  ac_cv_prog_f77_g=yes
 
6705
else
 
6706
  $as_echo "$as_me: failed program was:" >&5
 
6707
sed 's/^/| /' conftest.$ac_ext >&5
 
6708
 
 
6709
        ac_cv_prog_f77_g=no
 
6710
fi
 
6711
 
 
6712
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6713
 
 
6714
fi
 
6715
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
6716
$as_echo "$ac_cv_prog_f77_g" >&6; }
 
6717
if test "$ac_test_FFLAGS" = set; then
 
6718
  FFLAGS=$ac_save_FFLAGS
 
6719
elif test $ac_cv_prog_f77_g = yes; then
 
6720
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 
6721
    FFLAGS="-g -O2"
 
6722
  else
 
6723
    FFLAGS="-g"
 
6724
  fi
 
6725
else
 
6726
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 
6727
    FFLAGS="-O2"
 
6728
  else
 
6729
    FFLAGS=
 
6730
  fi
 
6731
fi
 
6732
 
 
6733
if test $ac_compiler_gnu = yes; then
 
6734
  G77=yes
 
6735
else
 
6736
  G77=
 
6737
fi
 
6738
ac_ext=c
 
6739
ac_cpp='$CPP $CPPFLAGS'
 
6740
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6741
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6742
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6743
 
 
6744
 
 
6745
 
 
6746
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
 
6747
# find the maximum length of command line arguments
 
6748
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6749
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
6750
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
6751
  $as_echo_n "(cached) " >&6
 
6752
else
 
6753
    i=0
 
6754
  teststring="ABCD"
 
6755
 
 
6756
  case $build_os in
 
6757
  msdosdjgpp*)
 
6758
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
6759
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
6760
    # during glob expansion).  Even if it were fixed, the result of this
 
6761
    # check would be larger than it should be.
 
6762
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
6763
    ;;
 
6764
 
 
6765
  gnu*)
 
6766
    # Under GNU Hurd, this test is not required because there is
 
6767
    # no limit to the length of command line arguments.
 
6768
    # Libtool will interpret -1 as no limit whatsoever
 
6769
    lt_cv_sys_max_cmd_len=-1;
 
6770
    ;;
 
6771
 
 
6772
  cygwin* | mingw*)
 
6773
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
6774
    # about 5 minutes as the teststring grows exponentially.
 
6775
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
6776
    # you end up with a "frozen" computer, even though with patience
 
6777
    # the test eventually succeeds (with a max line length of 256k).
 
6778
    # Instead, let's just punt: use the minimum linelength reported by
 
6779
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
6780
    lt_cv_sys_max_cmd_len=8192;
 
6781
    ;;
 
6782
 
 
6783
  amigaos*)
 
6784
    # On AmigaOS with pdksh, this test takes hours, literally.
 
6785
    # So we just punt and use a minimum line length of 8192.
 
6786
    lt_cv_sys_max_cmd_len=8192;
 
6787
    ;;
 
6788
 
 
6789
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
6790
    # This has been around since 386BSD, at least.  Likely further.
 
6791
    if test -x /sbin/sysctl; then
 
6792
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
6793
    elif test -x /usr/sbin/sysctl; then
 
6794
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
6795
    else
 
6796
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
6797
    fi
 
6798
    # And add a safety zone
 
6799
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6800
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6801
    ;;
 
6802
 
 
6803
  interix*)
 
6804
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
6805
    lt_cv_sys_max_cmd_len=196608
 
6806
    ;;
 
6807
 
 
6808
  osf*)
 
6809
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
6810
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
6811
    # nice to cause kernel panics so lets avoid the loop below.
 
6812
    # First set a reasonable default.
 
6813
    lt_cv_sys_max_cmd_len=16384
 
6814
    #
 
6815
    if test -x /sbin/sysconfig; then
 
6816
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
6817
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
6818
      esac
 
6819
    fi
 
6820
    ;;
 
6821
  sco3.2v5*)
 
6822
    lt_cv_sys_max_cmd_len=102400
 
6823
    ;;
 
6824
  sysv5* | sco5v6* | sysv4.2uw2*)
 
6825
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
6826
    if test -n "$kargmax"; then
 
6827
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
 
6828
    else
 
6829
      lt_cv_sys_max_cmd_len=32768
 
6830
    fi
 
6831
    ;;
 
6832
  *)
 
6833
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6834
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6835
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6836
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6837
    else
 
6838
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6839
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
6840
               = "XX$teststring") >/dev/null 2>&1 &&
 
6841
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
6842
              lt_cv_sys_max_cmd_len=$new_result &&
 
6843
              test $i != 17 # 1/2 MB should be enough
 
6844
      do
 
6845
        i=`expr $i + 1`
 
6846
        teststring=$teststring$teststring
 
6847
      done
 
6848
      teststring=
 
6849
      # Add a significant safety factor because C++ compilers can tack on massive
 
6850
      # amounts of additional arguments before passing them to the linker.
 
6851
      # It appears as though 1/2 is a usable value.
 
6852
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6853
    fi
 
6854
    ;;
 
6855
  esac
 
6856
 
 
6857
fi
 
6858
 
 
6859
if test -n $lt_cv_sys_max_cmd_len ; then
 
6860
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6861
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
6862
else
 
6863
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
6864
$as_echo "none" >&6; }
 
6865
fi
 
6866
 
 
6867
 
 
6868
 
 
6869
 
 
6870
 
 
6871
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
6872
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6873
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
6874
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
6875
  $as_echo_n "(cached) " >&6
 
6876
else
 
6877
 
 
6878
# These are sane defaults that work on at least a few old systems.
 
6879
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
6880
 
 
6881
# Character class describing NM global symbol codes.
 
6882
symcode='[BCDEGRST]'
 
6883
 
 
6884
# Regexp to match symbols that can be accessed directly from C.
 
6885
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
6886
 
 
6887
# Transform an extracted symbol line into a proper C declaration
 
6888
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
 
6889
 
 
6890
# Transform an extracted symbol line into symbol name and symbol address
 
6891
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'"
 
6892
 
 
6893
# Define system-specific variables.
 
6894
case $host_os in
 
6895
aix*)
 
6896
  symcode='[BCDT]'
 
6897
  ;;
 
6898
cygwin* | mingw* | pw32*)
 
6899
  symcode='[ABCDGISTW]'
 
6900
  ;;
 
6901
hpux*) # Its linker distinguishes data from code symbols
 
6902
  if test "$host_cpu" = ia64; then
 
6903
    symcode='[ABCDEGRST]'
 
6904
  fi
 
6905
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
6906
  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'"
 
6907
  ;;
 
6908
linux* | k*bsd*-gnu)
 
6909
  if test "$host_cpu" = ia64; then
 
6910
    symcode='[ABCDGIRSTW]'
 
6911
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
6912
    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'"
 
6913
  fi
 
6914
  ;;
 
6915
irix* | nonstopux*)
 
6916
  symcode='[BCDEGRST]'
 
6917
  ;;
 
6918
osf*)
 
6919
  symcode='[BCDEGQRST]'
 
6920
  ;;
 
6921
solaris*)
 
6922
  symcode='[BDRT]'
 
6923
  ;;
 
6924
sco3.2v5*)
 
6925
  symcode='[DT]'
 
6926
  ;;
 
6927
sysv4.2uw2*)
 
6928
  symcode='[DT]'
 
6929
  ;;
 
6930
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
6931
  symcode='[ABDT]'
 
6932
  ;;
 
6933
sysv4)
 
6934
  symcode='[DFNSTU]'
 
6935
  ;;
 
6936
esac
 
6937
 
 
6938
# Handle CRLF in mingw tool chain
 
6939
opt_cr=
 
6940
case $build_os in
 
6941
mingw*)
 
6942
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
6943
  ;;
 
6944
esac
 
6945
 
 
6946
# If we're using GNU nm, then use its standard symbol codes.
 
6947
case `$NM -V 2>&1` in
 
6948
*GNU* | *'with BFD'*)
 
6949
  symcode='[ABCDGIRSTW]' ;;
 
6950
esac
 
6951
 
 
6952
# Try without a prefix undercore, then with it.
 
6953
for ac_symprfx in "" "_"; do
 
6954
 
 
6955
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
6956
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
6957
 
 
6958
  # Write the raw and C identifiers.
 
6959
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
6960
 
 
6961
  # Check to see that the pipe works correctly.
 
6962
  pipe_works=no
 
6963
 
 
6964
  rm -f conftest*
 
6965
  cat > conftest.$ac_ext <<EOF
 
6966
#ifdef __cplusplus
 
6967
extern "C" {
 
6968
#endif
 
6969
char nm_test_var;
 
6970
void nm_test_func(){}
 
6971
#ifdef __cplusplus
 
6972
}
 
6973
#endif
 
6974
int main(){nm_test_var='a';nm_test_func();return(0);}
 
6975
EOF
 
6976
 
 
6977
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6978
  (eval $ac_compile) 2>&5
 
6979
  ac_status=$?
 
6980
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6981
  (exit $ac_status); }; then
 
6982
    # Now try to grab the symbols.
 
6983
    nlist=conftest.nm
 
6984
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
6985
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
6986
  ac_status=$?
 
6987
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6988
  (exit $ac_status); } && test -s "$nlist"; then
 
6989
      # Try sorting and uniquifying the output.
 
6990
      if sort "$nlist" | uniq > "$nlist"T; then
 
6991
        mv -f "$nlist"T "$nlist"
 
6992
      else
 
6993
        rm -f "$nlist"T
 
6994
      fi
 
6995
 
 
6996
      # Make sure that we snagged all the symbols we need.
 
6997
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
 
6998
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
 
6999
          cat <<EOF > conftest.$ac_ext
 
7000
#ifdef __cplusplus
 
7001
extern "C" {
 
7002
#endif
 
7003
 
 
7004
EOF
 
7005
          # Now generate the symbol file.
 
7006
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
 
7007
 
 
7008
          cat <<EOF >> conftest.$ac_ext
 
7009
#if defined (__STDC__) && __STDC__
 
7010
# define lt_ptr_t void *
 
7011
#else
 
7012
# define lt_ptr_t char *
 
7013
# define const
 
7014
#endif
 
7015
 
 
7016
/* The mapping between symbol names and symbols. */
 
7017
const struct {
 
7018
  const char *name;
 
7019
  lt_ptr_t address;
 
7020
}
 
7021
lt_preloaded_symbols[] =
 
7022
{
 
7023
EOF
 
7024
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
 
7025
          cat <<\EOF >> conftest.$ac_ext
 
7026
  {0, (lt_ptr_t) 0}
 
7027
};
 
7028
 
 
7029
#ifdef __cplusplus
 
7030
}
 
7031
#endif
 
7032
EOF
 
7033
          # Now try linking the two files.
 
7034
          mv conftest.$ac_objext conftstm.$ac_objext
 
7035
          lt_save_LIBS="$LIBS"
 
7036
          lt_save_CFLAGS="$CFLAGS"
 
7037
          LIBS="conftstm.$ac_objext"
 
7038
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
7039
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7040
  (eval $ac_link) 2>&5
 
7041
  ac_status=$?
 
7042
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7043
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
7044
            pipe_works=yes
 
7045
          fi
 
7046
          LIBS="$lt_save_LIBS"
 
7047
          CFLAGS="$lt_save_CFLAGS"
 
7048
        else
 
7049
          echo "cannot find nm_test_func in $nlist" >&5
 
7050
        fi
 
7051
      else
 
7052
        echo "cannot find nm_test_var in $nlist" >&5
 
7053
      fi
 
7054
    else
 
7055
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
7056
    fi
 
7057
  else
 
7058
    echo "$progname: failed program was:" >&5
 
7059
    cat conftest.$ac_ext >&5
 
7060
  fi
 
7061
  rm -rf conftest* conftst*
 
7062
 
 
7063
  # Do not use the global_symbol_pipe unless it works.
 
7064
  if test "$pipe_works" = yes; then
 
7065
    break
 
7066
  else
 
7067
    lt_cv_sys_global_symbol_pipe=
 
7068
  fi
 
7069
done
 
7070
 
 
7071
fi
 
7072
 
 
7073
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
7074
  lt_cv_sys_global_symbol_to_cdecl=
 
7075
fi
 
7076
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
7077
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
7078
$as_echo "failed" >&6; }
 
7079
else
 
7080
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
7081
$as_echo "ok" >&6; }
 
7082
fi
 
7083
 
 
7084
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
7085
$as_echo_n "checking for objdir... " >&6; }
 
7086
if test "${lt_cv_objdir+set}" = set; then
 
7087
  $as_echo_n "(cached) " >&6
 
7088
else
 
7089
  rm -f .libs 2>/dev/null
 
7090
mkdir .libs 2>/dev/null
 
7091
if test -d .libs; then
 
7092
  lt_cv_objdir=.libs
 
7093
else
 
7094
  # MS-DOS does not allow filenames that begin with a dot.
 
7095
  lt_cv_objdir=_libs
 
7096
fi
 
7097
rmdir .libs 2>/dev/null
 
7098
fi
 
7099
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7100
$as_echo "$lt_cv_objdir" >&6; }
 
7101
objdir=$lt_cv_objdir
 
7102
 
 
7103
 
 
7104
 
 
7105
 
 
7106
 
 
7107
case $host_os in
 
7108
aix3*)
 
7109
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
7110
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
7111
  # vanish in a puff of smoke.
 
7112
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
7113
    COLLECT_NAMES=
 
7114
    export COLLECT_NAMES
 
7115
  fi
 
7116
  ;;
 
7117
esac
 
7118
 
 
7119
# Sed substitution that helps us do robust quoting.  It backslashifies
 
7120
# metacharacters that are still active within double-quoted strings.
 
7121
Xsed='sed -e 1s/^X//'
 
7122
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
 
7123
 
 
7124
# Same as above, but do not quote variable references.
 
7125
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
 
7126
 
 
7127
# Sed substitution to delay expansion of an escaped shell variable in a
 
7128
# double_quote_subst'ed string.
 
7129
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
7130
 
 
7131
# Sed substitution to avoid accidental globbing in evaled expressions
 
7132
no_glob_subst='s/\*/\\\*/g'
 
7133
 
 
7134
# Constants:
 
7135
rm="rm -f"
 
7136
 
 
7137
# Global variables:
 
7138
default_ofile=libtool
 
7139
can_build_shared=yes
 
7140
 
 
7141
# All known linkers require a `.a' archive for static linking (except MSVC,
 
7142
# which needs '.lib').
 
7143
libext=a
 
7144
ltmain="$ac_aux_dir/ltmain.sh"
 
7145
ofile="$default_ofile"
 
7146
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
7147
 
 
7148
if test -n "$ac_tool_prefix"; then
 
7149
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
7150
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
7151
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7152
$as_echo_n "checking for $ac_word... " >&6; }
 
7153
if test "${ac_cv_prog_AR+set}" = set; then
 
7154
  $as_echo_n "(cached) " >&6
 
7155
else
 
7156
  if test -n "$AR"; then
 
7157
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
7158
else
 
7159
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7160
for as_dir in $PATH
 
7161
do
 
7162
  IFS=$as_save_IFS
 
7163
  test -z "$as_dir" && as_dir=.
 
7164
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7165
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7166
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
7167
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7168
    break 2
 
7169
  fi
 
7170
done
 
7171
done
 
7172
IFS=$as_save_IFS
 
7173
 
 
7174
fi
 
7175
fi
 
7176
AR=$ac_cv_prog_AR
 
7177
if test -n "$AR"; then
 
7178
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
7179
$as_echo "$AR" >&6; }
 
7180
else
 
7181
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7182
$as_echo "no" >&6; }
 
7183
fi
 
7184
 
 
7185
 
 
7186
fi
 
7187
if test -z "$ac_cv_prog_AR"; then
 
7188
  ac_ct_AR=$AR
 
7189
  # Extract the first word of "ar", so it can be a program name with args.
 
7190
set dummy ar; ac_word=$2
 
7191
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7192
$as_echo_n "checking for $ac_word... " >&6; }
 
7193
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
7194
  $as_echo_n "(cached) " >&6
 
7195
else
 
7196
  if test -n "$ac_ct_AR"; then
 
7197
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
7198
else
 
7199
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7200
for as_dir in $PATH
 
7201
do
 
7202
  IFS=$as_save_IFS
 
7203
  test -z "$as_dir" && as_dir=.
 
7204
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7205
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7206
    ac_cv_prog_ac_ct_AR="ar"
 
7207
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7208
    break 2
 
7209
  fi
 
7210
done
 
7211
done
 
7212
IFS=$as_save_IFS
 
7213
 
 
7214
fi
 
7215
fi
 
7216
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
7217
if test -n "$ac_ct_AR"; then
 
7218
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
7219
$as_echo "$ac_ct_AR" >&6; }
 
7220
else
 
7221
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7222
$as_echo "no" >&6; }
 
7223
fi
 
7224
 
 
7225
  if test "x$ac_ct_AR" = x; then
 
7226
    AR="false"
 
7227
  else
 
7228
    case $cross_compiling:$ac_tool_warned in
 
7229
yes:)
 
7230
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7231
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7232
ac_tool_warned=yes ;;
 
7233
esac
 
7234
    AR=$ac_ct_AR
 
7235
  fi
 
7236
else
 
7237
  AR="$ac_cv_prog_AR"
 
7238
fi
 
7239
 
 
7240
if test -n "$ac_tool_prefix"; then
 
7241
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
7242
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
7243
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7244
$as_echo_n "checking for $ac_word... " >&6; }
 
7245
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
7246
  $as_echo_n "(cached) " >&6
 
7247
else
 
7248
  if test -n "$RANLIB"; then
 
7249
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
7250
else
 
7251
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7252
for as_dir in $PATH
 
7253
do
 
7254
  IFS=$as_save_IFS
 
7255
  test -z "$as_dir" && as_dir=.
 
7256
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7257
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7258
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
7259
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7260
    break 2
 
7261
  fi
 
7262
done
 
7263
done
 
7264
IFS=$as_save_IFS
 
7265
 
 
7266
fi
 
7267
fi
 
7268
RANLIB=$ac_cv_prog_RANLIB
 
7269
if test -n "$RANLIB"; then
 
7270
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
7271
$as_echo "$RANLIB" >&6; }
 
7272
else
 
7273
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7274
$as_echo "no" >&6; }
 
7275
fi
 
7276
 
 
7277
 
 
7278
fi
 
7279
if test -z "$ac_cv_prog_RANLIB"; then
 
7280
  ac_ct_RANLIB=$RANLIB
 
7281
  # Extract the first word of "ranlib", so it can be a program name with args.
 
7282
set dummy ranlib; ac_word=$2
 
7283
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7284
$as_echo_n "checking for $ac_word... " >&6; }
 
7285
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
7286
  $as_echo_n "(cached) " >&6
 
7287
else
 
7288
  if test -n "$ac_ct_RANLIB"; then
 
7289
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
7290
else
 
7291
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7292
for as_dir in $PATH
 
7293
do
 
7294
  IFS=$as_save_IFS
 
7295
  test -z "$as_dir" && as_dir=.
 
7296
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7297
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7298
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
7299
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7300
    break 2
 
7301
  fi
 
7302
done
 
7303
done
 
7304
IFS=$as_save_IFS
 
7305
 
 
7306
fi
 
7307
fi
 
7308
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
7309
if test -n "$ac_ct_RANLIB"; then
 
7310
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
7311
$as_echo "$ac_ct_RANLIB" >&6; }
 
7312
else
 
7313
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7314
$as_echo "no" >&6; }
 
7315
fi
 
7316
 
 
7317
  if test "x$ac_ct_RANLIB" = x; then
 
7318
    RANLIB=":"
 
7319
  else
 
7320
    case $cross_compiling:$ac_tool_warned in
 
7321
yes:)
 
7322
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7323
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7324
ac_tool_warned=yes ;;
 
7325
esac
 
7326
    RANLIB=$ac_ct_RANLIB
 
7327
  fi
 
7328
else
 
7329
  RANLIB="$ac_cv_prog_RANLIB"
 
7330
fi
 
7331
 
 
7332
if test -n "$ac_tool_prefix"; then
 
7333
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
7334
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
7335
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7336
$as_echo_n "checking for $ac_word... " >&6; }
 
7337
if test "${ac_cv_prog_STRIP+set}" = set; then
 
7338
  $as_echo_n "(cached) " >&6
 
7339
else
 
7340
  if test -n "$STRIP"; then
 
7341
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
7342
else
 
7343
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7344
for as_dir in $PATH
 
7345
do
 
7346
  IFS=$as_save_IFS
 
7347
  test -z "$as_dir" && as_dir=.
 
7348
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7349
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7350
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
7351
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7352
    break 2
 
7353
  fi
 
7354
done
 
7355
done
 
7356
IFS=$as_save_IFS
 
7357
 
 
7358
fi
 
7359
fi
 
7360
STRIP=$ac_cv_prog_STRIP
 
7361
if test -n "$STRIP"; then
 
7362
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
7363
$as_echo "$STRIP" >&6; }
 
7364
else
 
7365
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7366
$as_echo "no" >&6; }
 
7367
fi
 
7368
 
 
7369
 
 
7370
fi
 
7371
if test -z "$ac_cv_prog_STRIP"; then
 
7372
  ac_ct_STRIP=$STRIP
 
7373
  # Extract the first word of "strip", so it can be a program name with args.
 
7374
set dummy strip; ac_word=$2
 
7375
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7376
$as_echo_n "checking for $ac_word... " >&6; }
 
7377
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
7378
  $as_echo_n "(cached) " >&6
 
7379
else
 
7380
  if test -n "$ac_ct_STRIP"; then
 
7381
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
7382
else
 
7383
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7384
for as_dir in $PATH
 
7385
do
 
7386
  IFS=$as_save_IFS
 
7387
  test -z "$as_dir" && as_dir=.
 
7388
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7389
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7390
    ac_cv_prog_ac_ct_STRIP="strip"
 
7391
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7392
    break 2
 
7393
  fi
 
7394
done
 
7395
done
 
7396
IFS=$as_save_IFS
 
7397
 
 
7398
fi
 
7399
fi
 
7400
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
7401
if test -n "$ac_ct_STRIP"; then
 
7402
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
7403
$as_echo "$ac_ct_STRIP" >&6; }
 
7404
else
 
7405
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7406
$as_echo "no" >&6; }
 
7407
fi
 
7408
 
 
7409
  if test "x$ac_ct_STRIP" = x; then
 
7410
    STRIP=":"
 
7411
  else
 
7412
    case $cross_compiling:$ac_tool_warned in
 
7413
yes:)
 
7414
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7415
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7416
ac_tool_warned=yes ;;
 
7417
esac
 
7418
    STRIP=$ac_ct_STRIP
 
7419
  fi
 
7420
else
 
7421
  STRIP="$ac_cv_prog_STRIP"
 
7422
fi
 
7423
 
 
7424
 
 
7425
old_CC="$CC"
 
7426
old_CFLAGS="$CFLAGS"
 
7427
 
 
7428
# Set sane defaults for various variables
 
7429
test -z "$AR" && AR=ar
 
7430
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
7431
test -z "$AS" && AS=as
 
7432
test -z "$CC" && CC=cc
 
7433
test -z "$LTCC" && LTCC=$CC
 
7434
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
7435
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
7436
test -z "$LD" && LD=ld
 
7437
test -z "$LN_S" && LN_S="ln -s"
 
7438
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
7439
test -z "$NM" && NM=nm
 
7440
test -z "$SED" && SED=sed
 
7441
test -z "$OBJDUMP" && OBJDUMP=objdump
 
7442
test -z "$RANLIB" && RANLIB=:
 
7443
test -z "$STRIP" && STRIP=:
 
7444
test -z "$ac_objext" && ac_objext=o
 
7445
 
 
7446
# Determine commands to create old-style static archives.
 
7447
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
7448
old_postinstall_cmds='chmod 644 $oldlib'
 
7449
old_postuninstall_cmds=
 
7450
 
 
7451
if test -n "$RANLIB"; then
 
7452
  case $host_os in
 
7453
  openbsd*)
 
7454
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
7455
    ;;
 
7456
  *)
 
7457
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
7458
    ;;
 
7459
  esac
 
7460
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
7461
fi
 
7462
 
 
7463
for cc_temp in $compiler""; do
 
7464
  case $cc_temp in
 
7465
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
7466
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
7467
    \-*) ;;
 
7468
    *) break;;
 
7469
  esac
 
7470
done
 
7471
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7472
 
 
7473
 
 
7474
# Only perform the check for file, if the check method requires it
 
7475
case $deplibs_check_method in
 
7476
file_magic*)
 
7477
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
7478
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7479
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
7480
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7481
  $as_echo_n "(cached) " >&6
 
7482
else
 
7483
  case $MAGIC_CMD in
 
7484
[\\/*] |  ?:[\\/]*)
 
7485
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7486
  ;;
 
7487
*)
 
7488
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7489
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7490
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7491
  for ac_dir in $ac_dummy; do
 
7492
    IFS="$lt_save_ifs"
 
7493
    test -z "$ac_dir" && ac_dir=.
 
7494
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
7495
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
7496
      if test -n "$file_magic_test_file"; then
 
7497
        case $deplibs_check_method in
 
7498
        "file_magic "*)
 
7499
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7500
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7501
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7502
            $EGREP "$file_magic_regex" > /dev/null; then
 
7503
            :
 
7504
          else
 
7505
            cat <<EOF 1>&2
 
7506
 
 
7507
*** Warning: the command libtool uses to detect shared libraries,
 
7508
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7509
*** The result is that libtool may fail to recognize shared libraries
 
7510
*** as such.  This will affect the creation of libtool libraries that
 
7511
*** depend on shared libraries, but programs linked with such libtool
 
7512
*** libraries will work regardless of this problem.  Nevertheless, you
 
7513
*** may want to report the problem to your system manager and/or to
 
7514
*** bug-libtool@gnu.org
 
7515
 
 
7516
EOF
 
7517
          fi ;;
 
7518
        esac
 
7519
      fi
 
7520
      break
 
7521
    fi
 
7522
  done
 
7523
  IFS="$lt_save_ifs"
 
7524
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7525
  ;;
 
7526
esac
 
7527
fi
 
7528
 
 
7529
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7530
if test -n "$MAGIC_CMD"; then
 
7531
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7532
$as_echo "$MAGIC_CMD" >&6; }
 
7533
else
 
7534
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7535
$as_echo "no" >&6; }
 
7536
fi
 
7537
 
 
7538
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
7539
  if test -n "$ac_tool_prefix"; then
 
7540
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
7541
$as_echo_n "checking for file... " >&6; }
 
7542
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7543
  $as_echo_n "(cached) " >&6
 
7544
else
 
7545
  case $MAGIC_CMD in
 
7546
[\\/*] |  ?:[\\/]*)
 
7547
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7548
  ;;
 
7549
*)
 
7550
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7551
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7552
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7553
  for ac_dir in $ac_dummy; do
 
7554
    IFS="$lt_save_ifs"
 
7555
    test -z "$ac_dir" && ac_dir=.
 
7556
    if test -f $ac_dir/file; then
 
7557
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
7558
      if test -n "$file_magic_test_file"; then
 
7559
        case $deplibs_check_method in
 
7560
        "file_magic "*)
 
7561
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7562
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7563
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7564
            $EGREP "$file_magic_regex" > /dev/null; then
 
7565
            :
 
7566
          else
 
7567
            cat <<EOF 1>&2
 
7568
 
 
7569
*** Warning: the command libtool uses to detect shared libraries,
 
7570
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7571
*** The result is that libtool may fail to recognize shared libraries
 
7572
*** as such.  This will affect the creation of libtool libraries that
 
7573
*** depend on shared libraries, but programs linked with such libtool
 
7574
*** libraries will work regardless of this problem.  Nevertheless, you
 
7575
*** may want to report the problem to your system manager and/or to
 
7576
*** bug-libtool@gnu.org
 
7577
 
 
7578
EOF
 
7579
          fi ;;
 
7580
        esac
 
7581
      fi
 
7582
      break
 
7583
    fi
 
7584
  done
 
7585
  IFS="$lt_save_ifs"
 
7586
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7587
  ;;
 
7588
esac
 
7589
fi
 
7590
 
 
7591
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7592
if test -n "$MAGIC_CMD"; then
 
7593
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7594
$as_echo "$MAGIC_CMD" >&6; }
 
7595
else
 
7596
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7597
$as_echo "no" >&6; }
 
7598
fi
 
7599
 
 
7600
  else
 
7601
    MAGIC_CMD=:
 
7602
  fi
 
7603
fi
 
7604
 
 
7605
  fi
 
7606
  ;;
 
7607
esac
 
7608
 
 
7609
 
 
7610
  case $host_os in
 
7611
    rhapsody* | darwin*)
 
7612
    if test -n "$ac_tool_prefix"; then
 
7613
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
7614
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
7615
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7616
$as_echo_n "checking for $ac_word... " >&6; }
 
7617
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
7618
  $as_echo_n "(cached) " >&6
 
7619
else
 
7620
  if test -n "$DSYMUTIL"; then
 
7621
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
7622
else
 
7623
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7624
for as_dir in $PATH
 
7625
do
 
7626
  IFS=$as_save_IFS
 
7627
  test -z "$as_dir" && as_dir=.
 
7628
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7629
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7630
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
7631
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7632
    break 2
 
7633
  fi
 
7634
done
 
7635
done
 
7636
IFS=$as_save_IFS
 
7637
 
 
7638
fi
 
7639
fi
 
7640
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
7641
if test -n "$DSYMUTIL"; then
 
7642
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
7643
$as_echo "$DSYMUTIL" >&6; }
 
7644
else
 
7645
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7646
$as_echo "no" >&6; }
 
7647
fi
 
7648
 
 
7649
 
 
7650
fi
 
7651
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
7652
  ac_ct_DSYMUTIL=$DSYMUTIL
 
7653
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
7654
set dummy dsymutil; ac_word=$2
 
7655
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7656
$as_echo_n "checking for $ac_word... " >&6; }
 
7657
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
7658
  $as_echo_n "(cached) " >&6
 
7659
else
 
7660
  if test -n "$ac_ct_DSYMUTIL"; then
 
7661
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
7662
else
 
7663
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7664
for as_dir in $PATH
 
7665
do
 
7666
  IFS=$as_save_IFS
 
7667
  test -z "$as_dir" && as_dir=.
 
7668
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7669
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7670
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
7671
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7672
    break 2
 
7673
  fi
 
7674
done
 
7675
done
 
7676
IFS=$as_save_IFS
 
7677
 
 
7678
fi
 
7679
fi
 
7680
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
7681
if test -n "$ac_ct_DSYMUTIL"; then
 
7682
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
7683
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
7684
else
 
7685
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7686
$as_echo "no" >&6; }
 
7687
fi
 
7688
 
 
7689
  if test "x$ac_ct_DSYMUTIL" = x; then
 
7690
    DSYMUTIL=":"
 
7691
  else
 
7692
    case $cross_compiling:$ac_tool_warned in
 
7693
yes:)
 
7694
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7695
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7696
ac_tool_warned=yes ;;
 
7697
esac
 
7698
    DSYMUTIL=$ac_ct_DSYMUTIL
 
7699
  fi
 
7700
else
 
7701
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
7702
fi
 
7703
 
 
7704
    if test -n "$ac_tool_prefix"; then
 
7705
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
7706
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
7707
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7708
$as_echo_n "checking for $ac_word... " >&6; }
 
7709
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
7710
  $as_echo_n "(cached) " >&6
 
7711
else
 
7712
  if test -n "$NMEDIT"; then
 
7713
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
7714
else
 
7715
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7716
for as_dir in $PATH
 
7717
do
 
7718
  IFS=$as_save_IFS
 
7719
  test -z "$as_dir" && as_dir=.
 
7720
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7721
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7722
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
7723
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7724
    break 2
 
7725
  fi
 
7726
done
 
7727
done
 
7728
IFS=$as_save_IFS
 
7729
 
 
7730
fi
 
7731
fi
 
7732
NMEDIT=$ac_cv_prog_NMEDIT
 
7733
if test -n "$NMEDIT"; then
 
7734
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
7735
$as_echo "$NMEDIT" >&6; }
 
7736
else
 
7737
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7738
$as_echo "no" >&6; }
 
7739
fi
 
7740
 
 
7741
 
 
7742
fi
 
7743
if test -z "$ac_cv_prog_NMEDIT"; then
 
7744
  ac_ct_NMEDIT=$NMEDIT
 
7745
  # Extract the first word of "nmedit", so it can be a program name with args.
 
7746
set dummy nmedit; ac_word=$2
 
7747
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7748
$as_echo_n "checking for $ac_word... " >&6; }
 
7749
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
7750
  $as_echo_n "(cached) " >&6
 
7751
else
 
7752
  if test -n "$ac_ct_NMEDIT"; then
 
7753
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
7754
else
 
7755
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7756
for as_dir in $PATH
 
7757
do
 
7758
  IFS=$as_save_IFS
 
7759
  test -z "$as_dir" && as_dir=.
 
7760
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7761
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7762
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
7763
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7764
    break 2
 
7765
  fi
 
7766
done
 
7767
done
 
7768
IFS=$as_save_IFS
 
7769
 
 
7770
fi
 
7771
fi
 
7772
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
7773
if test -n "$ac_ct_NMEDIT"; then
 
7774
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
7775
$as_echo "$ac_ct_NMEDIT" >&6; }
 
7776
else
 
7777
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7778
$as_echo "no" >&6; }
 
7779
fi
 
7780
 
 
7781
  if test "x$ac_ct_NMEDIT" = x; then
 
7782
    NMEDIT=":"
 
7783
  else
 
7784
    case $cross_compiling:$ac_tool_warned in
 
7785
yes:)
 
7786
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7787
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7788
ac_tool_warned=yes ;;
 
7789
esac
 
7790
    NMEDIT=$ac_ct_NMEDIT
 
7791
  fi
 
7792
else
 
7793
  NMEDIT="$ac_cv_prog_NMEDIT"
 
7794
fi
 
7795
 
 
7796
 
 
7797
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7798
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
7799
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
7800
  $as_echo_n "(cached) " >&6
 
7801
else
 
7802
  lt_cv_apple_cc_single_mod=no
 
7803
      if test -z "${LT_MULTI_MODULE}"; then
 
7804
   # By default we will add the -single_module flag. You can override
 
7805
   # by either setting the environment variable LT_MULTI_MODULE
 
7806
   # non-empty at configure time, or by adding -multi_module to the
 
7807
   # link flags.
 
7808
   echo "int foo(void){return 1;}" > conftest.c
 
7809
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7810
     -dynamiclib ${wl}-single_module conftest.c
 
7811
   if test -f libconftest.dylib; then
 
7812
     lt_cv_apple_cc_single_mod=yes
 
7813
     rm -rf libconftest.dylib*
 
7814
   fi
 
7815
   rm conftest.c
 
7816
      fi
 
7817
fi
 
7818
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7819
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7820
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7821
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
7822
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
7823
  $as_echo_n "(cached) " >&6
 
7824
else
 
7825
  lt_cv_ld_exported_symbols_list=no
 
7826
      save_LDFLAGS=$LDFLAGS
 
7827
      echo "_main" > conftest.sym
 
7828
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
7829
      cat >conftest.$ac_ext <<_ACEOF
 
7830
/* confdefs.h.  */
 
7831
_ACEOF
 
7832
cat confdefs.h >>conftest.$ac_ext
 
7833
cat >>conftest.$ac_ext <<_ACEOF
 
7834
/* end confdefs.h.  */
 
7835
 
 
7836
int
 
7837
main ()
 
7838
{
 
7839
 
 
7840
  ;
 
7841
  return 0;
 
7842
}
 
7843
_ACEOF
 
7844
rm -f conftest.$ac_objext conftest$ac_exeext
 
7845
if { (ac_try="$ac_link"
 
7846
case "(($ac_try" in
 
7847
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7848
  *) ac_try_echo=$ac_try;;
 
7849
esac
 
7850
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7851
$as_echo "$ac_try_echo") >&5
 
7852
  (eval "$ac_link") 2>conftest.er1
 
7853
  ac_status=$?
 
7854
  grep -v '^ *+' conftest.er1 >conftest.err
 
7855
  rm -f conftest.er1
 
7856
  cat conftest.err >&5
 
7857
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7858
  (exit $ac_status); } && {
 
7859
         test -z "$ac_c_werror_flag" ||
 
7860
         test ! -s conftest.err
 
7861
       } && test -s conftest$ac_exeext && {
 
7862
         test "$cross_compiling" = yes ||
 
7863
         $as_test_x conftest$ac_exeext
 
7864
       }; then
 
7865
  lt_cv_ld_exported_symbols_list=yes
 
7866
else
 
7867
  $as_echo "$as_me: failed program was:" >&5
 
7868
sed 's/^/| /' conftest.$ac_ext >&5
 
7869
 
 
7870
        lt_cv_ld_exported_symbols_list=no
 
7871
fi
 
7872
 
 
7873
rm -rf conftest.dSYM
 
7874
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7875
      conftest$ac_exeext conftest.$ac_ext
 
7876
   LDFLAGS="$save_LDFLAGS"
 
7877
 
 
7878
fi
 
7879
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7880
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7881
    case $host_os in
 
7882
    rhapsody* | darwin1.[0123])
 
7883
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
7884
    darwin1.*)
 
7885
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7886
    darwin*)
 
7887
      # if running on 10.5 or later, the deployment target defaults
 
7888
      # to the OS version, if on x86, and 10.4, the deployment
 
7889
      # target defaults to 10.4. Don't you love it?
 
7890
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
7891
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7892
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7893
   10.[012]*)
 
7894
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7895
   10.*)
 
7896
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7897
      esac
 
7898
    ;;
 
7899
  esac
 
7900
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
7901
      _lt_dar_single_mod='$single_module'
 
7902
    fi
 
7903
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
7904
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
7905
    else
 
7906
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
7907
    fi
 
7908
    if test "$DSYMUTIL" != ":"; then
 
7909
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
7910
    else
 
7911
      _lt_dsymutil=
 
7912
    fi
 
7913
    ;;
 
7914
  esac
 
7915
 
 
7916
 
 
7917
enable_dlopen=no
 
7918
enable_win32_dll=no
 
7919
 
 
7920
# Check whether --enable-libtool-lock was given.
 
7921
if test "${enable_libtool_lock+set}" = set; then
 
7922
  enableval=$enable_libtool_lock;
 
7923
fi
 
7924
 
 
7925
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
7926
 
 
7927
 
 
7928
# Check whether --with-pic was given.
 
7929
if test "${with_pic+set}" = set; then
 
7930
  withval=$with_pic; pic_mode="$withval"
 
7931
else
 
7932
  pic_mode=default
 
7933
fi
 
7934
 
 
7935
test -z "$pic_mode" && pic_mode=default
 
7936
 
 
7937
# Use C for the default configuration in the libtool script
 
7938
tagname=
 
7939
lt_save_CC="$CC"
 
7940
ac_ext=c
 
7941
ac_cpp='$CPP $CPPFLAGS'
 
7942
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7943
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7944
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7945
 
 
7946
 
 
7947
# Source file extension for C test sources.
 
7948
ac_ext=c
 
7949
 
 
7950
# Object file extension for compiled C test sources.
 
7951
objext=o
 
7952
objext=$objext
 
7953
 
 
7954
# Code to be used in simple compile tests
 
7955
lt_simple_compile_test_code="int some_variable = 0;"
 
7956
 
 
7957
# Code to be used in simple link tests
 
7958
lt_simple_link_test_code='int main(){return(0);}'
 
7959
 
 
7960
 
 
7961
# If no C compiler was specified, use CC.
 
7962
LTCC=${LTCC-"$CC"}
 
7963
 
 
7964
# If no C compiler flags were specified, use CFLAGS.
 
7965
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
7966
 
 
7967
# Allow CC to be a program name with arguments.
 
7968
compiler=$CC
 
7969
 
 
7970
 
 
7971
# save warnings/boilerplate of simple test code
 
7972
ac_outfile=conftest.$ac_objext
 
7973
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7974
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7975
_lt_compiler_boilerplate=`cat conftest.err`
 
7976
$rm conftest*
 
7977
 
 
7978
ac_outfile=conftest.$ac_objext
 
7979
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
7980
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7981
_lt_linker_boilerplate=`cat conftest.err`
 
7982
$rm -r conftest*
 
7983
 
 
7984
 
 
7985
 
 
7986
lt_prog_compiler_no_builtin_flag=
 
7987
 
 
7988
if test "$GCC" = yes; then
 
7989
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
7990
 
 
7991
 
 
7992
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7993
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
7994
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
7995
  $as_echo_n "(cached) " >&6
 
7996
else
 
7997
  lt_cv_prog_compiler_rtti_exceptions=no
 
7998
  ac_outfile=conftest.$ac_objext
 
7999
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8000
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
8001
   # Insert the option either (1) after the last *FLAGS variable, or
 
8002
   # (2) before a word containing "conftest.", or (3) at the end.
 
8003
   # Note that $ac_compile itself does not contain backslashes and begins
 
8004
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8005
   # The option is referenced via a variable to avoid confusing sed.
 
8006
   lt_compile=`echo "$ac_compile" | $SED \
 
8007
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8008
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8009
   -e 's:$: $lt_compiler_flag:'`
 
8010
   (eval echo "\"\$as_me:8010: $lt_compile\"" >&5)
 
8011
   (eval "$lt_compile" 2>conftest.err)
 
8012
   ac_status=$?
 
8013
   cat conftest.err >&5
 
8014
   echo "$as_me:8014: \$? = $ac_status" >&5
 
8015
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
8016
     # The compiler can only warn and ignore the option if not recognized
 
8017
     # So say no if there are warnings other than the usual output.
 
8018
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8019
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8020
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
8021
       lt_cv_prog_compiler_rtti_exceptions=yes
 
8022
     fi
 
8023
   fi
 
8024
   $rm conftest*
 
8025
 
 
8026
fi
 
8027
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8028
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
8029
 
 
8030
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
8031
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
8032
else
 
8033
    :
 
8034
fi
 
8035
 
 
8036
fi
 
8037
 
 
8038
lt_prog_compiler_wl=
 
8039
lt_prog_compiler_pic=
 
8040
lt_prog_compiler_static=
 
8041
 
 
8042
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
8043
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8044
 
 
8045
  if test "$GCC" = yes; then
 
8046
    lt_prog_compiler_wl='-Wl,'
 
8047
    lt_prog_compiler_static='-static'
 
8048
 
 
8049
    case $host_os in
 
8050
      aix*)
 
8051
      # All AIX code is PIC.
 
8052
      if test "$host_cpu" = ia64; then
 
8053
        # AIX 5 now supports IA64 processor
 
8054
        lt_prog_compiler_static='-Bstatic'
 
8055
      fi
 
8056
      ;;
 
8057
 
 
8058
    amigaos*)
 
8059
      # FIXME: we need at least 68020 code to build shared libraries, but
 
8060
      # adding the `-m68020' flag to GCC prevents building anything better,
 
8061
      # like `-m68040'.
 
8062
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8063
      ;;
 
8064
 
 
8065
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
8066
      # PIC is the default for these OSes.
 
8067
      ;;
 
8068
 
 
8069
    mingw* | cygwin* | pw32* | os2*)
 
8070
      # This hack is so that the source file can tell whether it is being
 
8071
      # built for inclusion in a dll (and should export symbols for example).
 
8072
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
8073
      # (--disable-auto-import) libraries
 
8074
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
8075
      ;;
 
8076
 
 
8077
    darwin* | rhapsody*)
 
8078
      # PIC is the default on this platform
 
8079
      # Common symbols not allowed in MH_DYLIB files
 
8080
      lt_prog_compiler_pic='-fno-common'
 
8081
      ;;
 
8082
 
 
8083
    interix[3-9]*)
 
8084
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
8085
      # Instead, we relocate shared libraries at runtime.
 
8086
      ;;
 
8087
 
 
8088
    msdosdjgpp*)
 
8089
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
8090
      # on systems that don't support them.
 
8091
      lt_prog_compiler_can_build_shared=no
 
8092
      enable_shared=no
 
8093
      ;;
 
8094
 
 
8095
    sysv4*MP*)
 
8096
      if test -d /usr/nec; then
 
8097
        lt_prog_compiler_pic=-Kconform_pic
 
8098
      fi
 
8099
      ;;
 
8100
 
 
8101
    hpux*)
 
8102
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
8103
      # not for PA HP-UX.
 
8104
      case $host_cpu in
 
8105
      hppa*64*|ia64*)
 
8106
        # +Z the default
 
8107
        ;;
 
8108
      *)
 
8109
        lt_prog_compiler_pic='-fPIC'
 
8110
        ;;
 
8111
      esac
 
8112
      ;;
 
8113
 
 
8114
    *)
 
8115
      lt_prog_compiler_pic='-fPIC'
 
8116
      ;;
 
8117
    esac
 
8118
  else
 
8119
    # PORTME Check for flag to pass linker flags through the system compiler.
 
8120
    case $host_os in
 
8121
    aix*)
 
8122
      lt_prog_compiler_wl='-Wl,'
 
8123
      if test "$host_cpu" = ia64; then
 
8124
        # AIX 5 now supports IA64 processor
 
8125
        lt_prog_compiler_static='-Bstatic'
 
8126
      else
 
8127
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
8128
      fi
 
8129
      ;;
 
8130
      darwin*)
 
8131
        # PIC is the default on this platform
 
8132
        # Common symbols not allowed in MH_DYLIB files
 
8133
       case $cc_basename in
 
8134
         xlc*)
 
8135
         lt_prog_compiler_pic='-qnocommon'
 
8136
         lt_prog_compiler_wl='-Wl,'
 
8137
         ;;
 
8138
       esac
 
8139
       ;;
 
8140
 
 
8141
    mingw* | cygwin* | pw32* | os2*)
 
8142
      # This hack is so that the source file can tell whether it is being
 
8143
      # built for inclusion in a dll (and should export symbols for example).
 
8144
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
8145
      ;;
 
8146
 
 
8147
    hpux9* | hpux10* | hpux11*)
 
8148
      lt_prog_compiler_wl='-Wl,'
 
8149
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
8150
      # not for PA HP-UX.
 
8151
      case $host_cpu in
 
8152
      hppa*64*|ia64*)
 
8153
        # +Z the default
 
8154
        ;;
 
8155
      *)
 
8156
        lt_prog_compiler_pic='+Z'
 
8157
        ;;
 
8158
      esac
 
8159
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
8160
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
8161
      ;;
 
8162
 
 
8163
    irix5* | irix6* | nonstopux*)
 
8164
      lt_prog_compiler_wl='-Wl,'
 
8165
      # PIC (with -KPIC) is the default.
 
8166
      lt_prog_compiler_static='-non_shared'
 
8167
      ;;
 
8168
 
 
8169
    newsos6)
 
8170
      lt_prog_compiler_pic='-KPIC'
 
8171
      lt_prog_compiler_static='-Bstatic'
 
8172
      ;;
 
8173
 
 
8174
    linux* | k*bsd*-gnu)
 
8175
      case $cc_basename in
 
8176
      icc* | ecc*)
 
8177
        lt_prog_compiler_wl='-Wl,'
 
8178
        lt_prog_compiler_pic='-KPIC'
 
8179
        lt_prog_compiler_static='-static'
 
8180
        ;;
 
8181
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8182
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
8183
        # which looks to be a dead project)
 
8184
        lt_prog_compiler_wl='-Wl,'
 
8185
        lt_prog_compiler_pic='-fpic'
 
8186
        lt_prog_compiler_static='-Bstatic'
 
8187
        ;;
 
8188
      ccc*)
 
8189
        lt_prog_compiler_wl='-Wl,'
 
8190
        # All Alpha code is PIC.
 
8191
        lt_prog_compiler_static='-non_shared'
 
8192
        ;;
 
8193
      *)
 
8194
        case `$CC -V 2>&1 | sed 5q` in
 
8195
        *Sun\ C*)
 
8196
          # Sun C 5.9
 
8197
          lt_prog_compiler_pic='-KPIC'
 
8198
          lt_prog_compiler_static='-Bstatic'
 
8199
          lt_prog_compiler_wl='-Wl,'
 
8200
          ;;
 
8201
        *Sun\ F*)
 
8202
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8203
          lt_prog_compiler_pic='-KPIC'
 
8204
          lt_prog_compiler_static='-Bstatic'
 
8205
          lt_prog_compiler_wl=''
 
8206
          ;;
 
8207
        esac
 
8208
        ;;
 
8209
      esac
 
8210
      ;;
 
8211
 
 
8212
    osf3* | osf4* | osf5*)
 
8213
      lt_prog_compiler_wl='-Wl,'
 
8214
      # All OSF/1 code is PIC.
 
8215
      lt_prog_compiler_static='-non_shared'
 
8216
      ;;
 
8217
 
 
8218
    rdos*)
 
8219
      lt_prog_compiler_static='-non_shared'
 
8220
      ;;
 
8221
 
 
8222
    solaris*)
 
8223
      lt_prog_compiler_pic='-KPIC'
 
8224
      lt_prog_compiler_static='-Bstatic'
 
8225
      case $cc_basename in
 
8226
      f77* | f90* | f95*)
 
8227
        lt_prog_compiler_wl='-Qoption ld ';;
 
8228
      *)
 
8229
        lt_prog_compiler_wl='-Wl,';;
 
8230
      esac
 
8231
      ;;
 
8232
 
 
8233
    sunos4*)
 
8234
      lt_prog_compiler_wl='-Qoption ld '
 
8235
      lt_prog_compiler_pic='-PIC'
 
8236
      lt_prog_compiler_static='-Bstatic'
 
8237
      ;;
 
8238
 
 
8239
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
8240
      lt_prog_compiler_wl='-Wl,'
 
8241
      lt_prog_compiler_pic='-KPIC'
 
8242
      lt_prog_compiler_static='-Bstatic'
 
8243
      ;;
 
8244
 
 
8245
    sysv4*MP*)
 
8246
      if test -d /usr/nec ;then
 
8247
        lt_prog_compiler_pic='-Kconform_pic'
 
8248
        lt_prog_compiler_static='-Bstatic'
 
8249
      fi
 
8250
      ;;
 
8251
 
 
8252
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
8253
      lt_prog_compiler_wl='-Wl,'
 
8254
      lt_prog_compiler_pic='-KPIC'
 
8255
      lt_prog_compiler_static='-Bstatic'
 
8256
      ;;
 
8257
 
 
8258
    unicos*)
 
8259
      lt_prog_compiler_wl='-Wl,'
 
8260
      lt_prog_compiler_can_build_shared=no
 
8261
      ;;
 
8262
 
 
8263
    uts4*)
 
8264
      lt_prog_compiler_pic='-pic'
 
8265
      lt_prog_compiler_static='-Bstatic'
 
8266
      ;;
 
8267
 
 
8268
    *)
 
8269
      lt_prog_compiler_can_build_shared=no
 
8270
      ;;
 
8271
    esac
 
8272
  fi
 
8273
 
 
8274
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
8275
$as_echo "$lt_prog_compiler_pic" >&6; }
 
8276
 
 
8277
#
 
8278
# Check to make sure the PIC flag actually works.
 
8279
#
 
8280
if test -n "$lt_prog_compiler_pic"; then
 
8281
 
 
8282
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8283
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
8284
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
8285
  $as_echo_n "(cached) " >&6
 
8286
else
 
8287
  lt_cv_prog_compiler_pic_works=no
 
8288
  ac_outfile=conftest.$ac_objext
 
8289
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8290
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
8291
   # Insert the option either (1) after the last *FLAGS variable, or
 
8292
   # (2) before a word containing "conftest.", or (3) at the end.
 
8293
   # Note that $ac_compile itself does not contain backslashes and begins
 
8294
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8295
   # The option is referenced via a variable to avoid confusing sed.
 
8296
   lt_compile=`echo "$ac_compile" | $SED \
 
8297
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8298
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8299
   -e 's:$: $lt_compiler_flag:'`
 
8300
   (eval echo "\"\$as_me:8300: $lt_compile\"" >&5)
 
8301
   (eval "$lt_compile" 2>conftest.err)
 
8302
   ac_status=$?
 
8303
   cat conftest.err >&5
 
8304
   echo "$as_me:8304: \$? = $ac_status" >&5
 
8305
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
8306
     # The compiler can only warn and ignore the option if not recognized
 
8307
     # So say no if there are warnings other than the usual output.
 
8308
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8309
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8310
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
8311
       lt_cv_prog_compiler_pic_works=yes
 
8312
     fi
 
8313
   fi
 
8314
   $rm conftest*
 
8315
 
 
8316
fi
 
8317
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
8318
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
8319
 
 
8320
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
8321
    case $lt_prog_compiler_pic in
 
8322
     "" | " "*) ;;
 
8323
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
8324
     esac
 
8325
else
 
8326
    lt_prog_compiler_pic=
 
8327
     lt_prog_compiler_can_build_shared=no
 
8328
fi
 
8329
 
 
8330
fi
 
8331
case $host_os in
 
8332
  # For platforms which do not support PIC, -DPIC is meaningless:
 
8333
  *djgpp*)
 
8334
    lt_prog_compiler_pic=
 
8335
    ;;
 
8336
  *)
 
8337
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
8338
    ;;
 
8339
esac
 
8340
 
 
8341
#
 
8342
# Check to make sure the static flag actually works.
 
8343
#
 
8344
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
8345
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8346
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
8347
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
8348
  $as_echo_n "(cached) " >&6
 
8349
else
 
8350
  lt_cv_prog_compiler_static_works=no
 
8351
   save_LDFLAGS="$LDFLAGS"
 
8352
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
8353
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
8354
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
8355
     # The linker can only warn and ignore the option if not recognized
 
8356
     # So say no if there are warnings
 
8357
     if test -s conftest.err; then
 
8358
       # Append any errors to the config.log.
 
8359
       cat conftest.err 1>&5
 
8360
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8361
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8362
       if diff conftest.exp conftest.er2 >/dev/null; then
 
8363
         lt_cv_prog_compiler_static_works=yes
 
8364
       fi
 
8365
     else
 
8366
       lt_cv_prog_compiler_static_works=yes
 
8367
     fi
 
8368
   fi
 
8369
   $rm -r conftest*
 
8370
   LDFLAGS="$save_LDFLAGS"
 
8371
 
 
8372
fi
 
8373
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
8374
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
8375
 
 
8376
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
8377
    :
 
8378
else
 
8379
    lt_prog_compiler_static=
 
8380
fi
 
8381
 
 
8382
 
 
8383
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8384
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8385
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8386
  $as_echo_n "(cached) " >&6
 
8387
else
 
8388
  lt_cv_prog_compiler_c_o=no
 
8389
   $rm -r conftest 2>/dev/null
 
8390
   mkdir conftest
 
8391
   cd conftest
 
8392
   mkdir out
 
8393
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8394
 
 
8395
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8396
   # Insert the option either (1) after the last *FLAGS variable, or
 
8397
   # (2) before a word containing "conftest.", or (3) at the end.
 
8398
   # Note that $ac_compile itself does not contain backslashes and begins
 
8399
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8400
   lt_compile=`echo "$ac_compile" | $SED \
 
8401
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8402
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8403
   -e 's:$: $lt_compiler_flag:'`
 
8404
   (eval echo "\"\$as_me:8404: $lt_compile\"" >&5)
 
8405
   (eval "$lt_compile" 2>out/conftest.err)
 
8406
   ac_status=$?
 
8407
   cat out/conftest.err >&5
 
8408
   echo "$as_me:8408: \$? = $ac_status" >&5
 
8409
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8410
   then
 
8411
     # The compiler can only warn and ignore the option if not recognized
 
8412
     # So say no if there are warnings
 
8413
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8414
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8415
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8416
       lt_cv_prog_compiler_c_o=yes
 
8417
     fi
 
8418
   fi
 
8419
   chmod u+w . 2>&5
 
8420
   $rm conftest*
 
8421
   # SGI C++ compiler will create directory out/ii_files/ for
 
8422
   # template instantiation
 
8423
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 
8424
   $rm out/* && rmdir out
 
8425
   cd ..
 
8426
   rmdir conftest
 
8427
   $rm conftest*
 
8428
 
 
8429
fi
 
8430
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8431
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8432
 
 
8433
 
 
8434
hard_links="nottested"
 
8435
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
8436
  # do not overwrite the value of need_locks provided by the user
 
8437
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8438
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
8439
  hard_links=yes
 
8440
  $rm conftest*
 
8441
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
8442
  touch conftest.a
 
8443
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
8444
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
8445
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
8446
$as_echo "$hard_links" >&6; }
 
8447
  if test "$hard_links" = no; then
 
8448
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8449
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
8450
    need_locks=warn
 
8451
  fi
 
8452
else
 
8453
  need_locks=no
 
8454
fi
 
8455
 
 
8456
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8457
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
8458
 
 
8459
  runpath_var=
 
8460
  allow_undefined_flag=
 
8461
  enable_shared_with_static_runtimes=no
 
8462
  archive_cmds=
 
8463
  archive_expsym_cmds=
 
8464
  old_archive_From_new_cmds=
 
8465
  old_archive_from_expsyms_cmds=
 
8466
  export_dynamic_flag_spec=
 
8467
  whole_archive_flag_spec=
 
8468
  thread_safe_flag_spec=
 
8469
  hardcode_libdir_flag_spec=
 
8470
  hardcode_libdir_flag_spec_ld=
 
8471
  hardcode_libdir_separator=
 
8472
  hardcode_direct=no
 
8473
  hardcode_minus_L=no
 
8474
  hardcode_shlibpath_var=unsupported
 
8475
  link_all_deplibs=unknown
 
8476
  hardcode_automatic=no
 
8477
  module_cmds=
 
8478
  module_expsym_cmds=
 
8479
  always_export_symbols=no
 
8480
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
8481
  # include_expsyms should be a list of space-separated symbols to be *always*
 
8482
  # included in the symbol list
 
8483
  include_expsyms=
 
8484
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
8485
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
8486
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
8487
  # as well as any symbol that contains `d'.
 
8488
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
8489
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
8490
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
8491
  # the symbol is explicitly referenced.  Since portable code cannot
 
8492
  # rely on this symbol name, it's probably fine to never include it in
 
8493
  # preloaded symbol tables.
 
8494
  # Exclude shared library initialization/finalization symbols.
 
8495
  extract_expsyms_cmds=
 
8496
  # Just being paranoid about ensuring that cc_basename is set.
 
8497
  for cc_temp in $compiler""; do
 
8498
  case $cc_temp in
 
8499
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
8500
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
8501
    \-*) ;;
 
8502
    *) break;;
 
8503
  esac
 
8504
done
 
8505
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8506
 
 
8507
  case $host_os in
 
8508
  cygwin* | mingw* | pw32*)
 
8509
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
8510
    # When not using gcc, we currently assume that we are using
 
8511
    # Microsoft Visual C++.
 
8512
    if test "$GCC" != yes; then
 
8513
      with_gnu_ld=no
 
8514
    fi
 
8515
    ;;
 
8516
  interix*)
 
8517
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
8518
    with_gnu_ld=yes
 
8519
    ;;
 
8520
  openbsd*)
 
8521
    with_gnu_ld=no
 
8522
    ;;
 
8523
  esac
 
8524
 
 
8525
  ld_shlibs=yes
 
8526
  if test "$with_gnu_ld" = yes; then
 
8527
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
8528
    wlarc='${wl}'
 
8529
 
 
8530
    # Set some defaults for GNU ld with shared library support. These
 
8531
    # are reset later if shared libraries are not supported. Putting them
 
8532
    # here allows them to be overridden if necessary.
 
8533
    runpath_var=LD_RUN_PATH
 
8534
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
8535
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
8536
    # ancient GNU ld didn't support --whole-archive et. al.
 
8537
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
8538
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
8539
      else
 
8540
        whole_archive_flag_spec=
 
8541
    fi
 
8542
    supports_anon_versioning=no
 
8543
    case `$LD -v 2>/dev/null` in
 
8544
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
8545
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
8546
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
8547
      *\ 2.11.*) ;; # other 2.11 versions
 
8548
      *) supports_anon_versioning=yes ;;
 
8549
    esac
 
8550
 
 
8551
    # See if GNU ld supports shared libraries.
 
8552
    case $host_os in
 
8553
    aix[3-9]*)
 
8554
      # On AIX/PPC, the GNU linker is very broken
 
8555
      if test "$host_cpu" != ia64; then
 
8556
        ld_shlibs=no
 
8557
        cat <<EOF 1>&2
 
8558
 
 
8559
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
8560
*** to be unable to reliably create shared libraries on AIX.
 
8561
*** Therefore, libtool is disabling shared libraries support.  If you
 
8562
*** really care for shared libraries, you may want to modify your PATH
 
8563
*** so that a non-GNU linker is found, and then restart.
 
8564
 
 
8565
EOF
 
8566
      fi
 
8567
      ;;
 
8568
 
 
8569
    amigaos*)
 
8570
      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)'
 
8571
      hardcode_libdir_flag_spec='-L$libdir'
 
8572
      hardcode_minus_L=yes
 
8573
 
 
8574
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 
8575
      # that the semantics of dynamic libraries on AmigaOS, at least up
 
8576
      # to version 4, is to share data among multiple programs linked
 
8577
      # with the same dynamic library.  Since this doesn't match the
 
8578
      # behavior of shared libraries on other platforms, we can't use
 
8579
      # them.
 
8580
      ld_shlibs=no
 
8581
      ;;
 
8582
 
 
8583
    beos*)
 
8584
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8585
        allow_undefined_flag=unsupported
 
8586
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
8587
        # support --undefined.  This deserves some investigation.  FIXME
 
8588
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8589
      else
 
8590
        ld_shlibs=no
 
8591
      fi
 
8592
      ;;
 
8593
 
 
8594
    cygwin* | mingw* | pw32*)
 
8595
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
8596
      # as there is no search path for DLLs.
 
8597
      hardcode_libdir_flag_spec='-L$libdir'
 
8598
      allow_undefined_flag=unsupported
 
8599
      always_export_symbols=no
 
8600
      enable_shared_with_static_runtimes=yes
 
8601
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
8602
 
 
8603
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
8604
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
8605
        # If the export-symbols file already is a .def file (1st line
 
8606
        # is EXPORTS), use it as is; otherwise, prepend...
 
8607
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
8608
          cp $export_symbols $output_objdir/$soname.def;
 
8609
        else
 
8610
          echo EXPORTS > $output_objdir/$soname.def;
 
8611
          cat $export_symbols >> $output_objdir/$soname.def;
 
8612
        fi~
 
8613
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
8614
      else
 
8615
        ld_shlibs=no
 
8616
      fi
 
8617
      ;;
 
8618
 
 
8619
    interix[3-9]*)
 
8620
      hardcode_direct=no
 
8621
      hardcode_shlibpath_var=no
 
8622
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8623
      export_dynamic_flag_spec='${wl}-E'
 
8624
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
8625
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
8626
      # default) and relocated if they conflict, which is a slow very memory
 
8627
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
8628
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
8629
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
8630
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
8631
      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'
 
8632
      ;;
 
8633
 
 
8634
    gnu* | linux* | k*bsd*-gnu)
 
8635
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8636
        tmp_addflag=
 
8637
        case $cc_basename,$host_cpu in
 
8638
        pgcc*)                          # Portland Group C compiler
 
8639
          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'
 
8640
          tmp_addflag=' $pic_flag'
 
8641
          ;;
 
8642
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
8643
          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'
 
8644
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
8645
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
8646
          tmp_addflag=' -i_dynamic' ;;
 
8647
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
8648
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
8649
        ifc* | ifort*)                  # Intel Fortran compiler
 
8650
          tmp_addflag=' -nofor_main' ;;
 
8651
        esac
 
8652
        case `$CC -V 2>&1 | sed 5q` in
 
8653
        *Sun\ C*)                       # Sun C 5.9
 
8654
          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'
 
8655
          tmp_sharedflag='-G' ;;
 
8656
        *Sun\ F*)                       # Sun Fortran 8.3
 
8657
          tmp_sharedflag='-G' ;;
 
8658
        *)
 
8659
          tmp_sharedflag='-shared' ;;
 
8660
        esac
 
8661
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8662
 
 
8663
        if test $supports_anon_versioning = yes; then
 
8664
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
 
8665
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8666
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
8667
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8668
        fi
 
8669
      else
 
8670
        ld_shlibs=no
 
8671
      fi
 
8672
      ;;
 
8673
 
 
8674
    netbsd*)
 
8675
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
8676
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
8677
        wlarc=
 
8678
      else
 
8679
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8680
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8681
      fi
 
8682
      ;;
 
8683
 
 
8684
    solaris*)
 
8685
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
8686
        ld_shlibs=no
 
8687
        cat <<EOF 1>&2
 
8688
 
 
8689
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
8690
*** create shared libraries on Solaris systems.  Therefore, libtool
 
8691
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8692
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
8693
*** your PATH or compiler configuration so that the native linker is
 
8694
*** used, and then restart.
 
8695
 
 
8696
EOF
 
8697
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8698
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8699
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8700
      else
 
8701
        ld_shlibs=no
 
8702
      fi
 
8703
      ;;
 
8704
 
 
8705
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
8706
      case `$LD -v 2>&1` in
 
8707
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
8708
        ld_shlibs=no
 
8709
        cat <<_LT_EOF 1>&2
 
8710
 
 
8711
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
8712
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
8713
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8714
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
8715
*** your PATH or compiler configuration so that the native linker is
 
8716
*** used, and then restart.
 
8717
 
 
8718
_LT_EOF
 
8719
        ;;
 
8720
        *)
 
8721
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8722
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
8723
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
8724
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
8725
          else
 
8726
            ld_shlibs=no
 
8727
          fi
 
8728
        ;;
 
8729
      esac
 
8730
      ;;
 
8731
 
 
8732
    sunos4*)
 
8733
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8734
      wlarc=
 
8735
      hardcode_direct=yes
 
8736
      hardcode_shlibpath_var=no
 
8737
      ;;
 
8738
 
 
8739
    *)
 
8740
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8741
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8742
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8743
      else
 
8744
        ld_shlibs=no
 
8745
      fi
 
8746
      ;;
 
8747
    esac
 
8748
 
 
8749
    if test "$ld_shlibs" = no; then
 
8750
      runpath_var=
 
8751
      hardcode_libdir_flag_spec=
 
8752
      export_dynamic_flag_spec=
 
8753
      whole_archive_flag_spec=
 
8754
    fi
 
8755
  else
 
8756
    # PORTME fill in a description of your system's linker (not GNU ld)
 
8757
    case $host_os in
 
8758
    aix3*)
 
8759
      allow_undefined_flag=unsupported
 
8760
      always_export_symbols=yes
 
8761
      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
 
8762
      # Note: this linker hardcodes the directories in LIBPATH if there
 
8763
      # are no directories specified by -L.
 
8764
      hardcode_minus_L=yes
 
8765
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
8766
        # Neither direct hardcoding nor static linking is supported with a
 
8767
        # broken collect2.
 
8768
        hardcode_direct=unsupported
 
8769
      fi
 
8770
      ;;
 
8771
 
 
8772
    aix[4-9]*)
 
8773
      if test "$host_cpu" = ia64; then
 
8774
        # On IA64, the linker does run time linking by default, so we don't
 
8775
        # have to do anything special.
 
8776
        aix_use_runtimelinking=no
 
8777
        exp_sym_flag='-Bexport'
 
8778
        no_entry_flag=""
 
8779
      else
 
8780
        # If we're using GNU nm, then we don't want the "-C" option.
 
8781
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
8782
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 
8783
          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'
 
8784
        else
 
8785
          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'
 
8786
        fi
 
8787
        aix_use_runtimelinking=no
 
8788
 
 
8789
        # Test if we are trying to use run time linking or normal
 
8790
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
8791
        # need to do runtime linking.
 
8792
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
8793
          for ld_flag in $LDFLAGS; do
 
8794
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
8795
            aix_use_runtimelinking=yes
 
8796
            break
 
8797
          fi
 
8798
          done
 
8799
          ;;
 
8800
        esac
 
8801
 
 
8802
        exp_sym_flag='-bexport'
 
8803
        no_entry_flag='-bnoentry'
 
8804
      fi
 
8805
 
 
8806
      # When large executables or shared objects are built, AIX ld can
 
8807
      # have problems creating the table of contents.  If linking a library
 
8808
      # or program results in "error TOC overflow" add -mminimal-toc to
 
8809
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
8810
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
8811
 
 
8812
      archive_cmds=''
 
8813
      hardcode_direct=yes
 
8814
      hardcode_libdir_separator=':'
 
8815
      link_all_deplibs=yes
 
8816
 
 
8817
      if test "$GCC" = yes; then
 
8818
        case $host_os in aix4.[012]|aix4.[012].*)
 
8819
        # We only want to do this on AIX 4.2 and lower, the check
 
8820
        # below for broken collect2 doesn't work under 4.3+
 
8821
          collect2name=`${CC} -print-prog-name=collect2`
 
8822
          if test -f "$collect2name" && \
 
8823
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
8824
          then
 
8825
          # We have reworked collect2
 
8826
          :
 
8827
          else
 
8828
          # We have old collect2
 
8829
          hardcode_direct=unsupported
 
8830
          # It fails to find uninstalled libraries when the uninstalled
 
8831
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
8832
          # to unsupported forces relinking
 
8833
          hardcode_minus_L=yes
 
8834
          hardcode_libdir_flag_spec='-L$libdir'
 
8835
          hardcode_libdir_separator=
 
8836
          fi
 
8837
          ;;
 
8838
        esac
 
8839
        shared_flag='-shared'
 
8840
        if test "$aix_use_runtimelinking" = yes; then
 
8841
          shared_flag="$shared_flag "'${wl}-G'
 
8842
        fi
 
8843
      else
 
8844
        # not using gcc
 
8845
        if test "$host_cpu" = ia64; then
 
8846
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
8847
        # chokes on -Wl,-G. The following line is correct:
 
8848
          shared_flag='-G'
 
8849
        else
 
8850
          if test "$aix_use_runtimelinking" = yes; then
 
8851
            shared_flag='${wl}-G'
 
8852
          else
 
8853
            shared_flag='${wl}-bM:SRE'
 
8854
          fi
 
8855
        fi
 
8856
      fi
 
8857
 
 
8858
      # It seems that -bexpall does not export symbols beginning with
 
8859
      # underscore (_), so it is better to generate a list of symbols to export.
 
8860
      always_export_symbols=yes
 
8861
      if test "$aix_use_runtimelinking" = yes; then
 
8862
        # Warning - without using the other runtime loading flags (-brtl),
 
8863
        # -berok will link without error, but may produce a broken library.
 
8864
        allow_undefined_flag='-berok'
 
8865
       # Determine the default libpath from the value encoded in an empty executable.
 
8866
       cat >conftest.$ac_ext <<_ACEOF
 
8867
/* confdefs.h.  */
 
8868
_ACEOF
 
8869
cat confdefs.h >>conftest.$ac_ext
 
8870
cat >>conftest.$ac_ext <<_ACEOF
 
8871
/* end confdefs.h.  */
 
8872
 
 
8873
int
 
8874
main ()
 
8875
{
 
8876
 
 
8877
  ;
 
8878
  return 0;
 
8879
}
 
8880
_ACEOF
 
8881
rm -f conftest.$ac_objext conftest$ac_exeext
 
8882
if { (ac_try="$ac_link"
 
8883
case "(($ac_try" in
 
8884
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8885
  *) ac_try_echo=$ac_try;;
 
8886
esac
 
8887
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8888
$as_echo "$ac_try_echo") >&5
 
8889
  (eval "$ac_link") 2>conftest.er1
 
8890
  ac_status=$?
 
8891
  grep -v '^ *+' conftest.er1 >conftest.err
 
8892
  rm -f conftest.er1
 
8893
  cat conftest.err >&5
 
8894
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8895
  (exit $ac_status); } && {
 
8896
         test -z "$ac_c_werror_flag" ||
 
8897
         test ! -s conftest.err
 
8898
       } && test -s conftest$ac_exeext && {
 
8899
         test "$cross_compiling" = yes ||
 
8900
         $as_test_x conftest$ac_exeext
 
8901
       }; then
 
8902
 
 
8903
lt_aix_libpath_sed='
 
8904
    /Import File Strings/,/^$/ {
 
8905
        /^0/ {
 
8906
            s/^0  *\(.*\)$/\1/
 
8907
            p
 
8908
        }
 
8909
    }'
 
8910
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8911
# Check for a 64-bit object if we didn't find anything.
 
8912
if test -z "$aix_libpath"; then
 
8913
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8914
fi
 
8915
else
 
8916
  $as_echo "$as_me: failed program was:" >&5
 
8917
sed 's/^/| /' conftest.$ac_ext >&5
 
8918
 
 
8919
 
 
8920
fi
 
8921
 
 
8922
rm -rf conftest.dSYM
 
8923
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8924
      conftest$ac_exeext conftest.$ac_ext
 
8925
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
8926
 
 
8927
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
8928
        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"
 
8929
       else
 
8930
        if test "$host_cpu" = ia64; then
 
8931
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
8932
          allow_undefined_flag="-z nodefs"
 
8933
          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"
 
8934
        else
 
8935
         # Determine the default libpath from the value encoded in an empty executable.
 
8936
         cat >conftest.$ac_ext <<_ACEOF
 
8937
/* confdefs.h.  */
 
8938
_ACEOF
 
8939
cat confdefs.h >>conftest.$ac_ext
 
8940
cat >>conftest.$ac_ext <<_ACEOF
 
8941
/* end confdefs.h.  */
 
8942
 
 
8943
int
 
8944
main ()
 
8945
{
 
8946
 
 
8947
  ;
 
8948
  return 0;
 
8949
}
 
8950
_ACEOF
 
8951
rm -f conftest.$ac_objext conftest$ac_exeext
 
8952
if { (ac_try="$ac_link"
 
8953
case "(($ac_try" in
 
8954
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8955
  *) ac_try_echo=$ac_try;;
 
8956
esac
 
8957
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8958
$as_echo "$ac_try_echo") >&5
 
8959
  (eval "$ac_link") 2>conftest.er1
 
8960
  ac_status=$?
 
8961
  grep -v '^ *+' conftest.er1 >conftest.err
 
8962
  rm -f conftest.er1
 
8963
  cat conftest.err >&5
 
8964
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8965
  (exit $ac_status); } && {
 
8966
         test -z "$ac_c_werror_flag" ||
 
8967
         test ! -s conftest.err
 
8968
       } && test -s conftest$ac_exeext && {
 
8969
         test "$cross_compiling" = yes ||
 
8970
         $as_test_x conftest$ac_exeext
 
8971
       }; then
 
8972
 
 
8973
lt_aix_libpath_sed='
 
8974
    /Import File Strings/,/^$/ {
 
8975
        /^0/ {
 
8976
            s/^0  *\(.*\)$/\1/
 
8977
            p
 
8978
        }
 
8979
    }'
 
8980
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8981
# Check for a 64-bit object if we didn't find anything.
 
8982
if test -z "$aix_libpath"; then
 
8983
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8984
fi
 
8985
else
 
8986
  $as_echo "$as_me: failed program was:" >&5
 
8987
sed 's/^/| /' conftest.$ac_ext >&5
 
8988
 
 
8989
 
 
8990
fi
 
8991
 
 
8992
rm -rf conftest.dSYM
 
8993
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8994
      conftest$ac_exeext conftest.$ac_ext
 
8995
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
8996
 
 
8997
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
8998
          # Warning - without using the other run time loading flags,
 
8999
          # -berok will link without error, but may produce a broken library.
 
9000
          no_undefined_flag=' ${wl}-bernotok'
 
9001
          allow_undefined_flag=' ${wl}-berok'
 
9002
          # Exported symbols can be pulled into shared objects from archives
 
9003
          whole_archive_flag_spec='$convenience'
 
9004
          archive_cmds_need_lc=yes
 
9005
          # This is similar to how AIX traditionally builds its shared libraries.
 
9006
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
9007
        fi
 
9008
      fi
 
9009
      ;;
 
9010
 
 
9011
    amigaos*)
 
9012
      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)'
 
9013
      hardcode_libdir_flag_spec='-L$libdir'
 
9014
      hardcode_minus_L=yes
 
9015
      # see comment about different semantics on the GNU ld section
 
9016
      ld_shlibs=no
 
9017
      ;;
 
9018
 
 
9019
    bsdi[45]*)
 
9020
      export_dynamic_flag_spec=-rdynamic
 
9021
      ;;
 
9022
 
 
9023
    cygwin* | mingw* | pw32*)
 
9024
      # When not using gcc, we currently assume that we are using
 
9025
      # Microsoft Visual C++.
 
9026
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
9027
      # no search path for DLLs.
 
9028
      hardcode_libdir_flag_spec=' '
 
9029
      allow_undefined_flag=unsupported
 
9030
      # Tell ltmain to make .lib files, not .a files.
 
9031
      libext=lib
 
9032
      # Tell ltmain to make .dll files, not .so files.
 
9033
      shrext_cmds=".dll"
 
9034
      # FIXME: Setting linknames here is a bad hack.
 
9035
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
9036
      # The linker will automatically build a .lib file if we build a DLL.
 
9037
      old_archive_From_new_cmds='true'
 
9038
      # FIXME: Should let the user specify the lib program.
 
9039
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9040
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
9041
      enable_shared_with_static_runtimes=yes
 
9042
      ;;
 
9043
 
 
9044
    darwin* | rhapsody*)
 
9045
      case $host_os in
 
9046
        rhapsody* | darwin1.[012])
 
9047
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
 
9048
         ;;
 
9049
       *) # Darwin 1.3 on
 
9050
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
9051
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
9052
         else
 
9053
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
9054
             10.[012])
 
9055
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
9056
               ;;
 
9057
             10.*)
 
9058
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
 
9059
               ;;
 
9060
           esac
 
9061
         fi
 
9062
         ;;
 
9063
      esac
 
9064
      archive_cmds_need_lc=no
 
9065
      hardcode_direct=no
 
9066
      hardcode_automatic=yes
 
9067
      hardcode_shlibpath_var=unsupported
 
9068
      whole_archive_flag_spec=''
 
9069
      link_all_deplibs=yes
 
9070
    if test "$GCC" = yes ; then
 
9071
        output_verbose_link_cmd='echo'
 
9072
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
9073
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
9074
        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}"
 
9075
        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}"
 
9076
    else
 
9077
      case $cc_basename in
 
9078
        xlc*)
 
9079
         output_verbose_link_cmd='echo'
 
9080
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
 
9081
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
9082
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
9083
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
9084
          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}'
 
9085
          ;;
 
9086
       *)
 
9087
         ld_shlibs=no
 
9088
          ;;
 
9089
      esac
 
9090
    fi
 
9091
      ;;
 
9092
 
 
9093
    dgux*)
 
9094
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9095
      hardcode_libdir_flag_spec='-L$libdir'
 
9096
      hardcode_shlibpath_var=no
 
9097
      ;;
 
9098
 
 
9099
    freebsd1*)
 
9100
      ld_shlibs=no
 
9101
      ;;
 
9102
 
 
9103
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
9104
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
9105
    # does not break anything, and helps significantly (at the cost of a little
 
9106
    # extra space).
 
9107
    freebsd2.2*)
 
9108
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
9109
      hardcode_libdir_flag_spec='-R$libdir'
 
9110
      hardcode_direct=yes
 
9111
      hardcode_shlibpath_var=no
 
9112
      ;;
 
9113
 
 
9114
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
9115
    freebsd2*)
 
9116
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9117
      hardcode_direct=yes
 
9118
      hardcode_minus_L=yes
 
9119
      hardcode_shlibpath_var=no
 
9120
      ;;
 
9121
 
 
9122
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
9123
    freebsd* | dragonfly*)
 
9124
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
9125
      hardcode_libdir_flag_spec='-R$libdir'
 
9126
      hardcode_direct=yes
 
9127
      hardcode_shlibpath_var=no
 
9128
      ;;
 
9129
 
 
9130
    hpux9*)
 
9131
      if test "$GCC" = yes; then
 
9132
        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'
 
9133
      else
 
9134
        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'
 
9135
      fi
 
9136
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9137
      hardcode_libdir_separator=:
 
9138
      hardcode_direct=yes
 
9139
 
 
9140
      # hardcode_minus_L: Not really in the search PATH,
 
9141
      # but as the default location of the library.
 
9142
      hardcode_minus_L=yes
 
9143
      export_dynamic_flag_spec='${wl}-E'
 
9144
      ;;
 
9145
 
 
9146
    hpux10*)
 
9147
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9148
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9149
      else
 
9150
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9151
      fi
 
9152
      if test "$with_gnu_ld" = no; then
 
9153
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9154
        hardcode_libdir_separator=:
 
9155
 
 
9156
        hardcode_direct=yes
 
9157
        export_dynamic_flag_spec='${wl}-E'
 
9158
 
 
9159
        # hardcode_minus_L: Not really in the search PATH,
 
9160
        # but as the default location of the library.
 
9161
        hardcode_minus_L=yes
 
9162
      fi
 
9163
      ;;
 
9164
 
 
9165
    hpux11*)
 
9166
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9167
        case $host_cpu in
 
9168
        hppa*64*)
 
9169
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9170
          ;;
 
9171
        ia64*)
 
9172
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9173
          ;;
 
9174
        *)
 
9175
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9176
          ;;
 
9177
        esac
 
9178
      else
 
9179
        case $host_cpu in
 
9180
        hppa*64*)
 
9181
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9182
          ;;
 
9183
        ia64*)
 
9184
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9185
          ;;
 
9186
        *)
 
9187
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9188
          ;;
 
9189
        esac
 
9190
      fi
 
9191
      if test "$with_gnu_ld" = no; then
 
9192
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9193
        hardcode_libdir_separator=:
 
9194
 
 
9195
        case $host_cpu in
 
9196
        hppa*64*|ia64*)
 
9197
          hardcode_libdir_flag_spec_ld='+b $libdir'
 
9198
          hardcode_direct=no
 
9199
          hardcode_shlibpath_var=no
 
9200
          ;;
 
9201
        *)
 
9202
          hardcode_direct=yes
 
9203
          export_dynamic_flag_spec='${wl}-E'
 
9204
 
 
9205
          # hardcode_minus_L: Not really in the search PATH,
 
9206
          # but as the default location of the library.
 
9207
          hardcode_minus_L=yes
 
9208
          ;;
 
9209
        esac
 
9210
      fi
 
9211
      ;;
 
9212
 
 
9213
    irix5* | irix6* | nonstopux*)
 
9214
      if test "$GCC" = yes; then
 
9215
        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'
 
9216
      else
 
9217
        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'
 
9218
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9219
      fi
 
9220
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9221
      hardcode_libdir_separator=:
 
9222
      link_all_deplibs=yes
 
9223
      ;;
 
9224
 
 
9225
    netbsd*)
 
9226
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9227
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
9228
      else
 
9229
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
9230
      fi
 
9231
      hardcode_libdir_flag_spec='-R$libdir'
 
9232
      hardcode_direct=yes
 
9233
      hardcode_shlibpath_var=no
 
9234
      ;;
 
9235
 
 
9236
    newsos6)
 
9237
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9238
      hardcode_direct=yes
 
9239
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9240
      hardcode_libdir_separator=:
 
9241
      hardcode_shlibpath_var=no
 
9242
      ;;
 
9243
 
 
9244
    openbsd*)
 
9245
      if test -f /usr/libexec/ld.so; then
 
9246
        hardcode_direct=yes
 
9247
        hardcode_shlibpath_var=no
 
9248
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9249
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9250
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
9251
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9252
          export_dynamic_flag_spec='${wl}-E'
 
9253
        else
 
9254
          case $host_os in
 
9255
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
9256
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9257
             hardcode_libdir_flag_spec='-R$libdir'
 
9258
             ;;
 
9259
           *)
 
9260
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9261
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9262
             ;;
 
9263
          esac
 
9264
        fi
 
9265
      else
 
9266
        ld_shlibs=no
 
9267
      fi
 
9268
      ;;
 
9269
 
 
9270
    os2*)
 
9271
      hardcode_libdir_flag_spec='-L$libdir'
 
9272
      hardcode_minus_L=yes
 
9273
      allow_undefined_flag=unsupported
 
9274
      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'
 
9275
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
9276
      ;;
 
9277
 
 
9278
    osf3*)
 
9279
      if test "$GCC" = yes; then
 
9280
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
9281
        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'
 
9282
      else
 
9283
        allow_undefined_flag=' -expect_unresolved \*'
 
9284
        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'
 
9285
      fi
 
9286
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9287
      hardcode_libdir_separator=:
 
9288
      ;;
 
9289
 
 
9290
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
9291
      if test "$GCC" = yes; then
 
9292
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
9293
        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'
 
9294
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9295
      else
 
9296
        allow_undefined_flag=' -expect_unresolved \*'
 
9297
        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'
 
9298
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
 
9299
        $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'
 
9300
 
 
9301
        # Both c and cxx compiler support -rpath directly
 
9302
        hardcode_libdir_flag_spec='-rpath $libdir'
 
9303
      fi
 
9304
      hardcode_libdir_separator=:
 
9305
      ;;
 
9306
 
 
9307
    solaris*)
 
9308
      no_undefined_flag=' -z text'
 
9309
      if test "$GCC" = yes; then
 
9310
        wlarc='${wl}'
 
9311
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9312
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
9313
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
9314
      else
 
9315
        wlarc=''
 
9316
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9317
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
9318
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
9319
      fi
 
9320
      hardcode_libdir_flag_spec='-R$libdir'
 
9321
      hardcode_shlibpath_var=no
 
9322
      case $host_os in
 
9323
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
9324
      *)
 
9325
        # The compiler driver will combine and reorder linker options,
 
9326
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
9327
        # but is careful enough not to reorder.
 
9328
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
9329
        if test "$GCC" = yes; then
 
9330
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
9331
        else
 
9332
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
9333
        fi
 
9334
        ;;
 
9335
      esac
 
9336
      link_all_deplibs=yes
 
9337
      ;;
 
9338
 
 
9339
    sunos4*)
 
9340
      if test "x$host_vendor" = xsequent; then
 
9341
        # Use $CC to link under sequent, because it throws in some extra .o
 
9342
        # files that make .init and .fini sections work.
 
9343
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9344
      else
 
9345
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
9346
      fi
 
9347
      hardcode_libdir_flag_spec='-L$libdir'
 
9348
      hardcode_direct=yes
 
9349
      hardcode_minus_L=yes
 
9350
      hardcode_shlibpath_var=no
 
9351
      ;;
 
9352
 
 
9353
    sysv4)
 
9354
      case $host_vendor in
 
9355
        sni)
 
9356
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9357
          hardcode_direct=yes # is this really true???
 
9358
        ;;
 
9359
        siemens)
 
9360
          ## LD is ld it makes a PLAMLIB
 
9361
          ## CC just makes a GrossModule.
 
9362
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
9363
          reload_cmds='$CC -r -o $output$reload_objs'
 
9364
          hardcode_direct=no
 
9365
        ;;
 
9366
        motorola)
 
9367
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9368
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
9369
        ;;
 
9370
      esac
 
9371
      runpath_var='LD_RUN_PATH'
 
9372
      hardcode_shlibpath_var=no
 
9373
      ;;
 
9374
 
 
9375
    sysv4.3*)
 
9376
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9377
      hardcode_shlibpath_var=no
 
9378
      export_dynamic_flag_spec='-Bexport'
 
9379
      ;;
 
9380
 
 
9381
    sysv4*MP*)
 
9382
      if test -d /usr/nec; then
 
9383
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9384
        hardcode_shlibpath_var=no
 
9385
        runpath_var=LD_RUN_PATH
 
9386
        hardcode_runpath_var=yes
 
9387
        ld_shlibs=yes
 
9388
      fi
 
9389
      ;;
 
9390
 
 
9391
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
9392
      no_undefined_flag='${wl}-z,text'
 
9393
      archive_cmds_need_lc=no
 
9394
      hardcode_shlibpath_var=no
 
9395
      runpath_var='LD_RUN_PATH'
 
9396
 
 
9397
      if test "$GCC" = yes; then
 
9398
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9399
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9400
      else
 
9401
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9402
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9403
      fi
 
9404
      ;;
 
9405
 
 
9406
    sysv5* | sco3.2v5* | sco5v6*)
 
9407
      # Note: We can NOT use -z defs as we might desire, because we do not
 
9408
      # link with -lc, and that would cause any symbols used from libc to
 
9409
      # always be unresolved, which means just about no library would
 
9410
      # ever link correctly.  If we're not using GNU ld we use -z text
 
9411
      # though, which does catch some bad symbols but isn't as heavy-handed
 
9412
      # as -z defs.
 
9413
      no_undefined_flag='${wl}-z,text'
 
9414
      allow_undefined_flag='${wl}-z,nodefs'
 
9415
      archive_cmds_need_lc=no
 
9416
      hardcode_shlibpath_var=no
 
9417
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
9418
      hardcode_libdir_separator=':'
 
9419
      link_all_deplibs=yes
 
9420
      export_dynamic_flag_spec='${wl}-Bexport'
 
9421
      runpath_var='LD_RUN_PATH'
 
9422
 
 
9423
      if test "$GCC" = yes; then
 
9424
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9425
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9426
      else
 
9427
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9428
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9429
      fi
 
9430
      ;;
 
9431
 
 
9432
    uts4*)
 
9433
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9434
      hardcode_libdir_flag_spec='-L$libdir'
 
9435
      hardcode_shlibpath_var=no
 
9436
      ;;
 
9437
 
 
9438
    *)
 
9439
      ld_shlibs=no
 
9440
      ;;
 
9441
    esac
 
9442
  fi
 
9443
 
 
9444
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9445
$as_echo "$ld_shlibs" >&6; }
 
9446
test "$ld_shlibs" = no && can_build_shared=no
 
9447
 
 
9448
#
 
9449
# Do we need to explicitly link libc?
 
9450
#
 
9451
case "x$archive_cmds_need_lc" in
 
9452
x|xyes)
 
9453
  # Assume -lc should be added
 
9454
  archive_cmds_need_lc=yes
 
9455
 
 
9456
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
9457
    case $archive_cmds in
 
9458
    *'~'*)
 
9459
      # FIXME: we may have to deal with multi-command sequences.
 
9460
      ;;
 
9461
    '$CC '*)
 
9462
      # Test whether the compiler implicitly links with -lc since on some
 
9463
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
9464
      # to ld, don't add -lc before -lgcc.
 
9465
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
9466
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
9467
      $rm conftest*
 
9468
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9469
 
 
9470
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
9471
  (eval $ac_compile) 2>&5
 
9472
  ac_status=$?
 
9473
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9474
  (exit $ac_status); } 2>conftest.err; then
 
9475
        soname=conftest
 
9476
        lib=conftest
 
9477
        libobjs=conftest.$ac_objext
 
9478
        deplibs=
 
9479
        wl=$lt_prog_compiler_wl
 
9480
        pic_flag=$lt_prog_compiler_pic
 
9481
        compiler_flags=-v
 
9482
        linker_flags=-v
 
9483
        verstring=
 
9484
        output_objdir=.
 
9485
        libname=conftest
 
9486
        lt_save_allow_undefined_flag=$allow_undefined_flag
 
9487
        allow_undefined_flag=
 
9488
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
9489
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
9490
  ac_status=$?
 
9491
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9492
  (exit $ac_status); }
 
9493
        then
 
9494
          archive_cmds_need_lc=no
 
9495
        else
 
9496
          archive_cmds_need_lc=yes
 
9497
        fi
 
9498
        allow_undefined_flag=$lt_save_allow_undefined_flag
 
9499
      else
 
9500
        cat conftest.err 1>&5
 
9501
      fi
 
9502
      $rm conftest*
 
9503
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
9504
$as_echo "$archive_cmds_need_lc" >&6; }
 
9505
      ;;
 
9506
    esac
 
9507
  fi
 
9508
  ;;
 
9509
esac
 
9510
 
 
9511
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9512
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
9513
library_names_spec=
 
9514
libname_spec='lib$name'
 
9515
soname_spec=
 
9516
shrext_cmds=".so"
 
9517
postinstall_cmds=
 
9518
postuninstall_cmds=
 
9519
finish_cmds=
 
9520
finish_eval=
 
9521
shlibpath_var=
 
9522
shlibpath_overrides_runpath=unknown
 
9523
version_type=none
 
9524
dynamic_linker="$host_os ld.so"
 
9525
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
9526
 
 
9527
if test "$GCC" = yes; then
 
9528
  case $host_os in
 
9529
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
9530
    *) lt_awk_arg="/^libraries:/" ;;
 
9531
  esac
 
9532
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9533
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
9534
    # if the path contains ";" then we assume it to be the separator
 
9535
    # otherwise default to the standard path separator (i.e. ":") - it is
 
9536
    # assumed that no part of a normal pathname contains ";" but that should
 
9537
    # okay in the real world where ";" in dirpaths is itself problematic.
 
9538
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
9539
  else
 
9540
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9541
  fi
 
9542
  # Ok, now we have the path, separated by spaces, we can step through it
 
9543
  # and add multilib dir if necessary.
 
9544
  lt_tmp_lt_search_path_spec=
 
9545
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
9546
  for lt_sys_path in $lt_search_path_spec; do
 
9547
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
9548
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
9549
    else
 
9550
      test -d "$lt_sys_path" && \
 
9551
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
9552
    fi
 
9553
  done
 
9554
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
9555
BEGIN {RS=" "; FS="/|\n";} {
 
9556
  lt_foo="";
 
9557
  lt_count=0;
 
9558
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
9559
    if ($lt_i != "" && $lt_i != ".") {
 
9560
      if ($lt_i == "..") {
 
9561
        lt_count++;
 
9562
      } else {
 
9563
        if (lt_count == 0) {
 
9564
          lt_foo="/" $lt_i lt_foo;
 
9565
        } else {
 
9566
          lt_count--;
 
9567
        }
 
9568
      }
 
9569
    }
 
9570
  }
 
9571
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
9572
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
9573
}'`
 
9574
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
9575
else
 
9576
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
9577
fi
 
9578
need_lib_prefix=unknown
 
9579
hardcode_into_libs=no
 
9580
 
 
9581
# when you set need_version to no, make sure it does not cause -set_version
 
9582
# flags to be left without arguments
 
9583
need_version=unknown
 
9584
 
 
9585
case $host_os in
 
9586
aix3*)
 
9587
  version_type=linux
 
9588
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
9589
  shlibpath_var=LIBPATH
 
9590
 
 
9591
  # AIX 3 has no versioning support, so we append a major version to the name.
 
9592
  soname_spec='${libname}${release}${shared_ext}$major'
 
9593
  ;;
 
9594
 
 
9595
aix[4-9]*)
 
9596
  version_type=linux
 
9597
  need_lib_prefix=no
 
9598
  need_version=no
 
9599
  hardcode_into_libs=yes
 
9600
  if test "$host_cpu" = ia64; then
 
9601
    # AIX 5 supports IA64
 
9602
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
9603
    shlibpath_var=LD_LIBRARY_PATH
 
9604
  else
 
9605
    # With GCC up to 2.95.x, collect2 would create an import file
 
9606
    # for dependence libraries.  The import file would start with
 
9607
    # the line `#! .'.  This would cause the generated library to
 
9608
    # depend on `.', always an invalid library.  This was fixed in
 
9609
    # development snapshots of GCC prior to 3.0.
 
9610
    case $host_os in
 
9611
      aix4 | aix4.[01] | aix4.[01].*)
 
9612
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
9613
           echo ' yes '
 
9614
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
9615
        :
 
9616
      else
 
9617
        can_build_shared=no
 
9618
      fi
 
9619
      ;;
 
9620
    esac
 
9621
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
9622
    # soname into executable. Probably we can add versioning support to
 
9623
    # collect2, so additional links can be useful in future.
 
9624
    if test "$aix_use_runtimelinking" = yes; then
 
9625
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
9626
      # instead of lib<name>.a to let people know that these are not
 
9627
      # typical AIX shared libraries.
 
9628
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9629
    else
 
9630
      # We preserve .a as extension for shared libraries through AIX4.2
 
9631
      # and later when we are not doing run time linking.
 
9632
      library_names_spec='${libname}${release}.a $libname.a'
 
9633
      soname_spec='${libname}${release}${shared_ext}$major'
 
9634
    fi
 
9635
    shlibpath_var=LIBPATH
 
9636
  fi
 
9637
  ;;
 
9638
 
 
9639
amigaos*)
 
9640
  library_names_spec='$libname.ixlibrary $libname.a'
 
9641
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
9642
  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'
 
9643
  ;;
 
9644
 
 
9645
beos*)
 
9646
  library_names_spec='${libname}${shared_ext}'
 
9647
  dynamic_linker="$host_os ld.so"
 
9648
  shlibpath_var=LIBRARY_PATH
 
9649
  ;;
 
9650
 
 
9651
bsdi[45]*)
 
9652
  version_type=linux
 
9653
  need_version=no
 
9654
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9655
  soname_spec='${libname}${release}${shared_ext}$major'
 
9656
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
9657
  shlibpath_var=LD_LIBRARY_PATH
 
9658
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
9659
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
9660
  # the default ld.so.conf also contains /usr/contrib/lib and
 
9661
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
9662
  # libtool to hard-code these into programs
 
9663
  ;;
 
9664
 
 
9665
cygwin* | mingw* | pw32*)
 
9666
  version_type=windows
 
9667
  shrext_cmds=".dll"
 
9668
  need_version=no
 
9669
  need_lib_prefix=no
 
9670
 
 
9671
  case $GCC,$host_os in
 
9672
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
9673
    library_names_spec='$libname.dll.a'
 
9674
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
9675
    postinstall_cmds='base_file=`basename \${file}`~
 
9676
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
9677
      dldir=$destdir/`dirname \$dlpath`~
 
9678
      test -d \$dldir || mkdir -p \$dldir~
 
9679
      $install_prog $dir/$dlname \$dldir/$dlname~
 
9680
      chmod a+x \$dldir/$dlname'
 
9681
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
9682
      dlpath=$dir/\$dldll~
 
9683
       $rm \$dlpath'
 
9684
    shlibpath_overrides_runpath=yes
 
9685
 
 
9686
    case $host_os in
 
9687
    cygwin*)
 
9688
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
9689
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
9690
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
9691
      ;;
 
9692
    mingw*)
 
9693
      # MinGW DLLs use traditional 'lib' prefix
 
9694
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
9695
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9696
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
9697
        # It is most probably a Windows format PATH printed by
 
9698
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
9699
        # path with ; separators, and with drive letters. We can handle the
 
9700
        # drive letters (cygwin fileutils understands them), so leave them,
 
9701
        # especially as we might pass files found there to a mingw objdump,
 
9702
        # which wouldn't understand a cygwinified path. Ahh.
 
9703
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
9704
      else
 
9705
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9706
      fi
 
9707
      ;;
 
9708
    pw32*)
 
9709
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
9710
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
9711
      ;;
 
9712
    esac
 
9713
    ;;
 
9714
 
 
9715
  *)
 
9716
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
9717
    ;;
 
9718
  esac
 
9719
  dynamic_linker='Win32 ld.exe'
 
9720
  # FIXME: first we should search . and the directory the executable is in
 
9721
  shlibpath_var=PATH
 
9722
  ;;
 
9723
 
 
9724
darwin* | rhapsody*)
 
9725
  dynamic_linker="$host_os dyld"
 
9726
  version_type=darwin
 
9727
  need_lib_prefix=no
 
9728
  need_version=no
 
9729
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
9730
  soname_spec='${libname}${release}${major}$shared_ext'
 
9731
  shlibpath_overrides_runpath=yes
 
9732
  shlibpath_var=DYLD_LIBRARY_PATH
 
9733
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
9734
 
 
9735
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
9736
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
9737
  ;;
 
9738
 
 
9739
dgux*)
 
9740
  version_type=linux
 
9741
  need_lib_prefix=no
 
9742
  need_version=no
 
9743
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
9744
  soname_spec='${libname}${release}${shared_ext}$major'
 
9745
  shlibpath_var=LD_LIBRARY_PATH
 
9746
  ;;
 
9747
 
 
9748
freebsd1*)
 
9749
  dynamic_linker=no
 
9750
  ;;
 
9751
 
 
9752
freebsd* | dragonfly*)
 
9753
  # DragonFly does not have aout.  When/if they implement a new
 
9754
  # versioning mechanism, adjust this.
 
9755
  if test -x /usr/bin/objformat; then
 
9756
    objformat=`/usr/bin/objformat`
 
9757
  else
 
9758
    case $host_os in
 
9759
    freebsd[123]*) objformat=aout ;;
 
9760
    *) objformat=elf ;;
 
9761
    esac
 
9762
  fi
 
9763
  version_type=freebsd-$objformat
 
9764
  case $version_type in
 
9765
    freebsd-elf*)
 
9766
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
9767
      need_version=no
 
9768
      need_lib_prefix=no
 
9769
      ;;
 
9770
    freebsd-*)
 
9771
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
9772
      need_version=yes
 
9773
      ;;
 
9774
  esac
 
9775
  shlibpath_var=LD_LIBRARY_PATH
 
9776
  case $host_os in
 
9777
  freebsd2*)
 
9778
    shlibpath_overrides_runpath=yes
 
9779
    ;;
 
9780
  freebsd3.[01]* | freebsdelf3.[01]*)
 
9781
    shlibpath_overrides_runpath=yes
 
9782
    hardcode_into_libs=yes
 
9783
    ;;
 
9784
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
9785
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
9786
    shlibpath_overrides_runpath=no
 
9787
    hardcode_into_libs=yes
 
9788
    ;;
 
9789
  *) # from 4.6 on, and DragonFly
 
9790
    shlibpath_overrides_runpath=yes
 
9791
    hardcode_into_libs=yes
 
9792
    ;;
 
9793
  esac
 
9794
  ;;
 
9795
 
 
9796
gnu*)
 
9797
  version_type=linux
 
9798
  need_lib_prefix=no
 
9799
  need_version=no
 
9800
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
9801
  soname_spec='${libname}${release}${shared_ext}$major'
 
9802
  shlibpath_var=LD_LIBRARY_PATH
 
9803
  hardcode_into_libs=yes
 
9804
  ;;
 
9805
 
 
9806
hpux9* | hpux10* | hpux11*)
 
9807
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
9808
  # link against other versions.
 
9809
  version_type=sunos
 
9810
  need_lib_prefix=no
 
9811
  need_version=no
 
9812
  case $host_cpu in
 
9813
  ia64*)
 
9814
    shrext_cmds='.so'
 
9815
    hardcode_into_libs=yes
 
9816
    dynamic_linker="$host_os dld.so"
 
9817
    shlibpath_var=LD_LIBRARY_PATH
 
9818
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
9819
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9820
    soname_spec='${libname}${release}${shared_ext}$major'
 
9821
    if test "X$HPUX_IA64_MODE" = X32; then
 
9822
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
9823
    else
 
9824
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
9825
    fi
 
9826
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
9827
    ;;
 
9828
   hppa*64*)
 
9829
     shrext_cmds='.sl'
 
9830
     hardcode_into_libs=yes
 
9831
     dynamic_linker="$host_os dld.sl"
 
9832
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
9833
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
9834
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9835
     soname_spec='${libname}${release}${shared_ext}$major'
 
9836
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
9837
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
9838
     ;;
 
9839
   *)
 
9840
    shrext_cmds='.sl'
 
9841
    dynamic_linker="$host_os dld.sl"
 
9842
    shlibpath_var=SHLIB_PATH
 
9843
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
9844
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9845
    soname_spec='${libname}${release}${shared_ext}$major'
 
9846
    ;;
 
9847
  esac
 
9848
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
9849
  postinstall_cmds='chmod 555 $lib'
 
9850
  ;;
 
9851
 
 
9852
interix[3-9]*)
 
9853
  version_type=linux
 
9854
  need_lib_prefix=no
 
9855
  need_version=no
 
9856
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
9857
  soname_spec='${libname}${release}${shared_ext}$major'
 
9858
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
9859
  shlibpath_var=LD_LIBRARY_PATH
 
9860
  shlibpath_overrides_runpath=no
 
9861
  hardcode_into_libs=yes
 
9862
  ;;
 
9863
 
 
9864
irix5* | irix6* | nonstopux*)
 
9865
  case $host_os in
 
9866
    nonstopux*) version_type=nonstopux ;;
 
9867
    *)
 
9868
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
9869
                version_type=linux
 
9870
        else
 
9871
                version_type=irix
 
9872
        fi ;;
 
9873
  esac
 
9874
  need_lib_prefix=no
 
9875
  need_version=no
 
9876
  soname_spec='${libname}${release}${shared_ext}$major'
 
9877
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
9878
  case $host_os in
 
9879
  irix5* | nonstopux*)
 
9880
    libsuff= shlibsuff=
 
9881
    ;;
 
9882
  *)
 
9883
    case $LD in # libtool.m4 will add one of these switches to LD
 
9884
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
9885
      libsuff= shlibsuff= libmagic=32-bit;;
 
9886
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
9887
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
9888
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
9889
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
9890
    *) libsuff= shlibsuff= libmagic=never-match;;
 
9891
    esac
 
9892
    ;;
 
9893
  esac
 
9894
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
9895
  shlibpath_overrides_runpath=no
 
9896
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
9897
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
9898
  hardcode_into_libs=yes
 
9899
  ;;
 
9900
 
 
9901
# No shared lib support for Linux oldld, aout, or coff.
 
9902
linux*oldld* | linux*aout* | linux*coff*)
 
9903
  dynamic_linker=no
 
9904
  ;;
 
9905
 
 
9906
# This must be Linux ELF.
 
9907
linux* | k*bsd*-gnu)
 
9908
  version_type=linux
 
9909
  need_lib_prefix=no
 
9910
  need_version=no
 
9911
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9912
  soname_spec='${libname}${release}${shared_ext}$major'
 
9913
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
9914
  shlibpath_var=LD_LIBRARY_PATH
 
9915
  shlibpath_overrides_runpath=no
 
9916
  # This implies no fast_install, which is unacceptable.
 
9917
  # Some rework will be needed to allow for fast_install
 
9918
  # before this can be enabled.
 
9919
  hardcode_into_libs=yes
 
9920
 
 
9921
  # Append ld.so.conf contents to the search path
 
9922
  if test -f /etc/ld.so.conf; then
 
9923
    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' ' '`
 
9924
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
9925
  fi
 
9926
 
 
9927
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
9928
  # powerpc, because MkLinux only supported shared libraries with the
 
9929
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
9930
  # most powerpc-linux boxes support dynamic linking these days and
 
9931
  # people can always --disable-shared, the test was removed, and we
 
9932
  # assume the GNU/Linux dynamic linker is in use.
 
9933
  dynamic_linker='GNU/Linux ld.so'
 
9934
  ;;
 
9935
 
 
9936
netbsd*)
 
9937
  version_type=sunos
 
9938
  need_lib_prefix=no
 
9939
  need_version=no
 
9940
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9941
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
9942
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
9943
    dynamic_linker='NetBSD (a.out) ld.so'
 
9944
  else
 
9945
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
9946
    soname_spec='${libname}${release}${shared_ext}$major'
 
9947
    dynamic_linker='NetBSD ld.elf_so'
 
9948
  fi
 
9949
  shlibpath_var=LD_LIBRARY_PATH
 
9950
  shlibpath_overrides_runpath=yes
 
9951
  hardcode_into_libs=yes
 
9952
  ;;
 
9953
 
 
9954
newsos6)
 
9955
  version_type=linux
 
9956
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9957
  shlibpath_var=LD_LIBRARY_PATH
 
9958
  shlibpath_overrides_runpath=yes
 
9959
  ;;
 
9960
 
 
9961
nto-qnx*)
 
9962
  version_type=linux
 
9963
  need_lib_prefix=no
 
9964
  need_version=no
 
9965
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9966
  soname_spec='${libname}${release}${shared_ext}$major'
 
9967
  shlibpath_var=LD_LIBRARY_PATH
 
9968
  shlibpath_overrides_runpath=yes
 
9969
  ;;
 
9970
 
 
9971
openbsd*)
 
9972
  version_type=sunos
 
9973
  sys_lib_dlsearch_path_spec="/usr/lib"
 
9974
  need_lib_prefix=no
 
9975
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
9976
  case $host_os in
 
9977
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
9978
    *)                         need_version=no  ;;
 
9979
  esac
 
9980
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
9981
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
9982
  shlibpath_var=LD_LIBRARY_PATH
 
9983
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9984
    case $host_os in
 
9985
      openbsd2.[89] | openbsd2.[89].*)
 
9986
        shlibpath_overrides_runpath=no
 
9987
        ;;
 
9988
      *)
 
9989
        shlibpath_overrides_runpath=yes
 
9990
        ;;
 
9991
      esac
 
9992
  else
 
9993
    shlibpath_overrides_runpath=yes
 
9994
  fi
 
9995
  ;;
 
9996
 
 
9997
os2*)
 
9998
  libname_spec='$name'
 
9999
  shrext_cmds=".dll"
 
10000
  need_lib_prefix=no
 
10001
  library_names_spec='$libname${shared_ext} $libname.a'
 
10002
  dynamic_linker='OS/2 ld.exe'
 
10003
  shlibpath_var=LIBPATH
 
10004
  ;;
 
10005
 
 
10006
osf3* | osf4* | osf5*)
 
10007
  version_type=osf
 
10008
  need_lib_prefix=no
 
10009
  need_version=no
 
10010
  soname_spec='${libname}${release}${shared_ext}$major'
 
10011
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10012
  shlibpath_var=LD_LIBRARY_PATH
 
10013
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
10014
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
10015
  ;;
 
10016
 
 
10017
rdos*)
 
10018
  dynamic_linker=no
 
10019
  ;;
 
10020
 
 
10021
solaris*)
 
10022
  version_type=linux
 
10023
  need_lib_prefix=no
 
10024
  need_version=no
 
10025
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10026
  soname_spec='${libname}${release}${shared_ext}$major'
 
10027
  shlibpath_var=LD_LIBRARY_PATH
 
10028
  shlibpath_overrides_runpath=yes
 
10029
  hardcode_into_libs=yes
 
10030
  # ldd complains unless libraries are executable
 
10031
  postinstall_cmds='chmod +x $lib'
 
10032
  ;;
 
10033
 
 
10034
sunos4*)
 
10035
  version_type=sunos
 
10036
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10037
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
10038
  shlibpath_var=LD_LIBRARY_PATH
 
10039
  shlibpath_overrides_runpath=yes
 
10040
  if test "$with_gnu_ld" = yes; then
 
10041
    need_lib_prefix=no
 
10042
  fi
 
10043
  need_version=yes
 
10044
  ;;
 
10045
 
 
10046
sysv4 | sysv4.3*)
 
10047
  version_type=linux
 
10048
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10049
  soname_spec='${libname}${release}${shared_ext}$major'
 
10050
  shlibpath_var=LD_LIBRARY_PATH
 
10051
  case $host_vendor in
 
10052
    sni)
 
10053
      shlibpath_overrides_runpath=no
 
10054
      need_lib_prefix=no
 
10055
      export_dynamic_flag_spec='${wl}-Blargedynsym'
 
10056
      runpath_var=LD_RUN_PATH
 
10057
      ;;
 
10058
    siemens)
 
10059
      need_lib_prefix=no
 
10060
      ;;
 
10061
    motorola)
 
10062
      need_lib_prefix=no
 
10063
      need_version=no
 
10064
      shlibpath_overrides_runpath=no
 
10065
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
10066
      ;;
 
10067
  esac
 
10068
  ;;
 
10069
 
 
10070
sysv4*MP*)
 
10071
  if test -d /usr/nec ;then
 
10072
    version_type=linux
 
10073
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
10074
    soname_spec='$libname${shared_ext}.$major'
 
10075
    shlibpath_var=LD_LIBRARY_PATH
 
10076
  fi
 
10077
  ;;
 
10078
 
 
10079
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
10080
  version_type=freebsd-elf
 
10081
  need_lib_prefix=no
 
10082
  need_version=no
 
10083
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10084
  soname_spec='${libname}${release}${shared_ext}$major'
 
10085
  shlibpath_var=LD_LIBRARY_PATH
 
10086
  hardcode_into_libs=yes
 
10087
  if test "$with_gnu_ld" = yes; then
 
10088
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
10089
    shlibpath_overrides_runpath=no
 
10090
  else
 
10091
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
10092
    shlibpath_overrides_runpath=yes
 
10093
    case $host_os in
 
10094
      sco3.2v5*)
 
10095
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
10096
        ;;
 
10097
    esac
 
10098
  fi
 
10099
  sys_lib_dlsearch_path_spec='/usr/lib'
 
10100
  ;;
 
10101
 
 
10102
uts4*)
 
10103
  version_type=linux
 
10104
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10105
  soname_spec='${libname}${release}${shared_ext}$major'
 
10106
  shlibpath_var=LD_LIBRARY_PATH
 
10107
  ;;
 
10108
 
 
10109
*)
 
10110
  dynamic_linker=no
 
10111
  ;;
 
10112
esac
 
10113
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
10114
$as_echo "$dynamic_linker" >&6; }
 
10115
test "$dynamic_linker" = no && can_build_shared=no
 
10116
 
 
10117
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
10118
  $as_echo_n "(cached) " >&6
 
10119
else
 
10120
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
10121
fi
 
10122
 
 
10123
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
10124
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
10125
  $as_echo_n "(cached) " >&6
 
10126
else
 
10127
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
10128
fi
 
10129
 
 
10130
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
10131
 
 
10132
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
10133
if test "$GCC" = yes; then
 
10134
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
10135
fi
 
10136
 
 
10137
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
10138
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
10139
hardcode_action=
 
10140
if test -n "$hardcode_libdir_flag_spec" || \
 
10141
   test -n "$runpath_var" || \
 
10142
   test "X$hardcode_automatic" = "Xyes" ; then
 
10143
 
 
10144
  # We can hardcode non-existant directories.
 
10145
  if test "$hardcode_direct" != no &&
 
10146
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
10147
     # have to relink, otherwise we might link with an installed library
 
10148
     # when we should be linking with a yet-to-be-installed one
 
10149
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
10150
     test "$hardcode_minus_L" != no; then
 
10151
    # Linking always hardcodes the temporary library directory.
 
10152
    hardcode_action=relink
 
10153
  else
 
10154
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
10155
    hardcode_action=immediate
 
10156
  fi
 
10157
else
 
10158
  # We cannot hardcode anything, or else we can only hardcode existing
 
10159
  # directories.
 
10160
  hardcode_action=unsupported
 
10161
fi
 
10162
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
10163
$as_echo "$hardcode_action" >&6; }
 
10164
 
 
10165
if test "$hardcode_action" = relink; then
 
10166
  # Fast installation is not supported
 
10167
  enable_fast_install=no
 
10168
elif test "$shlibpath_overrides_runpath" = yes ||
 
10169
     test "$enable_shared" = no; then
 
10170
  # Fast installation is not necessary
 
10171
  enable_fast_install=needless
 
10172
fi
 
10173
 
 
10174
striplib=
 
10175
old_striplib=
 
10176
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
10177
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
10178
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
 
10179
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
10180
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
10181
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10182
$as_echo "yes" >&6; }
 
10183
else
 
10184
# FIXME - insert some real tests, host_os isn't really good enough
 
10185
  case $host_os in
 
10186
   darwin*)
 
10187
       if test -n "$STRIP" ; then
 
10188
         striplib="$STRIP -x"
 
10189
         old_striplib="$STRIP -S"
 
10190
         { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10191
$as_echo "yes" >&6; }
 
10192
       else
 
10193
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10194
$as_echo "no" >&6; }
 
10195
fi
 
10196
       ;;
 
10197
   *)
 
10198
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10199
$as_echo "no" >&6; }
 
10200
    ;;
 
10201
  esac
 
10202
fi
 
10203
 
 
10204
if test "x$enable_dlopen" != xyes; then
 
10205
  enable_dlopen=unknown
 
10206
  enable_dlopen_self=unknown
 
10207
  enable_dlopen_self_static=unknown
 
10208
else
 
10209
  lt_cv_dlopen=no
 
10210
  lt_cv_dlopen_libs=
 
10211
 
 
10212
  case $host_os in
 
10213
  beos*)
 
10214
    lt_cv_dlopen="load_add_on"
 
10215
    lt_cv_dlopen_libs=
 
10216
    lt_cv_dlopen_self=yes
 
10217
    ;;
 
10218
 
 
10219
  mingw* | pw32*)
 
10220
    lt_cv_dlopen="LoadLibrary"
 
10221
    lt_cv_dlopen_libs=
 
10222
   ;;
 
10223
 
 
10224
  cygwin*)
 
10225
    lt_cv_dlopen="dlopen"
 
10226
    lt_cv_dlopen_libs=
 
10227
   ;;
 
10228
 
 
10229
  darwin*)
 
10230
  # if libdl is installed we need to link against it
 
10231
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10232
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
10233
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
10234
  $as_echo_n "(cached) " >&6
 
10235
else
 
10236
  ac_check_lib_save_LIBS=$LIBS
 
10237
LIBS="-ldl  $LIBS"
 
10238
cat >conftest.$ac_ext <<_ACEOF
 
10239
/* confdefs.h.  */
 
10240
_ACEOF
 
10241
cat confdefs.h >>conftest.$ac_ext
 
10242
cat >>conftest.$ac_ext <<_ACEOF
 
10243
/* end confdefs.h.  */
 
10244
 
 
10245
/* Override any GCC internal prototype to avoid an error.
 
10246
   Use char because int might match the return type of a GCC
 
10247
   builtin and then its argument prototype would still apply.  */
 
10248
#ifdef __cplusplus
 
10249
extern "C"
 
10250
#endif
 
10251
char dlopen ();
 
10252
int
 
10253
main ()
 
10254
{
 
10255
return dlopen ();
 
10256
  ;
 
10257
  return 0;
 
10258
}
 
10259
_ACEOF
 
10260
rm -f conftest.$ac_objext conftest$ac_exeext
 
10261
if { (ac_try="$ac_link"
 
10262
case "(($ac_try" in
 
10263
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10264
  *) ac_try_echo=$ac_try;;
 
10265
esac
 
10266
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10267
$as_echo "$ac_try_echo") >&5
 
10268
  (eval "$ac_link") 2>conftest.er1
 
10269
  ac_status=$?
 
10270
  grep -v '^ *+' conftest.er1 >conftest.err
 
10271
  rm -f conftest.er1
 
10272
  cat conftest.err >&5
 
10273
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10274
  (exit $ac_status); } && {
 
10275
         test -z "$ac_c_werror_flag" ||
 
10276
         test ! -s conftest.err
 
10277
       } && test -s conftest$ac_exeext && {
 
10278
         test "$cross_compiling" = yes ||
 
10279
         $as_test_x conftest$ac_exeext
 
10280
       }; then
 
10281
  ac_cv_lib_dl_dlopen=yes
 
10282
else
 
10283
  $as_echo "$as_me: failed program was:" >&5
 
10284
sed 's/^/| /' conftest.$ac_ext >&5
 
10285
 
 
10286
        ac_cv_lib_dl_dlopen=no
 
10287
fi
 
10288
 
 
10289
rm -rf conftest.dSYM
 
10290
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10291
      conftest$ac_exeext conftest.$ac_ext
 
10292
LIBS=$ac_check_lib_save_LIBS
 
10293
fi
 
10294
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10295
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10296
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
10297
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
10298
else
 
10299
 
 
10300
    lt_cv_dlopen="dyld"
 
10301
    lt_cv_dlopen_libs=
 
10302
    lt_cv_dlopen_self=yes
 
10303
 
 
10304
fi
 
10305
 
 
10306
   ;;
 
10307
 
 
10308
  *)
 
10309
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 
10310
$as_echo_n "checking for shl_load... " >&6; }
 
10311
if test "${ac_cv_func_shl_load+set}" = set; then
 
10312
  $as_echo_n "(cached) " >&6
 
10313
else
 
10314
  cat >conftest.$ac_ext <<_ACEOF
 
10315
/* confdefs.h.  */
 
10316
_ACEOF
 
10317
cat confdefs.h >>conftest.$ac_ext
 
10318
cat >>conftest.$ac_ext <<_ACEOF
 
10319
/* end confdefs.h.  */
 
10320
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
 
10321
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
10322
#define shl_load innocuous_shl_load
 
10323
 
 
10324
/* System header to define __stub macros and hopefully few prototypes,
 
10325
    which can conflict with char shl_load (); below.
 
10326
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
10327
    <limits.h> exists even on freestanding compilers.  */
 
10328
 
 
10329
#ifdef __STDC__
 
10330
# include <limits.h>
 
10331
#else
 
10332
# include <assert.h>
 
10333
#endif
 
10334
 
 
10335
#undef shl_load
 
10336
 
 
10337
/* Override any GCC internal prototype to avoid an error.
 
10338
   Use char because int might match the return type of a GCC
 
10339
   builtin and then its argument prototype would still apply.  */
 
10340
#ifdef __cplusplus
 
10341
extern "C"
 
10342
#endif
 
10343
char shl_load ();
 
10344
/* The GNU C library defines this for functions which it implements
 
10345
    to always fail with ENOSYS.  Some functions are actually named
 
10346
    something starting with __ and the normal name is an alias.  */
 
10347
#if defined __stub_shl_load || defined __stub___shl_load
 
10348
choke me
 
10349
#endif
 
10350
 
 
10351
int
 
10352
main ()
 
10353
{
 
10354
return shl_load ();
 
10355
  ;
 
10356
  return 0;
 
10357
}
 
10358
_ACEOF
 
10359
rm -f conftest.$ac_objext conftest$ac_exeext
 
10360
if { (ac_try="$ac_link"
 
10361
case "(($ac_try" in
 
10362
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10363
  *) ac_try_echo=$ac_try;;
 
10364
esac
 
10365
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10366
$as_echo "$ac_try_echo") >&5
 
10367
  (eval "$ac_link") 2>conftest.er1
 
10368
  ac_status=$?
 
10369
  grep -v '^ *+' conftest.er1 >conftest.err
 
10370
  rm -f conftest.er1
 
10371
  cat conftest.err >&5
 
10372
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10373
  (exit $ac_status); } && {
 
10374
         test -z "$ac_c_werror_flag" ||
 
10375
         test ! -s conftest.err
 
10376
       } && test -s conftest$ac_exeext && {
 
10377
         test "$cross_compiling" = yes ||
 
10378
         $as_test_x conftest$ac_exeext
 
10379
       }; then
 
10380
  ac_cv_func_shl_load=yes
 
10381
else
 
10382
  $as_echo "$as_me: failed program was:" >&5
 
10383
sed 's/^/| /' conftest.$ac_ext >&5
 
10384
 
 
10385
        ac_cv_func_shl_load=no
 
10386
fi
 
10387
 
 
10388
rm -rf conftest.dSYM
 
10389
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10390
      conftest$ac_exeext conftest.$ac_ext
 
10391
fi
 
10392
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
10393
$as_echo "$ac_cv_func_shl_load" >&6; }
 
10394
if test "x$ac_cv_func_shl_load" = x""yes; then
 
10395
  lt_cv_dlopen="shl_load"
 
10396
else
 
10397
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10398
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
10399
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
10400
  $as_echo_n "(cached) " >&6
 
10401
else
 
10402
  ac_check_lib_save_LIBS=$LIBS
 
10403
LIBS="-ldld  $LIBS"
 
10404
cat >conftest.$ac_ext <<_ACEOF
 
10405
/* confdefs.h.  */
 
10406
_ACEOF
 
10407
cat confdefs.h >>conftest.$ac_ext
 
10408
cat >>conftest.$ac_ext <<_ACEOF
 
10409
/* end confdefs.h.  */
 
10410
 
 
10411
/* Override any GCC internal prototype to avoid an error.
 
10412
   Use char because int might match the return type of a GCC
 
10413
   builtin and then its argument prototype would still apply.  */
 
10414
#ifdef __cplusplus
 
10415
extern "C"
 
10416
#endif
 
10417
char shl_load ();
 
10418
int
 
10419
main ()
 
10420
{
 
10421
return shl_load ();
 
10422
  ;
 
10423
  return 0;
 
10424
}
 
10425
_ACEOF
 
10426
rm -f conftest.$ac_objext conftest$ac_exeext
 
10427
if { (ac_try="$ac_link"
 
10428
case "(($ac_try" in
 
10429
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10430
  *) ac_try_echo=$ac_try;;
 
10431
esac
 
10432
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10433
$as_echo "$ac_try_echo") >&5
 
10434
  (eval "$ac_link") 2>conftest.er1
 
10435
  ac_status=$?
 
10436
  grep -v '^ *+' conftest.er1 >conftest.err
 
10437
  rm -f conftest.er1
 
10438
  cat conftest.err >&5
 
10439
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10440
  (exit $ac_status); } && {
 
10441
         test -z "$ac_c_werror_flag" ||
 
10442
         test ! -s conftest.err
 
10443
       } && test -s conftest$ac_exeext && {
 
10444
         test "$cross_compiling" = yes ||
 
10445
         $as_test_x conftest$ac_exeext
 
10446
       }; then
 
10447
  ac_cv_lib_dld_shl_load=yes
 
10448
else
 
10449
  $as_echo "$as_me: failed program was:" >&5
 
10450
sed 's/^/| /' conftest.$ac_ext >&5
 
10451
 
 
10452
        ac_cv_lib_dld_shl_load=no
 
10453
fi
 
10454
 
 
10455
rm -rf conftest.dSYM
 
10456
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10457
      conftest$ac_exeext conftest.$ac_ext
 
10458
LIBS=$ac_check_lib_save_LIBS
 
10459
fi
 
10460
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
10461
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
10462
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
10463
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
10464
else
 
10465
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 
10466
$as_echo_n "checking for dlopen... " >&6; }
 
10467
if test "${ac_cv_func_dlopen+set}" = set; then
 
10468
  $as_echo_n "(cached) " >&6
 
10469
else
 
10470
  cat >conftest.$ac_ext <<_ACEOF
 
10471
/* confdefs.h.  */
 
10472
_ACEOF
 
10473
cat confdefs.h >>conftest.$ac_ext
 
10474
cat >>conftest.$ac_ext <<_ACEOF
 
10475
/* end confdefs.h.  */
 
10476
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 
10477
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
10478
#define dlopen innocuous_dlopen
 
10479
 
 
10480
/* System header to define __stub macros and hopefully few prototypes,
 
10481
    which can conflict with char dlopen (); below.
 
10482
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
10483
    <limits.h> exists even on freestanding compilers.  */
 
10484
 
 
10485
#ifdef __STDC__
 
10486
# include <limits.h>
 
10487
#else
 
10488
# include <assert.h>
 
10489
#endif
 
10490
 
 
10491
#undef dlopen
 
10492
 
 
10493
/* Override any GCC internal prototype to avoid an error.
 
10494
   Use char because int might match the return type of a GCC
 
10495
   builtin and then its argument prototype would still apply.  */
 
10496
#ifdef __cplusplus
 
10497
extern "C"
 
10498
#endif
 
10499
char dlopen ();
 
10500
/* The GNU C library defines this for functions which it implements
 
10501
    to always fail with ENOSYS.  Some functions are actually named
 
10502
    something starting with __ and the normal name is an alias.  */
 
10503
#if defined __stub_dlopen || defined __stub___dlopen
 
10504
choke me
 
10505
#endif
 
10506
 
 
10507
int
 
10508
main ()
 
10509
{
 
10510
return dlopen ();
 
10511
  ;
 
10512
  return 0;
 
10513
}
 
10514
_ACEOF
 
10515
rm -f conftest.$ac_objext conftest$ac_exeext
 
10516
if { (ac_try="$ac_link"
 
10517
case "(($ac_try" in
 
10518
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10519
  *) ac_try_echo=$ac_try;;
 
10520
esac
 
10521
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10522
$as_echo "$ac_try_echo") >&5
 
10523
  (eval "$ac_link") 2>conftest.er1
 
10524
  ac_status=$?
 
10525
  grep -v '^ *+' conftest.er1 >conftest.err
 
10526
  rm -f conftest.er1
 
10527
  cat conftest.err >&5
 
10528
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10529
  (exit $ac_status); } && {
 
10530
         test -z "$ac_c_werror_flag" ||
 
10531
         test ! -s conftest.err
 
10532
       } && test -s conftest$ac_exeext && {
 
10533
         test "$cross_compiling" = yes ||
 
10534
         $as_test_x conftest$ac_exeext
 
10535
       }; then
 
10536
  ac_cv_func_dlopen=yes
 
10537
else
 
10538
  $as_echo "$as_me: failed program was:" >&5
 
10539
sed 's/^/| /' conftest.$ac_ext >&5
 
10540
 
 
10541
        ac_cv_func_dlopen=no
 
10542
fi
 
10543
 
 
10544
rm -rf conftest.dSYM
 
10545
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10546
      conftest$ac_exeext conftest.$ac_ext
 
10547
fi
 
10548
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
10549
$as_echo "$ac_cv_func_dlopen" >&6; }
 
10550
if test "x$ac_cv_func_dlopen" = x""yes; then
 
10551
  lt_cv_dlopen="dlopen"
 
10552
else
 
10553
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10554
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
10555
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
10556
  $as_echo_n "(cached) " >&6
 
10557
else
 
10558
  ac_check_lib_save_LIBS=$LIBS
 
10559
LIBS="-ldl  $LIBS"
 
10560
cat >conftest.$ac_ext <<_ACEOF
 
10561
/* confdefs.h.  */
 
10562
_ACEOF
 
10563
cat confdefs.h >>conftest.$ac_ext
 
10564
cat >>conftest.$ac_ext <<_ACEOF
 
10565
/* end confdefs.h.  */
 
10566
 
 
10567
/* Override any GCC internal prototype to avoid an error.
 
10568
   Use char because int might match the return type of a GCC
 
10569
   builtin and then its argument prototype would still apply.  */
 
10570
#ifdef __cplusplus
 
10571
extern "C"
 
10572
#endif
 
10573
char dlopen ();
 
10574
int
 
10575
main ()
 
10576
{
 
10577
return dlopen ();
 
10578
  ;
 
10579
  return 0;
 
10580
}
 
10581
_ACEOF
 
10582
rm -f conftest.$ac_objext conftest$ac_exeext
 
10583
if { (ac_try="$ac_link"
 
10584
case "(($ac_try" in
 
10585
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10586
  *) ac_try_echo=$ac_try;;
 
10587
esac
 
10588
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10589
$as_echo "$ac_try_echo") >&5
 
10590
  (eval "$ac_link") 2>conftest.er1
 
10591
  ac_status=$?
 
10592
  grep -v '^ *+' conftest.er1 >conftest.err
 
10593
  rm -f conftest.er1
 
10594
  cat conftest.err >&5
 
10595
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10596
  (exit $ac_status); } && {
 
10597
         test -z "$ac_c_werror_flag" ||
 
10598
         test ! -s conftest.err
 
10599
       } && test -s conftest$ac_exeext && {
 
10600
         test "$cross_compiling" = yes ||
 
10601
         $as_test_x conftest$ac_exeext
 
10602
       }; then
 
10603
  ac_cv_lib_dl_dlopen=yes
 
10604
else
 
10605
  $as_echo "$as_me: failed program was:" >&5
 
10606
sed 's/^/| /' conftest.$ac_ext >&5
 
10607
 
 
10608
        ac_cv_lib_dl_dlopen=no
 
10609
fi
 
10610
 
 
10611
rm -rf conftest.dSYM
 
10612
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10613
      conftest$ac_exeext conftest.$ac_ext
 
10614
LIBS=$ac_check_lib_save_LIBS
 
10615
fi
 
10616
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10617
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10618
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
10619
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
10620
else
 
10621
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10622
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
10623
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
10624
  $as_echo_n "(cached) " >&6
 
10625
else
 
10626
  ac_check_lib_save_LIBS=$LIBS
 
10627
LIBS="-lsvld  $LIBS"
 
10628
cat >conftest.$ac_ext <<_ACEOF
 
10629
/* confdefs.h.  */
 
10630
_ACEOF
 
10631
cat confdefs.h >>conftest.$ac_ext
 
10632
cat >>conftest.$ac_ext <<_ACEOF
 
10633
/* end confdefs.h.  */
 
10634
 
 
10635
/* Override any GCC internal prototype to avoid an error.
 
10636
   Use char because int might match the return type of a GCC
 
10637
   builtin and then its argument prototype would still apply.  */
 
10638
#ifdef __cplusplus
 
10639
extern "C"
 
10640
#endif
 
10641
char dlopen ();
 
10642
int
 
10643
main ()
 
10644
{
 
10645
return dlopen ();
 
10646
  ;
 
10647
  return 0;
 
10648
}
 
10649
_ACEOF
 
10650
rm -f conftest.$ac_objext conftest$ac_exeext
 
10651
if { (ac_try="$ac_link"
 
10652
case "(($ac_try" in
 
10653
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10654
  *) ac_try_echo=$ac_try;;
 
10655
esac
 
10656
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10657
$as_echo "$ac_try_echo") >&5
 
10658
  (eval "$ac_link") 2>conftest.er1
 
10659
  ac_status=$?
 
10660
  grep -v '^ *+' conftest.er1 >conftest.err
 
10661
  rm -f conftest.er1
 
10662
  cat conftest.err >&5
 
10663
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10664
  (exit $ac_status); } && {
 
10665
         test -z "$ac_c_werror_flag" ||
 
10666
         test ! -s conftest.err
 
10667
       } && test -s conftest$ac_exeext && {
 
10668
         test "$cross_compiling" = yes ||
 
10669
         $as_test_x conftest$ac_exeext
 
10670
       }; then
 
10671
  ac_cv_lib_svld_dlopen=yes
 
10672
else
 
10673
  $as_echo "$as_me: failed program was:" >&5
 
10674
sed 's/^/| /' conftest.$ac_ext >&5
 
10675
 
 
10676
        ac_cv_lib_svld_dlopen=no
 
10677
fi
 
10678
 
 
10679
rm -rf conftest.dSYM
 
10680
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10681
      conftest$ac_exeext conftest.$ac_ext
 
10682
LIBS=$ac_check_lib_save_LIBS
 
10683
fi
 
10684
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10685
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
10686
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
10687
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
10688
else
 
10689
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10690
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
10691
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
10692
  $as_echo_n "(cached) " >&6
 
10693
else
 
10694
  ac_check_lib_save_LIBS=$LIBS
 
10695
LIBS="-ldld  $LIBS"
 
10696
cat >conftest.$ac_ext <<_ACEOF
 
10697
/* confdefs.h.  */
 
10698
_ACEOF
 
10699
cat confdefs.h >>conftest.$ac_ext
 
10700
cat >>conftest.$ac_ext <<_ACEOF
 
10701
/* end confdefs.h.  */
 
10702
 
 
10703
/* Override any GCC internal prototype to avoid an error.
 
10704
   Use char because int might match the return type of a GCC
 
10705
   builtin and then its argument prototype would still apply.  */
 
10706
#ifdef __cplusplus
 
10707
extern "C"
 
10708
#endif
 
10709
char dld_link ();
 
10710
int
 
10711
main ()
 
10712
{
 
10713
return dld_link ();
 
10714
  ;
 
10715
  return 0;
 
10716
}
 
10717
_ACEOF
 
10718
rm -f conftest.$ac_objext conftest$ac_exeext
 
10719
if { (ac_try="$ac_link"
 
10720
case "(($ac_try" in
 
10721
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10722
  *) ac_try_echo=$ac_try;;
 
10723
esac
 
10724
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10725
$as_echo "$ac_try_echo") >&5
 
10726
  (eval "$ac_link") 2>conftest.er1
 
10727
  ac_status=$?
 
10728
  grep -v '^ *+' conftest.er1 >conftest.err
 
10729
  rm -f conftest.er1
 
10730
  cat conftest.err >&5
 
10731
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10732
  (exit $ac_status); } && {
 
10733
         test -z "$ac_c_werror_flag" ||
 
10734
         test ! -s conftest.err
 
10735
       } && test -s conftest$ac_exeext && {
 
10736
         test "$cross_compiling" = yes ||
 
10737
         $as_test_x conftest$ac_exeext
 
10738
       }; then
 
10739
  ac_cv_lib_dld_dld_link=yes
 
10740
else
 
10741
  $as_echo "$as_me: failed program was:" >&5
 
10742
sed 's/^/| /' conftest.$ac_ext >&5
 
10743
 
 
10744
        ac_cv_lib_dld_dld_link=no
 
10745
fi
 
10746
 
 
10747
rm -rf conftest.dSYM
 
10748
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10749
      conftest$ac_exeext conftest.$ac_ext
 
10750
LIBS=$ac_check_lib_save_LIBS
 
10751
fi
 
10752
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10753
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
10754
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
10755
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
10756
fi
 
10757
 
 
10758
 
 
10759
fi
 
10760
 
 
10761
 
 
10762
fi
 
10763
 
 
10764
 
 
10765
fi
 
10766
 
 
10767
 
 
10768
fi
 
10769
 
 
10770
 
 
10771
fi
 
10772
 
 
10773
    ;;
 
10774
  esac
 
10775
 
 
10776
  if test "x$lt_cv_dlopen" != xno; then
 
10777
    enable_dlopen=yes
 
10778
  else
 
10779
    enable_dlopen=no
 
10780
  fi
 
10781
 
 
10782
  case $lt_cv_dlopen in
 
10783
  dlopen)
 
10784
    save_CPPFLAGS="$CPPFLAGS"
 
10785
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
10786
 
 
10787
    save_LDFLAGS="$LDFLAGS"
 
10788
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
10789
 
 
10790
    save_LIBS="$LIBS"
 
10791
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
10792
 
 
10793
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10794
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
10795
if test "${lt_cv_dlopen_self+set}" = set; then
 
10796
  $as_echo_n "(cached) " >&6
 
10797
else
 
10798
          if test "$cross_compiling" = yes; then :
 
10799
  lt_cv_dlopen_self=cross
 
10800
else
 
10801
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
10802
  lt_status=$lt_dlunknown
 
10803
  cat > conftest.$ac_ext <<EOF
 
10804
#line 10804 "configure"
 
10805
#include "confdefs.h"
 
10806
 
 
10807
#if HAVE_DLFCN_H
 
10808
#include <dlfcn.h>
 
10809
#endif
 
10810
 
 
10811
#include <stdio.h>
 
10812
 
 
10813
#ifdef RTLD_GLOBAL
 
10814
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
10815
#else
 
10816
#  ifdef DL_GLOBAL
 
10817
#    define LT_DLGLOBAL         DL_GLOBAL
 
10818
#  else
 
10819
#    define LT_DLGLOBAL         0
 
10820
#  endif
 
10821
#endif
 
10822
 
 
10823
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
10824
   find out it does not work in some platform. */
 
10825
#ifndef LT_DLLAZY_OR_NOW
 
10826
#  ifdef RTLD_LAZY
 
10827
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
10828
#  else
 
10829
#    ifdef DL_LAZY
 
10830
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
10831
#    else
 
10832
#      ifdef RTLD_NOW
 
10833
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
10834
#      else
 
10835
#        ifdef DL_NOW
 
10836
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
10837
#        else
 
10838
#          define LT_DLLAZY_OR_NOW      0
 
10839
#        endif
 
10840
#      endif
 
10841
#    endif
 
10842
#  endif
 
10843
#endif
 
10844
 
 
10845
#ifdef __cplusplus
 
10846
extern "C" void exit (int);
 
10847
#endif
 
10848
 
 
10849
void fnord() { int i=42;}
 
10850
int main ()
 
10851
{
 
10852
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
10853
  int status = $lt_dlunknown;
 
10854
 
 
10855
  if (self)
 
10856
    {
 
10857
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
10858
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
10859
      /* dlclose (self); */
 
10860
    }
 
10861
  else
 
10862
    puts (dlerror ());
 
10863
 
 
10864
    exit (status);
 
10865
}
 
10866
EOF
 
10867
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10868
  (eval $ac_link) 2>&5
 
10869
  ac_status=$?
 
10870
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10871
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10872
    (./conftest; exit; ) >&5 2>/dev/null
 
10873
    lt_status=$?
 
10874
    case x$lt_status in
 
10875
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
10876
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
10877
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
10878
    esac
 
10879
  else :
 
10880
    # compilation failed
 
10881
    lt_cv_dlopen_self=no
 
10882
  fi
 
10883
fi
 
10884
rm -fr conftest*
 
10885
 
 
10886
 
 
10887
fi
 
10888
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10889
$as_echo "$lt_cv_dlopen_self" >&6; }
 
10890
 
 
10891
    if test "x$lt_cv_dlopen_self" = xyes; then
 
10892
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
10893
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10894
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
10895
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
10896
  $as_echo_n "(cached) " >&6
 
10897
else
 
10898
          if test "$cross_compiling" = yes; then :
 
10899
  lt_cv_dlopen_self_static=cross
 
10900
else
 
10901
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
10902
  lt_status=$lt_dlunknown
 
10903
  cat > conftest.$ac_ext <<EOF
 
10904
#line 10904 "configure"
 
10905
#include "confdefs.h"
 
10906
 
 
10907
#if HAVE_DLFCN_H
 
10908
#include <dlfcn.h>
 
10909
#endif
 
10910
 
 
10911
#include <stdio.h>
 
10912
 
 
10913
#ifdef RTLD_GLOBAL
 
10914
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
10915
#else
 
10916
#  ifdef DL_GLOBAL
 
10917
#    define LT_DLGLOBAL         DL_GLOBAL
 
10918
#  else
 
10919
#    define LT_DLGLOBAL         0
 
10920
#  endif
 
10921
#endif
 
10922
 
 
10923
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
10924
   find out it does not work in some platform. */
 
10925
#ifndef LT_DLLAZY_OR_NOW
 
10926
#  ifdef RTLD_LAZY
 
10927
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
10928
#  else
 
10929
#    ifdef DL_LAZY
 
10930
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
10931
#    else
 
10932
#      ifdef RTLD_NOW
 
10933
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
10934
#      else
 
10935
#        ifdef DL_NOW
 
10936
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
10937
#        else
 
10938
#          define LT_DLLAZY_OR_NOW      0
 
10939
#        endif
 
10940
#      endif
 
10941
#    endif
 
10942
#  endif
 
10943
#endif
 
10944
 
 
10945
#ifdef __cplusplus
 
10946
extern "C" void exit (int);
 
10947
#endif
 
10948
 
 
10949
void fnord() { int i=42;}
 
10950
int main ()
 
10951
{
 
10952
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
10953
  int status = $lt_dlunknown;
 
10954
 
 
10955
  if (self)
 
10956
    {
 
10957
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
10958
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
10959
      /* dlclose (self); */
 
10960
    }
 
10961
  else
 
10962
    puts (dlerror ());
 
10963
 
 
10964
    exit (status);
 
10965
}
 
10966
EOF
 
10967
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10968
  (eval $ac_link) 2>&5
 
10969
  ac_status=$?
 
10970
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10971
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10972
    (./conftest; exit; ) >&5 2>/dev/null
 
10973
    lt_status=$?
 
10974
    case x$lt_status in
 
10975
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
10976
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
10977
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
10978
    esac
 
10979
  else :
 
10980
    # compilation failed
 
10981
    lt_cv_dlopen_self_static=no
 
10982
  fi
 
10983
fi
 
10984
rm -fr conftest*
 
10985
 
 
10986
 
 
10987
fi
 
10988
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10989
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
10990
    fi
 
10991
 
 
10992
    CPPFLAGS="$save_CPPFLAGS"
 
10993
    LDFLAGS="$save_LDFLAGS"
 
10994
    LIBS="$save_LIBS"
 
10995
    ;;
 
10996
  esac
 
10997
 
 
10998
  case $lt_cv_dlopen_self in
 
10999
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
11000
  *) enable_dlopen_self=unknown ;;
 
11001
  esac
 
11002
 
 
11003
  case $lt_cv_dlopen_self_static in
 
11004
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
11005
  *) enable_dlopen_self_static=unknown ;;
 
11006
  esac
 
11007
fi
 
11008
 
 
11009
 
 
11010
# Report which library types will actually be built
 
11011
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
11012
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
11013
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
11014
$as_echo "$can_build_shared" >&6; }
 
11015
 
 
11016
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
11017
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
11018
test "$can_build_shared" = "no" && enable_shared=no
 
11019
 
 
11020
# On AIX, shared libraries and static libraries use the same namespace, and
 
11021
# are all built from PIC.
 
11022
case $host_os in
 
11023
aix3*)
 
11024
  test "$enable_shared" = yes && enable_static=no
 
11025
  if test -n "$RANLIB"; then
 
11026
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
11027
    postinstall_cmds='$RANLIB $lib'
 
11028
  fi
 
11029
  ;;
 
11030
 
 
11031
aix[4-9]*)
 
11032
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
11033
    test "$enable_shared" = yes && enable_static=no
 
11034
  fi
 
11035
    ;;
 
11036
esac
 
11037
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
11038
$as_echo "$enable_shared" >&6; }
 
11039
 
 
11040
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
11041
$as_echo_n "checking whether to build static libraries... " >&6; }
 
11042
# Make sure either enable_shared or enable_static is yes.
 
11043
test "$enable_shared" = yes || enable_static=yes
 
11044
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
11045
$as_echo "$enable_static" >&6; }
 
11046
 
 
11047
# The else clause should only fire when bootstrapping the
 
11048
# libtool distribution, otherwise you forgot to ship ltmain.sh
 
11049
# with your package, and you will get complaints that there are
 
11050
# no rules to generate ltmain.sh.
 
11051
if test -f "$ltmain"; then
 
11052
  # See if we are running on zsh, and set the options which allow our commands through
 
11053
  # without removal of \ escapes.
 
11054
  if test -n "${ZSH_VERSION+set}" ; then
 
11055
    setopt NO_GLOB_SUBST
 
11056
  fi
 
11057
  # Now quote all the things that may contain metacharacters while being
 
11058
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
 
11059
  # variables and quote the copies for generation of the libtool script.
 
11060
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
 
11061
    SED SHELL STRIP \
 
11062
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 
11063
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 
11064
    deplibs_check_method reload_flag reload_cmds need_locks \
 
11065
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 
11066
    lt_cv_sys_global_symbol_to_c_name_address \
 
11067
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 
11068
    old_postinstall_cmds old_postuninstall_cmds \
 
11069
    compiler \
 
11070
    CC \
 
11071
    LD \
 
11072
    lt_prog_compiler_wl \
 
11073
    lt_prog_compiler_pic \
 
11074
    lt_prog_compiler_static \
 
11075
    lt_prog_compiler_no_builtin_flag \
 
11076
    export_dynamic_flag_spec \
 
11077
    thread_safe_flag_spec \
 
11078
    whole_archive_flag_spec \
 
11079
    enable_shared_with_static_runtimes \
 
11080
    old_archive_cmds \
 
11081
    old_archive_from_new_cmds \
 
11082
    predep_objects \
 
11083
    postdep_objects \
 
11084
    predeps \
 
11085
    postdeps \
 
11086
    compiler_lib_search_path \
 
11087
    compiler_lib_search_dirs \
 
11088
    archive_cmds \
 
11089
    archive_expsym_cmds \
 
11090
    postinstall_cmds \
 
11091
    postuninstall_cmds \
 
11092
    old_archive_from_expsyms_cmds \
 
11093
    allow_undefined_flag \
 
11094
    no_undefined_flag \
 
11095
    export_symbols_cmds \
 
11096
    hardcode_libdir_flag_spec \
 
11097
    hardcode_libdir_flag_spec_ld \
 
11098
    hardcode_libdir_separator \
 
11099
    hardcode_automatic \
 
11100
    module_cmds \
 
11101
    module_expsym_cmds \
 
11102
    lt_cv_prog_compiler_c_o \
 
11103
    fix_srcfile_path \
 
11104
    exclude_expsyms \
 
11105
    include_expsyms; do
 
11106
 
 
11107
    case $var in
 
11108
    old_archive_cmds | \
 
11109
    old_archive_from_new_cmds | \
 
11110
    archive_cmds | \
 
11111
    archive_expsym_cmds | \
 
11112
    module_cmds | \
 
11113
    module_expsym_cmds | \
 
11114
    old_archive_from_expsyms_cmds | \
 
11115
    export_symbols_cmds | \
 
11116
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
 
11117
    postinstall_cmds | postuninstall_cmds | \
 
11118
    old_postinstall_cmds | old_postuninstall_cmds | \
 
11119
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 
11120
      # Double-quote double-evaled strings.
 
11121
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 
11122
      ;;
 
11123
    *)
 
11124
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 
11125
      ;;
 
11126
    esac
 
11127
  done
 
11128
 
 
11129
  case $lt_echo in
 
11130
  *'\$0 --fallback-echo"')
 
11131
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 
11132
    ;;
 
11133
  esac
 
11134
 
 
11135
cfgfile="${ofile}T"
 
11136
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
 
11137
  $rm -f "$cfgfile"
 
11138
  { $as_echo "$as_me:$LINENO: creating $ofile" >&5
 
11139
$as_echo "$as_me: creating $ofile" >&6;}
 
11140
 
 
11141
  cat <<__EOF__ >> "$cfgfile"
 
11142
#! $SHELL
 
11143
 
 
11144
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
11145
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
 
11146
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
11147
#
 
11148
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
 
11149
# Free Software Foundation, Inc.
 
11150
#
 
11151
# This file is part of GNU Libtool:
 
11152
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 
11153
#
 
11154
# This program is free software; you can redistribute it and/or modify
 
11155
# it under the terms of the GNU General Public License as published by
 
11156
# the Free Software Foundation; either version 2 of the License, or
 
11157
# (at your option) any later version.
 
11158
#
 
11159
# This program is distributed in the hope that it will be useful, but
 
11160
# WITHOUT ANY WARRANTY; without even the implied warranty of
 
11161
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
11162
# General Public License for more details.
 
11163
#
 
11164
# You should have received a copy of the GNU General Public License
 
11165
# along with this program; if not, write to the Free Software
 
11166
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
11167
#
 
11168
# As a special exception to the GNU General Public License, if you
 
11169
# distribute this file as part of a program that contains a
 
11170
# configuration script generated by Autoconf, you may include it under
 
11171
# the same distribution terms that you use for the rest of that program.
 
11172
 
 
11173
# A sed program that does not truncate output.
 
11174
SED=$lt_SED
 
11175
 
 
11176
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
11177
Xsed="$SED -e 1s/^X//"
 
11178
 
 
11179
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
11180
# if CDPATH is set.
 
11181
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
11182
 
 
11183
# The names of the tagged configurations supported by this script.
 
11184
available_tags=
 
11185
 
 
11186
# ### BEGIN LIBTOOL CONFIG
 
11187
 
 
11188
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
11189
 
 
11190
# Shell to use when invoking shell scripts.
 
11191
SHELL=$lt_SHELL
 
11192
 
 
11193
# Whether or not to build shared libraries.
 
11194
build_libtool_libs=$enable_shared
 
11195
 
 
11196
# Whether or not to build static libraries.
 
11197
build_old_libs=$enable_static
 
11198
 
 
11199
# Whether or not to add -lc for building shared libraries.
 
11200
build_libtool_need_lc=$archive_cmds_need_lc
 
11201
 
 
11202
# Whether or not to disallow shared libs when runtime libs are static
 
11203
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
11204
 
 
11205
# Whether or not to optimize for fast installation.
 
11206
fast_install=$enable_fast_install
 
11207
 
 
11208
# The host system.
 
11209
host_alias=$host_alias
 
11210
host=$host
 
11211
host_os=$host_os
 
11212
 
 
11213
# The build system.
 
11214
build_alias=$build_alias
 
11215
build=$build
 
11216
build_os=$build_os
 
11217
 
 
11218
# An echo program that does not interpret backslashes.
 
11219
echo=$lt_echo
 
11220
 
 
11221
# The archiver.
 
11222
AR=$lt_AR
 
11223
AR_FLAGS=$lt_AR_FLAGS
 
11224
 
 
11225
# A C compiler.
 
11226
LTCC=$lt_LTCC
 
11227
 
 
11228
# LTCC compiler flags.
 
11229
LTCFLAGS=$lt_LTCFLAGS
 
11230
 
 
11231
# A language-specific compiler.
 
11232
CC=$lt_compiler
 
11233
 
 
11234
# Is the compiler the GNU C compiler?
 
11235
with_gcc=$GCC
 
11236
 
 
11237
# An ERE matcher.
 
11238
EGREP=$lt_EGREP
 
11239
 
 
11240
# The linker used to build libraries.
 
11241
LD=$lt_LD
 
11242
 
 
11243
# Whether we need hard or soft links.
 
11244
LN_S=$lt_LN_S
 
11245
 
 
11246
# A BSD-compatible nm program.
 
11247
NM=$lt_NM
 
11248
 
 
11249
# A symbol stripping program
 
11250
STRIP=$lt_STRIP
 
11251
 
 
11252
# Used to examine libraries when file_magic_cmd begins "file"
 
11253
MAGIC_CMD=$MAGIC_CMD
 
11254
 
 
11255
# Used on cygwin: DLL creation program.
 
11256
DLLTOOL="$DLLTOOL"
 
11257
 
 
11258
# Used on cygwin: object dumper.
 
11259
OBJDUMP="$OBJDUMP"
 
11260
 
 
11261
# Used on cygwin: assembler.
 
11262
AS="$AS"
 
11263
 
 
11264
# The name of the directory that contains temporary libtool files.
 
11265
objdir=$objdir
 
11266
 
 
11267
# How to create reloadable object files.
 
11268
reload_flag=$lt_reload_flag
 
11269
reload_cmds=$lt_reload_cmds
 
11270
 
 
11271
# How to pass a linker flag through the compiler.
 
11272
wl=$lt_lt_prog_compiler_wl
 
11273
 
 
11274
# Object file suffix (normally "o").
 
11275
objext="$ac_objext"
 
11276
 
 
11277
# Old archive suffix (normally "a").
 
11278
libext="$libext"
 
11279
 
 
11280
# Shared library suffix (normally ".so").
 
11281
shrext_cmds='$shrext_cmds'
 
11282
 
 
11283
# Executable file suffix (normally "").
 
11284
exeext="$exeext"
 
11285
 
 
11286
# Additional compiler flags for building library objects.
 
11287
pic_flag=$lt_lt_prog_compiler_pic
 
11288
pic_mode=$pic_mode
 
11289
 
 
11290
# What is the maximum length of a command?
 
11291
max_cmd_len=$lt_cv_sys_max_cmd_len
 
11292
 
 
11293
# Does compiler simultaneously support -c and -o options?
 
11294
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
11295
 
 
11296
# Must we lock files when doing compilation?
 
11297
need_locks=$lt_need_locks
 
11298
 
 
11299
# Do we need the lib prefix for modules?
 
11300
need_lib_prefix=$need_lib_prefix
 
11301
 
 
11302
# Do we need a version for libraries?
 
11303
need_version=$need_version
 
11304
 
 
11305
# Whether dlopen is supported.
 
11306
dlopen_support=$enable_dlopen
 
11307
 
 
11308
# Whether dlopen of programs is supported.
 
11309
dlopen_self=$enable_dlopen_self
 
11310
 
 
11311
# Whether dlopen of statically linked programs is supported.
 
11312
dlopen_self_static=$enable_dlopen_self_static
 
11313
 
 
11314
# Compiler flag to prevent dynamic linking.
 
11315
link_static_flag=$lt_lt_prog_compiler_static
 
11316
 
 
11317
# Compiler flag to turn off builtin functions.
 
11318
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
11319
 
 
11320
# Compiler flag to allow reflexive dlopens.
 
11321
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
11322
 
 
11323
# Compiler flag to generate shared objects directly from archives.
 
11324
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
11325
 
 
11326
# Compiler flag to generate thread-safe objects.
 
11327
thread_safe_flag_spec=$lt_thread_safe_flag_spec
 
11328
 
 
11329
# Library versioning type.
 
11330
version_type=$version_type
 
11331
 
 
11332
# Format of library name prefix.
 
11333
libname_spec=$lt_libname_spec
 
11334
 
 
11335
# List of archive names.  First name is the real one, the rest are links.
 
11336
# The last name is the one that the linker finds with -lNAME.
 
11337
library_names_spec=$lt_library_names_spec
 
11338
 
 
11339
# The coded name of the library, if different from the real name.
 
11340
soname_spec=$lt_soname_spec
 
11341
 
 
11342
# Commands used to build and install an old-style archive.
 
11343
RANLIB=$lt_RANLIB
 
11344
old_archive_cmds=$lt_old_archive_cmds
 
11345
old_postinstall_cmds=$lt_old_postinstall_cmds
 
11346
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
11347
 
 
11348
# Create an old-style archive from a shared archive.
 
11349
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
11350
 
 
11351
# Create a temporary old-style archive to link instead of a shared archive.
 
11352
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
11353
 
 
11354
# Commands used to build and install a shared archive.
 
11355
archive_cmds=$lt_archive_cmds
 
11356
archive_expsym_cmds=$lt_archive_expsym_cmds
 
11357
postinstall_cmds=$lt_postinstall_cmds
 
11358
postuninstall_cmds=$lt_postuninstall_cmds
 
11359
 
 
11360
# Commands used to build a loadable module (assumed same as above if empty)
 
11361
module_cmds=$lt_module_cmds
 
11362
module_expsym_cmds=$lt_module_expsym_cmds
 
11363
 
 
11364
# Commands to strip libraries.
 
11365
old_striplib=$lt_old_striplib
 
11366
striplib=$lt_striplib
 
11367
 
 
11368
# Dependencies to place before the objects being linked to create a
 
11369
# shared library.
 
11370
predep_objects=$lt_predep_objects
 
11371
 
 
11372
# Dependencies to place after the objects being linked to create a
 
11373
# shared library.
 
11374
postdep_objects=$lt_postdep_objects
 
11375
 
 
11376
# Dependencies to place before the objects being linked to create a
 
11377
# shared library.
 
11378
predeps=$lt_predeps
 
11379
 
 
11380
# Dependencies to place after the objects being linked to create a
 
11381
# shared library.
 
11382
postdeps=$lt_postdeps
 
11383
 
 
11384
# The directories searched by this compiler when creating a shared
 
11385
# library
 
11386
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
11387
 
 
11388
# The library search path used internally by the compiler when linking
 
11389
# a shared library.
 
11390
compiler_lib_search_path=$lt_compiler_lib_search_path
 
11391
 
 
11392
# Method to check whether dependent libraries are shared objects.
 
11393
deplibs_check_method=$lt_deplibs_check_method
 
11394
 
 
11395
# Command to use when deplibs_check_method == file_magic.
 
11396
file_magic_cmd=$lt_file_magic_cmd
 
11397
 
 
11398
# Flag that allows shared libraries with undefined symbols to be built.
 
11399
allow_undefined_flag=$lt_allow_undefined_flag
 
11400
 
 
11401
# Flag that forces no undefined symbols.
 
11402
no_undefined_flag=$lt_no_undefined_flag
 
11403
 
 
11404
# Commands used to finish a libtool library installation in a directory.
 
11405
finish_cmds=$lt_finish_cmds
 
11406
 
 
11407
# Same as above, but a single script fragment to be evaled but not shown.
 
11408
finish_eval=$lt_finish_eval
 
11409
 
 
11410
# Take the output of nm and produce a listing of raw symbols and C names.
 
11411
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
11412
 
 
11413
# Transform the output of nm in a proper C declaration
 
11414
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
11415
 
 
11416
# Transform the output of nm in a C name address pair
 
11417
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
11418
 
 
11419
# This is the shared library runtime path variable.
 
11420
runpath_var=$runpath_var
 
11421
 
 
11422
# This is the shared library path variable.
 
11423
shlibpath_var=$shlibpath_var
 
11424
 
 
11425
# Is shlibpath searched before the hard-coded library search path?
 
11426
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
11427
 
 
11428
# How to hardcode a shared library path into an executable.
 
11429
hardcode_action=$hardcode_action
 
11430
 
 
11431
# Whether we should hardcode library paths into libraries.
 
11432
hardcode_into_libs=$hardcode_into_libs
 
11433
 
 
11434
# Flag to hardcode \$libdir into a binary during linking.
 
11435
# This must work even if \$libdir does not exist.
 
11436
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
11437
 
 
11438
# If ld is used when linking, flag to hardcode \$libdir into
 
11439
# a binary during linking. This must work even if \$libdir does
 
11440
# not exist.
 
11441
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
11442
 
 
11443
# Whether we need a single -rpath flag with a separated argument.
 
11444
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
11445
 
 
11446
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 
11447
# resulting binary.
 
11448
hardcode_direct=$hardcode_direct
 
11449
 
 
11450
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 
11451
# resulting binary.
 
11452
hardcode_minus_L=$hardcode_minus_L
 
11453
 
 
11454
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 
11455
# the resulting binary.
 
11456
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
11457
 
 
11458
# Set to yes if building a shared library automatically hardcodes DIR into the library
 
11459
# and all subsequent libraries and executables linked against it.
 
11460
hardcode_automatic=$hardcode_automatic
 
11461
 
 
11462
# Variables whose values should be saved in libtool wrapper scripts and
 
11463
# restored at relink time.
 
11464
variables_saved_for_relink="$variables_saved_for_relink"
 
11465
 
 
11466
# Whether libtool must link a program against all its dependency libraries.
 
11467
link_all_deplibs=$link_all_deplibs
 
11468
 
 
11469
# Compile-time system search path for libraries
 
11470
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
11471
 
 
11472
# Run-time system search path for libraries
 
11473
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
11474
 
 
11475
# Fix the shell variable \$srcfile for the compiler.
 
11476
fix_srcfile_path=$lt_fix_srcfile_path
 
11477
 
 
11478
# Set to yes if exported symbols are required.
 
11479
always_export_symbols=$always_export_symbols
 
11480
 
 
11481
# The commands to list exported symbols.
 
11482
export_symbols_cmds=$lt_export_symbols_cmds
 
11483
 
 
11484
# The commands to extract the exported symbol list from a shared archive.
 
11485
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
11486
 
 
11487
# Symbols that should not be listed in the preloaded symbols.
 
11488
exclude_expsyms=$lt_exclude_expsyms
 
11489
 
 
11490
# Symbols that must always be exported.
 
11491
include_expsyms=$lt_include_expsyms
 
11492
 
 
11493
# ### END LIBTOOL CONFIG
 
11494
 
 
11495
__EOF__
 
11496
 
 
11497
 
 
11498
  case $host_os in
 
11499
  aix3*)
 
11500
    cat <<\EOF >> "$cfgfile"
 
11501
 
 
11502
# AIX sometimes has problems with the GCC collect2 program.  For some
 
11503
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
11504
# vanish in a puff of smoke.
 
11505
if test "X${COLLECT_NAMES+set}" != Xset; then
 
11506
  COLLECT_NAMES=
 
11507
  export COLLECT_NAMES
 
11508
fi
 
11509
EOF
 
11510
    ;;
 
11511
  esac
 
11512
 
 
11513
  # We use sed instead of cat because bash on DJGPP gets confused if
 
11514
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
11515
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
11516
  # is reportedly fixed, but why not run on old versions too?
 
11517
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
 
11518
 
 
11519
  mv -f "$cfgfile" "$ofile" || \
 
11520
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
11521
  chmod +x "$ofile"
 
11522
 
 
11523
else
 
11524
  # If there is no Makefile yet, we rely on a make rule to execute
 
11525
  # `config.status --recheck' to rerun these tests and create the
 
11526
  # libtool script then.
 
11527
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 
11528
  if test -f "$ltmain_in"; then
 
11529
    test -f Makefile && make "$ltmain"
 
11530
  fi
 
11531
fi
 
11532
 
 
11533
 
 
11534
ac_ext=c
 
11535
ac_cpp='$CPP $CPPFLAGS'
 
11536
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11537
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11538
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11539
 
 
11540
CC="$lt_save_CC"
 
11541
 
 
11542
 
 
11543
# Check whether --with-tags was given.
 
11544
if test "${with_tags+set}" = set; then
 
11545
  withval=$with_tags; tagnames="$withval"
 
11546
fi
 
11547
 
 
11548
 
 
11549
if test -f "$ltmain" && test -n "$tagnames"; then
 
11550
  if test ! -f "${ofile}"; then
 
11551
    { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
 
11552
$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
 
11553
  fi
 
11554
 
 
11555
  if test -z "$LTCC"; then
 
11556
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
 
11557
    if test -z "$LTCC"; then
 
11558
      { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
 
11559
$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
 
11560
    else
 
11561
      { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
 
11562
$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
 
11563
    fi
 
11564
  fi
 
11565
  if test -z "$LTCFLAGS"; then
 
11566
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
 
11567
  fi
 
11568
 
 
11569
  # Extract list of available tagged configurations in $ofile.
 
11570
  # Note that this assumes the entire list is on one line.
 
11571
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
 
11572
 
 
11573
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
11574
  for tagname in $tagnames; do
 
11575
    IFS="$lt_save_ifs"
 
11576
    # Check whether tagname contains only valid characters
 
11577
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
 
11578
    "") ;;
 
11579
    *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
 
11580
$as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
 
11581
   { (exit 1); exit 1; }; }
 
11582
        ;;
 
11583
    esac
 
11584
 
 
11585
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
 
11586
    then
 
11587
      { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
 
11588
$as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
 
11589
   { (exit 1); exit 1; }; }
 
11590
    fi
 
11591
 
 
11592
    # Update the list of available tags.
 
11593
    if test -n "$tagname"; then
 
11594
      echo appending configuration tag \"$tagname\" to $ofile
 
11595
 
 
11596
      case $tagname in
 
11597
      CXX)
 
11598
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
11599
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
11600
            (test "X$CXX" != "Xg++"))) ; then
 
11601
          ac_ext=cpp
 
11602
ac_cpp='$CXXCPP $CPPFLAGS'
 
11603
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11604
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11605
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
11606
 
 
11607
 
 
11608
 
 
11609
 
 
11610
archive_cmds_need_lc_CXX=no
 
11611
allow_undefined_flag_CXX=
 
11612
always_export_symbols_CXX=no
 
11613
archive_expsym_cmds_CXX=
 
11614
export_dynamic_flag_spec_CXX=
 
11615
hardcode_direct_CXX=no
 
11616
hardcode_libdir_flag_spec_CXX=
 
11617
hardcode_libdir_flag_spec_ld_CXX=
 
11618
hardcode_libdir_separator_CXX=
 
11619
hardcode_minus_L_CXX=no
 
11620
hardcode_shlibpath_var_CXX=unsupported
 
11621
hardcode_automatic_CXX=no
 
11622
module_cmds_CXX=
 
11623
module_expsym_cmds_CXX=
 
11624
link_all_deplibs_CXX=unknown
 
11625
old_archive_cmds_CXX=$old_archive_cmds
 
11626
no_undefined_flag_CXX=
 
11627
whole_archive_flag_spec_CXX=
 
11628
enable_shared_with_static_runtimes_CXX=no
 
11629
 
 
11630
# Dependencies to place before and after the object being linked:
 
11631
predep_objects_CXX=
 
11632
postdep_objects_CXX=
 
11633
predeps_CXX=
 
11634
postdeps_CXX=
 
11635
compiler_lib_search_path_CXX=
 
11636
compiler_lib_search_dirs_CXX=
 
11637
 
 
11638
# Source file extension for C++ test sources.
 
11639
ac_ext=cpp
 
11640
 
 
11641
# Object file extension for compiled C++ test sources.
 
11642
objext=o
 
11643
objext_CXX=$objext
 
11644
 
 
11645
# Code to be used in simple compile tests
 
11646
lt_simple_compile_test_code="int some_variable = 0;"
 
11647
 
 
11648
# Code to be used in simple link tests
 
11649
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
 
11650
 
 
11651
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
11652
 
 
11653
# If no C compiler was specified, use CC.
 
11654
LTCC=${LTCC-"$CC"}
 
11655
 
 
11656
# If no C compiler flags were specified, use CFLAGS.
 
11657
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
11658
 
 
11659
# Allow CC to be a program name with arguments.
 
11660
compiler=$CC
 
11661
 
 
11662
 
 
11663
# save warnings/boilerplate of simple test code
 
11664
ac_outfile=conftest.$ac_objext
 
11665
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
11666
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
11667
_lt_compiler_boilerplate=`cat conftest.err`
 
11668
$rm conftest*
 
11669
 
 
11670
ac_outfile=conftest.$ac_objext
 
11671
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
11672
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
11673
_lt_linker_boilerplate=`cat conftest.err`
 
11674
$rm -r conftest*
 
11675
 
 
11676
 
 
11677
# Allow CC to be a program name with arguments.
 
11678
lt_save_CC=$CC
 
11679
lt_save_LD=$LD
 
11680
lt_save_GCC=$GCC
 
11681
GCC=$GXX
 
11682
lt_save_with_gnu_ld=$with_gnu_ld
 
11683
lt_save_path_LD=$lt_cv_path_LD
 
11684
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 
11685
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 
11686
else
 
11687
  $as_unset lt_cv_prog_gnu_ld
 
11688
fi
 
11689
if test -n "${lt_cv_path_LDCXX+set}"; then
 
11690
  lt_cv_path_LD=$lt_cv_path_LDCXX
 
11691
else
 
11692
  $as_unset lt_cv_path_LD
 
11693
fi
 
11694
test -z "${LDCXX+set}" || LD=$LDCXX
 
11695
CC=${CXX-"c++"}
 
11696
compiler=$CC
 
11697
compiler_CXX=$CC
 
11698
for cc_temp in $compiler""; do
 
11699
  case $cc_temp in
 
11700
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
11701
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
11702
    \-*) ;;
 
11703
    *) break;;
 
11704
  esac
 
11705
done
 
11706
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
11707
 
 
11708
 
 
11709
# We don't want -fno-exception wen compiling C++ code, so set the
 
11710
# no_builtin_flag separately
 
11711
if test "$GXX" = yes; then
 
11712
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
 
11713
else
 
11714
  lt_prog_compiler_no_builtin_flag_CXX=
 
11715
fi
 
11716
 
 
11717
if test "$GXX" = yes; then
 
11718
  # Set up default GNU C++ configuration
 
11719
 
 
11720
 
 
11721
# Check whether --with-gnu-ld was given.
 
11722
if test "${with_gnu_ld+set}" = set; then
 
11723
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
11724
else
 
11725
  with_gnu_ld=no
 
11726
fi
 
11727
 
 
11728
ac_prog=ld
 
11729
if test "$GCC" = yes; then
 
11730
  # Check if gcc -print-prog-name=ld gives a path.
 
11731
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
11732
$as_echo_n "checking for ld used by $CC... " >&6; }
 
11733
  case $host in
 
11734
  *-*-mingw*)
 
11735
    # gcc leaves a trailing carriage return which upsets mingw
 
11736
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
11737
  *)
 
11738
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
11739
  esac
 
11740
  case $ac_prog in
 
11741
    # Accept absolute paths.
 
11742
    [\\/]* | ?:[\\/]*)
 
11743
      re_direlt='/[^/][^/]*/\.\./'
 
11744
      # Canonicalize the pathname of ld
 
11745
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
 
11746
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 
11747
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
11748
      done
 
11749
      test -z "$LD" && LD="$ac_prog"
 
11750
      ;;
 
11751
  "")
 
11752
    # If it fails, then pretend we aren't using GCC.
 
11753
    ac_prog=ld
 
11754
    ;;
 
11755
  *)
 
11756
    # If it is relative, then search for the first ld in PATH.
 
11757
    with_gnu_ld=unknown
 
11758
    ;;
 
11759
  esac
 
11760
elif test "$with_gnu_ld" = yes; then
 
11761
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
11762
$as_echo_n "checking for GNU ld... " >&6; }
 
11763
else
 
11764
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
11765
$as_echo_n "checking for non-GNU ld... " >&6; }
 
11766
fi
 
11767
if test "${lt_cv_path_LD+set}" = set; then
 
11768
  $as_echo_n "(cached) " >&6
 
11769
else
 
11770
  if test -z "$LD"; then
 
11771
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
11772
  for ac_dir in $PATH; do
 
11773
    IFS="$lt_save_ifs"
 
11774
    test -z "$ac_dir" && ac_dir=.
 
11775
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
11776
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
11777
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
11778
      # but apparently some variants of GNU ld only accept -v.
 
11779
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
11780
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
11781
      *GNU* | *'with BFD'*)
 
11782
        test "$with_gnu_ld" != no && break
 
11783
        ;;
 
11784
      *)
 
11785
        test "$with_gnu_ld" != yes && break
 
11786
        ;;
 
11787
      esac
 
11788
    fi
 
11789
  done
 
11790
  IFS="$lt_save_ifs"
 
11791
else
 
11792
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
11793
fi
 
11794
fi
 
11795
 
 
11796
LD="$lt_cv_path_LD"
 
11797
if test -n "$LD"; then
 
11798
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
11799
$as_echo "$LD" >&6; }
 
11800
else
 
11801
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11802
$as_echo "no" >&6; }
 
11803
fi
 
11804
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
11805
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
11806
   { (exit 1); exit 1; }; }
 
11807
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
11808
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
11809
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
11810
  $as_echo_n "(cached) " >&6
 
11811
else
 
11812
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
11813
case `$LD -v 2>&1 </dev/null` in
 
11814
*GNU* | *'with BFD'*)
 
11815
  lt_cv_prog_gnu_ld=yes
 
11816
  ;;
 
11817
*)
 
11818
  lt_cv_prog_gnu_ld=no
 
11819
  ;;
 
11820
esac
 
11821
fi
 
11822
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
11823
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
11824
with_gnu_ld=$lt_cv_prog_gnu_ld
 
11825
 
 
11826
 
 
11827
 
 
11828
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
 
11829
  # archiving commands below assume that GNU ld is being used.
 
11830
  if test "$with_gnu_ld" = yes; then
 
11831
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11832
    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'
 
11833
 
 
11834
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
11835
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
11836
 
 
11837
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
11838
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 
11839
    #     investigate it a little bit more. (MM)
 
11840
    wlarc='${wl}'
 
11841
 
 
11842
    # ancient GNU ld didn't support --whole-archive et. al.
 
11843
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
 
11844
        grep 'no-whole-archive' > /dev/null; then
 
11845
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
11846
    else
 
11847
      whole_archive_flag_spec_CXX=
 
11848
    fi
 
11849
  else
 
11850
    with_gnu_ld=no
 
11851
    wlarc=
 
11852
 
 
11853
    # A generic and very simple default shared library creation
 
11854
    # command for GNU C++ for the case where it uses the native
 
11855
    # linker, instead of GNU ld.  If possible, this setting should
 
11856
    # overridden to take advantage of the native linker features on
 
11857
    # the platform it is being used on.
 
11858
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
11859
  fi
 
11860
 
 
11861
  # Commands to make compiler produce verbose output that lists
 
11862
  # what "hidden" libraries, object files and flags are used when
 
11863
  # linking a shared library.
 
11864
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 
11865
 
 
11866
else
 
11867
  GXX=no
 
11868
  with_gnu_ld=no
 
11869
  wlarc=
 
11870
fi
 
11871
 
 
11872
# PORTME: fill in a description of your system's C++ link characteristics
 
11873
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11874
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
11875
ld_shlibs_CXX=yes
 
11876
case $host_os in
 
11877
  aix3*)
 
11878
    # FIXME: insert proper C++ library support
 
11879
    ld_shlibs_CXX=no
 
11880
    ;;
 
11881
  aix[4-9]*)
 
11882
    if test "$host_cpu" = ia64; then
 
11883
      # On IA64, the linker does run time linking by default, so we don't
 
11884
      # have to do anything special.
 
11885
      aix_use_runtimelinking=no
 
11886
      exp_sym_flag='-Bexport'
 
11887
      no_entry_flag=""
 
11888
    else
 
11889
      aix_use_runtimelinking=no
 
11890
 
 
11891
      # Test if we are trying to use run time linking or normal
 
11892
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
11893
      # need to do runtime linking.
 
11894
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
11895
        for ld_flag in $LDFLAGS; do
 
11896
          case $ld_flag in
 
11897
          *-brtl*)
 
11898
            aix_use_runtimelinking=yes
 
11899
            break
 
11900
            ;;
 
11901
          esac
 
11902
        done
 
11903
        ;;
 
11904
      esac
 
11905
 
 
11906
      exp_sym_flag='-bexport'
 
11907
      no_entry_flag='-bnoentry'
 
11908
    fi
 
11909
 
 
11910
    # When large executables or shared objects are built, AIX ld can
 
11911
    # have problems creating the table of contents.  If linking a library
 
11912
    # or program results in "error TOC overflow" add -mminimal-toc to
 
11913
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
11914
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
11915
 
 
11916
    archive_cmds_CXX=''
 
11917
    hardcode_direct_CXX=yes
 
11918
    hardcode_libdir_separator_CXX=':'
 
11919
    link_all_deplibs_CXX=yes
 
11920
 
 
11921
    if test "$GXX" = yes; then
 
11922
      case $host_os in aix4.[012]|aix4.[012].*)
 
11923
      # We only want to do this on AIX 4.2 and lower, the check
 
11924
      # below for broken collect2 doesn't work under 4.3+
 
11925
        collect2name=`${CC} -print-prog-name=collect2`
 
11926
        if test -f "$collect2name" && \
 
11927
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
11928
        then
 
11929
          # We have reworked collect2
 
11930
          :
 
11931
        else
 
11932
          # We have old collect2
 
11933
          hardcode_direct_CXX=unsupported
 
11934
          # It fails to find uninstalled libraries when the uninstalled
 
11935
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
11936
          # to unsupported forces relinking
 
11937
          hardcode_minus_L_CXX=yes
 
11938
          hardcode_libdir_flag_spec_CXX='-L$libdir'
 
11939
          hardcode_libdir_separator_CXX=
 
11940
        fi
 
11941
        ;;
 
11942
      esac
 
11943
      shared_flag='-shared'
 
11944
      if test "$aix_use_runtimelinking" = yes; then
 
11945
        shared_flag="$shared_flag "'${wl}-G'
 
11946
      fi
 
11947
    else
 
11948
      # not using gcc
 
11949
      if test "$host_cpu" = ia64; then
 
11950
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
11951
        # chokes on -Wl,-G. The following line is correct:
 
11952
        shared_flag='-G'
 
11953
      else
 
11954
        if test "$aix_use_runtimelinking" = yes; then
 
11955
          shared_flag='${wl}-G'
 
11956
        else
 
11957
          shared_flag='${wl}-bM:SRE'
 
11958
        fi
 
11959
      fi
 
11960
    fi
 
11961
 
 
11962
    # It seems that -bexpall does not export symbols beginning with
 
11963
    # underscore (_), so it is better to generate a list of symbols to export.
 
11964
    always_export_symbols_CXX=yes
 
11965
    if test "$aix_use_runtimelinking" = yes; then
 
11966
      # Warning - without using the other runtime loading flags (-brtl),
 
11967
      # -berok will link without error, but may produce a broken library.
 
11968
      allow_undefined_flag_CXX='-berok'
 
11969
      # Determine the default libpath from the value encoded in an empty executable.
 
11970
      cat >conftest.$ac_ext <<_ACEOF
 
11971
/* confdefs.h.  */
 
11972
_ACEOF
 
11973
cat confdefs.h >>conftest.$ac_ext
 
11974
cat >>conftest.$ac_ext <<_ACEOF
 
11975
/* end confdefs.h.  */
 
11976
 
 
11977
int
 
11978
main ()
 
11979
{
 
11980
 
 
11981
  ;
 
11982
  return 0;
 
11983
}
 
11984
_ACEOF
 
11985
rm -f conftest.$ac_objext conftest$ac_exeext
 
11986
if { (ac_try="$ac_link"
 
11987
case "(($ac_try" in
 
11988
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11989
  *) ac_try_echo=$ac_try;;
 
11990
esac
 
11991
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11992
$as_echo "$ac_try_echo") >&5
 
11993
  (eval "$ac_link") 2>conftest.er1
 
11994
  ac_status=$?
 
11995
  grep -v '^ *+' conftest.er1 >conftest.err
 
11996
  rm -f conftest.er1
 
11997
  cat conftest.err >&5
 
11998
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11999
  (exit $ac_status); } && {
 
12000
         test -z "$ac_cxx_werror_flag" ||
 
12001
         test ! -s conftest.err
 
12002
       } && test -s conftest$ac_exeext && {
 
12003
         test "$cross_compiling" = yes ||
 
12004
         $as_test_x conftest$ac_exeext
 
12005
       }; then
 
12006
 
 
12007
lt_aix_libpath_sed='
 
12008
    /Import File Strings/,/^$/ {
 
12009
        /^0/ {
 
12010
            s/^0  *\(.*\)$/\1/
 
12011
            p
 
12012
        }
 
12013
    }'
 
12014
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12015
# Check for a 64-bit object if we didn't find anything.
 
12016
if test -z "$aix_libpath"; then
 
12017
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12018
fi
 
12019
else
 
12020
  $as_echo "$as_me: failed program was:" >&5
 
12021
sed 's/^/| /' conftest.$ac_ext >&5
 
12022
 
 
12023
 
 
12024
fi
 
12025
 
 
12026
rm -rf conftest.dSYM
 
12027
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
12028
      conftest$ac_exeext conftest.$ac_ext
 
12029
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
12030
 
 
12031
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
12032
 
 
12033
      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"
 
12034
     else
 
12035
      if test "$host_cpu" = ia64; then
 
12036
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
 
12037
        allow_undefined_flag_CXX="-z nodefs"
 
12038
        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"
 
12039
      else
 
12040
        # Determine the default libpath from the value encoded in an empty executable.
 
12041
        cat >conftest.$ac_ext <<_ACEOF
 
12042
/* confdefs.h.  */
 
12043
_ACEOF
 
12044
cat confdefs.h >>conftest.$ac_ext
 
12045
cat >>conftest.$ac_ext <<_ACEOF
 
12046
/* end confdefs.h.  */
 
12047
 
 
12048
int
 
12049
main ()
 
12050
{
 
12051
 
 
12052
  ;
 
12053
  return 0;
 
12054
}
 
12055
_ACEOF
 
12056
rm -f conftest.$ac_objext conftest$ac_exeext
 
12057
if { (ac_try="$ac_link"
 
12058
case "(($ac_try" in
 
12059
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12060
  *) ac_try_echo=$ac_try;;
 
12061
esac
 
12062
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12063
$as_echo "$ac_try_echo") >&5
 
12064
  (eval "$ac_link") 2>conftest.er1
 
12065
  ac_status=$?
 
12066
  grep -v '^ *+' conftest.er1 >conftest.err
 
12067
  rm -f conftest.er1
 
12068
  cat conftest.err >&5
 
12069
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12070
  (exit $ac_status); } && {
 
12071
         test -z "$ac_cxx_werror_flag" ||
 
12072
         test ! -s conftest.err
 
12073
       } && test -s conftest$ac_exeext && {
 
12074
         test "$cross_compiling" = yes ||
 
12075
         $as_test_x conftest$ac_exeext
 
12076
       }; then
 
12077
 
 
12078
lt_aix_libpath_sed='
 
12079
    /Import File Strings/,/^$/ {
 
12080
        /^0/ {
 
12081
            s/^0  *\(.*\)$/\1/
 
12082
            p
 
12083
        }
 
12084
    }'
 
12085
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12086
# Check for a 64-bit object if we didn't find anything.
 
12087
if test -z "$aix_libpath"; then
 
12088
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12089
fi
 
12090
else
 
12091
  $as_echo "$as_me: failed program was:" >&5
 
12092
sed 's/^/| /' conftest.$ac_ext >&5
 
12093
 
 
12094
 
 
12095
fi
 
12096
 
 
12097
rm -rf conftest.dSYM
 
12098
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
12099
      conftest$ac_exeext conftest.$ac_ext
 
12100
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
12101
 
 
12102
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
12103
        # Warning - without using the other run time loading flags,
 
12104
        # -berok will link without error, but may produce a broken library.
 
12105
        no_undefined_flag_CXX=' ${wl}-bernotok'
 
12106
        allow_undefined_flag_CXX=' ${wl}-berok'
 
12107
        # Exported symbols can be pulled into shared objects from archives
 
12108
        whole_archive_flag_spec_CXX='$convenience'
 
12109
        archive_cmds_need_lc_CXX=yes
 
12110
        # This is similar to how AIX traditionally builds its shared libraries.
 
12111
        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'
 
12112
      fi
 
12113
    fi
 
12114
    ;;
 
12115
 
 
12116
  beos*)
 
12117
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
12118
      allow_undefined_flag_CXX=unsupported
 
12119
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
12120
      # support --undefined.  This deserves some investigation.  FIXME
 
12121
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12122
    else
 
12123
      ld_shlibs_CXX=no
 
12124
    fi
 
12125
    ;;
 
12126
 
 
12127
  chorus*)
 
12128
    case $cc_basename in
 
12129
      *)
 
12130
        # FIXME: insert proper C++ library support
 
12131
        ld_shlibs_CXX=no
 
12132
        ;;
 
12133
    esac
 
12134
    ;;
 
12135
 
 
12136
  cygwin* | mingw* | pw32*)
 
12137
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
12138
    # as there is no search path for DLLs.
 
12139
    hardcode_libdir_flag_spec_CXX='-L$libdir'
 
12140
    allow_undefined_flag_CXX=unsupported
 
12141
    always_export_symbols_CXX=no
 
12142
    enable_shared_with_static_runtimes_CXX=yes
 
12143
 
 
12144
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
12145
      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'
 
12146
      # If the export-symbols file already is a .def file (1st line
 
12147
      # is EXPORTS), use it as is; otherwise, prepend...
 
12148
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
12149
        cp $export_symbols $output_objdir/$soname.def;
 
12150
      else
 
12151
        echo EXPORTS > $output_objdir/$soname.def;
 
12152
        cat $export_symbols >> $output_objdir/$soname.def;
 
12153
      fi~
 
12154
      $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'
 
12155
    else
 
12156
      ld_shlibs_CXX=no
 
12157
    fi
 
12158
  ;;
 
12159
      darwin* | rhapsody*)
 
12160
      archive_cmds_need_lc_CXX=no
 
12161
      hardcode_direct_CXX=no
 
12162
      hardcode_automatic_CXX=yes
 
12163
      hardcode_shlibpath_var_CXX=unsupported
 
12164
      whole_archive_flag_spec_CXX=''
 
12165
      link_all_deplibs_CXX=yes
 
12166
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
12167
      if test "$GXX" = yes ; then
 
12168
      output_verbose_link_cmd='echo'
 
12169
      archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
12170
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
12171
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
12172
      module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
12173
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
12174
        archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
 
12175
        archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
 
12176
      fi
 
12177
      else
 
12178
      case $cc_basename in
 
12179
        xlc*)
 
12180
         output_verbose_link_cmd='echo'
 
12181
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
 
12182
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
12183
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
12184
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
12185
          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}'
 
12186
          ;;
 
12187
       *)
 
12188
         ld_shlibs_CXX=no
 
12189
          ;;
 
12190
      esac
 
12191
      fi
 
12192
        ;;
 
12193
 
 
12194
  dgux*)
 
12195
    case $cc_basename in
 
12196
      ec++*)
 
12197
        # FIXME: insert proper C++ library support
 
12198
        ld_shlibs_CXX=no
 
12199
        ;;
 
12200
      ghcx*)
 
12201
        # Green Hills C++ Compiler
 
12202
        # FIXME: insert proper C++ library support
 
12203
        ld_shlibs_CXX=no
 
12204
        ;;
 
12205
      *)
 
12206
        # FIXME: insert proper C++ library support
 
12207
        ld_shlibs_CXX=no
 
12208
        ;;
 
12209
    esac
 
12210
    ;;
 
12211
  freebsd[12]*)
 
12212
    # C++ shared libraries reported to be fairly broken before switch to ELF
 
12213
    ld_shlibs_CXX=no
 
12214
    ;;
 
12215
  freebsd-elf*)
 
12216
    archive_cmds_need_lc_CXX=no
 
12217
    ;;
 
12218
  freebsd* | dragonfly*)
 
12219
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 
12220
    # conventions
 
12221
    ld_shlibs_CXX=yes
 
12222
    ;;
 
12223
  gnu*)
 
12224
    ;;
 
12225
  hpux9*)
 
12226
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
12227
    hardcode_libdir_separator_CXX=:
 
12228
    export_dynamic_flag_spec_CXX='${wl}-E'
 
12229
    hardcode_direct_CXX=yes
 
12230
    hardcode_minus_L_CXX=yes # Not in the search PATH,
 
12231
                                # but as the default
 
12232
                                # location of the library.
 
12233
 
 
12234
    case $cc_basename in
 
12235
    CC*)
 
12236
      # FIXME: insert proper C++ library support
 
12237
      ld_shlibs_CXX=no
 
12238
      ;;
 
12239
    aCC*)
 
12240
      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'
 
12241
      # Commands to make compiler produce verbose output that lists
 
12242
      # what "hidden" libraries, object files and flags are used when
 
12243
      # linking a shared library.
 
12244
      #
 
12245
      # There doesn't appear to be a way to prevent this compiler from
 
12246
      # explicitly linking system object files so we need to strip them
 
12247
      # from the output so that they don't get included in the library
 
12248
      # dependencies.
 
12249
      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'
 
12250
      ;;
 
12251
    *)
 
12252
      if test "$GXX" = yes; then
 
12253
        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'
 
12254
      else
 
12255
        # FIXME: insert proper C++ library support
 
12256
        ld_shlibs_CXX=no
 
12257
      fi
 
12258
      ;;
 
12259
    esac
 
12260
    ;;
 
12261
  hpux10*|hpux11*)
 
12262
    if test $with_gnu_ld = no; then
 
12263
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
12264
      hardcode_libdir_separator_CXX=:
 
12265
 
 
12266
      case $host_cpu in
 
12267
      hppa*64*|ia64*) ;;
 
12268
      *)
 
12269
        export_dynamic_flag_spec_CXX='${wl}-E'
 
12270
        ;;
 
12271
      esac
 
12272
    fi
 
12273
    case $host_cpu in
 
12274
    hppa*64*|ia64*)
 
12275
      hardcode_direct_CXX=no
 
12276
      hardcode_shlibpath_var_CXX=no
 
12277
      ;;
 
12278
    *)
 
12279
      hardcode_direct_CXX=yes
 
12280
      hardcode_minus_L_CXX=yes # Not in the search PATH,
 
12281
                                              # but as the default
 
12282
                                              # location of the library.
 
12283
      ;;
 
12284
    esac
 
12285
 
 
12286
    case $cc_basename in
 
12287
      CC*)
 
12288
        # FIXME: insert proper C++ library support
 
12289
        ld_shlibs_CXX=no
 
12290
        ;;
 
12291
      aCC*)
 
12292
        case $host_cpu in
 
12293
        hppa*64*)
 
12294
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12295
          ;;
 
12296
        ia64*)
 
12297
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12298
          ;;
 
12299
        *)
 
12300
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12301
          ;;
 
12302
        esac
 
12303
        # Commands to make compiler produce verbose output that lists
 
12304
        # what "hidden" libraries, object files and flags are used when
 
12305
        # linking a shared library.
 
12306
        #
 
12307
        # There doesn't appear to be a way to prevent this compiler from
 
12308
        # explicitly linking system object files so we need to strip them
 
12309
        # from the output so that they don't get included in the library
 
12310
        # dependencies.
 
12311
        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'
 
12312
        ;;
 
12313
      *)
 
12314
        if test "$GXX" = yes; then
 
12315
          if test $with_gnu_ld = no; then
 
12316
            case $host_cpu in
 
12317
            hppa*64*)
 
12318
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12319
              ;;
 
12320
            ia64*)
 
12321
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12322
              ;;
 
12323
            *)
 
12324
              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'
 
12325
              ;;
 
12326
            esac
 
12327
          fi
 
12328
        else
 
12329
          # FIXME: insert proper C++ library support
 
12330
          ld_shlibs_CXX=no
 
12331
        fi
 
12332
        ;;
 
12333
    esac
 
12334
    ;;
 
12335
  interix[3-9]*)
 
12336
    hardcode_direct_CXX=no
 
12337
    hardcode_shlibpath_var_CXX=no
 
12338
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12339
    export_dynamic_flag_spec_CXX='${wl}-E'
 
12340
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
12341
    # Instead, shared libraries are loaded at an image base (0x10000000 by
 
12342
    # default) and relocated if they conflict, which is a slow very memory
 
12343
    # consuming and fragmenting process.  To avoid this, we pick a random,
 
12344
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
12345
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
12346
    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'
 
12347
    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'
 
12348
    ;;
 
12349
  irix5* | irix6*)
 
12350
    case $cc_basename in
 
12351
      CC*)
 
12352
        # SGI C++
 
12353
        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'
 
12354
 
 
12355
        # Archives containing C++ object files must be created using
 
12356
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 
12357
        # necessary to make sure instantiated templates are included
 
12358
        # in the archive.
 
12359
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
 
12360
        ;;
 
12361
      *)
 
12362
        if test "$GXX" = yes; then
 
12363
          if test "$with_gnu_ld" = no; then
 
12364
            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'
 
12365
          else
 
12366
            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'
 
12367
          fi
 
12368
        fi
 
12369
        link_all_deplibs_CXX=yes
 
12370
        ;;
 
12371
    esac
 
12372
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
12373
    hardcode_libdir_separator_CXX=:
 
12374
    ;;
 
12375
  linux* | k*bsd*-gnu)
 
12376
    case $cc_basename in
 
12377
      KCC*)
 
12378
        # Kuck and Associates, Inc. (KAI) C++ Compiler
 
12379
 
 
12380
        # KCC will only create a shared library if the output file
 
12381
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
12382
        # to its proper name (with version) after linking.
 
12383
        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'
 
12384
        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'
 
12385
        # Commands to make compiler produce verbose output that lists
 
12386
        # what "hidden" libraries, object files and flags are used when
 
12387
        # linking a shared library.
 
12388
        #
 
12389
        # There doesn't appear to be a way to prevent this compiler from
 
12390
        # explicitly linking system object files so we need to strip them
 
12391
        # from the output so that they don't get included in the library
 
12392
        # dependencies.
 
12393
        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'
 
12394
 
 
12395
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
 
12396
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12397
 
 
12398
        # Archives containing C++ object files must be created using
 
12399
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
12400
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 
12401
        ;;
 
12402
      icpc*)
 
12403
        # Intel C++
 
12404
        with_gnu_ld=yes
 
12405
        # version 8.0 and above of icpc choke on multiply defined symbols
 
12406
        # if we add $predep_objects and $postdep_objects, however 7.1 and
 
12407
        # earlier do not add the objects themselves.
 
12408
        case `$CC -V 2>&1` in
 
12409
        *"Version 7."*)
 
12410
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12411
          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'
 
12412
          ;;
 
12413
        *)  # Version 8.0 or newer
 
12414
          tmp_idyn=
 
12415
          case $host_cpu in
 
12416
            ia64*) tmp_idyn=' -i_dynamic';;
 
12417
          esac
 
12418
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12419
          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'
 
12420
          ;;
 
12421
        esac
 
12422
        archive_cmds_need_lc_CXX=no
 
12423
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12424
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12425
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
12426
        ;;
 
12427
      pgCC* | pgcpp*)
 
12428
        # Portland Group C++ compiler
 
12429
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
12430
        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'
 
12431
 
 
12432
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
12433
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12434
        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'
 
12435
        ;;
 
12436
      cxx*)
 
12437
        # Compaq C++
 
12438
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12439
        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'
 
12440
 
 
12441
        runpath_var=LD_RUN_PATH
 
12442
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
12443
        hardcode_libdir_separator_CXX=:
 
12444
 
 
12445
        # Commands to make compiler produce verbose output that lists
 
12446
        # what "hidden" libraries, object files and flags are used when
 
12447
        # linking a shared library.
 
12448
        #
 
12449
        # There doesn't appear to be a way to prevent this compiler from
 
12450
        # explicitly linking system object files so we need to strip them
 
12451
        # from the output so that they don't get included in the library
 
12452
        # dependencies.
 
12453
        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'
 
12454
        ;;
 
12455
      *)
 
12456
        case `$CC -V 2>&1 | sed 5q` in
 
12457
        *Sun\ C*)
 
12458
          # Sun C++ 5.9
 
12459
          no_undefined_flag_CXX=' -zdefs'
 
12460
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12461
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
12462
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
12463
          whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
12464
 
 
12465
          # Not sure whether something based on
 
12466
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
12467
          # would be better.
 
12468
          output_verbose_link_cmd='echo'
 
12469
 
 
12470
          # Archives containing C++ object files must be created using
 
12471
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
12472
          # necessary to make sure instantiated templates are included
 
12473
          # in the archive.
 
12474
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
12475
          ;;
 
12476
        esac
 
12477
        ;;
 
12478
    esac
 
12479
    ;;
 
12480
  lynxos*)
 
12481
    # FIXME: insert proper C++ library support
 
12482
    ld_shlibs_CXX=no
 
12483
    ;;
 
12484
  m88k*)
 
12485
    # FIXME: insert proper C++ library support
 
12486
    ld_shlibs_CXX=no
 
12487
    ;;
 
12488
  mvs*)
 
12489
    case $cc_basename in
 
12490
      cxx*)
 
12491
        # FIXME: insert proper C++ library support
 
12492
        ld_shlibs_CXX=no
 
12493
        ;;
 
12494
      *)
 
12495
        # FIXME: insert proper C++ library support
 
12496
        ld_shlibs_CXX=no
 
12497
        ;;
 
12498
    esac
 
12499
    ;;
 
12500
  netbsd*)
 
12501
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
12502
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 
12503
      wlarc=
 
12504
      hardcode_libdir_flag_spec_CXX='-R$libdir'
 
12505
      hardcode_direct_CXX=yes
 
12506
      hardcode_shlibpath_var_CXX=no
 
12507
    fi
 
12508
    # Workaround some broken pre-1.5 toolchains
 
12509
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 
12510
    ;;
 
12511
  openbsd2*)
 
12512
    # C++ shared libraries are fairly broken
 
12513
    ld_shlibs_CXX=no
 
12514
    ;;
 
12515
  openbsd*)
 
12516
    if test -f /usr/libexec/ld.so; then
 
12517
      hardcode_direct_CXX=yes
 
12518
      hardcode_shlibpath_var_CXX=no
 
12519
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
12520
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12521
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12522
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
12523
        export_dynamic_flag_spec_CXX='${wl}-E'
 
12524
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12525
      fi
 
12526
      output_verbose_link_cmd='echo'
 
12527
    else
 
12528
      ld_shlibs_CXX=no
 
12529
    fi
 
12530
    ;;
 
12531
  osf3*)
 
12532
    case $cc_basename in
 
12533
      KCC*)
 
12534
        # Kuck and Associates, Inc. (KAI) C++ Compiler
 
12535
 
 
12536
        # KCC will only create a shared library if the output file
 
12537
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
12538
        # to its proper name (with version) after linking.
 
12539
        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'
 
12540
 
 
12541
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12542
        hardcode_libdir_separator_CXX=:
 
12543
 
 
12544
        # Archives containing C++ object files must be created using
 
12545
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
12546
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 
12547
 
 
12548
        ;;
 
12549
      RCC*)
 
12550
        # Rational C++ 2.4.1
 
12551
        # FIXME: insert proper C++ library support
 
12552
        ld_shlibs_CXX=no
 
12553
        ;;
 
12554
      cxx*)
 
12555
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
12556
        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'
 
12557
 
 
12558
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
12559
        hardcode_libdir_separator_CXX=:
 
12560
 
 
12561
        # Commands to make compiler produce verbose output that lists
 
12562
        # what "hidden" libraries, object files and flags are used when
 
12563
        # linking a shared library.
 
12564
        #
 
12565
        # There doesn't appear to be a way to prevent this compiler from
 
12566
        # explicitly linking system object files so we need to strip them
 
12567
        # from the output so that they don't get included in the library
 
12568
        # dependencies.
 
12569
        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'
 
12570
        ;;
 
12571
      *)
 
12572
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
12573
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
12574
          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'
 
12575
 
 
12576
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
12577
          hardcode_libdir_separator_CXX=:
 
12578
 
 
12579
          # Commands to make compiler produce verbose output that lists
 
12580
          # what "hidden" libraries, object files and flags are used when
 
12581
          # linking a shared library.
 
12582
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 
12583
 
 
12584
        else
 
12585
          # FIXME: insert proper C++ library support
 
12586
          ld_shlibs_CXX=no
 
12587
        fi
 
12588
        ;;
 
12589
    esac
 
12590
    ;;
 
12591
  osf4* | osf5*)
 
12592
    case $cc_basename in
 
12593
      KCC*)
 
12594
        # Kuck and Associates, Inc. (KAI) C++ Compiler
 
12595
 
 
12596
        # KCC will only create a shared library if the output file
 
12597
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
12598
        # to its proper name (with version) after linking.
 
12599
        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'
 
12600
 
 
12601
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12602
        hardcode_libdir_separator_CXX=:
 
12603
 
 
12604
        # Archives containing C++ object files must be created using
 
12605
        # the KAI C++ compiler.
 
12606
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
 
12607
        ;;
 
12608
      RCC*)
 
12609
        # Rational C++ 2.4.1
 
12610
        # FIXME: insert proper C++ library support
 
12611
        ld_shlibs_CXX=no
 
12612
        ;;
 
12613
      cxx*)
 
12614
        allow_undefined_flag_CXX=' -expect_unresolved \*'
 
12615
        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'
 
12616
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 
12617
          echo "-hidden">> $lib.exp~
 
12618
          $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~
 
12619
          $rm $lib.exp'
 
12620
 
 
12621
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
12622
        hardcode_libdir_separator_CXX=:
 
12623
 
 
12624
        # Commands to make compiler produce verbose output that lists
 
12625
        # what "hidden" libraries, object files and flags are used when
 
12626
        # linking a shared library.
 
12627
        #
 
12628
        # There doesn't appear to be a way to prevent this compiler from
 
12629
        # explicitly linking system object files so we need to strip them
 
12630
        # from the output so that they don't get included in the library
 
12631
        # dependencies.
 
12632
        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'
 
12633
        ;;
 
12634
      *)
 
12635
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
12636
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
12637
         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'
 
12638
 
 
12639
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
12640
          hardcode_libdir_separator_CXX=:
 
12641
 
 
12642
          # Commands to make compiler produce verbose output that lists
 
12643
          # what "hidden" libraries, object files and flags are used when
 
12644
          # linking a shared library.
 
12645
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 
12646
 
 
12647
        else
 
12648
          # FIXME: insert proper C++ library support
 
12649
          ld_shlibs_CXX=no
 
12650
        fi
 
12651
        ;;
 
12652
    esac
 
12653
    ;;
 
12654
  psos*)
 
12655
    # FIXME: insert proper C++ library support
 
12656
    ld_shlibs_CXX=no
 
12657
    ;;
 
12658
  sunos4*)
 
12659
    case $cc_basename in
 
12660
      CC*)
 
12661
        # Sun C++ 4.x
 
12662
        # FIXME: insert proper C++ library support
 
12663
        ld_shlibs_CXX=no
 
12664
        ;;
 
12665
      lcc*)
 
12666
        # Lucid
 
12667
        # FIXME: insert proper C++ library support
 
12668
        ld_shlibs_CXX=no
 
12669
        ;;
 
12670
      *)
 
12671
        # FIXME: insert proper C++ library support
 
12672
        ld_shlibs_CXX=no
 
12673
        ;;
 
12674
    esac
 
12675
    ;;
 
12676
  solaris*)
 
12677
    case $cc_basename in
 
12678
      CC*)
 
12679
        # Sun C++ 4.2, 5.x and Centerline C++
 
12680
        archive_cmds_need_lc_CXX=yes
 
12681
        no_undefined_flag_CXX=' -zdefs'
 
12682
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12683
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
12684
        $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'
 
12685
 
 
12686
        hardcode_libdir_flag_spec_CXX='-R$libdir'
 
12687
        hardcode_shlibpath_var_CXX=no
 
12688
        case $host_os in
 
12689
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
12690
          *)
 
12691
            # The compiler driver will combine and reorder linker options,
 
12692
            # but understands `-z linker_flag'.
 
12693
            # Supported since Solaris 2.6 (maybe 2.5.1?)
 
12694
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
 
12695
            ;;
 
12696
        esac
 
12697
        link_all_deplibs_CXX=yes
 
12698
 
 
12699
        output_verbose_link_cmd='echo'
 
12700
 
 
12701
        # Archives containing C++ object files must be created using
 
12702
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
12703
        # necessary to make sure instantiated templates are included
 
12704
        # in the archive.
 
12705
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
12706
        ;;
 
12707
      gcx*)
 
12708
        # Green Hills C++ Compiler
 
12709
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
12710
 
 
12711
        # The C++ compiler must be used to create the archive.
 
12712
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 
12713
        ;;
 
12714
      *)
 
12715
        # GNU C++ compiler with Solaris linker
 
12716
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
12717
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
 
12718
          if $CC --version | grep -v '^2\.7' > /dev/null; then
 
12719
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
12720
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
12721
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
12722
 
 
12723
            # Commands to make compiler produce verbose output that lists
 
12724
            # what "hidden" libraries, object files and flags are used when
 
12725
            # linking a shared library.
 
12726
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
 
12727
          else
 
12728
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
 
12729
            # platform.
 
12730
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
12731
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
12732
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
12733
 
 
12734
            # Commands to make compiler produce verbose output that lists
 
12735
            # what "hidden" libraries, object files and flags are used when
 
12736
            # linking a shared library.
 
12737
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
 
12738
          fi
 
12739
 
 
12740
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
12741
          case $host_os in
 
12742
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
12743
          *)
 
12744
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
12745
            ;;
 
12746
          esac
 
12747
        fi
 
12748
        ;;
 
12749
    esac
 
12750
    ;;
 
12751
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
12752
    no_undefined_flag_CXX='${wl}-z,text'
 
12753
    archive_cmds_need_lc_CXX=no
 
12754
    hardcode_shlibpath_var_CXX=no
 
12755
    runpath_var='LD_RUN_PATH'
 
12756
 
 
12757
    case $cc_basename in
 
12758
      CC*)
 
12759
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12760
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12761
        ;;
 
12762
      *)
 
12763
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12764
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12765
        ;;
 
12766
    esac
 
12767
    ;;
 
12768
  sysv5* | sco3.2v5* | sco5v6*)
 
12769
    # Note: We can NOT use -z defs as we might desire, because we do not
 
12770
    # link with -lc, and that would cause any symbols used from libc to
 
12771
    # always be unresolved, which means just about no library would
 
12772
    # ever link correctly.  If we're not using GNU ld we use -z text
 
12773
    # though, which does catch some bad symbols but isn't as heavy-handed
 
12774
    # as -z defs.
 
12775
    # For security reasons, it is highly recommended that you always
 
12776
    # use absolute paths for naming shared libraries, and exclude the
 
12777
    # DT_RUNPATH tag from executables and libraries.  But doing so
 
12778
    # requires that you compile everything twice, which is a pain.
 
12779
    # So that behaviour is only enabled if SCOABSPATH is set to a
 
12780
    # non-empty value in the environment.  Most likely only useful for
 
12781
    # creating official distributions of packages.
 
12782
    # This is a hack until libtool officially supports absolute path
 
12783
    # names for shared libraries.
 
12784
    no_undefined_flag_CXX='${wl}-z,text'
 
12785
    allow_undefined_flag_CXX='${wl}-z,nodefs'
 
12786
    archive_cmds_need_lc_CXX=no
 
12787
    hardcode_shlibpath_var_CXX=no
 
12788
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
12789
    hardcode_libdir_separator_CXX=':'
 
12790
    link_all_deplibs_CXX=yes
 
12791
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
12792
    runpath_var='LD_RUN_PATH'
 
12793
 
 
12794
    case $cc_basename in
 
12795
      CC*)
 
12796
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12797
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12798
        ;;
 
12799
      *)
 
12800
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12801
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12802
        ;;
 
12803
    esac
 
12804
    ;;
 
12805
  tandem*)
 
12806
    case $cc_basename in
 
12807
      NCC*)
 
12808
        # NonStop-UX NCC 3.20
 
12809
        # FIXME: insert proper C++ library support
 
12810
        ld_shlibs_CXX=no
 
12811
        ;;
 
12812
      *)
 
12813
        # FIXME: insert proper C++ library support
 
12814
        ld_shlibs_CXX=no
 
12815
        ;;
 
12816
    esac
 
12817
    ;;
 
12818
  vxworks*)
 
12819
    # FIXME: insert proper C++ library support
 
12820
    ld_shlibs_CXX=no
 
12821
    ;;
 
12822
  *)
 
12823
    # FIXME: insert proper C++ library support
 
12824
    ld_shlibs_CXX=no
 
12825
    ;;
 
12826
esac
 
12827
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12828
$as_echo "$ld_shlibs_CXX" >&6; }
 
12829
test "$ld_shlibs_CXX" = no && can_build_shared=no
 
12830
 
 
12831
GCC_CXX="$GXX"
 
12832
LD_CXX="$LD"
 
12833
 
 
12834
cat > conftest.$ac_ext <<EOF
 
12835
class Foo
 
12836
{
 
12837
public:
 
12838
  Foo (void) { a = 0; }
 
12839
private:
 
12840
  int a;
 
12841
};
 
12842
EOF
 
12843
 
 
12844
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
12845
  (eval $ac_compile) 2>&5
 
12846
  ac_status=$?
 
12847
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12848
  (exit $ac_status); }; then
 
12849
  # Parse the compiler output and extract the necessary
 
12850
  # objects, libraries and library flags.
 
12851
 
 
12852
  # Sentinel used to keep track of whether or not we are before
 
12853
  # the conftest object file.
 
12854
  pre_test_object_deps_done=no
 
12855
 
 
12856
  # The `*' in the case matches for architectures that use `case' in
 
12857
  # $output_verbose_cmd can trigger glob expansion during the loop
 
12858
  # eval without this substitution.
 
12859
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
 
12860
 
 
12861
  for p in `eval $output_verbose_link_cmd`; do
 
12862
    case $p in
 
12863
 
 
12864
    -L* | -R* | -l*)
 
12865
       # Some compilers place space between "-{L,R}" and the path.
 
12866
       # Remove the space.
 
12867
       if test $p = "-L" \
 
12868
          || test $p = "-R"; then
 
12869
         prev=$p
 
12870
         continue
 
12871
       else
 
12872
         prev=
 
12873
       fi
 
12874
 
 
12875
       if test "$pre_test_object_deps_done" = no; then
 
12876
         case $p in
 
12877
         -L* | -R*)
 
12878
           # Internal compiler library paths should come after those
 
12879
           # provided the user.  The postdeps already come after the
 
12880
           # user supplied libs so there is no need to process them.
 
12881
           if test -z "$compiler_lib_search_path_CXX"; then
 
12882
             compiler_lib_search_path_CXX="${prev}${p}"
 
12883
           else
 
12884
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
 
12885
           fi
 
12886
           ;;
 
12887
         # The "-l" case would never come before the object being
 
12888
         # linked, so don't bother handling this case.
 
12889
         esac
 
12890
       else
 
12891
         if test -z "$postdeps_CXX"; then
 
12892
           postdeps_CXX="${prev}${p}"
 
12893
         else
 
12894
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
 
12895
         fi
 
12896
       fi
 
12897
       ;;
 
12898
 
 
12899
    *.$objext)
 
12900
       # This assumes that the test object file only shows up
 
12901
       # once in the compiler output.
 
12902
       if test "$p" = "conftest.$objext"; then
 
12903
         pre_test_object_deps_done=yes
 
12904
         continue
 
12905
       fi
 
12906
 
 
12907
       if test "$pre_test_object_deps_done" = no; then
 
12908
         if test -z "$predep_objects_CXX"; then
 
12909
           predep_objects_CXX="$p"
 
12910
         else
 
12911
           predep_objects_CXX="$predep_objects_CXX $p"
 
12912
         fi
 
12913
       else
 
12914
         if test -z "$postdep_objects_CXX"; then
 
12915
           postdep_objects_CXX="$p"
 
12916
         else
 
12917
           postdep_objects_CXX="$postdep_objects_CXX $p"
 
12918
         fi
 
12919
       fi
 
12920
       ;;
 
12921
 
 
12922
    *) ;; # Ignore the rest.
 
12923
 
 
12924
    esac
 
12925
  done
 
12926
 
 
12927
  # Clean up.
 
12928
  rm -f a.out a.exe
 
12929
else
 
12930
  echo "libtool.m4: error: problem compiling CXX test program"
 
12931
fi
 
12932
 
 
12933
$rm -f confest.$objext
 
12934
 
 
12935
compiler_lib_search_dirs_CXX=
 
12936
if test -n "$compiler_lib_search_path_CXX"; then
 
12937
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
12938
fi
 
12939
 
 
12940
# PORTME: override above test on systems where it is broken
 
12941
case $host_os in
 
12942
interix[3-9]*)
 
12943
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
12944
  # hack all around it, let's just trust "g++" to DTRT.
 
12945
  predep_objects_CXX=
 
12946
  postdep_objects_CXX=
 
12947
  postdeps_CXX=
 
12948
  ;;
 
12949
 
 
12950
linux*)
 
12951
  case `$CC -V 2>&1 | sed 5q` in
 
12952
  *Sun\ C*)
 
12953
    # Sun C++ 5.9
 
12954
    #
 
12955
    # The more standards-conforming stlport4 library is
 
12956
    # incompatible with the Cstd library. Avoid specifying
 
12957
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12958
    # -library=stlport4 depends on it.
 
12959
    case " $CXX $CXXFLAGS " in
 
12960
    *" -library=stlport4 "*)
 
12961
      solaris_use_stlport4=yes
 
12962
      ;;
 
12963
    esac
 
12964
    if test "$solaris_use_stlport4" != yes; then
 
12965
      postdeps_CXX='-library=Cstd -library=Crun'
 
12966
    fi
 
12967
    ;;
 
12968
  esac
 
12969
  ;;
 
12970
 
 
12971
solaris*)
 
12972
  case $cc_basename in
 
12973
  CC*)
 
12974
    # The more standards-conforming stlport4 library is
 
12975
    # incompatible with the Cstd library. Avoid specifying
 
12976
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12977
    # -library=stlport4 depends on it.
 
12978
    case " $CXX $CXXFLAGS " in
 
12979
    *" -library=stlport4 "*)
 
12980
      solaris_use_stlport4=yes
 
12981
      ;;
 
12982
    esac
 
12983
 
 
12984
    # Adding this requires a known-good setup of shared libraries for
 
12985
    # Sun compiler versions before 5.6, else PIC objects from an old
 
12986
    # archive will be linked into the output, leading to subtle bugs.
 
12987
    if test "$solaris_use_stlport4" != yes; then
 
12988
      postdeps_CXX='-library=Cstd -library=Crun'
 
12989
    fi
 
12990
    ;;
 
12991
  esac
 
12992
  ;;
 
12993
esac
 
12994
 
 
12995
case " $postdeps_CXX " in
 
12996
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
 
12997
esac
 
12998
 
 
12999
lt_prog_compiler_wl_CXX=
 
13000
lt_prog_compiler_pic_CXX=
 
13001
lt_prog_compiler_static_CXX=
 
13002
 
 
13003
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
13004
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
13005
 
 
13006
  # C++ specific cases for pic, static, wl, etc.
 
13007
  if test "$GXX" = yes; then
 
13008
    lt_prog_compiler_wl_CXX='-Wl,'
 
13009
    lt_prog_compiler_static_CXX='-static'
 
13010
 
 
13011
    case $host_os in
 
13012
    aix*)
 
13013
      # All AIX code is PIC.
 
13014
      if test "$host_cpu" = ia64; then
 
13015
        # AIX 5 now supports IA64 processor
 
13016
        lt_prog_compiler_static_CXX='-Bstatic'
 
13017
      fi
 
13018
      ;;
 
13019
    amigaos*)
 
13020
      # FIXME: we need at least 68020 code to build shared libraries, but
 
13021
      # adding the `-m68020' flag to GCC prevents building anything better,
 
13022
      # like `-m68040'.
 
13023
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 
13024
      ;;
 
13025
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
13026
      # PIC is the default for these OSes.
 
13027
      ;;
 
13028
    mingw* | cygwin* | os2* | pw32*)
 
13029
      # This hack is so that the source file can tell whether it is being
 
13030
      # built for inclusion in a dll (and should export symbols for example).
 
13031
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
13032
      # (--disable-auto-import) libraries
 
13033
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
13034
      ;;
 
13035
    darwin* | rhapsody*)
 
13036
      # PIC is the default on this platform
 
13037
      # Common symbols not allowed in MH_DYLIB files
 
13038
      lt_prog_compiler_pic_CXX='-fno-common'
 
13039
      ;;
 
13040
    *djgpp*)
 
13041
      # DJGPP does not support shared libraries at all
 
13042
      lt_prog_compiler_pic_CXX=
 
13043
      ;;
 
13044
    interix[3-9]*)
 
13045
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
13046
      # Instead, we relocate shared libraries at runtime.
 
13047
      ;;
 
13048
    sysv4*MP*)
 
13049
      if test -d /usr/nec; then
 
13050
        lt_prog_compiler_pic_CXX=-Kconform_pic
 
13051
      fi
 
13052
      ;;
 
13053
    hpux*)
 
13054
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
13055
      # not for PA HP-UX.
 
13056
      case $host_cpu in
 
13057
      hppa*64*|ia64*)
 
13058
        ;;
 
13059
      *)
 
13060
        lt_prog_compiler_pic_CXX='-fPIC'
 
13061
        ;;
 
13062
      esac
 
13063
      ;;
 
13064
    *)
 
13065
      lt_prog_compiler_pic_CXX='-fPIC'
 
13066
      ;;
 
13067
    esac
 
13068
  else
 
13069
    case $host_os in
 
13070
      aix[4-9]*)
 
13071
        # All AIX code is PIC.
 
13072
        if test "$host_cpu" = ia64; then
 
13073
          # AIX 5 now supports IA64 processor
 
13074
          lt_prog_compiler_static_CXX='-Bstatic'
 
13075
        else
 
13076
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
 
13077
        fi
 
13078
        ;;
 
13079
      chorus*)
 
13080
        case $cc_basename in
 
13081
        cxch68*)
 
13082
          # Green Hills C++ Compiler
 
13083
          # _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"
 
13084
          ;;
 
13085
        esac
 
13086
        ;;
 
13087
       darwin*)
 
13088
         # PIC is the default on this platform
 
13089
         # Common symbols not allowed in MH_DYLIB files
 
13090
         case $cc_basename in
 
13091
           xlc*)
 
13092
           lt_prog_compiler_pic_CXX='-qnocommon'
 
13093
           lt_prog_compiler_wl_CXX='-Wl,'
 
13094
           ;;
 
13095
         esac
 
13096
       ;;
 
13097
      dgux*)
 
13098
        case $cc_basename in
 
13099
          ec++*)
 
13100
            lt_prog_compiler_pic_CXX='-KPIC'
 
13101
            ;;
 
13102
          ghcx*)
 
13103
            # Green Hills C++ Compiler
 
13104
            lt_prog_compiler_pic_CXX='-pic'
 
13105
            ;;
 
13106
          *)
 
13107
            ;;
 
13108
        esac
 
13109
        ;;
 
13110
      freebsd* | dragonfly*)
 
13111
        # FreeBSD uses GNU C++
 
13112
        ;;
 
13113
      hpux9* | hpux10* | hpux11*)
 
13114
        case $cc_basename in
 
13115
          CC*)
 
13116
            lt_prog_compiler_wl_CXX='-Wl,'
 
13117
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
13118
            if test "$host_cpu" != ia64; then
 
13119
              lt_prog_compiler_pic_CXX='+Z'
 
13120
            fi
 
13121
            ;;
 
13122
          aCC*)
 
13123
            lt_prog_compiler_wl_CXX='-Wl,'
 
13124
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
13125
            case $host_cpu in
 
13126
            hppa*64*|ia64*)
 
13127
              # +Z the default
 
13128
              ;;
 
13129
            *)
 
13130
              lt_prog_compiler_pic_CXX='+Z'
 
13131
              ;;
 
13132
            esac
 
13133
            ;;
 
13134
          *)
 
13135
            ;;
 
13136
        esac
 
13137
        ;;
 
13138
      interix*)
 
13139
        # This is c89, which is MS Visual C++ (no shared libs)
 
13140
        # Anyone wants to do a port?
 
13141
        ;;
 
13142
      irix5* | irix6* | nonstopux*)
 
13143
        case $cc_basename in
 
13144
          CC*)
 
13145
            lt_prog_compiler_wl_CXX='-Wl,'
 
13146
            lt_prog_compiler_static_CXX='-non_shared'
 
13147
            # CC pic flag -KPIC is the default.
 
13148
            ;;
 
13149
          *)
 
13150
            ;;
 
13151
        esac
 
13152
        ;;
 
13153
      linux* | k*bsd*-gnu)
 
13154
        case $cc_basename in
 
13155
          KCC*)
 
13156
            # KAI C++ Compiler
 
13157
            lt_prog_compiler_wl_CXX='--backend -Wl,'
 
13158
            lt_prog_compiler_pic_CXX='-fPIC'
 
13159
            ;;
 
13160
          icpc* | ecpc*)
 
13161
            # Intel C++
 
13162
            lt_prog_compiler_wl_CXX='-Wl,'
 
13163
            lt_prog_compiler_pic_CXX='-KPIC'
 
13164
            lt_prog_compiler_static_CXX='-static'
 
13165
            ;;
 
13166
          pgCC* | pgcpp*)
 
13167
            # Portland Group C++ compiler.
 
13168
            lt_prog_compiler_wl_CXX='-Wl,'
 
13169
            lt_prog_compiler_pic_CXX='-fpic'
 
13170
            lt_prog_compiler_static_CXX='-Bstatic'
 
13171
            ;;
 
13172
          cxx*)
 
13173
            # Compaq C++
 
13174
            # Make sure the PIC flag is empty.  It appears that all Alpha
 
13175
            # Linux and Compaq Tru64 Unix objects are PIC.
 
13176
            lt_prog_compiler_pic_CXX=
 
13177
            lt_prog_compiler_static_CXX='-non_shared'
 
13178
            ;;
 
13179
          *)
 
13180
            case `$CC -V 2>&1 | sed 5q` in
 
13181
            *Sun\ C*)
 
13182
              # Sun C++ 5.9
 
13183
              lt_prog_compiler_pic_CXX='-KPIC'
 
13184
              lt_prog_compiler_static_CXX='-Bstatic'
 
13185
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
13186
              ;;
 
13187
            esac
 
13188
            ;;
 
13189
        esac
 
13190
        ;;
 
13191
      lynxos*)
 
13192
        ;;
 
13193
      m88k*)
 
13194
        ;;
 
13195
      mvs*)
 
13196
        case $cc_basename in
 
13197
          cxx*)
 
13198
            lt_prog_compiler_pic_CXX='-W c,exportall'
 
13199
            ;;
 
13200
          *)
 
13201
            ;;
 
13202
        esac
 
13203
        ;;
 
13204
      netbsd*)
 
13205
        ;;
 
13206
      osf3* | osf4* | osf5*)
 
13207
        case $cc_basename in
 
13208
          KCC*)
 
13209
            lt_prog_compiler_wl_CXX='--backend -Wl,'
 
13210
            ;;
 
13211
          RCC*)
 
13212
            # Rational C++ 2.4.1
 
13213
            lt_prog_compiler_pic_CXX='-pic'
 
13214
            ;;
 
13215
          cxx*)
 
13216
            # Digital/Compaq C++
 
13217
            lt_prog_compiler_wl_CXX='-Wl,'
 
13218
            # Make sure the PIC flag is empty.  It appears that all Alpha
 
13219
            # Linux and Compaq Tru64 Unix objects are PIC.
 
13220
            lt_prog_compiler_pic_CXX=
 
13221
            lt_prog_compiler_static_CXX='-non_shared'
 
13222
            ;;
 
13223
          *)
 
13224
            ;;
 
13225
        esac
 
13226
        ;;
 
13227
      psos*)
 
13228
        ;;
 
13229
      solaris*)
 
13230
        case $cc_basename in
 
13231
          CC*)
 
13232
            # Sun C++ 4.2, 5.x and Centerline C++
 
13233
            lt_prog_compiler_pic_CXX='-KPIC'
 
13234
            lt_prog_compiler_static_CXX='-Bstatic'
 
13235
            lt_prog_compiler_wl_CXX='-Qoption ld '
 
13236
            ;;
 
13237
          gcx*)
 
13238
            # Green Hills C++ Compiler
 
13239
            lt_prog_compiler_pic_CXX='-PIC'
 
13240
            ;;
 
13241
          *)
 
13242
            ;;
 
13243
        esac
 
13244
        ;;
 
13245
      sunos4*)
 
13246
        case $cc_basename in
 
13247
          CC*)
 
13248
            # Sun C++ 4.x
 
13249
            lt_prog_compiler_pic_CXX='-pic'
 
13250
            lt_prog_compiler_static_CXX='-Bstatic'
 
13251
            ;;
 
13252
          lcc*)
 
13253
            # Lucid
 
13254
            lt_prog_compiler_pic_CXX='-pic'
 
13255
            ;;
 
13256
          *)
 
13257
            ;;
 
13258
        esac
 
13259
        ;;
 
13260
      tandem*)
 
13261
        case $cc_basename in
 
13262
          NCC*)
 
13263
            # NonStop-UX NCC 3.20
 
13264
            lt_prog_compiler_pic_CXX='-KPIC'
 
13265
            ;;
 
13266
          *)
 
13267
            ;;
 
13268
        esac
 
13269
        ;;
 
13270
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
13271
        case $cc_basename in
 
13272
          CC*)
 
13273
            lt_prog_compiler_wl_CXX='-Wl,'
 
13274
            lt_prog_compiler_pic_CXX='-KPIC'
 
13275
            lt_prog_compiler_static_CXX='-Bstatic'
 
13276
            ;;
 
13277
        esac
 
13278
        ;;
 
13279
      vxworks*)
 
13280
        ;;
 
13281
      *)
 
13282
        lt_prog_compiler_can_build_shared_CXX=no
 
13283
        ;;
 
13284
    esac
 
13285
  fi
 
13286
 
 
13287
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
13288
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
 
13289
 
 
13290
#
 
13291
# Check to make sure the PIC flag actually works.
 
13292
#
 
13293
if test -n "$lt_prog_compiler_pic_CXX"; then
 
13294
 
 
13295
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
13296
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
 
13297
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
 
13298
  $as_echo_n "(cached) " >&6
 
13299
else
 
13300
  lt_cv_prog_compiler_pic_works_CXX=no
 
13301
  ac_outfile=conftest.$ac_objext
 
13302
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13303
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
 
13304
   # Insert the option either (1) after the last *FLAGS variable, or
 
13305
   # (2) before a word containing "conftest.", or (3) at the end.
 
13306
   # Note that $ac_compile itself does not contain backslashes and begins
 
13307
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
13308
   # The option is referenced via a variable to avoid confusing sed.
 
13309
   lt_compile=`echo "$ac_compile" | $SED \
 
13310
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
13311
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
13312
   -e 's:$: $lt_compiler_flag:'`
 
13313
   (eval echo "\"\$as_me:13313: $lt_compile\"" >&5)
 
13314
   (eval "$lt_compile" 2>conftest.err)
 
13315
   ac_status=$?
 
13316
   cat conftest.err >&5
 
13317
   echo "$as_me:13317: \$? = $ac_status" >&5
 
13318
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
13319
     # The compiler can only warn and ignore the option if not recognized
 
13320
     # So say no if there are warnings other than the usual output.
 
13321
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
13322
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
13323
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
13324
       lt_cv_prog_compiler_pic_works_CXX=yes
 
13325
     fi
 
13326
   fi
 
13327
   $rm conftest*
 
13328
 
 
13329
fi
 
13330
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
13331
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
 
13332
 
 
13333
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
 
13334
    case $lt_prog_compiler_pic_CXX in
 
13335
     "" | " "*) ;;
 
13336
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
 
13337
     esac
 
13338
else
 
13339
    lt_prog_compiler_pic_CXX=
 
13340
     lt_prog_compiler_can_build_shared_CXX=no
 
13341
fi
 
13342
 
 
13343
fi
 
13344
case $host_os in
 
13345
  # For platforms which do not support PIC, -DPIC is meaningless:
 
13346
  *djgpp*)
 
13347
    lt_prog_compiler_pic_CXX=
 
13348
    ;;
 
13349
  *)
 
13350
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
 
13351
    ;;
 
13352
esac
 
13353
 
 
13354
#
 
13355
# Check to make sure the static flag actually works.
 
13356
#
 
13357
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 
13358
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
13359
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
13360
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
 
13361
  $as_echo_n "(cached) " >&6
 
13362
else
 
13363
  lt_cv_prog_compiler_static_works_CXX=no
 
13364
   save_LDFLAGS="$LDFLAGS"
 
13365
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
13366
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
13367
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
13368
     # The linker can only warn and ignore the option if not recognized
 
13369
     # So say no if there are warnings
 
13370
     if test -s conftest.err; then
 
13371
       # Append any errors to the config.log.
 
13372
       cat conftest.err 1>&5
 
13373
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
13374
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
13375
       if diff conftest.exp conftest.er2 >/dev/null; then
 
13376
         lt_cv_prog_compiler_static_works_CXX=yes
 
13377
       fi
 
13378
     else
 
13379
       lt_cv_prog_compiler_static_works_CXX=yes
 
13380
     fi
 
13381
   fi
 
13382
   $rm -r conftest*
 
13383
   LDFLAGS="$save_LDFLAGS"
 
13384
 
 
13385
fi
 
13386
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
13387
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
 
13388
 
 
13389
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
 
13390
    :
 
13391
else
 
13392
    lt_prog_compiler_static_CXX=
 
13393
fi
 
13394
 
 
13395
 
 
13396
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13397
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
13398
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 
13399
  $as_echo_n "(cached) " >&6
 
13400
else
 
13401
  lt_cv_prog_compiler_c_o_CXX=no
 
13402
   $rm -r conftest 2>/dev/null
 
13403
   mkdir conftest
 
13404
   cd conftest
 
13405
   mkdir out
 
13406
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13407
 
 
13408
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
13409
   # Insert the option either (1) after the last *FLAGS variable, or
 
13410
   # (2) before a word containing "conftest.", or (3) at the end.
 
13411
   # Note that $ac_compile itself does not contain backslashes and begins
 
13412
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
13413
   lt_compile=`echo "$ac_compile" | $SED \
 
13414
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
13415
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
13416
   -e 's:$: $lt_compiler_flag:'`
 
13417
   (eval echo "\"\$as_me:13417: $lt_compile\"" >&5)
 
13418
   (eval "$lt_compile" 2>out/conftest.err)
 
13419
   ac_status=$?
 
13420
   cat out/conftest.err >&5
 
13421
   echo "$as_me:13421: \$? = $ac_status" >&5
 
13422
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
13423
   then
 
13424
     # The compiler can only warn and ignore the option if not recognized
 
13425
     # So say no if there are warnings
 
13426
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
13427
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
13428
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
13429
       lt_cv_prog_compiler_c_o_CXX=yes
 
13430
     fi
 
13431
   fi
 
13432
   chmod u+w . 2>&5
 
13433
   $rm conftest*
 
13434
   # SGI C++ compiler will create directory out/ii_files/ for
 
13435
   # template instantiation
 
13436
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 
13437
   $rm out/* && rmdir out
 
13438
   cd ..
 
13439
   rmdir conftest
 
13440
   $rm conftest*
 
13441
 
 
13442
fi
 
13443
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
13444
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
13445
 
 
13446
 
 
13447
hard_links="nottested"
 
13448
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
 
13449
  # do not overwrite the value of need_locks provided by the user
 
13450
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
13451
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
13452
  hard_links=yes
 
13453
  $rm conftest*
 
13454
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
13455
  touch conftest.a
 
13456
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
13457
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
13458
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
13459
$as_echo "$hard_links" >&6; }
 
13460
  if test "$hard_links" = no; then
 
13461
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
13462
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
13463
    need_locks=warn
 
13464
  fi
 
13465
else
 
13466
  need_locks=no
 
13467
fi
 
13468
 
 
13469
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13470
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
13471
 
 
13472
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
13473
  case $host_os in
 
13474
  aix[4-9]*)
 
13475
    # If we're using GNU nm, then we don't want the "-C" option.
 
13476
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
13477
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 
13478
      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'
 
13479
    else
 
13480
      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'
 
13481
    fi
 
13482
    ;;
 
13483
  pw32*)
 
13484
    export_symbols_cmds_CXX="$ltdll_cmds"
 
13485
  ;;
 
13486
  cygwin* | mingw*)
 
13487
    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'
 
13488
  ;;
 
13489
  *)
 
13490
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
13491
  ;;
 
13492
  esac
 
13493
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
13494
 
 
13495
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
13496
$as_echo "$ld_shlibs_CXX" >&6; }
 
13497
test "$ld_shlibs_CXX" = no && can_build_shared=no
 
13498
 
 
13499
#
 
13500
# Do we need to explicitly link libc?
 
13501
#
 
13502
case "x$archive_cmds_need_lc_CXX" in
 
13503
x|xyes)
 
13504
  # Assume -lc should be added
 
13505
  archive_cmds_need_lc_CXX=yes
 
13506
 
 
13507
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
13508
    case $archive_cmds_CXX in
 
13509
    *'~'*)
 
13510
      # FIXME: we may have to deal with multi-command sequences.
 
13511
      ;;
 
13512
    '$CC '*)
 
13513
      # Test whether the compiler implicitly links with -lc since on some
 
13514
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
13515
      # to ld, don't add -lc before -lgcc.
 
13516
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
13517
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
13518
      $rm conftest*
 
13519
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13520
 
 
13521
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13522
  (eval $ac_compile) 2>&5
 
13523
  ac_status=$?
 
13524
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13525
  (exit $ac_status); } 2>conftest.err; then
 
13526
        soname=conftest
 
13527
        lib=conftest
 
13528
        libobjs=conftest.$ac_objext
 
13529
        deplibs=
 
13530
        wl=$lt_prog_compiler_wl_CXX
 
13531
        pic_flag=$lt_prog_compiler_pic_CXX
 
13532
        compiler_flags=-v
 
13533
        linker_flags=-v
 
13534
        verstring=
 
13535
        output_objdir=.
 
13536
        libname=conftest
 
13537
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
 
13538
        allow_undefined_flag_CXX=
 
13539
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
13540
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
13541
  ac_status=$?
 
13542
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13543
  (exit $ac_status); }
 
13544
        then
 
13545
          archive_cmds_need_lc_CXX=no
 
13546
        else
 
13547
          archive_cmds_need_lc_CXX=yes
 
13548
        fi
 
13549
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 
13550
      else
 
13551
        cat conftest.err 1>&5
 
13552
      fi
 
13553
      $rm conftest*
 
13554
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
13555
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
 
13556
      ;;
 
13557
    esac
 
13558
  fi
 
13559
  ;;
 
13560
esac
 
13561
 
 
13562
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
13563
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
13564
library_names_spec=
 
13565
libname_spec='lib$name'
 
13566
soname_spec=
 
13567
shrext_cmds=".so"
 
13568
postinstall_cmds=
 
13569
postuninstall_cmds=
 
13570
finish_cmds=
 
13571
finish_eval=
 
13572
shlibpath_var=
 
13573
shlibpath_overrides_runpath=unknown
 
13574
version_type=none
 
13575
dynamic_linker="$host_os ld.so"
 
13576
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
13577
 
 
13578
need_lib_prefix=unknown
 
13579
hardcode_into_libs=no
 
13580
 
 
13581
# when you set need_version to no, make sure it does not cause -set_version
 
13582
# flags to be left without arguments
 
13583
need_version=unknown
 
13584
 
 
13585
case $host_os in
 
13586
aix3*)
 
13587
  version_type=linux
 
13588
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
13589
  shlibpath_var=LIBPATH
 
13590
 
 
13591
  # AIX 3 has no versioning support, so we append a major version to the name.
 
13592
  soname_spec='${libname}${release}${shared_ext}$major'
 
13593
  ;;
 
13594
 
 
13595
aix[4-9]*)
 
13596
  version_type=linux
 
13597
  need_lib_prefix=no
 
13598
  need_version=no
 
13599
  hardcode_into_libs=yes
 
13600
  if test "$host_cpu" = ia64; then
 
13601
    # AIX 5 supports IA64
 
13602
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
13603
    shlibpath_var=LD_LIBRARY_PATH
 
13604
  else
 
13605
    # With GCC up to 2.95.x, collect2 would create an import file
 
13606
    # for dependence libraries.  The import file would start with
 
13607
    # the line `#! .'.  This would cause the generated library to
 
13608
    # depend on `.', always an invalid library.  This was fixed in
 
13609
    # development snapshots of GCC prior to 3.0.
 
13610
    case $host_os in
 
13611
      aix4 | aix4.[01] | aix4.[01].*)
 
13612
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
13613
           echo ' yes '
 
13614
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
13615
        :
 
13616
      else
 
13617
        can_build_shared=no
 
13618
      fi
 
13619
      ;;
 
13620
    esac
 
13621
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
13622
    # soname into executable. Probably we can add versioning support to
 
13623
    # collect2, so additional links can be useful in future.
 
13624
    if test "$aix_use_runtimelinking" = yes; then
 
13625
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
13626
      # instead of lib<name>.a to let people know that these are not
 
13627
      # typical AIX shared libraries.
 
13628
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13629
    else
 
13630
      # We preserve .a as extension for shared libraries through AIX4.2
 
13631
      # and later when we are not doing run time linking.
 
13632
      library_names_spec='${libname}${release}.a $libname.a'
 
13633
      soname_spec='${libname}${release}${shared_ext}$major'
 
13634
    fi
 
13635
    shlibpath_var=LIBPATH
 
13636
  fi
 
13637
  ;;
 
13638
 
 
13639
amigaos*)
 
13640
  library_names_spec='$libname.ixlibrary $libname.a'
 
13641
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
13642
  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'
 
13643
  ;;
 
13644
 
 
13645
beos*)
 
13646
  library_names_spec='${libname}${shared_ext}'
 
13647
  dynamic_linker="$host_os ld.so"
 
13648
  shlibpath_var=LIBRARY_PATH
 
13649
  ;;
 
13650
 
 
13651
bsdi[45]*)
 
13652
  version_type=linux
 
13653
  need_version=no
 
13654
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13655
  soname_spec='${libname}${release}${shared_ext}$major'
 
13656
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
13657
  shlibpath_var=LD_LIBRARY_PATH
 
13658
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
13659
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
13660
  # the default ld.so.conf also contains /usr/contrib/lib and
 
13661
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
13662
  # libtool to hard-code these into programs
 
13663
  ;;
 
13664
 
 
13665
cygwin* | mingw* | pw32*)
 
13666
  version_type=windows
 
13667
  shrext_cmds=".dll"
 
13668
  need_version=no
 
13669
  need_lib_prefix=no
 
13670
 
 
13671
  case $GCC,$host_os in
 
13672
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
13673
    library_names_spec='$libname.dll.a'
 
13674
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
13675
    postinstall_cmds='base_file=`basename \${file}`~
 
13676
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
13677
      dldir=$destdir/`dirname \$dlpath`~
 
13678
      test -d \$dldir || mkdir -p \$dldir~
 
13679
      $install_prog $dir/$dlname \$dldir/$dlname~
 
13680
      chmod a+x \$dldir/$dlname'
 
13681
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
13682
      dlpath=$dir/\$dldll~
 
13683
       $rm \$dlpath'
 
13684
    shlibpath_overrides_runpath=yes
 
13685
 
 
13686
    case $host_os in
 
13687
    cygwin*)
 
13688
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
13689
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
13690
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
13691
      ;;
 
13692
    mingw*)
 
13693
      # MinGW DLLs use traditional 'lib' prefix
 
13694
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
13695
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
13696
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
13697
        # It is most probably a Windows format PATH printed by
 
13698
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
13699
        # path with ; separators, and with drive letters. We can handle the
 
13700
        # drive letters (cygwin fileutils understands them), so leave them,
 
13701
        # especially as we might pass files found there to a mingw objdump,
 
13702
        # which wouldn't understand a cygwinified path. Ahh.
 
13703
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
13704
      else
 
13705
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
13706
      fi
 
13707
      ;;
 
13708
    pw32*)
 
13709
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
13710
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
13711
      ;;
 
13712
    esac
 
13713
    ;;
 
13714
 
 
13715
  *)
 
13716
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
13717
    ;;
 
13718
  esac
 
13719
  dynamic_linker='Win32 ld.exe'
 
13720
  # FIXME: first we should search . and the directory the executable is in
 
13721
  shlibpath_var=PATH
 
13722
  ;;
 
13723
 
 
13724
darwin* | rhapsody*)
 
13725
  dynamic_linker="$host_os dyld"
 
13726
  version_type=darwin
 
13727
  need_lib_prefix=no
 
13728
  need_version=no
 
13729
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
13730
  soname_spec='${libname}${release}${major}$shared_ext'
 
13731
  shlibpath_overrides_runpath=yes
 
13732
  shlibpath_var=DYLD_LIBRARY_PATH
 
13733
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
13734
 
 
13735
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
13736
  ;;
 
13737
 
 
13738
dgux*)
 
13739
  version_type=linux
 
13740
  need_lib_prefix=no
 
13741
  need_version=no
 
13742
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
13743
  soname_spec='${libname}${release}${shared_ext}$major'
 
13744
  shlibpath_var=LD_LIBRARY_PATH
 
13745
  ;;
 
13746
 
 
13747
freebsd1*)
 
13748
  dynamic_linker=no
 
13749
  ;;
 
13750
 
 
13751
freebsd* | dragonfly*)
 
13752
  # DragonFly does not have aout.  When/if they implement a new
 
13753
  # versioning mechanism, adjust this.
 
13754
  if test -x /usr/bin/objformat; then
 
13755
    objformat=`/usr/bin/objformat`
 
13756
  else
 
13757
    case $host_os in
 
13758
    freebsd[123]*) objformat=aout ;;
 
13759
    *) objformat=elf ;;
 
13760
    esac
 
13761
  fi
 
13762
  version_type=freebsd-$objformat
 
13763
  case $version_type in
 
13764
    freebsd-elf*)
 
13765
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
13766
      need_version=no
 
13767
      need_lib_prefix=no
 
13768
      ;;
 
13769
    freebsd-*)
 
13770
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
13771
      need_version=yes
 
13772
      ;;
 
13773
  esac
 
13774
  shlibpath_var=LD_LIBRARY_PATH
 
13775
  case $host_os in
 
13776
  freebsd2*)
 
13777
    shlibpath_overrides_runpath=yes
 
13778
    ;;
 
13779
  freebsd3.[01]* | freebsdelf3.[01]*)
 
13780
    shlibpath_overrides_runpath=yes
 
13781
    hardcode_into_libs=yes
 
13782
    ;;
 
13783
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
13784
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
13785
    shlibpath_overrides_runpath=no
 
13786
    hardcode_into_libs=yes
 
13787
    ;;
 
13788
  *) # from 4.6 on, and DragonFly
 
13789
    shlibpath_overrides_runpath=yes
 
13790
    hardcode_into_libs=yes
 
13791
    ;;
 
13792
  esac
 
13793
  ;;
 
13794
 
 
13795
gnu*)
 
13796
  version_type=linux
 
13797
  need_lib_prefix=no
 
13798
  need_version=no
 
13799
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
13800
  soname_spec='${libname}${release}${shared_ext}$major'
 
13801
  shlibpath_var=LD_LIBRARY_PATH
 
13802
  hardcode_into_libs=yes
 
13803
  ;;
 
13804
 
 
13805
hpux9* | hpux10* | hpux11*)
 
13806
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
13807
  # link against other versions.
 
13808
  version_type=sunos
 
13809
  need_lib_prefix=no
 
13810
  need_version=no
 
13811
  case $host_cpu in
 
13812
  ia64*)
 
13813
    shrext_cmds='.so'
 
13814
    hardcode_into_libs=yes
 
13815
    dynamic_linker="$host_os dld.so"
 
13816
    shlibpath_var=LD_LIBRARY_PATH
 
13817
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
13818
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13819
    soname_spec='${libname}${release}${shared_ext}$major'
 
13820
    if test "X$HPUX_IA64_MODE" = X32; then
 
13821
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
13822
    else
 
13823
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
13824
    fi
 
13825
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
13826
    ;;
 
13827
   hppa*64*)
 
13828
     shrext_cmds='.sl'
 
13829
     hardcode_into_libs=yes
 
13830
     dynamic_linker="$host_os dld.sl"
 
13831
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
13832
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
13833
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13834
     soname_spec='${libname}${release}${shared_ext}$major'
 
13835
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
13836
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
13837
     ;;
 
13838
   *)
 
13839
    shrext_cmds='.sl'
 
13840
    dynamic_linker="$host_os dld.sl"
 
13841
    shlibpath_var=SHLIB_PATH
 
13842
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
13843
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13844
    soname_spec='${libname}${release}${shared_ext}$major'
 
13845
    ;;
 
13846
  esac
 
13847
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
13848
  postinstall_cmds='chmod 555 $lib'
 
13849
  ;;
 
13850
 
 
13851
interix[3-9]*)
 
13852
  version_type=linux
 
13853
  need_lib_prefix=no
 
13854
  need_version=no
 
13855
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
13856
  soname_spec='${libname}${release}${shared_ext}$major'
 
13857
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
13858
  shlibpath_var=LD_LIBRARY_PATH
 
13859
  shlibpath_overrides_runpath=no
 
13860
  hardcode_into_libs=yes
 
13861
  ;;
 
13862
 
 
13863
irix5* | irix6* | nonstopux*)
 
13864
  case $host_os in
 
13865
    nonstopux*) version_type=nonstopux ;;
 
13866
    *)
 
13867
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
13868
                version_type=linux
 
13869
        else
 
13870
                version_type=irix
 
13871
        fi ;;
 
13872
  esac
 
13873
  need_lib_prefix=no
 
13874
  need_version=no
 
13875
  soname_spec='${libname}${release}${shared_ext}$major'
 
13876
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
13877
  case $host_os in
 
13878
  irix5* | nonstopux*)
 
13879
    libsuff= shlibsuff=
 
13880
    ;;
 
13881
  *)
 
13882
    case $LD in # libtool.m4 will add one of these switches to LD
 
13883
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
13884
      libsuff= shlibsuff= libmagic=32-bit;;
 
13885
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
13886
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
13887
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
13888
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
13889
    *) libsuff= shlibsuff= libmagic=never-match;;
 
13890
    esac
 
13891
    ;;
 
13892
  esac
 
13893
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
13894
  shlibpath_overrides_runpath=no
 
13895
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
13896
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
13897
  hardcode_into_libs=yes
 
13898
  ;;
 
13899
 
 
13900
# No shared lib support for Linux oldld, aout, or coff.
 
13901
linux*oldld* | linux*aout* | linux*coff*)
 
13902
  dynamic_linker=no
 
13903
  ;;
 
13904
 
 
13905
# This must be Linux ELF.
 
13906
linux* | k*bsd*-gnu)
 
13907
  version_type=linux
 
13908
  need_lib_prefix=no
 
13909
  need_version=no
 
13910
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13911
  soname_spec='${libname}${release}${shared_ext}$major'
 
13912
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
13913
  shlibpath_var=LD_LIBRARY_PATH
 
13914
  shlibpath_overrides_runpath=no
 
13915
  # This implies no fast_install, which is unacceptable.
 
13916
  # Some rework will be needed to allow for fast_install
 
13917
  # before this can be enabled.
 
13918
  hardcode_into_libs=yes
 
13919
 
 
13920
  # Append ld.so.conf contents to the search path
 
13921
  if test -f /etc/ld.so.conf; then
 
13922
    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' ' '`
 
13923
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
13924
  fi
 
13925
 
 
13926
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
13927
  # powerpc, because MkLinux only supported shared libraries with the
 
13928
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
13929
  # most powerpc-linux boxes support dynamic linking these days and
 
13930
  # people can always --disable-shared, the test was removed, and we
 
13931
  # assume the GNU/Linux dynamic linker is in use.
 
13932
  dynamic_linker='GNU/Linux ld.so'
 
13933
  ;;
 
13934
 
 
13935
netbsd*)
 
13936
  version_type=sunos
 
13937
  need_lib_prefix=no
 
13938
  need_version=no
 
13939
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
13940
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
13941
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
13942
    dynamic_linker='NetBSD (a.out) ld.so'
 
13943
  else
 
13944
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
13945
    soname_spec='${libname}${release}${shared_ext}$major'
 
13946
    dynamic_linker='NetBSD ld.elf_so'
 
13947
  fi
 
13948
  shlibpath_var=LD_LIBRARY_PATH
 
13949
  shlibpath_overrides_runpath=yes
 
13950
  hardcode_into_libs=yes
 
13951
  ;;
 
13952
 
 
13953
newsos6)
 
13954
  version_type=linux
 
13955
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13956
  shlibpath_var=LD_LIBRARY_PATH
 
13957
  shlibpath_overrides_runpath=yes
 
13958
  ;;
 
13959
 
 
13960
nto-qnx*)
 
13961
  version_type=linux
 
13962
  need_lib_prefix=no
 
13963
  need_version=no
 
13964
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13965
  soname_spec='${libname}${release}${shared_ext}$major'
 
13966
  shlibpath_var=LD_LIBRARY_PATH
 
13967
  shlibpath_overrides_runpath=yes
 
13968
  ;;
 
13969
 
 
13970
openbsd*)
 
13971
  version_type=sunos
 
13972
  sys_lib_dlsearch_path_spec="/usr/lib"
 
13973
  need_lib_prefix=no
 
13974
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
13975
  case $host_os in
 
13976
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
13977
    *)                         need_version=no  ;;
 
13978
  esac
 
13979
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
13980
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
13981
  shlibpath_var=LD_LIBRARY_PATH
 
13982
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
13983
    case $host_os in
 
13984
      openbsd2.[89] | openbsd2.[89].*)
 
13985
        shlibpath_overrides_runpath=no
 
13986
        ;;
 
13987
      *)
 
13988
        shlibpath_overrides_runpath=yes
 
13989
        ;;
 
13990
      esac
 
13991
  else
 
13992
    shlibpath_overrides_runpath=yes
 
13993
  fi
 
13994
  ;;
 
13995
 
 
13996
os2*)
 
13997
  libname_spec='$name'
 
13998
  shrext_cmds=".dll"
 
13999
  need_lib_prefix=no
 
14000
  library_names_spec='$libname${shared_ext} $libname.a'
 
14001
  dynamic_linker='OS/2 ld.exe'
 
14002
  shlibpath_var=LIBPATH
 
14003
  ;;
 
14004
 
 
14005
osf3* | osf4* | osf5*)
 
14006
  version_type=osf
 
14007
  need_lib_prefix=no
 
14008
  need_version=no
 
14009
  soname_spec='${libname}${release}${shared_ext}$major'
 
14010
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14011
  shlibpath_var=LD_LIBRARY_PATH
 
14012
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
14013
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
14014
  ;;
 
14015
 
 
14016
rdos*)
 
14017
  dynamic_linker=no
 
14018
  ;;
 
14019
 
 
14020
solaris*)
 
14021
  version_type=linux
 
14022
  need_lib_prefix=no
 
14023
  need_version=no
 
14024
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14025
  soname_spec='${libname}${release}${shared_ext}$major'
 
14026
  shlibpath_var=LD_LIBRARY_PATH
 
14027
  shlibpath_overrides_runpath=yes
 
14028
  hardcode_into_libs=yes
 
14029
  # ldd complains unless libraries are executable
 
14030
  postinstall_cmds='chmod +x $lib'
 
14031
  ;;
 
14032
 
 
14033
sunos4*)
 
14034
  version_type=sunos
 
14035
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
14036
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
14037
  shlibpath_var=LD_LIBRARY_PATH
 
14038
  shlibpath_overrides_runpath=yes
 
14039
  if test "$with_gnu_ld" = yes; then
 
14040
    need_lib_prefix=no
 
14041
  fi
 
14042
  need_version=yes
 
14043
  ;;
 
14044
 
 
14045
sysv4 | sysv4.3*)
 
14046
  version_type=linux
 
14047
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14048
  soname_spec='${libname}${release}${shared_ext}$major'
 
14049
  shlibpath_var=LD_LIBRARY_PATH
 
14050
  case $host_vendor in
 
14051
    sni)
 
14052
      shlibpath_overrides_runpath=no
 
14053
      need_lib_prefix=no
 
14054
      export_dynamic_flag_spec='${wl}-Blargedynsym'
 
14055
      runpath_var=LD_RUN_PATH
 
14056
      ;;
 
14057
    siemens)
 
14058
      need_lib_prefix=no
 
14059
      ;;
 
14060
    motorola)
 
14061
      need_lib_prefix=no
 
14062
      need_version=no
 
14063
      shlibpath_overrides_runpath=no
 
14064
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
14065
      ;;
 
14066
  esac
 
14067
  ;;
 
14068
 
 
14069
sysv4*MP*)
 
14070
  if test -d /usr/nec ;then
 
14071
    version_type=linux
 
14072
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
14073
    soname_spec='$libname${shared_ext}.$major'
 
14074
    shlibpath_var=LD_LIBRARY_PATH
 
14075
  fi
 
14076
  ;;
 
14077
 
 
14078
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
14079
  version_type=freebsd-elf
 
14080
  need_lib_prefix=no
 
14081
  need_version=no
 
14082
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
14083
  soname_spec='${libname}${release}${shared_ext}$major'
 
14084
  shlibpath_var=LD_LIBRARY_PATH
 
14085
  hardcode_into_libs=yes
 
14086
  if test "$with_gnu_ld" = yes; then
 
14087
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
14088
    shlibpath_overrides_runpath=no
 
14089
  else
 
14090
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
14091
    shlibpath_overrides_runpath=yes
 
14092
    case $host_os in
 
14093
      sco3.2v5*)
 
14094
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
14095
        ;;
 
14096
    esac
 
14097
  fi
 
14098
  sys_lib_dlsearch_path_spec='/usr/lib'
 
14099
  ;;
 
14100
 
 
14101
uts4*)
 
14102
  version_type=linux
 
14103
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14104
  soname_spec='${libname}${release}${shared_ext}$major'
 
14105
  shlibpath_var=LD_LIBRARY_PATH
 
14106
  ;;
 
14107
 
 
14108
*)
 
14109
  dynamic_linker=no
 
14110
  ;;
 
14111
esac
 
14112
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
14113
$as_echo "$dynamic_linker" >&6; }
 
14114
test "$dynamic_linker" = no && can_build_shared=no
 
14115
 
 
14116
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
14117
  $as_echo_n "(cached) " >&6
 
14118
else
 
14119
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
14120
fi
 
14121
 
 
14122
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
14123
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
14124
  $as_echo_n "(cached) " >&6
 
14125
else
 
14126
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
14127
fi
 
14128
 
 
14129
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
14130
 
 
14131
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
14132
if test "$GCC" = yes; then
 
14133
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
14134
fi
 
14135
 
 
14136
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
14137
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
14138
hardcode_action_CXX=
 
14139
if test -n "$hardcode_libdir_flag_spec_CXX" || \
 
14140
   test -n "$runpath_var_CXX" || \
 
14141
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
 
14142
 
 
14143
  # We can hardcode non-existant directories.
 
14144
  if test "$hardcode_direct_CXX" != no &&
 
14145
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
14146
     # have to relink, otherwise we might link with an installed library
 
14147
     # when we should be linking with a yet-to-be-installed one
 
14148
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
 
14149
     test "$hardcode_minus_L_CXX" != no; then
 
14150
    # Linking always hardcodes the temporary library directory.
 
14151
    hardcode_action_CXX=relink
 
14152
  else
 
14153
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
14154
    hardcode_action_CXX=immediate
 
14155
  fi
 
14156
else
 
14157
  # We cannot hardcode anything, or else we can only hardcode existing
 
14158
  # directories.
 
14159
  hardcode_action_CXX=unsupported
 
14160
fi
 
14161
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
14162
$as_echo "$hardcode_action_CXX" >&6; }
 
14163
 
 
14164
if test "$hardcode_action_CXX" = relink; then
 
14165
  # Fast installation is not supported
 
14166
  enable_fast_install=no
 
14167
elif test "$shlibpath_overrides_runpath" = yes ||
 
14168
     test "$enable_shared" = no; then
 
14169
  # Fast installation is not necessary
 
14170
  enable_fast_install=needless
 
14171
fi
 
14172
 
 
14173
 
 
14174
# The else clause should only fire when bootstrapping the
 
14175
# libtool distribution, otherwise you forgot to ship ltmain.sh
 
14176
# with your package, and you will get complaints that there are
 
14177
# no rules to generate ltmain.sh.
 
14178
if test -f "$ltmain"; then
 
14179
  # See if we are running on zsh, and set the options which allow our commands through
 
14180
  # without removal of \ escapes.
 
14181
  if test -n "${ZSH_VERSION+set}" ; then
 
14182
    setopt NO_GLOB_SUBST
 
14183
  fi
 
14184
  # Now quote all the things that may contain metacharacters while being
 
14185
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
 
14186
  # variables and quote the copies for generation of the libtool script.
 
14187
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
 
14188
    SED SHELL STRIP \
 
14189
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 
14190
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 
14191
    deplibs_check_method reload_flag reload_cmds need_locks \
 
14192
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 
14193
    lt_cv_sys_global_symbol_to_c_name_address \
 
14194
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 
14195
    old_postinstall_cmds old_postuninstall_cmds \
 
14196
    compiler_CXX \
 
14197
    CC_CXX \
 
14198
    LD_CXX \
 
14199
    lt_prog_compiler_wl_CXX \
 
14200
    lt_prog_compiler_pic_CXX \
 
14201
    lt_prog_compiler_static_CXX \
 
14202
    lt_prog_compiler_no_builtin_flag_CXX \
 
14203
    export_dynamic_flag_spec_CXX \
 
14204
    thread_safe_flag_spec_CXX \
 
14205
    whole_archive_flag_spec_CXX \
 
14206
    enable_shared_with_static_runtimes_CXX \
 
14207
    old_archive_cmds_CXX \
 
14208
    old_archive_from_new_cmds_CXX \
 
14209
    predep_objects_CXX \
 
14210
    postdep_objects_CXX \
 
14211
    predeps_CXX \
 
14212
    postdeps_CXX \
 
14213
    compiler_lib_search_path_CXX \
 
14214
    compiler_lib_search_dirs_CXX \
 
14215
    archive_cmds_CXX \
 
14216
    archive_expsym_cmds_CXX \
 
14217
    postinstall_cmds_CXX \
 
14218
    postuninstall_cmds_CXX \
 
14219
    old_archive_from_expsyms_cmds_CXX \
 
14220
    allow_undefined_flag_CXX \
 
14221
    no_undefined_flag_CXX \
 
14222
    export_symbols_cmds_CXX \
 
14223
    hardcode_libdir_flag_spec_CXX \
 
14224
    hardcode_libdir_flag_spec_ld_CXX \
 
14225
    hardcode_libdir_separator_CXX \
 
14226
    hardcode_automatic_CXX \
 
14227
    module_cmds_CXX \
 
14228
    module_expsym_cmds_CXX \
 
14229
    lt_cv_prog_compiler_c_o_CXX \
 
14230
    fix_srcfile_path_CXX \
 
14231
    exclude_expsyms_CXX \
 
14232
    include_expsyms_CXX; do
 
14233
 
 
14234
    case $var in
 
14235
    old_archive_cmds_CXX | \
 
14236
    old_archive_from_new_cmds_CXX | \
 
14237
    archive_cmds_CXX | \
 
14238
    archive_expsym_cmds_CXX | \
 
14239
    module_cmds_CXX | \
 
14240
    module_expsym_cmds_CXX | \
 
14241
    old_archive_from_expsyms_cmds_CXX | \
 
14242
    export_symbols_cmds_CXX | \
 
14243
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
 
14244
    postinstall_cmds | postuninstall_cmds | \
 
14245
    old_postinstall_cmds | old_postuninstall_cmds | \
 
14246
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 
14247
      # Double-quote double-evaled strings.
 
14248
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 
14249
      ;;
 
14250
    *)
 
14251
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 
14252
      ;;
 
14253
    esac
 
14254
  done
 
14255
 
 
14256
  case $lt_echo in
 
14257
  *'\$0 --fallback-echo"')
 
14258
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 
14259
    ;;
 
14260
  esac
 
14261
 
 
14262
cfgfile="$ofile"
 
14263
 
 
14264
  cat <<__EOF__ >> "$cfgfile"
 
14265
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
 
14266
 
 
14267
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
14268
 
 
14269
# Shell to use when invoking shell scripts.
 
14270
SHELL=$lt_SHELL
 
14271
 
 
14272
# Whether or not to build shared libraries.
 
14273
build_libtool_libs=$enable_shared
 
14274
 
 
14275
# Whether or not to build static libraries.
 
14276
build_old_libs=$enable_static
 
14277
 
 
14278
# Whether or not to add -lc for building shared libraries.
 
14279
build_libtool_need_lc=$archive_cmds_need_lc_CXX
 
14280
 
 
14281
# Whether or not to disallow shared libs when runtime libs are static
 
14282
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
 
14283
 
 
14284
# Whether or not to optimize for fast installation.
 
14285
fast_install=$enable_fast_install
 
14286
 
 
14287
# The host system.
 
14288
host_alias=$host_alias
 
14289
host=$host
 
14290
host_os=$host_os
 
14291
 
 
14292
# The build system.
 
14293
build_alias=$build_alias
 
14294
build=$build
 
14295
build_os=$build_os
 
14296
 
 
14297
# An echo program that does not interpret backslashes.
 
14298
echo=$lt_echo
 
14299
 
 
14300
# The archiver.
 
14301
AR=$lt_AR
 
14302
AR_FLAGS=$lt_AR_FLAGS
 
14303
 
 
14304
# A C compiler.
 
14305
LTCC=$lt_LTCC
 
14306
 
 
14307
# LTCC compiler flags.
 
14308
LTCFLAGS=$lt_LTCFLAGS
 
14309
 
 
14310
# A language-specific compiler.
 
14311
CC=$lt_compiler_CXX
 
14312
 
 
14313
# Is the compiler the GNU C compiler?
 
14314
with_gcc=$GCC_CXX
 
14315
 
 
14316
# An ERE matcher.
 
14317
EGREP=$lt_EGREP
 
14318
 
 
14319
# The linker used to build libraries.
 
14320
LD=$lt_LD_CXX
 
14321
 
 
14322
# Whether we need hard or soft links.
 
14323
LN_S=$lt_LN_S
 
14324
 
 
14325
# A BSD-compatible nm program.
 
14326
NM=$lt_NM
 
14327
 
 
14328
# A symbol stripping program
 
14329
STRIP=$lt_STRIP
 
14330
 
 
14331
# Used to examine libraries when file_magic_cmd begins "file"
 
14332
MAGIC_CMD=$MAGIC_CMD
 
14333
 
 
14334
# Used on cygwin: DLL creation program.
 
14335
DLLTOOL="$DLLTOOL"
 
14336
 
 
14337
# Used on cygwin: object dumper.
 
14338
OBJDUMP="$OBJDUMP"
 
14339
 
 
14340
# Used on cygwin: assembler.
 
14341
AS="$AS"
 
14342
 
 
14343
# The name of the directory that contains temporary libtool files.
 
14344
objdir=$objdir
 
14345
 
 
14346
# How to create reloadable object files.
 
14347
reload_flag=$lt_reload_flag
 
14348
reload_cmds=$lt_reload_cmds
 
14349
 
 
14350
# How to pass a linker flag through the compiler.
 
14351
wl=$lt_lt_prog_compiler_wl_CXX
 
14352
 
 
14353
# Object file suffix (normally "o").
 
14354
objext="$ac_objext"
 
14355
 
 
14356
# Old archive suffix (normally "a").
 
14357
libext="$libext"
 
14358
 
 
14359
# Shared library suffix (normally ".so").
 
14360
shrext_cmds='$shrext_cmds'
 
14361
 
 
14362
# Executable file suffix (normally "").
 
14363
exeext="$exeext"
 
14364
 
 
14365
# Additional compiler flags for building library objects.
 
14366
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
14367
pic_mode=$pic_mode
 
14368
 
 
14369
# What is the maximum length of a command?
 
14370
max_cmd_len=$lt_cv_sys_max_cmd_len
 
14371
 
 
14372
# Does compiler simultaneously support -c and -o options?
 
14373
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
 
14374
 
 
14375
# Must we lock files when doing compilation?
 
14376
need_locks=$lt_need_locks
 
14377
 
 
14378
# Do we need the lib prefix for modules?
 
14379
need_lib_prefix=$need_lib_prefix
 
14380
 
 
14381
# Do we need a version for libraries?
 
14382
need_version=$need_version
 
14383
 
 
14384
# Whether dlopen is supported.
 
14385
dlopen_support=$enable_dlopen
 
14386
 
 
14387
# Whether dlopen of programs is supported.
 
14388
dlopen_self=$enable_dlopen_self
 
14389
 
 
14390
# Whether dlopen of statically linked programs is supported.
 
14391
dlopen_self_static=$enable_dlopen_self_static
 
14392
 
 
14393
# Compiler flag to prevent dynamic linking.
 
14394
link_static_flag=$lt_lt_prog_compiler_static_CXX
 
14395
 
 
14396
# Compiler flag to turn off builtin functions.
 
14397
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 
14398
 
 
14399
# Compiler flag to allow reflexive dlopens.
 
14400
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
 
14401
 
 
14402
# Compiler flag to generate shared objects directly from archives.
 
14403
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
 
14404
 
 
14405
# Compiler flag to generate thread-safe objects.
 
14406
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
 
14407
 
 
14408
# Library versioning type.
 
14409
version_type=$version_type
 
14410
 
 
14411
# Format of library name prefix.
 
14412
libname_spec=$lt_libname_spec
 
14413
 
 
14414
# List of archive names.  First name is the real one, the rest are links.
 
14415
# The last name is the one that the linker finds with -lNAME.
 
14416
library_names_spec=$lt_library_names_spec
 
14417
 
 
14418
# The coded name of the library, if different from the real name.
 
14419
soname_spec=$lt_soname_spec
 
14420
 
 
14421
# Commands used to build and install an old-style archive.
 
14422
RANLIB=$lt_RANLIB
 
14423
old_archive_cmds=$lt_old_archive_cmds_CXX
 
14424
old_postinstall_cmds=$lt_old_postinstall_cmds
 
14425
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
14426
 
 
14427
# Create an old-style archive from a shared archive.
 
14428
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
 
14429
 
 
14430
# Create a temporary old-style archive to link instead of a shared archive.
 
14431
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
 
14432
 
 
14433
# Commands used to build and install a shared archive.
 
14434
archive_cmds=$lt_archive_cmds_CXX
 
14435
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
 
14436
postinstall_cmds=$lt_postinstall_cmds
 
14437
postuninstall_cmds=$lt_postuninstall_cmds
 
14438
 
 
14439
# Commands used to build a loadable module (assumed same as above if empty)
 
14440
module_cmds=$lt_module_cmds_CXX
 
14441
module_expsym_cmds=$lt_module_expsym_cmds_CXX
 
14442
 
 
14443
# Commands to strip libraries.
 
14444
old_striplib=$lt_old_striplib
 
14445
striplib=$lt_striplib
 
14446
 
 
14447
# Dependencies to place before the objects being linked to create a
 
14448
# shared library.
 
14449
predep_objects=$lt_predep_objects_CXX
 
14450
 
 
14451
# Dependencies to place after the objects being linked to create a
 
14452
# shared library.
 
14453
postdep_objects=$lt_postdep_objects_CXX
 
14454
 
 
14455
# Dependencies to place before the objects being linked to create a
 
14456
# shared library.
 
14457
predeps=$lt_predeps_CXX
 
14458
 
 
14459
# Dependencies to place after the objects being linked to create a
 
14460
# shared library.
 
14461
postdeps=$lt_postdeps_CXX
 
14462
 
 
14463
# The directories searched by this compiler when creating a shared
 
14464
# library
 
14465
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
14466
 
 
14467
# The library search path used internally by the compiler when linking
 
14468
# a shared library.
 
14469
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
 
14470
 
 
14471
# Method to check whether dependent libraries are shared objects.
 
14472
deplibs_check_method=$lt_deplibs_check_method
 
14473
 
 
14474
# Command to use when deplibs_check_method == file_magic.
 
14475
file_magic_cmd=$lt_file_magic_cmd
 
14476
 
 
14477
# Flag that allows shared libraries with undefined symbols to be built.
 
14478
allow_undefined_flag=$lt_allow_undefined_flag_CXX
 
14479
 
 
14480
# Flag that forces no undefined symbols.
 
14481
no_undefined_flag=$lt_no_undefined_flag_CXX
 
14482
 
 
14483
# Commands used to finish a libtool library installation in a directory.
 
14484
finish_cmds=$lt_finish_cmds
 
14485
 
 
14486
# Same as above, but a single script fragment to be evaled but not shown.
 
14487
finish_eval=$lt_finish_eval
 
14488
 
 
14489
# Take the output of nm and produce a listing of raw symbols and C names.
 
14490
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
14491
 
 
14492
# Transform the output of nm in a proper C declaration
 
14493
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
14494
 
 
14495
# Transform the output of nm in a C name address pair
 
14496
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
14497
 
 
14498
# This is the shared library runtime path variable.
 
14499
runpath_var=$runpath_var
 
14500
 
 
14501
# This is the shared library path variable.
 
14502
shlibpath_var=$shlibpath_var
 
14503
 
 
14504
# Is shlibpath searched before the hard-coded library search path?
 
14505
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
14506
 
 
14507
# How to hardcode a shared library path into an executable.
 
14508
hardcode_action=$hardcode_action_CXX
 
14509
 
 
14510
# Whether we should hardcode library paths into libraries.
 
14511
hardcode_into_libs=$hardcode_into_libs
 
14512
 
 
14513
# Flag to hardcode \$libdir into a binary during linking.
 
14514
# This must work even if \$libdir does not exist.
 
14515
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
 
14516
 
 
14517
# If ld is used when linking, flag to hardcode \$libdir into
 
14518
# a binary during linking. This must work even if \$libdir does
 
14519
# not exist.
 
14520
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
 
14521
 
 
14522
# Whether we need a single -rpath flag with a separated argument.
 
14523
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
 
14524
 
 
14525
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 
14526
# resulting binary.
 
14527
hardcode_direct=$hardcode_direct_CXX
 
14528
 
 
14529
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 
14530
# resulting binary.
 
14531
hardcode_minus_L=$hardcode_minus_L_CXX
 
14532
 
 
14533
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 
14534
# the resulting binary.
 
14535
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
 
14536
 
 
14537
# Set to yes if building a shared library automatically hardcodes DIR into the library
 
14538
# and all subsequent libraries and executables linked against it.
 
14539
hardcode_automatic=$hardcode_automatic_CXX
 
14540
 
 
14541
# Variables whose values should be saved in libtool wrapper scripts and
 
14542
# restored at relink time.
 
14543
variables_saved_for_relink="$variables_saved_for_relink"
 
14544
 
 
14545
# Whether libtool must link a program against all its dependency libraries.
 
14546
link_all_deplibs=$link_all_deplibs_CXX
 
14547
 
 
14548
# Compile-time system search path for libraries
 
14549
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
14550
 
 
14551
# Run-time system search path for libraries
 
14552
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
14553
 
 
14554
# Fix the shell variable \$srcfile for the compiler.
 
14555
fix_srcfile_path=$lt_fix_srcfile_path
 
14556
 
 
14557
# Set to yes if exported symbols are required.
 
14558
always_export_symbols=$always_export_symbols_CXX
 
14559
 
 
14560
# The commands to list exported symbols.
 
14561
export_symbols_cmds=$lt_export_symbols_cmds_CXX
 
14562
 
 
14563
# The commands to extract the exported symbol list from a shared archive.
 
14564
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
14565
 
 
14566
# Symbols that should not be listed in the preloaded symbols.
 
14567
exclude_expsyms=$lt_exclude_expsyms_CXX
 
14568
 
 
14569
# Symbols that must always be exported.
 
14570
include_expsyms=$lt_include_expsyms_CXX
 
14571
 
 
14572
# ### END LIBTOOL TAG CONFIG: $tagname
 
14573
 
 
14574
__EOF__
 
14575
 
 
14576
 
 
14577
else
 
14578
  # If there is no Makefile yet, we rely on a make rule to execute
 
14579
  # `config.status --recheck' to rerun these tests and create the
 
14580
  # libtool script then.
 
14581
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 
14582
  if test -f "$ltmain_in"; then
 
14583
    test -f Makefile && make "$ltmain"
 
14584
  fi
 
14585
fi
 
14586
 
 
14587
 
 
14588
ac_ext=c
 
14589
ac_cpp='$CPP $CPPFLAGS'
 
14590
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14591
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14592
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
14593
 
 
14594
CC=$lt_save_CC
 
14595
LDCXX=$LD
 
14596
LD=$lt_save_LD
 
14597
GCC=$lt_save_GCC
 
14598
with_gnu_ldcxx=$with_gnu_ld
 
14599
with_gnu_ld=$lt_save_with_gnu_ld
 
14600
lt_cv_path_LDCXX=$lt_cv_path_LD
 
14601
lt_cv_path_LD=$lt_save_path_LD
 
14602
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 
14603
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 
14604
 
 
14605
        else
 
14606
          tagname=""
 
14607
        fi
 
14608
        ;;
 
14609
 
 
14610
      F77)
 
14611
        if test -n "$F77" && test "X$F77" != "Xno"; then
 
14612
 
 
14613
ac_ext=f
 
14614
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 
14615
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14616
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 
14617
 
 
14618
 
 
14619
archive_cmds_need_lc_F77=no
 
14620
allow_undefined_flag_F77=
 
14621
always_export_symbols_F77=no
 
14622
archive_expsym_cmds_F77=
 
14623
export_dynamic_flag_spec_F77=
 
14624
hardcode_direct_F77=no
 
14625
hardcode_libdir_flag_spec_F77=
 
14626
hardcode_libdir_flag_spec_ld_F77=
 
14627
hardcode_libdir_separator_F77=
 
14628
hardcode_minus_L_F77=no
 
14629
hardcode_automatic_F77=no
 
14630
module_cmds_F77=
 
14631
module_expsym_cmds_F77=
 
14632
link_all_deplibs_F77=unknown
 
14633
old_archive_cmds_F77=$old_archive_cmds
 
14634
no_undefined_flag_F77=
 
14635
whole_archive_flag_spec_F77=
 
14636
enable_shared_with_static_runtimes_F77=no
 
14637
 
 
14638
# Source file extension for f77 test sources.
 
14639
ac_ext=f
 
14640
 
 
14641
# Object file extension for compiled f77 test sources.
 
14642
objext=o
 
14643
objext_F77=$objext
 
14644
 
 
14645
# Code to be used in simple compile tests
 
14646
lt_simple_compile_test_code="\
 
14647
      subroutine t
 
14648
      return
 
14649
      end
 
14650
"
 
14651
 
 
14652
# Code to be used in simple link tests
 
14653
lt_simple_link_test_code="\
 
14654
      program t
 
14655
      end
 
14656
"
 
14657
 
 
14658
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
14659
 
 
14660
# If no C compiler was specified, use CC.
 
14661
LTCC=${LTCC-"$CC"}
 
14662
 
 
14663
# If no C compiler flags were specified, use CFLAGS.
 
14664
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
14665
 
 
14666
# Allow CC to be a program name with arguments.
 
14667
compiler=$CC
 
14668
 
 
14669
 
 
14670
# save warnings/boilerplate of simple test code
 
14671
ac_outfile=conftest.$ac_objext
 
14672
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
14673
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
14674
_lt_compiler_boilerplate=`cat conftest.err`
 
14675
$rm conftest*
 
14676
 
 
14677
ac_outfile=conftest.$ac_objext
 
14678
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
14679
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
14680
_lt_linker_boilerplate=`cat conftest.err`
 
14681
$rm -r conftest*
 
14682
 
 
14683
 
 
14684
# Allow CC to be a program name with arguments.
 
14685
lt_save_CC="$CC"
 
14686
CC=${F77-"f77"}
 
14687
compiler=$CC
 
14688
compiler_F77=$CC
 
14689
for cc_temp in $compiler""; do
 
14690
  case $cc_temp in
 
14691
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
14692
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
14693
    \-*) ;;
 
14694
    *) break;;
 
14695
  esac
 
14696
done
 
14697
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
14698
 
 
14699
 
 
14700
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
14701
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
14702
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
14703
$as_echo "$can_build_shared" >&6; }
 
14704
 
 
14705
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
14706
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
14707
test "$can_build_shared" = "no" && enable_shared=no
 
14708
 
 
14709
# On AIX, shared libraries and static libraries use the same namespace, and
 
14710
# are all built from PIC.
 
14711
case $host_os in
 
14712
aix3*)
 
14713
  test "$enable_shared" = yes && enable_static=no
 
14714
  if test -n "$RANLIB"; then
 
14715
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
14716
    postinstall_cmds='$RANLIB $lib'
 
14717
  fi
 
14718
  ;;
 
14719
aix[4-9]*)
 
14720
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
14721
    test "$enable_shared" = yes && enable_static=no
 
14722
  fi
 
14723
  ;;
 
14724
esac
 
14725
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
14726
$as_echo "$enable_shared" >&6; }
 
14727
 
 
14728
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
14729
$as_echo_n "checking whether to build static libraries... " >&6; }
 
14730
# Make sure either enable_shared or enable_static is yes.
 
14731
test "$enable_shared" = yes || enable_static=yes
 
14732
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
14733
$as_echo "$enable_static" >&6; }
 
14734
 
 
14735
GCC_F77="$G77"
 
14736
LD_F77="$LD"
 
14737
 
 
14738
lt_prog_compiler_wl_F77=
 
14739
lt_prog_compiler_pic_F77=
 
14740
lt_prog_compiler_static_F77=
 
14741
 
 
14742
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
14743
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
14744
 
 
14745
  if test "$GCC" = yes; then
 
14746
    lt_prog_compiler_wl_F77='-Wl,'
 
14747
    lt_prog_compiler_static_F77='-static'
 
14748
 
 
14749
    case $host_os in
 
14750
      aix*)
 
14751
      # All AIX code is PIC.
 
14752
      if test "$host_cpu" = ia64; then
 
14753
        # AIX 5 now supports IA64 processor
 
14754
        lt_prog_compiler_static_F77='-Bstatic'
 
14755
      fi
 
14756
      ;;
 
14757
 
 
14758
    amigaos*)
 
14759
      # FIXME: we need at least 68020 code to build shared libraries, but
 
14760
      # adding the `-m68020' flag to GCC prevents building anything better,
 
14761
      # like `-m68040'.
 
14762
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
 
14763
      ;;
 
14764
 
 
14765
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
14766
      # PIC is the default for these OSes.
 
14767
      ;;
 
14768
 
 
14769
    mingw* | cygwin* | pw32* | os2*)
 
14770
      # This hack is so that the source file can tell whether it is being
 
14771
      # built for inclusion in a dll (and should export symbols for example).
 
14772
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
14773
      # (--disable-auto-import) libraries
 
14774
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
 
14775
      ;;
 
14776
 
 
14777
    darwin* | rhapsody*)
 
14778
      # PIC is the default on this platform
 
14779
      # Common symbols not allowed in MH_DYLIB files
 
14780
      lt_prog_compiler_pic_F77='-fno-common'
 
14781
      ;;
 
14782
 
 
14783
    interix[3-9]*)
 
14784
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
14785
      # Instead, we relocate shared libraries at runtime.
 
14786
      ;;
 
14787
 
 
14788
    msdosdjgpp*)
 
14789
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
14790
      # on systems that don't support them.
 
14791
      lt_prog_compiler_can_build_shared_F77=no
 
14792
      enable_shared=no
 
14793
      ;;
 
14794
 
 
14795
    sysv4*MP*)
 
14796
      if test -d /usr/nec; then
 
14797
        lt_prog_compiler_pic_F77=-Kconform_pic
 
14798
      fi
 
14799
      ;;
 
14800
 
 
14801
    hpux*)
 
14802
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
14803
      # not for PA HP-UX.
 
14804
      case $host_cpu in
 
14805
      hppa*64*|ia64*)
 
14806
        # +Z the default
 
14807
        ;;
 
14808
      *)
 
14809
        lt_prog_compiler_pic_F77='-fPIC'
 
14810
        ;;
 
14811
      esac
 
14812
      ;;
 
14813
 
 
14814
    *)
 
14815
      lt_prog_compiler_pic_F77='-fPIC'
 
14816
      ;;
 
14817
    esac
 
14818
  else
 
14819
    # PORTME Check for flag to pass linker flags through the system compiler.
 
14820
    case $host_os in
 
14821
    aix*)
 
14822
      lt_prog_compiler_wl_F77='-Wl,'
 
14823
      if test "$host_cpu" = ia64; then
 
14824
        # AIX 5 now supports IA64 processor
 
14825
        lt_prog_compiler_static_F77='-Bstatic'
 
14826
      else
 
14827
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
 
14828
      fi
 
14829
      ;;
 
14830
      darwin*)
 
14831
        # PIC is the default on this platform
 
14832
        # Common symbols not allowed in MH_DYLIB files
 
14833
       case $cc_basename in
 
14834
         xlc*)
 
14835
         lt_prog_compiler_pic_F77='-qnocommon'
 
14836
         lt_prog_compiler_wl_F77='-Wl,'
 
14837
         ;;
 
14838
       esac
 
14839
       ;;
 
14840
 
 
14841
    mingw* | cygwin* | pw32* | os2*)
 
14842
      # This hack is so that the source file can tell whether it is being
 
14843
      # built for inclusion in a dll (and should export symbols for example).
 
14844
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
 
14845
      ;;
 
14846
 
 
14847
    hpux9* | hpux10* | hpux11*)
 
14848
      lt_prog_compiler_wl_F77='-Wl,'
 
14849
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
14850
      # not for PA HP-UX.
 
14851
      case $host_cpu in
 
14852
      hppa*64*|ia64*)
 
14853
        # +Z the default
 
14854
        ;;
 
14855
      *)
 
14856
        lt_prog_compiler_pic_F77='+Z'
 
14857
        ;;
 
14858
      esac
 
14859
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
14860
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
 
14861
      ;;
 
14862
 
 
14863
    irix5* | irix6* | nonstopux*)
 
14864
      lt_prog_compiler_wl_F77='-Wl,'
 
14865
      # PIC (with -KPIC) is the default.
 
14866
      lt_prog_compiler_static_F77='-non_shared'
 
14867
      ;;
 
14868
 
 
14869
    newsos6)
 
14870
      lt_prog_compiler_pic_F77='-KPIC'
 
14871
      lt_prog_compiler_static_F77='-Bstatic'
 
14872
      ;;
 
14873
 
 
14874
    linux* | k*bsd*-gnu)
 
14875
      case $cc_basename in
 
14876
      icc* | ecc*)
 
14877
        lt_prog_compiler_wl_F77='-Wl,'
 
14878
        lt_prog_compiler_pic_F77='-KPIC'
 
14879
        lt_prog_compiler_static_F77='-static'
 
14880
        ;;
 
14881
      pgcc* | pgf77* | pgf90* | pgf95*)
 
14882
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
14883
        # which looks to be a dead project)
 
14884
        lt_prog_compiler_wl_F77='-Wl,'
 
14885
        lt_prog_compiler_pic_F77='-fpic'
 
14886
        lt_prog_compiler_static_F77='-Bstatic'
 
14887
        ;;
 
14888
      ccc*)
 
14889
        lt_prog_compiler_wl_F77='-Wl,'
 
14890
        # All Alpha code is PIC.
 
14891
        lt_prog_compiler_static_F77='-non_shared'
 
14892
        ;;
 
14893
      *)
 
14894
        case `$CC -V 2>&1 | sed 5q` in
 
14895
        *Sun\ C*)
 
14896
          # Sun C 5.9
 
14897
          lt_prog_compiler_pic_F77='-KPIC'
 
14898
          lt_prog_compiler_static_F77='-Bstatic'
 
14899
          lt_prog_compiler_wl_F77='-Wl,'
 
14900
          ;;
 
14901
        *Sun\ F*)
 
14902
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
14903
          lt_prog_compiler_pic_F77='-KPIC'
 
14904
          lt_prog_compiler_static_F77='-Bstatic'
 
14905
          lt_prog_compiler_wl_F77=''
 
14906
          ;;
 
14907
        esac
 
14908
        ;;
 
14909
      esac
 
14910
      ;;
 
14911
 
 
14912
    osf3* | osf4* | osf5*)
 
14913
      lt_prog_compiler_wl_F77='-Wl,'
 
14914
      # All OSF/1 code is PIC.
 
14915
      lt_prog_compiler_static_F77='-non_shared'
 
14916
      ;;
 
14917
 
 
14918
    rdos*)
 
14919
      lt_prog_compiler_static_F77='-non_shared'
 
14920
      ;;
 
14921
 
 
14922
    solaris*)
 
14923
      lt_prog_compiler_pic_F77='-KPIC'
 
14924
      lt_prog_compiler_static_F77='-Bstatic'
 
14925
      case $cc_basename in
 
14926
      f77* | f90* | f95*)
 
14927
        lt_prog_compiler_wl_F77='-Qoption ld ';;
 
14928
      *)
 
14929
        lt_prog_compiler_wl_F77='-Wl,';;
 
14930
      esac
 
14931
      ;;
 
14932
 
 
14933
    sunos4*)
 
14934
      lt_prog_compiler_wl_F77='-Qoption ld '
 
14935
      lt_prog_compiler_pic_F77='-PIC'
 
14936
      lt_prog_compiler_static_F77='-Bstatic'
 
14937
      ;;
 
14938
 
 
14939
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
14940
      lt_prog_compiler_wl_F77='-Wl,'
 
14941
      lt_prog_compiler_pic_F77='-KPIC'
 
14942
      lt_prog_compiler_static_F77='-Bstatic'
 
14943
      ;;
 
14944
 
 
14945
    sysv4*MP*)
 
14946
      if test -d /usr/nec ;then
 
14947
        lt_prog_compiler_pic_F77='-Kconform_pic'
 
14948
        lt_prog_compiler_static_F77='-Bstatic'
 
14949
      fi
 
14950
      ;;
 
14951
 
 
14952
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
14953
      lt_prog_compiler_wl_F77='-Wl,'
 
14954
      lt_prog_compiler_pic_F77='-KPIC'
 
14955
      lt_prog_compiler_static_F77='-Bstatic'
 
14956
      ;;
 
14957
 
 
14958
    unicos*)
 
14959
      lt_prog_compiler_wl_F77='-Wl,'
 
14960
      lt_prog_compiler_can_build_shared_F77=no
 
14961
      ;;
 
14962
 
 
14963
    uts4*)
 
14964
      lt_prog_compiler_pic_F77='-pic'
 
14965
      lt_prog_compiler_static_F77='-Bstatic'
 
14966
      ;;
 
14967
 
 
14968
    *)
 
14969
      lt_prog_compiler_can_build_shared_F77=no
 
14970
      ;;
 
14971
    esac
 
14972
  fi
 
14973
 
 
14974
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
14975
$as_echo "$lt_prog_compiler_pic_F77" >&6; }
 
14976
 
 
14977
#
 
14978
# Check to make sure the PIC flag actually works.
 
14979
#
 
14980
if test -n "$lt_prog_compiler_pic_F77"; then
 
14981
 
 
14982
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
14983
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
 
14984
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
 
14985
  $as_echo_n "(cached) " >&6
 
14986
else
 
14987
  lt_cv_prog_compiler_pic_works_F77=no
 
14988
  ac_outfile=conftest.$ac_objext
 
14989
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14990
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
 
14991
   # Insert the option either (1) after the last *FLAGS variable, or
 
14992
   # (2) before a word containing "conftest.", or (3) at the end.
 
14993
   # Note that $ac_compile itself does not contain backslashes and begins
 
14994
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
14995
   # The option is referenced via a variable to avoid confusing sed.
 
14996
   lt_compile=`echo "$ac_compile" | $SED \
 
14997
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
14998
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
14999
   -e 's:$: $lt_compiler_flag:'`
 
15000
   (eval echo "\"\$as_me:15000: $lt_compile\"" >&5)
 
15001
   (eval "$lt_compile" 2>conftest.err)
 
15002
   ac_status=$?
 
15003
   cat conftest.err >&5
 
15004
   echo "$as_me:15004: \$? = $ac_status" >&5
 
15005
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
15006
     # The compiler can only warn and ignore the option if not recognized
 
15007
     # So say no if there are warnings other than the usual output.
 
15008
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
15009
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
15010
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
15011
       lt_cv_prog_compiler_pic_works_F77=yes
 
15012
     fi
 
15013
   fi
 
15014
   $rm conftest*
 
15015
 
 
15016
fi
 
15017
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
 
15018
$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
 
15019
 
 
15020
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
 
15021
    case $lt_prog_compiler_pic_F77 in
 
15022
     "" | " "*) ;;
 
15023
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
 
15024
     esac
 
15025
else
 
15026
    lt_prog_compiler_pic_F77=
 
15027
     lt_prog_compiler_can_build_shared_F77=no
 
15028
fi
 
15029
 
 
15030
fi
 
15031
case $host_os in
 
15032
  # For platforms which do not support PIC, -DPIC is meaningless:
 
15033
  *djgpp*)
 
15034
    lt_prog_compiler_pic_F77=
 
15035
    ;;
 
15036
  *)
 
15037
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
 
15038
    ;;
 
15039
esac
 
15040
 
 
15041
#
 
15042
# Check to make sure the static flag actually works.
 
15043
#
 
15044
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
 
15045
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
15046
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
15047
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
 
15048
  $as_echo_n "(cached) " >&6
 
15049
else
 
15050
  lt_cv_prog_compiler_static_works_F77=no
 
15051
   save_LDFLAGS="$LDFLAGS"
 
15052
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
15053
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
15054
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
15055
     # The linker can only warn and ignore the option if not recognized
 
15056
     # So say no if there are warnings
 
15057
     if test -s conftest.err; then
 
15058
       # Append any errors to the config.log.
 
15059
       cat conftest.err 1>&5
 
15060
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
15061
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
15062
       if diff conftest.exp conftest.er2 >/dev/null; then
 
15063
         lt_cv_prog_compiler_static_works_F77=yes
 
15064
       fi
 
15065
     else
 
15066
       lt_cv_prog_compiler_static_works_F77=yes
 
15067
     fi
 
15068
   fi
 
15069
   $rm -r conftest*
 
15070
   LDFLAGS="$save_LDFLAGS"
 
15071
 
 
15072
fi
 
15073
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
 
15074
$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
 
15075
 
 
15076
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
 
15077
    :
 
15078
else
 
15079
    lt_prog_compiler_static_F77=
 
15080
fi
 
15081
 
 
15082
 
 
15083
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
15084
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
15085
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
 
15086
  $as_echo_n "(cached) " >&6
 
15087
else
 
15088
  lt_cv_prog_compiler_c_o_F77=no
 
15089
   $rm -r conftest 2>/dev/null
 
15090
   mkdir conftest
 
15091
   cd conftest
 
15092
   mkdir out
 
15093
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15094
 
 
15095
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
15096
   # Insert the option either (1) after the last *FLAGS variable, or
 
15097
   # (2) before a word containing "conftest.", or (3) at the end.
 
15098
   # Note that $ac_compile itself does not contain backslashes and begins
 
15099
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
15100
   lt_compile=`echo "$ac_compile" | $SED \
 
15101
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
15102
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
15103
   -e 's:$: $lt_compiler_flag:'`
 
15104
   (eval echo "\"\$as_me:15104: $lt_compile\"" >&5)
 
15105
   (eval "$lt_compile" 2>out/conftest.err)
 
15106
   ac_status=$?
 
15107
   cat out/conftest.err >&5
 
15108
   echo "$as_me:15108: \$? = $ac_status" >&5
 
15109
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
15110
   then
 
15111
     # The compiler can only warn and ignore the option if not recognized
 
15112
     # So say no if there are warnings
 
15113
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
15114
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
15115
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
15116
       lt_cv_prog_compiler_c_o_F77=yes
 
15117
     fi
 
15118
   fi
 
15119
   chmod u+w . 2>&5
 
15120
   $rm conftest*
 
15121
   # SGI C++ compiler will create directory out/ii_files/ for
 
15122
   # template instantiation
 
15123
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 
15124
   $rm out/* && rmdir out
 
15125
   cd ..
 
15126
   rmdir conftest
 
15127
   $rm conftest*
 
15128
 
 
15129
fi
 
15130
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
15131
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
 
15132
 
 
15133
 
 
15134
hard_links="nottested"
 
15135
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
 
15136
  # do not overwrite the value of need_locks provided by the user
 
15137
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
15138
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
15139
  hard_links=yes
 
15140
  $rm conftest*
 
15141
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
15142
  touch conftest.a
 
15143
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
15144
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
15145
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
15146
$as_echo "$hard_links" >&6; }
 
15147
  if test "$hard_links" = no; then
 
15148
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
15149
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
15150
    need_locks=warn
 
15151
  fi
 
15152
else
 
15153
  need_locks=no
 
15154
fi
 
15155
 
 
15156
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
15157
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
15158
 
 
15159
  runpath_var=
 
15160
  allow_undefined_flag_F77=
 
15161
  enable_shared_with_static_runtimes_F77=no
 
15162
  archive_cmds_F77=
 
15163
  archive_expsym_cmds_F77=
 
15164
  old_archive_From_new_cmds_F77=
 
15165
  old_archive_from_expsyms_cmds_F77=
 
15166
  export_dynamic_flag_spec_F77=
 
15167
  whole_archive_flag_spec_F77=
 
15168
  thread_safe_flag_spec_F77=
 
15169
  hardcode_libdir_flag_spec_F77=
 
15170
  hardcode_libdir_flag_spec_ld_F77=
 
15171
  hardcode_libdir_separator_F77=
 
15172
  hardcode_direct_F77=no
 
15173
  hardcode_minus_L_F77=no
 
15174
  hardcode_shlibpath_var_F77=unsupported
 
15175
  link_all_deplibs_F77=unknown
 
15176
  hardcode_automatic_F77=no
 
15177
  module_cmds_F77=
 
15178
  module_expsym_cmds_F77=
 
15179
  always_export_symbols_F77=no
 
15180
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
15181
  # include_expsyms should be a list of space-separated symbols to be *always*
 
15182
  # included in the symbol list
 
15183
  include_expsyms_F77=
 
15184
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
15185
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
15186
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
15187
  # as well as any symbol that contains `d'.
 
15188
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
15189
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
15190
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
15191
  # the symbol is explicitly referenced.  Since portable code cannot
 
15192
  # rely on this symbol name, it's probably fine to never include it in
 
15193
  # preloaded symbol tables.
 
15194
  # Exclude shared library initialization/finalization symbols.
 
15195
  extract_expsyms_cmds=
 
15196
  # Just being paranoid about ensuring that cc_basename is set.
 
15197
  for cc_temp in $compiler""; do
 
15198
  case $cc_temp in
 
15199
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
15200
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
15201
    \-*) ;;
 
15202
    *) break;;
 
15203
  esac
 
15204
done
 
15205
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
15206
 
 
15207
  case $host_os in
 
15208
  cygwin* | mingw* | pw32*)
 
15209
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
15210
    # When not using gcc, we currently assume that we are using
 
15211
    # Microsoft Visual C++.
 
15212
    if test "$GCC" != yes; then
 
15213
      with_gnu_ld=no
 
15214
    fi
 
15215
    ;;
 
15216
  interix*)
 
15217
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
15218
    with_gnu_ld=yes
 
15219
    ;;
 
15220
  openbsd*)
 
15221
    with_gnu_ld=no
 
15222
    ;;
 
15223
  esac
 
15224
 
 
15225
  ld_shlibs_F77=yes
 
15226
  if test "$with_gnu_ld" = yes; then
 
15227
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
15228
    wlarc='${wl}'
 
15229
 
 
15230
    # Set some defaults for GNU ld with shared library support. These
 
15231
    # are reset later if shared libraries are not supported. Putting them
 
15232
    # here allows them to be overridden if necessary.
 
15233
    runpath_var=LD_RUN_PATH
 
15234
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
 
15235
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
 
15236
    # ancient GNU ld didn't support --whole-archive et. al.
 
15237
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
15238
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
15239
      else
 
15240
        whole_archive_flag_spec_F77=
 
15241
    fi
 
15242
    supports_anon_versioning=no
 
15243
    case `$LD -v 2>/dev/null` in
 
15244
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
15245
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
15246
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
15247
      *\ 2.11.*) ;; # other 2.11 versions
 
15248
      *) supports_anon_versioning=yes ;;
 
15249
    esac
 
15250
 
 
15251
    # See if GNU ld supports shared libraries.
 
15252
    case $host_os in
 
15253
    aix[3-9]*)
 
15254
      # On AIX/PPC, the GNU linker is very broken
 
15255
      if test "$host_cpu" != ia64; then
 
15256
        ld_shlibs_F77=no
 
15257
        cat <<EOF 1>&2
 
15258
 
 
15259
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
15260
*** to be unable to reliably create shared libraries on AIX.
 
15261
*** Therefore, libtool is disabling shared libraries support.  If you
 
15262
*** really care for shared libraries, you may want to modify your PATH
 
15263
*** so that a non-GNU linker is found, and then restart.
 
15264
 
 
15265
EOF
 
15266
      fi
 
15267
      ;;
 
15268
 
 
15269
    amigaos*)
 
15270
      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)'
 
15271
      hardcode_libdir_flag_spec_F77='-L$libdir'
 
15272
      hardcode_minus_L_F77=yes
 
15273
 
 
15274
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 
15275
      # that the semantics of dynamic libraries on AmigaOS, at least up
 
15276
      # to version 4, is to share data among multiple programs linked
 
15277
      # with the same dynamic library.  Since this doesn't match the
 
15278
      # behavior of shared libraries on other platforms, we can't use
 
15279
      # them.
 
15280
      ld_shlibs_F77=no
 
15281
      ;;
 
15282
 
 
15283
    beos*)
 
15284
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
15285
        allow_undefined_flag_F77=unsupported
 
15286
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
15287
        # support --undefined.  This deserves some investigation.  FIXME
 
15288
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15289
      else
 
15290
        ld_shlibs_F77=no
 
15291
      fi
 
15292
      ;;
 
15293
 
 
15294
    cygwin* | mingw* | pw32*)
 
15295
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
 
15296
      # as there is no search path for DLLs.
 
15297
      hardcode_libdir_flag_spec_F77='-L$libdir'
 
15298
      allow_undefined_flag_F77=unsupported
 
15299
      always_export_symbols_F77=no
 
15300
      enable_shared_with_static_runtimes_F77=yes
 
15301
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
15302
 
 
15303
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
15304
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
15305
        # If the export-symbols file already is a .def file (1st line
 
15306
        # is EXPORTS), use it as is; otherwise, prepend...
 
15307
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
15308
          cp $export_symbols $output_objdir/$soname.def;
 
15309
        else
 
15310
          echo EXPORTS > $output_objdir/$soname.def;
 
15311
          cat $export_symbols >> $output_objdir/$soname.def;
 
15312
        fi~
 
15313
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
15314
      else
 
15315
        ld_shlibs_F77=no
 
15316
      fi
 
15317
      ;;
 
15318
 
 
15319
    interix[3-9]*)
 
15320
      hardcode_direct_F77=no
 
15321
      hardcode_shlibpath_var_F77=no
 
15322
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15323
      export_dynamic_flag_spec_F77='${wl}-E'
 
15324
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
15325
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
15326
      # default) and relocated if they conflict, which is a slow very memory
 
15327
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
15328
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
15329
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
15330
      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'
 
15331
      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'
 
15332
      ;;
 
15333
 
 
15334
    gnu* | linux* | k*bsd*-gnu)
 
15335
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
15336
        tmp_addflag=
 
15337
        case $cc_basename,$host_cpu in
 
15338
        pgcc*)                          # Portland Group C compiler
 
15339
          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'
 
15340
          tmp_addflag=' $pic_flag'
 
15341
          ;;
 
15342
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
15343
          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'
 
15344
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
15345
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
15346
          tmp_addflag=' -i_dynamic' ;;
 
15347
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
15348
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
15349
        ifc* | ifort*)                  # Intel Fortran compiler
 
15350
          tmp_addflag=' -nofor_main' ;;
 
15351
        esac
 
15352
        case `$CC -V 2>&1 | sed 5q` in
 
15353
        *Sun\ C*)                       # Sun C 5.9
 
15354
          whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
15355
          tmp_sharedflag='-G' ;;
 
15356
        *Sun\ F*)                       # Sun Fortran 8.3
 
15357
          tmp_sharedflag='-G' ;;
 
15358
        *)
 
15359
          tmp_sharedflag='-shared' ;;
 
15360
        esac
 
15361
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15362
 
 
15363
        if test $supports_anon_versioning = yes; then
 
15364
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
 
15365
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
15366
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
15367
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
15368
        fi
 
15369
      else
 
15370
        ld_shlibs_F77=no
 
15371
      fi
 
15372
      ;;
 
15373
 
 
15374
    netbsd*)
 
15375
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
15376
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
15377
        wlarc=
 
15378
      else
 
15379
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15380
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
15381
      fi
 
15382
      ;;
 
15383
 
 
15384
    solaris*)
 
15385
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
15386
        ld_shlibs_F77=no
 
15387
        cat <<EOF 1>&2
 
15388
 
 
15389
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
15390
*** create shared libraries on Solaris systems.  Therefore, libtool
 
15391
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
15392
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
15393
*** your PATH or compiler configuration so that the native linker is
 
15394
*** used, and then restart.
 
15395
 
 
15396
EOF
 
15397
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
15398
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15399
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
15400
      else
 
15401
        ld_shlibs_F77=no
 
15402
      fi
 
15403
      ;;
 
15404
 
 
15405
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
15406
      case `$LD -v 2>&1` in
 
15407
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
15408
        ld_shlibs_F77=no
 
15409
        cat <<_LT_EOF 1>&2
 
15410
 
 
15411
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
15412
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
15413
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
15414
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
15415
*** your PATH or compiler configuration so that the native linker is
 
15416
*** used, and then restart.
 
15417
 
 
15418
_LT_EOF
 
15419
        ;;
 
15420
        *)
 
15421
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
15422
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
15423
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
15424
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
15425
          else
 
15426
            ld_shlibs_F77=no
 
15427
          fi
 
15428
        ;;
 
15429
      esac
 
15430
      ;;
 
15431
 
 
15432
    sunos4*)
 
15433
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
15434
      wlarc=
 
15435
      hardcode_direct_F77=yes
 
15436
      hardcode_shlibpath_var_F77=no
 
15437
      ;;
 
15438
 
 
15439
    *)
 
15440
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
15441
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15442
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
15443
      else
 
15444
        ld_shlibs_F77=no
 
15445
      fi
 
15446
      ;;
 
15447
    esac
 
15448
 
 
15449
    if test "$ld_shlibs_F77" = no; then
 
15450
      runpath_var=
 
15451
      hardcode_libdir_flag_spec_F77=
 
15452
      export_dynamic_flag_spec_F77=
 
15453
      whole_archive_flag_spec_F77=
 
15454
    fi
 
15455
  else
 
15456
    # PORTME fill in a description of your system's linker (not GNU ld)
 
15457
    case $host_os in
 
15458
    aix3*)
 
15459
      allow_undefined_flag_F77=unsupported
 
15460
      always_export_symbols_F77=yes
 
15461
      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'
 
15462
      # Note: this linker hardcodes the directories in LIBPATH if there
 
15463
      # are no directories specified by -L.
 
15464
      hardcode_minus_L_F77=yes
 
15465
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
15466
        # Neither direct hardcoding nor static linking is supported with a
 
15467
        # broken collect2.
 
15468
        hardcode_direct_F77=unsupported
 
15469
      fi
 
15470
      ;;
 
15471
 
 
15472
    aix[4-9]*)
 
15473
      if test "$host_cpu" = ia64; then
 
15474
        # On IA64, the linker does run time linking by default, so we don't
 
15475
        # have to do anything special.
 
15476
        aix_use_runtimelinking=no
 
15477
        exp_sym_flag='-Bexport'
 
15478
        no_entry_flag=""
 
15479
      else
 
15480
        # If we're using GNU nm, then we don't want the "-C" option.
 
15481
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
15482
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 
15483
          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'
 
15484
        else
 
15485
          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'
 
15486
        fi
 
15487
        aix_use_runtimelinking=no
 
15488
 
 
15489
        # Test if we are trying to use run time linking or normal
 
15490
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
15491
        # need to do runtime linking.
 
15492
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
15493
          for ld_flag in $LDFLAGS; do
 
15494
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
15495
            aix_use_runtimelinking=yes
 
15496
            break
 
15497
          fi
 
15498
          done
 
15499
          ;;
 
15500
        esac
 
15501
 
 
15502
        exp_sym_flag='-bexport'
 
15503
        no_entry_flag='-bnoentry'
 
15504
      fi
 
15505
 
 
15506
      # When large executables or shared objects are built, AIX ld can
 
15507
      # have problems creating the table of contents.  If linking a library
 
15508
      # or program results in "error TOC overflow" add -mminimal-toc to
 
15509
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
15510
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
15511
 
 
15512
      archive_cmds_F77=''
 
15513
      hardcode_direct_F77=yes
 
15514
      hardcode_libdir_separator_F77=':'
 
15515
      link_all_deplibs_F77=yes
 
15516
 
 
15517
      if test "$GCC" = yes; then
 
15518
        case $host_os in aix4.[012]|aix4.[012].*)
 
15519
        # We only want to do this on AIX 4.2 and lower, the check
 
15520
        # below for broken collect2 doesn't work under 4.3+
 
15521
          collect2name=`${CC} -print-prog-name=collect2`
 
15522
          if test -f "$collect2name" && \
 
15523
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
15524
          then
 
15525
          # We have reworked collect2
 
15526
          :
 
15527
          else
 
15528
          # We have old collect2
 
15529
          hardcode_direct_F77=unsupported
 
15530
          # It fails to find uninstalled libraries when the uninstalled
 
15531
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
15532
          # to unsupported forces relinking
 
15533
          hardcode_minus_L_F77=yes
 
15534
          hardcode_libdir_flag_spec_F77='-L$libdir'
 
15535
          hardcode_libdir_separator_F77=
 
15536
          fi
 
15537
          ;;
 
15538
        esac
 
15539
        shared_flag='-shared'
 
15540
        if test "$aix_use_runtimelinking" = yes; then
 
15541
          shared_flag="$shared_flag "'${wl}-G'
 
15542
        fi
 
15543
      else
 
15544
        # not using gcc
 
15545
        if test "$host_cpu" = ia64; then
 
15546
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
15547
        # chokes on -Wl,-G. The following line is correct:
 
15548
          shared_flag='-G'
 
15549
        else
 
15550
          if test "$aix_use_runtimelinking" = yes; then
 
15551
            shared_flag='${wl}-G'
 
15552
          else
 
15553
            shared_flag='${wl}-bM:SRE'
 
15554
          fi
 
15555
        fi
 
15556
      fi
 
15557
 
 
15558
      # It seems that -bexpall does not export symbols beginning with
 
15559
      # underscore (_), so it is better to generate a list of symbols to export.
 
15560
      always_export_symbols_F77=yes
 
15561
      if test "$aix_use_runtimelinking" = yes; then
 
15562
        # Warning - without using the other runtime loading flags (-brtl),
 
15563
        # -berok will link without error, but may produce a broken library.
 
15564
        allow_undefined_flag_F77='-berok'
 
15565
       # Determine the default libpath from the value encoded in an empty executable.
 
15566
       cat >conftest.$ac_ext <<_ACEOF
 
15567
      program main
 
15568
 
 
15569
      end
 
15570
_ACEOF
 
15571
rm -f conftest.$ac_objext conftest$ac_exeext
 
15572
if { (ac_try="$ac_link"
 
15573
case "(($ac_try" in
 
15574
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15575
  *) ac_try_echo=$ac_try;;
 
15576
esac
 
15577
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15578
$as_echo "$ac_try_echo") >&5
 
15579
  (eval "$ac_link") 2>conftest.er1
 
15580
  ac_status=$?
 
15581
  grep -v '^ *+' conftest.er1 >conftest.err
 
15582
  rm -f conftest.er1
 
15583
  cat conftest.err >&5
 
15584
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15585
  (exit $ac_status); } && {
 
15586
         test -z "$ac_f77_werror_flag" ||
 
15587
         test ! -s conftest.err
 
15588
       } && test -s conftest$ac_exeext && {
 
15589
         test "$cross_compiling" = yes ||
 
15590
         $as_test_x conftest$ac_exeext
 
15591
       }; then
 
15592
 
 
15593
lt_aix_libpath_sed='
 
15594
    /Import File Strings/,/^$/ {
 
15595
        /^0/ {
 
15596
            s/^0  *\(.*\)$/\1/
 
15597
            p
 
15598
        }
 
15599
    }'
 
15600
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15601
# Check for a 64-bit object if we didn't find anything.
 
15602
if test -z "$aix_libpath"; then
 
15603
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15604
fi
 
15605
else
 
15606
  $as_echo "$as_me: failed program was:" >&5
 
15607
sed 's/^/| /' conftest.$ac_ext >&5
 
15608
 
 
15609
 
 
15610
fi
 
15611
 
 
15612
rm -rf conftest.dSYM
 
15613
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
15614
      conftest$ac_exeext conftest.$ac_ext
 
15615
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
15616
 
 
15617
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
 
15618
        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"
 
15619
       else
 
15620
        if test "$host_cpu" = ia64; then
 
15621
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
 
15622
          allow_undefined_flag_F77="-z nodefs"
 
15623
          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"
 
15624
        else
 
15625
         # Determine the default libpath from the value encoded in an empty executable.
 
15626
         cat >conftest.$ac_ext <<_ACEOF
 
15627
      program main
 
15628
 
 
15629
      end
 
15630
_ACEOF
 
15631
rm -f conftest.$ac_objext conftest$ac_exeext
 
15632
if { (ac_try="$ac_link"
 
15633
case "(($ac_try" in
 
15634
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15635
  *) ac_try_echo=$ac_try;;
 
15636
esac
 
15637
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15638
$as_echo "$ac_try_echo") >&5
 
15639
  (eval "$ac_link") 2>conftest.er1
 
15640
  ac_status=$?
 
15641
  grep -v '^ *+' conftest.er1 >conftest.err
 
15642
  rm -f conftest.er1
 
15643
  cat conftest.err >&5
 
15644
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15645
  (exit $ac_status); } && {
 
15646
         test -z "$ac_f77_werror_flag" ||
 
15647
         test ! -s conftest.err
 
15648
       } && test -s conftest$ac_exeext && {
 
15649
         test "$cross_compiling" = yes ||
 
15650
         $as_test_x conftest$ac_exeext
 
15651
       }; then
 
15652
 
 
15653
lt_aix_libpath_sed='
 
15654
    /Import File Strings/,/^$/ {
 
15655
        /^0/ {
 
15656
            s/^0  *\(.*\)$/\1/
 
15657
            p
 
15658
        }
 
15659
    }'
 
15660
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15661
# Check for a 64-bit object if we didn't find anything.
 
15662
if test -z "$aix_libpath"; then
 
15663
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15664
fi
 
15665
else
 
15666
  $as_echo "$as_me: failed program was:" >&5
 
15667
sed 's/^/| /' conftest.$ac_ext >&5
 
15668
 
 
15669
 
 
15670
fi
 
15671
 
 
15672
rm -rf conftest.dSYM
 
15673
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
15674
      conftest$ac_exeext conftest.$ac_ext
 
15675
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
15676
 
 
15677
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
 
15678
          # Warning - without using the other run time loading flags,
 
15679
          # -berok will link without error, but may produce a broken library.
 
15680
          no_undefined_flag_F77=' ${wl}-bernotok'
 
15681
          allow_undefined_flag_F77=' ${wl}-berok'
 
15682
          # Exported symbols can be pulled into shared objects from archives
 
15683
          whole_archive_flag_spec_F77='$convenience'
 
15684
          archive_cmds_need_lc_F77=yes
 
15685
          # This is similar to how AIX traditionally builds its shared libraries.
 
15686
          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'
 
15687
        fi
 
15688
      fi
 
15689
      ;;
 
15690
 
 
15691
    amigaos*)
 
15692
      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)'
 
15693
      hardcode_libdir_flag_spec_F77='-L$libdir'
 
15694
      hardcode_minus_L_F77=yes
 
15695
      # see comment about different semantics on the GNU ld section
 
15696
      ld_shlibs_F77=no
 
15697
      ;;
 
15698
 
 
15699
    bsdi[45]*)
 
15700
      export_dynamic_flag_spec_F77=-rdynamic
 
15701
      ;;
 
15702
 
 
15703
    cygwin* | mingw* | pw32*)
 
15704
      # When not using gcc, we currently assume that we are using
 
15705
      # Microsoft Visual C++.
 
15706
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
15707
      # no search path for DLLs.
 
15708
      hardcode_libdir_flag_spec_F77=' '
 
15709
      allow_undefined_flag_F77=unsupported
 
15710
      # Tell ltmain to make .lib files, not .a files.
 
15711
      libext=lib
 
15712
      # Tell ltmain to make .dll files, not .so files.
 
15713
      shrext_cmds=".dll"
 
15714
      # FIXME: Setting linknames here is a bad hack.
 
15715
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
15716
      # The linker will automatically build a .lib file if we build a DLL.
 
15717
      old_archive_From_new_cmds_F77='true'
 
15718
      # FIXME: Should let the user specify the lib program.
 
15719
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
15720
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
 
15721
      enable_shared_with_static_runtimes_F77=yes
 
15722
      ;;
 
15723
 
 
15724
    darwin* | rhapsody*)
 
15725
      case $host_os in
 
15726
        rhapsody* | darwin1.[012])
 
15727
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
 
15728
         ;;
 
15729
       *) # Darwin 1.3 on
 
15730
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
15731
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
15732
         else
 
15733
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
15734
             10.[012])
 
15735
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
15736
               ;;
 
15737
             10.*)
 
15738
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
 
15739
               ;;
 
15740
           esac
 
15741
         fi
 
15742
         ;;
 
15743
      esac
 
15744
      archive_cmds_need_lc_F77=no
 
15745
      hardcode_direct_F77=no
 
15746
      hardcode_automatic_F77=yes
 
15747
      hardcode_shlibpath_var_F77=unsupported
 
15748
      whole_archive_flag_spec_F77=''
 
15749
      link_all_deplibs_F77=yes
 
15750
    if test "$GCC" = yes ; then
 
15751
        output_verbose_link_cmd='echo'
 
15752
        archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
15753
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
15754
        archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
15755
        module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
15756
    else
 
15757
      case $cc_basename in
 
15758
        xlc*)
 
15759
         output_verbose_link_cmd='echo'
 
15760
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
 
15761
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
15762
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
15763
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
15764
          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}'
 
15765
          ;;
 
15766
       *)
 
15767
         ld_shlibs_F77=no
 
15768
          ;;
 
15769
      esac
 
15770
    fi
 
15771
      ;;
 
15772
 
 
15773
    dgux*)
 
15774
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
15775
      hardcode_libdir_flag_spec_F77='-L$libdir'
 
15776
      hardcode_shlibpath_var_F77=no
 
15777
      ;;
 
15778
 
 
15779
    freebsd1*)
 
15780
      ld_shlibs_F77=no
 
15781
      ;;
 
15782
 
 
15783
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
15784
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
15785
    # does not break anything, and helps significantly (at the cost of a little
 
15786
    # extra space).
 
15787
    freebsd2.2*)
 
15788
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
15789
      hardcode_libdir_flag_spec_F77='-R$libdir'
 
15790
      hardcode_direct_F77=yes
 
15791
      hardcode_shlibpath_var_F77=no
 
15792
      ;;
 
15793
 
 
15794
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
15795
    freebsd2*)
 
15796
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
15797
      hardcode_direct_F77=yes
 
15798
      hardcode_minus_L_F77=yes
 
15799
      hardcode_shlibpath_var_F77=no
 
15800
      ;;
 
15801
 
 
15802
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
15803
    freebsd* | dragonfly*)
 
15804
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
15805
      hardcode_libdir_flag_spec_F77='-R$libdir'
 
15806
      hardcode_direct_F77=yes
 
15807
      hardcode_shlibpath_var_F77=no
 
15808
      ;;
 
15809
 
 
15810
    hpux9*)
 
15811
      if test "$GCC" = yes; then
 
15812
        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'
 
15813
      else
 
15814
        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'
 
15815
      fi
 
15816
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15817
      hardcode_libdir_separator_F77=:
 
15818
      hardcode_direct_F77=yes
 
15819
 
 
15820
      # hardcode_minus_L: Not really in the search PATH,
 
15821
      # but as the default location of the library.
 
15822
      hardcode_minus_L_F77=yes
 
15823
      export_dynamic_flag_spec_F77='${wl}-E'
 
15824
      ;;
 
15825
 
 
15826
    hpux10*)
 
15827
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
15828
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
15829
      else
 
15830
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
15831
      fi
 
15832
      if test "$with_gnu_ld" = no; then
 
15833
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15834
        hardcode_libdir_separator_F77=:
 
15835
 
 
15836
        hardcode_direct_F77=yes
 
15837
        export_dynamic_flag_spec_F77='${wl}-E'
 
15838
 
 
15839
        # hardcode_minus_L: Not really in the search PATH,
 
15840
        # but as the default location of the library.
 
15841
        hardcode_minus_L_F77=yes
 
15842
      fi
 
15843
      ;;
 
15844
 
 
15845
    hpux11*)
 
15846
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
15847
        case $host_cpu in
 
15848
        hppa*64*)
 
15849
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15850
          ;;
 
15851
        ia64*)
 
15852
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
15853
          ;;
 
15854
        *)
 
15855
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
15856
          ;;
 
15857
        esac
 
15858
      else
 
15859
        case $host_cpu in
 
15860
        hppa*64*)
 
15861
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15862
          ;;
 
15863
        ia64*)
 
15864
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
15865
          ;;
 
15866
        *)
 
15867
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
15868
          ;;
 
15869
        esac
 
15870
      fi
 
15871
      if test "$with_gnu_ld" = no; then
 
15872
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15873
        hardcode_libdir_separator_F77=:
 
15874
 
 
15875
        case $host_cpu in
 
15876
        hppa*64*|ia64*)
 
15877
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
 
15878
          hardcode_direct_F77=no
 
15879
          hardcode_shlibpath_var_F77=no
 
15880
          ;;
 
15881
        *)
 
15882
          hardcode_direct_F77=yes
 
15883
          export_dynamic_flag_spec_F77='${wl}-E'
 
15884
 
 
15885
          # hardcode_minus_L: Not really in the search PATH,
 
15886
          # but as the default location of the library.
 
15887
          hardcode_minus_L_F77=yes
 
15888
          ;;
 
15889
        esac
 
15890
      fi
 
15891
      ;;
 
15892
 
 
15893
    irix5* | irix6* | nonstopux*)
 
15894
      if test "$GCC" = yes; then
 
15895
        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'
 
15896
      else
 
15897
        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'
 
15898
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
 
15899
      fi
 
15900
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 
15901
      hardcode_libdir_separator_F77=:
 
15902
      link_all_deplibs_F77=yes
 
15903
      ;;
 
15904
 
 
15905
    netbsd*)
 
15906
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
15907
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
15908
      else
 
15909
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
15910
      fi
 
15911
      hardcode_libdir_flag_spec_F77='-R$libdir'
 
15912
      hardcode_direct_F77=yes
 
15913
      hardcode_shlibpath_var_F77=no
 
15914
      ;;
 
15915
 
 
15916
    newsos6)
 
15917
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
15918
      hardcode_direct_F77=yes
 
15919
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 
15920
      hardcode_libdir_separator_F77=:
 
15921
      hardcode_shlibpath_var_F77=no
 
15922
      ;;
 
15923
 
 
15924
    openbsd*)
 
15925
      if test -f /usr/libexec/ld.so; then
 
15926
        hardcode_direct_F77=yes
 
15927
        hardcode_shlibpath_var_F77=no
 
15928
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
15929
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15930
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
15931
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15932
          export_dynamic_flag_spec_F77='${wl}-E'
 
15933
        else
 
15934
          case $host_os in
 
15935
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
15936
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
15937
             hardcode_libdir_flag_spec_F77='-R$libdir'
 
15938
             ;;
 
15939
           *)
 
15940
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15941
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15942
             ;;
 
15943
          esac
 
15944
        fi
 
15945
      else
 
15946
        ld_shlibs_F77=no
 
15947
      fi
 
15948
      ;;
 
15949
 
 
15950
    os2*)
 
15951
      hardcode_libdir_flag_spec_F77='-L$libdir'
 
15952
      hardcode_minus_L_F77=yes
 
15953
      allow_undefined_flag_F77=unsupported
 
15954
      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'
 
15955
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
15956
      ;;
 
15957
 
 
15958
    osf3*)
 
15959
      if test "$GCC" = yes; then
 
15960
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
 
15961
        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'
 
15962
      else
 
15963
        allow_undefined_flag_F77=' -expect_unresolved \*'
 
15964
        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'
 
15965
      fi
 
15966
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 
15967
      hardcode_libdir_separator_F77=:
 
15968
      ;;
 
15969
 
 
15970
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
15971
      if test "$GCC" = yes; then
 
15972
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
 
15973
        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'
 
15974
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 
15975
      else
 
15976
        allow_undefined_flag_F77=' -expect_unresolved \*'
 
15977
        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'
 
15978
        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~
 
15979
        $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'
 
15980
 
 
15981
        # Both c and cxx compiler support -rpath directly
 
15982
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
 
15983
      fi
 
15984
      hardcode_libdir_separator_F77=:
 
15985
      ;;
 
15986
 
 
15987
    solaris*)
 
15988
      no_undefined_flag_F77=' -z text'
 
15989
      if test "$GCC" = yes; then
 
15990
        wlarc='${wl}'
 
15991
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15992
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
15993
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
15994
      else
 
15995
        wlarc=''
 
15996
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
15997
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
15998
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
15999
      fi
 
16000
      hardcode_libdir_flag_spec_F77='-R$libdir'
 
16001
      hardcode_shlibpath_var_F77=no
 
16002
      case $host_os in
 
16003
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
16004
      *)
 
16005
        # The compiler driver will combine and reorder linker options,
 
16006
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
16007
        # but is careful enough not to reorder.
 
16008
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
16009
        if test "$GCC" = yes; then
 
16010
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
16011
        else
 
16012
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
 
16013
        fi
 
16014
        ;;
 
16015
      esac
 
16016
      link_all_deplibs_F77=yes
 
16017
      ;;
 
16018
 
 
16019
    sunos4*)
 
16020
      if test "x$host_vendor" = xsequent; then
 
16021
        # Use $CC to link under sequent, because it throws in some extra .o
 
16022
        # files that make .init and .fini sections work.
 
16023
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
16024
      else
 
16025
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
16026
      fi
 
16027
      hardcode_libdir_flag_spec_F77='-L$libdir'
 
16028
      hardcode_direct_F77=yes
 
16029
      hardcode_minus_L_F77=yes
 
16030
      hardcode_shlibpath_var_F77=no
 
16031
      ;;
 
16032
 
 
16033
    sysv4)
 
16034
      case $host_vendor in
 
16035
        sni)
 
16036
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
16037
          hardcode_direct_F77=yes # is this really true???
 
16038
        ;;
 
16039
        siemens)
 
16040
          ## LD is ld it makes a PLAMLIB
 
16041
          ## CC just makes a GrossModule.
 
16042
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
16043
          reload_cmds_F77='$CC -r -o $output$reload_objs'
 
16044
          hardcode_direct_F77=no
 
16045
        ;;
 
16046
        motorola)
 
16047
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
16048
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
 
16049
        ;;
 
16050
      esac
 
16051
      runpath_var='LD_RUN_PATH'
 
16052
      hardcode_shlibpath_var_F77=no
 
16053
      ;;
 
16054
 
 
16055
    sysv4.3*)
 
16056
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
16057
      hardcode_shlibpath_var_F77=no
 
16058
      export_dynamic_flag_spec_F77='-Bexport'
 
16059
      ;;
 
16060
 
 
16061
    sysv4*MP*)
 
16062
      if test -d /usr/nec; then
 
16063
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
16064
        hardcode_shlibpath_var_F77=no
 
16065
        runpath_var=LD_RUN_PATH
 
16066
        hardcode_runpath_var=yes
 
16067
        ld_shlibs_F77=yes
 
16068
      fi
 
16069
      ;;
 
16070
 
 
16071
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
16072
      no_undefined_flag_F77='${wl}-z,text'
 
16073
      archive_cmds_need_lc_F77=no
 
16074
      hardcode_shlibpath_var_F77=no
 
16075
      runpath_var='LD_RUN_PATH'
 
16076
 
 
16077
      if test "$GCC" = yes; then
 
16078
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
16079
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
16080
      else
 
16081
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
16082
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
16083
      fi
 
16084
      ;;
 
16085
 
 
16086
    sysv5* | sco3.2v5* | sco5v6*)
 
16087
      # Note: We can NOT use -z defs as we might desire, because we do not
 
16088
      # link with -lc, and that would cause any symbols used from libc to
 
16089
      # always be unresolved, which means just about no library would
 
16090
      # ever link correctly.  If we're not using GNU ld we use -z text
 
16091
      # though, which does catch some bad symbols but isn't as heavy-handed
 
16092
      # as -z defs.
 
16093
      no_undefined_flag_F77='${wl}-z,text'
 
16094
      allow_undefined_flag_F77='${wl}-z,nodefs'
 
16095
      archive_cmds_need_lc_F77=no
 
16096
      hardcode_shlibpath_var_F77=no
 
16097
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
16098
      hardcode_libdir_separator_F77=':'
 
16099
      link_all_deplibs_F77=yes
 
16100
      export_dynamic_flag_spec_F77='${wl}-Bexport'
 
16101
      runpath_var='LD_RUN_PATH'
 
16102
 
 
16103
      if test "$GCC" = yes; then
 
16104
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
16105
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
16106
      else
 
16107
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
16108
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
16109
      fi
 
16110
      ;;
 
16111
 
 
16112
    uts4*)
 
16113
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
16114
      hardcode_libdir_flag_spec_F77='-L$libdir'
 
16115
      hardcode_shlibpath_var_F77=no
 
16116
      ;;
 
16117
 
 
16118
    *)
 
16119
      ld_shlibs_F77=no
 
16120
      ;;
 
16121
    esac
 
16122
  fi
 
16123
 
 
16124
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
16125
$as_echo "$ld_shlibs_F77" >&6; }
 
16126
test "$ld_shlibs_F77" = no && can_build_shared=no
 
16127
 
 
16128
#
 
16129
# Do we need to explicitly link libc?
 
16130
#
 
16131
case "x$archive_cmds_need_lc_F77" in
 
16132
x|xyes)
 
16133
  # Assume -lc should be added
 
16134
  archive_cmds_need_lc_F77=yes
 
16135
 
 
16136
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
16137
    case $archive_cmds_F77 in
 
16138
    *'~'*)
 
16139
      # FIXME: we may have to deal with multi-command sequences.
 
16140
      ;;
 
16141
    '$CC '*)
 
16142
      # Test whether the compiler implicitly links with -lc since on some
 
16143
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
16144
      # to ld, don't add -lc before -lgcc.
 
16145
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
16146
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
16147
      $rm conftest*
 
16148
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16149
 
 
16150
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
16151
  (eval $ac_compile) 2>&5
 
16152
  ac_status=$?
 
16153
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16154
  (exit $ac_status); } 2>conftest.err; then
 
16155
        soname=conftest
 
16156
        lib=conftest
 
16157
        libobjs=conftest.$ac_objext
 
16158
        deplibs=
 
16159
        wl=$lt_prog_compiler_wl_F77
 
16160
        pic_flag=$lt_prog_compiler_pic_F77
 
16161
        compiler_flags=-v
 
16162
        linker_flags=-v
 
16163
        verstring=
 
16164
        output_objdir=.
 
16165
        libname=conftest
 
16166
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
 
16167
        allow_undefined_flag_F77=
 
16168
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
16169
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
16170
  ac_status=$?
 
16171
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16172
  (exit $ac_status); }
 
16173
        then
 
16174
          archive_cmds_need_lc_F77=no
 
16175
        else
 
16176
          archive_cmds_need_lc_F77=yes
 
16177
        fi
 
16178
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
 
16179
      else
 
16180
        cat conftest.err 1>&5
 
16181
      fi
 
16182
      $rm conftest*
 
16183
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
16184
$as_echo "$archive_cmds_need_lc_F77" >&6; }
 
16185
      ;;
 
16186
    esac
 
16187
  fi
 
16188
  ;;
 
16189
esac
 
16190
 
 
16191
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
16192
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
16193
library_names_spec=
 
16194
libname_spec='lib$name'
 
16195
soname_spec=
 
16196
shrext_cmds=".so"
 
16197
postinstall_cmds=
 
16198
postuninstall_cmds=
 
16199
finish_cmds=
 
16200
finish_eval=
 
16201
shlibpath_var=
 
16202
shlibpath_overrides_runpath=unknown
 
16203
version_type=none
 
16204
dynamic_linker="$host_os ld.so"
 
16205
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
16206
 
 
16207
need_lib_prefix=unknown
 
16208
hardcode_into_libs=no
 
16209
 
 
16210
# when you set need_version to no, make sure it does not cause -set_version
 
16211
# flags to be left without arguments
 
16212
need_version=unknown
 
16213
 
 
16214
case $host_os in
 
16215
aix3*)
 
16216
  version_type=linux
 
16217
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
16218
  shlibpath_var=LIBPATH
 
16219
 
 
16220
  # AIX 3 has no versioning support, so we append a major version to the name.
 
16221
  soname_spec='${libname}${release}${shared_ext}$major'
 
16222
  ;;
 
16223
 
 
16224
aix[4-9]*)
 
16225
  version_type=linux
 
16226
  need_lib_prefix=no
 
16227
  need_version=no
 
16228
  hardcode_into_libs=yes
 
16229
  if test "$host_cpu" = ia64; then
 
16230
    # AIX 5 supports IA64
 
16231
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
16232
    shlibpath_var=LD_LIBRARY_PATH
 
16233
  else
 
16234
    # With GCC up to 2.95.x, collect2 would create an import file
 
16235
    # for dependence libraries.  The import file would start with
 
16236
    # the line `#! .'.  This would cause the generated library to
 
16237
    # depend on `.', always an invalid library.  This was fixed in
 
16238
    # development snapshots of GCC prior to 3.0.
 
16239
    case $host_os in
 
16240
      aix4 | aix4.[01] | aix4.[01].*)
 
16241
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
16242
           echo ' yes '
 
16243
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
16244
        :
 
16245
      else
 
16246
        can_build_shared=no
 
16247
      fi
 
16248
      ;;
 
16249
    esac
 
16250
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
16251
    # soname into executable. Probably we can add versioning support to
 
16252
    # collect2, so additional links can be useful in future.
 
16253
    if test "$aix_use_runtimelinking" = yes; then
 
16254
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
16255
      # instead of lib<name>.a to let people know that these are not
 
16256
      # typical AIX shared libraries.
 
16257
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16258
    else
 
16259
      # We preserve .a as extension for shared libraries through AIX4.2
 
16260
      # and later when we are not doing run time linking.
 
16261
      library_names_spec='${libname}${release}.a $libname.a'
 
16262
      soname_spec='${libname}${release}${shared_ext}$major'
 
16263
    fi
 
16264
    shlibpath_var=LIBPATH
 
16265
  fi
 
16266
  ;;
 
16267
 
 
16268
amigaos*)
 
16269
  library_names_spec='$libname.ixlibrary $libname.a'
 
16270
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
16271
  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'
 
16272
  ;;
 
16273
 
 
16274
beos*)
 
16275
  library_names_spec='${libname}${shared_ext}'
 
16276
  dynamic_linker="$host_os ld.so"
 
16277
  shlibpath_var=LIBRARY_PATH
 
16278
  ;;
 
16279
 
 
16280
bsdi[45]*)
 
16281
  version_type=linux
 
16282
  need_version=no
 
16283
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16284
  soname_spec='${libname}${release}${shared_ext}$major'
 
16285
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
16286
  shlibpath_var=LD_LIBRARY_PATH
 
16287
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
16288
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
16289
  # the default ld.so.conf also contains /usr/contrib/lib and
 
16290
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
16291
  # libtool to hard-code these into programs
 
16292
  ;;
 
16293
 
 
16294
cygwin* | mingw* | pw32*)
 
16295
  version_type=windows
 
16296
  shrext_cmds=".dll"
 
16297
  need_version=no
 
16298
  need_lib_prefix=no
 
16299
 
 
16300
  case $GCC,$host_os in
 
16301
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
16302
    library_names_spec='$libname.dll.a'
 
16303
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
16304
    postinstall_cmds='base_file=`basename \${file}`~
 
16305
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
16306
      dldir=$destdir/`dirname \$dlpath`~
 
16307
      test -d \$dldir || mkdir -p \$dldir~
 
16308
      $install_prog $dir/$dlname \$dldir/$dlname~
 
16309
      chmod a+x \$dldir/$dlname'
 
16310
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
16311
      dlpath=$dir/\$dldll~
 
16312
       $rm \$dlpath'
 
16313
    shlibpath_overrides_runpath=yes
 
16314
 
 
16315
    case $host_os in
 
16316
    cygwin*)
 
16317
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
16318
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
16319
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
16320
      ;;
 
16321
    mingw*)
 
16322
      # MinGW DLLs use traditional 'lib' prefix
 
16323
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
16324
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
16325
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
16326
        # It is most probably a Windows format PATH printed by
 
16327
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
16328
        # path with ; separators, and with drive letters. We can handle the
 
16329
        # drive letters (cygwin fileutils understands them), so leave them,
 
16330
        # especially as we might pass files found there to a mingw objdump,
 
16331
        # which wouldn't understand a cygwinified path. Ahh.
 
16332
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
16333
      else
 
16334
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
16335
      fi
 
16336
      ;;
 
16337
    pw32*)
 
16338
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
16339
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
16340
      ;;
 
16341
    esac
 
16342
    ;;
 
16343
 
 
16344
  *)
 
16345
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
16346
    ;;
 
16347
  esac
 
16348
  dynamic_linker='Win32 ld.exe'
 
16349
  # FIXME: first we should search . and the directory the executable is in
 
16350
  shlibpath_var=PATH
 
16351
  ;;
 
16352
 
 
16353
darwin* | rhapsody*)
 
16354
  dynamic_linker="$host_os dyld"
 
16355
  version_type=darwin
 
16356
  need_lib_prefix=no
 
16357
  need_version=no
 
16358
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
16359
  soname_spec='${libname}${release}${major}$shared_ext'
 
16360
  shlibpath_overrides_runpath=yes
 
16361
  shlibpath_var=DYLD_LIBRARY_PATH
 
16362
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
16363
 
 
16364
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
16365
  ;;
 
16366
 
 
16367
dgux*)
 
16368
  version_type=linux
 
16369
  need_lib_prefix=no
 
16370
  need_version=no
 
16371
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
16372
  soname_spec='${libname}${release}${shared_ext}$major'
 
16373
  shlibpath_var=LD_LIBRARY_PATH
 
16374
  ;;
 
16375
 
 
16376
freebsd1*)
 
16377
  dynamic_linker=no
 
16378
  ;;
 
16379
 
 
16380
freebsd* | dragonfly*)
 
16381
  # DragonFly does not have aout.  When/if they implement a new
 
16382
  # versioning mechanism, adjust this.
 
16383
  if test -x /usr/bin/objformat; then
 
16384
    objformat=`/usr/bin/objformat`
 
16385
  else
 
16386
    case $host_os in
 
16387
    freebsd[123]*) objformat=aout ;;
 
16388
    *) objformat=elf ;;
 
16389
    esac
 
16390
  fi
 
16391
  version_type=freebsd-$objformat
 
16392
  case $version_type in
 
16393
    freebsd-elf*)
 
16394
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
16395
      need_version=no
 
16396
      need_lib_prefix=no
 
16397
      ;;
 
16398
    freebsd-*)
 
16399
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
16400
      need_version=yes
 
16401
      ;;
 
16402
  esac
 
16403
  shlibpath_var=LD_LIBRARY_PATH
 
16404
  case $host_os in
 
16405
  freebsd2*)
 
16406
    shlibpath_overrides_runpath=yes
 
16407
    ;;
 
16408
  freebsd3.[01]* | freebsdelf3.[01]*)
 
16409
    shlibpath_overrides_runpath=yes
 
16410
    hardcode_into_libs=yes
 
16411
    ;;
 
16412
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
16413
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
16414
    shlibpath_overrides_runpath=no
 
16415
    hardcode_into_libs=yes
 
16416
    ;;
 
16417
  *) # from 4.6 on, and DragonFly
 
16418
    shlibpath_overrides_runpath=yes
 
16419
    hardcode_into_libs=yes
 
16420
    ;;
 
16421
  esac
 
16422
  ;;
 
16423
 
 
16424
gnu*)
 
16425
  version_type=linux
 
16426
  need_lib_prefix=no
 
16427
  need_version=no
 
16428
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
16429
  soname_spec='${libname}${release}${shared_ext}$major'
 
16430
  shlibpath_var=LD_LIBRARY_PATH
 
16431
  hardcode_into_libs=yes
 
16432
  ;;
 
16433
 
 
16434
hpux9* | hpux10* | hpux11*)
 
16435
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
16436
  # link against other versions.
 
16437
  version_type=sunos
 
16438
  need_lib_prefix=no
 
16439
  need_version=no
 
16440
  case $host_cpu in
 
16441
  ia64*)
 
16442
    shrext_cmds='.so'
 
16443
    hardcode_into_libs=yes
 
16444
    dynamic_linker="$host_os dld.so"
 
16445
    shlibpath_var=LD_LIBRARY_PATH
 
16446
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
16447
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16448
    soname_spec='${libname}${release}${shared_ext}$major'
 
16449
    if test "X$HPUX_IA64_MODE" = X32; then
 
16450
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
16451
    else
 
16452
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
16453
    fi
 
16454
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
16455
    ;;
 
16456
   hppa*64*)
 
16457
     shrext_cmds='.sl'
 
16458
     hardcode_into_libs=yes
 
16459
     dynamic_linker="$host_os dld.sl"
 
16460
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
16461
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
16462
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16463
     soname_spec='${libname}${release}${shared_ext}$major'
 
16464
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
16465
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
16466
     ;;
 
16467
   *)
 
16468
    shrext_cmds='.sl'
 
16469
    dynamic_linker="$host_os dld.sl"
 
16470
    shlibpath_var=SHLIB_PATH
 
16471
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
16472
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16473
    soname_spec='${libname}${release}${shared_ext}$major'
 
16474
    ;;
 
16475
  esac
 
16476
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
16477
  postinstall_cmds='chmod 555 $lib'
 
16478
  ;;
 
16479
 
 
16480
interix[3-9]*)
 
16481
  version_type=linux
 
16482
  need_lib_prefix=no
 
16483
  need_version=no
 
16484
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
16485
  soname_spec='${libname}${release}${shared_ext}$major'
 
16486
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
16487
  shlibpath_var=LD_LIBRARY_PATH
 
16488
  shlibpath_overrides_runpath=no
 
16489
  hardcode_into_libs=yes
 
16490
  ;;
 
16491
 
 
16492
irix5* | irix6* | nonstopux*)
 
16493
  case $host_os in
 
16494
    nonstopux*) version_type=nonstopux ;;
 
16495
    *)
 
16496
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
16497
                version_type=linux
 
16498
        else
 
16499
                version_type=irix
 
16500
        fi ;;
 
16501
  esac
 
16502
  need_lib_prefix=no
 
16503
  need_version=no
 
16504
  soname_spec='${libname}${release}${shared_ext}$major'
 
16505
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
16506
  case $host_os in
 
16507
  irix5* | nonstopux*)
 
16508
    libsuff= shlibsuff=
 
16509
    ;;
 
16510
  *)
 
16511
    case $LD in # libtool.m4 will add one of these switches to LD
 
16512
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
16513
      libsuff= shlibsuff= libmagic=32-bit;;
 
16514
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
16515
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
16516
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
16517
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
16518
    *) libsuff= shlibsuff= libmagic=never-match;;
 
16519
    esac
 
16520
    ;;
 
16521
  esac
 
16522
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
16523
  shlibpath_overrides_runpath=no
 
16524
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
16525
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
16526
  hardcode_into_libs=yes
 
16527
  ;;
 
16528
 
 
16529
# No shared lib support for Linux oldld, aout, or coff.
 
16530
linux*oldld* | linux*aout* | linux*coff*)
 
16531
  dynamic_linker=no
 
16532
  ;;
 
16533
 
 
16534
# This must be Linux ELF.
 
16535
linux* | k*bsd*-gnu)
 
16536
  version_type=linux
 
16537
  need_lib_prefix=no
 
16538
  need_version=no
 
16539
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16540
  soname_spec='${libname}${release}${shared_ext}$major'
 
16541
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
16542
  shlibpath_var=LD_LIBRARY_PATH
 
16543
  shlibpath_overrides_runpath=no
 
16544
  # This implies no fast_install, which is unacceptable.
 
16545
  # Some rework will be needed to allow for fast_install
 
16546
  # before this can be enabled.
 
16547
  hardcode_into_libs=yes
 
16548
 
 
16549
  # Append ld.so.conf contents to the search path
 
16550
  if test -f /etc/ld.so.conf; then
 
16551
    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' ' '`
 
16552
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
16553
  fi
 
16554
 
 
16555
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
16556
  # powerpc, because MkLinux only supported shared libraries with the
 
16557
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
16558
  # most powerpc-linux boxes support dynamic linking these days and
 
16559
  # people can always --disable-shared, the test was removed, and we
 
16560
  # assume the GNU/Linux dynamic linker is in use.
 
16561
  dynamic_linker='GNU/Linux ld.so'
 
16562
  ;;
 
16563
 
 
16564
netbsd*)
 
16565
  version_type=sunos
 
16566
  need_lib_prefix=no
 
16567
  need_version=no
 
16568
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
16569
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
16570
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
16571
    dynamic_linker='NetBSD (a.out) ld.so'
 
16572
  else
 
16573
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
16574
    soname_spec='${libname}${release}${shared_ext}$major'
 
16575
    dynamic_linker='NetBSD ld.elf_so'
 
16576
  fi
 
16577
  shlibpath_var=LD_LIBRARY_PATH
 
16578
  shlibpath_overrides_runpath=yes
 
16579
  hardcode_into_libs=yes
 
16580
  ;;
 
16581
 
 
16582
newsos6)
 
16583
  version_type=linux
 
16584
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16585
  shlibpath_var=LD_LIBRARY_PATH
 
16586
  shlibpath_overrides_runpath=yes
 
16587
  ;;
 
16588
 
 
16589
nto-qnx*)
 
16590
  version_type=linux
 
16591
  need_lib_prefix=no
 
16592
  need_version=no
 
16593
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16594
  soname_spec='${libname}${release}${shared_ext}$major'
 
16595
  shlibpath_var=LD_LIBRARY_PATH
 
16596
  shlibpath_overrides_runpath=yes
 
16597
  ;;
 
16598
 
 
16599
openbsd*)
 
16600
  version_type=sunos
 
16601
  sys_lib_dlsearch_path_spec="/usr/lib"
 
16602
  need_lib_prefix=no
 
16603
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
16604
  case $host_os in
 
16605
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
16606
    *)                         need_version=no  ;;
 
16607
  esac
 
16608
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
16609
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
16610
  shlibpath_var=LD_LIBRARY_PATH
 
16611
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
16612
    case $host_os in
 
16613
      openbsd2.[89] | openbsd2.[89].*)
 
16614
        shlibpath_overrides_runpath=no
 
16615
        ;;
 
16616
      *)
 
16617
        shlibpath_overrides_runpath=yes
 
16618
        ;;
 
16619
      esac
 
16620
  else
 
16621
    shlibpath_overrides_runpath=yes
 
16622
  fi
 
16623
  ;;
 
16624
 
 
16625
os2*)
 
16626
  libname_spec='$name'
 
16627
  shrext_cmds=".dll"
 
16628
  need_lib_prefix=no
 
16629
  library_names_spec='$libname${shared_ext} $libname.a'
 
16630
  dynamic_linker='OS/2 ld.exe'
 
16631
  shlibpath_var=LIBPATH
 
16632
  ;;
 
16633
 
 
16634
osf3* | osf4* | osf5*)
 
16635
  version_type=osf
 
16636
  need_lib_prefix=no
 
16637
  need_version=no
 
16638
  soname_spec='${libname}${release}${shared_ext}$major'
 
16639
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16640
  shlibpath_var=LD_LIBRARY_PATH
 
16641
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
16642
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
16643
  ;;
 
16644
 
 
16645
rdos*)
 
16646
  dynamic_linker=no
 
16647
  ;;
 
16648
 
 
16649
solaris*)
 
16650
  version_type=linux
 
16651
  need_lib_prefix=no
 
16652
  need_version=no
 
16653
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16654
  soname_spec='${libname}${release}${shared_ext}$major'
 
16655
  shlibpath_var=LD_LIBRARY_PATH
 
16656
  shlibpath_overrides_runpath=yes
 
16657
  hardcode_into_libs=yes
 
16658
  # ldd complains unless libraries are executable
 
16659
  postinstall_cmds='chmod +x $lib'
 
16660
  ;;
 
16661
 
 
16662
sunos4*)
 
16663
  version_type=sunos
 
16664
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
16665
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
16666
  shlibpath_var=LD_LIBRARY_PATH
 
16667
  shlibpath_overrides_runpath=yes
 
16668
  if test "$with_gnu_ld" = yes; then
 
16669
    need_lib_prefix=no
 
16670
  fi
 
16671
  need_version=yes
 
16672
  ;;
 
16673
 
 
16674
sysv4 | sysv4.3*)
 
16675
  version_type=linux
 
16676
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16677
  soname_spec='${libname}${release}${shared_ext}$major'
 
16678
  shlibpath_var=LD_LIBRARY_PATH
 
16679
  case $host_vendor in
 
16680
    sni)
 
16681
      shlibpath_overrides_runpath=no
 
16682
      need_lib_prefix=no
 
16683
      export_dynamic_flag_spec='${wl}-Blargedynsym'
 
16684
      runpath_var=LD_RUN_PATH
 
16685
      ;;
 
16686
    siemens)
 
16687
      need_lib_prefix=no
 
16688
      ;;
 
16689
    motorola)
 
16690
      need_lib_prefix=no
 
16691
      need_version=no
 
16692
      shlibpath_overrides_runpath=no
 
16693
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
16694
      ;;
 
16695
  esac
 
16696
  ;;
 
16697
 
 
16698
sysv4*MP*)
 
16699
  if test -d /usr/nec ;then
 
16700
    version_type=linux
 
16701
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
16702
    soname_spec='$libname${shared_ext}.$major'
 
16703
    shlibpath_var=LD_LIBRARY_PATH
 
16704
  fi
 
16705
  ;;
 
16706
 
 
16707
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
16708
  version_type=freebsd-elf
 
16709
  need_lib_prefix=no
 
16710
  need_version=no
 
16711
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
16712
  soname_spec='${libname}${release}${shared_ext}$major'
 
16713
  shlibpath_var=LD_LIBRARY_PATH
 
16714
  hardcode_into_libs=yes
 
16715
  if test "$with_gnu_ld" = yes; then
 
16716
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
16717
    shlibpath_overrides_runpath=no
 
16718
  else
 
16719
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
16720
    shlibpath_overrides_runpath=yes
 
16721
    case $host_os in
 
16722
      sco3.2v5*)
 
16723
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
16724
        ;;
 
16725
    esac
 
16726
  fi
 
16727
  sys_lib_dlsearch_path_spec='/usr/lib'
 
16728
  ;;
 
16729
 
 
16730
uts4*)
 
16731
  version_type=linux
 
16732
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16733
  soname_spec='${libname}${release}${shared_ext}$major'
 
16734
  shlibpath_var=LD_LIBRARY_PATH
 
16735
  ;;
 
16736
 
 
16737
*)
 
16738
  dynamic_linker=no
 
16739
  ;;
 
16740
esac
 
16741
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
16742
$as_echo "$dynamic_linker" >&6; }
 
16743
test "$dynamic_linker" = no && can_build_shared=no
 
16744
 
 
16745
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
16746
  $as_echo_n "(cached) " >&6
 
16747
else
 
16748
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
16749
fi
 
16750
 
 
16751
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
16752
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
16753
  $as_echo_n "(cached) " >&6
 
16754
else
 
16755
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
16756
fi
 
16757
 
 
16758
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
16759
 
 
16760
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
16761
if test "$GCC" = yes; then
 
16762
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
16763
fi
 
16764
 
 
16765
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
16766
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
16767
hardcode_action_F77=
 
16768
if test -n "$hardcode_libdir_flag_spec_F77" || \
 
16769
   test -n "$runpath_var_F77" || \
 
16770
   test "X$hardcode_automatic_F77" = "Xyes" ; then
 
16771
 
 
16772
  # We can hardcode non-existant directories.
 
16773
  if test "$hardcode_direct_F77" != no &&
 
16774
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
16775
     # have to relink, otherwise we might link with an installed library
 
16776
     # when we should be linking with a yet-to-be-installed one
 
16777
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
 
16778
     test "$hardcode_minus_L_F77" != no; then
 
16779
    # Linking always hardcodes the temporary library directory.
 
16780
    hardcode_action_F77=relink
 
16781
  else
 
16782
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
16783
    hardcode_action_F77=immediate
 
16784
  fi
 
16785
else
 
16786
  # We cannot hardcode anything, or else we can only hardcode existing
 
16787
  # directories.
 
16788
  hardcode_action_F77=unsupported
 
16789
fi
 
16790
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
16791
$as_echo "$hardcode_action_F77" >&6; }
 
16792
 
 
16793
if test "$hardcode_action_F77" = relink; then
 
16794
  # Fast installation is not supported
 
16795
  enable_fast_install=no
 
16796
elif test "$shlibpath_overrides_runpath" = yes ||
 
16797
     test "$enable_shared" = no; then
 
16798
  # Fast installation is not necessary
 
16799
  enable_fast_install=needless
 
16800
fi
 
16801
 
 
16802
 
 
16803
# The else clause should only fire when bootstrapping the
 
16804
# libtool distribution, otherwise you forgot to ship ltmain.sh
 
16805
# with your package, and you will get complaints that there are
 
16806
# no rules to generate ltmain.sh.
 
16807
if test -f "$ltmain"; then
 
16808
  # See if we are running on zsh, and set the options which allow our commands through
 
16809
  # without removal of \ escapes.
 
16810
  if test -n "${ZSH_VERSION+set}" ; then
 
16811
    setopt NO_GLOB_SUBST
 
16812
  fi
 
16813
  # Now quote all the things that may contain metacharacters while being
 
16814
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
 
16815
  # variables and quote the copies for generation of the libtool script.
 
16816
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
 
16817
    SED SHELL STRIP \
 
16818
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 
16819
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 
16820
    deplibs_check_method reload_flag reload_cmds need_locks \
 
16821
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 
16822
    lt_cv_sys_global_symbol_to_c_name_address \
 
16823
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 
16824
    old_postinstall_cmds old_postuninstall_cmds \
 
16825
    compiler_F77 \
 
16826
    CC_F77 \
 
16827
    LD_F77 \
 
16828
    lt_prog_compiler_wl_F77 \
 
16829
    lt_prog_compiler_pic_F77 \
 
16830
    lt_prog_compiler_static_F77 \
 
16831
    lt_prog_compiler_no_builtin_flag_F77 \
 
16832
    export_dynamic_flag_spec_F77 \
 
16833
    thread_safe_flag_spec_F77 \
 
16834
    whole_archive_flag_spec_F77 \
 
16835
    enable_shared_with_static_runtimes_F77 \
 
16836
    old_archive_cmds_F77 \
 
16837
    old_archive_from_new_cmds_F77 \
 
16838
    predep_objects_F77 \
 
16839
    postdep_objects_F77 \
 
16840
    predeps_F77 \
 
16841
    postdeps_F77 \
 
16842
    compiler_lib_search_path_F77 \
 
16843
    compiler_lib_search_dirs_F77 \
 
16844
    archive_cmds_F77 \
 
16845
    archive_expsym_cmds_F77 \
 
16846
    postinstall_cmds_F77 \
 
16847
    postuninstall_cmds_F77 \
 
16848
    old_archive_from_expsyms_cmds_F77 \
 
16849
    allow_undefined_flag_F77 \
 
16850
    no_undefined_flag_F77 \
 
16851
    export_symbols_cmds_F77 \
 
16852
    hardcode_libdir_flag_spec_F77 \
 
16853
    hardcode_libdir_flag_spec_ld_F77 \
 
16854
    hardcode_libdir_separator_F77 \
 
16855
    hardcode_automatic_F77 \
 
16856
    module_cmds_F77 \
 
16857
    module_expsym_cmds_F77 \
 
16858
    lt_cv_prog_compiler_c_o_F77 \
 
16859
    fix_srcfile_path_F77 \
 
16860
    exclude_expsyms_F77 \
 
16861
    include_expsyms_F77; do
 
16862
 
 
16863
    case $var in
 
16864
    old_archive_cmds_F77 | \
 
16865
    old_archive_from_new_cmds_F77 | \
 
16866
    archive_cmds_F77 | \
 
16867
    archive_expsym_cmds_F77 | \
 
16868
    module_cmds_F77 | \
 
16869
    module_expsym_cmds_F77 | \
 
16870
    old_archive_from_expsyms_cmds_F77 | \
 
16871
    export_symbols_cmds_F77 | \
 
16872
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
 
16873
    postinstall_cmds | postuninstall_cmds | \
 
16874
    old_postinstall_cmds | old_postuninstall_cmds | \
 
16875
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 
16876
      # Double-quote double-evaled strings.
 
16877
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 
16878
      ;;
 
16879
    *)
 
16880
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 
16881
      ;;
 
16882
    esac
 
16883
  done
 
16884
 
 
16885
  case $lt_echo in
 
16886
  *'\$0 --fallback-echo"')
 
16887
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 
16888
    ;;
 
16889
  esac
 
16890
 
 
16891
cfgfile="$ofile"
 
16892
 
 
16893
  cat <<__EOF__ >> "$cfgfile"
 
16894
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
 
16895
 
 
16896
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
16897
 
 
16898
# Shell to use when invoking shell scripts.
 
16899
SHELL=$lt_SHELL
 
16900
 
 
16901
# Whether or not to build shared libraries.
 
16902
build_libtool_libs=$enable_shared
 
16903
 
 
16904
# Whether or not to build static libraries.
 
16905
build_old_libs=$enable_static
 
16906
 
 
16907
# Whether or not to add -lc for building shared libraries.
 
16908
build_libtool_need_lc=$archive_cmds_need_lc_F77
 
16909
 
 
16910
# Whether or not to disallow shared libs when runtime libs are static
 
16911
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
 
16912
 
 
16913
# Whether or not to optimize for fast installation.
 
16914
fast_install=$enable_fast_install
 
16915
 
 
16916
# The host system.
 
16917
host_alias=$host_alias
 
16918
host=$host
 
16919
host_os=$host_os
 
16920
 
 
16921
# The build system.
 
16922
build_alias=$build_alias
 
16923
build=$build
 
16924
build_os=$build_os
 
16925
 
 
16926
# An echo program that does not interpret backslashes.
 
16927
echo=$lt_echo
 
16928
 
 
16929
# The archiver.
 
16930
AR=$lt_AR
 
16931
AR_FLAGS=$lt_AR_FLAGS
 
16932
 
 
16933
# A C compiler.
 
16934
LTCC=$lt_LTCC
 
16935
 
 
16936
# LTCC compiler flags.
 
16937
LTCFLAGS=$lt_LTCFLAGS
 
16938
 
 
16939
# A language-specific compiler.
 
16940
CC=$lt_compiler_F77
 
16941
 
 
16942
# Is the compiler the GNU C compiler?
 
16943
with_gcc=$GCC_F77
 
16944
 
 
16945
# An ERE matcher.
 
16946
EGREP=$lt_EGREP
 
16947
 
 
16948
# The linker used to build libraries.
 
16949
LD=$lt_LD_F77
 
16950
 
 
16951
# Whether we need hard or soft links.
 
16952
LN_S=$lt_LN_S
 
16953
 
 
16954
# A BSD-compatible nm program.
 
16955
NM=$lt_NM
 
16956
 
 
16957
# A symbol stripping program
 
16958
STRIP=$lt_STRIP
 
16959
 
 
16960
# Used to examine libraries when file_magic_cmd begins "file"
 
16961
MAGIC_CMD=$MAGIC_CMD
 
16962
 
 
16963
# Used on cygwin: DLL creation program.
 
16964
DLLTOOL="$DLLTOOL"
 
16965
 
 
16966
# Used on cygwin: object dumper.
 
16967
OBJDUMP="$OBJDUMP"
 
16968
 
 
16969
# Used on cygwin: assembler.
 
16970
AS="$AS"
 
16971
 
 
16972
# The name of the directory that contains temporary libtool files.
 
16973
objdir=$objdir
 
16974
 
 
16975
# How to create reloadable object files.
 
16976
reload_flag=$lt_reload_flag
 
16977
reload_cmds=$lt_reload_cmds
 
16978
 
 
16979
# How to pass a linker flag through the compiler.
 
16980
wl=$lt_lt_prog_compiler_wl_F77
 
16981
 
 
16982
# Object file suffix (normally "o").
 
16983
objext="$ac_objext"
 
16984
 
 
16985
# Old archive suffix (normally "a").
 
16986
libext="$libext"
 
16987
 
 
16988
# Shared library suffix (normally ".so").
 
16989
shrext_cmds='$shrext_cmds'
 
16990
 
 
16991
# Executable file suffix (normally "").
 
16992
exeext="$exeext"
 
16993
 
 
16994
# Additional compiler flags for building library objects.
 
16995
pic_flag=$lt_lt_prog_compiler_pic_F77
 
16996
pic_mode=$pic_mode
 
16997
 
 
16998
# What is the maximum length of a command?
 
16999
max_cmd_len=$lt_cv_sys_max_cmd_len
 
17000
 
 
17001
# Does compiler simultaneously support -c and -o options?
 
17002
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
 
17003
 
 
17004
# Must we lock files when doing compilation?
 
17005
need_locks=$lt_need_locks
 
17006
 
 
17007
# Do we need the lib prefix for modules?
 
17008
need_lib_prefix=$need_lib_prefix
 
17009
 
 
17010
# Do we need a version for libraries?
 
17011
need_version=$need_version
 
17012
 
 
17013
# Whether dlopen is supported.
 
17014
dlopen_support=$enable_dlopen
 
17015
 
 
17016
# Whether dlopen of programs is supported.
 
17017
dlopen_self=$enable_dlopen_self
 
17018
 
 
17019
# Whether dlopen of statically linked programs is supported.
 
17020
dlopen_self_static=$enable_dlopen_self_static
 
17021
 
 
17022
# Compiler flag to prevent dynamic linking.
 
17023
link_static_flag=$lt_lt_prog_compiler_static_F77
 
17024
 
 
17025
# Compiler flag to turn off builtin functions.
 
17026
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
 
17027
 
 
17028
# Compiler flag to allow reflexive dlopens.
 
17029
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
 
17030
 
 
17031
# Compiler flag to generate shared objects directly from archives.
 
17032
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
 
17033
 
 
17034
# Compiler flag to generate thread-safe objects.
 
17035
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
 
17036
 
 
17037
# Library versioning type.
 
17038
version_type=$version_type
 
17039
 
 
17040
# Format of library name prefix.
 
17041
libname_spec=$lt_libname_spec
 
17042
 
 
17043
# List of archive names.  First name is the real one, the rest are links.
 
17044
# The last name is the one that the linker finds with -lNAME.
 
17045
library_names_spec=$lt_library_names_spec
 
17046
 
 
17047
# The coded name of the library, if different from the real name.
 
17048
soname_spec=$lt_soname_spec
 
17049
 
 
17050
# Commands used to build and install an old-style archive.
 
17051
RANLIB=$lt_RANLIB
 
17052
old_archive_cmds=$lt_old_archive_cmds_F77
 
17053
old_postinstall_cmds=$lt_old_postinstall_cmds
 
17054
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
17055
 
 
17056
# Create an old-style archive from a shared archive.
 
17057
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
 
17058
 
 
17059
# Create a temporary old-style archive to link instead of a shared archive.
 
17060
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
 
17061
 
 
17062
# Commands used to build and install a shared archive.
 
17063
archive_cmds=$lt_archive_cmds_F77
 
17064
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
 
17065
postinstall_cmds=$lt_postinstall_cmds
 
17066
postuninstall_cmds=$lt_postuninstall_cmds
 
17067
 
 
17068
# Commands used to build a loadable module (assumed same as above if empty)
 
17069
module_cmds=$lt_module_cmds_F77
 
17070
module_expsym_cmds=$lt_module_expsym_cmds_F77
 
17071
 
 
17072
# Commands to strip libraries.
 
17073
old_striplib=$lt_old_striplib
 
17074
striplib=$lt_striplib
 
17075
 
 
17076
# Dependencies to place before the objects being linked to create a
 
17077
# shared library.
 
17078
predep_objects=$lt_predep_objects_F77
 
17079
 
 
17080
# Dependencies to place after the objects being linked to create a
 
17081
# shared library.
 
17082
postdep_objects=$lt_postdep_objects_F77
 
17083
 
 
17084
# Dependencies to place before the objects being linked to create a
 
17085
# shared library.
 
17086
predeps=$lt_predeps_F77
 
17087
 
 
17088
# Dependencies to place after the objects being linked to create a
 
17089
# shared library.
 
17090
postdeps=$lt_postdeps_F77
 
17091
 
 
17092
# The directories searched by this compiler when creating a shared
 
17093
# library
 
17094
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
 
17095
 
 
17096
# The library search path used internally by the compiler when linking
 
17097
# a shared library.
 
17098
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
 
17099
 
 
17100
# Method to check whether dependent libraries are shared objects.
 
17101
deplibs_check_method=$lt_deplibs_check_method
 
17102
 
 
17103
# Command to use when deplibs_check_method == file_magic.
 
17104
file_magic_cmd=$lt_file_magic_cmd
 
17105
 
 
17106
# Flag that allows shared libraries with undefined symbols to be built.
 
17107
allow_undefined_flag=$lt_allow_undefined_flag_F77
 
17108
 
 
17109
# Flag that forces no undefined symbols.
 
17110
no_undefined_flag=$lt_no_undefined_flag_F77
 
17111
 
 
17112
# Commands used to finish a libtool library installation in a directory.
 
17113
finish_cmds=$lt_finish_cmds
 
17114
 
 
17115
# Same as above, but a single script fragment to be evaled but not shown.
 
17116
finish_eval=$lt_finish_eval
 
17117
 
 
17118
# Take the output of nm and produce a listing of raw symbols and C names.
 
17119
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
17120
 
 
17121
# Transform the output of nm in a proper C declaration
 
17122
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
17123
 
 
17124
# Transform the output of nm in a C name address pair
 
17125
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
17126
 
 
17127
# This is the shared library runtime path variable.
 
17128
runpath_var=$runpath_var
 
17129
 
 
17130
# This is the shared library path variable.
 
17131
shlibpath_var=$shlibpath_var
 
17132
 
 
17133
# Is shlibpath searched before the hard-coded library search path?
 
17134
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
17135
 
 
17136
# How to hardcode a shared library path into an executable.
 
17137
hardcode_action=$hardcode_action_F77
 
17138
 
 
17139
# Whether we should hardcode library paths into libraries.
 
17140
hardcode_into_libs=$hardcode_into_libs
 
17141
 
 
17142
# Flag to hardcode \$libdir into a binary during linking.
 
17143
# This must work even if \$libdir does not exist.
 
17144
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
 
17145
 
 
17146
# If ld is used when linking, flag to hardcode \$libdir into
 
17147
# a binary during linking. This must work even if \$libdir does
 
17148
# not exist.
 
17149
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
 
17150
 
 
17151
# Whether we need a single -rpath flag with a separated argument.
 
17152
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
 
17153
 
 
17154
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 
17155
# resulting binary.
 
17156
hardcode_direct=$hardcode_direct_F77
 
17157
 
 
17158
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 
17159
# resulting binary.
 
17160
hardcode_minus_L=$hardcode_minus_L_F77
 
17161
 
 
17162
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 
17163
# the resulting binary.
 
17164
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
 
17165
 
 
17166
# Set to yes if building a shared library automatically hardcodes DIR into the library
 
17167
# and all subsequent libraries and executables linked against it.
 
17168
hardcode_automatic=$hardcode_automatic_F77
 
17169
 
 
17170
# Variables whose values should be saved in libtool wrapper scripts and
 
17171
# restored at relink time.
 
17172
variables_saved_for_relink="$variables_saved_for_relink"
 
17173
 
 
17174
# Whether libtool must link a program against all its dependency libraries.
 
17175
link_all_deplibs=$link_all_deplibs_F77
 
17176
 
 
17177
# Compile-time system search path for libraries
 
17178
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
17179
 
 
17180
# Run-time system search path for libraries
 
17181
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
17182
 
 
17183
# Fix the shell variable \$srcfile for the compiler.
 
17184
fix_srcfile_path=$lt_fix_srcfile_path
 
17185
 
 
17186
# Set to yes if exported symbols are required.
 
17187
always_export_symbols=$always_export_symbols_F77
 
17188
 
 
17189
# The commands to list exported symbols.
 
17190
export_symbols_cmds=$lt_export_symbols_cmds_F77
 
17191
 
 
17192
# The commands to extract the exported symbol list from a shared archive.
 
17193
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
17194
 
 
17195
# Symbols that should not be listed in the preloaded symbols.
 
17196
exclude_expsyms=$lt_exclude_expsyms_F77
 
17197
 
 
17198
# Symbols that must always be exported.
 
17199
include_expsyms=$lt_include_expsyms_F77
 
17200
 
 
17201
# ### END LIBTOOL TAG CONFIG: $tagname
 
17202
 
 
17203
__EOF__
 
17204
 
 
17205
 
 
17206
else
 
17207
  # If there is no Makefile yet, we rely on a make rule to execute
 
17208
  # `config.status --recheck' to rerun these tests and create the
 
17209
  # libtool script then.
 
17210
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 
17211
  if test -f "$ltmain_in"; then
 
17212
    test -f Makefile && make "$ltmain"
 
17213
  fi
 
17214
fi
 
17215
 
 
17216
 
 
17217
ac_ext=c
 
17218
ac_cpp='$CPP $CPPFLAGS'
 
17219
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
17220
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
17221
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
17222
 
 
17223
CC="$lt_save_CC"
 
17224
 
 
17225
        else
 
17226
          tagname=""
 
17227
        fi
 
17228
        ;;
 
17229
 
 
17230
      GCJ)
 
17231
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
 
17232
 
 
17233
 
 
17234
# Source file extension for Java test sources.
 
17235
ac_ext=java
 
17236
 
 
17237
# Object file extension for compiled Java test sources.
 
17238
objext=o
 
17239
objext_GCJ=$objext
 
17240
 
 
17241
# Code to be used in simple compile tests
 
17242
lt_simple_compile_test_code="class foo {}"
 
17243
 
 
17244
# Code to be used in simple link tests
 
17245
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
 
17246
 
 
17247
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
17248
 
 
17249
# If no C compiler was specified, use CC.
 
17250
LTCC=${LTCC-"$CC"}
 
17251
 
 
17252
# If no C compiler flags were specified, use CFLAGS.
 
17253
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
17254
 
 
17255
# Allow CC to be a program name with arguments.
 
17256
compiler=$CC
 
17257
 
 
17258
 
 
17259
# save warnings/boilerplate of simple test code
 
17260
ac_outfile=conftest.$ac_objext
 
17261
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
17262
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
17263
_lt_compiler_boilerplate=`cat conftest.err`
 
17264
$rm conftest*
 
17265
 
 
17266
ac_outfile=conftest.$ac_objext
 
17267
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
17268
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
17269
_lt_linker_boilerplate=`cat conftest.err`
 
17270
$rm -r conftest*
 
17271
 
 
17272
 
 
17273
# Allow CC to be a program name with arguments.
 
17274
lt_save_CC="$CC"
 
17275
CC=${GCJ-"gcj"}
 
17276
compiler=$CC
 
17277
compiler_GCJ=$CC
 
17278
for cc_temp in $compiler""; do
 
17279
  case $cc_temp in
 
17280
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
17281
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
17282
    \-*) ;;
 
17283
    *) break;;
 
17284
  esac
 
17285
done
 
17286
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
17287
 
 
17288
 
 
17289
# GCJ did not exist at the time GCC didn't implicitly link libc in.
 
17290
archive_cmds_need_lc_GCJ=no
 
17291
 
 
17292
old_archive_cmds_GCJ=$old_archive_cmds
 
17293
 
 
17294
 
 
17295
lt_prog_compiler_no_builtin_flag_GCJ=
 
17296
 
 
17297
if test "$GCC" = yes; then
 
17298
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
 
17299
 
 
17300
 
 
17301
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
17302
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
17303
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
17304
  $as_echo_n "(cached) " >&6
 
17305
else
 
17306
  lt_cv_prog_compiler_rtti_exceptions=no
 
17307
  ac_outfile=conftest.$ac_objext
 
17308
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17309
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
17310
   # Insert the option either (1) after the last *FLAGS variable, or
 
17311
   # (2) before a word containing "conftest.", or (3) at the end.
 
17312
   # Note that $ac_compile itself does not contain backslashes and begins
 
17313
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
17314
   # The option is referenced via a variable to avoid confusing sed.
 
17315
   lt_compile=`echo "$ac_compile" | $SED \
 
17316
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
17317
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
17318
   -e 's:$: $lt_compiler_flag:'`
 
17319
   (eval echo "\"\$as_me:17319: $lt_compile\"" >&5)
 
17320
   (eval "$lt_compile" 2>conftest.err)
 
17321
   ac_status=$?
 
17322
   cat conftest.err >&5
 
17323
   echo "$as_me:17323: \$? = $ac_status" >&5
 
17324
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
17325
     # The compiler can only warn and ignore the option if not recognized
 
17326
     # So say no if there are warnings other than the usual output.
 
17327
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
17328
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
17329
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
17330
       lt_cv_prog_compiler_rtti_exceptions=yes
 
17331
     fi
 
17332
   fi
 
17333
   $rm conftest*
 
17334
 
 
17335
fi
 
17336
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
17337
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
17338
 
 
17339
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
17340
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
 
17341
else
 
17342
    :
 
17343
fi
 
17344
 
 
17345
fi
 
17346
 
 
17347
lt_prog_compiler_wl_GCJ=
 
17348
lt_prog_compiler_pic_GCJ=
 
17349
lt_prog_compiler_static_GCJ=
 
17350
 
 
17351
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
17352
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
17353
 
 
17354
  if test "$GCC" = yes; then
 
17355
    lt_prog_compiler_wl_GCJ='-Wl,'
 
17356
    lt_prog_compiler_static_GCJ='-static'
 
17357
 
 
17358
    case $host_os in
 
17359
      aix*)
 
17360
      # All AIX code is PIC.
 
17361
      if test "$host_cpu" = ia64; then
 
17362
        # AIX 5 now supports IA64 processor
 
17363
        lt_prog_compiler_static_GCJ='-Bstatic'
 
17364
      fi
 
17365
      ;;
 
17366
 
 
17367
    amigaos*)
 
17368
      # FIXME: we need at least 68020 code to build shared libraries, but
 
17369
      # adding the `-m68020' flag to GCC prevents building anything better,
 
17370
      # like `-m68040'.
 
17371
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
 
17372
      ;;
 
17373
 
 
17374
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
17375
      # PIC is the default for these OSes.
 
17376
      ;;
 
17377
 
 
17378
    mingw* | cygwin* | pw32* | os2*)
 
17379
      # This hack is so that the source file can tell whether it is being
 
17380
      # built for inclusion in a dll (and should export symbols for example).
 
17381
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
17382
      # (--disable-auto-import) libraries
 
17383
 
 
17384
      ;;
 
17385
 
 
17386
    darwin* | rhapsody*)
 
17387
      # PIC is the default on this platform
 
17388
      # Common symbols not allowed in MH_DYLIB files
 
17389
      lt_prog_compiler_pic_GCJ='-fno-common'
 
17390
      ;;
 
17391
 
 
17392
    interix[3-9]*)
 
17393
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
17394
      # Instead, we relocate shared libraries at runtime.
 
17395
      ;;
 
17396
 
 
17397
    msdosdjgpp*)
 
17398
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
17399
      # on systems that don't support them.
 
17400
      lt_prog_compiler_can_build_shared_GCJ=no
 
17401
      enable_shared=no
 
17402
      ;;
 
17403
 
 
17404
    sysv4*MP*)
 
17405
      if test -d /usr/nec; then
 
17406
        lt_prog_compiler_pic_GCJ=-Kconform_pic
 
17407
      fi
 
17408
      ;;
 
17409
 
 
17410
    hpux*)
 
17411
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
17412
      # not for PA HP-UX.
 
17413
      case $host_cpu in
 
17414
      hppa*64*|ia64*)
 
17415
        # +Z the default
 
17416
        ;;
 
17417
      *)
 
17418
        lt_prog_compiler_pic_GCJ='-fPIC'
 
17419
        ;;
 
17420
      esac
 
17421
      ;;
 
17422
 
 
17423
    *)
 
17424
      lt_prog_compiler_pic_GCJ='-fPIC'
 
17425
      ;;
 
17426
    esac
 
17427
  else
 
17428
    # PORTME Check for flag to pass linker flags through the system compiler.
 
17429
    case $host_os in
 
17430
    aix*)
 
17431
      lt_prog_compiler_wl_GCJ='-Wl,'
 
17432
      if test "$host_cpu" = ia64; then
 
17433
        # AIX 5 now supports IA64 processor
 
17434
        lt_prog_compiler_static_GCJ='-Bstatic'
 
17435
      else
 
17436
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
 
17437
      fi
 
17438
      ;;
 
17439
      darwin*)
 
17440
        # PIC is the default on this platform
 
17441
        # Common symbols not allowed in MH_DYLIB files
 
17442
       case $cc_basename in
 
17443
         xlc*)
 
17444
         lt_prog_compiler_pic_GCJ='-qnocommon'
 
17445
         lt_prog_compiler_wl_GCJ='-Wl,'
 
17446
         ;;
 
17447
       esac
 
17448
       ;;
 
17449
 
 
17450
    mingw* | cygwin* | pw32* | os2*)
 
17451
      # This hack is so that the source file can tell whether it is being
 
17452
      # built for inclusion in a dll (and should export symbols for example).
 
17453
 
 
17454
      ;;
 
17455
 
 
17456
    hpux9* | hpux10* | hpux11*)
 
17457
      lt_prog_compiler_wl_GCJ='-Wl,'
 
17458
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
17459
      # not for PA HP-UX.
 
17460
      case $host_cpu in
 
17461
      hppa*64*|ia64*)
 
17462
        # +Z the default
 
17463
        ;;
 
17464
      *)
 
17465
        lt_prog_compiler_pic_GCJ='+Z'
 
17466
        ;;
 
17467
      esac
 
17468
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
17469
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
 
17470
      ;;
 
17471
 
 
17472
    irix5* | irix6* | nonstopux*)
 
17473
      lt_prog_compiler_wl_GCJ='-Wl,'
 
17474
      # PIC (with -KPIC) is the default.
 
17475
      lt_prog_compiler_static_GCJ='-non_shared'
 
17476
      ;;
 
17477
 
 
17478
    newsos6)
 
17479
      lt_prog_compiler_pic_GCJ='-KPIC'
 
17480
      lt_prog_compiler_static_GCJ='-Bstatic'
 
17481
      ;;
 
17482
 
 
17483
    linux* | k*bsd*-gnu)
 
17484
      case $cc_basename in
 
17485
      icc* | ecc*)
 
17486
        lt_prog_compiler_wl_GCJ='-Wl,'
 
17487
        lt_prog_compiler_pic_GCJ='-KPIC'
 
17488
        lt_prog_compiler_static_GCJ='-static'
 
17489
        ;;
 
17490
      pgcc* | pgf77* | pgf90* | pgf95*)
 
17491
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
17492
        # which looks to be a dead project)
 
17493
        lt_prog_compiler_wl_GCJ='-Wl,'
 
17494
        lt_prog_compiler_pic_GCJ='-fpic'
 
17495
        lt_prog_compiler_static_GCJ='-Bstatic'
 
17496
        ;;
 
17497
      ccc*)
 
17498
        lt_prog_compiler_wl_GCJ='-Wl,'
 
17499
        # All Alpha code is PIC.
 
17500
        lt_prog_compiler_static_GCJ='-non_shared'
 
17501
        ;;
 
17502
      *)
 
17503
        case `$CC -V 2>&1 | sed 5q` in
 
17504
        *Sun\ C*)
 
17505
          # Sun C 5.9
 
17506
          lt_prog_compiler_pic_GCJ='-KPIC'
 
17507
          lt_prog_compiler_static_GCJ='-Bstatic'
 
17508
          lt_prog_compiler_wl_GCJ='-Wl,'
 
17509
          ;;
 
17510
        *Sun\ F*)
 
17511
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
17512
          lt_prog_compiler_pic_GCJ='-KPIC'
 
17513
          lt_prog_compiler_static_GCJ='-Bstatic'
 
17514
          lt_prog_compiler_wl_GCJ=''
 
17515
          ;;
 
17516
        esac
 
17517
        ;;
 
17518
      esac
 
17519
      ;;
 
17520
 
 
17521
    osf3* | osf4* | osf5*)
 
17522
      lt_prog_compiler_wl_GCJ='-Wl,'
 
17523
      # All OSF/1 code is PIC.
 
17524
      lt_prog_compiler_static_GCJ='-non_shared'
 
17525
      ;;
 
17526
 
 
17527
    rdos*)
 
17528
      lt_prog_compiler_static_GCJ='-non_shared'
 
17529
      ;;
 
17530
 
 
17531
    solaris*)
 
17532
      lt_prog_compiler_pic_GCJ='-KPIC'
 
17533
      lt_prog_compiler_static_GCJ='-Bstatic'
 
17534
      case $cc_basename in
 
17535
      f77* | f90* | f95*)
 
17536
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
 
17537
      *)
 
17538
        lt_prog_compiler_wl_GCJ='-Wl,';;
 
17539
      esac
 
17540
      ;;
 
17541
 
 
17542
    sunos4*)
 
17543
      lt_prog_compiler_wl_GCJ='-Qoption ld '
 
17544
      lt_prog_compiler_pic_GCJ='-PIC'
 
17545
      lt_prog_compiler_static_GCJ='-Bstatic'
 
17546
      ;;
 
17547
 
 
17548
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
17549
      lt_prog_compiler_wl_GCJ='-Wl,'
 
17550
      lt_prog_compiler_pic_GCJ='-KPIC'
 
17551
      lt_prog_compiler_static_GCJ='-Bstatic'
 
17552
      ;;
 
17553
 
 
17554
    sysv4*MP*)
 
17555
      if test -d /usr/nec ;then
 
17556
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
 
17557
        lt_prog_compiler_static_GCJ='-Bstatic'
 
17558
      fi
 
17559
      ;;
 
17560
 
 
17561
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
17562
      lt_prog_compiler_wl_GCJ='-Wl,'
 
17563
      lt_prog_compiler_pic_GCJ='-KPIC'
 
17564
      lt_prog_compiler_static_GCJ='-Bstatic'
 
17565
      ;;
 
17566
 
 
17567
    unicos*)
 
17568
      lt_prog_compiler_wl_GCJ='-Wl,'
 
17569
      lt_prog_compiler_can_build_shared_GCJ=no
 
17570
      ;;
 
17571
 
 
17572
    uts4*)
 
17573
      lt_prog_compiler_pic_GCJ='-pic'
 
17574
      lt_prog_compiler_static_GCJ='-Bstatic'
 
17575
      ;;
 
17576
 
 
17577
    *)
 
17578
      lt_prog_compiler_can_build_shared_GCJ=no
 
17579
      ;;
 
17580
    esac
 
17581
  fi
 
17582
 
 
17583
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
17584
$as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
 
17585
 
 
17586
#
 
17587
# Check to make sure the PIC flag actually works.
 
17588
#
 
17589
if test -n "$lt_prog_compiler_pic_GCJ"; then
 
17590
 
 
17591
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
17592
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
 
17593
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
 
17594
  $as_echo_n "(cached) " >&6
 
17595
else
 
17596
  lt_cv_prog_compiler_pic_works_GCJ=no
 
17597
  ac_outfile=conftest.$ac_objext
 
17598
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17599
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
 
17600
   # Insert the option either (1) after the last *FLAGS variable, or
 
17601
   # (2) before a word containing "conftest.", or (3) at the end.
 
17602
   # Note that $ac_compile itself does not contain backslashes and begins
 
17603
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
17604
   # The option is referenced via a variable to avoid confusing sed.
 
17605
   lt_compile=`echo "$ac_compile" | $SED \
 
17606
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
17607
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
17608
   -e 's:$: $lt_compiler_flag:'`
 
17609
   (eval echo "\"\$as_me:17609: $lt_compile\"" >&5)
 
17610
   (eval "$lt_compile" 2>conftest.err)
 
17611
   ac_status=$?
 
17612
   cat conftest.err >&5
 
17613
   echo "$as_me:17613: \$? = $ac_status" >&5
 
17614
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
17615
     # The compiler can only warn and ignore the option if not recognized
 
17616
     # So say no if there are warnings other than the usual output.
 
17617
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
17618
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
17619
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
17620
       lt_cv_prog_compiler_pic_works_GCJ=yes
 
17621
     fi
 
17622
   fi
 
17623
   $rm conftest*
 
17624
 
 
17625
fi
 
17626
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
 
17627
$as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
 
17628
 
 
17629
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
 
17630
    case $lt_prog_compiler_pic_GCJ in
 
17631
     "" | " "*) ;;
 
17632
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
 
17633
     esac
 
17634
else
 
17635
    lt_prog_compiler_pic_GCJ=
 
17636
     lt_prog_compiler_can_build_shared_GCJ=no
 
17637
fi
 
17638
 
 
17639
fi
 
17640
case $host_os in
 
17641
  # For platforms which do not support PIC, -DPIC is meaningless:
 
17642
  *djgpp*)
 
17643
    lt_prog_compiler_pic_GCJ=
 
17644
    ;;
 
17645
  *)
 
17646
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
 
17647
    ;;
 
17648
esac
 
17649
 
 
17650
#
 
17651
# Check to make sure the static flag actually works.
 
17652
#
 
17653
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
 
17654
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
17655
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
17656
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
 
17657
  $as_echo_n "(cached) " >&6
 
17658
else
 
17659
  lt_cv_prog_compiler_static_works_GCJ=no
 
17660
   save_LDFLAGS="$LDFLAGS"
 
17661
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
17662
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
17663
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
17664
     # The linker can only warn and ignore the option if not recognized
 
17665
     # So say no if there are warnings
 
17666
     if test -s conftest.err; then
 
17667
       # Append any errors to the config.log.
 
17668
       cat conftest.err 1>&5
 
17669
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
17670
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
17671
       if diff conftest.exp conftest.er2 >/dev/null; then
 
17672
         lt_cv_prog_compiler_static_works_GCJ=yes
 
17673
       fi
 
17674
     else
 
17675
       lt_cv_prog_compiler_static_works_GCJ=yes
 
17676
     fi
 
17677
   fi
 
17678
   $rm -r conftest*
 
17679
   LDFLAGS="$save_LDFLAGS"
 
17680
 
 
17681
fi
 
17682
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
 
17683
$as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
 
17684
 
 
17685
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
 
17686
    :
 
17687
else
 
17688
    lt_prog_compiler_static_GCJ=
 
17689
fi
 
17690
 
 
17691
 
 
17692
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
17693
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
17694
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
 
17695
  $as_echo_n "(cached) " >&6
 
17696
else
 
17697
  lt_cv_prog_compiler_c_o_GCJ=no
 
17698
   $rm -r conftest 2>/dev/null
 
17699
   mkdir conftest
 
17700
   cd conftest
 
17701
   mkdir out
 
17702
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17703
 
 
17704
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
17705
   # Insert the option either (1) after the last *FLAGS variable, or
 
17706
   # (2) before a word containing "conftest.", or (3) at the end.
 
17707
   # Note that $ac_compile itself does not contain backslashes and begins
 
17708
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
17709
   lt_compile=`echo "$ac_compile" | $SED \
 
17710
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
17711
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
17712
   -e 's:$: $lt_compiler_flag:'`
 
17713
   (eval echo "\"\$as_me:17713: $lt_compile\"" >&5)
 
17714
   (eval "$lt_compile" 2>out/conftest.err)
 
17715
   ac_status=$?
 
17716
   cat out/conftest.err >&5
 
17717
   echo "$as_me:17717: \$? = $ac_status" >&5
 
17718
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
17719
   then
 
17720
     # The compiler can only warn and ignore the option if not recognized
 
17721
     # So say no if there are warnings
 
17722
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
17723
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
17724
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
17725
       lt_cv_prog_compiler_c_o_GCJ=yes
 
17726
     fi
 
17727
   fi
 
17728
   chmod u+w . 2>&5
 
17729
   $rm conftest*
 
17730
   # SGI C++ compiler will create directory out/ii_files/ for
 
17731
   # template instantiation
 
17732
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 
17733
   $rm out/* && rmdir out
 
17734
   cd ..
 
17735
   rmdir conftest
 
17736
   $rm conftest*
 
17737
 
 
17738
fi
 
17739
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
17740
$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
 
17741
 
 
17742
 
 
17743
hard_links="nottested"
 
17744
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
 
17745
  # do not overwrite the value of need_locks provided by the user
 
17746
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
17747
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
17748
  hard_links=yes
 
17749
  $rm conftest*
 
17750
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
17751
  touch conftest.a
 
17752
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
17753
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
17754
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
17755
$as_echo "$hard_links" >&6; }
 
17756
  if test "$hard_links" = no; then
 
17757
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
17758
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
17759
    need_locks=warn
 
17760
  fi
 
17761
else
 
17762
  need_locks=no
 
17763
fi
 
17764
 
 
17765
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
17766
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
17767
 
 
17768
  runpath_var=
 
17769
  allow_undefined_flag_GCJ=
 
17770
  enable_shared_with_static_runtimes_GCJ=no
 
17771
  archive_cmds_GCJ=
 
17772
  archive_expsym_cmds_GCJ=
 
17773
  old_archive_From_new_cmds_GCJ=
 
17774
  old_archive_from_expsyms_cmds_GCJ=
 
17775
  export_dynamic_flag_spec_GCJ=
 
17776
  whole_archive_flag_spec_GCJ=
 
17777
  thread_safe_flag_spec_GCJ=
 
17778
  hardcode_libdir_flag_spec_GCJ=
 
17779
  hardcode_libdir_flag_spec_ld_GCJ=
 
17780
  hardcode_libdir_separator_GCJ=
 
17781
  hardcode_direct_GCJ=no
 
17782
  hardcode_minus_L_GCJ=no
 
17783
  hardcode_shlibpath_var_GCJ=unsupported
 
17784
  link_all_deplibs_GCJ=unknown
 
17785
  hardcode_automatic_GCJ=no
 
17786
  module_cmds_GCJ=
 
17787
  module_expsym_cmds_GCJ=
 
17788
  always_export_symbols_GCJ=no
 
17789
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
17790
  # include_expsyms should be a list of space-separated symbols to be *always*
 
17791
  # included in the symbol list
 
17792
  include_expsyms_GCJ=
 
17793
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
17794
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
17795
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
17796
  # as well as any symbol that contains `d'.
 
17797
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
17798
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
17799
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
17800
  # the symbol is explicitly referenced.  Since portable code cannot
 
17801
  # rely on this symbol name, it's probably fine to never include it in
 
17802
  # preloaded symbol tables.
 
17803
  # Exclude shared library initialization/finalization symbols.
 
17804
  extract_expsyms_cmds=
 
17805
  # Just being paranoid about ensuring that cc_basename is set.
 
17806
  for cc_temp in $compiler""; do
 
17807
  case $cc_temp in
 
17808
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
17809
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
17810
    \-*) ;;
 
17811
    *) break;;
 
17812
  esac
 
17813
done
 
17814
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
17815
 
 
17816
  case $host_os in
 
17817
  cygwin* | mingw* | pw32*)
 
17818
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
17819
    # When not using gcc, we currently assume that we are using
 
17820
    # Microsoft Visual C++.
 
17821
    if test "$GCC" != yes; then
 
17822
      with_gnu_ld=no
 
17823
    fi
 
17824
    ;;
 
17825
  interix*)
 
17826
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
17827
    with_gnu_ld=yes
 
17828
    ;;
 
17829
  openbsd*)
 
17830
    with_gnu_ld=no
 
17831
    ;;
 
17832
  esac
 
17833
 
 
17834
  ld_shlibs_GCJ=yes
 
17835
  if test "$with_gnu_ld" = yes; then
 
17836
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
17837
    wlarc='${wl}'
 
17838
 
 
17839
    # Set some defaults for GNU ld with shared library support. These
 
17840
    # are reset later if shared libraries are not supported. Putting them
 
17841
    # here allows them to be overridden if necessary.
 
17842
    runpath_var=LD_RUN_PATH
 
17843
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
 
17844
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
 
17845
    # ancient GNU ld didn't support --whole-archive et. al.
 
17846
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
17847
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
17848
      else
 
17849
        whole_archive_flag_spec_GCJ=
 
17850
    fi
 
17851
    supports_anon_versioning=no
 
17852
    case `$LD -v 2>/dev/null` in
 
17853
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
17854
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
17855
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
17856
      *\ 2.11.*) ;; # other 2.11 versions
 
17857
      *) supports_anon_versioning=yes ;;
 
17858
    esac
 
17859
 
 
17860
    # See if GNU ld supports shared libraries.
 
17861
    case $host_os in
 
17862
    aix[3-9]*)
 
17863
      # On AIX/PPC, the GNU linker is very broken
 
17864
      if test "$host_cpu" != ia64; then
 
17865
        ld_shlibs_GCJ=no
 
17866
        cat <<EOF 1>&2
 
17867
 
 
17868
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
17869
*** to be unable to reliably create shared libraries on AIX.
 
17870
*** Therefore, libtool is disabling shared libraries support.  If you
 
17871
*** really care for shared libraries, you may want to modify your PATH
 
17872
*** so that a non-GNU linker is found, and then restart.
 
17873
 
 
17874
EOF
 
17875
      fi
 
17876
      ;;
 
17877
 
 
17878
    amigaos*)
 
17879
      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)'
 
17880
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
17881
      hardcode_minus_L_GCJ=yes
 
17882
 
 
17883
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 
17884
      # that the semantics of dynamic libraries on AmigaOS, at least up
 
17885
      # to version 4, is to share data among multiple programs linked
 
17886
      # with the same dynamic library.  Since this doesn't match the
 
17887
      # behavior of shared libraries on other platforms, we can't use
 
17888
      # them.
 
17889
      ld_shlibs_GCJ=no
 
17890
      ;;
 
17891
 
 
17892
    beos*)
 
17893
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
17894
        allow_undefined_flag_GCJ=unsupported
 
17895
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
17896
        # support --undefined.  This deserves some investigation.  FIXME
 
17897
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17898
      else
 
17899
        ld_shlibs_GCJ=no
 
17900
      fi
 
17901
      ;;
 
17902
 
 
17903
    cygwin* | mingw* | pw32*)
 
17904
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
 
17905
      # as there is no search path for DLLs.
 
17906
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
17907
      allow_undefined_flag_GCJ=unsupported
 
17908
      always_export_symbols_GCJ=no
 
17909
      enable_shared_with_static_runtimes_GCJ=yes
 
17910
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
17911
 
 
17912
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
17913
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
17914
        # If the export-symbols file already is a .def file (1st line
 
17915
        # is EXPORTS), use it as is; otherwise, prepend...
 
17916
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
17917
          cp $export_symbols $output_objdir/$soname.def;
 
17918
        else
 
17919
          echo EXPORTS > $output_objdir/$soname.def;
 
17920
          cat $export_symbols >> $output_objdir/$soname.def;
 
17921
        fi~
 
17922
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
17923
      else
 
17924
        ld_shlibs_GCJ=no
 
17925
      fi
 
17926
      ;;
 
17927
 
 
17928
    interix[3-9]*)
 
17929
      hardcode_direct_GCJ=no
 
17930
      hardcode_shlibpath_var_GCJ=no
 
17931
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
17932
      export_dynamic_flag_spec_GCJ='${wl}-E'
 
17933
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
17934
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
17935
      # default) and relocated if they conflict, which is a slow very memory
 
17936
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
17937
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
17938
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
17939
      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'
 
17940
      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'
 
17941
      ;;
 
17942
 
 
17943
    gnu* | linux* | k*bsd*-gnu)
 
17944
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
17945
        tmp_addflag=
 
17946
        case $cc_basename,$host_cpu in
 
17947
        pgcc*)                          # Portland Group C compiler
 
17948
          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'
 
17949
          tmp_addflag=' $pic_flag'
 
17950
          ;;
 
17951
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
17952
          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'
 
17953
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
17954
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
17955
          tmp_addflag=' -i_dynamic' ;;
 
17956
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
17957
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
17958
        ifc* | ifort*)                  # Intel Fortran compiler
 
17959
          tmp_addflag=' -nofor_main' ;;
 
17960
        esac
 
17961
        case `$CC -V 2>&1 | sed 5q` in
 
17962
        *Sun\ C*)                       # Sun C 5.9
 
17963
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
17964
          tmp_sharedflag='-G' ;;
 
17965
        *Sun\ F*)                       # Sun Fortran 8.3
 
17966
          tmp_sharedflag='-G' ;;
 
17967
        *)
 
17968
          tmp_sharedflag='-shared' ;;
 
17969
        esac
 
17970
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17971
 
 
17972
        if test $supports_anon_versioning = yes; then
 
17973
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
 
17974
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
17975
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
17976
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
17977
        fi
 
17978
      else
 
17979
        ld_shlibs_GCJ=no
 
17980
      fi
 
17981
      ;;
 
17982
 
 
17983
    netbsd*)
 
17984
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
17985
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
17986
        wlarc=
 
17987
      else
 
17988
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17989
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
17990
      fi
 
17991
      ;;
 
17992
 
 
17993
    solaris*)
 
17994
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
17995
        ld_shlibs_GCJ=no
 
17996
        cat <<EOF 1>&2
 
17997
 
 
17998
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
17999
*** create shared libraries on Solaris systems.  Therefore, libtool
 
18000
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
18001
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
18002
*** your PATH or compiler configuration so that the native linker is
 
18003
*** used, and then restart.
 
18004
 
 
18005
EOF
 
18006
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
18007
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
18008
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
18009
      else
 
18010
        ld_shlibs_GCJ=no
 
18011
      fi
 
18012
      ;;
 
18013
 
 
18014
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
18015
      case `$LD -v 2>&1` in
 
18016
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
18017
        ld_shlibs_GCJ=no
 
18018
        cat <<_LT_EOF 1>&2
 
18019
 
 
18020
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
18021
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
18022
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
18023
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
18024
*** your PATH or compiler configuration so that the native linker is
 
18025
*** used, and then restart.
 
18026
 
 
18027
_LT_EOF
 
18028
        ;;
 
18029
        *)
 
18030
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
18031
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
18032
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
18033
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
18034
          else
 
18035
            ld_shlibs_GCJ=no
 
18036
          fi
 
18037
        ;;
 
18038
      esac
 
18039
      ;;
 
18040
 
 
18041
    sunos4*)
 
18042
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
18043
      wlarc=
 
18044
      hardcode_direct_GCJ=yes
 
18045
      hardcode_shlibpath_var_GCJ=no
 
18046
      ;;
 
18047
 
 
18048
    *)
 
18049
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
18050
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
18051
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
18052
      else
 
18053
        ld_shlibs_GCJ=no
 
18054
      fi
 
18055
      ;;
 
18056
    esac
 
18057
 
 
18058
    if test "$ld_shlibs_GCJ" = no; then
 
18059
      runpath_var=
 
18060
      hardcode_libdir_flag_spec_GCJ=
 
18061
      export_dynamic_flag_spec_GCJ=
 
18062
      whole_archive_flag_spec_GCJ=
 
18063
    fi
 
18064
  else
 
18065
    # PORTME fill in a description of your system's linker (not GNU ld)
 
18066
    case $host_os in
 
18067
    aix3*)
 
18068
      allow_undefined_flag_GCJ=unsupported
 
18069
      always_export_symbols_GCJ=yes
 
18070
      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'
 
18071
      # Note: this linker hardcodes the directories in LIBPATH if there
 
18072
      # are no directories specified by -L.
 
18073
      hardcode_minus_L_GCJ=yes
 
18074
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
18075
        # Neither direct hardcoding nor static linking is supported with a
 
18076
        # broken collect2.
 
18077
        hardcode_direct_GCJ=unsupported
 
18078
      fi
 
18079
      ;;
 
18080
 
 
18081
    aix[4-9]*)
 
18082
      if test "$host_cpu" = ia64; then
 
18083
        # On IA64, the linker does run time linking by default, so we don't
 
18084
        # have to do anything special.
 
18085
        aix_use_runtimelinking=no
 
18086
        exp_sym_flag='-Bexport'
 
18087
        no_entry_flag=""
 
18088
      else
 
18089
        # If we're using GNU nm, then we don't want the "-C" option.
 
18090
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
18091
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 
18092
          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'
 
18093
        else
 
18094
          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'
 
18095
        fi
 
18096
        aix_use_runtimelinking=no
 
18097
 
 
18098
        # Test if we are trying to use run time linking or normal
 
18099
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
18100
        # need to do runtime linking.
 
18101
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
18102
          for ld_flag in $LDFLAGS; do
 
18103
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
18104
            aix_use_runtimelinking=yes
 
18105
            break
 
18106
          fi
 
18107
          done
 
18108
          ;;
 
18109
        esac
 
18110
 
 
18111
        exp_sym_flag='-bexport'
 
18112
        no_entry_flag='-bnoentry'
 
18113
      fi
 
18114
 
 
18115
      # When large executables or shared objects are built, AIX ld can
 
18116
      # have problems creating the table of contents.  If linking a library
 
18117
      # or program results in "error TOC overflow" add -mminimal-toc to
 
18118
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
18119
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
18120
 
 
18121
      archive_cmds_GCJ=''
 
18122
      hardcode_direct_GCJ=yes
 
18123
      hardcode_libdir_separator_GCJ=':'
 
18124
      link_all_deplibs_GCJ=yes
 
18125
 
 
18126
      if test "$GCC" = yes; then
 
18127
        case $host_os in aix4.[012]|aix4.[012].*)
 
18128
        # We only want to do this on AIX 4.2 and lower, the check
 
18129
        # below for broken collect2 doesn't work under 4.3+
 
18130
          collect2name=`${CC} -print-prog-name=collect2`
 
18131
          if test -f "$collect2name" && \
 
18132
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
18133
          then
 
18134
          # We have reworked collect2
 
18135
          :
 
18136
          else
 
18137
          # We have old collect2
 
18138
          hardcode_direct_GCJ=unsupported
 
18139
          # It fails to find uninstalled libraries when the uninstalled
 
18140
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
18141
          # to unsupported forces relinking
 
18142
          hardcode_minus_L_GCJ=yes
 
18143
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
18144
          hardcode_libdir_separator_GCJ=
 
18145
          fi
 
18146
          ;;
 
18147
        esac
 
18148
        shared_flag='-shared'
 
18149
        if test "$aix_use_runtimelinking" = yes; then
 
18150
          shared_flag="$shared_flag "'${wl}-G'
 
18151
        fi
 
18152
      else
 
18153
        # not using gcc
 
18154
        if test "$host_cpu" = ia64; then
 
18155
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
18156
        # chokes on -Wl,-G. The following line is correct:
 
18157
          shared_flag='-G'
 
18158
        else
 
18159
          if test "$aix_use_runtimelinking" = yes; then
 
18160
            shared_flag='${wl}-G'
 
18161
          else
 
18162
            shared_flag='${wl}-bM:SRE'
 
18163
          fi
 
18164
        fi
 
18165
      fi
 
18166
 
 
18167
      # It seems that -bexpall does not export symbols beginning with
 
18168
      # underscore (_), so it is better to generate a list of symbols to export.
 
18169
      always_export_symbols_GCJ=yes
 
18170
      if test "$aix_use_runtimelinking" = yes; then
 
18171
        # Warning - without using the other runtime loading flags (-brtl),
 
18172
        # -berok will link without error, but may produce a broken library.
 
18173
        allow_undefined_flag_GCJ='-berok'
 
18174
       # Determine the default libpath from the value encoded in an empty executable.
 
18175
       cat >conftest.$ac_ext <<_ACEOF
 
18176
/* confdefs.h.  */
 
18177
_ACEOF
 
18178
cat confdefs.h >>conftest.$ac_ext
 
18179
cat >>conftest.$ac_ext <<_ACEOF
 
18180
/* end confdefs.h.  */
 
18181
 
 
18182
int
 
18183
main ()
 
18184
{
 
18185
 
 
18186
  ;
 
18187
  return 0;
 
18188
}
 
18189
_ACEOF
 
18190
rm -f conftest.$ac_objext conftest$ac_exeext
 
18191
if { (ac_try="$ac_link"
 
18192
case "(($ac_try" in
 
18193
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18194
  *) ac_try_echo=$ac_try;;
 
18195
esac
 
18196
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18197
$as_echo "$ac_try_echo") >&5
 
18198
  (eval "$ac_link") 2>conftest.er1
 
18199
  ac_status=$?
 
18200
  grep -v '^ *+' conftest.er1 >conftest.err
 
18201
  rm -f conftest.er1
 
18202
  cat conftest.err >&5
 
18203
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18204
  (exit $ac_status); } && {
 
18205
         test -z "$ac_c_werror_flag" ||
 
18206
         test ! -s conftest.err
 
18207
       } && test -s conftest$ac_exeext && {
 
18208
         test "$cross_compiling" = yes ||
 
18209
         $as_test_x conftest$ac_exeext
 
18210
       }; then
 
18211
 
 
18212
lt_aix_libpath_sed='
 
18213
    /Import File Strings/,/^$/ {
 
18214
        /^0/ {
 
18215
            s/^0  *\(.*\)$/\1/
 
18216
            p
 
18217
        }
 
18218
    }'
 
18219
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
18220
# Check for a 64-bit object if we didn't find anything.
 
18221
if test -z "$aix_libpath"; then
 
18222
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
18223
fi
 
18224
else
 
18225
  $as_echo "$as_me: failed program was:" >&5
 
18226
sed 's/^/| /' conftest.$ac_ext >&5
 
18227
 
 
18228
 
 
18229
fi
 
18230
 
 
18231
rm -rf conftest.dSYM
 
18232
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
18233
      conftest$ac_exeext conftest.$ac_ext
 
18234
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
18235
 
 
18236
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
 
18237
        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"
 
18238
       else
 
18239
        if test "$host_cpu" = ia64; then
 
18240
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
 
18241
          allow_undefined_flag_GCJ="-z nodefs"
 
18242
          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"
 
18243
        else
 
18244
         # Determine the default libpath from the value encoded in an empty executable.
 
18245
         cat >conftest.$ac_ext <<_ACEOF
 
18246
/* confdefs.h.  */
 
18247
_ACEOF
 
18248
cat confdefs.h >>conftest.$ac_ext
 
18249
cat >>conftest.$ac_ext <<_ACEOF
 
18250
/* end confdefs.h.  */
 
18251
 
 
18252
int
 
18253
main ()
 
18254
{
 
18255
 
 
18256
  ;
 
18257
  return 0;
 
18258
}
 
18259
_ACEOF
 
18260
rm -f conftest.$ac_objext conftest$ac_exeext
 
18261
if { (ac_try="$ac_link"
 
18262
case "(($ac_try" in
 
18263
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18264
  *) ac_try_echo=$ac_try;;
 
18265
esac
 
18266
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18267
$as_echo "$ac_try_echo") >&5
 
18268
  (eval "$ac_link") 2>conftest.er1
 
18269
  ac_status=$?
 
18270
  grep -v '^ *+' conftest.er1 >conftest.err
 
18271
  rm -f conftest.er1
 
18272
  cat conftest.err >&5
 
18273
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18274
  (exit $ac_status); } && {
 
18275
         test -z "$ac_c_werror_flag" ||
 
18276
         test ! -s conftest.err
 
18277
       } && test -s conftest$ac_exeext && {
 
18278
         test "$cross_compiling" = yes ||
 
18279
         $as_test_x conftest$ac_exeext
 
18280
       }; then
 
18281
 
 
18282
lt_aix_libpath_sed='
 
18283
    /Import File Strings/,/^$/ {
 
18284
        /^0/ {
 
18285
            s/^0  *\(.*\)$/\1/
 
18286
            p
 
18287
        }
 
18288
    }'
 
18289
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
18290
# Check for a 64-bit object if we didn't find anything.
 
18291
if test -z "$aix_libpath"; then
 
18292
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
18293
fi
 
18294
else
 
18295
  $as_echo "$as_me: failed program was:" >&5
 
18296
sed 's/^/| /' conftest.$ac_ext >&5
 
18297
 
 
18298
 
 
18299
fi
 
18300
 
 
18301
rm -rf conftest.dSYM
 
18302
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
18303
      conftest$ac_exeext conftest.$ac_ext
 
18304
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
18305
 
 
18306
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
 
18307
          # Warning - without using the other run time loading flags,
 
18308
          # -berok will link without error, but may produce a broken library.
 
18309
          no_undefined_flag_GCJ=' ${wl}-bernotok'
 
18310
          allow_undefined_flag_GCJ=' ${wl}-berok'
 
18311
          # Exported symbols can be pulled into shared objects from archives
 
18312
          whole_archive_flag_spec_GCJ='$convenience'
 
18313
          archive_cmds_need_lc_GCJ=yes
 
18314
          # This is similar to how AIX traditionally builds its shared libraries.
 
18315
          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'
 
18316
        fi
 
18317
      fi
 
18318
      ;;
 
18319
 
 
18320
    amigaos*)
 
18321
      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)'
 
18322
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
18323
      hardcode_minus_L_GCJ=yes
 
18324
      # see comment about different semantics on the GNU ld section
 
18325
      ld_shlibs_GCJ=no
 
18326
      ;;
 
18327
 
 
18328
    bsdi[45]*)
 
18329
      export_dynamic_flag_spec_GCJ=-rdynamic
 
18330
      ;;
 
18331
 
 
18332
    cygwin* | mingw* | pw32*)
 
18333
      # When not using gcc, we currently assume that we are using
 
18334
      # Microsoft Visual C++.
 
18335
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
18336
      # no search path for DLLs.
 
18337
      hardcode_libdir_flag_spec_GCJ=' '
 
18338
      allow_undefined_flag_GCJ=unsupported
 
18339
      # Tell ltmain to make .lib files, not .a files.
 
18340
      libext=lib
 
18341
      # Tell ltmain to make .dll files, not .so files.
 
18342
      shrext_cmds=".dll"
 
18343
      # FIXME: Setting linknames here is a bad hack.
 
18344
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
18345
      # The linker will automatically build a .lib file if we build a DLL.
 
18346
      old_archive_From_new_cmds_GCJ='true'
 
18347
      # FIXME: Should let the user specify the lib program.
 
18348
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
18349
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
 
18350
      enable_shared_with_static_runtimes_GCJ=yes
 
18351
      ;;
 
18352
 
 
18353
    darwin* | rhapsody*)
 
18354
      case $host_os in
 
18355
        rhapsody* | darwin1.[012])
 
18356
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
 
18357
         ;;
 
18358
       *) # Darwin 1.3 on
 
18359
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
18360
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
18361
         else
 
18362
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
18363
             10.[012])
 
18364
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
18365
               ;;
 
18366
             10.*)
 
18367
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
 
18368
               ;;
 
18369
           esac
 
18370
         fi
 
18371
         ;;
 
18372
      esac
 
18373
      archive_cmds_need_lc_GCJ=no
 
18374
      hardcode_direct_GCJ=no
 
18375
      hardcode_automatic_GCJ=yes
 
18376
      hardcode_shlibpath_var_GCJ=unsupported
 
18377
      whole_archive_flag_spec_GCJ=''
 
18378
      link_all_deplibs_GCJ=yes
 
18379
    if test "$GCC" = yes ; then
 
18380
        output_verbose_link_cmd='echo'
 
18381
        archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
18382
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
18383
        archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
18384
        module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
18385
    else
 
18386
      case $cc_basename in
 
18387
        xlc*)
 
18388
         output_verbose_link_cmd='echo'
 
18389
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
 
18390
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
18391
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
18392
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
18393
          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}'
 
18394
          ;;
 
18395
       *)
 
18396
         ld_shlibs_GCJ=no
 
18397
          ;;
 
18398
      esac
 
18399
    fi
 
18400
      ;;
 
18401
 
 
18402
    dgux*)
 
18403
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
18404
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
18405
      hardcode_shlibpath_var_GCJ=no
 
18406
      ;;
 
18407
 
 
18408
    freebsd1*)
 
18409
      ld_shlibs_GCJ=no
 
18410
      ;;
 
18411
 
 
18412
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
18413
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
18414
    # does not break anything, and helps significantly (at the cost of a little
 
18415
    # extra space).
 
18416
    freebsd2.2*)
 
18417
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
18418
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
18419
      hardcode_direct_GCJ=yes
 
18420
      hardcode_shlibpath_var_GCJ=no
 
18421
      ;;
 
18422
 
 
18423
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
18424
    freebsd2*)
 
18425
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
18426
      hardcode_direct_GCJ=yes
 
18427
      hardcode_minus_L_GCJ=yes
 
18428
      hardcode_shlibpath_var_GCJ=no
 
18429
      ;;
 
18430
 
 
18431
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
18432
    freebsd* | dragonfly*)
 
18433
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
18434
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
18435
      hardcode_direct_GCJ=yes
 
18436
      hardcode_shlibpath_var_GCJ=no
 
18437
      ;;
 
18438
 
 
18439
    hpux9*)
 
18440
      if test "$GCC" = yes; then
 
18441
        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'
 
18442
      else
 
18443
        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'
 
18444
      fi
 
18445
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
18446
      hardcode_libdir_separator_GCJ=:
 
18447
      hardcode_direct_GCJ=yes
 
18448
 
 
18449
      # hardcode_minus_L: Not really in the search PATH,
 
18450
      # but as the default location of the library.
 
18451
      hardcode_minus_L_GCJ=yes
 
18452
      export_dynamic_flag_spec_GCJ='${wl}-E'
 
18453
      ;;
 
18454
 
 
18455
    hpux10*)
 
18456
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
18457
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
18458
      else
 
18459
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
18460
      fi
 
18461
      if test "$with_gnu_ld" = no; then
 
18462
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
18463
        hardcode_libdir_separator_GCJ=:
 
18464
 
 
18465
        hardcode_direct_GCJ=yes
 
18466
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
18467
 
 
18468
        # hardcode_minus_L: Not really in the search PATH,
 
18469
        # but as the default location of the library.
 
18470
        hardcode_minus_L_GCJ=yes
 
18471
      fi
 
18472
      ;;
 
18473
 
 
18474
    hpux11*)
 
18475
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
18476
        case $host_cpu in
 
18477
        hppa*64*)
 
18478
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18479
          ;;
 
18480
        ia64*)
 
18481
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
18482
          ;;
 
18483
        *)
 
18484
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
18485
          ;;
 
18486
        esac
 
18487
      else
 
18488
        case $host_cpu in
 
18489
        hppa*64*)
 
18490
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18491
          ;;
 
18492
        ia64*)
 
18493
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
18494
          ;;
 
18495
        *)
 
18496
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
18497
          ;;
 
18498
        esac
 
18499
      fi
 
18500
      if test "$with_gnu_ld" = no; then
 
18501
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
18502
        hardcode_libdir_separator_GCJ=:
 
18503
 
 
18504
        case $host_cpu in
 
18505
        hppa*64*|ia64*)
 
18506
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
 
18507
          hardcode_direct_GCJ=no
 
18508
          hardcode_shlibpath_var_GCJ=no
 
18509
          ;;
 
18510
        *)
 
18511
          hardcode_direct_GCJ=yes
 
18512
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
18513
 
 
18514
          # hardcode_minus_L: Not really in the search PATH,
 
18515
          # but as the default location of the library.
 
18516
          hardcode_minus_L_GCJ=yes
 
18517
          ;;
 
18518
        esac
 
18519
      fi
 
18520
      ;;
 
18521
 
 
18522
    irix5* | irix6* | nonstopux*)
 
18523
      if test "$GCC" = yes; then
 
18524
        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'
 
18525
      else
 
18526
        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'
 
18527
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
 
18528
      fi
 
18529
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 
18530
      hardcode_libdir_separator_GCJ=:
 
18531
      link_all_deplibs_GCJ=yes
 
18532
      ;;
 
18533
 
 
18534
    netbsd*)
 
18535
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
18536
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
18537
      else
 
18538
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
18539
      fi
 
18540
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
18541
      hardcode_direct_GCJ=yes
 
18542
      hardcode_shlibpath_var_GCJ=no
 
18543
      ;;
 
18544
 
 
18545
    newsos6)
 
18546
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
18547
      hardcode_direct_GCJ=yes
 
18548
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 
18549
      hardcode_libdir_separator_GCJ=:
 
18550
      hardcode_shlibpath_var_GCJ=no
 
18551
      ;;
 
18552
 
 
18553
    openbsd*)
 
18554
      if test -f /usr/libexec/ld.so; then
 
18555
        hardcode_direct_GCJ=yes
 
18556
        hardcode_shlibpath_var_GCJ=no
 
18557
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
18558
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
18559
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
18560
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
18561
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
18562
        else
 
18563
          case $host_os in
 
18564
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
18565
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
18566
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
18567
             ;;
 
18568
           *)
 
18569
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
18570
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
18571
             ;;
 
18572
          esac
 
18573
        fi
 
18574
      else
 
18575
        ld_shlibs_GCJ=no
 
18576
      fi
 
18577
      ;;
 
18578
 
 
18579
    os2*)
 
18580
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
18581
      hardcode_minus_L_GCJ=yes
 
18582
      allow_undefined_flag_GCJ=unsupported
 
18583
      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'
 
18584
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
18585
      ;;
 
18586
 
 
18587
    osf3*)
 
18588
      if test "$GCC" = yes; then
 
18589
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
 
18590
        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'
 
18591
      else
 
18592
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
 
18593
        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'
 
18594
      fi
 
18595
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 
18596
      hardcode_libdir_separator_GCJ=:
 
18597
      ;;
 
18598
 
 
18599
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
18600
      if test "$GCC" = yes; then
 
18601
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
 
18602
        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'
 
18603
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 
18604
      else
 
18605
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
 
18606
        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'
 
18607
        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~
 
18608
        $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'
 
18609
 
 
18610
        # Both c and cxx compiler support -rpath directly
 
18611
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
 
18612
      fi
 
18613
      hardcode_libdir_separator_GCJ=:
 
18614
      ;;
 
18615
 
 
18616
    solaris*)
 
18617
      no_undefined_flag_GCJ=' -z text'
 
18618
      if test "$GCC" = yes; then
 
18619
        wlarc='${wl}'
 
18620
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18621
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
18622
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
18623
      else
 
18624
        wlarc=''
 
18625
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
18626
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
18627
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
18628
      fi
 
18629
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
18630
      hardcode_shlibpath_var_GCJ=no
 
18631
      case $host_os in
 
18632
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
18633
      *)
 
18634
        # The compiler driver will combine and reorder linker options,
 
18635
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
18636
        # but is careful enough not to reorder.
 
18637
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
18638
        if test "$GCC" = yes; then
 
18639
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
18640
        else
 
18641
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
 
18642
        fi
 
18643
        ;;
 
18644
      esac
 
18645
      link_all_deplibs_GCJ=yes
 
18646
      ;;
 
18647
 
 
18648
    sunos4*)
 
18649
      if test "x$host_vendor" = xsequent; then
 
18650
        # Use $CC to link under sequent, because it throws in some extra .o
 
18651
        # files that make .init and .fini sections work.
 
18652
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
18653
      else
 
18654
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
18655
      fi
 
18656
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
18657
      hardcode_direct_GCJ=yes
 
18658
      hardcode_minus_L_GCJ=yes
 
18659
      hardcode_shlibpath_var_GCJ=no
 
18660
      ;;
 
18661
 
 
18662
    sysv4)
 
18663
      case $host_vendor in
 
18664
        sni)
 
18665
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
18666
          hardcode_direct_GCJ=yes # is this really true???
 
18667
        ;;
 
18668
        siemens)
 
18669
          ## LD is ld it makes a PLAMLIB
 
18670
          ## CC just makes a GrossModule.
 
18671
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
18672
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
 
18673
          hardcode_direct_GCJ=no
 
18674
        ;;
 
18675
        motorola)
 
18676
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
18677
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
 
18678
        ;;
 
18679
      esac
 
18680
      runpath_var='LD_RUN_PATH'
 
18681
      hardcode_shlibpath_var_GCJ=no
 
18682
      ;;
 
18683
 
 
18684
    sysv4.3*)
 
18685
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
18686
      hardcode_shlibpath_var_GCJ=no
 
18687
      export_dynamic_flag_spec_GCJ='-Bexport'
 
18688
      ;;
 
18689
 
 
18690
    sysv4*MP*)
 
18691
      if test -d /usr/nec; then
 
18692
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
18693
        hardcode_shlibpath_var_GCJ=no
 
18694
        runpath_var=LD_RUN_PATH
 
18695
        hardcode_runpath_var=yes
 
18696
        ld_shlibs_GCJ=yes
 
18697
      fi
 
18698
      ;;
 
18699
 
 
18700
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
18701
      no_undefined_flag_GCJ='${wl}-z,text'
 
18702
      archive_cmds_need_lc_GCJ=no
 
18703
      hardcode_shlibpath_var_GCJ=no
 
18704
      runpath_var='LD_RUN_PATH'
 
18705
 
 
18706
      if test "$GCC" = yes; then
 
18707
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18708
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18709
      else
 
18710
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18711
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18712
      fi
 
18713
      ;;
 
18714
 
 
18715
    sysv5* | sco3.2v5* | sco5v6*)
 
18716
      # Note: We can NOT use -z defs as we might desire, because we do not
 
18717
      # link with -lc, and that would cause any symbols used from libc to
 
18718
      # always be unresolved, which means just about no library would
 
18719
      # ever link correctly.  If we're not using GNU ld we use -z text
 
18720
      # though, which does catch some bad symbols but isn't as heavy-handed
 
18721
      # as -z defs.
 
18722
      no_undefined_flag_GCJ='${wl}-z,text'
 
18723
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
 
18724
      archive_cmds_need_lc_GCJ=no
 
18725
      hardcode_shlibpath_var_GCJ=no
 
18726
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
18727
      hardcode_libdir_separator_GCJ=':'
 
18728
      link_all_deplibs_GCJ=yes
 
18729
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
 
18730
      runpath_var='LD_RUN_PATH'
 
18731
 
 
18732
      if test "$GCC" = yes; then
 
18733
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18734
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18735
      else
 
18736
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18737
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18738
      fi
 
18739
      ;;
 
18740
 
 
18741
    uts4*)
 
18742
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
18743
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
18744
      hardcode_shlibpath_var_GCJ=no
 
18745
      ;;
 
18746
 
 
18747
    *)
 
18748
      ld_shlibs_GCJ=no
 
18749
      ;;
 
18750
    esac
 
18751
  fi
 
18752
 
 
18753
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
18754
$as_echo "$ld_shlibs_GCJ" >&6; }
 
18755
test "$ld_shlibs_GCJ" = no && can_build_shared=no
 
18756
 
 
18757
#
 
18758
# Do we need to explicitly link libc?
 
18759
#
 
18760
case "x$archive_cmds_need_lc_GCJ" in
 
18761
x|xyes)
 
18762
  # Assume -lc should be added
 
18763
  archive_cmds_need_lc_GCJ=yes
 
18764
 
 
18765
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
18766
    case $archive_cmds_GCJ in
 
18767
    *'~'*)
 
18768
      # FIXME: we may have to deal with multi-command sequences.
 
18769
      ;;
 
18770
    '$CC '*)
 
18771
      # Test whether the compiler implicitly links with -lc since on some
 
18772
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
18773
      # to ld, don't add -lc before -lgcc.
 
18774
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
18775
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
18776
      $rm conftest*
 
18777
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18778
 
 
18779
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
18780
  (eval $ac_compile) 2>&5
 
18781
  ac_status=$?
 
18782
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18783
  (exit $ac_status); } 2>conftest.err; then
 
18784
        soname=conftest
 
18785
        lib=conftest
 
18786
        libobjs=conftest.$ac_objext
 
18787
        deplibs=
 
18788
        wl=$lt_prog_compiler_wl_GCJ
 
18789
        pic_flag=$lt_prog_compiler_pic_GCJ
 
18790
        compiler_flags=-v
 
18791
        linker_flags=-v
 
18792
        verstring=
 
18793
        output_objdir=.
 
18794
        libname=conftest
 
18795
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
 
18796
        allow_undefined_flag_GCJ=
 
18797
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
18798
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
18799
  ac_status=$?
 
18800
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18801
  (exit $ac_status); }
 
18802
        then
 
18803
          archive_cmds_need_lc_GCJ=no
 
18804
        else
 
18805
          archive_cmds_need_lc_GCJ=yes
 
18806
        fi
 
18807
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
 
18808
      else
 
18809
        cat conftest.err 1>&5
 
18810
      fi
 
18811
      $rm conftest*
 
18812
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
18813
$as_echo "$archive_cmds_need_lc_GCJ" >&6; }
 
18814
      ;;
 
18815
    esac
 
18816
  fi
 
18817
  ;;
 
18818
esac
 
18819
 
 
18820
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
18821
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
18822
library_names_spec=
 
18823
libname_spec='lib$name'
 
18824
soname_spec=
 
18825
shrext_cmds=".so"
 
18826
postinstall_cmds=
 
18827
postuninstall_cmds=
 
18828
finish_cmds=
 
18829
finish_eval=
 
18830
shlibpath_var=
 
18831
shlibpath_overrides_runpath=unknown
 
18832
version_type=none
 
18833
dynamic_linker="$host_os ld.so"
 
18834
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
18835
 
 
18836
need_lib_prefix=unknown
 
18837
hardcode_into_libs=no
 
18838
 
 
18839
# when you set need_version to no, make sure it does not cause -set_version
 
18840
# flags to be left without arguments
 
18841
need_version=unknown
 
18842
 
 
18843
case $host_os in
 
18844
aix3*)
 
18845
  version_type=linux
 
18846
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
18847
  shlibpath_var=LIBPATH
 
18848
 
 
18849
  # AIX 3 has no versioning support, so we append a major version to the name.
 
18850
  soname_spec='${libname}${release}${shared_ext}$major'
 
18851
  ;;
 
18852
 
 
18853
aix[4-9]*)
 
18854
  version_type=linux
 
18855
  need_lib_prefix=no
 
18856
  need_version=no
 
18857
  hardcode_into_libs=yes
 
18858
  if test "$host_cpu" = ia64; then
 
18859
    # AIX 5 supports IA64
 
18860
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
18861
    shlibpath_var=LD_LIBRARY_PATH
 
18862
  else
 
18863
    # With GCC up to 2.95.x, collect2 would create an import file
 
18864
    # for dependence libraries.  The import file would start with
 
18865
    # the line `#! .'.  This would cause the generated library to
 
18866
    # depend on `.', always an invalid library.  This was fixed in
 
18867
    # development snapshots of GCC prior to 3.0.
 
18868
    case $host_os in
 
18869
      aix4 | aix4.[01] | aix4.[01].*)
 
18870
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
18871
           echo ' yes '
 
18872
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
18873
        :
 
18874
      else
 
18875
        can_build_shared=no
 
18876
      fi
 
18877
      ;;
 
18878
    esac
 
18879
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
18880
    # soname into executable. Probably we can add versioning support to
 
18881
    # collect2, so additional links can be useful in future.
 
18882
    if test "$aix_use_runtimelinking" = yes; then
 
18883
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
18884
      # instead of lib<name>.a to let people know that these are not
 
18885
      # typical AIX shared libraries.
 
18886
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
18887
    else
 
18888
      # We preserve .a as extension for shared libraries through AIX4.2
 
18889
      # and later when we are not doing run time linking.
 
18890
      library_names_spec='${libname}${release}.a $libname.a'
 
18891
      soname_spec='${libname}${release}${shared_ext}$major'
 
18892
    fi
 
18893
    shlibpath_var=LIBPATH
 
18894
  fi
 
18895
  ;;
 
18896
 
 
18897
amigaos*)
 
18898
  library_names_spec='$libname.ixlibrary $libname.a'
 
18899
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
18900
  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'
 
18901
  ;;
 
18902
 
 
18903
beos*)
 
18904
  library_names_spec='${libname}${shared_ext}'
 
18905
  dynamic_linker="$host_os ld.so"
 
18906
  shlibpath_var=LIBRARY_PATH
 
18907
  ;;
 
18908
 
 
18909
bsdi[45]*)
 
18910
  version_type=linux
 
18911
  need_version=no
 
18912
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
18913
  soname_spec='${libname}${release}${shared_ext}$major'
 
18914
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
18915
  shlibpath_var=LD_LIBRARY_PATH
 
18916
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
18917
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
18918
  # the default ld.so.conf also contains /usr/contrib/lib and
 
18919
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
18920
  # libtool to hard-code these into programs
 
18921
  ;;
 
18922
 
 
18923
cygwin* | mingw* | pw32*)
 
18924
  version_type=windows
 
18925
  shrext_cmds=".dll"
 
18926
  need_version=no
 
18927
  need_lib_prefix=no
 
18928
 
 
18929
  case $GCC,$host_os in
 
18930
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
18931
    library_names_spec='$libname.dll.a'
 
18932
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
18933
    postinstall_cmds='base_file=`basename \${file}`~
 
18934
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
18935
      dldir=$destdir/`dirname \$dlpath`~
 
18936
      test -d \$dldir || mkdir -p \$dldir~
 
18937
      $install_prog $dir/$dlname \$dldir/$dlname~
 
18938
      chmod a+x \$dldir/$dlname'
 
18939
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
18940
      dlpath=$dir/\$dldll~
 
18941
       $rm \$dlpath'
 
18942
    shlibpath_overrides_runpath=yes
 
18943
 
 
18944
    case $host_os in
 
18945
    cygwin*)
 
18946
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
18947
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
18948
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
18949
      ;;
 
18950
    mingw*)
 
18951
      # MinGW DLLs use traditional 'lib' prefix
 
18952
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
18953
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
18954
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
18955
        # It is most probably a Windows format PATH printed by
 
18956
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
18957
        # path with ; separators, and with drive letters. We can handle the
 
18958
        # drive letters (cygwin fileutils understands them), so leave them,
 
18959
        # especially as we might pass files found there to a mingw objdump,
 
18960
        # which wouldn't understand a cygwinified path. Ahh.
 
18961
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
18962
      else
 
18963
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
18964
      fi
 
18965
      ;;
 
18966
    pw32*)
 
18967
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
18968
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
18969
      ;;
 
18970
    esac
 
18971
    ;;
 
18972
 
 
18973
  *)
 
18974
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
18975
    ;;
 
18976
  esac
 
18977
  dynamic_linker='Win32 ld.exe'
 
18978
  # FIXME: first we should search . and the directory the executable is in
 
18979
  shlibpath_var=PATH
 
18980
  ;;
 
18981
 
 
18982
darwin* | rhapsody*)
 
18983
  dynamic_linker="$host_os dyld"
 
18984
  version_type=darwin
 
18985
  need_lib_prefix=no
 
18986
  need_version=no
 
18987
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
18988
  soname_spec='${libname}${release}${major}$shared_ext'
 
18989
  shlibpath_overrides_runpath=yes
 
18990
  shlibpath_var=DYLD_LIBRARY_PATH
 
18991
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
18992
 
 
18993
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
18994
  ;;
 
18995
 
 
18996
dgux*)
 
18997
  version_type=linux
 
18998
  need_lib_prefix=no
 
18999
  need_version=no
 
19000
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
19001
  soname_spec='${libname}${release}${shared_ext}$major'
 
19002
  shlibpath_var=LD_LIBRARY_PATH
 
19003
  ;;
 
19004
 
 
19005
freebsd1*)
 
19006
  dynamic_linker=no
 
19007
  ;;
 
19008
 
 
19009
freebsd* | dragonfly*)
 
19010
  # DragonFly does not have aout.  When/if they implement a new
 
19011
  # versioning mechanism, adjust this.
 
19012
  if test -x /usr/bin/objformat; then
 
19013
    objformat=`/usr/bin/objformat`
 
19014
  else
 
19015
    case $host_os in
 
19016
    freebsd[123]*) objformat=aout ;;
 
19017
    *) objformat=elf ;;
 
19018
    esac
 
19019
  fi
 
19020
  version_type=freebsd-$objformat
 
19021
  case $version_type in
 
19022
    freebsd-elf*)
 
19023
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
19024
      need_version=no
 
19025
      need_lib_prefix=no
 
19026
      ;;
 
19027
    freebsd-*)
 
19028
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
19029
      need_version=yes
 
19030
      ;;
 
19031
  esac
 
19032
  shlibpath_var=LD_LIBRARY_PATH
 
19033
  case $host_os in
 
19034
  freebsd2*)
 
19035
    shlibpath_overrides_runpath=yes
 
19036
    ;;
 
19037
  freebsd3.[01]* | freebsdelf3.[01]*)
 
19038
    shlibpath_overrides_runpath=yes
 
19039
    hardcode_into_libs=yes
 
19040
    ;;
 
19041
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
19042
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
19043
    shlibpath_overrides_runpath=no
 
19044
    hardcode_into_libs=yes
 
19045
    ;;
 
19046
  *) # from 4.6 on, and DragonFly
 
19047
    shlibpath_overrides_runpath=yes
 
19048
    hardcode_into_libs=yes
 
19049
    ;;
 
19050
  esac
 
19051
  ;;
 
19052
 
 
19053
gnu*)
 
19054
  version_type=linux
 
19055
  need_lib_prefix=no
 
19056
  need_version=no
 
19057
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
19058
  soname_spec='${libname}${release}${shared_ext}$major'
 
19059
  shlibpath_var=LD_LIBRARY_PATH
 
19060
  hardcode_into_libs=yes
 
19061
  ;;
 
19062
 
 
19063
hpux9* | hpux10* | hpux11*)
 
19064
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
19065
  # link against other versions.
 
19066
  version_type=sunos
 
19067
  need_lib_prefix=no
 
19068
  need_version=no
 
19069
  case $host_cpu in
 
19070
  ia64*)
 
19071
    shrext_cmds='.so'
 
19072
    hardcode_into_libs=yes
 
19073
    dynamic_linker="$host_os dld.so"
 
19074
    shlibpath_var=LD_LIBRARY_PATH
 
19075
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
19076
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
19077
    soname_spec='${libname}${release}${shared_ext}$major'
 
19078
    if test "X$HPUX_IA64_MODE" = X32; then
 
19079
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
19080
    else
 
19081
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
19082
    fi
 
19083
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
19084
    ;;
 
19085
   hppa*64*)
 
19086
     shrext_cmds='.sl'
 
19087
     hardcode_into_libs=yes
 
19088
     dynamic_linker="$host_os dld.sl"
 
19089
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
19090
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
19091
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
19092
     soname_spec='${libname}${release}${shared_ext}$major'
 
19093
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
19094
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
19095
     ;;
 
19096
   *)
 
19097
    shrext_cmds='.sl'
 
19098
    dynamic_linker="$host_os dld.sl"
 
19099
    shlibpath_var=SHLIB_PATH
 
19100
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
19101
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
19102
    soname_spec='${libname}${release}${shared_ext}$major'
 
19103
    ;;
 
19104
  esac
 
19105
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
19106
  postinstall_cmds='chmod 555 $lib'
 
19107
  ;;
 
19108
 
 
19109
interix[3-9]*)
 
19110
  version_type=linux
 
19111
  need_lib_prefix=no
 
19112
  need_version=no
 
19113
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
19114
  soname_spec='${libname}${release}${shared_ext}$major'
 
19115
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
19116
  shlibpath_var=LD_LIBRARY_PATH
 
19117
  shlibpath_overrides_runpath=no
 
19118
  hardcode_into_libs=yes
 
19119
  ;;
 
19120
 
 
19121
irix5* | irix6* | nonstopux*)
 
19122
  case $host_os in
 
19123
    nonstopux*) version_type=nonstopux ;;
 
19124
    *)
 
19125
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
19126
                version_type=linux
 
19127
        else
 
19128
                version_type=irix
 
19129
        fi ;;
 
19130
  esac
 
19131
  need_lib_prefix=no
 
19132
  need_version=no
 
19133
  soname_spec='${libname}${release}${shared_ext}$major'
 
19134
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
19135
  case $host_os in
 
19136
  irix5* | nonstopux*)
 
19137
    libsuff= shlibsuff=
 
19138
    ;;
 
19139
  *)
 
19140
    case $LD in # libtool.m4 will add one of these switches to LD
 
19141
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
19142
      libsuff= shlibsuff= libmagic=32-bit;;
 
19143
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
19144
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
19145
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
19146
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
19147
    *) libsuff= shlibsuff= libmagic=never-match;;
 
19148
    esac
 
19149
    ;;
 
19150
  esac
 
19151
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
19152
  shlibpath_overrides_runpath=no
 
19153
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
19154
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
19155
  hardcode_into_libs=yes
 
19156
  ;;
 
19157
 
 
19158
# No shared lib support for Linux oldld, aout, or coff.
 
19159
linux*oldld* | linux*aout* | linux*coff*)
 
19160
  dynamic_linker=no
 
19161
  ;;
 
19162
 
 
19163
# This must be Linux ELF.
 
19164
linux* | k*bsd*-gnu)
 
19165
  version_type=linux
 
19166
  need_lib_prefix=no
 
19167
  need_version=no
 
19168
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
19169
  soname_spec='${libname}${release}${shared_ext}$major'
 
19170
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
19171
  shlibpath_var=LD_LIBRARY_PATH
 
19172
  shlibpath_overrides_runpath=no
 
19173
  # This implies no fast_install, which is unacceptable.
 
19174
  # Some rework will be needed to allow for fast_install
 
19175
  # before this can be enabled.
 
19176
  hardcode_into_libs=yes
 
19177
 
 
19178
  # Append ld.so.conf contents to the search path
 
19179
  if test -f /etc/ld.so.conf; then
 
19180
    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' ' '`
 
19181
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
19182
  fi
 
19183
 
 
19184
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
19185
  # powerpc, because MkLinux only supported shared libraries with the
 
19186
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
19187
  # most powerpc-linux boxes support dynamic linking these days and
 
19188
  # people can always --disable-shared, the test was removed, and we
 
19189
  # assume the GNU/Linux dynamic linker is in use.
 
19190
  dynamic_linker='GNU/Linux ld.so'
 
19191
  ;;
 
19192
 
 
19193
netbsd*)
 
19194
  version_type=sunos
 
19195
  need_lib_prefix=no
 
19196
  need_version=no
 
19197
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
19198
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
19199
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
19200
    dynamic_linker='NetBSD (a.out) ld.so'
 
19201
  else
 
19202
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
19203
    soname_spec='${libname}${release}${shared_ext}$major'
 
19204
    dynamic_linker='NetBSD ld.elf_so'
 
19205
  fi
 
19206
  shlibpath_var=LD_LIBRARY_PATH
 
19207
  shlibpath_overrides_runpath=yes
 
19208
  hardcode_into_libs=yes
 
19209
  ;;
 
19210
 
 
19211
newsos6)
 
19212
  version_type=linux
 
19213
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
19214
  shlibpath_var=LD_LIBRARY_PATH
 
19215
  shlibpath_overrides_runpath=yes
 
19216
  ;;
 
19217
 
 
19218
nto-qnx*)
 
19219
  version_type=linux
 
19220
  need_lib_prefix=no
 
19221
  need_version=no
 
19222
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
19223
  soname_spec='${libname}${release}${shared_ext}$major'
 
19224
  shlibpath_var=LD_LIBRARY_PATH
 
19225
  shlibpath_overrides_runpath=yes
 
19226
  ;;
 
19227
 
 
19228
openbsd*)
 
19229
  version_type=sunos
 
19230
  sys_lib_dlsearch_path_spec="/usr/lib"
 
19231
  need_lib_prefix=no
 
19232
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
19233
  case $host_os in
 
19234
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
19235
    *)                         need_version=no  ;;
 
19236
  esac
 
19237
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
19238
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
19239
  shlibpath_var=LD_LIBRARY_PATH
 
19240
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
19241
    case $host_os in
 
19242
      openbsd2.[89] | openbsd2.[89].*)
 
19243
        shlibpath_overrides_runpath=no
 
19244
        ;;
 
19245
      *)
 
19246
        shlibpath_overrides_runpath=yes
 
19247
        ;;
 
19248
      esac
 
19249
  else
 
19250
    shlibpath_overrides_runpath=yes
 
19251
  fi
 
19252
  ;;
 
19253
 
 
19254
os2*)
 
19255
  libname_spec='$name'
 
19256
  shrext_cmds=".dll"
 
19257
  need_lib_prefix=no
 
19258
  library_names_spec='$libname${shared_ext} $libname.a'
 
19259
  dynamic_linker='OS/2 ld.exe'
 
19260
  shlibpath_var=LIBPATH
 
19261
  ;;
 
19262
 
 
19263
osf3* | osf4* | osf5*)
 
19264
  version_type=osf
 
19265
  need_lib_prefix=no
 
19266
  need_version=no
 
19267
  soname_spec='${libname}${release}${shared_ext}$major'
 
19268
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
19269
  shlibpath_var=LD_LIBRARY_PATH
 
19270
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
19271
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
19272
  ;;
 
19273
 
 
19274
rdos*)
 
19275
  dynamic_linker=no
 
19276
  ;;
 
19277
 
 
19278
solaris*)
 
19279
  version_type=linux
 
19280
  need_lib_prefix=no
 
19281
  need_version=no
 
19282
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
19283
  soname_spec='${libname}${release}${shared_ext}$major'
 
19284
  shlibpath_var=LD_LIBRARY_PATH
 
19285
  shlibpath_overrides_runpath=yes
 
19286
  hardcode_into_libs=yes
 
19287
  # ldd complains unless libraries are executable
 
19288
  postinstall_cmds='chmod +x $lib'
 
19289
  ;;
 
19290
 
 
19291
sunos4*)
 
19292
  version_type=sunos
 
19293
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
19294
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
19295
  shlibpath_var=LD_LIBRARY_PATH
 
19296
  shlibpath_overrides_runpath=yes
 
19297
  if test "$with_gnu_ld" = yes; then
 
19298
    need_lib_prefix=no
 
19299
  fi
 
19300
  need_version=yes
 
19301
  ;;
 
19302
 
 
19303
sysv4 | sysv4.3*)
 
19304
  version_type=linux
 
19305
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
19306
  soname_spec='${libname}${release}${shared_ext}$major'
 
19307
  shlibpath_var=LD_LIBRARY_PATH
 
19308
  case $host_vendor in
 
19309
    sni)
 
19310
      shlibpath_overrides_runpath=no
 
19311
      need_lib_prefix=no
 
19312
      export_dynamic_flag_spec='${wl}-Blargedynsym'
 
19313
      runpath_var=LD_RUN_PATH
 
19314
      ;;
 
19315
    siemens)
 
19316
      need_lib_prefix=no
 
19317
      ;;
 
19318
    motorola)
 
19319
      need_lib_prefix=no
 
19320
      need_version=no
 
19321
      shlibpath_overrides_runpath=no
 
19322
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
19323
      ;;
 
19324
  esac
 
19325
  ;;
 
19326
 
 
19327
sysv4*MP*)
 
19328
  if test -d /usr/nec ;then
 
19329
    version_type=linux
 
19330
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
19331
    soname_spec='$libname${shared_ext}.$major'
 
19332
    shlibpath_var=LD_LIBRARY_PATH
 
19333
  fi
 
19334
  ;;
 
19335
 
 
19336
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
19337
  version_type=freebsd-elf
 
19338
  need_lib_prefix=no
 
19339
  need_version=no
 
19340
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
19341
  soname_spec='${libname}${release}${shared_ext}$major'
 
19342
  shlibpath_var=LD_LIBRARY_PATH
 
19343
  hardcode_into_libs=yes
 
19344
  if test "$with_gnu_ld" = yes; then
 
19345
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
19346
    shlibpath_overrides_runpath=no
 
19347
  else
 
19348
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
19349
    shlibpath_overrides_runpath=yes
 
19350
    case $host_os in
 
19351
      sco3.2v5*)
 
19352
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
19353
        ;;
 
19354
    esac
 
19355
  fi
 
19356
  sys_lib_dlsearch_path_spec='/usr/lib'
 
19357
  ;;
 
19358
 
 
19359
uts4*)
 
19360
  version_type=linux
 
19361
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
19362
  soname_spec='${libname}${release}${shared_ext}$major'
 
19363
  shlibpath_var=LD_LIBRARY_PATH
 
19364
  ;;
 
19365
 
 
19366
*)
 
19367
  dynamic_linker=no
 
19368
  ;;
 
19369
esac
 
19370
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
19371
$as_echo "$dynamic_linker" >&6; }
 
19372
test "$dynamic_linker" = no && can_build_shared=no
 
19373
 
 
19374
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
19375
  $as_echo_n "(cached) " >&6
 
19376
else
 
19377
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
19378
fi
 
19379
 
 
19380
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
19381
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
19382
  $as_echo_n "(cached) " >&6
 
19383
else
 
19384
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
19385
fi
 
19386
 
 
19387
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
19388
 
 
19389
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
19390
if test "$GCC" = yes; then
 
19391
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
19392
fi
 
19393
 
 
19394
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
19395
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
19396
hardcode_action_GCJ=
 
19397
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
 
19398
   test -n "$runpath_var_GCJ" || \
 
19399
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
 
19400
 
 
19401
  # We can hardcode non-existant directories.
 
19402
  if test "$hardcode_direct_GCJ" != no &&
 
19403
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
19404
     # have to relink, otherwise we might link with an installed library
 
19405
     # when we should be linking with a yet-to-be-installed one
 
19406
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
 
19407
     test "$hardcode_minus_L_GCJ" != no; then
 
19408
    # Linking always hardcodes the temporary library directory.
 
19409
    hardcode_action_GCJ=relink
 
19410
  else
 
19411
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
19412
    hardcode_action_GCJ=immediate
 
19413
  fi
 
19414
else
 
19415
  # We cannot hardcode anything, or else we can only hardcode existing
 
19416
  # directories.
 
19417
  hardcode_action_GCJ=unsupported
 
19418
fi
 
19419
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
19420
$as_echo "$hardcode_action_GCJ" >&6; }
 
19421
 
 
19422
if test "$hardcode_action_GCJ" = relink; then
 
19423
  # Fast installation is not supported
 
19424
  enable_fast_install=no
 
19425
elif test "$shlibpath_overrides_runpath" = yes ||
 
19426
     test "$enable_shared" = no; then
 
19427
  # Fast installation is not necessary
 
19428
  enable_fast_install=needless
 
19429
fi
 
19430
 
 
19431
 
 
19432
# The else clause should only fire when bootstrapping the
 
19433
# libtool distribution, otherwise you forgot to ship ltmain.sh
 
19434
# with your package, and you will get complaints that there are
 
19435
# no rules to generate ltmain.sh.
 
19436
if test -f "$ltmain"; then
 
19437
  # See if we are running on zsh, and set the options which allow our commands through
 
19438
  # without removal of \ escapes.
 
19439
  if test -n "${ZSH_VERSION+set}" ; then
 
19440
    setopt NO_GLOB_SUBST
 
19441
  fi
 
19442
  # Now quote all the things that may contain metacharacters while being
 
19443
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
 
19444
  # variables and quote the copies for generation of the libtool script.
 
19445
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
 
19446
    SED SHELL STRIP \
 
19447
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 
19448
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 
19449
    deplibs_check_method reload_flag reload_cmds need_locks \
 
19450
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 
19451
    lt_cv_sys_global_symbol_to_c_name_address \
 
19452
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 
19453
    old_postinstall_cmds old_postuninstall_cmds \
 
19454
    compiler_GCJ \
 
19455
    CC_GCJ \
 
19456
    LD_GCJ \
 
19457
    lt_prog_compiler_wl_GCJ \
 
19458
    lt_prog_compiler_pic_GCJ \
 
19459
    lt_prog_compiler_static_GCJ \
 
19460
    lt_prog_compiler_no_builtin_flag_GCJ \
 
19461
    export_dynamic_flag_spec_GCJ \
 
19462
    thread_safe_flag_spec_GCJ \
 
19463
    whole_archive_flag_spec_GCJ \
 
19464
    enable_shared_with_static_runtimes_GCJ \
 
19465
    old_archive_cmds_GCJ \
 
19466
    old_archive_from_new_cmds_GCJ \
 
19467
    predep_objects_GCJ \
 
19468
    postdep_objects_GCJ \
 
19469
    predeps_GCJ \
 
19470
    postdeps_GCJ \
 
19471
    compiler_lib_search_path_GCJ \
 
19472
    compiler_lib_search_dirs_GCJ \
 
19473
    archive_cmds_GCJ \
 
19474
    archive_expsym_cmds_GCJ \
 
19475
    postinstall_cmds_GCJ \
 
19476
    postuninstall_cmds_GCJ \
 
19477
    old_archive_from_expsyms_cmds_GCJ \
 
19478
    allow_undefined_flag_GCJ \
 
19479
    no_undefined_flag_GCJ \
 
19480
    export_symbols_cmds_GCJ \
 
19481
    hardcode_libdir_flag_spec_GCJ \
 
19482
    hardcode_libdir_flag_spec_ld_GCJ \
 
19483
    hardcode_libdir_separator_GCJ \
 
19484
    hardcode_automatic_GCJ \
 
19485
    module_cmds_GCJ \
 
19486
    module_expsym_cmds_GCJ \
 
19487
    lt_cv_prog_compiler_c_o_GCJ \
 
19488
    fix_srcfile_path_GCJ \
 
19489
    exclude_expsyms_GCJ \
 
19490
    include_expsyms_GCJ; do
 
19491
 
 
19492
    case $var in
 
19493
    old_archive_cmds_GCJ | \
 
19494
    old_archive_from_new_cmds_GCJ | \
 
19495
    archive_cmds_GCJ | \
 
19496
    archive_expsym_cmds_GCJ | \
 
19497
    module_cmds_GCJ | \
 
19498
    module_expsym_cmds_GCJ | \
 
19499
    old_archive_from_expsyms_cmds_GCJ | \
 
19500
    export_symbols_cmds_GCJ | \
 
19501
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
 
19502
    postinstall_cmds | postuninstall_cmds | \
 
19503
    old_postinstall_cmds | old_postuninstall_cmds | \
 
19504
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 
19505
      # Double-quote double-evaled strings.
 
19506
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 
19507
      ;;
 
19508
    *)
 
19509
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 
19510
      ;;
 
19511
    esac
 
19512
  done
 
19513
 
 
19514
  case $lt_echo in
 
19515
  *'\$0 --fallback-echo"')
 
19516
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 
19517
    ;;
 
19518
  esac
 
19519
 
 
19520
cfgfile="$ofile"
 
19521
 
 
19522
  cat <<__EOF__ >> "$cfgfile"
 
19523
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
 
19524
 
 
19525
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
19526
 
 
19527
# Shell to use when invoking shell scripts.
 
19528
SHELL=$lt_SHELL
 
19529
 
 
19530
# Whether or not to build shared libraries.
 
19531
build_libtool_libs=$enable_shared
 
19532
 
 
19533
# Whether or not to build static libraries.
 
19534
build_old_libs=$enable_static
 
19535
 
 
19536
# Whether or not to add -lc for building shared libraries.
 
19537
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
 
19538
 
 
19539
# Whether or not to disallow shared libs when runtime libs are static
 
19540
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
 
19541
 
 
19542
# Whether or not to optimize for fast installation.
 
19543
fast_install=$enable_fast_install
 
19544
 
 
19545
# The host system.
 
19546
host_alias=$host_alias
 
19547
host=$host
 
19548
host_os=$host_os
 
19549
 
 
19550
# The build system.
 
19551
build_alias=$build_alias
 
19552
build=$build
 
19553
build_os=$build_os
 
19554
 
 
19555
# An echo program that does not interpret backslashes.
 
19556
echo=$lt_echo
 
19557
 
 
19558
# The archiver.
 
19559
AR=$lt_AR
 
19560
AR_FLAGS=$lt_AR_FLAGS
 
19561
 
 
19562
# A C compiler.
 
19563
LTCC=$lt_LTCC
 
19564
 
 
19565
# LTCC compiler flags.
 
19566
LTCFLAGS=$lt_LTCFLAGS
 
19567
 
 
19568
# A language-specific compiler.
 
19569
CC=$lt_compiler_GCJ
 
19570
 
 
19571
# Is the compiler the GNU C compiler?
 
19572
with_gcc=$GCC_GCJ
 
19573
 
 
19574
# An ERE matcher.
 
19575
EGREP=$lt_EGREP
 
19576
 
 
19577
# The linker used to build libraries.
 
19578
LD=$lt_LD_GCJ
 
19579
 
 
19580
# Whether we need hard or soft links.
 
19581
LN_S=$lt_LN_S
 
19582
 
 
19583
# A BSD-compatible nm program.
 
19584
NM=$lt_NM
 
19585
 
 
19586
# A symbol stripping program
 
19587
STRIP=$lt_STRIP
 
19588
 
 
19589
# Used to examine libraries when file_magic_cmd begins "file"
 
19590
MAGIC_CMD=$MAGIC_CMD
 
19591
 
 
19592
# Used on cygwin: DLL creation program.
 
19593
DLLTOOL="$DLLTOOL"
 
19594
 
 
19595
# Used on cygwin: object dumper.
 
19596
OBJDUMP="$OBJDUMP"
 
19597
 
 
19598
# Used on cygwin: assembler.
 
19599
AS="$AS"
 
19600
 
 
19601
# The name of the directory that contains temporary libtool files.
 
19602
objdir=$objdir
 
19603
 
 
19604
# How to create reloadable object files.
 
19605
reload_flag=$lt_reload_flag
 
19606
reload_cmds=$lt_reload_cmds
 
19607
 
 
19608
# How to pass a linker flag through the compiler.
 
19609
wl=$lt_lt_prog_compiler_wl_GCJ
 
19610
 
 
19611
# Object file suffix (normally "o").
 
19612
objext="$ac_objext"
 
19613
 
 
19614
# Old archive suffix (normally "a").
 
19615
libext="$libext"
 
19616
 
 
19617
# Shared library suffix (normally ".so").
 
19618
shrext_cmds='$shrext_cmds'
 
19619
 
 
19620
# Executable file suffix (normally "").
 
19621
exeext="$exeext"
 
19622
 
 
19623
# Additional compiler flags for building library objects.
 
19624
pic_flag=$lt_lt_prog_compiler_pic_GCJ
 
19625
pic_mode=$pic_mode
 
19626
 
 
19627
# What is the maximum length of a command?
 
19628
max_cmd_len=$lt_cv_sys_max_cmd_len
 
19629
 
 
19630
# Does compiler simultaneously support -c and -o options?
 
19631
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
 
19632
 
 
19633
# Must we lock files when doing compilation?
 
19634
need_locks=$lt_need_locks
 
19635
 
 
19636
# Do we need the lib prefix for modules?
 
19637
need_lib_prefix=$need_lib_prefix
 
19638
 
 
19639
# Do we need a version for libraries?
 
19640
need_version=$need_version
 
19641
 
 
19642
# Whether dlopen is supported.
 
19643
dlopen_support=$enable_dlopen
 
19644
 
 
19645
# Whether dlopen of programs is supported.
 
19646
dlopen_self=$enable_dlopen_self
 
19647
 
 
19648
# Whether dlopen of statically linked programs is supported.
 
19649
dlopen_self_static=$enable_dlopen_self_static
 
19650
 
 
19651
# Compiler flag to prevent dynamic linking.
 
19652
link_static_flag=$lt_lt_prog_compiler_static_GCJ
 
19653
 
 
19654
# Compiler flag to turn off builtin functions.
 
19655
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
 
19656
 
 
19657
# Compiler flag to allow reflexive dlopens.
 
19658
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
 
19659
 
 
19660
# Compiler flag to generate shared objects directly from archives.
 
19661
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
 
19662
 
 
19663
# Compiler flag to generate thread-safe objects.
 
19664
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
 
19665
 
 
19666
# Library versioning type.
 
19667
version_type=$version_type
 
19668
 
 
19669
# Format of library name prefix.
 
19670
libname_spec=$lt_libname_spec
 
19671
 
 
19672
# List of archive names.  First name is the real one, the rest are links.
 
19673
# The last name is the one that the linker finds with -lNAME.
 
19674
library_names_spec=$lt_library_names_spec
 
19675
 
 
19676
# The coded name of the library, if different from the real name.
 
19677
soname_spec=$lt_soname_spec
 
19678
 
 
19679
# Commands used to build and install an old-style archive.
 
19680
RANLIB=$lt_RANLIB
 
19681
old_archive_cmds=$lt_old_archive_cmds_GCJ
 
19682
old_postinstall_cmds=$lt_old_postinstall_cmds
 
19683
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
19684
 
 
19685
# Create an old-style archive from a shared archive.
 
19686
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
 
19687
 
 
19688
# Create a temporary old-style archive to link instead of a shared archive.
 
19689
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
 
19690
 
 
19691
# Commands used to build and install a shared archive.
 
19692
archive_cmds=$lt_archive_cmds_GCJ
 
19693
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
 
19694
postinstall_cmds=$lt_postinstall_cmds
 
19695
postuninstall_cmds=$lt_postuninstall_cmds
 
19696
 
 
19697
# Commands used to build a loadable module (assumed same as above if empty)
 
19698
module_cmds=$lt_module_cmds_GCJ
 
19699
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
 
19700
 
 
19701
# Commands to strip libraries.
 
19702
old_striplib=$lt_old_striplib
 
19703
striplib=$lt_striplib
 
19704
 
 
19705
# Dependencies to place before the objects being linked to create a
 
19706
# shared library.
 
19707
predep_objects=$lt_predep_objects_GCJ
 
19708
 
 
19709
# Dependencies to place after the objects being linked to create a
 
19710
# shared library.
 
19711
postdep_objects=$lt_postdep_objects_GCJ
 
19712
 
 
19713
# Dependencies to place before the objects being linked to create a
 
19714
# shared library.
 
19715
predeps=$lt_predeps_GCJ
 
19716
 
 
19717
# Dependencies to place after the objects being linked to create a
 
19718
# shared library.
 
19719
postdeps=$lt_postdeps_GCJ
 
19720
 
 
19721
# The directories searched by this compiler when creating a shared
 
19722
# library
 
19723
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
 
19724
 
 
19725
# The library search path used internally by the compiler when linking
 
19726
# a shared library.
 
19727
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
 
19728
 
 
19729
# Method to check whether dependent libraries are shared objects.
 
19730
deplibs_check_method=$lt_deplibs_check_method
 
19731
 
 
19732
# Command to use when deplibs_check_method == file_magic.
 
19733
file_magic_cmd=$lt_file_magic_cmd
 
19734
 
 
19735
# Flag that allows shared libraries with undefined symbols to be built.
 
19736
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
 
19737
 
 
19738
# Flag that forces no undefined symbols.
 
19739
no_undefined_flag=$lt_no_undefined_flag_GCJ
 
19740
 
 
19741
# Commands used to finish a libtool library installation in a directory.
 
19742
finish_cmds=$lt_finish_cmds
 
19743
 
 
19744
# Same as above, but a single script fragment to be evaled but not shown.
 
19745
finish_eval=$lt_finish_eval
 
19746
 
 
19747
# Take the output of nm and produce a listing of raw symbols and C names.
 
19748
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
19749
 
 
19750
# Transform the output of nm in a proper C declaration
 
19751
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
19752
 
 
19753
# Transform the output of nm in a C name address pair
 
19754
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
19755
 
 
19756
# This is the shared library runtime path variable.
 
19757
runpath_var=$runpath_var
 
19758
 
 
19759
# This is the shared library path variable.
 
19760
shlibpath_var=$shlibpath_var
 
19761
 
 
19762
# Is shlibpath searched before the hard-coded library search path?
 
19763
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
19764
 
 
19765
# How to hardcode a shared library path into an executable.
 
19766
hardcode_action=$hardcode_action_GCJ
 
19767
 
 
19768
# Whether we should hardcode library paths into libraries.
 
19769
hardcode_into_libs=$hardcode_into_libs
 
19770
 
 
19771
# Flag to hardcode \$libdir into a binary during linking.
 
19772
# This must work even if \$libdir does not exist.
 
19773
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
 
19774
 
 
19775
# If ld is used when linking, flag to hardcode \$libdir into
 
19776
# a binary during linking. This must work even if \$libdir does
 
19777
# not exist.
 
19778
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
 
19779
 
 
19780
# Whether we need a single -rpath flag with a separated argument.
 
19781
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
 
19782
 
 
19783
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 
19784
# resulting binary.
 
19785
hardcode_direct=$hardcode_direct_GCJ
 
19786
 
 
19787
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 
19788
# resulting binary.
 
19789
hardcode_minus_L=$hardcode_minus_L_GCJ
 
19790
 
 
19791
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 
19792
# the resulting binary.
 
19793
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
 
19794
 
 
19795
# Set to yes if building a shared library automatically hardcodes DIR into the library
 
19796
# and all subsequent libraries and executables linked against it.
 
19797
hardcode_automatic=$hardcode_automatic_GCJ
 
19798
 
 
19799
# Variables whose values should be saved in libtool wrapper scripts and
 
19800
# restored at relink time.
 
19801
variables_saved_for_relink="$variables_saved_for_relink"
 
19802
 
 
19803
# Whether libtool must link a program against all its dependency libraries.
 
19804
link_all_deplibs=$link_all_deplibs_GCJ
 
19805
 
 
19806
# Compile-time system search path for libraries
 
19807
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
19808
 
 
19809
# Run-time system search path for libraries
 
19810
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
19811
 
 
19812
# Fix the shell variable \$srcfile for the compiler.
 
19813
fix_srcfile_path=$lt_fix_srcfile_path
 
19814
 
 
19815
# Set to yes if exported symbols are required.
 
19816
always_export_symbols=$always_export_symbols_GCJ
 
19817
 
 
19818
# The commands to list exported symbols.
 
19819
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
 
19820
 
 
19821
# The commands to extract the exported symbol list from a shared archive.
 
19822
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
19823
 
 
19824
# Symbols that should not be listed in the preloaded symbols.
 
19825
exclude_expsyms=$lt_exclude_expsyms_GCJ
 
19826
 
 
19827
# Symbols that must always be exported.
 
19828
include_expsyms=$lt_include_expsyms_GCJ
 
19829
 
 
19830
# ### END LIBTOOL TAG CONFIG: $tagname
 
19831
 
 
19832
__EOF__
 
19833
 
 
19834
 
 
19835
else
 
19836
  # If there is no Makefile yet, we rely on a make rule to execute
 
19837
  # `config.status --recheck' to rerun these tests and create the
 
19838
  # libtool script then.
 
19839
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 
19840
  if test -f "$ltmain_in"; then
 
19841
    test -f Makefile && make "$ltmain"
 
19842
  fi
 
19843
fi
 
19844
 
 
19845
 
 
19846
ac_ext=c
 
19847
ac_cpp='$CPP $CPPFLAGS'
 
19848
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
19849
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
19850
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
19851
 
 
19852
CC="$lt_save_CC"
 
19853
 
 
19854
        else
 
19855
          tagname=""
 
19856
        fi
 
19857
        ;;
 
19858
 
 
19859
      RC)
 
19860
 
 
19861
 
 
19862
# Source file extension for RC test sources.
 
19863
ac_ext=rc
 
19864
 
 
19865
# Object file extension for compiled RC test sources.
 
19866
objext=o
 
19867
objext_RC=$objext
 
19868
 
 
19869
# Code to be used in simple compile tests
 
19870
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
 
19871
 
 
19872
# Code to be used in simple link tests
 
19873
lt_simple_link_test_code="$lt_simple_compile_test_code"
 
19874
 
 
19875
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
19876
 
 
19877
# If no C compiler was specified, use CC.
 
19878
LTCC=${LTCC-"$CC"}
 
19879
 
 
19880
# If no C compiler flags were specified, use CFLAGS.
 
19881
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
19882
 
 
19883
# Allow CC to be a program name with arguments.
 
19884
compiler=$CC
 
19885
 
 
19886
 
 
19887
# save warnings/boilerplate of simple test code
 
19888
ac_outfile=conftest.$ac_objext
 
19889
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
19890
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
19891
_lt_compiler_boilerplate=`cat conftest.err`
 
19892
$rm conftest*
 
19893
 
 
19894
ac_outfile=conftest.$ac_objext
 
19895
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
19896
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
19897
_lt_linker_boilerplate=`cat conftest.err`
 
19898
$rm -r conftest*
 
19899
 
 
19900
 
 
19901
# Allow CC to be a program name with arguments.
 
19902
lt_save_CC="$CC"
 
19903
CC=${RC-"windres"}
 
19904
compiler=$CC
 
19905
compiler_RC=$CC
 
19906
for cc_temp in $compiler""; do
 
19907
  case $cc_temp in
 
19908
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
19909
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
19910
    \-*) ;;
 
19911
    *) break;;
 
19912
  esac
 
19913
done
 
19914
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
19915
 
 
19916
lt_cv_prog_compiler_c_o_RC=yes
 
19917
 
 
19918
# The else clause should only fire when bootstrapping the
 
19919
# libtool distribution, otherwise you forgot to ship ltmain.sh
 
19920
# with your package, and you will get complaints that there are
 
19921
# no rules to generate ltmain.sh.
 
19922
if test -f "$ltmain"; then
 
19923
  # See if we are running on zsh, and set the options which allow our commands through
 
19924
  # without removal of \ escapes.
 
19925
  if test -n "${ZSH_VERSION+set}" ; then
 
19926
    setopt NO_GLOB_SUBST
 
19927
  fi
 
19928
  # Now quote all the things that may contain metacharacters while being
 
19929
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
 
19930
  # variables and quote the copies for generation of the libtool script.
 
19931
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
 
19932
    SED SHELL STRIP \
 
19933
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 
19934
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 
19935
    deplibs_check_method reload_flag reload_cmds need_locks \
 
19936
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 
19937
    lt_cv_sys_global_symbol_to_c_name_address \
 
19938
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 
19939
    old_postinstall_cmds old_postuninstall_cmds \
 
19940
    compiler_RC \
 
19941
    CC_RC \
 
19942
    LD_RC \
 
19943
    lt_prog_compiler_wl_RC \
 
19944
    lt_prog_compiler_pic_RC \
 
19945
    lt_prog_compiler_static_RC \
 
19946
    lt_prog_compiler_no_builtin_flag_RC \
 
19947
    export_dynamic_flag_spec_RC \
 
19948
    thread_safe_flag_spec_RC \
 
19949
    whole_archive_flag_spec_RC \
 
19950
    enable_shared_with_static_runtimes_RC \
 
19951
    old_archive_cmds_RC \
 
19952
    old_archive_from_new_cmds_RC \
 
19953
    predep_objects_RC \
 
19954
    postdep_objects_RC \
 
19955
    predeps_RC \
 
19956
    postdeps_RC \
 
19957
    compiler_lib_search_path_RC \
 
19958
    compiler_lib_search_dirs_RC \
 
19959
    archive_cmds_RC \
 
19960
    archive_expsym_cmds_RC \
 
19961
    postinstall_cmds_RC \
 
19962
    postuninstall_cmds_RC \
 
19963
    old_archive_from_expsyms_cmds_RC \
 
19964
    allow_undefined_flag_RC \
 
19965
    no_undefined_flag_RC \
 
19966
    export_symbols_cmds_RC \
 
19967
    hardcode_libdir_flag_spec_RC \
 
19968
    hardcode_libdir_flag_spec_ld_RC \
 
19969
    hardcode_libdir_separator_RC \
 
19970
    hardcode_automatic_RC \
 
19971
    module_cmds_RC \
 
19972
    module_expsym_cmds_RC \
 
19973
    lt_cv_prog_compiler_c_o_RC \
 
19974
    fix_srcfile_path_RC \
 
19975
    exclude_expsyms_RC \
 
19976
    include_expsyms_RC; do
 
19977
 
 
19978
    case $var in
 
19979
    old_archive_cmds_RC | \
 
19980
    old_archive_from_new_cmds_RC | \
 
19981
    archive_cmds_RC | \
 
19982
    archive_expsym_cmds_RC | \
 
19983
    module_cmds_RC | \
 
19984
    module_expsym_cmds_RC | \
 
19985
    old_archive_from_expsyms_cmds_RC | \
 
19986
    export_symbols_cmds_RC | \
 
19987
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
 
19988
    postinstall_cmds | postuninstall_cmds | \
 
19989
    old_postinstall_cmds | old_postuninstall_cmds | \
 
19990
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 
19991
      # Double-quote double-evaled strings.
 
19992
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 
19993
      ;;
 
19994
    *)
 
19995
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 
19996
      ;;
 
19997
    esac
 
19998
  done
 
19999
 
 
20000
  case $lt_echo in
 
20001
  *'\$0 --fallback-echo"')
 
20002
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 
20003
    ;;
 
20004
  esac
 
20005
 
 
20006
cfgfile="$ofile"
 
20007
 
 
20008
  cat <<__EOF__ >> "$cfgfile"
 
20009
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
 
20010
 
 
20011
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
20012
 
 
20013
# Shell to use when invoking shell scripts.
 
20014
SHELL=$lt_SHELL
 
20015
 
 
20016
# Whether or not to build shared libraries.
 
20017
build_libtool_libs=$enable_shared
 
20018
 
 
20019
# Whether or not to build static libraries.
 
20020
build_old_libs=$enable_static
 
20021
 
 
20022
# Whether or not to add -lc for building shared libraries.
 
20023
build_libtool_need_lc=$archive_cmds_need_lc_RC
 
20024
 
 
20025
# Whether or not to disallow shared libs when runtime libs are static
 
20026
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
 
20027
 
 
20028
# Whether or not to optimize for fast installation.
 
20029
fast_install=$enable_fast_install
 
20030
 
 
20031
# The host system.
 
20032
host_alias=$host_alias
 
20033
host=$host
 
20034
host_os=$host_os
 
20035
 
 
20036
# The build system.
 
20037
build_alias=$build_alias
 
20038
build=$build
 
20039
build_os=$build_os
 
20040
 
 
20041
# An echo program that does not interpret backslashes.
 
20042
echo=$lt_echo
 
20043
 
 
20044
# The archiver.
 
20045
AR=$lt_AR
 
20046
AR_FLAGS=$lt_AR_FLAGS
 
20047
 
 
20048
# A C compiler.
 
20049
LTCC=$lt_LTCC
 
20050
 
 
20051
# LTCC compiler flags.
 
20052
LTCFLAGS=$lt_LTCFLAGS
 
20053
 
 
20054
# A language-specific compiler.
 
20055
CC=$lt_compiler_RC
 
20056
 
 
20057
# Is the compiler the GNU C compiler?
 
20058
with_gcc=$GCC_RC
 
20059
 
 
20060
# An ERE matcher.
 
20061
EGREP=$lt_EGREP
 
20062
 
 
20063
# The linker used to build libraries.
 
20064
LD=$lt_LD_RC
 
20065
 
 
20066
# Whether we need hard or soft links.
 
20067
LN_S=$lt_LN_S
 
20068
 
 
20069
# A BSD-compatible nm program.
 
20070
NM=$lt_NM
 
20071
 
 
20072
# A symbol stripping program
 
20073
STRIP=$lt_STRIP
 
20074
 
 
20075
# Used to examine libraries when file_magic_cmd begins "file"
 
20076
MAGIC_CMD=$MAGIC_CMD
 
20077
 
 
20078
# Used on cygwin: DLL creation program.
 
20079
DLLTOOL="$DLLTOOL"
 
20080
 
 
20081
# Used on cygwin: object dumper.
 
20082
OBJDUMP="$OBJDUMP"
 
20083
 
 
20084
# Used on cygwin: assembler.
 
20085
AS="$AS"
 
20086
 
 
20087
# The name of the directory that contains temporary libtool files.
 
20088
objdir=$objdir
 
20089
 
 
20090
# How to create reloadable object files.
 
20091
reload_flag=$lt_reload_flag
 
20092
reload_cmds=$lt_reload_cmds
 
20093
 
 
20094
# How to pass a linker flag through the compiler.
 
20095
wl=$lt_lt_prog_compiler_wl_RC
 
20096
 
 
20097
# Object file suffix (normally "o").
 
20098
objext="$ac_objext"
 
20099
 
 
20100
# Old archive suffix (normally "a").
 
20101
libext="$libext"
 
20102
 
 
20103
# Shared library suffix (normally ".so").
 
20104
shrext_cmds='$shrext_cmds'
 
20105
 
 
20106
# Executable file suffix (normally "").
 
20107
exeext="$exeext"
 
20108
 
 
20109
# Additional compiler flags for building library objects.
 
20110
pic_flag=$lt_lt_prog_compiler_pic_RC
 
20111
pic_mode=$pic_mode
 
20112
 
 
20113
# What is the maximum length of a command?
 
20114
max_cmd_len=$lt_cv_sys_max_cmd_len
 
20115
 
 
20116
# Does compiler simultaneously support -c and -o options?
 
20117
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
 
20118
 
 
20119
# Must we lock files when doing compilation?
 
20120
need_locks=$lt_need_locks
 
20121
 
 
20122
# Do we need the lib prefix for modules?
 
20123
need_lib_prefix=$need_lib_prefix
 
20124
 
 
20125
# Do we need a version for libraries?
 
20126
need_version=$need_version
 
20127
 
 
20128
# Whether dlopen is supported.
 
20129
dlopen_support=$enable_dlopen
 
20130
 
 
20131
# Whether dlopen of programs is supported.
 
20132
dlopen_self=$enable_dlopen_self
 
20133
 
 
20134
# Whether dlopen of statically linked programs is supported.
 
20135
dlopen_self_static=$enable_dlopen_self_static
 
20136
 
 
20137
# Compiler flag to prevent dynamic linking.
 
20138
link_static_flag=$lt_lt_prog_compiler_static_RC
 
20139
 
 
20140
# Compiler flag to turn off builtin functions.
 
20141
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
 
20142
 
 
20143
# Compiler flag to allow reflexive dlopens.
 
20144
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
 
20145
 
 
20146
# Compiler flag to generate shared objects directly from archives.
 
20147
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
 
20148
 
 
20149
# Compiler flag to generate thread-safe objects.
 
20150
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
 
20151
 
 
20152
# Library versioning type.
 
20153
version_type=$version_type
 
20154
 
 
20155
# Format of library name prefix.
 
20156
libname_spec=$lt_libname_spec
 
20157
 
 
20158
# List of archive names.  First name is the real one, the rest are links.
 
20159
# The last name is the one that the linker finds with -lNAME.
 
20160
library_names_spec=$lt_library_names_spec
 
20161
 
 
20162
# The coded name of the library, if different from the real name.
 
20163
soname_spec=$lt_soname_spec
 
20164
 
 
20165
# Commands used to build and install an old-style archive.
 
20166
RANLIB=$lt_RANLIB
 
20167
old_archive_cmds=$lt_old_archive_cmds_RC
 
20168
old_postinstall_cmds=$lt_old_postinstall_cmds
 
20169
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
20170
 
 
20171
# Create an old-style archive from a shared archive.
 
20172
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
 
20173
 
 
20174
# Create a temporary old-style archive to link instead of a shared archive.
 
20175
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
 
20176
 
 
20177
# Commands used to build and install a shared archive.
 
20178
archive_cmds=$lt_archive_cmds_RC
 
20179
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
 
20180
postinstall_cmds=$lt_postinstall_cmds
 
20181
postuninstall_cmds=$lt_postuninstall_cmds
 
20182
 
 
20183
# Commands used to build a loadable module (assumed same as above if empty)
 
20184
module_cmds=$lt_module_cmds_RC
 
20185
module_expsym_cmds=$lt_module_expsym_cmds_RC
 
20186
 
 
20187
# Commands to strip libraries.
 
20188
old_striplib=$lt_old_striplib
 
20189
striplib=$lt_striplib
 
20190
 
 
20191
# Dependencies to place before the objects being linked to create a
 
20192
# shared library.
 
20193
predep_objects=$lt_predep_objects_RC
 
20194
 
 
20195
# Dependencies to place after the objects being linked to create a
 
20196
# shared library.
 
20197
postdep_objects=$lt_postdep_objects_RC
 
20198
 
 
20199
# Dependencies to place before the objects being linked to create a
 
20200
# shared library.
 
20201
predeps=$lt_predeps_RC
 
20202
 
 
20203
# Dependencies to place after the objects being linked to create a
 
20204
# shared library.
 
20205
postdeps=$lt_postdeps_RC
 
20206
 
 
20207
# The directories searched by this compiler when creating a shared
 
20208
# library
 
20209
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
 
20210
 
 
20211
# The library search path used internally by the compiler when linking
 
20212
# a shared library.
 
20213
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
 
20214
 
 
20215
# Method to check whether dependent libraries are shared objects.
 
20216
deplibs_check_method=$lt_deplibs_check_method
 
20217
 
 
20218
# Command to use when deplibs_check_method == file_magic.
 
20219
file_magic_cmd=$lt_file_magic_cmd
 
20220
 
 
20221
# Flag that allows shared libraries with undefined symbols to be built.
 
20222
allow_undefined_flag=$lt_allow_undefined_flag_RC
 
20223
 
 
20224
# Flag that forces no undefined symbols.
 
20225
no_undefined_flag=$lt_no_undefined_flag_RC
 
20226
 
 
20227
# Commands used to finish a libtool library installation in a directory.
 
20228
finish_cmds=$lt_finish_cmds
 
20229
 
 
20230
# Same as above, but a single script fragment to be evaled but not shown.
 
20231
finish_eval=$lt_finish_eval
 
20232
 
 
20233
# Take the output of nm and produce a listing of raw symbols and C names.
 
20234
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
20235
 
 
20236
# Transform the output of nm in a proper C declaration
 
20237
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
20238
 
 
20239
# Transform the output of nm in a C name address pair
 
20240
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
20241
 
 
20242
# This is the shared library runtime path variable.
 
20243
runpath_var=$runpath_var
 
20244
 
 
20245
# This is the shared library path variable.
 
20246
shlibpath_var=$shlibpath_var
 
20247
 
 
20248
# Is shlibpath searched before the hard-coded library search path?
 
20249
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
20250
 
 
20251
# How to hardcode a shared library path into an executable.
 
20252
hardcode_action=$hardcode_action_RC
 
20253
 
 
20254
# Whether we should hardcode library paths into libraries.
 
20255
hardcode_into_libs=$hardcode_into_libs
 
20256
 
 
20257
# Flag to hardcode \$libdir into a binary during linking.
 
20258
# This must work even if \$libdir does not exist.
 
20259
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
 
20260
 
 
20261
# If ld is used when linking, flag to hardcode \$libdir into
 
20262
# a binary during linking. This must work even if \$libdir does
 
20263
# not exist.
 
20264
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
 
20265
 
 
20266
# Whether we need a single -rpath flag with a separated argument.
 
20267
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
 
20268
 
 
20269
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 
20270
# resulting binary.
 
20271
hardcode_direct=$hardcode_direct_RC
 
20272
 
 
20273
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 
20274
# resulting binary.
 
20275
hardcode_minus_L=$hardcode_minus_L_RC
 
20276
 
 
20277
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 
20278
# the resulting binary.
 
20279
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
 
20280
 
 
20281
# Set to yes if building a shared library automatically hardcodes DIR into the library
 
20282
# and all subsequent libraries and executables linked against it.
 
20283
hardcode_automatic=$hardcode_automatic_RC
 
20284
 
 
20285
# Variables whose values should be saved in libtool wrapper scripts and
 
20286
# restored at relink time.
 
20287
variables_saved_for_relink="$variables_saved_for_relink"
 
20288
 
 
20289
# Whether libtool must link a program against all its dependency libraries.
 
20290
link_all_deplibs=$link_all_deplibs_RC
 
20291
 
 
20292
# Compile-time system search path for libraries
 
20293
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
20294
 
 
20295
# Run-time system search path for libraries
 
20296
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
20297
 
 
20298
# Fix the shell variable \$srcfile for the compiler.
 
20299
fix_srcfile_path=$lt_fix_srcfile_path
 
20300
 
 
20301
# Set to yes if exported symbols are required.
 
20302
always_export_symbols=$always_export_symbols_RC
 
20303
 
 
20304
# The commands to list exported symbols.
 
20305
export_symbols_cmds=$lt_export_symbols_cmds_RC
 
20306
 
 
20307
# The commands to extract the exported symbol list from a shared archive.
 
20308
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
20309
 
 
20310
# Symbols that should not be listed in the preloaded symbols.
 
20311
exclude_expsyms=$lt_exclude_expsyms_RC
 
20312
 
 
20313
# Symbols that must always be exported.
 
20314
include_expsyms=$lt_include_expsyms_RC
 
20315
 
 
20316
# ### END LIBTOOL TAG CONFIG: $tagname
 
20317
 
 
20318
__EOF__
 
20319
 
 
20320
 
 
20321
else
 
20322
  # If there is no Makefile yet, we rely on a make rule to execute
 
20323
  # `config.status --recheck' to rerun these tests and create the
 
20324
  # libtool script then.
 
20325
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 
20326
  if test -f "$ltmain_in"; then
 
20327
    test -f Makefile && make "$ltmain"
 
20328
  fi
 
20329
fi
 
20330
 
 
20331
 
 
20332
ac_ext=c
 
20333
ac_cpp='$CPP $CPPFLAGS'
 
20334
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
20335
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
20336
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
20337
 
 
20338
CC="$lt_save_CC"
 
20339
 
 
20340
        ;;
 
20341
 
 
20342
      *)
 
20343
        { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
 
20344
$as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
 
20345
   { (exit 1); exit 1; }; }
 
20346
        ;;
 
20347
      esac
 
20348
 
 
20349
      # Append the new tag name to the list of available tags.
 
20350
      if test -n "$tagname" ; then
 
20351
      available_tags="$available_tags $tagname"
 
20352
    fi
 
20353
    fi
 
20354
  done
 
20355
  IFS="$lt_save_ifs"
 
20356
 
 
20357
  # Now substitute the updated list of available tags.
 
20358
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
 
20359
    mv "${ofile}T" "$ofile"
 
20360
    chmod +x "$ofile"
 
20361
  else
 
20362
    rm -f "${ofile}T"
 
20363
    { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
 
20364
$as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
 
20365
   { (exit 1); exit 1; }; }
 
20366
  fi
 
20367
fi
 
20368
 
 
20369
 
 
20370
 
 
20371
# This can be used to rebuild libtool when needed
 
20372
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
 
20373
 
 
20374
# Always use our own libtool.
 
20375
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
20376
 
 
20377
# Prevent multiple expansion
 
20378
 
 
20379
 
 
20380
 
 
20381
 
 
20382
 
 
20383
 
 
20384
 
 
20385
 
 
20386
 
 
20387
 
 
20388
 
 
20389
 
 
20390
 
 
20391
 
 
20392
 
 
20393
 
 
20394
 
 
20395
 
 
20396
 
 
20397
 
 
20398
 
 
20399
if test -z "${YACC}" || test -z "${LEX}"
 
20400
then
 
20401
        { $as_echo "$as_me:$LINENO: WARNING: Lex and Yacc are required to build mofc from scratch or after grammar changes." >&5
 
20402
$as_echo "$as_me: WARNING: Lex and Yacc are required to build mofc from scratch or after grammar changes." >&2;}
 
20403
fi
 
20404
 
 
20405
# Checks for header files.
 
20406
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
20407
$as_echo_n "checking for ANSI C header files... " >&6; }
 
20408
if test "${ac_cv_header_stdc+set}" = set; then
 
20409
  $as_echo_n "(cached) " >&6
 
20410
else
 
20411
  cat >conftest.$ac_ext <<_ACEOF
 
20412
/* confdefs.h.  */
 
20413
_ACEOF
 
20414
cat confdefs.h >>conftest.$ac_ext
 
20415
cat >>conftest.$ac_ext <<_ACEOF
 
20416
/* end confdefs.h.  */
 
20417
#include <stdlib.h>
 
20418
#include <stdarg.h>
 
20419
#include <string.h>
 
20420
#include <float.h>
 
20421
 
 
20422
int
 
20423
main ()
 
20424
{
 
20425
 
 
20426
  ;
 
20427
  return 0;
 
20428
}
 
20429
_ACEOF
 
20430
rm -f conftest.$ac_objext
 
20431
if { (ac_try="$ac_compile"
 
20432
case "(($ac_try" in
 
20433
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20434
  *) ac_try_echo=$ac_try;;
 
20435
esac
 
20436
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20437
$as_echo "$ac_try_echo") >&5
 
20438
  (eval "$ac_compile") 2>conftest.er1
 
20439
  ac_status=$?
 
20440
  grep -v '^ *+' conftest.er1 >conftest.err
 
20441
  rm -f conftest.er1
 
20442
  cat conftest.err >&5
 
20443
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20444
  (exit $ac_status); } && {
 
20445
         test -z "$ac_c_werror_flag" ||
 
20446
         test ! -s conftest.err
 
20447
       } && test -s conftest.$ac_objext; then
 
20448
  ac_cv_header_stdc=yes
 
20449
else
 
20450
  $as_echo "$as_me: failed program was:" >&5
 
20451
sed 's/^/| /' conftest.$ac_ext >&5
 
20452
 
 
20453
        ac_cv_header_stdc=no
 
20454
fi
 
20455
 
 
20456
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20457
 
 
20458
if test $ac_cv_header_stdc = yes; then
 
20459
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
20460
  cat >conftest.$ac_ext <<_ACEOF
 
20461
/* confdefs.h.  */
 
20462
_ACEOF
 
20463
cat confdefs.h >>conftest.$ac_ext
 
20464
cat >>conftest.$ac_ext <<_ACEOF
 
20465
/* end confdefs.h.  */
 
20466
#include <string.h>
 
20467
 
 
20468
_ACEOF
 
20469
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
20470
  $EGREP "memchr" >/dev/null 2>&1; then
 
20471
  :
 
20472
else
 
20473
  ac_cv_header_stdc=no
 
20474
fi
 
20475
rm -f conftest*
 
20476
 
 
20477
fi
 
20478
 
 
20479
if test $ac_cv_header_stdc = yes; then
 
20480
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
20481
  cat >conftest.$ac_ext <<_ACEOF
 
20482
/* confdefs.h.  */
 
20483
_ACEOF
 
20484
cat confdefs.h >>conftest.$ac_ext
 
20485
cat >>conftest.$ac_ext <<_ACEOF
 
20486
/* end confdefs.h.  */
 
20487
#include <stdlib.h>
 
20488
 
 
20489
_ACEOF
 
20490
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
20491
  $EGREP "free" >/dev/null 2>&1; then
 
20492
  :
 
20493
else
 
20494
  ac_cv_header_stdc=no
 
20495
fi
 
20496
rm -f conftest*
 
20497
 
 
20498
fi
 
20499
 
 
20500
if test $ac_cv_header_stdc = yes; then
 
20501
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
20502
  if test "$cross_compiling" = yes; then
 
20503
  :
 
20504
else
 
20505
  cat >conftest.$ac_ext <<_ACEOF
 
20506
/* confdefs.h.  */
 
20507
_ACEOF
 
20508
cat confdefs.h >>conftest.$ac_ext
 
20509
cat >>conftest.$ac_ext <<_ACEOF
 
20510
/* end confdefs.h.  */
 
20511
#include <ctype.h>
 
20512
#include <stdlib.h>
 
20513
#if ((' ' & 0x0FF) == 0x020)
 
20514
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
20515
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
20516
#else
 
20517
# define ISLOWER(c) \
 
20518
                   (('a' <= (c) && (c) <= 'i') \
 
20519
                     || ('j' <= (c) && (c) <= 'r') \
 
20520
                     || ('s' <= (c) && (c) <= 'z'))
 
20521
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
20522
#endif
 
20523
 
 
20524
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
20525
int
 
20526
main ()
 
20527
{
 
20528
  int i;
 
20529
  for (i = 0; i < 256; i++)
 
20530
    if (XOR (islower (i), ISLOWER (i))
 
20531
        || toupper (i) != TOUPPER (i))
 
20532
      return 2;
 
20533
  return 0;
 
20534
}
 
20535
_ACEOF
 
20536
rm -f conftest$ac_exeext
 
20537
if { (ac_try="$ac_link"
 
20538
case "(($ac_try" in
 
20539
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20540
  *) ac_try_echo=$ac_try;;
 
20541
esac
 
20542
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20543
$as_echo "$ac_try_echo") >&5
 
20544
  (eval "$ac_link") 2>&5
 
20545
  ac_status=$?
 
20546
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20547
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
20548
  { (case "(($ac_try" in
 
20549
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20550
  *) ac_try_echo=$ac_try;;
 
20551
esac
 
20552
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20553
$as_echo "$ac_try_echo") >&5
 
20554
  (eval "$ac_try") 2>&5
 
20555
  ac_status=$?
 
20556
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20557
  (exit $ac_status); }; }; then
 
20558
  :
 
20559
else
 
20560
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
20561
$as_echo "$as_me: failed program was:" >&5
 
20562
sed 's/^/| /' conftest.$ac_ext >&5
 
20563
 
 
20564
( exit $ac_status )
 
20565
ac_cv_header_stdc=no
 
20566
fi
 
20567
rm -rf conftest.dSYM
 
20568
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
20569
fi
 
20570
 
 
20571
 
 
20572
fi
 
20573
fi
 
20574
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
20575
$as_echo "$ac_cv_header_stdc" >&6; }
 
20576
if test $ac_cv_header_stdc = yes; then
 
20577
 
 
20578
cat >>confdefs.h <<\_ACEOF
 
20579
#define STDC_HEADERS 1
 
20580
_ACEOF
 
20581
 
 
20582
fi
3829
20583
 
3830
20584
 
3831
20585
 
3833
20587
 
3834
20588
for ac_header in stddef.h stdlib.h string.h unistd.h
3835
20589
do
3836
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3837
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3838
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
3839
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3840
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3841
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20590
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
20591
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20592
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20593
$as_echo_n "checking for $ac_header... " >&6; }
 
20594
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20595
  $as_echo_n "(cached) " >&6
3842
20596
fi
3843
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3844
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20597
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
20598
                 $as_echo "$as_val"'`
 
20599
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20600
$as_echo "$ac_res" >&6; }
3845
20601
else
3846
20602
  # Is the header compilable?
3847
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3848
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
20603
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
20604
$as_echo_n "checking $ac_header usability... " >&6; }
3849
20605
cat >conftest.$ac_ext <<_ACEOF
3850
20606
/* confdefs.h.  */
3851
20607
_ACEOF
3856
20612
#include <$ac_header>
3857
20613
_ACEOF
3858
20614
rm -f conftest.$ac_objext
3859
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3860
 
  (eval $ac_compile) 2>conftest.er1
 
20615
if { (ac_try="$ac_compile"
 
20616
case "(($ac_try" in
 
20617
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20618
  *) ac_try_echo=$ac_try;;
 
20619
esac
 
20620
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20621
$as_echo "$ac_try_echo") >&5
 
20622
  (eval "$ac_compile") 2>conftest.er1
3861
20623
  ac_status=$?
3862
20624
  grep -v '^ *+' conftest.er1 >conftest.err
3863
20625
  rm -f conftest.er1
3864
20626
  cat conftest.err >&5
3865
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866
 
  (exit $ac_status); } &&
3867
 
         { ac_try='test -z "$ac_c_werror_flag"
3868
 
                         || test ! -s conftest.err'
3869
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3870
 
  (eval $ac_try) 2>&5
3871
 
  ac_status=$?
3872
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873
 
  (exit $ac_status); }; } &&
3874
 
         { ac_try='test -s conftest.$ac_objext'
3875
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3876
 
  (eval $ac_try) 2>&5
3877
 
  ac_status=$?
3878
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879
 
  (exit $ac_status); }; }; then
 
20627
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20628
  (exit $ac_status); } && {
 
20629
         test -z "$ac_c_werror_flag" ||
 
20630
         test ! -s conftest.err
 
20631
       } && test -s conftest.$ac_objext; then
3880
20632
  ac_header_compiler=yes
3881
20633
else
3882
 
  echo "$as_me: failed program was:" >&5
 
20634
  $as_echo "$as_me: failed program was:" >&5
3883
20635
sed 's/^/| /' conftest.$ac_ext >&5
3884
20636
 
3885
 
ac_header_compiler=no
 
20637
        ac_header_compiler=no
3886
20638
fi
3887
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3888
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3889
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
20639
 
 
20640
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20641
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20642
$as_echo "$ac_header_compiler" >&6; }
3890
20643
 
3891
20644
# Is the header present?
3892
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3893
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
20645
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
20646
$as_echo_n "checking $ac_header presence... " >&6; }
3894
20647
cat >conftest.$ac_ext <<_ACEOF
3895
20648
/* confdefs.h.  */
3896
20649
_ACEOF
3899
20652
/* end confdefs.h.  */
3900
20653
#include <$ac_header>
3901
20654
_ACEOF
3902
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3903
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
20655
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20656
case "(($ac_try" in
 
20657
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20658
  *) ac_try_echo=$ac_try;;
 
20659
esac
 
20660
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20661
$as_echo "$ac_try_echo") >&5
 
20662
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3904
20663
  ac_status=$?
3905
20664
  grep -v '^ *+' conftest.er1 >conftest.err
3906
20665
  rm -f conftest.er1
3907
20666
  cat conftest.err >&5
3908
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3909
 
  (exit $ac_status); } >/dev/null; then
3910
 
  if test -s conftest.err; then
3911
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3912
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3913
 
  else
3914
 
    ac_cpp_err=
3915
 
  fi
3916
 
else
3917
 
  ac_cpp_err=yes
3918
 
fi
3919
 
if test -z "$ac_cpp_err"; then
 
20667
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20668
  (exit $ac_status); } >/dev/null && {
 
20669
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
20670
         test ! -s conftest.err
 
20671
       }; then
3920
20672
  ac_header_preproc=yes
3921
20673
else
3922
 
  echo "$as_me: failed program was:" >&5
 
20674
  $as_echo "$as_me: failed program was:" >&5
3923
20675
sed 's/^/| /' conftest.$ac_ext >&5
3924
20676
 
3925
20677
  ac_header_preproc=no
3926
20678
fi
 
20679
 
3927
20680
rm -f conftest.err conftest.$ac_ext
3928
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3929
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
20681
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20682
$as_echo "$ac_header_preproc" >&6; }
3930
20683
 
3931
20684
# So?  What about this header?
3932
20685
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3933
20686
  yes:no: )
3934
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3935
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3936
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3937
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
20687
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
20688
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
20689
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
20690
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3938
20691
    ac_header_preproc=yes
3939
20692
    ;;
3940
20693
  no:yes:* )
3941
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3942
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3943
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
3944
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
3945
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3946
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3947
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
3948
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
3949
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3950
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3951
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3952
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3953
 
    (
3954
 
      cat <<\_ASBOX
 
20694
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
20695
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
20696
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
20697
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
20698
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
20699
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
20700
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
20701
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
20702
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
20703
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
20704
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
20705
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
20706
    ( cat <<\_ASBOX
3955
20707
## ------------------------------------------------ ##
3956
20708
## Report this to sblim-devel@lists.sourceforge.net ##
3957
20709
## ------------------------------------------------ ##
3958
20710
_ASBOX
3959
 
    ) |
3960
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
20711
     ) | sed "s/^/$as_me: WARNING:     /" >&2
3961
20712
    ;;
3962
20713
esac
3963
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
3964
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3965
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3966
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20714
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20715
$as_echo_n "checking for $ac_header... " >&6; }
 
20716
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20717
  $as_echo_n "(cached) " >&6
3967
20718
else
3968
20719
  eval "$as_ac_Header=\$ac_header_preproc"
3969
20720
fi
3970
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3971
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20721
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
20722
                 $as_echo "$as_val"'`
 
20723
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20724
$as_echo "$ac_res" >&6; }
3972
20725
 
3973
20726
fi
3974
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
20727
as_val=`eval 'as_val=${'$as_ac_Header'}
 
20728
                 $as_echo "$as_val"'`
 
20729
   if test "x$as_val" = x""yes; then
3975
20730
  cat >>confdefs.h <<_ACEOF
3976
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
20731
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3977
20732
_ACEOF
3978
20733
 
3979
20734
fi
3984
20739
   save_CPPFLAGS=$CPPFLAGS
3985
20740
   CPPFLAGS="-I $SFCB_DIR $MOFC_CMPI_PLATFORM $CPPFLAGS"
3986
20741
   if test "${ac_cv_header_objectImpl_h+set}" = set; then
3987
 
  echo "$as_me:$LINENO: checking for objectImpl.h" >&5
3988
 
echo $ECHO_N "checking for objectImpl.h... $ECHO_C" >&6
 
20742
  { $as_echo "$as_me:$LINENO: checking for objectImpl.h" >&5
 
20743
$as_echo_n "checking for objectImpl.h... " >&6; }
3989
20744
if test "${ac_cv_header_objectImpl_h+set}" = set; then
3990
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20745
  $as_echo_n "(cached) " >&6
3991
20746
fi
3992
 
echo "$as_me:$LINENO: result: $ac_cv_header_objectImpl_h" >&5
3993
 
echo "${ECHO_T}$ac_cv_header_objectImpl_h" >&6
 
20747
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_objectImpl_h" >&5
 
20748
$as_echo "$ac_cv_header_objectImpl_h" >&6; }
3994
20749
else
3995
20750
  # Is the header compilable?
3996
 
echo "$as_me:$LINENO: checking objectImpl.h usability" >&5
3997
 
echo $ECHO_N "checking objectImpl.h usability... $ECHO_C" >&6
 
20751
{ $as_echo "$as_me:$LINENO: checking objectImpl.h usability" >&5
 
20752
$as_echo_n "checking objectImpl.h usability... " >&6; }
3998
20753
cat >conftest.$ac_ext <<_ACEOF
3999
20754
/* confdefs.h.  */
4000
20755
_ACEOF
4005
20760
#include <objectImpl.h>
4006
20761
_ACEOF
4007
20762
rm -f conftest.$ac_objext
4008
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4009
 
  (eval $ac_compile) 2>conftest.er1
 
20763
if { (ac_try="$ac_compile"
 
20764
case "(($ac_try" in
 
20765
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20766
  *) ac_try_echo=$ac_try;;
 
20767
esac
 
20768
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20769
$as_echo "$ac_try_echo") >&5
 
20770
  (eval "$ac_compile") 2>conftest.er1
4010
20771
  ac_status=$?
4011
20772
  grep -v '^ *+' conftest.er1 >conftest.err
4012
20773
  rm -f conftest.er1
4013
20774
  cat conftest.err >&5
4014
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4015
 
  (exit $ac_status); } &&
4016
 
         { ac_try='test -z "$ac_c_werror_flag"
4017
 
                         || test ! -s conftest.err'
4018
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4019
 
  (eval $ac_try) 2>&5
4020
 
  ac_status=$?
4021
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4022
 
  (exit $ac_status); }; } &&
4023
 
         { ac_try='test -s conftest.$ac_objext'
4024
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4025
 
  (eval $ac_try) 2>&5
4026
 
  ac_status=$?
4027
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028
 
  (exit $ac_status); }; }; then
 
20775
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20776
  (exit $ac_status); } && {
 
20777
         test -z "$ac_c_werror_flag" ||
 
20778
         test ! -s conftest.err
 
20779
       } && test -s conftest.$ac_objext; then
4029
20780
  ac_header_compiler=yes
4030
20781
else
4031
 
  echo "$as_me: failed program was:" >&5
 
20782
  $as_echo "$as_me: failed program was:" >&5
4032
20783
sed 's/^/| /' conftest.$ac_ext >&5
4033
20784
 
4034
 
ac_header_compiler=no
 
20785
        ac_header_compiler=no
4035
20786
fi
4036
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4037
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4038
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
20787
 
 
20788
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20789
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20790
$as_echo "$ac_header_compiler" >&6; }
4039
20791
 
4040
20792
# Is the header present?
4041
 
echo "$as_me:$LINENO: checking objectImpl.h presence" >&5
4042
 
echo $ECHO_N "checking objectImpl.h presence... $ECHO_C" >&6
 
20793
{ $as_echo "$as_me:$LINENO: checking objectImpl.h presence" >&5
 
20794
$as_echo_n "checking objectImpl.h presence... " >&6; }
4043
20795
cat >conftest.$ac_ext <<_ACEOF
4044
20796
/* confdefs.h.  */
4045
20797
_ACEOF
4048
20800
/* end confdefs.h.  */
4049
20801
#include <objectImpl.h>
4050
20802
_ACEOF
4051
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4052
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
20803
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20804
case "(($ac_try" in
 
20805
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20806
  *) ac_try_echo=$ac_try;;
 
20807
esac
 
20808
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20809
$as_echo "$ac_try_echo") >&5
 
20810
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4053
20811
  ac_status=$?
4054
20812
  grep -v '^ *+' conftest.er1 >conftest.err
4055
20813
  rm -f conftest.er1
4056
20814
  cat conftest.err >&5
4057
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4058
 
  (exit $ac_status); } >/dev/null; then
4059
 
  if test -s conftest.err; then
4060
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4061
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4062
 
  else
4063
 
    ac_cpp_err=
4064
 
  fi
4065
 
else
4066
 
  ac_cpp_err=yes
4067
 
fi
4068
 
if test -z "$ac_cpp_err"; then
 
20815
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20816
  (exit $ac_status); } >/dev/null && {
 
20817
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
20818
         test ! -s conftest.err
 
20819
       }; then
4069
20820
  ac_header_preproc=yes
4070
20821
else
4071
 
  echo "$as_me: failed program was:" >&5
 
20822
  $as_echo "$as_me: failed program was:" >&5
4072
20823
sed 's/^/| /' conftest.$ac_ext >&5
4073
20824
 
4074
20825
  ac_header_preproc=no
4075
20826
fi
 
20827
 
4076
20828
rm -f conftest.err conftest.$ac_ext
4077
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4078
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
20829
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20830
$as_echo "$ac_header_preproc" >&6; }
4079
20831
 
4080
20832
# So?  What about this header?
4081
20833
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4082
20834
  yes:no: )
4083
 
    { echo "$as_me:$LINENO: WARNING: objectImpl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4084
 
echo "$as_me: WARNING: objectImpl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4085
 
    { echo "$as_me:$LINENO: WARNING: objectImpl.h: proceeding with the compiler's result" >&5
4086
 
echo "$as_me: WARNING: objectImpl.h: proceeding with the compiler's result" >&2;}
 
20835
    { $as_echo "$as_me:$LINENO: WARNING: objectImpl.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
20836
$as_echo "$as_me: WARNING: objectImpl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
20837
    { $as_echo "$as_me:$LINENO: WARNING: objectImpl.h: proceeding with the compiler's result" >&5
 
20838
$as_echo "$as_me: WARNING: objectImpl.h: proceeding with the compiler's result" >&2;}
4087
20839
    ac_header_preproc=yes
4088
20840
    ;;
4089
20841
  no:yes:* )
4090
 
    { echo "$as_me:$LINENO: WARNING: objectImpl.h: present but cannot be compiled" >&5
4091
 
echo "$as_me: WARNING: objectImpl.h: present but cannot be compiled" >&2;}
4092
 
    { echo "$as_me:$LINENO: WARNING: objectImpl.h:     check for missing prerequisite headers?" >&5
4093
 
echo "$as_me: WARNING: objectImpl.h:     check for missing prerequisite headers?" >&2;}
4094
 
    { echo "$as_me:$LINENO: WARNING: objectImpl.h: see the Autoconf documentation" >&5
4095
 
echo "$as_me: WARNING: objectImpl.h: see the Autoconf documentation" >&2;}
4096
 
    { echo "$as_me:$LINENO: WARNING: objectImpl.h:     section \"Present But Cannot Be Compiled\"" >&5
4097
 
echo "$as_me: WARNING: objectImpl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
4098
 
    { echo "$as_me:$LINENO: WARNING: objectImpl.h: proceeding with the preprocessor's result" >&5
4099
 
echo "$as_me: WARNING: objectImpl.h: proceeding with the preprocessor's result" >&2;}
4100
 
    { echo "$as_me:$LINENO: WARNING: objectImpl.h: in the future, the compiler will take precedence" >&5
4101
 
echo "$as_me: WARNING: objectImpl.h: in the future, the compiler will take precedence" >&2;}
4102
 
    (
4103
 
      cat <<\_ASBOX
 
20842
    { $as_echo "$as_me:$LINENO: WARNING: objectImpl.h: present but cannot be compiled" >&5
 
20843
$as_echo "$as_me: WARNING: objectImpl.h: present but cannot be compiled" >&2;}
 
20844
    { $as_echo "$as_me:$LINENO: WARNING: objectImpl.h:     check for missing prerequisite headers?" >&5
 
20845
$as_echo "$as_me: WARNING: objectImpl.h:     check for missing prerequisite headers?" >&2;}
 
20846
    { $as_echo "$as_me:$LINENO: WARNING: objectImpl.h: see the Autoconf documentation" >&5
 
20847
$as_echo "$as_me: WARNING: objectImpl.h: see the Autoconf documentation" >&2;}
 
20848
    { $as_echo "$as_me:$LINENO: WARNING: objectImpl.h:     section \"Present But Cannot Be Compiled\"" >&5
 
20849
$as_echo "$as_me: WARNING: objectImpl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
20850
    { $as_echo "$as_me:$LINENO: WARNING: objectImpl.h: proceeding with the preprocessor's result" >&5
 
20851
$as_echo "$as_me: WARNING: objectImpl.h: proceeding with the preprocessor's result" >&2;}
 
20852
    { $as_echo "$as_me:$LINENO: WARNING: objectImpl.h: in the future, the compiler will take precedence" >&5
 
20853
$as_echo "$as_me: WARNING: objectImpl.h: in the future, the compiler will take precedence" >&2;}
 
20854
    ( cat <<\_ASBOX
4104
20855
## ------------------------------------------------ ##
4105
20856
## Report this to sblim-devel@lists.sourceforge.net ##
4106
20857
## ------------------------------------------------ ##
4107
20858
_ASBOX
4108
 
    ) |
4109
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
20859
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4110
20860
    ;;
4111
20861
esac
4112
 
echo "$as_me:$LINENO: checking for objectImpl.h" >&5
4113
 
echo $ECHO_N "checking for objectImpl.h... $ECHO_C" >&6
 
20862
{ $as_echo "$as_me:$LINENO: checking for objectImpl.h" >&5
 
20863
$as_echo_n "checking for objectImpl.h... " >&6; }
4114
20864
if test "${ac_cv_header_objectImpl_h+set}" = set; then
4115
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20865
  $as_echo_n "(cached) " >&6
4116
20866
else
4117
20867
  ac_cv_header_objectImpl_h=$ac_header_preproc
4118
20868
fi
4119
 
echo "$as_me:$LINENO: result: $ac_cv_header_objectImpl_h" >&5
4120
 
echo "${ECHO_T}$ac_cv_header_objectImpl_h" >&6
 
20869
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_objectImpl_h" >&5
 
20870
$as_echo "$ac_cv_header_objectImpl_h" >&6; }
4121
20871
 
4122
20872
fi
4123
 
if test $ac_cv_header_objectImpl_h = yes; then
 
20873
if test "x$ac_cv_header_objectImpl_h" = x""yes; then
4124
20874
  :
4125
20875
else
4126
 
  { { echo "$as_me:$LINENO: error: sorry, could not find SFCB include files. Hint: set SFCB_DIR environment variable." >&5
4127
 
echo "$as_me: error: sorry, could not find SFCB include files. Hint: set SFCB_DIR environment variable." >&2;}
 
20876
  { { $as_echo "$as_me:$LINENO: error: sorry, could not find SFCB include files. Hint: set SFCB_DIR environment variable." >&5
 
20877
$as_echo "$as_me: error: sorry, could not find SFCB include files. Hint: set SFCB_DIR environment variable." >&2;}
4128
20878
   { (exit 1); exit 1; }; }
4129
20879
fi
4130
20880
 
4137
20887
   save_LDFLAGS=$LDFLAGS
4138
20888
   LDFLAGS="-L $../.libs $LDFLAGS"
4139
20889
 
4140
 
echo "$as_me:$LINENO: checking for main in -lsfcBrokerCore" >&5
4141
 
echo $ECHO_N "checking for main in -lsfcBrokerCore... $ECHO_C" >&6
 
20890
{ $as_echo "$as_me:$LINENO: checking for main in -lsfcBrokerCore" >&5
 
20891
$as_echo_n "checking for main in -lsfcBrokerCore... " >&6; }
4142
20892
if test "${ac_cv_lib_sfcBrokerCore_main+set}" = set; then
4143
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20893
  $as_echo_n "(cached) " >&6
4144
20894
else
4145
20895
  ac_check_lib_save_LIBS=$LIBS
4146
20896
LIBS="-lsfcBrokerCore  $LIBS"
4155
20905
int
4156
20906
main ()
4157
20907
{
4158
 
main ();
 
20908
return main ();
4159
20909
  ;
4160
20910
  return 0;
4161
20911
}
4162
20912
_ACEOF
4163
20913
rm -f conftest.$ac_objext conftest$ac_exeext
4164
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4165
 
  (eval $ac_link) 2>conftest.er1
 
20914
if { (ac_try="$ac_link"
 
20915
case "(($ac_try" in
 
20916
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20917
  *) ac_try_echo=$ac_try;;
 
20918
esac
 
20919
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20920
$as_echo "$ac_try_echo") >&5
 
20921
  (eval "$ac_link") 2>conftest.er1
4166
20922
  ac_status=$?
4167
20923
  grep -v '^ *+' conftest.er1 >conftest.err
4168
20924
  rm -f conftest.er1
4169
20925
  cat conftest.err >&5
4170
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171
 
  (exit $ac_status); } &&
4172
 
         { ac_try='test -z "$ac_c_werror_flag"
4173
 
                         || test ! -s conftest.err'
4174
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4175
 
  (eval $ac_try) 2>&5
4176
 
  ac_status=$?
4177
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178
 
  (exit $ac_status); }; } &&
4179
 
         { ac_try='test -s conftest$ac_exeext'
4180
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4181
 
  (eval $ac_try) 2>&5
4182
 
  ac_status=$?
4183
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184
 
  (exit $ac_status); }; }; then
 
20926
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20927
  (exit $ac_status); } && {
 
20928
         test -z "$ac_c_werror_flag" ||
 
20929
         test ! -s conftest.err
 
20930
       } && test -s conftest$ac_exeext && {
 
20931
         test "$cross_compiling" = yes ||
 
20932
         $as_test_x conftest$ac_exeext
 
20933
       }; then
4185
20934
  ac_cv_lib_sfcBrokerCore_main=yes
4186
20935
else
4187
 
  echo "$as_me: failed program was:" >&5
 
20936
  $as_echo "$as_me: failed program was:" >&5
4188
20937
sed 's/^/| /' conftest.$ac_ext >&5
4189
20938
 
4190
 
ac_cv_lib_sfcBrokerCore_main=no
 
20939
        ac_cv_lib_sfcBrokerCore_main=no
4191
20940
fi
4192
 
rm -f conftest.err conftest.$ac_objext \
 
20941
 
 
20942
rm -rf conftest.dSYM
 
20943
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4193
20944
      conftest$ac_exeext conftest.$ac_ext
4194
20945
LIBS=$ac_check_lib_save_LIBS
4195
20946
fi
4196
 
echo "$as_me:$LINENO: result: $ac_cv_lib_sfcBrokerCore_main" >&5
4197
 
echo "${ECHO_T}$ac_cv_lib_sfcBrokerCore_main" >&6
4198
 
if test $ac_cv_lib_sfcBrokerCore_main = yes; then
 
20947
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sfcBrokerCore_main" >&5
 
20948
$as_echo "$ac_cv_lib_sfcBrokerCore_main" >&6; }
 
20949
if test "x$ac_cv_lib_sfcBrokerCore_main" = x""yes; then
4199
20950
  cat >>confdefs.h <<_ACEOF
4200
20951
#define HAVE_LIBSFCBROKERCORE 1
4201
20952
_ACEOF
4203
20954
  LIBS="-lsfcBrokerCore $LIBS"
4204
20955
 
4205
20956
else
4206
 
  { { echo "$as_me:$LINENO: error: sorry, could not find SFCB libraries." >&5
4207
 
echo "$as_me: error: sorry, could not find SFCB libraries." >&2;}
 
20957
  { { $as_echo "$as_me:$LINENO: error: sorry, could not find SFCB libraries." >&5
 
20958
$as_echo "$as_me: error: sorry, could not find SFCB libraries." >&2;}
4208
20959
   { (exit 1); exit 1; }; }
4209
20960
fi
4210
20961
 
4212
20963
fi;
4213
20964
 
4214
20965
# Checks for typedefs, structures, and compiler characteristics.
4215
 
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4216
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
 
20966
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
20967
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4217
20968
if test "${ac_cv_c_const+set}" = set; then
4218
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20969
  $as_echo_n "(cached) " >&6
4219
20970
else
4220
20971
  cat >conftest.$ac_ext <<_ACEOF
4221
20972
/* confdefs.h.  */
4231
20982
#ifndef __cplusplus
4232
20983
  /* Ultrix mips cc rejects this.  */
4233
20984
  typedef int charset[2];
4234
 
  const charset x;
 
20985
  const charset cs;
4235
20986
  /* SunOS 4.1.1 cc rejects this.  */
4236
 
  char const *const *ccp;
4237
 
  char **p;
 
20987
  char const *const *pcpcc;
 
20988
  char **ppc;
4238
20989
  /* NEC SVR4.0.2 mips cc rejects this.  */
4239
20990
  struct point {int x, y;};
4240
20991
  static struct point const zero = {0,0};
4243
20994
     an arm of an if-expression whose if-part is not a constant
4244
20995
     expression */
4245
20996
  const char *g = "string";
4246
 
  ccp = &g + (g ? g-g : 0);
 
20997
  pcpcc = &g + (g ? g-g : 0);
4247
20998
  /* HPUX 7.0 cc rejects these. */
4248
 
  ++ccp;
4249
 
  p = (char**) ccp;
4250
 
  ccp = (char const *const *) p;
 
20999
  ++pcpcc;
 
21000
  ppc = (char**) pcpcc;
 
21001
  pcpcc = (char const *const *) ppc;
4251
21002
  { /* SCO 3.2v4 cc rejects this.  */
4252
21003
    char *t;
4253
21004
    char const *s = 0 ? (char *) 0 : (char const *) 0;
4254
21005
 
4255
21006
    *t++ = 0;
 
21007
    if (s) return 0;
4256
21008
  }
4257
21009
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4258
21010
    int x[] = {25, 17};
4271
21023
  }
4272
21024
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4273
21025
    const int foo = 10;
 
21026
    if (!foo) return 0;
4274
21027
  }
 
21028
  return !cs[0] && !zero.x;
4275
21029
#endif
4276
21030
 
4277
21031
  ;
4279
21033
}
4280
21034
_ACEOF
4281
21035
rm -f conftest.$ac_objext
4282
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4283
 
  (eval $ac_compile) 2>conftest.er1
 
21036
if { (ac_try="$ac_compile"
 
21037
case "(($ac_try" in
 
21038
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21039
  *) ac_try_echo=$ac_try;;
 
21040
esac
 
21041
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21042
$as_echo "$ac_try_echo") >&5
 
21043
  (eval "$ac_compile") 2>conftest.er1
4284
21044
  ac_status=$?
4285
21045
  grep -v '^ *+' conftest.er1 >conftest.err
4286
21046
  rm -f conftest.er1
4287
21047
  cat conftest.err >&5
4288
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4289
 
  (exit $ac_status); } &&
4290
 
         { ac_try='test -z "$ac_c_werror_flag"
4291
 
                         || test ! -s conftest.err'
4292
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4293
 
  (eval $ac_try) 2>&5
4294
 
  ac_status=$?
4295
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296
 
  (exit $ac_status); }; } &&
4297
 
         { ac_try='test -s conftest.$ac_objext'
4298
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4299
 
  (eval $ac_try) 2>&5
4300
 
  ac_status=$?
4301
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302
 
  (exit $ac_status); }; }; then
 
21048
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21049
  (exit $ac_status); } && {
 
21050
         test -z "$ac_c_werror_flag" ||
 
21051
         test ! -s conftest.err
 
21052
       } && test -s conftest.$ac_objext; then
4303
21053
  ac_cv_c_const=yes
4304
21054
else
4305
 
  echo "$as_me: failed program was:" >&5
 
21055
  $as_echo "$as_me: failed program was:" >&5
4306
21056
sed 's/^/| /' conftest.$ac_ext >&5
4307
21057
 
4308
 
ac_cv_c_const=no
4309
 
fi
4310
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4311
 
fi
4312
 
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4313
 
echo "${ECHO_T}$ac_cv_c_const" >&6
 
21058
        ac_cv_c_const=no
 
21059
fi
 
21060
 
 
21061
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21062
fi
 
21063
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
21064
$as_echo "$ac_cv_c_const" >&6; }
4314
21065
if test $ac_cv_c_const = no; then
4315
21066
 
4316
21067
cat >>confdefs.h <<\_ACEOF
4317
 
#define const
 
21068
#define const /**/
4318
21069
_ACEOF
4319
21070
 
4320
21071
fi
4321
21072
 
4322
 
echo "$as_me:$LINENO: checking for size_t" >&5
4323
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
 
21073
{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
 
21074
$as_echo_n "checking for size_t... " >&6; }
4324
21075
if test "${ac_cv_type_size_t+set}" = set; then
4325
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21076
  $as_echo_n "(cached) " >&6
4326
21077
else
4327
 
  cat >conftest.$ac_ext <<_ACEOF
 
21078
  ac_cv_type_size_t=no
 
21079
cat >conftest.$ac_ext <<_ACEOF
4328
21080
/* confdefs.h.  */
4329
21081
_ACEOF
4330
21082
cat confdefs.h >>conftest.$ac_ext
4334
21086
int
4335
21087
main ()
4336
21088
{
4337
 
if ((size_t *) 0)
4338
 
  return 0;
4339
21089
if (sizeof (size_t))
4340
 
  return 0;
4341
 
  ;
4342
 
  return 0;
4343
 
}
4344
 
_ACEOF
4345
 
rm -f conftest.$ac_objext
4346
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4347
 
  (eval $ac_compile) 2>conftest.er1
4348
 
  ac_status=$?
4349
 
  grep -v '^ *+' conftest.er1 >conftest.err
4350
 
  rm -f conftest.er1
4351
 
  cat conftest.err >&5
4352
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353
 
  (exit $ac_status); } &&
4354
 
         { ac_try='test -z "$ac_c_werror_flag"
4355
 
                         || test ! -s conftest.err'
4356
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4357
 
  (eval $ac_try) 2>&5
4358
 
  ac_status=$?
4359
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4360
 
  (exit $ac_status); }; } &&
4361
 
         { ac_try='test -s conftest.$ac_objext'
4362
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4363
 
  (eval $ac_try) 2>&5
4364
 
  ac_status=$?
4365
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366
 
  (exit $ac_status); }; }; then
4367
 
  ac_cv_type_size_t=yes
4368
 
else
4369
 
  echo "$as_me: failed program was:" >&5
4370
 
sed 's/^/| /' conftest.$ac_ext >&5
4371
 
 
4372
 
ac_cv_type_size_t=no
4373
 
fi
4374
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4375
 
fi
4376
 
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4377
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6
4378
 
if test $ac_cv_type_size_t = yes; then
 
21090
       return 0;
 
21091
  ;
 
21092
  return 0;
 
21093
}
 
21094
_ACEOF
 
21095
rm -f conftest.$ac_objext
 
21096
if { (ac_try="$ac_compile"
 
21097
case "(($ac_try" in
 
21098
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21099
  *) ac_try_echo=$ac_try;;
 
21100
esac
 
21101
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21102
$as_echo "$ac_try_echo") >&5
 
21103
  (eval "$ac_compile") 2>conftest.er1
 
21104
  ac_status=$?
 
21105
  grep -v '^ *+' conftest.er1 >conftest.err
 
21106
  rm -f conftest.er1
 
21107
  cat conftest.err >&5
 
21108
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21109
  (exit $ac_status); } && {
 
21110
         test -z "$ac_c_werror_flag" ||
 
21111
         test ! -s conftest.err
 
21112
       } && test -s conftest.$ac_objext; then
 
21113
  cat >conftest.$ac_ext <<_ACEOF
 
21114
/* confdefs.h.  */
 
21115
_ACEOF
 
21116
cat confdefs.h >>conftest.$ac_ext
 
21117
cat >>conftest.$ac_ext <<_ACEOF
 
21118
/* end confdefs.h.  */
 
21119
$ac_includes_default
 
21120
int
 
21121
main ()
 
21122
{
 
21123
if (sizeof ((size_t)))
 
21124
          return 0;
 
21125
  ;
 
21126
  return 0;
 
21127
}
 
21128
_ACEOF
 
21129
rm -f conftest.$ac_objext
 
21130
if { (ac_try="$ac_compile"
 
21131
case "(($ac_try" in
 
21132
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21133
  *) ac_try_echo=$ac_try;;
 
21134
esac
 
21135
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21136
$as_echo "$ac_try_echo") >&5
 
21137
  (eval "$ac_compile") 2>conftest.er1
 
21138
  ac_status=$?
 
21139
  grep -v '^ *+' conftest.er1 >conftest.err
 
21140
  rm -f conftest.er1
 
21141
  cat conftest.err >&5
 
21142
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21143
  (exit $ac_status); } && {
 
21144
         test -z "$ac_c_werror_flag" ||
 
21145
         test ! -s conftest.err
 
21146
       } && test -s conftest.$ac_objext; then
 
21147
  :
 
21148
else
 
21149
  $as_echo "$as_me: failed program was:" >&5
 
21150
sed 's/^/| /' conftest.$ac_ext >&5
 
21151
 
 
21152
        ac_cv_type_size_t=yes
 
21153
fi
 
21154
 
 
21155
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21156
else
 
21157
  $as_echo "$as_me: failed program was:" >&5
 
21158
sed 's/^/| /' conftest.$ac_ext >&5
 
21159
 
 
21160
 
 
21161
fi
 
21162
 
 
21163
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21164
fi
 
21165
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
21166
$as_echo "$ac_cv_type_size_t" >&6; }
 
21167
if test "x$ac_cv_type_size_t" = x""yes; then
4379
21168
  :
4380
21169
else
4381
21170
 
4382
21171
cat >>confdefs.h <<_ACEOF
4383
 
#define size_t unsigned
 
21172
#define size_t unsigned int
4384
21173
_ACEOF
4385
21174
 
4386
21175
fi
4390
21179
 
4391
21180
for ac_header in stdlib.h
4392
21181
do
4393
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4394
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4395
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4396
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4397
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4398
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21182
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
21183
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21184
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21185
$as_echo_n "checking for $ac_header... " >&6; }
 
21186
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21187
  $as_echo_n "(cached) " >&6
4399
21188
fi
4400
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4401
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21189
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
21190
                 $as_echo "$as_val"'`
 
21191
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21192
$as_echo "$ac_res" >&6; }
4402
21193
else
4403
21194
  # Is the header compilable?
4404
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4405
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
21195
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21196
$as_echo_n "checking $ac_header usability... " >&6; }
4406
21197
cat >conftest.$ac_ext <<_ACEOF
4407
21198
/* confdefs.h.  */
4408
21199
_ACEOF
4413
21204
#include <$ac_header>
4414
21205
_ACEOF
4415
21206
rm -f conftest.$ac_objext
4416
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4417
 
  (eval $ac_compile) 2>conftest.er1
 
21207
if { (ac_try="$ac_compile"
 
21208
case "(($ac_try" in
 
21209
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21210
  *) ac_try_echo=$ac_try;;
 
21211
esac
 
21212
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21213
$as_echo "$ac_try_echo") >&5
 
21214
  (eval "$ac_compile") 2>conftest.er1
4418
21215
  ac_status=$?
4419
21216
  grep -v '^ *+' conftest.er1 >conftest.err
4420
21217
  rm -f conftest.er1
4421
21218
  cat conftest.err >&5
4422
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423
 
  (exit $ac_status); } &&
4424
 
         { ac_try='test -z "$ac_c_werror_flag"
4425
 
                         || test ! -s conftest.err'
4426
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4427
 
  (eval $ac_try) 2>&5
4428
 
  ac_status=$?
4429
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430
 
  (exit $ac_status); }; } &&
4431
 
         { ac_try='test -s conftest.$ac_objext'
4432
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4433
 
  (eval $ac_try) 2>&5
4434
 
  ac_status=$?
4435
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436
 
  (exit $ac_status); }; }; then
 
21219
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21220
  (exit $ac_status); } && {
 
21221
         test -z "$ac_c_werror_flag" ||
 
21222
         test ! -s conftest.err
 
21223
       } && test -s conftest.$ac_objext; then
4437
21224
  ac_header_compiler=yes
4438
21225
else
4439
 
  echo "$as_me: failed program was:" >&5
 
21226
  $as_echo "$as_me: failed program was:" >&5
4440
21227
sed 's/^/| /' conftest.$ac_ext >&5
4441
21228
 
4442
 
ac_header_compiler=no
 
21229
        ac_header_compiler=no
4443
21230
fi
4444
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4445
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4446
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
21231
 
 
21232
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21233
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21234
$as_echo "$ac_header_compiler" >&6; }
4447
21235
 
4448
21236
# Is the header present?
4449
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4450
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
21237
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
21238
$as_echo_n "checking $ac_header presence... " >&6; }
4451
21239
cat >conftest.$ac_ext <<_ACEOF
4452
21240
/* confdefs.h.  */
4453
21241
_ACEOF
4456
21244
/* end confdefs.h.  */
4457
21245
#include <$ac_header>
4458
21246
_ACEOF
4459
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4460
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
21247
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
21248
case "(($ac_try" in
 
21249
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21250
  *) ac_try_echo=$ac_try;;
 
21251
esac
 
21252
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21253
$as_echo "$ac_try_echo") >&5
 
21254
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4461
21255
  ac_status=$?
4462
21256
  grep -v '^ *+' conftest.er1 >conftest.err
4463
21257
  rm -f conftest.er1
4464
21258
  cat conftest.err >&5
4465
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466
 
  (exit $ac_status); } >/dev/null; then
4467
 
  if test -s conftest.err; then
4468
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4469
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4470
 
  else
4471
 
    ac_cpp_err=
4472
 
  fi
4473
 
else
4474
 
  ac_cpp_err=yes
4475
 
fi
4476
 
if test -z "$ac_cpp_err"; then
 
21259
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21260
  (exit $ac_status); } >/dev/null && {
 
21261
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
21262
         test ! -s conftest.err
 
21263
       }; then
4477
21264
  ac_header_preproc=yes
4478
21265
else
4479
 
  echo "$as_me: failed program was:" >&5
 
21266
  $as_echo "$as_me: failed program was:" >&5
4480
21267
sed 's/^/| /' conftest.$ac_ext >&5
4481
21268
 
4482
21269
  ac_header_preproc=no
4483
21270
fi
 
21271
 
4484
21272
rm -f conftest.err conftest.$ac_ext
4485
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4486
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
21273
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21274
$as_echo "$ac_header_preproc" >&6; }
4487
21275
 
4488
21276
# So?  What about this header?
4489
21277
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4490
21278
  yes:no: )
4491
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4492
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4493
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4494
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
21279
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
21280
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
21281
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
21282
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4495
21283
    ac_header_preproc=yes
4496
21284
    ;;
4497
21285
  no:yes:* )
4498
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4499
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4500
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4501
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4502
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4503
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4504
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4505
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4506
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4507
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4508
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4509
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4510
 
    (
4511
 
      cat <<\_ASBOX
 
21286
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
21287
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
21288
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
21289
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
21290
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
21291
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
21292
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
21293
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
21294
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
21295
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
21296
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
21297
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
21298
    ( cat <<\_ASBOX
4512
21299
## ------------------------------------------------ ##
4513
21300
## Report this to sblim-devel@lists.sourceforge.net ##
4514
21301
## ------------------------------------------------ ##
4515
21302
_ASBOX
4516
 
    ) |
4517
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
21303
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4518
21304
    ;;
4519
21305
esac
4520
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4521
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4522
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4523
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21306
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21307
$as_echo_n "checking for $ac_header... " >&6; }
 
21308
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21309
  $as_echo_n "(cached) " >&6
4524
21310
else
4525
21311
  eval "$as_ac_Header=\$ac_header_preproc"
4526
21312
fi
4527
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4528
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21313
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
21314
                 $as_echo "$as_val"'`
 
21315
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21316
$as_echo "$ac_res" >&6; }
4529
21317
 
4530
21318
fi
4531
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
21319
as_val=`eval 'as_val=${'$as_ac_Header'}
 
21320
                 $as_echo "$as_val"'`
 
21321
   if test "x$as_val" = x""yes; then
4532
21322
  cat >>confdefs.h <<_ACEOF
4533
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
21323
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4534
21324
_ACEOF
4535
21325
 
4536
21326
fi
4537
21327
 
4538
21328
done
4539
21329
 
4540
 
echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
4541
 
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
 
21330
{ $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
 
21331
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
4542
21332
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
4543
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21333
  $as_echo_n "(cached) " >&6
4544
21334
else
4545
21335
  if test "$cross_compiling" = yes; then
4546
21336
  ac_cv_func_malloc_0_nonnull=no
4551
21341
cat confdefs.h >>conftest.$ac_ext
4552
21342
cat >>conftest.$ac_ext <<_ACEOF
4553
21343
/* end confdefs.h.  */
4554
 
#if STDC_HEADERS || HAVE_STDLIB_H
 
21344
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
4555
21345
# include <stdlib.h>
4556
21346
#else
4557
21347
char *malloc ();
4560
21350
int
4561
21351
main ()
4562
21352
{
4563
 
exit (malloc (0) ? 0 : 1);
 
21353
return ! malloc (0);
4564
21354
  ;
4565
21355
  return 0;
4566
21356
}
4567
21357
_ACEOF
4568
21358
rm -f conftest$ac_exeext
4569
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4570
 
  (eval $ac_link) 2>&5
 
21359
if { (ac_try="$ac_link"
 
21360
case "(($ac_try" in
 
21361
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21362
  *) ac_try_echo=$ac_try;;
 
21363
esac
 
21364
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21365
$as_echo "$ac_try_echo") >&5
 
21366
  (eval "$ac_link") 2>&5
4571
21367
  ac_status=$?
4572
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21368
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4573
21369
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4574
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4575
 
  (eval $ac_try) 2>&5
 
21370
  { (case "(($ac_try" in
 
21371
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21372
  *) ac_try_echo=$ac_try;;
 
21373
esac
 
21374
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21375
$as_echo "$ac_try_echo") >&5
 
21376
  (eval "$ac_try") 2>&5
4576
21377
  ac_status=$?
4577
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21378
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578
21379
  (exit $ac_status); }; }; then
4579
21380
  ac_cv_func_malloc_0_nonnull=yes
4580
21381
else
4581
 
  echo "$as_me: program exited with status $ac_status" >&5
4582
 
echo "$as_me: failed program was:" >&5
 
21382
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
21383
$as_echo "$as_me: failed program was:" >&5
4583
21384
sed 's/^/| /' conftest.$ac_ext >&5
4584
21385
 
4585
21386
( exit $ac_status )
4586
21387
ac_cv_func_malloc_0_nonnull=no
4587
21388
fi
4588
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4589
 
fi
4590
 
fi
4591
 
echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
4592
 
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
 
21389
rm -rf conftest.dSYM
 
21390
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
21391
fi
 
21392
 
 
21393
 
 
21394
fi
 
21395
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
 
21396
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
4593
21397
if test $ac_cv_func_malloc_0_nonnull = yes; then
4594
21398
 
4595
21399
cat >>confdefs.h <<\_ACEOF
4601
21405
#define HAVE_MALLOC 0
4602
21406
_ACEOF
4603
21407
 
4604
 
   case $LIBOBJS in
4605
 
    "malloc.$ac_objext"   | \
4606
 
  *" malloc.$ac_objext"   | \
4607
 
    "malloc.$ac_objext "* | \
 
21408
   case " $LIBOBJS " in
4608
21409
  *" malloc.$ac_objext "* ) ;;
4609
 
  *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;;
 
21410
  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
 
21411
 ;;
4610
21412
esac
4611
21413
 
4612
21414
 
4621
21423
 
4622
21424
for ac_header in stdlib.h
4623
21425
do
4624
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4625
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4626
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4627
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4628
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4629
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21426
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
21427
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21428
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21429
$as_echo_n "checking for $ac_header... " >&6; }
 
21430
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21431
  $as_echo_n "(cached) " >&6
4630
21432
fi
4631
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4632
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21433
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
21434
                 $as_echo "$as_val"'`
 
21435
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21436
$as_echo "$ac_res" >&6; }
4633
21437
else
4634
21438
  # Is the header compilable?
4635
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4636
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
21439
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21440
$as_echo_n "checking $ac_header usability... " >&6; }
4637
21441
cat >conftest.$ac_ext <<_ACEOF
4638
21442
/* confdefs.h.  */
4639
21443
_ACEOF
4644
21448
#include <$ac_header>
4645
21449
_ACEOF
4646
21450
rm -f conftest.$ac_objext
4647
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4648
 
  (eval $ac_compile) 2>conftest.er1
 
21451
if { (ac_try="$ac_compile"
 
21452
case "(($ac_try" in
 
21453
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21454
  *) ac_try_echo=$ac_try;;
 
21455
esac
 
21456
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21457
$as_echo "$ac_try_echo") >&5
 
21458
  (eval "$ac_compile") 2>conftest.er1
4649
21459
  ac_status=$?
4650
21460
  grep -v '^ *+' conftest.er1 >conftest.err
4651
21461
  rm -f conftest.er1
4652
21462
  cat conftest.err >&5
4653
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654
 
  (exit $ac_status); } &&
4655
 
         { ac_try='test -z "$ac_c_werror_flag"
4656
 
                         || test ! -s conftest.err'
4657
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4658
 
  (eval $ac_try) 2>&5
4659
 
  ac_status=$?
4660
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661
 
  (exit $ac_status); }; } &&
4662
 
         { ac_try='test -s conftest.$ac_objext'
4663
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4664
 
  (eval $ac_try) 2>&5
4665
 
  ac_status=$?
4666
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667
 
  (exit $ac_status); }; }; then
 
21463
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21464
  (exit $ac_status); } && {
 
21465
         test -z "$ac_c_werror_flag" ||
 
21466
         test ! -s conftest.err
 
21467
       } && test -s conftest.$ac_objext; then
4668
21468
  ac_header_compiler=yes
4669
21469
else
4670
 
  echo "$as_me: failed program was:" >&5
 
21470
  $as_echo "$as_me: failed program was:" >&5
4671
21471
sed 's/^/| /' conftest.$ac_ext >&5
4672
21472
 
4673
 
ac_header_compiler=no
 
21473
        ac_header_compiler=no
4674
21474
fi
4675
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4676
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4677
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
21475
 
 
21476
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21477
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21478
$as_echo "$ac_header_compiler" >&6; }
4678
21479
 
4679
21480
# Is the header present?
4680
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4681
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
21481
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
21482
$as_echo_n "checking $ac_header presence... " >&6; }
4682
21483
cat >conftest.$ac_ext <<_ACEOF
4683
21484
/* confdefs.h.  */
4684
21485
_ACEOF
4687
21488
/* end confdefs.h.  */
4688
21489
#include <$ac_header>
4689
21490
_ACEOF
4690
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4691
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
21491
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
21492
case "(($ac_try" in
 
21493
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21494
  *) ac_try_echo=$ac_try;;
 
21495
esac
 
21496
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21497
$as_echo "$ac_try_echo") >&5
 
21498
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4692
21499
  ac_status=$?
4693
21500
  grep -v '^ *+' conftest.er1 >conftest.err
4694
21501
  rm -f conftest.er1
4695
21502
  cat conftest.err >&5
4696
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697
 
  (exit $ac_status); } >/dev/null; then
4698
 
  if test -s conftest.err; then
4699
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4700
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4701
 
  else
4702
 
    ac_cpp_err=
4703
 
  fi
4704
 
else
4705
 
  ac_cpp_err=yes
4706
 
fi
4707
 
if test -z "$ac_cpp_err"; then
 
21503
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21504
  (exit $ac_status); } >/dev/null && {
 
21505
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
21506
         test ! -s conftest.err
 
21507
       }; then
4708
21508
  ac_header_preproc=yes
4709
21509
else
4710
 
  echo "$as_me: failed program was:" >&5
 
21510
  $as_echo "$as_me: failed program was:" >&5
4711
21511
sed 's/^/| /' conftest.$ac_ext >&5
4712
21512
 
4713
21513
  ac_header_preproc=no
4714
21514
fi
 
21515
 
4715
21516
rm -f conftest.err conftest.$ac_ext
4716
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4717
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
21517
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21518
$as_echo "$ac_header_preproc" >&6; }
4718
21519
 
4719
21520
# So?  What about this header?
4720
21521
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4721
21522
  yes:no: )
4722
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4723
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4724
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4725
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
21523
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
21524
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
21525
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
21526
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4726
21527
    ac_header_preproc=yes
4727
21528
    ;;
4728
21529
  no:yes:* )
4729
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4730
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4731
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4732
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4733
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4734
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4735
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4736
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4737
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4738
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4739
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4740
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4741
 
    (
4742
 
      cat <<\_ASBOX
 
21530
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
21531
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
21532
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
21533
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
21534
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
21535
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
21536
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
21537
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
21538
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
21539
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
21540
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
21541
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
21542
    ( cat <<\_ASBOX
4743
21543
## ------------------------------------------------ ##
4744
21544
## Report this to sblim-devel@lists.sourceforge.net ##
4745
21545
## ------------------------------------------------ ##
4746
21546
_ASBOX
4747
 
    ) |
4748
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
21547
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4749
21548
    ;;
4750
21549
esac
4751
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4752
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4753
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4754
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21550
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21551
$as_echo_n "checking for $ac_header... " >&6; }
 
21552
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21553
  $as_echo_n "(cached) " >&6
4755
21554
else
4756
21555
  eval "$as_ac_Header=\$ac_header_preproc"
4757
21556
fi
4758
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4759
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21557
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
21558
                 $as_echo "$as_val"'`
 
21559
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21560
$as_echo "$ac_res" >&6; }
4760
21561
 
4761
21562
fi
4762
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
21563
as_val=`eval 'as_val=${'$as_ac_Header'}
 
21564
                 $as_echo "$as_val"'`
 
21565
   if test "x$as_val" = x""yes; then
4763
21566
  cat >>confdefs.h <<_ACEOF
4764
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
21567
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4765
21568
_ACEOF
4766
21569
 
4767
21570
fi
4768
21571
 
4769
21572
done
4770
21573
 
4771
 
echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
4772
 
echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6
 
21574
{ $as_echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
 
21575
$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
4773
21576
if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
4774
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21577
  $as_echo_n "(cached) " >&6
4775
21578
else
4776
21579
  if test "$cross_compiling" = yes; then
4777
21580
  ac_cv_func_realloc_0_nonnull=no
4782
21585
cat confdefs.h >>conftest.$ac_ext
4783
21586
cat >>conftest.$ac_ext <<_ACEOF
4784
21587
/* end confdefs.h.  */
4785
 
#if STDC_HEADERS || HAVE_STDLIB_H
 
21588
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
4786
21589
# include <stdlib.h>
4787
21590
#else
4788
21591
char *realloc ();
4791
21594
int
4792
21595
main ()
4793
21596
{
4794
 
exit (realloc (0, 0) ? 0 : 1);
 
21597
return ! realloc (0, 0);
4795
21598
  ;
4796
21599
  return 0;
4797
21600
}
4798
21601
_ACEOF
4799
21602
rm -f conftest$ac_exeext
4800
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4801
 
  (eval $ac_link) 2>&5
 
21603
if { (ac_try="$ac_link"
 
21604
case "(($ac_try" in
 
21605
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21606
  *) ac_try_echo=$ac_try;;
 
21607
esac
 
21608
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21609
$as_echo "$ac_try_echo") >&5
 
21610
  (eval "$ac_link") 2>&5
4802
21611
  ac_status=$?
4803
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21612
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804
21613
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4805
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4806
 
  (eval $ac_try) 2>&5
 
21614
  { (case "(($ac_try" in
 
21615
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21616
  *) ac_try_echo=$ac_try;;
 
21617
esac
 
21618
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21619
$as_echo "$ac_try_echo") >&5
 
21620
  (eval "$ac_try") 2>&5
4807
21621
  ac_status=$?
4808
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21622
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809
21623
  (exit $ac_status); }; }; then
4810
21624
  ac_cv_func_realloc_0_nonnull=yes
4811
21625
else
4812
 
  echo "$as_me: program exited with status $ac_status" >&5
4813
 
echo "$as_me: failed program was:" >&5
 
21626
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
21627
$as_echo "$as_me: failed program was:" >&5
4814
21628
sed 's/^/| /' conftest.$ac_ext >&5
4815
21629
 
4816
21630
( exit $ac_status )
4817
21631
ac_cv_func_realloc_0_nonnull=no
4818
21632
fi
4819
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4820
 
fi
4821
 
fi
4822
 
echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
4823
 
echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6
 
21633
rm -rf conftest.dSYM
 
21634
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
21635
fi
 
21636
 
 
21637
 
 
21638
fi
 
21639
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
 
21640
$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
4824
21641
if test $ac_cv_func_realloc_0_nonnull = yes; then
4825
21642
 
4826
21643
cat >>confdefs.h <<\_ACEOF
4832
21649
#define HAVE_REALLOC 0
4833
21650
_ACEOF
4834
21651
 
4835
 
   case $LIBOBJS in
4836
 
    "realloc.$ac_objext"   | \
4837
 
  *" realloc.$ac_objext"   | \
4838
 
    "realloc.$ac_objext "* | \
 
21652
   case " $LIBOBJS " in
4839
21653
  *" realloc.$ac_objext "* ) ;;
4840
 
  *) LIBOBJS="$LIBOBJS realloc.$ac_objext" ;;
 
21654
  *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
 
21655
 ;;
4841
21656
esac
4842
21657
 
4843
21658
 
4856
21671
 
4857
21672
for ac_func in strcasecmp strchr strdup strrchr strstr
4858
21673
do
4859
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4860
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
4861
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4862
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
4863
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21674
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
21675
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
21676
$as_echo_n "checking for $ac_func... " >&6; }
 
21677
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
21678
  $as_echo_n "(cached) " >&6
4864
21679
else
4865
21680
  cat >conftest.$ac_ext <<_ACEOF
4866
21681
/* confdefs.h.  */
4885
21700
 
4886
21701
#undef $ac_func
4887
21702
 
4888
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21703
/* Override any GCC internal prototype to avoid an error.
 
21704
   Use char because int might match the return type of a GCC
 
21705
   builtin and then its argument prototype would still apply.  */
4889
21706
#ifdef __cplusplus
4890
21707
extern "C"
4891
 
{
4892
21708
#endif
4893
 
/* We use char because int might match the return type of a gcc2
4894
 
   builtin and then its argument prototype would still apply.  */
4895
21709
char $ac_func ();
4896
21710
/* The GNU C library defines this for functions which it implements
4897
21711
    to always fail with ENOSYS.  Some functions are actually named
4898
21712
    something starting with __ and the normal name is an alias.  */
4899
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
21713
#if defined __stub_$ac_func || defined __stub___$ac_func
4900
21714
choke me
4901
 
#else
4902
 
char (*f) () = $ac_func;
4903
 
#endif
4904
 
#ifdef __cplusplus
4905
 
}
4906
21715
#endif
4907
21716
 
4908
21717
int
4909
21718
main ()
4910
21719
{
4911
 
return f != $ac_func;
 
21720
return $ac_func ();
4912
21721
  ;
4913
21722
  return 0;
4914
21723
}
4915
21724
_ACEOF
4916
21725
rm -f conftest.$ac_objext conftest$ac_exeext
4917
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4918
 
  (eval $ac_link) 2>conftest.er1
 
21726
if { (ac_try="$ac_link"
 
21727
case "(($ac_try" in
 
21728
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21729
  *) ac_try_echo=$ac_try;;
 
21730
esac
 
21731
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21732
$as_echo "$ac_try_echo") >&5
 
21733
  (eval "$ac_link") 2>conftest.er1
4919
21734
  ac_status=$?
4920
21735
  grep -v '^ *+' conftest.er1 >conftest.err
4921
21736
  rm -f conftest.er1
4922
21737
  cat conftest.err >&5
4923
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924
 
  (exit $ac_status); } &&
4925
 
         { ac_try='test -z "$ac_c_werror_flag"
4926
 
                         || test ! -s conftest.err'
4927
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4928
 
  (eval $ac_try) 2>&5
4929
 
  ac_status=$?
4930
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4931
 
  (exit $ac_status); }; } &&
4932
 
         { ac_try='test -s conftest$ac_exeext'
4933
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4934
 
  (eval $ac_try) 2>&5
4935
 
  ac_status=$?
4936
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4937
 
  (exit $ac_status); }; }; then
 
21738
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21739
  (exit $ac_status); } && {
 
21740
         test -z "$ac_c_werror_flag" ||
 
21741
         test ! -s conftest.err
 
21742
       } && test -s conftest$ac_exeext && {
 
21743
         test "$cross_compiling" = yes ||
 
21744
         $as_test_x conftest$ac_exeext
 
21745
       }; then
4938
21746
  eval "$as_ac_var=yes"
4939
21747
else
4940
 
  echo "$as_me: failed program was:" >&5
 
21748
  $as_echo "$as_me: failed program was:" >&5
4941
21749
sed 's/^/| /' conftest.$ac_ext >&5
4942
21750
 
4943
 
eval "$as_ac_var=no"
 
21751
        eval "$as_ac_var=no"
4944
21752
fi
4945
 
rm -f conftest.err conftest.$ac_objext \
 
21753
 
 
21754
rm -rf conftest.dSYM
 
21755
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4946
21756
      conftest$ac_exeext conftest.$ac_ext
4947
21757
fi
4948
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4949
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4950
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
21758
ac_res=`eval 'as_val=${'$as_ac_var'}
 
21759
                 $as_echo "$as_val"'`
 
21760
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21761
$as_echo "$ac_res" >&6; }
 
21762
as_val=`eval 'as_val=${'$as_ac_var'}
 
21763
                 $as_echo "$as_val"'`
 
21764
   if test "x$as_val" = x""yes; then
4951
21765
  cat >>confdefs.h <<_ACEOF
4952
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
21766
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4953
21767
_ACEOF
4954
21768
 
4955
21769
fi
4960
21774
if test "$enable_relax_mofsyntax" = yes; then
4961
21775
 
4962
21776
cat >>confdefs.h <<\_ACEOF
4963
 
#define RELAXED_MOF
 
21777
#define RELAXED_MOF /**/
4964
21778
_ACEOF
4965
21779
 
4966
21780
fi
4968
21782
if test "$enable_namespace_kludge" = yes; then
4969
21783
 
4970
21784
cat >>confdefs.h <<\_ACEOF
4971
 
#define NAMESPACE_KLUDGE
 
21785
#define NAMESPACE_KLUDGE /**/
4972
21786
_ACEOF
4973
21787
 
4974
21788
fi
4976
21790
if test "$enable_onepass" = yes; then
4977
21791
 
4978
21792
cat >>confdefs.h <<\_ACEOF
4979
 
#define ONEPASS
 
21793
#define ONEPASS /**/
4980
21794
_ACEOF
4981
21795
 
4982
21796
fi
4983
21797
 
4984
 
 
4985
 
 
4986
 
if test "$enable_testscanner" == yes; then
 
21798
 if test "$enable_testscanner" == yes; then
4987
21799
  TESTSCANNER_TRUE=
4988
21800
  TESTSCANNER_FALSE='#'
4989
21801
else
4991
21803
  TESTSCANNER_FALSE=
4992
21804
fi
4993
21805
 
4994
 
 
4995
 
 
4996
 
if test x"$MOFCNAME" != x; then
 
21806
 if test x"$MOFCNAME" != x; then
4997
21807
  ALTERNATE_MOFCNAME_TRUE=
4998
21808
  ALTERNATE_MOFCNAME_FALSE='#'
4999
21809
else
5018
21828
echo =================================================================
5019
21829
 
5020
21830
 
5021
 
          ac_config_files="$ac_config_files Makefile"
 
21831
ac_config_files="$ac_config_files Makefile"
5022
21832
 
5023
21833
cat >confcache <<\_ACEOF
5024
21834
# This file is a shell script that caches the results of configure
5038
21848
 
5039
21849
# The following way of writing the cache mishandles newlines in values,
5040
21850
# but we know of no workaround that is simple, portable, and efficient.
5041
 
# So, don't put newlines in cache variables' values.
 
21851
# So, we kill variables containing newlines.
5042
21852
# Ultrix sh set writes to stderr and can't be redirected directly,
5043
21853
# and sets the high bit in the cache file unless we assign to the vars.
5044
 
{
 
21854
(
 
21855
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
21856
    eval ac_val=\$$ac_var
 
21857
    case $ac_val in #(
 
21858
    *${as_nl}*)
 
21859
      case $ac_var in #(
 
21860
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
21861
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
21862
      esac
 
21863
      case $ac_var in #(
 
21864
      _ | IFS | as_nl) ;; #(
 
21865
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
21866
      *) $as_unset $ac_var ;;
 
21867
      esac ;;
 
21868
    esac
 
21869
  done
 
21870
 
5045
21871
  (set) 2>&1 |
5046
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
5047
 
    *ac_space=\ *)
 
21872
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
21873
    *${as_nl}ac_space=\ *)
5048
21874
      # `set' does not quote correctly, so add quotes (double-quote
5049
21875
      # substitution turns \\\\ into \\, and sed turns \\ into \).
5050
21876
      sed -n \
5051
21877
        "s/'/'\\\\''/g;
5052
21878
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5053
 
      ;;
 
21879
      ;; #(
5054
21880
    *)
5055
21881
      # `set' quotes correctly as required by POSIX, so do not add quotes.
5056
 
      sed -n \
5057
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
21882
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5058
21883
      ;;
5059
 
    esac;
5060
 
} |
 
21884
    esac |
 
21885
    sort
 
21886
) |
5061
21887
  sed '
 
21888
     /^ac_cv_env_/b end
5062
21889
     t clear
5063
 
     : clear
 
21890
     :clear
5064
21891
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5065
21892
     t end
5066
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5067
 
     : end' >>confcache
5068
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
5069
 
  if test -w $cache_file; then
5070
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
21893
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
21894
     :end' >>confcache
 
21895
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
21896
  if test -w "$cache_file"; then
 
21897
    test "x$cache_file" != "x/dev/null" &&
 
21898
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
21899
$as_echo "$as_me: updating cache $cache_file" >&6;}
5071
21900
    cat confcache >$cache_file
5072
21901
  else
5073
 
    echo "not updating unwritable cache $cache_file"
 
21902
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
21903
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5074
21904
  fi
5075
21905
fi
5076
21906
rm -f confcache
5079
21909
# Let make expand exec_prefix.
5080
21910
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5081
21911
 
5082
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5083
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5084
 
# trailing colons and then remove the whole line if VPATH becomes empty
5085
 
# (actually we leave an empty line to preserve line numbers).
5086
 
if test "x$srcdir" = x.; then
5087
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
5088
 
s/:*\$(srcdir):*/:/;
5089
 
s/:*\${srcdir}:*/:/;
5090
 
s/:*@srcdir@:*/:/;
5091
 
s/^\([^=]*=[     ]*\):*/\1/;
5092
 
s/:*$//;
5093
 
s/^[^=]*=[       ]*$//;
5094
 
}'
5095
 
fi
5096
 
 
5097
21912
DEFS=-DHAVE_CONFIG_H
5098
21913
 
5099
21914
ac_libobjs=
5100
21915
ac_ltlibobjs=
5101
21916
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5102
21917
  # 1. Remove the extension, and $U if already installed.
5103
 
  ac_i=`echo "$ac_i" |
5104
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5105
 
  # 2. Add them.
5106
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5107
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
21918
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
21919
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
21920
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
21921
  #    will be set to the directory where LIBOBJS objects are built.
 
21922
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
21923
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5108
21924
done
5109
21925
LIBOBJS=$ac_libobjs
5110
21926
 
5112
21928
 
5113
21929
 
5114
21930
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5115
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
21931
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5116
21932
Usually this means the macro was only invoked conditionally." >&5
5117
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
21933
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5118
21934
Usually this means the macro was only invoked conditionally." >&2;}
5119
21935
   { (exit 1); exit 1; }; }
5120
21936
fi
5121
21937
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5122
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5123
 
Usually this means the macro was only invoked conditionally." >&5
5124
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
21938
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
21939
Usually this means the macro was only invoked conditionally." >&5
 
21940
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
21941
Usually this means the macro was only invoked conditionally." >&2;}
 
21942
   { (exit 1); exit 1; }; }
 
21943
fi
 
21944
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
21945
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
21946
Usually this means the macro was only invoked conditionally." >&5
 
21947
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5125
21948
Usually this means the macro was only invoked conditionally." >&2;}
5126
21949
   { (exit 1); exit 1; }; }
5127
21950
fi
5128
21951
if test -z "${TESTSCANNER_TRUE}" && test -z "${TESTSCANNER_FALSE}"; then
5129
 
  { { echo "$as_me:$LINENO: error: conditional \"TESTSCANNER\" was never defined.
 
21952
  { { $as_echo "$as_me:$LINENO: error: conditional \"TESTSCANNER\" was never defined.
5130
21953
Usually this means the macro was only invoked conditionally." >&5
5131
 
echo "$as_me: error: conditional \"TESTSCANNER\" was never defined.
 
21954
$as_echo "$as_me: error: conditional \"TESTSCANNER\" was never defined.
5132
21955
Usually this means the macro was only invoked conditionally." >&2;}
5133
21956
   { (exit 1); exit 1; }; }
5134
21957
fi
5135
21958
if test -z "${ALTERNATE_MOFCNAME_TRUE}" && test -z "${ALTERNATE_MOFCNAME_FALSE}"; then
5136
 
  { { echo "$as_me:$LINENO: error: conditional \"ALTERNATE_MOFCNAME\" was never defined.
 
21959
  { { $as_echo "$as_me:$LINENO: error: conditional \"ALTERNATE_MOFCNAME\" was never defined.
5137
21960
Usually this means the macro was only invoked conditionally." >&5
5138
 
echo "$as_me: error: conditional \"ALTERNATE_MOFCNAME\" was never defined.
 
21961
$as_echo "$as_me: error: conditional \"ALTERNATE_MOFCNAME\" was never defined.
5139
21962
Usually this means the macro was only invoked conditionally." >&2;}
5140
21963
   { (exit 1); exit 1; }; }
5141
21964
fi
5142
21965
 
5143
21966
: ${CONFIG_STATUS=./config.status}
 
21967
ac_write_fail=0
5144
21968
ac_clean_files_save=$ac_clean_files
5145
21969
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5146
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5147
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
5148
 
cat >$CONFIG_STATUS <<_ACEOF
 
21970
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
21971
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
21972
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5149
21973
#! $SHELL
5150
21974
# Generated by $as_me.
5151
21975
# Run this file to recreate the current configuration.
5158
21982
SHELL=\${CONFIG_SHELL-$SHELL}
5159
21983
_ACEOF
5160
21984
 
5161
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
21985
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5162
21986
## --------------------- ##
5163
21987
## M4sh Initialization.  ##
5164
21988
## --------------------- ##
5165
21989
 
5166
 
# Be Bourne compatible
 
21990
# Be more Bourne compatible
 
21991
DUALCASE=1; export DUALCASE # for MKS sh
5167
21992
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5168
21993
  emulate sh
5169
21994
  NULLCMD=:
5170
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
21995
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5171
21996
  # is contrary to our usage.  Disable this feature.
5172
21997
  alias -g '${1+"$@"}'='"$@"'
5173
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5174
 
  set -o posix
5175
 
fi
5176
 
DUALCASE=1; export DUALCASE # for MKS sh
 
21998
  setopt NO_GLOB_SUBST
 
21999
else
 
22000
  case `(set -o) 2>/dev/null` in
 
22001
  *posix*) set -o posix ;;
 
22002
esac
 
22003
 
 
22004
fi
 
22005
 
 
22006
 
 
22007
 
 
22008
 
 
22009
# PATH needs CR
 
22010
# Avoid depending upon Character Ranges.
 
22011
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
22012
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
22013
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
22014
as_cr_digits='0123456789'
 
22015
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
22016
 
 
22017
as_nl='
 
22018
'
 
22019
export as_nl
 
22020
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
22021
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
22022
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
22023
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
22024
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
22025
  as_echo='printf %s\n'
 
22026
  as_echo_n='printf %s'
 
22027
else
 
22028
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
22029
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
22030
    as_echo_n='/usr/ucb/echo -n'
 
22031
  else
 
22032
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
22033
    as_echo_n_body='eval
 
22034
      arg=$1;
 
22035
      case $arg in
 
22036
      *"$as_nl"*)
 
22037
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
22038
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
22039
      esac;
 
22040
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
22041
    '
 
22042
    export as_echo_n_body
 
22043
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
22044
  fi
 
22045
  export as_echo_body
 
22046
  as_echo='sh -c $as_echo_body as_echo'
 
22047
fi
 
22048
 
 
22049
# The user is always right.
 
22050
if test "${PATH_SEPARATOR+set}" != set; then
 
22051
  PATH_SEPARATOR=:
 
22052
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
22053
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
22054
      PATH_SEPARATOR=';'
 
22055
  }
 
22056
fi
5177
22057
 
5178
22058
# Support unset when possible.
5179
22059
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5183
22063
fi
5184
22064
 
5185
22065
 
 
22066
# IFS
 
22067
# We need space, tab and new line, in precisely that order.  Quoting is
 
22068
# there to prevent editors from complaining about space-tab.
 
22069
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
22070
# splitting by setting IFS to empty value.)
 
22071
IFS=" ""        $as_nl"
 
22072
 
 
22073
# Find who we are.  Look in the path if we contain no directory separator.
 
22074
case $0 in
 
22075
  *[\\/]* ) as_myself=$0 ;;
 
22076
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
22077
for as_dir in $PATH
 
22078
do
 
22079
  IFS=$as_save_IFS
 
22080
  test -z "$as_dir" && as_dir=.
 
22081
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
22082
done
 
22083
IFS=$as_save_IFS
 
22084
 
 
22085
     ;;
 
22086
esac
 
22087
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
22088
# in which case we are not to be found in the path.
 
22089
if test "x$as_myself" = x; then
 
22090
  as_myself=$0
 
22091
fi
 
22092
if test ! -f "$as_myself"; then
 
22093
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
22094
  { (exit 1); exit 1; }
 
22095
fi
 
22096
 
5186
22097
# Work around bugs in pre-3.0 UWIN ksh.
5187
 
$as_unset ENV MAIL MAILPATH
 
22098
for as_var in ENV MAIL MAILPATH
 
22099
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
22100
done
5188
22101
PS1='$ '
5189
22102
PS2='> '
5190
22103
PS4='+ '
5191
22104
 
5192
22105
# NLS nuisances.
5193
 
for as_var in \
5194
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5195
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5196
 
  LC_TELEPHONE LC_TIME
5197
 
do
5198
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5199
 
    eval $as_var=C; export $as_var
5200
 
  else
5201
 
    $as_unset $as_var
5202
 
  fi
5203
 
done
 
22106
LC_ALL=C
 
22107
export LC_ALL
 
22108
LANGUAGE=C
 
22109
export LANGUAGE
5204
22110
 
5205
22111
# Required to use basename.
5206
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
22112
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
22113
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5207
22114
  as_expr=expr
5208
22115
else
5209
22116
  as_expr=false
5210
22117
fi
5211
22118
 
5212
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
22119
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5213
22120
  as_basename=basename
5214
22121
else
5215
22122
  as_basename=false
5217
22124
 
5218
22125
 
5219
22126
# Name of the executable.
5220
 
as_me=`$as_basename "$0" ||
 
22127
as_me=`$as_basename -- "$0" ||
5221
22128
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5222
22129
         X"$0" : 'X\(//\)$' \| \
5223
 
         X"$0" : 'X\(/\)$' \| \
5224
 
         .     : '\(.\)' 2>/dev/null ||
5225
 
echo X/"$0" |
5226
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5227
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
5228
 
          /^X\/\(\/\).*/{ s//\1/; q; }
5229
 
          s/.*/./; q'`
5230
 
 
5231
 
 
5232
 
# PATH needs CR, and LINENO needs CR and PATH.
5233
 
# Avoid depending upon Character Ranges.
5234
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5235
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5236
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5237
 
as_cr_digits='0123456789'
5238
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
5239
 
 
5240
 
# The user is always right.
5241
 
if test "${PATH_SEPARATOR+set}" != set; then
5242
 
  echo "#! /bin/sh" >conf$$.sh
5243
 
  echo  "exit 0"   >>conf$$.sh
5244
 
  chmod +x conf$$.sh
5245
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5246
 
    PATH_SEPARATOR=';'
5247
 
  else
5248
 
    PATH_SEPARATOR=:
5249
 
  fi
5250
 
  rm -f conf$$.sh
5251
 
fi
5252
 
 
5253
 
 
5254
 
  as_lineno_1=$LINENO
5255
 
  as_lineno_2=$LINENO
5256
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5257
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
5258
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
5259
 
  # Find who we are.  Look in the path if we contain no path at all
5260
 
  # relative or not.
5261
 
  case $0 in
5262
 
    *[\\/]* ) as_myself=$0 ;;
5263
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5264
 
for as_dir in $PATH
5265
 
do
5266
 
  IFS=$as_save_IFS
5267
 
  test -z "$as_dir" && as_dir=.
5268
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5269
 
done
5270
 
 
5271
 
       ;;
5272
 
  esac
5273
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
5274
 
  # in which case we are not to be found in the path.
5275
 
  if test "x$as_myself" = x; then
5276
 
    as_myself=$0
5277
 
  fi
5278
 
  if test ! -f "$as_myself"; then
5279
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5280
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5281
 
   { (exit 1); exit 1; }; }
5282
 
  fi
5283
 
  case $CONFIG_SHELL in
5284
 
  '')
5285
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5286
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5287
 
do
5288
 
  IFS=$as_save_IFS
5289
 
  test -z "$as_dir" && as_dir=.
5290
 
  for as_base in sh bash ksh sh5; do
5291
 
         case $as_dir in
5292
 
         /*)
5293
 
           if ("$as_dir/$as_base" -c '
5294
 
  as_lineno_1=$LINENO
5295
 
  as_lineno_2=$LINENO
5296
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5297
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
5298
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
5299
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5300
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5301
 
             CONFIG_SHELL=$as_dir/$as_base
5302
 
             export CONFIG_SHELL
5303
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5304
 
           fi;;
5305
 
         esac
5306
 
       done
5307
 
done
5308
 
;;
5309
 
  esac
 
22130
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
22131
$as_echo X/"$0" |
 
22132
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
22133
            s//\1/
 
22134
            q
 
22135
          }
 
22136
          /^X\/\(\/\/\)$/{
 
22137
            s//\1/
 
22138
            q
 
22139
          }
 
22140
          /^X\/\(\/\).*/{
 
22141
            s//\1/
 
22142
            q
 
22143
          }
 
22144
          s/.*/./; q'`
 
22145
 
 
22146
# CDPATH.
 
22147
$as_unset CDPATH
 
22148
 
 
22149
 
 
22150
 
 
22151
  as_lineno_1=$LINENO
 
22152
  as_lineno_2=$LINENO
 
22153
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
22154
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5310
22155
 
5311
22156
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5312
22157
  # uniformly replaced by the line number.  The first 'sed' inserts a
5313
 
  # line-number line before each line; the second 'sed' does the real
5314
 
  # work.  The second script uses 'N' to pair each line-number line
5315
 
  # with the numbered line, and appends trailing '-' during
5316
 
  # substitution so that $LINENO is not a special case at line end.
 
22158
  # line-number line after each line using $LINENO; the second 'sed'
 
22159
  # does the real work.  The second script uses 'N' to pair each
 
22160
  # line-number line with the line containing $LINENO, and appends
 
22161
  # trailing '-' during substitution so that $LINENO is not a special
 
22162
  # case at line end.
5317
22163
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5318
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
5319
 
  sed '=' <$as_myself |
 
22164
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
22165
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
22166
  sed -n '
 
22167
    p
 
22168
    /[$]LINENO/=
 
22169
  ' <$as_myself |
5320
22170
    sed '
 
22171
      s/[$]LINENO.*/&-/
 
22172
      t lineno
 
22173
      b
 
22174
      :lineno
5321
22175
      N
5322
 
      s,$,-,
5323
 
      : loop
5324
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
22176
      :loop
 
22177
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5325
22178
      t loop
5326
 
      s,-$,,
5327
 
      s,^['$as_cr_digits']*\n,,
 
22179
      s/-\n.*//
5328
22180
    ' >$as_me.lineno &&
5329
 
  chmod +x $as_me.lineno ||
5330
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5331
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
22181
  chmod +x "$as_me.lineno" ||
 
22182
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5332
22183
   { (exit 1); exit 1; }; }
5333
22184
 
5334
22185
  # Don't try to exec as it changes $[0], causing all sort of problems
5335
22186
  # (the dirname of $[0] is not the place where we might find the
5336
 
  # original and so on.  Autoconf is especially sensible to this).
5337
 
  . ./$as_me.lineno
 
22187
  # original and so on.  Autoconf is especially sensitive to this).
 
22188
  . "./$as_me.lineno"
5338
22189
  # Exit status is that of the last command.
5339
22190
  exit
5340
22191
}
5341
22192
 
5342
22193
 
5343
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5344
 
  *c*,-n*) ECHO_N= ECHO_C='
5345
 
' ECHO_T='      ' ;;
5346
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5347
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
22194
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
22195
  as_dirname=dirname
 
22196
else
 
22197
  as_dirname=false
 
22198
fi
 
22199
 
 
22200
ECHO_C= ECHO_N= ECHO_T=
 
22201
case `echo -n x` in
 
22202
-n*)
 
22203
  case `echo 'x\c'` in
 
22204
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
22205
  *)   ECHO_C='\c';;
 
22206
  esac;;
 
22207
*)
 
22208
  ECHO_N='-n';;
5348
22209
esac
5349
 
 
5350
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
22210
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
22211
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5351
22212
  as_expr=expr
5352
22213
else
5353
22214
  as_expr=false
5354
22215
fi
5355
22216
 
5356
22217
rm -f conf$$ conf$$.exe conf$$.file
5357
 
echo >conf$$.file
5358
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
5359
 
  # We could just check for DJGPP; but this test a) works b) is more generic
5360
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5361
 
  if test -f conf$$.exe; then
5362
 
    # Don't use ln at all; we don't have any links
 
22218
if test -d conf$$.dir; then
 
22219
  rm -f conf$$.dir/conf$$.file
 
22220
else
 
22221
  rm -f conf$$.dir
 
22222
  mkdir conf$$.dir 2>/dev/null
 
22223
fi
 
22224
if (echo >conf$$.file) 2>/dev/null; then
 
22225
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
22226
    as_ln_s='ln -s'
 
22227
    # ... but there are two gotchas:
 
22228
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
22229
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
22230
    # In both cases, we have to default to `cp -p'.
 
22231
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
22232
      as_ln_s='cp -p'
 
22233
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
22234
    as_ln_s=ln
 
22235
  else
5363
22236
    as_ln_s='cp -p'
5364
 
  else
5365
 
    as_ln_s='ln -s'
5366
22237
  fi
5367
 
elif ln conf$$.file conf$$ 2>/dev/null; then
5368
 
  as_ln_s=ln
5369
22238
else
5370
22239
  as_ln_s='cp -p'
5371
22240
fi
5372
 
rm -f conf$$ conf$$.exe conf$$.file
 
22241
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
22242
rmdir conf$$.dir 2>/dev/null
5373
22243
 
5374
22244
if mkdir -p . 2>/dev/null; then
5375
22245
  as_mkdir_p=:
5378
22248
  as_mkdir_p=false
5379
22249
fi
5380
22250
 
5381
 
as_executable_p="test -f"
 
22251
if test -x / >/dev/null 2>&1; then
 
22252
  as_test_x='test -x'
 
22253
else
 
22254
  if ls -dL / >/dev/null 2>&1; then
 
22255
    as_ls_L_option=L
 
22256
  else
 
22257
    as_ls_L_option=
 
22258
  fi
 
22259
  as_test_x='
 
22260
    eval sh -c '\''
 
22261
      if test -d "$1"; then
 
22262
        test -d "$1/.";
 
22263
      else
 
22264
        case $1 in
 
22265
        -*)set "./$1";;
 
22266
        esac;
 
22267
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
22268
        ???[sx]*):;;*)false;;esac;fi
 
22269
    '\'' sh
 
22270
  '
 
22271
fi
 
22272
as_executable_p=$as_test_x
5382
22273
 
5383
22274
# Sed expression to map a string onto a valid CPP name.
5384
22275
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5387
22278
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5388
22279
 
5389
22280
 
5390
 
# IFS
5391
 
# We need space, tab and new line, in precisely that order.
5392
 
as_nl='
5393
 
'
5394
 
IFS="   $as_nl"
5395
 
 
5396
 
# CDPATH.
5397
 
$as_unset CDPATH
5398
 
 
5399
22281
exec 6>&1
5400
22282
 
5401
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
22283
# Save the log message, to keep $[0] and so on meaningful, and to
5402
22284
# report actual input values of CONFIG_FILES etc. instead of their
5403
 
# values after options handling.  Logging --version etc. is OK.
5404
 
exec 5>>config.log
5405
 
{
5406
 
  echo
5407
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5408
 
## Running $as_me. ##
5409
 
_ASBOX
5410
 
} >&5
5411
 
cat >&5 <<_CSEOF
5412
 
 
 
22285
# values after options handling.
 
22286
ac_log="
5413
22287
This file was extended by MOF Compiler $as_me 0.8.2, which was
5414
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
22288
generated by GNU Autoconf 2.63.  Invocation command line was
5415
22289
 
5416
22290
  CONFIG_FILES    = $CONFIG_FILES
5417
22291
  CONFIG_HEADERS  = $CONFIG_HEADERS
5419
22293
  CONFIG_COMMANDS = $CONFIG_COMMANDS
5420
22294
  $ $0 $@
5421
22295
 
5422
 
_CSEOF
5423
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5424
 
echo >&5
 
22296
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
22297
"
 
22298
 
5425
22299
_ACEOF
5426
22300
 
 
22301
case $ac_config_files in *"
 
22302
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
22303
esac
 
22304
 
 
22305
case $ac_config_headers in *"
 
22306
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
22307
esac
 
22308
 
 
22309
 
 
22310
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5427
22311
# Files that config.status was made for.
5428
 
if test -n "$ac_config_files"; then
5429
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5430
 
fi
5431
 
 
5432
 
if test -n "$ac_config_headers"; then
5433
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5434
 
fi
5435
 
 
5436
 
if test -n "$ac_config_links"; then
5437
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5438
 
fi
5439
 
 
5440
 
if test -n "$ac_config_commands"; then
5441
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5442
 
fi
5443
 
 
5444
 
cat >>$CONFIG_STATUS <<\_ACEOF
5445
 
 
 
22312
config_files="$ac_config_files"
 
22313
config_headers="$ac_config_headers"
 
22314
config_commands="$ac_config_commands"
 
22315
 
 
22316
_ACEOF
 
22317
 
 
22318
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5446
22319
ac_cs_usage="\
5447
22320
\`$as_me' instantiates files from templates according to the
5448
22321
current configuration.
5449
22322
 
5450
 
Usage: $0 [OPTIONS] [FILE]...
 
22323
Usage: $0 [OPTION]... [FILE]...
5451
22324
 
5452
22325
  -h, --help       print this help, then exit
5453
 
  -V, --version    print version number, then exit
5454
 
  -q, --quiet      do not print progress messages
 
22326
  -V, --version    print version number and configuration settings, then exit
 
22327
  -q, --quiet, --silent
 
22328
                   do not print progress messages
5455
22329
  -d, --debug      don't remove temporary files
5456
22330
      --recheck    update $as_me by reconfiguring in the same conditions
5457
 
  --file=FILE[:TEMPLATE]
5458
 
                   instantiate the configuration file FILE
5459
 
  --header=FILE[:TEMPLATE]
5460
 
                   instantiate the configuration header FILE
 
22331
      --file=FILE[:TEMPLATE]
 
22332
                   instantiate the configuration file FILE
 
22333
      --header=FILE[:TEMPLATE]
 
22334
                   instantiate the configuration header FILE
5461
22335
 
5462
22336
Configuration files:
5463
22337
$config_files
5469
22343
$config_commands
5470
22344
 
5471
22345
Report bugs to <bug-autoconf@gnu.org>."
 
22346
 
5472
22347
_ACEOF
5473
 
 
5474
 
cat >>$CONFIG_STATUS <<_ACEOF
 
22348
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5475
22349
ac_cs_version="\\
5476
22350
MOF Compiler config.status 0.8.2
5477
 
configured by $0, generated by GNU Autoconf 2.59,
5478
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
22351
configured by $0, generated by GNU Autoconf 2.63,
 
22352
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5479
22353
 
5480
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
22354
Copyright (C) 2008 Free Software Foundation, Inc.
5481
22355
This config.status script is free software; the Free Software Foundation
5482
22356
gives unlimited permission to copy, distribute and modify it."
5483
 
srcdir=$srcdir
5484
 
INSTALL="$INSTALL"
 
22357
 
 
22358
ac_pwd='$ac_pwd'
 
22359
srcdir='$srcdir'
 
22360
INSTALL='$INSTALL'
 
22361
MKDIR_P='$MKDIR_P'
 
22362
AWK='$AWK'
 
22363
test -n "\$AWK" || AWK=awk
5485
22364
_ACEOF
5486
22365
 
5487
 
cat >>$CONFIG_STATUS <<\_ACEOF
5488
 
# If no file are specified by the user, then we need to provide default
5489
 
# value.  By we need to know if files were specified by the user.
 
22366
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
22367
# The default lists apply if the user does not specify any file.
5490
22368
ac_need_defaults=:
5491
22369
while test $# != 0
5492
22370
do
5493
22371
  case $1 in
5494
22372
  --*=*)
5495
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
5496
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
22373
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
22374
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5497
22375
    ac_shift=:
5498
22376
    ;;
5499
 
  -*)
 
22377
  *)
5500
22378
    ac_option=$1
5501
22379
    ac_optarg=$2
5502
22380
    ac_shift=shift
5503
22381
    ;;
5504
 
  *) # This is not an option, so the user has probably given explicit
5505
 
     # arguments.
5506
 
     ac_option=$1
5507
 
     ac_need_defaults=false;;
5508
22382
  esac
5509
22383
 
5510
22384
  case $ac_option in
5511
22385
  # Handling of the options.
5512
 
_ACEOF
5513
 
cat >>$CONFIG_STATUS <<\_ACEOF
5514
22386
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5515
22387
    ac_cs_recheck=: ;;
5516
 
  --version | --vers* | -V )
5517
 
    echo "$ac_cs_version"; exit 0 ;;
 
22388
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
22389
    $as_echo "$ac_cs_version"; exit ;;
 
22390
  --debug | --debu | --deb | --de | --d | -d )
 
22391
    debug=: ;;
 
22392
  --file | --fil | --fi | --f )
 
22393
    $ac_shift
 
22394
    case $ac_optarg in
 
22395
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
22396
    esac
 
22397
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
22398
    ac_need_defaults=false;;
 
22399
  --header | --heade | --head | --hea )
 
22400
    $ac_shift
 
22401
    case $ac_optarg in
 
22402
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
22403
    esac
 
22404
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
22405
    ac_need_defaults=false;;
5518
22406
  --he | --h)
5519
22407
    # Conflict between --help and --header
5520
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
5521
 
Try \`$0 --help' for more information." >&5
5522
 
echo "$as_me: error: ambiguous option: $1
5523
 
Try \`$0 --help' for more information." >&2;}
 
22408
    { $as_echo "$as_me: error: ambiguous option: $1
 
22409
Try \`$0 --help' for more information." >&2
5524
22410
   { (exit 1); exit 1; }; };;
5525
22411
  --help | --hel | -h )
5526
 
    echo "$ac_cs_usage"; exit 0 ;;
5527
 
  --debug | --d* | -d )
5528
 
    debug=: ;;
5529
 
  --file | --fil | --fi | --f )
5530
 
    $ac_shift
5531
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5532
 
    ac_need_defaults=false;;
5533
 
  --header | --heade | --head | --hea )
5534
 
    $ac_shift
5535
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5536
 
    ac_need_defaults=false;;
 
22412
    $as_echo "$ac_cs_usage"; exit ;;
5537
22413
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5538
22414
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5539
22415
    ac_cs_silent=: ;;
5540
22416
 
5541
22417
  # This is an error.
5542
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5543
 
Try \`$0 --help' for more information." >&5
5544
 
echo "$as_me: error: unrecognized option: $1
5545
 
Try \`$0 --help' for more information." >&2;}
 
22418
  -*) { $as_echo "$as_me: error: unrecognized option: $1
 
22419
Try \`$0 --help' for more information." >&2
5546
22420
   { (exit 1); exit 1; }; } ;;
5547
22421
 
5548
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
22422
  *) ac_config_targets="$ac_config_targets $1"
 
22423
     ac_need_defaults=false ;;
5549
22424
 
5550
22425
  esac
5551
22426
  shift
5559
22434
fi
5560
22435
 
5561
22436
_ACEOF
5562
 
cat >>$CONFIG_STATUS <<_ACEOF
 
22437
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5563
22438
if \$ac_cs_recheck; then
5564
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5565
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
22439
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
22440
  shift
 
22441
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
22442
  CONFIG_SHELL='$SHELL'
 
22443
  export CONFIG_SHELL
 
22444
  exec "\$@"
5566
22445
fi
5567
22446
 
5568
22447
_ACEOF
5569
 
 
5570
 
cat >>$CONFIG_STATUS <<_ACEOF
5571
 
#
5572
 
# INIT-COMMANDS section.
5573
 
#
5574
 
 
 
22448
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
22449
exec 5>>config.log
 
22450
{
 
22451
  echo
 
22452
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
22453
## Running $as_me. ##
 
22454
_ASBOX
 
22455
  $as_echo "$ac_log"
 
22456
} >&5
 
22457
 
 
22458
_ACEOF
 
22459
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
22460
#
 
22461
# INIT-COMMANDS
 
22462
#
5575
22463
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5576
22464
 
5577
22465
_ACEOF
5578
22466
 
5579
 
 
5580
 
 
5581
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
22467
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
22468
 
 
22469
# Handling of arguments.
5582
22470
for ac_config_target in $ac_config_targets
5583
22471
do
5584
 
  case "$ac_config_target" in
5585
 
  # Handling of arguments.
5586
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5587
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5588
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5589
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5590
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
22472
  case $ac_config_target in
 
22473
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
22474
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
22475
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
22476
 
 
22477
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
22478
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5591
22479
   { (exit 1); exit 1; }; };;
5592
22480
  esac
5593
22481
done
5594
22482
 
 
22483
 
5595
22484
# If the user did not use the arguments to specify the items to instantiate,
5596
22485
# then the envvar interface is used.  Set only those that are not.
5597
22486
# We use the long form for the default assignment because of an extremely
5603
22492
fi
5604
22493
 
5605
22494
# Have a temporary directory for convenience.  Make it in the build tree
5606
 
# simply because there is no reason to put it here, and in addition,
 
22495
# simply because there is no reason against having it here, and in addition,
5607
22496
# creating and moving files from /tmp can sometimes cause problems.
5608
 
# Create a temporary directory, and hook for its removal unless debugging.
 
22497
# Hook for its removal unless debugging.
 
22498
# Note that there is a small window in which the directory will not be cleaned:
 
22499
# after its creation but before its name has been assigned to `$tmp'.
5609
22500
$debug ||
5610
22501
{
5611
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
22502
  tmp=
 
22503
  trap 'exit_status=$?
 
22504
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
22505
' 0
5612
22506
  trap '{ (exit 1); exit 1; }' 1 2 13 15
5613
22507
}
5614
 
 
5615
22508
# Create a (secure) tmp directory for tmp files.
5616
22509
 
5617
22510
{
5618
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
22511
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5619
22512
  test -n "$tmp" && test -d "$tmp"
5620
22513
}  ||
5621
22514
{
5622
 
  tmp=./confstat$$-$RANDOM
5623
 
  (umask 077 && mkdir $tmp)
 
22515
  tmp=./conf$$-$RANDOM
 
22516
  (umask 077 && mkdir "$tmp")
5624
22517
} ||
5625
22518
{
5626
 
   echo "$me: cannot create a temporary directory in ." >&2
 
22519
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
5627
22520
   { (exit 1); exit 1; }
5628
22521
}
5629
22522
 
5630
 
_ACEOF
5631
 
 
5632
 
cat >>$CONFIG_STATUS <<_ACEOF
5633
 
 
5634
 
#
5635
 
# CONFIG_FILES section.
5636
 
#
5637
 
 
5638
 
# No need to generate the scripts if there are no CONFIG_FILES.
5639
 
# This happens for instance when ./config.status config.h
5640
 
if test -n "\$CONFIG_FILES"; then
5641
 
  # Protect against being on the right side of a sed subst in config.status.
5642
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5643
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5644
 
s,@SHELL@,$SHELL,;t t
5645
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5646
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5647
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5648
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5649
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5650
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5651
 
s,@exec_prefix@,$exec_prefix,;t t
5652
 
s,@prefix@,$prefix,;t t
5653
 
s,@program_transform_name@,$program_transform_name,;t t
5654
 
s,@bindir@,$bindir,;t t
5655
 
s,@sbindir@,$sbindir,;t t
5656
 
s,@libexecdir@,$libexecdir,;t t
5657
 
s,@datadir@,$datadir,;t t
5658
 
s,@sysconfdir@,$sysconfdir,;t t
5659
 
s,@sharedstatedir@,$sharedstatedir,;t t
5660
 
s,@localstatedir@,$localstatedir,;t t
5661
 
s,@libdir@,$libdir,;t t
5662
 
s,@includedir@,$includedir,;t t
5663
 
s,@oldincludedir@,$oldincludedir,;t t
5664
 
s,@infodir@,$infodir,;t t
5665
 
s,@mandir@,$mandir,;t t
5666
 
s,@build_alias@,$build_alias,;t t
5667
 
s,@host_alias@,$host_alias,;t t
5668
 
s,@target_alias@,$target_alias,;t t
5669
 
s,@DEFS@,$DEFS,;t t
5670
 
s,@ECHO_C@,$ECHO_C,;t t
5671
 
s,@ECHO_N@,$ECHO_N,;t t
5672
 
s,@ECHO_T@,$ECHO_T,;t t
5673
 
s,@LIBS@,$LIBS,;t t
5674
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5675
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5676
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5677
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
5678
 
s,@PACKAGE@,$PACKAGE,;t t
5679
 
s,@VERSION@,$VERSION,;t t
5680
 
s,@ACLOCAL@,$ACLOCAL,;t t
5681
 
s,@AUTOCONF@,$AUTOCONF,;t t
5682
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
5683
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
5684
 
s,@MAKEINFO@,$MAKEINFO,;t t
5685
 
s,@install_sh@,$install_sh,;t t
5686
 
s,@STRIP@,$STRIP,;t t
5687
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5688
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5689
 
s,@mkdir_p@,$mkdir_p,;t t
5690
 
s,@AWK@,$AWK,;t t
5691
 
s,@SET_MAKE@,$SET_MAKE,;t t
5692
 
s,@am__leading_dot@,$am__leading_dot,;t t
5693
 
s,@AMTAR@,$AMTAR,;t t
5694
 
s,@am__tar@,$am__tar,;t t
5695
 
s,@am__untar@,$am__untar,;t t
5696
 
s,@build@,$build,;t t
5697
 
s,@build_cpu@,$build_cpu,;t t
5698
 
s,@build_vendor@,$build_vendor,;t t
5699
 
s,@build_os@,$build_os,;t t
5700
 
s,@host@,$host,;t t
5701
 
s,@host_cpu@,$host_cpu,;t t
5702
 
s,@host_vendor@,$host_vendor,;t t
5703
 
s,@host_os@,$host_os,;t t
5704
 
s,@MOFC_CPPFLAGS@,$MOFC_CPPFLAGS,;t t
5705
 
s,@MOFC_CFLAGS@,$MOFC_CFLAGS,;t t
5706
 
s,@MOFC_LDFLAGS@,$MOFC_LDFLAGS,;t t
5707
 
s,@SFCB_DIR@,$SFCB_DIR,;t t
5708
 
s,@CC@,$CC,;t t
5709
 
s,@CFLAGS@,$CFLAGS,;t t
5710
 
s,@LDFLAGS@,$LDFLAGS,;t t
5711
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
5712
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
5713
 
s,@EXEEXT@,$EXEEXT,;t t
5714
 
s,@OBJEXT@,$OBJEXT,;t t
5715
 
s,@DEPDIR@,$DEPDIR,;t t
5716
 
s,@am__include@,$am__include,;t t
5717
 
s,@am__quote@,$am__quote,;t t
5718
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5719
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5720
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5721
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
5722
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5723
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5724
 
s,@YACC@,$YACC,;t t
5725
 
s,@LEX@,$LEX,;t t
5726
 
s,@LEXLIB@,$LEXLIB,;t t
5727
 
s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
5728
 
s,@CPP@,$CPP,;t t
5729
 
s,@EGREP@,$EGREP,;t t
5730
 
s,@LIBOBJS@,$LIBOBJS,;t t
5731
 
s,@TESTSCANNER_TRUE@,$TESTSCANNER_TRUE,;t t
5732
 
s,@TESTSCANNER_FALSE@,$TESTSCANNER_FALSE,;t t
5733
 
s,@ALTERNATE_MOFCNAME_TRUE@,$ALTERNATE_MOFCNAME_TRUE,;t t
5734
 
s,@ALTERNATE_MOFCNAME_FALSE@,$ALTERNATE_MOFCNAME_FALSE,;t t
5735
 
s,@MOFCNAME@,$MOFCNAME,;t t
5736
 
s,@BACKEND_OBJ@,$BACKEND_OBJ,;t t
5737
 
s,@BACKEND_LIBS@,$BACKEND_LIBS,;t t
5738
 
s,@BACKEND_INCLUDES@,$BACKEND_INCLUDES,;t t
5739
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5740
 
CEOF
5741
 
 
5742
 
_ACEOF
5743
 
 
5744
 
  cat >>$CONFIG_STATUS <<\_ACEOF
5745
 
  # Split the substitutions into bite-sized pieces for seds with
5746
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
5747
 
  ac_max_sed_lines=48
5748
 
  ac_sed_frag=1 # Number of current file.
5749
 
  ac_beg=1 # First line for current file.
5750
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
5751
 
  ac_more_lines=:
5752
 
  ac_sed_cmds=
5753
 
  while $ac_more_lines; do
5754
 
    if test $ac_beg -gt 1; then
5755
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5756
 
    else
5757
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5758
 
    fi
5759
 
    if test ! -s $tmp/subs.frag; then
5760
 
      ac_more_lines=false
5761
 
    else
5762
 
      # The purpose of the label and of the branching condition is to
5763
 
      # speed up the sed processing (if there are no `@' at all, there
5764
 
      # is no need to browse any of the substitutions).
5765
 
      # These are the two extra sed commands mentioned above.
5766
 
      (echo ':t
5767
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5768
 
      if test -z "$ac_sed_cmds"; then
5769
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5770
 
      else
5771
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5772
 
      fi
5773
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
5774
 
      ac_beg=$ac_end
5775
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
5776
 
    fi
5777
 
  done
5778
 
  if test -z "$ac_sed_cmds"; then
5779
 
    ac_sed_cmds=cat
 
22523
# Set up the scripts for CONFIG_FILES section.
 
22524
# No need to generate them if there are no CONFIG_FILES.
 
22525
# This happens for instance with `./config.status config.h'.
 
22526
if test -n "$CONFIG_FILES"; then
 
22527
 
 
22528
 
 
22529
ac_cr='
 
 
b"'"
 
22530
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
22531
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
22532
  ac_cs_awk_cr='\\r'
 
22533
else
 
22534
  ac_cs_awk_cr=$ac_cr
 
22535
fi
 
22536
 
 
22537
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
22538
_ACEOF
 
22539
 
 
22540
 
 
22541
{
 
22542
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
22543
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
22544
  echo "_ACEOF"
 
22545
} >conf$$subs.sh ||
 
22546
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
22547
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
22548
   { (exit 1); exit 1; }; }
 
22549
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
22550
ac_delim='%!_!# '
 
22551
for ac_last_try in false false false false false :; do
 
22552
  . ./conf$$subs.sh ||
 
22553
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
22554
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
22555
   { (exit 1); exit 1; }; }
 
22556
 
 
22557
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
22558
  if test $ac_delim_n = $ac_delim_num; then
 
22559
    break
 
22560
  elif $ac_last_try; then
 
22561
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
22562
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
22563
   { (exit 1); exit 1; }; }
 
22564
  else
 
22565
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5780
22566
  fi
 
22567
done
 
22568
rm -f conf$$subs.sh
 
22569
 
 
22570
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
22571
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
22572
_ACEOF
 
22573
sed -n '
 
22574
h
 
22575
s/^/S["/; s/!.*/"]=/
 
22576
p
 
22577
g
 
22578
s/^[^!]*!//
 
22579
:repl
 
22580
t repl
 
22581
s/'"$ac_delim"'$//
 
22582
t delim
 
22583
:nl
 
22584
h
 
22585
s/\(.\{148\}\).*/\1/
 
22586
t more1
 
22587
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
22588
p
 
22589
n
 
22590
b repl
 
22591
:more1
 
22592
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
22593
p
 
22594
g
 
22595
s/.\{148\}//
 
22596
t nl
 
22597
:delim
 
22598
h
 
22599
s/\(.\{148\}\).*/\1/
 
22600
t more2
 
22601
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
22602
p
 
22603
b
 
22604
:more2
 
22605
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
22606
p
 
22607
g
 
22608
s/.\{148\}//
 
22609
t delim
 
22610
' <conf$$subs.awk | sed '
 
22611
/^[^""]/{
 
22612
  N
 
22613
  s/\n//
 
22614
}
 
22615
' >>$CONFIG_STATUS || ac_write_fail=1
 
22616
rm -f conf$$subs.awk
 
22617
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
22618
_ACAWK
 
22619
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
22620
  for (key in S) S_is_set[key] = 1
 
22621
  FS = ""
 
22622
 
 
22623
}
 
22624
{
 
22625
  line = $ 0
 
22626
  nfields = split(line, field, "@")
 
22627
  substed = 0
 
22628
  len = length(field[1])
 
22629
  for (i = 2; i < nfields; i++) {
 
22630
    key = field[i]
 
22631
    keylen = length(key)
 
22632
    if (S_is_set[key]) {
 
22633
      value = S[key]
 
22634
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
22635
      len += length(value) + length(field[++i])
 
22636
      substed = 1
 
22637
    } else
 
22638
      len += 1 + keylen
 
22639
  }
 
22640
 
 
22641
  print line
 
22642
}
 
22643
 
 
22644
_ACAWK
 
22645
_ACEOF
 
22646
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
22647
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
22648
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
22649
else
 
22650
  cat
 
22651
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
22652
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
22653
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
22654
   { (exit 1); exit 1; }; }
 
22655
_ACEOF
 
22656
 
 
22657
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
22658
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
22659
# trailing colons and then remove the whole line if VPATH becomes empty
 
22660
# (actually we leave an empty line to preserve line numbers).
 
22661
if test "x$srcdir" = x.; then
 
22662
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
22663
s/:*\$(srcdir):*/:/
 
22664
s/:*\${srcdir}:*/:/
 
22665
s/:*@srcdir@:*/:/
 
22666
s/^\([^=]*=[     ]*\):*/\1/
 
22667
s/:*$//
 
22668
s/^[^=]*=[       ]*$//
 
22669
}'
 
22670
fi
 
22671
 
 
22672
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5781
22673
fi # test -n "$CONFIG_FILES"
5782
22674
 
5783
 
_ACEOF
5784
 
cat >>$CONFIG_STATUS <<\_ACEOF
5785
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5786
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5787
 
  case $ac_file in
5788
 
  - | *:- | *:-:* ) # input from stdin
5789
 
        cat >$tmp/stdin
5790
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5791
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5792
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5793
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5794
 
  * )   ac_file_in=$ac_file.in ;;
5795
 
  esac
5796
 
 
5797
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5798
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
22675
# Set up the scripts for CONFIG_HEADERS section.
 
22676
# No need to generate them if there are no CONFIG_HEADERS.
 
22677
# This happens for instance with `./config.status Makefile'.
 
22678
if test -n "$CONFIG_HEADERS"; then
 
22679
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
22680
BEGIN {
 
22681
_ACEOF
 
22682
 
 
22683
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
22684
# here-document in config.status, that substitutes the proper values into
 
22685
# config.h.in to produce config.h.
 
22686
 
 
22687
# Create a delimiter string that does not exist in confdefs.h, to ease
 
22688
# handling of long lines.
 
22689
ac_delim='%!_!# '
 
22690
for ac_last_try in false false :; do
 
22691
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
22692
  if test -z "$ac_t"; then
 
22693
    break
 
22694
  elif $ac_last_try; then
 
22695
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
22696
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
22697
   { (exit 1); exit 1; }; }
 
22698
  else
 
22699
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
22700
  fi
 
22701
done
 
22702
 
 
22703
# For the awk script, D is an array of macro values keyed by name,
 
22704
# likewise P contains macro parameters if any.  Preserve backslash
 
22705
# newline sequences.
 
22706
 
 
22707
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
22708
sed -n '
 
22709
s/.\{148\}/&'"$ac_delim"'/g
 
22710
t rset
 
22711
:rset
 
22712
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
22713
t def
 
22714
d
 
22715
:def
 
22716
s/\\$//
 
22717
t bsnl
 
22718
s/["\\]/\\&/g
 
22719
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
22720
D["\1"]=" \3"/p
 
22721
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
22722
d
 
22723
:bsnl
 
22724
s/["\\]/\\&/g
 
22725
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
22726
D["\1"]=" \3\\\\\\n"\\/p
 
22727
t cont
 
22728
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
22729
t cont
 
22730
d
 
22731
:cont
 
22732
n
 
22733
s/.\{148\}/&'"$ac_delim"'/g
 
22734
t clear
 
22735
:clear
 
22736
s/\\$//
 
22737
t bsnlc
 
22738
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
22739
d
 
22740
:bsnlc
 
22741
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
22742
b cont
 
22743
' <confdefs.h | sed '
 
22744
s/'"$ac_delim"'/"\\\
 
22745
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
22746
 
 
22747
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
22748
  for (key in D) D_is_set[key] = 1
 
22749
  FS = ""
 
22750
}
 
22751
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
22752
  line = \$ 0
 
22753
  split(line, arg, " ")
 
22754
  if (arg[1] == "#") {
 
22755
    defundef = arg[2]
 
22756
    mac1 = arg[3]
 
22757
  } else {
 
22758
    defundef = substr(arg[1], 2)
 
22759
    mac1 = arg[2]
 
22760
  }
 
22761
  split(mac1, mac2, "(") #)
 
22762
  macro = mac2[1]
 
22763
  prefix = substr(line, 1, index(line, defundef) - 1)
 
22764
  if (D_is_set[macro]) {
 
22765
    # Preserve the white space surrounding the "#".
 
22766
    print prefix "define", macro P[macro] D[macro]
 
22767
    next
 
22768
  } else {
 
22769
    # Replace #undef with comments.  This is necessary, for example,
 
22770
    # in the case of _POSIX_SOURCE, which is predefined and required
 
22771
    # on some systems where configure will not decide to define it.
 
22772
    if (defundef == "undef") {
 
22773
      print "/*", prefix defundef, macro, "*/"
 
22774
      next
 
22775
    }
 
22776
  }
 
22777
}
 
22778
{ print }
 
22779
_ACAWK
 
22780
_ACEOF
 
22781
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
22782
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
22783
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
22784
   { (exit 1); exit 1; }; }
 
22785
fi # test -n "$CONFIG_HEADERS"
 
22786
 
 
22787
 
 
22788
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
22789
shift
 
22790
for ac_tag
 
22791
do
 
22792
  case $ac_tag in
 
22793
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
22794
  esac
 
22795
  case $ac_mode$ac_tag in
 
22796
  :[FHL]*:*);;
 
22797
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
22798
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
 
22799
   { (exit 1); exit 1; }; };;
 
22800
  :[FH]-) ac_tag=-:-;;
 
22801
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
22802
  esac
 
22803
  ac_save_IFS=$IFS
 
22804
  IFS=:
 
22805
  set x $ac_tag
 
22806
  IFS=$ac_save_IFS
 
22807
  shift
 
22808
  ac_file=$1
 
22809
  shift
 
22810
 
 
22811
  case $ac_mode in
 
22812
  :L) ac_source=$1;;
 
22813
  :[FH])
 
22814
    ac_file_inputs=
 
22815
    for ac_f
 
22816
    do
 
22817
      case $ac_f in
 
22818
      -) ac_f="$tmp/stdin";;
 
22819
      *) # Look for the file first in the build tree, then in the source tree
 
22820
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
22821
         # because $ac_f cannot contain `:'.
 
22822
         test -f "$ac_f" ||
 
22823
           case $ac_f in
 
22824
           [\\/$]*) false;;
 
22825
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
22826
           esac ||
 
22827
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
22828
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
22829
   { (exit 1); exit 1; }; };;
 
22830
      esac
 
22831
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
22832
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
22833
    done
 
22834
 
 
22835
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
22836
    # use $as_me), people would be surprised to read:
 
22837
    #    /* config.h.  Generated by config.status.  */
 
22838
    configure_input='Generated from '`
 
22839
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
22840
        `' by configure.'
 
22841
    if test x"$ac_file" != x-; then
 
22842
      configure_input="$ac_file.  $configure_input"
 
22843
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
22844
$as_echo "$as_me: creating $ac_file" >&6;}
 
22845
    fi
 
22846
    # Neutralize special characters interpreted by sed in replacement strings.
 
22847
    case $configure_input in #(
 
22848
    *\&* | *\|* | *\\* )
 
22849
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
22850
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
22851
    *) ac_sed_conf_input=$configure_input;;
 
22852
    esac
 
22853
 
 
22854
    case $ac_tag in
 
22855
    *:-:* | *:-) cat >"$tmp/stdin" \
 
22856
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
22857
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
22858
   { (exit 1); exit 1; }; } ;;
 
22859
    esac
 
22860
    ;;
 
22861
  esac
 
22862
 
 
22863
  ac_dir=`$as_dirname -- "$ac_file" ||
5799
22864
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5800
22865
         X"$ac_file" : 'X\(//\)[^/]' \| \
5801
22866
         X"$ac_file" : 'X\(//\)$' \| \
5802
 
         X"$ac_file" : 'X\(/\)' \| \
5803
 
         .     : '\(.\)' 2>/dev/null ||
5804
 
echo X"$ac_file" |
5805
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5806
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5807
 
          /^X\(\/\/\)$/{ s//\1/; q; }
5808
 
          /^X\(\/\).*/{ s//\1/; q; }
5809
 
          s/.*/./; q'`
5810
 
  { if $as_mkdir_p; then
5811
 
    mkdir -p "$ac_dir"
5812
 
  else
5813
 
    as_dir="$ac_dir"
 
22867
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
22868
$as_echo X"$ac_file" |
 
22869
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22870
            s//\1/
 
22871
            q
 
22872
          }
 
22873
          /^X\(\/\/\)[^/].*/{
 
22874
            s//\1/
 
22875
            q
 
22876
          }
 
22877
          /^X\(\/\/\)$/{
 
22878
            s//\1/
 
22879
            q
 
22880
          }
 
22881
          /^X\(\/\).*/{
 
22882
            s//\1/
 
22883
            q
 
22884
          }
 
22885
          s/.*/./; q'`
 
22886
  { as_dir="$ac_dir"
 
22887
  case $as_dir in #(
 
22888
  -*) as_dir=./$as_dir;;
 
22889
  esac
 
22890
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5814
22891
    as_dirs=
5815
 
    while test ! -d "$as_dir"; do
5816
 
      as_dirs="$as_dir $as_dirs"
5817
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
22892
    while :; do
 
22893
      case $as_dir in #(
 
22894
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
22895
      *) as_qdir=$as_dir;;
 
22896
      esac
 
22897
      as_dirs="'$as_qdir' $as_dirs"
 
22898
      as_dir=`$as_dirname -- "$as_dir" ||
5818
22899
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5819
22900
         X"$as_dir" : 'X\(//\)[^/]' \| \
5820
22901
         X"$as_dir" : 'X\(//\)$' \| \
5821
 
         X"$as_dir" : 'X\(/\)' \| \
5822
 
         .     : '\(.\)' 2>/dev/null ||
5823
 
echo X"$as_dir" |
5824
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5825
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5826
 
          /^X\(\/\/\)$/{ s//\1/; q; }
5827
 
          /^X\(\/\).*/{ s//\1/; q; }
5828
 
          s/.*/./; q'`
 
22902
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
22903
$as_echo X"$as_dir" |
 
22904
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22905
            s//\1/
 
22906
            q
 
22907
          }
 
22908
          /^X\(\/\/\)[^/].*/{
 
22909
            s//\1/
 
22910
            q
 
22911
          }
 
22912
          /^X\(\/\/\)$/{
 
22913
            s//\1/
 
22914
            q
 
22915
          }
 
22916
          /^X\(\/\).*/{
 
22917
            s//\1/
 
22918
            q
 
22919
          }
 
22920
          s/.*/./; q'`
 
22921
      test -d "$as_dir" && break
5829
22922
    done
5830
 
    test ! -n "$as_dirs" || mkdir $as_dirs
5831
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5832
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
22923
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
22924
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
22925
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5833
22926
   { (exit 1); exit 1; }; }; }
5834
 
 
5835
22927
  ac_builddir=.
5836
22928
 
5837
 
if test "$ac_dir" != .; then
5838
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5839
 
  # A "../" for each directory in $ac_dir_suffix.
5840
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5841
 
else
5842
 
  ac_dir_suffix= ac_top_builddir=
5843
 
fi
 
22929
case "$ac_dir" in
 
22930
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
22931
*)
 
22932
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
22933
  # A ".." for each directory in $ac_dir_suffix.
 
22934
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
22935
  case $ac_top_builddir_sub in
 
22936
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
22937
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
22938
  esac ;;
 
22939
esac
 
22940
ac_abs_top_builddir=$ac_pwd
 
22941
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
22942
# for backward compatibility:
 
22943
ac_top_builddir=$ac_top_build_prefix
5844
22944
 
5845
22945
case $srcdir in
5846
 
  .)  # No --srcdir option.  We are building in place.
 
22946
  .)  # We are building in place.
5847
22947
    ac_srcdir=.
5848
 
    if test -z "$ac_top_builddir"; then
5849
 
       ac_top_srcdir=.
5850
 
    else
5851
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5852
 
    fi ;;
5853
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
22948
    ac_top_srcdir=$ac_top_builddir_sub
 
22949
    ac_abs_top_srcdir=$ac_pwd ;;
 
22950
  [\\/]* | ?:[\\/]* )  # Absolute name.
5854
22951
    ac_srcdir=$srcdir$ac_dir_suffix;
5855
 
    ac_top_srcdir=$srcdir ;;
5856
 
  *) # Relative path.
5857
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5858
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5859
 
esac
5860
 
 
5861
 
# Do not use `cd foo && pwd` to compute absolute paths, because
5862
 
# the directories may not exist.
5863
 
case `pwd` in
5864
 
.) ac_abs_builddir="$ac_dir";;
5865
 
*)
5866
 
  case "$ac_dir" in
5867
 
  .) ac_abs_builddir=`pwd`;;
5868
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5869
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
5870
 
  esac;;
5871
 
esac
5872
 
case $ac_abs_builddir in
5873
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
5874
 
*)
5875
 
  case ${ac_top_builddir}. in
5876
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
5877
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5878
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5879
 
  esac;;
5880
 
esac
5881
 
case $ac_abs_builddir in
5882
 
.) ac_abs_srcdir=$ac_srcdir;;
5883
 
*)
5884
 
  case $ac_srcdir in
5885
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
5886
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5887
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5888
 
  esac;;
5889
 
esac
5890
 
case $ac_abs_builddir in
5891
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
5892
 
*)
5893
 
  case $ac_top_srcdir in
5894
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
5895
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5896
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5897
 
  esac;;
5898
 
esac
5899
 
 
 
22952
    ac_top_srcdir=$srcdir
 
22953
    ac_abs_top_srcdir=$srcdir ;;
 
22954
  *) # Relative name.
 
22955
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
22956
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
22957
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
22958
esac
 
22959
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
22960
 
 
22961
 
 
22962
  case $ac_mode in
 
22963
  :F)
 
22964
  #
 
22965
  # CONFIG_FILE
 
22966
  #
5900
22967
 
5901
22968
  case $INSTALL in
5902
22969
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5903
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5904
 
  esac
5905
 
 
5906
 
  if test x"$ac_file" != x-; then
5907
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
5908
 
echo "$as_me: creating $ac_file" >&6;}
5909
 
    rm -f "$ac_file"
5910
 
  fi
5911
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
5912
 
  # use $as_me), people would be surprised to read:
5913
 
  #    /* config.h.  Generated by config.status.  */
5914
 
  if test x"$ac_file" = x-; then
5915
 
    configure_input=
5916
 
  else
5917
 
    configure_input="$ac_file.  "
5918
 
  fi
5919
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
5920
 
                                     sed 's,.*/,,'` by configure."
5921
 
 
5922
 
  # First look for the input files in the build tree, otherwise in the
5923
 
  # src tree.
5924
 
  ac_file_inputs=`IFS=:
5925
 
    for f in $ac_file_in; do
5926
 
      case $f in
5927
 
      -) echo $tmp/stdin ;;
5928
 
      [\\/$]*)
5929
 
         # Absolute (can't be DOS-style, as IFS=:)
5930
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5931
 
echo "$as_me: error: cannot find input file: $f" >&2;}
5932
 
   { (exit 1); exit 1; }; }
5933
 
         echo "$f";;
5934
 
      *) # Relative
5935
 
         if test -f "$f"; then
5936
 
           # Build tree
5937
 
           echo "$f"
5938
 
         elif test -f "$srcdir/$f"; then
5939
 
           # Source tree
5940
 
           echo "$srcdir/$f"
5941
 
         else
5942
 
           # /dev/null tree
5943
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5944
 
echo "$as_me: error: cannot find input file: $f" >&2;}
5945
 
   { (exit 1); exit 1; }; }
5946
 
         fi;;
5947
 
      esac
5948
 
    done` || { (exit 1); exit 1; }
5949
 
_ACEOF
5950
 
cat >>$CONFIG_STATUS <<_ACEOF
5951
 
  sed "$ac_vpsub
 
22970
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
22971
  esac
 
22972
  ac_MKDIR_P=$MKDIR_P
 
22973
  case $MKDIR_P in
 
22974
  [\\/$]* | ?:[\\/]* ) ;;
 
22975
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
22976
  esac
 
22977
_ACEOF
 
22978
 
 
22979
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
22980
# If the template does not know about datarootdir, expand it.
 
22981
# FIXME: This hack should be removed a few years after 2.60.
 
22982
ac_datarootdir_hack=; ac_datarootdir_seen=
 
22983
 
 
22984
ac_sed_dataroot='
 
22985
/datarootdir/ {
 
22986
  p
 
22987
  q
 
22988
}
 
22989
/@datadir@/p
 
22990
/@docdir@/p
 
22991
/@infodir@/p
 
22992
/@localedir@/p
 
22993
/@mandir@/p
 
22994
'
 
22995
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
22996
*datarootdir*) ac_datarootdir_seen=yes;;
 
22997
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
22998
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
22999
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
23000
_ACEOF
 
23001
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
23002
  ac_datarootdir_hack='
 
23003
  s&@datadir@&$datadir&g
 
23004
  s&@docdir@&$docdir&g
 
23005
  s&@infodir@&$infodir&g
 
23006
  s&@localedir@&$localedir&g
 
23007
  s&@mandir@&$mandir&g
 
23008
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
23009
esac
 
23010
_ACEOF
 
23011
 
 
23012
# Neutralize VPATH when `$srcdir' = `.'.
 
23013
# Shell code in configure.ac might set extrasub.
 
23014
# FIXME: do we really want to maintain this feature?
 
23015
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
23016
ac_sed_extra="$ac_vpsub
5952
23017
$extrasub
5953
23018
_ACEOF
5954
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
23019
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5955
23020
:t
5956
23021
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5957
 
s,@configure_input@,$configure_input,;t t
5958
 
s,@srcdir@,$ac_srcdir,;t t
5959
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
5960
 
s,@top_srcdir@,$ac_top_srcdir,;t t
5961
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5962
 
s,@builddir@,$ac_builddir,;t t
5963
 
s,@abs_builddir@,$ac_abs_builddir,;t t
5964
 
s,@top_builddir@,$ac_top_builddir,;t t
5965
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5966
 
s,@INSTALL@,$ac_INSTALL,;t t
5967
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5968
 
  rm -f $tmp/stdin
5969
 
  if test x"$ac_file" != x-; then
5970
 
    mv $tmp/out $ac_file
5971
 
  else
5972
 
    cat $tmp/out
5973
 
    rm -f $tmp/out
5974
 
  fi
5975
 
 
5976
 
done
5977
 
_ACEOF
5978
 
cat >>$CONFIG_STATUS <<\_ACEOF
5979
 
 
5980
 
#
5981
 
# CONFIG_HEADER section.
5982
 
#
5983
 
 
5984
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5985
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
5986
 
#
5987
 
# ac_d sets the value in "#define NAME VALUE" lines.
5988
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
5989
 
ac_dB='[         ].*$,\1#\2'
5990
 
ac_dC=' '
5991
 
ac_dD=',;t'
5992
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5993
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
5994
 
ac_uB='$,\1#\2define\3'
5995
 
ac_uC=' '
5996
 
ac_uD=',;t'
5997
 
 
5998
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5999
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
23022
s|@configure_input@|$ac_sed_conf_input|;t t
 
23023
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
23024
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
23025
s&@srcdir@&$ac_srcdir&;t t
 
23026
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
23027
s&@top_srcdir@&$ac_top_srcdir&;t t
 
23028
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
23029
s&@builddir@&$ac_builddir&;t t
 
23030
s&@abs_builddir@&$ac_abs_builddir&;t t
 
23031
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
23032
s&@INSTALL@&$ac_INSTALL&;t t
 
23033
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
23034
$ac_datarootdir_hack
 
23035
"
 
23036
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
23037
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
23038
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
23039
   { (exit 1); exit 1; }; }
 
23040
 
 
23041
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
23042
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
23043
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
23044
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
23045
which seems to be undefined.  Please make sure it is defined." >&5
 
23046
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
23047
which seems to be undefined.  Please make sure it is defined." >&2;}
 
23048
 
 
23049
  rm -f "$tmp/stdin"
6000
23050
  case $ac_file in
6001
 
  - | *:- | *:-:* ) # input from stdin
6002
 
        cat >$tmp/stdin
6003
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6004
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6005
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6006
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6007
 
  * )   ac_file_in=$ac_file.in ;;
6008
 
  esac
6009
 
 
6010
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6011
 
echo "$as_me: creating $ac_file" >&6;}
6012
 
 
6013
 
  # First look for the input files in the build tree, otherwise in the
6014
 
  # src tree.
6015
 
  ac_file_inputs=`IFS=:
6016
 
    for f in $ac_file_in; do
6017
 
      case $f in
6018
 
      -) echo $tmp/stdin ;;
6019
 
      [\\/$]*)
6020
 
         # Absolute (can't be DOS-style, as IFS=:)
6021
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6022
 
echo "$as_me: error: cannot find input file: $f" >&2;}
6023
 
   { (exit 1); exit 1; }; }
6024
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
6025
 
         echo "$f";;
6026
 
      *) # Relative
6027
 
         if test -f "$f"; then
6028
 
           # Build tree
6029
 
           echo "$f"
6030
 
         elif test -f "$srcdir/$f"; then
6031
 
           # Source tree
6032
 
           echo "$srcdir/$f"
6033
 
         else
6034
 
           # /dev/null tree
6035
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6036
 
echo "$as_me: error: cannot find input file: $f" >&2;}
6037
 
   { (exit 1); exit 1; }; }
6038
 
         fi;;
6039
 
      esac
6040
 
    done` || { (exit 1); exit 1; }
6041
 
  # Remove the trailing spaces.
6042
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
6043
 
 
6044
 
_ACEOF
6045
 
 
6046
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
6047
 
# `conftest.undefs', that substitutes the proper values into
6048
 
# config.h.in to produce config.h.  The first handles `#define'
6049
 
# templates, and the second `#undef' templates.
6050
 
# And first: Protect against being on the right side of a sed subst in
6051
 
# config.status.  Protect against being in an unquoted here document
6052
 
# in config.status.
6053
 
rm -f conftest.defines conftest.undefs
6054
 
# Using a here document instead of a string reduces the quoting nightmare.
6055
 
# Putting comments in sed scripts is not portable.
6056
 
#
6057
 
# `end' is used to avoid that the second main sed command (meant for
6058
 
# 0-ary CPP macros) applies to n-ary macro definitions.
6059
 
# See the Autoconf documentation for `clear'.
6060
 
cat >confdef2sed.sed <<\_ACEOF
6061
 
s/[\\&,]/\\&/g
6062
 
s,[\\$`],\\&,g
6063
 
t clear
6064
 
: clear
6065
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6066
 
t end
6067
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6068
 
: end
6069
 
_ACEOF
6070
 
# If some macros were called several times there might be several times
6071
 
# the same #defines, which is useless.  Nevertheless, we may not want to
6072
 
# sort them, since we want the *last* AC-DEFINE to be honored.
6073
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6074
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6075
 
rm -f confdef2sed.sed
6076
 
 
6077
 
# This sed command replaces #undef with comments.  This is necessary, for
6078
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
6079
 
# on some systems where configure will not decide to define it.
6080
 
cat >>conftest.undefs <<\_ACEOF
6081
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6082
 
_ACEOF
6083
 
 
6084
 
# Break up conftest.defines because some shells have a limit on the size
6085
 
# of here documents, and old seds have small limits too (100 cmds).
6086
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6087
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6088
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6089
 
echo '  :' >>$CONFIG_STATUS
6090
 
rm -f conftest.tail
6091
 
while grep . conftest.defines >/dev/null
6092
 
do
6093
 
  # Write a limited-size here document to $tmp/defines.sed.
6094
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6095
 
  # Speed up: don't consider the non `#define' lines.
6096
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
6097
 
  # Work around the forget-to-reset-the-flag bug.
6098
 
  echo 't clr' >>$CONFIG_STATUS
6099
 
  echo ': clr' >>$CONFIG_STATUS
6100
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6101
 
  echo 'CEOF
6102
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
6103
 
  rm -f $tmp/in
6104
 
  mv $tmp/out $tmp/in
6105
 
' >>$CONFIG_STATUS
6106
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6107
 
  rm -f conftest.defines
6108
 
  mv conftest.tail conftest.defines
6109
 
done
6110
 
rm -f conftest.defines
6111
 
echo '  fi # grep' >>$CONFIG_STATUS
6112
 
echo >>$CONFIG_STATUS
6113
 
 
6114
 
# Break up conftest.undefs because some shells have a limit on the size
6115
 
# of here documents, and old seds have small limits too (100 cmds).
6116
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
6117
 
rm -f conftest.tail
6118
 
while grep . conftest.undefs >/dev/null
6119
 
do
6120
 
  # Write a limited-size here document to $tmp/undefs.sed.
6121
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6122
 
  # Speed up: don't consider the non `#undef'
6123
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
6124
 
  # Work around the forget-to-reset-the-flag bug.
6125
 
  echo 't clr' >>$CONFIG_STATUS
6126
 
  echo ': clr' >>$CONFIG_STATUS
6127
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6128
 
  echo 'CEOF
6129
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6130
 
  rm -f $tmp/in
6131
 
  mv $tmp/out $tmp/in
6132
 
' >>$CONFIG_STATUS
6133
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6134
 
  rm -f conftest.undefs
6135
 
  mv conftest.tail conftest.undefs
6136
 
done
6137
 
rm -f conftest.undefs
6138
 
 
6139
 
cat >>$CONFIG_STATUS <<\_ACEOF
6140
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
6141
 
  # use $as_me), people would be surprised to read:
6142
 
  #    /* config.h.  Generated by config.status.  */
6143
 
  if test x"$ac_file" = x-; then
6144
 
    echo "/* Generated by configure.  */" >$tmp/config.h
6145
 
  else
6146
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
6147
 
  fi
6148
 
  cat $tmp/in >>$tmp/config.h
6149
 
  rm -f $tmp/in
 
23051
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
23052
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
23053
  esac \
 
23054
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
23055
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
23056
   { (exit 1); exit 1; }; }
 
23057
 ;;
 
23058
  :H)
 
23059
  #
 
23060
  # CONFIG_HEADER
 
23061
  #
6150
23062
  if test x"$ac_file" != x-; then
6151
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6152
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6153
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
23063
    {
 
23064
      $as_echo "/* $configure_input  */" \
 
23065
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
23066
    } >"$tmp/config.h" \
 
23067
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
23068
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
23069
   { (exit 1); exit 1; }; }
 
23070
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
23071
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
23072
$as_echo "$as_me: $ac_file is unchanged" >&6;}
6154
23073
    else
6155
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6156
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6157
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
6158
 
         X"$ac_file" : 'X\(//\)$' \| \
6159
 
         X"$ac_file" : 'X\(/\)' \| \
6160
 
         .     : '\(.\)' 2>/dev/null ||
6161
 
echo X"$ac_file" |
6162
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6163
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6164
 
          /^X\(\/\/\)$/{ s//\1/; q; }
6165
 
          /^X\(\/\).*/{ s//\1/; q; }
6166
 
          s/.*/./; q'`
6167
 
      { if $as_mkdir_p; then
6168
 
    mkdir -p "$ac_dir"
6169
 
  else
6170
 
    as_dir="$ac_dir"
6171
 
    as_dirs=
6172
 
    while test ! -d "$as_dir"; do
6173
 
      as_dirs="$as_dir $as_dirs"
6174
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
6175
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6176
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
6177
 
         X"$as_dir" : 'X\(//\)$' \| \
6178
 
         X"$as_dir" : 'X\(/\)' \| \
6179
 
         .     : '\(.\)' 2>/dev/null ||
6180
 
echo X"$as_dir" |
6181
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6182
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6183
 
          /^X\(\/\/\)$/{ s//\1/; q; }
6184
 
          /^X\(\/\).*/{ s//\1/; q; }
6185
 
          s/.*/./; q'`
6186
 
    done
6187
 
    test ! -n "$as_dirs" || mkdir $as_dirs
6188
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6189
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6190
 
   { (exit 1); exit 1; }; }; }
6191
 
 
6192
 
      rm -f $ac_file
6193
 
      mv $tmp/config.h $ac_file
 
23074
      rm -f "$ac_file"
 
23075
      mv "$tmp/config.h" "$ac_file" \
 
23076
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
23077
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
23078
   { (exit 1); exit 1; }; }
6194
23079
    fi
6195
23080
  else
6196
 
    cat $tmp/config.h
6197
 
    rm -f $tmp/config.h
 
23081
    $as_echo "/* $configure_input  */" \
 
23082
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
23083
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
23084
$as_echo "$as_me: error: could not create -" >&2;}
 
23085
   { (exit 1); exit 1; }; }
6198
23086
  fi
6199
 
# Compute $ac_file's index in $config_headers.
 
23087
# Compute "$ac_file"'s index in $config_headers.
 
23088
_am_arg="$ac_file"
6200
23089
_am_stamp_count=1
6201
23090
for _am_header in $config_headers :; do
6202
23091
  case $_am_header in
6203
 
    $ac_file | $ac_file:* )
 
23092
    $_am_arg | $_am_arg:* )
6204
23093
      break ;;
6205
23094
    * )
6206
23095
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6207
23096
  esac
6208
23097
done
6209
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6210
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6211
 
         X$ac_file : 'X\(//\)[^/]' \| \
6212
 
         X$ac_file : 'X\(//\)$' \| \
6213
 
         X$ac_file : 'X\(/\)' \| \
6214
 
         .     : '\(.\)' 2>/dev/null ||
6215
 
echo X$ac_file |
6216
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6217
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6218
 
          /^X\(\/\/\)$/{ s//\1/; q; }
6219
 
          /^X\(\/\).*/{ s//\1/; q; }
6220
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
6221
 
done
6222
 
_ACEOF
6223
 
cat >>$CONFIG_STATUS <<\_ACEOF
6224
 
 
6225
 
#
6226
 
# CONFIG_COMMANDS section.
6227
 
#
6228
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6229
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6230
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6231
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6232
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6233
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
6234
 
         X"$ac_dest" : 'X\(//\)$' \| \
6235
 
         X"$ac_dest" : 'X\(/\)' \| \
6236
 
         .     : '\(.\)' 2>/dev/null ||
6237
 
echo X"$ac_dest" |
6238
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6239
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6240
 
          /^X\(\/\/\)$/{ s//\1/; q; }
6241
 
          /^X\(\/\).*/{ s//\1/; q; }
6242
 
          s/.*/./; q'`
6243
 
  { if $as_mkdir_p; then
6244
 
    mkdir -p "$ac_dir"
6245
 
  else
6246
 
    as_dir="$ac_dir"
6247
 
    as_dirs=
6248
 
    while test ! -d "$as_dir"; do
6249
 
      as_dirs="$as_dir $as_dirs"
6250
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
6251
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6252
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
6253
 
         X"$as_dir" : 'X\(//\)$' \| \
6254
 
         X"$as_dir" : 'X\(/\)' \| \
6255
 
         .     : '\(.\)' 2>/dev/null ||
6256
 
echo X"$as_dir" |
6257
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6258
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6259
 
          /^X\(\/\/\)$/{ s//\1/; q; }
6260
 
          /^X\(\/\).*/{ s//\1/; q; }
6261
 
          s/.*/./; q'`
6262
 
    done
6263
 
    test ! -n "$as_dirs" || mkdir $as_dirs
6264
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6265
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6266
 
   { (exit 1); exit 1; }; }; }
6267
 
 
6268
 
  ac_builddir=.
6269
 
 
6270
 
if test "$ac_dir" != .; then
6271
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6272
 
  # A "../" for each directory in $ac_dir_suffix.
6273
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6274
 
else
6275
 
  ac_dir_suffix= ac_top_builddir=
6276
 
fi
6277
 
 
6278
 
case $srcdir in
6279
 
  .)  # No --srcdir option.  We are building in place.
6280
 
    ac_srcdir=.
6281
 
    if test -z "$ac_top_builddir"; then
6282
 
       ac_top_srcdir=.
6283
 
    else
6284
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6285
 
    fi ;;
6286
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
6287
 
    ac_srcdir=$srcdir$ac_dir_suffix;
6288
 
    ac_top_srcdir=$srcdir ;;
6289
 
  *) # Relative path.
6290
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6291
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
6292
 
esac
6293
 
 
6294
 
# Do not use `cd foo && pwd` to compute absolute paths, because
6295
 
# the directories may not exist.
6296
 
case `pwd` in
6297
 
.) ac_abs_builddir="$ac_dir";;
6298
 
*)
6299
 
  case "$ac_dir" in
6300
 
  .) ac_abs_builddir=`pwd`;;
6301
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6302
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
6303
 
  esac;;
6304
 
esac
6305
 
case $ac_abs_builddir in
6306
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
6307
 
*)
6308
 
  case ${ac_top_builddir}. in
6309
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
6310
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6311
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6312
 
  esac;;
6313
 
esac
6314
 
case $ac_abs_builddir in
6315
 
.) ac_abs_srcdir=$ac_srcdir;;
6316
 
*)
6317
 
  case $ac_srcdir in
6318
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
6319
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6320
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6321
 
  esac;;
6322
 
esac
6323
 
case $ac_abs_builddir in
6324
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
6325
 
*)
6326
 
  case $ac_top_srcdir in
6327
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
6328
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6329
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6330
 
  esac;;
6331
 
esac
6332
 
 
6333
 
 
6334
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6335
 
echo "$as_me: executing $ac_dest commands" >&6;}
6336
 
  case $ac_dest in
6337
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
23098
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
23099
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
23100
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
23101
         X"$_am_arg" : 'X\(//\)$' \| \
 
23102
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
23103
$as_echo X"$_am_arg" |
 
23104
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23105
            s//\1/
 
23106
            q
 
23107
          }
 
23108
          /^X\(\/\/\)[^/].*/{
 
23109
            s//\1/
 
23110
            q
 
23111
          }
 
23112
          /^X\(\/\/\)$/{
 
23113
            s//\1/
 
23114
            q
 
23115
          }
 
23116
          /^X\(\/\).*/{
 
23117
            s//\1/
 
23118
            q
 
23119
          }
 
23120
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
23121
 ;;
 
23122
 
 
23123
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
23124
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
23125
 ;;
 
23126
  esac
 
23127
 
 
23128
 
 
23129
  case $ac_file$ac_mode in
 
23130
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6338
23131
  # Strip MF so we end up with the name of the file.
6339
23132
  mf=`echo "$mf" | sed -e 's/:.*$//'`
6340
23133
  # Check whether this is an Automake generated Makefile or not.
6342
23135
  # some people rename them; so instead we look at the file content.
6343
23136
  # Grep'ing the first line is not enough: some people post-process
6344
23137
  # each Makefile.in and add a new line on top of each file to say so.
6345
 
  # So let's grep whole file.
6346
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6347
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
23138
  # Grep'ing the whole file is not good either: AIX grep has a line
 
23139
  # limit of 2048, but all sed's we know have understand at least 4000.
 
23140
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
23141
    dirpart=`$as_dirname -- "$mf" ||
6348
23142
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6349
23143
         X"$mf" : 'X\(//\)[^/]' \| \
6350
23144
         X"$mf" : 'X\(//\)$' \| \
6351
 
         X"$mf" : 'X\(/\)' \| \
6352
 
         .     : '\(.\)' 2>/dev/null ||
6353
 
echo X"$mf" |
6354
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6355
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6356
 
          /^X\(\/\/\)$/{ s//\1/; q; }
6357
 
          /^X\(\/\).*/{ s//\1/; q; }
6358
 
          s/.*/./; q'`
 
23145
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
23146
$as_echo X"$mf" |
 
23147
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23148
            s//\1/
 
23149
            q
 
23150
          }
 
23151
          /^X\(\/\/\)[^/].*/{
 
23152
            s//\1/
 
23153
            q
 
23154
          }
 
23155
          /^X\(\/\/\)$/{
 
23156
            s//\1/
 
23157
            q
 
23158
          }
 
23159
          /^X\(\/\).*/{
 
23160
            s//\1/
 
23161
            q
 
23162
          }
 
23163
          s/.*/./; q'`
6359
23164
  else
6360
23165
    continue
6361
23166
  fi
6377
23182
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6378
23183
    # Make sure the directory exists.
6379
23184
    test -f "$dirpart/$file" && continue
6380
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
23185
    fdir=`$as_dirname -- "$file" ||
6381
23186
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6382
23187
         X"$file" : 'X\(//\)[^/]' \| \
6383
23188
         X"$file" : 'X\(//\)$' \| \
6384
 
         X"$file" : 'X\(/\)' \| \
6385
 
         .     : '\(.\)' 2>/dev/null ||
6386
 
echo X"$file" |
6387
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6388
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6389
 
          /^X\(\/\/\)$/{ s//\1/; q; }
6390
 
          /^X\(\/\).*/{ s//\1/; q; }
6391
 
          s/.*/./; q'`
6392
 
    { if $as_mkdir_p; then
6393
 
    mkdir -p $dirpart/$fdir
6394
 
  else
6395
 
    as_dir=$dirpart/$fdir
 
23189
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
23190
$as_echo X"$file" |
 
23191
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23192
            s//\1/
 
23193
            q
 
23194
          }
 
23195
          /^X\(\/\/\)[^/].*/{
 
23196
            s//\1/
 
23197
            q
 
23198
          }
 
23199
          /^X\(\/\/\)$/{
 
23200
            s//\1/
 
23201
            q
 
23202
          }
 
23203
          /^X\(\/\).*/{
 
23204
            s//\1/
 
23205
            q
 
23206
          }
 
23207
          s/.*/./; q'`
 
23208
    { as_dir=$dirpart/$fdir
 
23209
  case $as_dir in #(
 
23210
  -*) as_dir=./$as_dir;;
 
23211
  esac
 
23212
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6396
23213
    as_dirs=
6397
 
    while test ! -d "$as_dir"; do
6398
 
      as_dirs="$as_dir $as_dirs"
6399
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
23214
    while :; do
 
23215
      case $as_dir in #(
 
23216
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
23217
      *) as_qdir=$as_dir;;
 
23218
      esac
 
23219
      as_dirs="'$as_qdir' $as_dirs"
 
23220
      as_dir=`$as_dirname -- "$as_dir" ||
6400
23221
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6401
23222
         X"$as_dir" : 'X\(//\)[^/]' \| \
6402
23223
         X"$as_dir" : 'X\(//\)$' \| \
6403
 
         X"$as_dir" : 'X\(/\)' \| \
6404
 
         .     : '\(.\)' 2>/dev/null ||
6405
 
echo X"$as_dir" |
6406
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6407
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6408
 
          /^X\(\/\/\)$/{ s//\1/; q; }
6409
 
          /^X\(\/\).*/{ s//\1/; q; }
6410
 
          s/.*/./; q'`
 
23224
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
23225
$as_echo X"$as_dir" |
 
23226
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23227
            s//\1/
 
23228
            q
 
23229
          }
 
23230
          /^X\(\/\/\)[^/].*/{
 
23231
            s//\1/
 
23232
            q
 
23233
          }
 
23234
          /^X\(\/\/\)$/{
 
23235
            s//\1/
 
23236
            q
 
23237
          }
 
23238
          /^X\(\/\).*/{
 
23239
            s//\1/
 
23240
            q
 
23241
          }
 
23242
          s/.*/./; q'`
 
23243
      test -d "$as_dir" && break
6411
23244
    done
6412
 
    test ! -n "$as_dirs" || mkdir $as_dirs
6413
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6414
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
23245
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
23246
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
23247
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6415
23248
   { (exit 1); exit 1; }; }; }
6416
 
 
6417
23249
    # echo "creating $dirpart/$file"
6418
23250
    echo '# dummy' > "$dirpart/$file"
6419
23251
  done
6420
23252
done
6421
23253
 ;;
 
23254
 
6422
23255
  esac
6423
 
done
6424
 
_ACEOF
 
23256
done # for ac_tag
6425
23257
 
6426
 
cat >>$CONFIG_STATUS <<\_ACEOF
6427
23258
 
6428
23259
{ (exit 0); exit 0; }
6429
23260
_ACEOF
6430
23261
chmod +x $CONFIG_STATUS
6431
23262
ac_clean_files=$ac_clean_files_save
6432
23263
 
 
23264
test $ac_write_fail = 0 ||
 
23265
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
23266
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
23267
   { (exit 1); exit 1; }; }
 
23268
 
6433
23269
 
6434
23270
# configure is writing to config.log, and then calls config.status.
6435
23271
# config.status does its own redirection, appending to config.log.
6451
23287
  # would make configure fail if this is the last instruction.
6452
23288
  $ac_cs_success || { (exit 1); exit 1; }
6453
23289
fi
 
23290
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
23291
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
23292
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
23293
fi
6454
23294