~ubuntu-branches/ubuntu/utopic/cloog/utopic

« back to all changes in this revision

Viewing changes to osl/autom4te.cache/output.2

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-02-26 14:21:11 UTC
  • mfrom: (3.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20140226142111-vsbb1isby30uundd
Tags: 0.18.2-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
@%:@! /bin/sh
2
 
@%:@ Guess values for system-dependent variables and create Makefiles.
3
 
@%:@ Generated by GNU Autoconf 2.69 for osl 0.8.4.
4
 
@%:@
5
 
@%:@ Report bugs to <cedric.bastoul@u-psud.fr,pouchet@cse.ohio-state.edu>.
6
 
@%:@ 
7
 
@%:@ 
8
 
@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9
 
@%:@ 
10
 
@%:@ 
11
 
@%:@ This configure script is free software; the Free Software Foundation
12
 
@%:@ gives unlimited permission to copy, distribute and modify it.
13
 
## -------------------- ##
14
 
## M4sh Initialization. ##
15
 
## -------------------- ##
16
 
 
17
 
# Be more Bourne compatible
18
 
DUALCASE=1; export DUALCASE # for MKS sh
19
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20
 
  emulate sh
21
 
  NULLCMD=:
22
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
 
  # is contrary to our usage.  Disable this feature.
24
 
  alias -g '${1+"$@"}'='"$@"'
25
 
  setopt NO_GLOB_SUBST
26
 
else
27
 
  case `(set -o) 2>/dev/null` in @%:@(
28
 
  *posix*) :
29
 
    set -o posix ;; @%:@(
30
 
  *) :
31
 
     ;;
32
 
esac
33
 
fi
34
 
 
35
 
 
36
 
as_nl='
37
 
'
38
 
export as_nl
39
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
 
# but without wasting forks for bash or zsh.
45
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47
 
  as_echo='print -r --'
48
 
  as_echo_n='print -rn --'
49
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
 
  as_echo='printf %s\n'
51
 
  as_echo_n='printf %s'
52
 
else
53
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
 
    as_echo_n='/usr/ucb/echo -n'
56
 
  else
57
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
 
    as_echo_n_body='eval
59
 
      arg=$1;
60
 
      case $arg in @%:@(
61
 
      *"$as_nl"*)
62
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
 
      esac;
65
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
 
    '
67
 
    export as_echo_n_body
68
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
69
 
  fi
70
 
  export as_echo_body
71
 
  as_echo='sh -c $as_echo_body as_echo'
72
 
fi
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
82
 
 
83
 
 
84
 
# IFS
85
 
# We need space, tab and new line, in precisely that order.  Quoting is
86
 
# there to prevent editors from complaining about space-tab.
87
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
 
# splitting by setting IFS to empty value.)
89
 
IFS=" ""        $as_nl"
90
 
 
91
 
# Find who we are.  Look in the path if we contain no directory separator.
92
 
as_myself=
93
 
case $0 in @%:@((
94
 
  *[\\/]* ) as_myself=$0 ;;
95
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96
 
for as_dir in $PATH
97
 
do
98
 
  IFS=$as_save_IFS
99
 
  test -z "$as_dir" && as_dir=.
100
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101
 
  done
102
 
IFS=$as_save_IFS
103
 
 
104
 
     ;;
105
 
esac
106
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
107
 
# in which case we are not to be found in the path.
108
 
if test "x$as_myself" = x; then
109
 
  as_myself=$0
110
 
fi
111
 
if test ! -f "$as_myself"; then
112
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113
 
  exit 1
114
 
fi
115
 
 
116
 
# Unset variables that we do not need and which cause bugs (e.g. in
117
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118
 
# suppresses any "Segmentation fault" message there.  '((' could
119
 
# trigger a bug in pdksh 5.2.14.
120
 
for as_var in BASH_ENV ENV MAIL MAILPATH
121
 
do eval test x\${$as_var+set} = xset \
122
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123
 
done
124
 
PS1='$ '
125
 
PS2='> '
126
 
PS4='+ '
127
 
 
128
 
# NLS nuisances.
129
 
LC_ALL=C
130
 
export LC_ALL
131
 
LANGUAGE=C
132
 
export LANGUAGE
133
 
 
134
 
# CDPATH.
135
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
 
 
137
 
# Use a proper internal environment variable to ensure we don't fall
138
 
  # into an infinite loop, continuously re-executing ourselves.
139
 
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140
 
    _as_can_reexec=no; export _as_can_reexec;
141
 
    # We cannot yet assume a decent shell, so we have to provide a
142
 
# neutralization value for shells without unset; and this also
143
 
# works around shells that cannot unset nonexistent variables.
144
 
# Preserve -v and -x to the replacement shell.
145
 
BASH_ENV=/dev/null
146
 
ENV=/dev/null
147
 
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148
 
case $- in @%:@ ((((
149
 
  *v*x* | *x*v* ) as_opts=-vx ;;
150
 
  *v* ) as_opts=-v ;;
151
 
  *x* ) as_opts=-x ;;
152
 
  * ) as_opts= ;;
153
 
esac
154
 
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155
 
# Admittedly, this is quite paranoid, since all the known shells bail
156
 
# out after a failed `exec'.
157
 
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158
 
as_fn_exit 255
159
 
  fi
160
 
  # We don't want this to propagate to other subprocesses.
161
 
          { _as_can_reexec=; unset _as_can_reexec;}
162
 
if test "x$CONFIG_SHELL" = x; then
163
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164
 
  emulate sh
165
 
  NULLCMD=:
166
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167
 
  # is contrary to our usage.  Disable this feature.
168
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169
 
  setopt NO_GLOB_SUBST
170
 
else
171
 
  case \`(set -o) 2>/dev/null\` in @%:@(
172
 
  *posix*) :
173
 
    set -o posix ;; @%:@(
174
 
  *) :
175
 
     ;;
176
 
esac
177
 
fi
178
 
"
179
 
  as_required="as_fn_return () { (exit \$1); }
180
 
as_fn_success () { as_fn_return 0; }
181
 
as_fn_failure () { as_fn_return 1; }
182
 
as_fn_ret_success () { return 0; }
183
 
as_fn_ret_failure () { return 1; }
184
 
 
185
 
exitcode=0
186
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
 
  
192
 
else
193
 
  exitcode=1; echo positional parameters were not saved.
194
 
fi
195
 
test x\$exitcode = x0 || exit 1
196
 
test -x / || exit 1"
197
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
 
 
202
 
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203
 
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204
 
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205
 
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206
 
    PATH=/empty FPATH=/empty; export PATH FPATH
207
 
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208
 
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209
 
test \$(( 1 + 1 )) = 2 || exit 1"
210
 
  if (eval "$as_required") 2>/dev/null; then :
211
 
  as_have_required=yes
212
 
else
213
 
  as_have_required=no
214
 
fi
215
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
 
  
217
 
else
218
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219
 
as_found=false
220
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221
 
do
222
 
  IFS=$as_save_IFS
223
 
  test -z "$as_dir" && as_dir=.
224
 
  as_found=:
225
 
  case $as_dir in @%:@(
226
 
         /*)
227
 
           for as_base in sh bash ksh sh5; do
228
 
             # Try only shells that exist, to save several forks.
229
 
             as_shell=$as_dir/$as_base
230
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232
 
  CONFIG_SHELL=$as_shell as_have_required=yes
233
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234
 
  break 2
235
 
fi
236
 
fi
237
 
           done;;
238
 
       esac
239
 
  as_found=false
240
 
done
241
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243
 
  CONFIG_SHELL=$SHELL as_have_required=yes
244
 
fi; }
245
 
IFS=$as_save_IFS
246
 
 
247
 
 
248
 
      if test "x$CONFIG_SHELL" != x; then :
249
 
  export CONFIG_SHELL
250
 
             # We cannot yet assume a decent shell, so we have to provide a
251
 
# neutralization value for shells without unset; and this also
252
 
# works around shells that cannot unset nonexistent variables.
253
 
# Preserve -v and -x to the replacement shell.
254
 
BASH_ENV=/dev/null
255
 
ENV=/dev/null
256
 
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257
 
case $- in @%:@ ((((
258
 
  *v*x* | *x*v* ) as_opts=-vx ;;
259
 
  *v* ) as_opts=-v ;;
260
 
  *x* ) as_opts=-x ;;
261
 
  * ) as_opts= ;;
262
 
esac
263
 
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264
 
# Admittedly, this is quite paranoid, since all the known shells bail
265
 
# out after a failed `exec'.
266
 
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267
 
exit 255
268
 
fi
269
 
 
270
 
    if test x$as_have_required = xno; then :
271
 
  $as_echo "$0: This script requires a shell more modern than all"
272
 
  $as_echo "$0: the shells that I found on your system."
273
 
  if test x${ZSH_VERSION+set} = xset ; then
274
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276
 
  else
277
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
278
 
$0: cedric.bastoul@u-psud.fr,pouchet@cse.ohio-state.edu
279
 
$0: about your system, including any error possibly output
280
 
$0: before this message. Then install a modern shell, or
281
 
$0: manually run the script under such a shell if you do
282
 
$0: have one."
283
 
  fi
284
 
  exit 1
285
 
fi
286
 
fi
287
 
fi
288
 
SHELL=${CONFIG_SHELL-/bin/sh}
289
 
export SHELL
290
 
# Unset more variables known to interfere with behavior of common tools.
291
 
CLICOLOR_FORCE= GREP_OPTIONS=
292
 
unset CLICOLOR_FORCE GREP_OPTIONS
293
 
 
294
 
## --------------------- ##
295
 
## M4sh Shell Functions. ##
296
 
## --------------------- ##
297
 
@%:@ as_fn_unset VAR
298
 
@%:@ ---------------
299
 
@%:@ Portably unset VAR.
300
 
as_fn_unset ()
301
 
{
302
 
  { eval $1=; unset $1;}
303
 
}
304
 
as_unset=as_fn_unset
305
 
 
306
 
@%:@ as_fn_set_status STATUS
307
 
@%:@ -----------------------
308
 
@%:@ Set @S|@? to STATUS, without forking.
309
 
as_fn_set_status ()
310
 
{
311
 
  return $1
312
 
} @%:@ as_fn_set_status
313
 
 
314
 
@%:@ as_fn_exit STATUS
315
 
@%:@ -----------------
316
 
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317
 
as_fn_exit ()
318
 
{
319
 
  set +e
320
 
  as_fn_set_status $1
321
 
  exit $1
322
 
} @%:@ as_fn_exit
323
 
 
324
 
@%:@ as_fn_mkdir_p
325
 
@%:@ -------------
326
 
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
327
 
as_fn_mkdir_p ()
328
 
{
329
 
 
330
 
  case $as_dir in #(
331
 
  -*) as_dir=./$as_dir;;
332
 
  esac
333
 
  test -d "$as_dir" || eval $as_mkdir_p || {
334
 
    as_dirs=
335
 
    while :; do
336
 
      case $as_dir in #(
337
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338
 
      *) as_qdir=$as_dir;;
339
 
      esac
340
 
      as_dirs="'$as_qdir' $as_dirs"
341
 
      as_dir=`$as_dirname -- "$as_dir" ||
342
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
344
 
         X"$as_dir" : 'X\(//\)$' \| \
345
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346
 
$as_echo X"$as_dir" |
347
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348
 
            s//\1/
349
 
            q
350
 
          }
351
 
          /^X\(\/\/\)[^/].*/{
352
 
            s//\1/
353
 
            q
354
 
          }
355
 
          /^X\(\/\/\)$/{
356
 
            s//\1/
357
 
            q
358
 
          }
359
 
          /^X\(\/\).*/{
360
 
            s//\1/
361
 
            q
362
 
          }
363
 
          s/.*/./; q'`
364
 
      test -d "$as_dir" && break
365
 
    done
366
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
367
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
 
 
369
 
 
370
 
} @%:@ as_fn_mkdir_p
371
 
 
372
 
@%:@ as_fn_executable_p FILE
373
 
@%:@ -----------------------
374
 
@%:@ Test if FILE is an executable regular file.
375
 
as_fn_executable_p ()
376
 
{
377
 
  test -f "$1" && test -x "$1"
378
 
} @%:@ as_fn_executable_p
379
 
@%:@ as_fn_append VAR VALUE
380
 
@%:@ ----------------------
381
 
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
382
 
@%:@ advantage of any shell optimizations that allow amortized linear growth over
383
 
@%:@ repeated appends, instead of the typical quadratic growth present in naive
384
 
@%:@ implementations.
385
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386
 
  eval 'as_fn_append ()
387
 
  {
388
 
    eval $1+=\$2
389
 
  }'
390
 
else
391
 
  as_fn_append ()
392
 
  {
393
 
    eval $1=\$$1\$2
394
 
  }
395
 
fi # as_fn_append
396
 
 
397
 
@%:@ as_fn_arith ARG...
398
 
@%:@ ------------------
399
 
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
400
 
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
401
 
@%:@ must be portable across @S|@(()) and expr.
402
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403
 
  eval 'as_fn_arith ()
404
 
  {
405
 
    as_val=$(( $* ))
406
 
  }'
407
 
else
408
 
  as_fn_arith ()
409
 
  {
410
 
    as_val=`expr "$@" || test $? -eq 1`
411
 
  }
412
 
fi # as_fn_arith
413
 
 
414
 
 
415
 
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
416
 
@%:@ ----------------------------------------
417
 
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418
 
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419
 
@%:@ script with STATUS, using 1 if that was 0.
420
 
as_fn_error ()
421
 
{
422
 
  as_status=$1; test $as_status -eq 0 && as_status=1
423
 
  if test "$4"; then
424
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426
 
  fi
427
 
  $as_echo "$as_me: error: $2" >&2
428
 
  as_fn_exit $as_status
429
 
} @%:@ as_fn_error
430
 
 
431
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
432
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
433
 
  as_expr=expr
434
 
else
435
 
  as_expr=false
436
 
fi
437
 
 
438
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439
 
  as_basename=basename
440
 
else
441
 
  as_basename=false
442
 
fi
443
 
 
444
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445
 
  as_dirname=dirname
446
 
else
447
 
  as_dirname=false
448
 
fi
449
 
 
450
 
as_me=`$as_basename -- "$0" ||
451
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452
 
         X"$0" : 'X\(//\)$' \| \
453
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454
 
$as_echo X/"$0" |
455
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
456
 
            s//\1/
457
 
            q
458
 
          }
459
 
          /^X\/\(\/\/\)$/{
460
 
            s//\1/
461
 
            q
462
 
          }
463
 
          /^X\/\(\/\).*/{
464
 
            s//\1/
465
 
            q
466
 
          }
467
 
          s/.*/./; q'`
468
 
 
469
 
# Avoid depending upon Character Ranges.
470
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473
 
as_cr_digits='0123456789'
474
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
475
 
 
476
 
 
477
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
478
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
479
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
482
 
  sed -n '
483
 
    p
484
 
    /[$]LINENO/=
485
 
  ' <$as_myself |
486
 
    sed '
487
 
      s/[$]LINENO.*/&-/
488
 
      t lineno
489
 
      b
490
 
      :lineno
491
 
      N
492
 
      :loop
493
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494
 
      t loop
495
 
      s/-\n.*//
496
 
    ' >$as_me.lineno &&
497
 
  chmod +x "$as_me.lineno" ||
498
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
 
 
500
 
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501
 
  # already done that, so ensure we don't try to do so again and fall
502
 
  # in an infinite loop.  This has already happened in practice.
503
 
  _as_can_reexec=no; export _as_can_reexec
504
 
  # Don't try to exec as it changes $[0], causing all sort of problems
505
 
  # (the dirname of $[0] is not the place where we might find the
506
 
  # original and so on.  Autoconf is especially sensitive to this).
507
 
  . "./$as_me.lineno"
508
 
  # Exit status is that of the last command.
509
 
  exit
510
 
}
511
 
 
512
 
ECHO_C= ECHO_N= ECHO_T=
513
 
case `echo -n x` in @%:@(((((
514
 
-n*)
515
 
  case `echo 'xy\c'` in
516
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
517
 
  xy)  ECHO_C='\c';;
518
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
519
 
       ECHO_T=' ';;
520
 
  esac;;
521
 
*)
522
 
  ECHO_N='-n';;
523
 
esac
524
 
 
525
 
rm -f conf$$ conf$$.exe conf$$.file
526
 
if test -d conf$$.dir; then
527
 
  rm -f conf$$.dir/conf$$.file
528
 
else
529
 
  rm -f conf$$.dir
530
 
  mkdir conf$$.dir 2>/dev/null
531
 
fi
532
 
if (echo >conf$$.file) 2>/dev/null; then
533
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
534
 
    as_ln_s='ln -s'
535
 
    # ... but there are two gotchas:
536
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538
 
    # In both cases, we have to default to `cp -pR'.
539
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540
 
      as_ln_s='cp -pR'
541
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
542
 
    as_ln_s=ln
543
 
  else
544
 
    as_ln_s='cp -pR'
545
 
  fi
546
 
else
547
 
  as_ln_s='cp -pR'
548
 
fi
549
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550
 
rmdir conf$$.dir 2>/dev/null
551
 
 
552
 
if mkdir -p . 2>/dev/null; then
553
 
  as_mkdir_p='mkdir -p "$as_dir"'
554
 
else
555
 
  test -d ./-p && rmdir ./-p
556
 
  as_mkdir_p=false
557
 
fi
558
 
 
559
 
as_test_x='test -x'
560
 
as_executable_p=as_fn_executable_p
561
 
 
562
 
# Sed expression to map a string onto a valid CPP name.
563
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
 
 
565
 
# Sed expression to map a string onto a valid variable name.
566
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
 
 
568
 
SHELL=${CONFIG_SHELL-/bin/sh}
569
 
 
570
 
 
571
 
test -n "$DJDIR" || exec 7<&0 </dev/null
572
 
exec 6>&1
573
 
 
574
 
# Name of the host.
575
 
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576
 
# so uname gets run too.
577
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578
 
 
579
 
#
580
 
# Initializations.
581
 
#
582
 
ac_default_prefix=/usr/local
583
 
ac_clean_files=
584
 
ac_config_libobj_dir=.
585
 
LIB@&t@OBJS=
586
 
cross_compiling=no
587
 
subdirs=
588
 
MFLAGS=
589
 
MAKEFLAGS=
590
 
 
591
 
# Identity of this package.
592
 
PACKAGE_NAME='osl'
593
 
PACKAGE_TARNAME='osl'
594
 
PACKAGE_VERSION='0.8.4'
595
 
PACKAGE_STRING='osl 0.8.4'
596
 
PACKAGE_BUGREPORT='cedric.bastoul@u-psud.fr,pouchet@cse.ohio-state.edu'
597
 
PACKAGE_URL=''
598
 
 
599
 
ac_unique_file="include/osl/macros.h"
600
 
# Factoring default headers for most tests.
601
 
ac_includes_default="\
602
 
#include <stdio.h>
603
 
#ifdef HAVE_SYS_TYPES_H
604
 
# include <sys/types.h>
605
 
#endif
606
 
#ifdef HAVE_SYS_STAT_H
607
 
# include <sys/stat.h>
608
 
#endif
609
 
#ifdef STDC_HEADERS
610
 
# include <stdlib.h>
611
 
# include <stddef.h>
612
 
#else
613
 
# ifdef HAVE_STDLIB_H
614
 
#  include <stdlib.h>
615
 
# endif
616
 
#endif
617
 
#ifdef HAVE_STRING_H
618
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619
 
#  include <memory.h>
620
 
# endif
621
 
# include <string.h>
622
 
#endif
623
 
#ifdef HAVE_STRINGS_H
624
 
# include <strings.h>
625
 
#endif
626
 
#ifdef HAVE_INTTYPES_H
627
 
# include <inttypes.h>
628
 
#endif
629
 
#ifdef HAVE_STDINT_H
630
 
# include <stdint.h>
631
 
#endif
632
 
#ifdef HAVE_UNISTD_H
633
 
# include <unistd.h>
634
 
#endif"
635
 
 
636
 
ac_subst_vars='am__EXEEXT_FALSE
637
 
am__EXEEXT_TRUE
638
 
LTLIBOBJS
639
 
LIB@&t@OBJS
640
 
VERSION_REVISION
641
 
VERSION_MINOR
642
 
VERSION_MAJOR
643
 
abs_top_srcdir
644
 
ac_aux_dir
645
 
CFLAGS_WARN
646
 
PRTDIAG
647
 
DOXYGEN
648
 
CPP
649
 
OTOOL64
650
 
OTOOL
651
 
LIPO
652
 
NMEDIT
653
 
DSYMUTIL
654
 
MANIFEST_TOOL
655
 
RANLIB
656
 
ac_ct_AR
657
 
AR
658
 
DLLTOOL
659
 
OBJDUMP
660
 
NM
661
 
ac_ct_DUMPBIN
662
 
DUMPBIN
663
 
LD
664
 
FGREP
665
 
EGREP
666
 
GREP
667
 
SED
668
 
host_os
669
 
host_vendor
670
 
host_cpu
671
 
host
672
 
build_os
673
 
build_vendor
674
 
build_cpu
675
 
build
676
 
LIBTOOL
677
 
CD
678
 
LN_S
679
 
am__fastdepCC_FALSE
680
 
am__fastdepCC_TRUE
681
 
CCDEPMODE
682
 
am__nodep
683
 
AMDEPBACKSLASH
684
 
AMDEP_FALSE
685
 
AMDEP_TRUE
686
 
am__quote
687
 
am__include
688
 
DEPDIR
689
 
OBJEXT
690
 
EXEEXT
691
 
ac_ct_CC
692
 
CPPFLAGS
693
 
LDFLAGS
694
 
CFLAGS
695
 
CC
696
 
AM_BACKSLASH
697
 
AM_DEFAULT_VERBOSITY
698
 
AM_DEFAULT_V
699
 
AM_V
700
 
am__untar
701
 
am__tar
702
 
AMTAR
703
 
am__leading_dot
704
 
SET_MAKE
705
 
AWK
706
 
mkdir_p
707
 
MKDIR_P
708
 
INSTALL_STRIP_PROGRAM
709
 
STRIP
710
 
install_sh
711
 
MAKEINFO
712
 
AUTOHEADER
713
 
AUTOMAKE
714
 
AUTOCONF
715
 
ACLOCAL
716
 
VERSION
717
 
PACKAGE
718
 
CYGPATH_W
719
 
am__isrc
720
 
INSTALL_DATA
721
 
INSTALL_SCRIPT
722
 
INSTALL_PROGRAM
723
 
target_alias
724
 
host_alias
725
 
build_alias
726
 
LIBS
727
 
ECHO_T
728
 
ECHO_N
729
 
ECHO_C
730
 
DEFS
731
 
mandir
732
 
localedir
733
 
libdir
734
 
psdir
735
 
pdfdir
736
 
dvidir
737
 
htmldir
738
 
infodir
739
 
docdir
740
 
oldincludedir
741
 
includedir
742
 
localstatedir
743
 
sharedstatedir
744
 
sysconfdir
745
 
datadir
746
 
datarootdir
747
 
libexecdir
748
 
sbindir
749
 
bindir
750
 
program_transform_name
751
 
prefix
752
 
exec_prefix
753
 
PACKAGE_URL
754
 
PACKAGE_BUGREPORT
755
 
PACKAGE_STRING
756
 
PACKAGE_VERSION
757
 
PACKAGE_TARNAME
758
 
PACKAGE_NAME
759
 
PATH_SEPARATOR
760
 
SHELL'
761
 
ac_subst_files=''
762
 
ac_user_opts='
763
 
enable_option_checking
764
 
enable_silent_rules
765
 
enable_dependency_tracking
766
 
enable_shared
767
 
enable_static
768
 
with_pic
769
 
enable_fast_install
770
 
with_gnu_ld
771
 
with_sysroot
772
 
enable_libtool_lock
773
 
enable_portable_binary
774
 
with_gcc_arch
775
 
with_gmp
776
 
with_gmp_prefix
777
 
with_gmp_exec_prefix
778
 
with_gmp_builddir
779
 
'
780
 
      ac_precious_vars='build_alias
781
 
host_alias
782
 
target_alias
783
 
CC
784
 
CFLAGS
785
 
LDFLAGS
786
 
LIBS
787
 
CPPFLAGS
788
 
CPP'
789
 
 
790
 
 
791
 
# Initialize some variables set by options.
792
 
ac_init_help=
793
 
ac_init_version=false
794
 
ac_unrecognized_opts=
795
 
ac_unrecognized_sep=
796
 
# The variables have the same names as the options, with
797
 
# dashes changed to underlines.
798
 
cache_file=/dev/null
799
 
exec_prefix=NONE
800
 
no_create=
801
 
no_recursion=
802
 
prefix=NONE
803
 
program_prefix=NONE
804
 
program_suffix=NONE
805
 
program_transform_name=s,x,x,
806
 
silent=
807
 
site=
808
 
srcdir=
809
 
verbose=
810
 
x_includes=NONE
811
 
x_libraries=NONE
812
 
 
813
 
# Installation directory options.
814
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
815
 
# and all the variables that are supposed to be based on exec_prefix
816
 
# by default will actually change.
817
 
# Use braces instead of parens because sh, perl, etc. also accept them.
818
 
# (The list follows the same order as the GNU Coding Standards.)
819
 
bindir='${exec_prefix}/bin'
820
 
sbindir='${exec_prefix}/sbin'
821
 
libexecdir='${exec_prefix}/libexec'
822
 
datarootdir='${prefix}/share'
823
 
datadir='${datarootdir}'
824
 
sysconfdir='${prefix}/etc'
825
 
sharedstatedir='${prefix}/com'
826
 
localstatedir='${prefix}/var'
827
 
includedir='${prefix}/include'
828
 
oldincludedir='/usr/include'
829
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
830
 
infodir='${datarootdir}/info'
831
 
htmldir='${docdir}'
832
 
dvidir='${docdir}'
833
 
pdfdir='${docdir}'
834
 
psdir='${docdir}'
835
 
libdir='${exec_prefix}/lib'
836
 
localedir='${datarootdir}/locale'
837
 
mandir='${datarootdir}/man'
838
 
 
839
 
ac_prev=
840
 
ac_dashdash=
841
 
for ac_option
842
 
do
843
 
  # If the previous option needs an argument, assign it.
844
 
  if test -n "$ac_prev"; then
845
 
    eval $ac_prev=\$ac_option
846
 
    ac_prev=
847
 
    continue
848
 
  fi
849
 
 
850
 
  case $ac_option in
851
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
852
 
  *=)   ac_optarg= ;;
853
 
  *)    ac_optarg=yes ;;
854
 
  esac
855
 
 
856
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
857
 
 
858
 
  case $ac_dashdash$ac_option in
859
 
  --)
860
 
    ac_dashdash=yes ;;
861
 
 
862
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
863
 
    ac_prev=bindir ;;
864
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
865
 
    bindir=$ac_optarg ;;
866
 
 
867
 
  -build | --build | --buil | --bui | --bu)
868
 
    ac_prev=build_alias ;;
869
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
870
 
    build_alias=$ac_optarg ;;
871
 
 
872
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
873
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
874
 
    ac_prev=cache_file ;;
875
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
876
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
877
 
    cache_file=$ac_optarg ;;
878
 
 
879
 
  --config-cache | -C)
880
 
    cache_file=config.cache ;;
881
 
 
882
 
  -datadir | --datadir | --datadi | --datad)
883
 
    ac_prev=datadir ;;
884
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
885
 
    datadir=$ac_optarg ;;
886
 
 
887
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
888
 
  | --dataroo | --dataro | --datar)
889
 
    ac_prev=datarootdir ;;
890
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
891
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
892
 
    datarootdir=$ac_optarg ;;
893
 
 
894
 
  -disable-* | --disable-*)
895
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
896
 
    # Reject names that are not valid shell variable names.
897
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
898
 
      as_fn_error $? "invalid feature name: $ac_useropt"
899
 
    ac_useropt_orig=$ac_useropt
900
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
901
 
    case $ac_user_opts in
902
 
      *"
903
 
"enable_$ac_useropt"
904
 
"*) ;;
905
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
906
 
         ac_unrecognized_sep=', ';;
907
 
    esac
908
 
    eval enable_$ac_useropt=no ;;
909
 
 
910
 
  -docdir | --docdir | --docdi | --doc | --do)
911
 
    ac_prev=docdir ;;
912
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
913
 
    docdir=$ac_optarg ;;
914
 
 
915
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
916
 
    ac_prev=dvidir ;;
917
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
918
 
    dvidir=$ac_optarg ;;
919
 
 
920
 
  -enable-* | --enable-*)
921
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
922
 
    # Reject names that are not valid shell variable names.
923
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
924
 
      as_fn_error $? "invalid feature name: $ac_useropt"
925
 
    ac_useropt_orig=$ac_useropt
926
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
927
 
    case $ac_user_opts in
928
 
      *"
929
 
"enable_$ac_useropt"
930
 
"*) ;;
931
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
932
 
         ac_unrecognized_sep=', ';;
933
 
    esac
934
 
    eval enable_$ac_useropt=\$ac_optarg ;;
935
 
 
936
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
937
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
938
 
  | --exec | --exe | --ex)
939
 
    ac_prev=exec_prefix ;;
940
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
941
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
942
 
  | --exec=* | --exe=* | --ex=*)
943
 
    exec_prefix=$ac_optarg ;;
944
 
 
945
 
  -gas | --gas | --ga | --g)
946
 
    # Obsolete; use --with-gas.
947
 
    with_gas=yes ;;
948
 
 
949
 
  -help | --help | --hel | --he | -h)
950
 
    ac_init_help=long ;;
951
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
952
 
    ac_init_help=recursive ;;
953
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
954
 
    ac_init_help=short ;;
955
 
 
956
 
  -host | --host | --hos | --ho)
957
 
    ac_prev=host_alias ;;
958
 
  -host=* | --host=* | --hos=* | --ho=*)
959
 
    host_alias=$ac_optarg ;;
960
 
 
961
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
962
 
    ac_prev=htmldir ;;
963
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
964
 
  | --ht=*)
965
 
    htmldir=$ac_optarg ;;
966
 
 
967
 
  -includedir | --includedir | --includedi | --included | --include \
968
 
  | --includ | --inclu | --incl | --inc)
969
 
    ac_prev=includedir ;;
970
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
971
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
972
 
    includedir=$ac_optarg ;;
973
 
 
974
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
975
 
    ac_prev=infodir ;;
976
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
977
 
    infodir=$ac_optarg ;;
978
 
 
979
 
  -libdir | --libdir | --libdi | --libd)
980
 
    ac_prev=libdir ;;
981
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
982
 
    libdir=$ac_optarg ;;
983
 
 
984
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
985
 
  | --libexe | --libex | --libe)
986
 
    ac_prev=libexecdir ;;
987
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
988
 
  | --libexe=* | --libex=* | --libe=*)
989
 
    libexecdir=$ac_optarg ;;
990
 
 
991
 
  -localedir | --localedir | --localedi | --localed | --locale)
992
 
    ac_prev=localedir ;;
993
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
994
 
    localedir=$ac_optarg ;;
995
 
 
996
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
997
 
  | --localstate | --localstat | --localsta | --localst | --locals)
998
 
    ac_prev=localstatedir ;;
999
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1000
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1001
 
    localstatedir=$ac_optarg ;;
1002
 
 
1003
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1004
 
    ac_prev=mandir ;;
1005
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1006
 
    mandir=$ac_optarg ;;
1007
 
 
1008
 
  -nfp | --nfp | --nf)
1009
 
    # Obsolete; use --without-fp.
1010
 
    with_fp=no ;;
1011
 
 
1012
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1013
 
  | --no-cr | --no-c | -n)
1014
 
    no_create=yes ;;
1015
 
 
1016
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1017
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1018
 
    no_recursion=yes ;;
1019
 
 
1020
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1021
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1022
 
  | --oldin | --oldi | --old | --ol | --o)
1023
 
    ac_prev=oldincludedir ;;
1024
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1025
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1026
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1027
 
    oldincludedir=$ac_optarg ;;
1028
 
 
1029
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1030
 
    ac_prev=prefix ;;
1031
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1032
 
    prefix=$ac_optarg ;;
1033
 
 
1034
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1035
 
  | --program-pre | --program-pr | --program-p)
1036
 
    ac_prev=program_prefix ;;
1037
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1038
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1039
 
    program_prefix=$ac_optarg ;;
1040
 
 
1041
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1042
 
  | --program-suf | --program-su | --program-s)
1043
 
    ac_prev=program_suffix ;;
1044
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1045
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1046
 
    program_suffix=$ac_optarg ;;
1047
 
 
1048
 
  -program-transform-name | --program-transform-name \
1049
 
  | --program-transform-nam | --program-transform-na \
1050
 
  | --program-transform-n | --program-transform- \
1051
 
  | --program-transform | --program-transfor \
1052
 
  | --program-transfo | --program-transf \
1053
 
  | --program-trans | --program-tran \
1054
 
  | --progr-tra | --program-tr | --program-t)
1055
 
    ac_prev=program_transform_name ;;
1056
 
  -program-transform-name=* | --program-transform-name=* \
1057
 
  | --program-transform-nam=* | --program-transform-na=* \
1058
 
  | --program-transform-n=* | --program-transform-=* \
1059
 
  | --program-transform=* | --program-transfor=* \
1060
 
  | --program-transfo=* | --program-transf=* \
1061
 
  | --program-trans=* | --program-tran=* \
1062
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1063
 
    program_transform_name=$ac_optarg ;;
1064
 
 
1065
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1066
 
    ac_prev=pdfdir ;;
1067
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1068
 
    pdfdir=$ac_optarg ;;
1069
 
 
1070
 
  -psdir | --psdir | --psdi | --psd | --ps)
1071
 
    ac_prev=psdir ;;
1072
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1073
 
    psdir=$ac_optarg ;;
1074
 
 
1075
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1076
 
  | -silent | --silent | --silen | --sile | --sil)
1077
 
    silent=yes ;;
1078
 
 
1079
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1080
 
    ac_prev=sbindir ;;
1081
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1082
 
  | --sbi=* | --sb=*)
1083
 
    sbindir=$ac_optarg ;;
1084
 
 
1085
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1086
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1087
 
  | --sharedst | --shareds | --shared | --share | --shar \
1088
 
  | --sha | --sh)
1089
 
    ac_prev=sharedstatedir ;;
1090
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1091
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1092
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1093
 
  | --sha=* | --sh=*)
1094
 
    sharedstatedir=$ac_optarg ;;
1095
 
 
1096
 
  -site | --site | --sit)
1097
 
    ac_prev=site ;;
1098
 
  -site=* | --site=* | --sit=*)
1099
 
    site=$ac_optarg ;;
1100
 
 
1101
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1102
 
    ac_prev=srcdir ;;
1103
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1104
 
    srcdir=$ac_optarg ;;
1105
 
 
1106
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1107
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1108
 
    ac_prev=sysconfdir ;;
1109
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1110
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1111
 
    sysconfdir=$ac_optarg ;;
1112
 
 
1113
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1114
 
    ac_prev=target_alias ;;
1115
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1116
 
    target_alias=$ac_optarg ;;
1117
 
 
1118
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1119
 
    verbose=yes ;;
1120
 
 
1121
 
  -version | --version | --versio | --versi | --vers | -V)
1122
 
    ac_init_version=: ;;
1123
 
 
1124
 
  -with-* | --with-*)
1125
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1126
 
    # Reject names that are not valid shell variable names.
1127
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1128
 
      as_fn_error $? "invalid package name: $ac_useropt"
1129
 
    ac_useropt_orig=$ac_useropt
1130
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1131
 
    case $ac_user_opts in
1132
 
      *"
1133
 
"with_$ac_useropt"
1134
 
"*) ;;
1135
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1136
 
         ac_unrecognized_sep=', ';;
1137
 
    esac
1138
 
    eval with_$ac_useropt=\$ac_optarg ;;
1139
 
 
1140
 
  -without-* | --without-*)
1141
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1142
 
    # Reject names that are not valid shell variable names.
1143
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1144
 
      as_fn_error $? "invalid package name: $ac_useropt"
1145
 
    ac_useropt_orig=$ac_useropt
1146
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147
 
    case $ac_user_opts in
1148
 
      *"
1149
 
"with_$ac_useropt"
1150
 
"*) ;;
1151
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1152
 
         ac_unrecognized_sep=', ';;
1153
 
    esac
1154
 
    eval with_$ac_useropt=no ;;
1155
 
 
1156
 
  --x)
1157
 
    # Obsolete; use --with-x.
1158
 
    with_x=yes ;;
1159
 
 
1160
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1161
 
  | --x-incl | --x-inc | --x-in | --x-i)
1162
 
    ac_prev=x_includes ;;
1163
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1164
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1165
 
    x_includes=$ac_optarg ;;
1166
 
 
1167
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1168
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1169
 
    ac_prev=x_libraries ;;
1170
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1171
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1172
 
    x_libraries=$ac_optarg ;;
1173
 
 
1174
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1175
 
Try \`$0 --help' for more information"
1176
 
    ;;
1177
 
 
1178
 
  *=*)
1179
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1180
 
    # Reject names that are not valid shell variable names.
1181
 
    case $ac_envvar in #(
1182
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1183
 
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1184
 
    esac
1185
 
    eval $ac_envvar=\$ac_optarg
1186
 
    export $ac_envvar ;;
1187
 
 
1188
 
  *)
1189
 
    # FIXME: should be removed in autoconf 3.0.
1190
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1191
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1192
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1193
 
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1194
 
    ;;
1195
 
 
1196
 
  esac
1197
 
done
1198
 
 
1199
 
if test -n "$ac_prev"; then
1200
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1201
 
  as_fn_error $? "missing argument to $ac_option"
1202
 
fi
1203
 
 
1204
 
if test -n "$ac_unrecognized_opts"; then
1205
 
  case $enable_option_checking in
1206
 
    no) ;;
1207
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1208
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1209
 
  esac
1210
 
fi
1211
 
 
1212
 
# Check all directory arguments for consistency.
1213
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1214
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1215
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1216
 
                libdir localedir mandir
1217
 
do
1218
 
  eval ac_val=\$$ac_var
1219
 
  # Remove trailing slashes.
1220
 
  case $ac_val in
1221
 
    */ )
1222
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1223
 
      eval $ac_var=\$ac_val;;
1224
 
  esac
1225
 
  # Be sure to have absolute directory names.
1226
 
  case $ac_val in
1227
 
    [\\/$]* | ?:[\\/]* )  continue;;
1228
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1229
 
  esac
1230
 
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1231
 
done
1232
 
 
1233
 
# There might be people who depend on the old broken behavior: `$host'
1234
 
# used to hold the argument of --host etc.
1235
 
# FIXME: To remove some day.
1236
 
build=$build_alias
1237
 
host=$host_alias
1238
 
target=$target_alias
1239
 
 
1240
 
# FIXME: To remove some day.
1241
 
if test "x$host_alias" != x; then
1242
 
  if test "x$build_alias" = x; then
1243
 
    cross_compiling=maybe
1244
 
  elif test "x$build_alias" != "x$host_alias"; then
1245
 
    cross_compiling=yes
1246
 
  fi
1247
 
fi
1248
 
 
1249
 
ac_tool_prefix=
1250
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1251
 
 
1252
 
test "$silent" = yes && exec 6>/dev/null
1253
 
 
1254
 
 
1255
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1256
 
ac_ls_di=`ls -di .` &&
1257
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1258
 
  as_fn_error $? "working directory cannot be determined"
1259
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1260
 
  as_fn_error $? "pwd does not report name of working directory"
1261
 
 
1262
 
 
1263
 
# Find the source files, if location was not specified.
1264
 
if test -z "$srcdir"; then
1265
 
  ac_srcdir_defaulted=yes
1266
 
  # Try the directory containing this script, then the parent directory.
1267
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1268
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1269
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1270
 
         X"$as_myself" : 'X\(//\)$' \| \
1271
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1272
 
$as_echo X"$as_myself" |
1273
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1274
 
            s//\1/
1275
 
            q
1276
 
          }
1277
 
          /^X\(\/\/\)[^/].*/{
1278
 
            s//\1/
1279
 
            q
1280
 
          }
1281
 
          /^X\(\/\/\)$/{
1282
 
            s//\1/
1283
 
            q
1284
 
          }
1285
 
          /^X\(\/\).*/{
1286
 
            s//\1/
1287
 
            q
1288
 
          }
1289
 
          s/.*/./; q'`
1290
 
  srcdir=$ac_confdir
1291
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1292
 
    srcdir=..
1293
 
  fi
1294
 
else
1295
 
  ac_srcdir_defaulted=no
1296
 
fi
1297
 
if test ! -r "$srcdir/$ac_unique_file"; then
1298
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1299
 
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1300
 
fi
1301
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1302
 
ac_abs_confdir=`(
1303
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1304
 
        pwd)`
1305
 
# When building in place, set srcdir=.
1306
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1307
 
  srcdir=.
1308
 
fi
1309
 
# Remove unnecessary trailing slashes from srcdir.
1310
 
# Double slashes in file names in object file debugging info
1311
 
# mess up M-x gdb in Emacs.
1312
 
case $srcdir in
1313
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1314
 
esac
1315
 
for ac_var in $ac_precious_vars; do
1316
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1317
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1318
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1319
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1320
 
done
1321
 
 
1322
 
#
1323
 
# Report the --help message.
1324
 
#
1325
 
if test "$ac_init_help" = "long"; then
1326
 
  # Omit some internal or obsolete options to make the list less imposing.
1327
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1328
 
  cat <<_ACEOF
1329
 
\`configure' configures osl 0.8.4 to adapt to many kinds of systems.
1330
 
 
1331
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1332
 
 
1333
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1334
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1335
 
 
1336
 
Defaults for the options are specified in brackets.
1337
 
 
1338
 
Configuration:
1339
 
  -h, --help              display this help and exit
1340
 
      --help=short        display options specific to this package
1341
 
      --help=recursive    display the short help of all the included packages
1342
 
  -V, --version           display version information and exit
1343
 
  -q, --quiet, --silent   do not print \`checking ...' messages
1344
 
      --cache-file=FILE   cache test results in FILE [disabled]
1345
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1346
 
  -n, --no-create         do not create output files
1347
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1348
 
 
1349
 
Installation directories:
1350
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1351
 
                          @<:@@S|@ac_default_prefix@:>@
1352
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1353
 
                          @<:@PREFIX@:>@
1354
 
 
1355
 
By default, \`make install' will install all the files in
1356
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1357
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1358
 
for instance \`--prefix=\$HOME'.
1359
 
 
1360
 
For better control, use the options below.
1361
 
 
1362
 
Fine tuning of the installation directories:
1363
 
  --bindir=DIR            user executables [EPREFIX/bin]
1364
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1365
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1366
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1367
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1368
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1369
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1370
 
  --includedir=DIR        C header files [PREFIX/include]
1371
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1372
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1373
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1374
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1375
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1376
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1377
 
  --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/osl@:>@
1378
 
  --htmldir=DIR           html documentation [DOCDIR]
1379
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1380
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1381
 
  --psdir=DIR             ps documentation [DOCDIR]
1382
 
_ACEOF
1383
 
 
1384
 
  cat <<\_ACEOF
1385
 
 
1386
 
Program names:
1387
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1388
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1389
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1390
 
 
1391
 
System types:
1392
 
  --build=BUILD     configure for building on BUILD [guessed]
1393
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1394
 
_ACEOF
1395
 
fi
1396
 
 
1397
 
if test -n "$ac_init_help"; then
1398
 
  case $ac_init_help in
1399
 
     short | recursive ) echo "Configuration of osl 0.8.4:";;
1400
 
   esac
1401
 
  cat <<\_ACEOF
1402
 
 
1403
 
Optional Features:
1404
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1405
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1406
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1407
 
  --enable-silent-rules          less verbose build output (undo: `make V=1')
1408
 
  --disable-silent-rules         verbose build output (undo: `make V=0')
1409
 
  --disable-dependency-tracking  speeds up one-time build
1410
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1411
 
  --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
1412
 
  --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
1413
 
  --enable-fast-install@<:@=PKGS@:>@ 
1414
 
                          optimize for fast installation @<:@default=yes@:>@
1415
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1416
 
  --enable-portable-binary 
1417
 
                          disable compiler optimizations that would produce
1418
 
                          unportable binaries
1419
 
 
1420
 
Optional Packages:
1421
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1422
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1423
 
  --with-pic@<:@=PKGS@:>@       try to use only PIC/non-PIC objects @<:@default=use
1424
 
                          both@:>@
1425
 
  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1426
 
  --with-sysroot=DIR Search for dependent libraries within DIR
1427
 
                        (or the compiler's sysroot if not specified).
1428
 
  --with-gcc-arch=<arch>  use architecture <arch> for gcc -march/-mtune,
1429
 
                          instead of guessing
1430
 
  --with-gmp=no|system|build 
1431
 
                          Which gmp to use
1432
 
  --with-gmp-prefix=DIR   Prefix of gmp installation
1433
 
  --with-gmp-exec-prefix=DIR 
1434
 
                          Exec prefix of gmp installation
1435
 
  --with-gmp-builddir=DIR Location of gmp builddir
1436
 
 
1437
 
Some influential environment variables:
1438
 
  CC          C compiler command
1439
 
  CFLAGS      C compiler flags
1440
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1441
 
              nonstandard directory <lib dir>
1442
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1443
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1444
 
              you have headers in a nonstandard directory <include dir>
1445
 
  CPP         C preprocessor
1446
 
 
1447
 
Use these variables to override the choices made by `configure' or to help
1448
 
it to find libraries and programs with nonstandard names/locations.
1449
 
 
1450
 
Report bugs to <cedric.bastoul@u-psud.fr,pouchet@cse.ohio-state.edu>.
1451
 
_ACEOF
1452
 
ac_status=$?
1453
 
fi
1454
 
 
1455
 
if test "$ac_init_help" = "recursive"; then
1456
 
  # If there are subdirs, report their specific --help.
1457
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1458
 
    test -d "$ac_dir" ||
1459
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1460
 
      continue
1461
 
    ac_builddir=.
1462
 
 
1463
 
case "$ac_dir" in
1464
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1465
 
*)
1466
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1467
 
  # A ".." for each directory in $ac_dir_suffix.
1468
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1469
 
  case $ac_top_builddir_sub in
1470
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1471
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1472
 
  esac ;;
1473
 
esac
1474
 
ac_abs_top_builddir=$ac_pwd
1475
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1476
 
# for backward compatibility:
1477
 
ac_top_builddir=$ac_top_build_prefix
1478
 
 
1479
 
case $srcdir in
1480
 
  .)  # We are building in place.
1481
 
    ac_srcdir=.
1482
 
    ac_top_srcdir=$ac_top_builddir_sub
1483
 
    ac_abs_top_srcdir=$ac_pwd ;;
1484
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1485
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1486
 
    ac_top_srcdir=$srcdir
1487
 
    ac_abs_top_srcdir=$srcdir ;;
1488
 
  *) # Relative name.
1489
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1490
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1491
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1492
 
esac
1493
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1494
 
 
1495
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1496
 
    # Check for guested configure.
1497
 
    if test -f "$ac_srcdir/configure.gnu"; then
1498
 
      echo &&
1499
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1500
 
    elif test -f "$ac_srcdir/configure"; then
1501
 
      echo &&
1502
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1503
 
    else
1504
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1505
 
    fi || ac_status=$?
1506
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1507
 
  done
1508
 
fi
1509
 
 
1510
 
test -n "$ac_init_help" && exit $ac_status
1511
 
if $ac_init_version; then
1512
 
  cat <<\_ACEOF
1513
 
osl configure 0.8.4
1514
 
generated by GNU Autoconf 2.69
1515
 
 
1516
 
Copyright (C) 2012 Free Software Foundation, Inc.
1517
 
This configure script is free software; the Free Software Foundation
1518
 
gives unlimited permission to copy, distribute and modify it.
1519
 
_ACEOF
1520
 
  exit
1521
 
fi
1522
 
 
1523
 
## ------------------------ ##
1524
 
## Autoconf initialization. ##
1525
 
## ------------------------ ##
1526
 
 
1527
 
@%:@ ac_fn_c_try_compile LINENO
1528
 
@%:@ --------------------------
1529
 
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1530
 
ac_fn_c_try_compile ()
1531
 
{
1532
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1533
 
  rm -f conftest.$ac_objext
1534
 
  if { { ac_try="$ac_compile"
1535
 
case "(($ac_try" in
1536
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1537
 
  *) ac_try_echo=$ac_try;;
1538
 
esac
1539
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1540
 
$as_echo "$ac_try_echo"; } >&5
1541
 
  (eval "$ac_compile") 2>conftest.err
1542
 
  ac_status=$?
1543
 
  if test -s conftest.err; then
1544
 
    grep -v '^ *+' conftest.err >conftest.er1
1545
 
    cat conftest.er1 >&5
1546
 
    mv -f conftest.er1 conftest.err
1547
 
  fi
1548
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1549
 
  test $ac_status = 0; } && {
1550
 
         test -z "$ac_c_werror_flag" ||
1551
 
         test ! -s conftest.err
1552
 
       } && test -s conftest.$ac_objext; then :
1553
 
  ac_retval=0
1554
 
else
1555
 
  $as_echo "$as_me: failed program was:" >&5
1556
 
sed 's/^/| /' conftest.$ac_ext >&5
1557
 
 
1558
 
        ac_retval=1
1559
 
fi
1560
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1561
 
  as_fn_set_status $ac_retval
1562
 
 
1563
 
} @%:@ ac_fn_c_try_compile
1564
 
 
1565
 
@%:@ ac_fn_c_try_link LINENO
1566
 
@%:@ -----------------------
1567
 
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1568
 
ac_fn_c_try_link ()
1569
 
{
1570
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1572
 
  if { { ac_try="$ac_link"
1573
 
case "(($ac_try" in
1574
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1575
 
  *) ac_try_echo=$ac_try;;
1576
 
esac
1577
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578
 
$as_echo "$ac_try_echo"; } >&5
1579
 
  (eval "$ac_link") 2>conftest.err
1580
 
  ac_status=$?
1581
 
  if test -s conftest.err; then
1582
 
    grep -v '^ *+' conftest.err >conftest.er1
1583
 
    cat conftest.er1 >&5
1584
 
    mv -f conftest.er1 conftest.err
1585
 
  fi
1586
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1587
 
  test $ac_status = 0; } && {
1588
 
         test -z "$ac_c_werror_flag" ||
1589
 
         test ! -s conftest.err
1590
 
       } && test -s conftest$ac_exeext && {
1591
 
         test "$cross_compiling" = yes ||
1592
 
         test -x conftest$ac_exeext
1593
 
       }; then :
1594
 
  ac_retval=0
1595
 
else
1596
 
  $as_echo "$as_me: failed program was:" >&5
1597
 
sed 's/^/| /' conftest.$ac_ext >&5
1598
 
 
1599
 
        ac_retval=1
1600
 
fi
1601
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1602
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1603
 
  # interfere with the next link command; also delete a directory that is
1604
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1605
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1606
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1607
 
  as_fn_set_status $ac_retval
1608
 
 
1609
 
} @%:@ ac_fn_c_try_link
1610
 
 
1611
 
@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1612
 
@%:@ -------------------------------------------------------
1613
 
@%:@ Tests whether HEADER exists and can be compiled using the include files in
1614
 
@%:@ INCLUDES, setting the cache variable VAR accordingly.
1615
 
ac_fn_c_check_header_compile ()
1616
 
{
1617
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1618
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1619
 
$as_echo_n "checking for $2... " >&6; }
1620
 
if eval \${$3+:} false; then :
1621
 
  $as_echo_n "(cached) " >&6
1622
 
else
1623
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1624
 
/* end confdefs.h.  */
1625
 
$4
1626
 
@%:@include <$2>
1627
 
_ACEOF
1628
 
if ac_fn_c_try_compile "$LINENO"; then :
1629
 
  eval "$3=yes"
1630
 
else
1631
 
  eval "$3=no"
1632
 
fi
1633
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1634
 
fi
1635
 
eval ac_res=\$$3
1636
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1637
 
$as_echo "$ac_res" >&6; }
1638
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1639
 
 
1640
 
} @%:@ ac_fn_c_check_header_compile
1641
 
 
1642
 
@%:@ ac_fn_c_try_cpp LINENO
1643
 
@%:@ ----------------------
1644
 
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1645
 
ac_fn_c_try_cpp ()
1646
 
{
1647
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1648
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1649
 
case "(($ac_try" in
1650
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1651
 
  *) ac_try_echo=$ac_try;;
1652
 
esac
1653
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654
 
$as_echo "$ac_try_echo"; } >&5
1655
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1656
 
  ac_status=$?
1657
 
  if test -s conftest.err; then
1658
 
    grep -v '^ *+' conftest.err >conftest.er1
1659
 
    cat conftest.er1 >&5
1660
 
    mv -f conftest.er1 conftest.err
1661
 
  fi
1662
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663
 
  test $ac_status = 0; } > conftest.i && {
1664
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1665
 
         test ! -s conftest.err
1666
 
       }; then :
1667
 
  ac_retval=0
1668
 
else
1669
 
  $as_echo "$as_me: failed program was:" >&5
1670
 
sed 's/^/| /' conftest.$ac_ext >&5
1671
 
 
1672
 
    ac_retval=1
1673
 
fi
1674
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1675
 
  as_fn_set_status $ac_retval
1676
 
 
1677
 
} @%:@ ac_fn_c_try_cpp
1678
 
 
1679
 
@%:@ ac_fn_c_try_run LINENO
1680
 
@%:@ ----------------------
1681
 
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1682
 
@%:@ that executables *can* be run.
1683
 
ac_fn_c_try_run ()
1684
 
{
1685
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686
 
  if { { ac_try="$ac_link"
1687
 
case "(($ac_try" in
1688
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1689
 
  *) ac_try_echo=$ac_try;;
1690
 
esac
1691
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692
 
$as_echo "$ac_try_echo"; } >&5
1693
 
  (eval "$ac_link") 2>&5
1694
 
  ac_status=$?
1695
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1697
 
  { { case "(($ac_try" in
1698
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1699
 
  *) ac_try_echo=$ac_try;;
1700
 
esac
1701
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702
 
$as_echo "$ac_try_echo"; } >&5
1703
 
  (eval "$ac_try") 2>&5
1704
 
  ac_status=$?
1705
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706
 
  test $ac_status = 0; }; }; then :
1707
 
  ac_retval=0
1708
 
else
1709
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1710
 
       $as_echo "$as_me: failed program was:" >&5
1711
 
sed 's/^/| /' conftest.$ac_ext >&5
1712
 
 
1713
 
       ac_retval=$ac_status
1714
 
fi
1715
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1716
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1717
 
  as_fn_set_status $ac_retval
1718
 
 
1719
 
} @%:@ ac_fn_c_try_run
1720
 
 
1721
 
@%:@ ac_fn_c_check_func LINENO FUNC VAR
1722
 
@%:@ ----------------------------------
1723
 
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1724
 
ac_fn_c_check_func ()
1725
 
{
1726
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1727
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1728
 
$as_echo_n "checking for $2... " >&6; }
1729
 
if eval \${$3+:} false; then :
1730
 
  $as_echo_n "(cached) " >&6
1731
 
else
1732
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1733
 
/* end confdefs.h.  */
1734
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1735
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1736
 
#define $2 innocuous_$2
1737
 
 
1738
 
/* System header to define __stub macros and hopefully few prototypes,
1739
 
    which can conflict with char $2 (); below.
1740
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1741
 
    <limits.h> exists even on freestanding compilers.  */
1742
 
 
1743
 
#ifdef __STDC__
1744
 
# include <limits.h>
1745
 
#else
1746
 
# include <assert.h>
1747
 
#endif
1748
 
 
1749
 
#undef $2
1750
 
 
1751
 
/* Override any GCC internal prototype to avoid an error.
1752
 
   Use char because int might match the return type of a GCC
1753
 
   builtin and then its argument prototype would still apply.  */
1754
 
#ifdef __cplusplus
1755
 
extern "C"
1756
 
#endif
1757
 
char $2 ();
1758
 
/* The GNU C library defines this for functions which it implements
1759
 
    to always fail with ENOSYS.  Some functions are actually named
1760
 
    something starting with __ and the normal name is an alias.  */
1761
 
#if defined __stub_$2 || defined __stub___$2
1762
 
choke me
1763
 
#endif
1764
 
 
1765
 
int
1766
 
main ()
1767
 
{
1768
 
return $2 ();
1769
 
  ;
1770
 
  return 0;
1771
 
}
1772
 
_ACEOF
1773
 
if ac_fn_c_try_link "$LINENO"; then :
1774
 
  eval "$3=yes"
1775
 
else
1776
 
  eval "$3=no"
1777
 
fi
1778
 
rm -f core conftest.err conftest.$ac_objext \
1779
 
    conftest$ac_exeext conftest.$ac_ext
1780
 
fi
1781
 
eval ac_res=\$$3
1782
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1783
 
$as_echo "$ac_res" >&6; }
1784
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1785
 
 
1786
 
} @%:@ ac_fn_c_check_func
1787
 
 
1788
 
@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1789
 
@%:@ -------------------------------------------
1790
 
@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1791
 
@%:@ variable VAR accordingly.
1792
 
ac_fn_c_check_type ()
1793
 
{
1794
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1795
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1796
 
$as_echo_n "checking for $2... " >&6; }
1797
 
if eval \${$3+:} false; then :
1798
 
  $as_echo_n "(cached) " >&6
1799
 
else
1800
 
  eval "$3=no"
1801
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1802
 
/* end confdefs.h.  */
1803
 
$4
1804
 
int
1805
 
main ()
1806
 
{
1807
 
if (sizeof ($2))
1808
 
         return 0;
1809
 
  ;
1810
 
  return 0;
1811
 
}
1812
 
_ACEOF
1813
 
if ac_fn_c_try_compile "$LINENO"; then :
1814
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1815
 
/* end confdefs.h.  */
1816
 
$4
1817
 
int
1818
 
main ()
1819
 
{
1820
 
if (sizeof (($2)))
1821
 
            return 0;
1822
 
  ;
1823
 
  return 0;
1824
 
}
1825
 
_ACEOF
1826
 
if ac_fn_c_try_compile "$LINENO"; then :
1827
 
  
1828
 
else
1829
 
  eval "$3=yes"
1830
 
fi
1831
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1832
 
fi
1833
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1834
 
fi
1835
 
eval ac_res=\$$3
1836
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1837
 
$as_echo "$ac_res" >&6; }
1838
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1839
 
 
1840
 
} @%:@ ac_fn_c_check_type
1841
 
 
1842
 
@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1843
 
@%:@ -------------------------------------------------------
1844
 
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1845
 
@%:@ the include files in INCLUDES and setting the cache variable VAR
1846
 
@%:@ accordingly.
1847
 
ac_fn_c_check_header_mongrel ()
1848
 
{
1849
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850
 
  if eval \${$3+:} false; then :
1851
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1852
 
$as_echo_n "checking for $2... " >&6; }
1853
 
if eval \${$3+:} false; then :
1854
 
  $as_echo_n "(cached) " >&6
1855
 
fi
1856
 
eval ac_res=\$$3
1857
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1858
 
$as_echo "$ac_res" >&6; }
1859
 
else
1860
 
  # Is the header compilable?
1861
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1862
 
$as_echo_n "checking $2 usability... " >&6; }
1863
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1864
 
/* end confdefs.h.  */
1865
 
$4
1866
 
@%:@include <$2>
1867
 
_ACEOF
1868
 
if ac_fn_c_try_compile "$LINENO"; then :
1869
 
  ac_header_compiler=yes
1870
 
else
1871
 
  ac_header_compiler=no
1872
 
fi
1873
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1874
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1875
 
$as_echo "$ac_header_compiler" >&6; }
1876
 
 
1877
 
# Is the header present?
1878
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1879
 
$as_echo_n "checking $2 presence... " >&6; }
1880
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1881
 
/* end confdefs.h.  */
1882
 
@%:@include <$2>
1883
 
_ACEOF
1884
 
if ac_fn_c_try_cpp "$LINENO"; then :
1885
 
  ac_header_preproc=yes
1886
 
else
1887
 
  ac_header_preproc=no
1888
 
fi
1889
 
rm -f conftest.err conftest.i conftest.$ac_ext
1890
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1891
 
$as_echo "$ac_header_preproc" >&6; }
1892
 
 
1893
 
# So?  What about this header?
1894
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1895
 
  yes:no: )
1896
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1897
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1898
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1899
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1900
 
    ;;
1901
 
  no:yes:* )
1902
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1903
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1904
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1905
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1906
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1907
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1908
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1909
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1910
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1911
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1912
 
( $as_echo "## ppppppppppppppppppppppppppppppppppppppp ##
1913
 
## Report this to cedric.bastoul@u-psud.fr ##
1914
 
## ppppppppppppppppppppppppppppppppppppppp ##"
1915
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
1916
 
    ;;
1917
 
esac
1918
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1919
 
$as_echo_n "checking for $2... " >&6; }
1920
 
if eval \${$3+:} false; then :
1921
 
  $as_echo_n "(cached) " >&6
1922
 
else
1923
 
  eval "$3=\$ac_header_compiler"
1924
 
fi
1925
 
eval ac_res=\$$3
1926
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1927
 
$as_echo "$ac_res" >&6; }
1928
 
fi
1929
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1930
 
 
1931
 
} @%:@ ac_fn_c_check_header_mongrel
1932
 
cat >config.log <<_ACEOF
1933
 
This file contains any messages produced by compilers while
1934
 
running configure, to aid debugging if configure makes a mistake.
1935
 
 
1936
 
It was created by osl $as_me 0.8.4, which was
1937
 
generated by GNU Autoconf 2.69.  Invocation command line was
1938
 
 
1939
 
  $ $0 $@
1940
 
 
1941
 
_ACEOF
1942
 
exec 5>>config.log
1943
 
{
1944
 
cat <<_ASUNAME
1945
 
## --------- ##
1946
 
## Platform. ##
1947
 
## --------- ##
1948
 
 
1949
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1950
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1951
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1952
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1953
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1954
 
 
1955
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1956
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1957
 
 
1958
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1959
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1960
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1961
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1962
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1963
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1964
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1965
 
 
1966
 
_ASUNAME
1967
 
 
1968
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1969
 
for as_dir in $PATH
1970
 
do
1971
 
  IFS=$as_save_IFS
1972
 
  test -z "$as_dir" && as_dir=.
1973
 
    $as_echo "PATH: $as_dir"
1974
 
  done
1975
 
IFS=$as_save_IFS
1976
 
 
1977
 
} >&5
1978
 
 
1979
 
cat >&5 <<_ACEOF
1980
 
 
1981
 
 
1982
 
## ----------- ##
1983
 
## Core tests. ##
1984
 
## ----------- ##
1985
 
 
1986
 
_ACEOF
1987
 
 
1988
 
 
1989
 
# Keep a trace of the command line.
1990
 
# Strip out --no-create and --no-recursion so they do not pile up.
1991
 
# Strip out --silent because we don't want to record it for future runs.
1992
 
# Also quote any args containing shell meta-characters.
1993
 
# Make two passes to allow for proper duplicate-argument suppression.
1994
 
ac_configure_args=
1995
 
ac_configure_args0=
1996
 
ac_configure_args1=
1997
 
ac_must_keep_next=false
1998
 
for ac_pass in 1 2
1999
 
do
2000
 
  for ac_arg
2001
 
  do
2002
 
    case $ac_arg in
2003
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2004
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2005
 
    | -silent | --silent | --silen | --sile | --sil)
2006
 
      continue ;;
2007
 
    *\'*)
2008
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2009
 
    esac
2010
 
    case $ac_pass in
2011
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2012
 
    2)
2013
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
2014
 
      if test $ac_must_keep_next = true; then
2015
 
        ac_must_keep_next=false # Got value, back to normal.
2016
 
      else
2017
 
        case $ac_arg in
2018
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
2019
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2020
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2021
 
          | -with-* | --with-* | -without-* | --without-* | --x)
2022
 
            case "$ac_configure_args0 " in
2023
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2024
 
            esac
2025
 
            ;;
2026
 
          -* ) ac_must_keep_next=true ;;
2027
 
        esac
2028
 
      fi
2029
 
      as_fn_append ac_configure_args " '$ac_arg'"
2030
 
      ;;
2031
 
    esac
2032
 
  done
2033
 
done
2034
 
{ ac_configure_args0=; unset ac_configure_args0;}
2035
 
{ ac_configure_args1=; unset ac_configure_args1;}
2036
 
 
2037
 
# When interrupted or exit'd, cleanup temporary files, and complete
2038
 
# config.log.  We remove comments because anyway the quotes in there
2039
 
# would cause problems or look ugly.
2040
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
2041
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2042
 
trap 'exit_status=$?
2043
 
  # Save into config.log some information that might help in debugging.
2044
 
  {
2045
 
    echo
2046
 
 
2047
 
    $as_echo "## ---------------- ##
2048
 
## Cache variables. ##
2049
 
## ---------------- ##"
2050
 
    echo
2051
 
    # The following way of writing the cache mishandles newlines in values,
2052
 
(
2053
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2054
 
    eval ac_val=\$$ac_var
2055
 
    case $ac_val in #(
2056
 
    *${as_nl}*)
2057
 
      case $ac_var in #(
2058
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2059
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2060
 
      esac
2061
 
      case $ac_var in #(
2062
 
      _ | IFS | as_nl) ;; #(
2063
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2064
 
      *) { eval $ac_var=; unset $ac_var;} ;;
2065
 
      esac ;;
2066
 
    esac
2067
 
  done
2068
 
  (set) 2>&1 |
2069
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2070
 
    *${as_nl}ac_space=\ *)
2071
 
      sed -n \
2072
 
        "s/'\''/'\''\\\\'\'''\''/g;
2073
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2074
 
      ;; #(
2075
 
    *)
2076
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2077
 
      ;;
2078
 
    esac |
2079
 
    sort
2080
 
)
2081
 
    echo
2082
 
 
2083
 
    $as_echo "## ----------------- ##
2084
 
## Output variables. ##
2085
 
## ----------------- ##"
2086
 
    echo
2087
 
    for ac_var in $ac_subst_vars
2088
 
    do
2089
 
      eval ac_val=\$$ac_var
2090
 
      case $ac_val in
2091
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2092
 
      esac
2093
 
      $as_echo "$ac_var='\''$ac_val'\''"
2094
 
    done | sort
2095
 
    echo
2096
 
 
2097
 
    if test -n "$ac_subst_files"; then
2098
 
      $as_echo "## ------------------- ##
2099
 
## File substitutions. ##
2100
 
## ------------------- ##"
2101
 
      echo
2102
 
      for ac_var in $ac_subst_files
2103
 
      do
2104
 
        eval ac_val=\$$ac_var
2105
 
        case $ac_val in
2106
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2107
 
        esac
2108
 
        $as_echo "$ac_var='\''$ac_val'\''"
2109
 
      done | sort
2110
 
      echo
2111
 
    fi
2112
 
 
2113
 
    if test -s confdefs.h; then
2114
 
      $as_echo "## ----------- ##
2115
 
## confdefs.h. ##
2116
 
## ----------- ##"
2117
 
      echo
2118
 
      cat confdefs.h
2119
 
      echo
2120
 
    fi
2121
 
    test "$ac_signal" != 0 &&
2122
 
      $as_echo "$as_me: caught signal $ac_signal"
2123
 
    $as_echo "$as_me: exit $exit_status"
2124
 
  } >&5
2125
 
  rm -f core *.core core.conftest.* &&
2126
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2127
 
    exit $exit_status
2128
 
' 0
2129
 
for ac_signal in 1 2 13 15; do
2130
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2131
 
done
2132
 
ac_signal=0
2133
 
 
2134
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2135
 
rm -f -r conftest* confdefs.h
2136
 
 
2137
 
$as_echo "/* confdefs.h */" > confdefs.h
2138
 
 
2139
 
# Predefined preprocessor variables.
2140
 
 
2141
 
cat >>confdefs.h <<_ACEOF
2142
 
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
2143
 
_ACEOF
2144
 
 
2145
 
cat >>confdefs.h <<_ACEOF
2146
 
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2147
 
_ACEOF
2148
 
 
2149
 
cat >>confdefs.h <<_ACEOF
2150
 
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2151
 
_ACEOF
2152
 
 
2153
 
cat >>confdefs.h <<_ACEOF
2154
 
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
2155
 
_ACEOF
2156
 
 
2157
 
cat >>confdefs.h <<_ACEOF
2158
 
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2159
 
_ACEOF
2160
 
 
2161
 
cat >>confdefs.h <<_ACEOF
2162
 
@%:@define PACKAGE_URL "$PACKAGE_URL"
2163
 
_ACEOF
2164
 
 
2165
 
 
2166
 
# Let the site file select an alternate cache file if it wants to.
2167
 
# Prefer an explicitly selected file to automatically selected ones.
2168
 
ac_site_file1=NONE
2169
 
ac_site_file2=NONE
2170
 
if test -n "$CONFIG_SITE"; then
2171
 
  # We do not want a PATH search for config.site.
2172
 
  case $CONFIG_SITE in @%:@((
2173
 
    -*)  ac_site_file1=./$CONFIG_SITE;;
2174
 
    */*) ac_site_file1=$CONFIG_SITE;;
2175
 
    *)   ac_site_file1=./$CONFIG_SITE;;
2176
 
  esac
2177
 
elif test "x$prefix" != xNONE; then
2178
 
  ac_site_file1=$prefix/share/config.site
2179
 
  ac_site_file2=$prefix/etc/config.site
2180
 
else
2181
 
  ac_site_file1=$ac_default_prefix/share/config.site
2182
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2183
 
fi
2184
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2185
 
do
2186
 
  test "x$ac_site_file" = xNONE && continue
2187
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2188
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2189
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2190
 
    sed 's/^/| /' "$ac_site_file" >&5
2191
 
    . "$ac_site_file" \
2192
 
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2193
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2194
 
as_fn_error $? "failed to load site script $ac_site_file
2195
 
See \`config.log' for more details" "$LINENO" 5; }
2196
 
  fi
2197
 
done
2198
 
 
2199
 
if test -r "$cache_file"; then
2200
 
  # Some versions of bash will fail to source /dev/null (special files
2201
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2202
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2203
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2204
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2205
 
    case $cache_file in
2206
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2207
 
      *)                      . "./$cache_file";;
2208
 
    esac
2209
 
  fi
2210
 
else
2211
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2212
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2213
 
  >$cache_file
2214
 
fi
2215
 
 
2216
 
# Check that the precious variables saved in the cache have kept the same
2217
 
# value.
2218
 
ac_cache_corrupted=false
2219
 
for ac_var in $ac_precious_vars; do
2220
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2221
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2222
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2223
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2224
 
  case $ac_old_set,$ac_new_set in
2225
 
    set,)
2226
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2227
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2228
 
      ac_cache_corrupted=: ;;
2229
 
    ,set)
2230
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2231
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2232
 
      ac_cache_corrupted=: ;;
2233
 
    ,);;
2234
 
    *)
2235
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2236
 
        # differences in whitespace do not lead to failure.
2237
 
        ac_old_val_w=`echo x $ac_old_val`
2238
 
        ac_new_val_w=`echo x $ac_new_val`
2239
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2240
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2241
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2242
 
          ac_cache_corrupted=:
2243
 
        else
2244
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2245
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2246
 
          eval $ac_var=\$ac_old_val
2247
 
        fi
2248
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2249
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2250
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2251
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2252
 
      fi;;
2253
 
  esac
2254
 
  # Pass precious variables to config.status.
2255
 
  if test "$ac_new_set" = set; then
2256
 
    case $ac_new_val in
2257
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2258
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2259
 
    esac
2260
 
    case " $ac_configure_args " in
2261
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2262
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2263
 
    esac
2264
 
  fi
2265
 
done
2266
 
if $ac_cache_corrupted; then
2267
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2268
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2269
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2270
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2271
 
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2272
 
fi
2273
 
## -------------------- ##
2274
 
## Main body of script. ##
2275
 
## -------------------- ##
2276
 
 
2277
 
ac_ext=c
2278
 
ac_cpp='$CPP $CPPFLAGS'
2279
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2280
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2281
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2282
 
 
2283
 
 
2284
 
 
2285
 
ac_aux_dir=
2286
 
for ac_dir in autoconf "$srcdir"/autoconf; do
2287
 
  if test -f "$ac_dir/install-sh"; then
2288
 
    ac_aux_dir=$ac_dir
2289
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2290
 
    break
2291
 
  elif test -f "$ac_dir/install.sh"; then
2292
 
    ac_aux_dir=$ac_dir
2293
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2294
 
    break
2295
 
  elif test -f "$ac_dir/shtool"; then
2296
 
    ac_aux_dir=$ac_dir
2297
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2298
 
    break
2299
 
  fi
2300
 
done
2301
 
if test -z "$ac_aux_dir"; then
2302
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in autoconf \"$srcdir\"/autoconf" "$LINENO" 5
2303
 
fi
2304
 
 
2305
 
# These three variables are undocumented and unsupported,
2306
 
# and are intended to be withdrawn in a future Autoconf release.
2307
 
# They can cause serious problems if a builder's source tree is in a directory
2308
 
# whose full name contains unusual characters.
2309
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2310
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2311
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2312
 
 
2313
 
 
2314
 
 
2315
 
 
2316
 
am__api_version='1.11'
2317
 
 
2318
 
# Find a good install program.  We prefer a C program (faster),
2319
 
# so one script is as good as another.  But avoid the broken or
2320
 
# incompatible versions:
2321
 
# SysV /etc/install, /usr/sbin/install
2322
 
# SunOS /usr/etc/install
2323
 
# IRIX /sbin/install
2324
 
# AIX /bin/install
2325
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2326
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2327
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2328
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2329
 
# OS/2's system install, which has a completely different semantic
2330
 
# ./install, which can be erroneously created by make from ./install.sh.
2331
 
# Reject install programs that cannot install multiple files.
2332
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2333
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2334
 
if test -z "$INSTALL"; then
2335
 
if ${ac_cv_path_install+:} false; then :
2336
 
  $as_echo_n "(cached) " >&6
2337
 
else
2338
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2339
 
for as_dir in $PATH
2340
 
do
2341
 
  IFS=$as_save_IFS
2342
 
  test -z "$as_dir" && as_dir=.
2343
 
    # Account for people who put trailing slashes in PATH elements.
2344
 
case $as_dir/ in @%:@((
2345
 
  ./ | .// | /[cC]/* | \
2346
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2347
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2348
 
  /usr/ucb/* ) ;;
2349
 
  *)
2350
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2351
 
    # Don't use installbsd from OSF since it installs stuff as root
2352
 
    # by default.
2353
 
    for ac_prog in ginstall scoinst install; do
2354
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2355
 
        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2356
 
          if test $ac_prog = install &&
2357
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2358
 
            # AIX install.  It has an incompatible calling convention.
2359
 
            :
2360
 
          elif test $ac_prog = install &&
2361
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2362
 
            # program-specific install script used by HP pwplus--don't use.
2363
 
            :
2364
 
          else
2365
 
            rm -rf conftest.one conftest.two conftest.dir
2366
 
            echo one > conftest.one
2367
 
            echo two > conftest.two
2368
 
            mkdir conftest.dir
2369
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2370
 
              test -s conftest.one && test -s conftest.two &&
2371
 
              test -s conftest.dir/conftest.one &&
2372
 
              test -s conftest.dir/conftest.two
2373
 
            then
2374
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2375
 
              break 3
2376
 
            fi
2377
 
          fi
2378
 
        fi
2379
 
      done
2380
 
    done
2381
 
    ;;
2382
 
esac
2383
 
 
2384
 
  done
2385
 
IFS=$as_save_IFS
2386
 
 
2387
 
rm -rf conftest.one conftest.two conftest.dir
2388
 
 
2389
 
fi
2390
 
  if test "${ac_cv_path_install+set}" = set; then
2391
 
    INSTALL=$ac_cv_path_install
2392
 
  else
2393
 
    # As a last resort, use the slow shell script.  Don't cache a
2394
 
    # value for INSTALL within a source directory, because that will
2395
 
    # break other packages using the cache if that directory is
2396
 
    # removed, or if the value is a relative name.
2397
 
    INSTALL=$ac_install_sh
2398
 
  fi
2399
 
fi
2400
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2401
 
$as_echo "$INSTALL" >&6; }
2402
 
 
2403
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2404
 
# It thinks the first close brace ends the variable substitution.
2405
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2406
 
 
2407
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2408
 
 
2409
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2410
 
 
2411
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2412
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2413
 
# Just in case
2414
 
sleep 1
2415
 
echo timestamp > conftest.file
2416
 
# Reject unsafe characters in $srcdir or the absolute working directory
2417
 
# name.  Accept space and tab only in the latter.
2418
 
am_lf='
2419
 
'
2420
 
case `pwd` in
2421
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2422
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2423
 
esac
2424
 
case $srcdir in
2425
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2426
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2427
 
esac
2428
 
 
2429
 
# Do `set' in a subshell so we don't clobber the current shell's
2430
 
# arguments.  Must try -L first in case configure is actually a
2431
 
# symlink; some systems play weird games with the mod time of symlinks
2432
 
# (eg FreeBSD returns the mod time of the symlink's containing
2433
 
# directory).
2434
 
if (
2435
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2436
 
   if test "$*" = "X"; then
2437
 
      # -L didn't work.
2438
 
      set X `ls -t "$srcdir/configure" conftest.file`
2439
 
   fi
2440
 
   rm -f conftest.file
2441
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2442
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2443
 
 
2444
 
      # If neither matched, then we have a broken ls.  This can happen
2445
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2446
 
      # broken ls alias from the environment.  This has actually
2447
 
      # happened.  Such a system could not be considered "sane".
2448
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2449
 
alias in your environment" "$LINENO" 5
2450
 
   fi
2451
 
 
2452
 
   test "$2" = conftest.file
2453
 
   )
2454
 
then
2455
 
   # Ok.
2456
 
   :
2457
 
else
2458
 
   as_fn_error $? "newly created file is older than distributed files!
2459
 
Check your system clock" "$LINENO" 5
2460
 
fi
2461
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2462
 
$as_echo "yes" >&6; }
2463
 
test "$program_prefix" != NONE &&
2464
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2465
 
# Use a double $ so make ignores it.
2466
 
test "$program_suffix" != NONE &&
2467
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2468
 
# Double any \ or $.
2469
 
# By default was `s,x,x', remove it if useless.
2470
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2471
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2472
 
 
2473
 
# expand $ac_aux_dir to an absolute path
2474
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2475
 
 
2476
 
if test x"${MISSING+set}" != xset; then
2477
 
  case $am_aux_dir in
2478
 
  *\ * | *\     *)
2479
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2480
 
  *)
2481
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2482
 
  esac
2483
 
fi
2484
 
# Use eval to expand $SHELL
2485
 
if eval "$MISSING --run true"; then
2486
 
  am_missing_run="$MISSING --run "
2487
 
else
2488
 
  am_missing_run=
2489
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2490
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2491
 
fi
2492
 
 
2493
 
if test x"${install_sh}" != xset; then
2494
 
  case $am_aux_dir in
2495
 
  *\ * | *\     *)
2496
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2497
 
  *)
2498
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2499
 
  esac
2500
 
fi
2501
 
 
2502
 
# Installed binaries are usually stripped using `strip' when the user
2503
 
# run `make install-strip'.  However `strip' might not be the right
2504
 
# tool to use in cross-compilation environments, therefore Automake
2505
 
# will honor the `STRIP' environment variable to overrule this program.
2506
 
if test "$cross_compiling" != no; then
2507
 
  if test -n "$ac_tool_prefix"; then
2508
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2509
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2510
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2511
 
$as_echo_n "checking for $ac_word... " >&6; }
2512
 
if ${ac_cv_prog_STRIP+:} false; then :
2513
 
  $as_echo_n "(cached) " >&6
2514
 
else
2515
 
  if test -n "$STRIP"; then
2516
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2517
 
else
2518
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2519
 
for as_dir in $PATH
2520
 
do
2521
 
  IFS=$as_save_IFS
2522
 
  test -z "$as_dir" && as_dir=.
2523
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2524
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2525
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2526
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2527
 
    break 2
2528
 
  fi
2529
 
done
2530
 
  done
2531
 
IFS=$as_save_IFS
2532
 
 
2533
 
fi
2534
 
fi
2535
 
STRIP=$ac_cv_prog_STRIP
2536
 
if test -n "$STRIP"; then
2537
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2538
 
$as_echo "$STRIP" >&6; }
2539
 
else
2540
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2541
 
$as_echo "no" >&6; }
2542
 
fi
2543
 
 
2544
 
 
2545
 
fi
2546
 
if test -z "$ac_cv_prog_STRIP"; then
2547
 
  ac_ct_STRIP=$STRIP
2548
 
  # Extract the first word of "strip", so it can be a program name with args.
2549
 
set dummy strip; ac_word=$2
2550
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2551
 
$as_echo_n "checking for $ac_word... " >&6; }
2552
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2553
 
  $as_echo_n "(cached) " >&6
2554
 
else
2555
 
  if test -n "$ac_ct_STRIP"; then
2556
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2557
 
else
2558
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2559
 
for as_dir in $PATH
2560
 
do
2561
 
  IFS=$as_save_IFS
2562
 
  test -z "$as_dir" && as_dir=.
2563
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2564
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2565
 
    ac_cv_prog_ac_ct_STRIP="strip"
2566
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2567
 
    break 2
2568
 
  fi
2569
 
done
2570
 
  done
2571
 
IFS=$as_save_IFS
2572
 
 
2573
 
fi
2574
 
fi
2575
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2576
 
if test -n "$ac_ct_STRIP"; then
2577
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2578
 
$as_echo "$ac_ct_STRIP" >&6; }
2579
 
else
2580
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2581
 
$as_echo "no" >&6; }
2582
 
fi
2583
 
 
2584
 
  if test "x$ac_ct_STRIP" = x; then
2585
 
    STRIP=":"
2586
 
  else
2587
 
    case $cross_compiling:$ac_tool_warned in
2588
 
yes:)
2589
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2590
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2591
 
ac_tool_warned=yes ;;
2592
 
esac
2593
 
    STRIP=$ac_ct_STRIP
2594
 
  fi
2595
 
else
2596
 
  STRIP="$ac_cv_prog_STRIP"
2597
 
fi
2598
 
 
2599
 
fi
2600
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2601
 
 
2602
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2603
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2604
 
if test -z "$MKDIR_P"; then
2605
 
  if ${ac_cv_path_mkdir+:} false; then :
2606
 
  $as_echo_n "(cached) " >&6
2607
 
else
2608
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2610
 
do
2611
 
  IFS=$as_save_IFS
2612
 
  test -z "$as_dir" && as_dir=.
2613
 
    for ac_prog in mkdir gmkdir; do
2614
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2615
 
           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2616
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2617
 
             'mkdir (GNU coreutils) '* | \
2618
 
             'mkdir (coreutils) '* | \
2619
 
             'mkdir (fileutils) '4.1*)
2620
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2621
 
               break 3;;
2622
 
           esac
2623
 
         done
2624
 
       done
2625
 
  done
2626
 
IFS=$as_save_IFS
2627
 
 
2628
 
fi
2629
 
 
2630
 
  test -d ./--version && rmdir ./--version
2631
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2632
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2633
 
  else
2634
 
    # As a last resort, use the slow shell script.  Don't cache a
2635
 
    # value for MKDIR_P within a source directory, because that will
2636
 
    # break other packages using the cache if that directory is
2637
 
    # removed, or if the value is a relative name.
2638
 
    MKDIR_P="$ac_install_sh -d"
2639
 
  fi
2640
 
fi
2641
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2642
 
$as_echo "$MKDIR_P" >&6; }
2643
 
 
2644
 
mkdir_p="$MKDIR_P"
2645
 
case $mkdir_p in
2646
 
  [\\/$]* | ?:[\\/]*) ;;
2647
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2648
 
esac
2649
 
 
2650
 
for ac_prog in gawk mawk nawk awk
2651
 
do
2652
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2653
 
set dummy $ac_prog; ac_word=$2
2654
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2655
 
$as_echo_n "checking for $ac_word... " >&6; }
2656
 
if ${ac_cv_prog_AWK+:} false; then :
2657
 
  $as_echo_n "(cached) " >&6
2658
 
else
2659
 
  if test -n "$AWK"; then
2660
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2661
 
else
2662
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2663
 
for as_dir in $PATH
2664
 
do
2665
 
  IFS=$as_save_IFS
2666
 
  test -z "$as_dir" && as_dir=.
2667
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2668
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2669
 
    ac_cv_prog_AWK="$ac_prog"
2670
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2671
 
    break 2
2672
 
  fi
2673
 
done
2674
 
  done
2675
 
IFS=$as_save_IFS
2676
 
 
2677
 
fi
2678
 
fi
2679
 
AWK=$ac_cv_prog_AWK
2680
 
if test -n "$AWK"; then
2681
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2682
 
$as_echo "$AWK" >&6; }
2683
 
else
2684
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2685
 
$as_echo "no" >&6; }
2686
 
fi
2687
 
 
2688
 
 
2689
 
  test -n "$AWK" && break
2690
 
done
2691
 
 
2692
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2693
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2694
 
set x ${MAKE-make}
2695
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2696
 
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2697
 
  $as_echo_n "(cached) " >&6
2698
 
else
2699
 
  cat >conftest.make <<\_ACEOF
2700
 
SHELL = /bin/sh
2701
 
all:
2702
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2703
 
_ACEOF
2704
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2705
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2706
 
  *@@@%%%=?*=@@@%%%*)
2707
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2708
 
  *)
2709
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2710
 
esac
2711
 
rm -f conftest.make
2712
 
fi
2713
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2714
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2715
 
$as_echo "yes" >&6; }
2716
 
  SET_MAKE=
2717
 
else
2718
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2719
 
$as_echo "no" >&6; }
2720
 
  SET_MAKE="MAKE=${MAKE-make}"
2721
 
fi
2722
 
 
2723
 
rm -rf .tst 2>/dev/null
2724
 
mkdir .tst 2>/dev/null
2725
 
if test -d .tst; then
2726
 
  am__leading_dot=.
2727
 
else
2728
 
  am__leading_dot=_
2729
 
fi
2730
 
rmdir .tst 2>/dev/null
2731
 
 
2732
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2733
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2734
 
  # is not polluted with repeated "-I."
2735
 
  am__isrc=' -I$(srcdir)'
2736
 
  # test to see if srcdir already configured
2737
 
  if test -f $srcdir/config.status; then
2738
 
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2739
 
  fi
2740
 
fi
2741
 
 
2742
 
# test whether we have cygpath
2743
 
if test -z "$CYGPATH_W"; then
2744
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2745
 
    CYGPATH_W='cygpath -w'
2746
 
  else
2747
 
    CYGPATH_W=echo
2748
 
  fi
2749
 
fi
2750
 
 
2751
 
 
2752
 
# Define the identity of the package.
2753
 
 PACKAGE='osl'
2754
 
 VERSION='0.8.4'
2755
 
 
2756
 
 
2757
 
cat >>confdefs.h <<_ACEOF
2758
 
@%:@define PACKAGE "$PACKAGE"
2759
 
_ACEOF
2760
 
 
2761
 
 
2762
 
cat >>confdefs.h <<_ACEOF
2763
 
@%:@define VERSION "$VERSION"
2764
 
_ACEOF
2765
 
 
2766
 
# Some tools Automake needs.
2767
 
 
2768
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2769
 
 
2770
 
 
2771
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2772
 
 
2773
 
 
2774
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2775
 
 
2776
 
 
2777
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2778
 
 
2779
 
 
2780
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2781
 
 
2782
 
# We need awk for the "check" target.  The system "awk" is bad on
2783
 
# some platforms.
2784
 
# Always define AMTAR for backward compatibility.  Yes, it's still used
2785
 
# in the wild :-(  We should find a proper way to deprecate it ...
2786
 
AMTAR='$${TAR-tar}'
2787
 
 
2788
 
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2789
 
 
2790
 
 
2791
 
 
2792
 
 
2793
 
 
2794
 
@%:@ Check whether --enable-silent-rules was given.
2795
 
if test "${enable_silent_rules+set}" = set; then :
2796
 
  enableval=$enable_silent_rules; 
2797
 
fi
2798
 
 
2799
 
case $enable_silent_rules in
2800
 
yes) AM_DEFAULT_VERBOSITY=0;;
2801
 
no)  AM_DEFAULT_VERBOSITY=1;;
2802
 
*)   AM_DEFAULT_VERBOSITY=0;;
2803
 
esac
2804
 
am_make=${MAKE-make}
2805
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2806
 
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2807
 
if ${am_cv_make_support_nested_variables+:} false; then :
2808
 
  $as_echo_n "(cached) " >&6
2809
 
else
2810
 
  if $as_echo 'TRUE=$(BAR$(V))
2811
 
BAR0=false
2812
 
BAR1=true
2813
 
V=1
2814
 
am__doit:
2815
 
        @$(TRUE)
2816
 
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2817
 
  am_cv_make_support_nested_variables=yes
2818
 
else
2819
 
  am_cv_make_support_nested_variables=no
2820
 
fi
2821
 
fi
2822
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2823
 
$as_echo "$am_cv_make_support_nested_variables" >&6; }
2824
 
if test $am_cv_make_support_nested_variables = yes; then
2825
 
    AM_V='$(V)'
2826
 
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2827
 
else
2828
 
  AM_V=$AM_DEFAULT_VERBOSITY
2829
 
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2830
 
fi
2831
 
AM_BACKSLASH='\'
2832
 
 
2833
 
 
2834
 
 
2835
 
 
2836
 
 
2837
 
ac_ext=c
2838
 
ac_cpp='$CPP $CPPFLAGS'
2839
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2840
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2841
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2842
 
if test -n "$ac_tool_prefix"; then
2843
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2844
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2845
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2846
 
$as_echo_n "checking for $ac_word... " >&6; }
2847
 
if ${ac_cv_prog_CC+:} false; then :
2848
 
  $as_echo_n "(cached) " >&6
2849
 
else
2850
 
  if test -n "$CC"; then
2851
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2852
 
else
2853
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2854
 
for as_dir in $PATH
2855
 
do
2856
 
  IFS=$as_save_IFS
2857
 
  test -z "$as_dir" && as_dir=.
2858
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2859
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2860
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2861
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2862
 
    break 2
2863
 
  fi
2864
 
done
2865
 
  done
2866
 
IFS=$as_save_IFS
2867
 
 
2868
 
fi
2869
 
fi
2870
 
CC=$ac_cv_prog_CC
2871
 
if test -n "$CC"; then
2872
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2873
 
$as_echo "$CC" >&6; }
2874
 
else
2875
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2876
 
$as_echo "no" >&6; }
2877
 
fi
2878
 
 
2879
 
 
2880
 
fi
2881
 
if test -z "$ac_cv_prog_CC"; then
2882
 
  ac_ct_CC=$CC
2883
 
  # Extract the first word of "gcc", so it can be a program name with args.
2884
 
set dummy gcc; ac_word=$2
2885
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2886
 
$as_echo_n "checking for $ac_word... " >&6; }
2887
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2888
 
  $as_echo_n "(cached) " >&6
2889
 
else
2890
 
  if test -n "$ac_ct_CC"; then
2891
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2892
 
else
2893
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2894
 
for as_dir in $PATH
2895
 
do
2896
 
  IFS=$as_save_IFS
2897
 
  test -z "$as_dir" && as_dir=.
2898
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2899
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2900
 
    ac_cv_prog_ac_ct_CC="gcc"
2901
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2902
 
    break 2
2903
 
  fi
2904
 
done
2905
 
  done
2906
 
IFS=$as_save_IFS
2907
 
 
2908
 
fi
2909
 
fi
2910
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2911
 
if test -n "$ac_ct_CC"; then
2912
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2913
 
$as_echo "$ac_ct_CC" >&6; }
2914
 
else
2915
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2916
 
$as_echo "no" >&6; }
2917
 
fi
2918
 
 
2919
 
  if test "x$ac_ct_CC" = x; then
2920
 
    CC=""
2921
 
  else
2922
 
    case $cross_compiling:$ac_tool_warned in
2923
 
yes:)
2924
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2925
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2926
 
ac_tool_warned=yes ;;
2927
 
esac
2928
 
    CC=$ac_ct_CC
2929
 
  fi
2930
 
else
2931
 
  CC="$ac_cv_prog_CC"
2932
 
fi
2933
 
 
2934
 
if test -z "$CC"; then
2935
 
          if test -n "$ac_tool_prefix"; then
2936
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2937
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
2938
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2939
 
$as_echo_n "checking for $ac_word... " >&6; }
2940
 
if ${ac_cv_prog_CC+:} false; then :
2941
 
  $as_echo_n "(cached) " >&6
2942
 
else
2943
 
  if test -n "$CC"; then
2944
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2945
 
else
2946
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2947
 
for as_dir in $PATH
2948
 
do
2949
 
  IFS=$as_save_IFS
2950
 
  test -z "$as_dir" && as_dir=.
2951
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2952
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2953
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2954
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2955
 
    break 2
2956
 
  fi
2957
 
done
2958
 
  done
2959
 
IFS=$as_save_IFS
2960
 
 
2961
 
fi
2962
 
fi
2963
 
CC=$ac_cv_prog_CC
2964
 
if test -n "$CC"; then
2965
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2966
 
$as_echo "$CC" >&6; }
2967
 
else
2968
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2969
 
$as_echo "no" >&6; }
2970
 
fi
2971
 
 
2972
 
 
2973
 
  fi
2974
 
fi
2975
 
if test -z "$CC"; then
2976
 
  # Extract the first word of "cc", so it can be a program name with args.
2977
 
set dummy cc; ac_word=$2
2978
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2979
 
$as_echo_n "checking for $ac_word... " >&6; }
2980
 
if ${ac_cv_prog_CC+:} false; then :
2981
 
  $as_echo_n "(cached) " >&6
2982
 
else
2983
 
  if test -n "$CC"; then
2984
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2985
 
else
2986
 
  ac_prog_rejected=no
2987
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2988
 
for as_dir in $PATH
2989
 
do
2990
 
  IFS=$as_save_IFS
2991
 
  test -z "$as_dir" && as_dir=.
2992
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2993
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2994
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2995
 
       ac_prog_rejected=yes
2996
 
       continue
2997
 
     fi
2998
 
    ac_cv_prog_CC="cc"
2999
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3000
 
    break 2
3001
 
  fi
3002
 
done
3003
 
  done
3004
 
IFS=$as_save_IFS
3005
 
 
3006
 
if test $ac_prog_rejected = yes; then
3007
 
  # We found a bogon in the path, so make sure we never use it.
3008
 
  set dummy $ac_cv_prog_CC
3009
 
  shift
3010
 
  if test $@%:@ != 0; then
3011
 
    # We chose a different compiler from the bogus one.
3012
 
    # However, it has the same basename, so the bogon will be chosen
3013
 
    # first if we set CC to just the basename; use the full file name.
3014
 
    shift
3015
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3016
 
  fi
3017
 
fi
3018
 
fi
3019
 
fi
3020
 
CC=$ac_cv_prog_CC
3021
 
if test -n "$CC"; then
3022
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3023
 
$as_echo "$CC" >&6; }
3024
 
else
3025
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3026
 
$as_echo "no" >&6; }
3027
 
fi
3028
 
 
3029
 
 
3030
 
fi
3031
 
if test -z "$CC"; then
3032
 
  if test -n "$ac_tool_prefix"; then
3033
 
  for ac_prog in cl.exe
3034
 
  do
3035
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3036
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3037
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3038
 
$as_echo_n "checking for $ac_word... " >&6; }
3039
 
if ${ac_cv_prog_CC+:} false; then :
3040
 
  $as_echo_n "(cached) " >&6
3041
 
else
3042
 
  if test -n "$CC"; then
3043
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3044
 
else
3045
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3046
 
for as_dir in $PATH
3047
 
do
3048
 
  IFS=$as_save_IFS
3049
 
  test -z "$as_dir" && as_dir=.
3050
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3051
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3052
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3053
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3054
 
    break 2
3055
 
  fi
3056
 
done
3057
 
  done
3058
 
IFS=$as_save_IFS
3059
 
 
3060
 
fi
3061
 
fi
3062
 
CC=$ac_cv_prog_CC
3063
 
if test -n "$CC"; then
3064
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3065
 
$as_echo "$CC" >&6; }
3066
 
else
3067
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3068
 
$as_echo "no" >&6; }
3069
 
fi
3070
 
 
3071
 
 
3072
 
    test -n "$CC" && break
3073
 
  done
3074
 
fi
3075
 
if test -z "$CC"; then
3076
 
  ac_ct_CC=$CC
3077
 
  for ac_prog in cl.exe
3078
 
do
3079
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3080
 
set dummy $ac_prog; ac_word=$2
3081
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3082
 
$as_echo_n "checking for $ac_word... " >&6; }
3083
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3084
 
  $as_echo_n "(cached) " >&6
3085
 
else
3086
 
  if test -n "$ac_ct_CC"; then
3087
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3088
 
else
3089
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3090
 
for as_dir in $PATH
3091
 
do
3092
 
  IFS=$as_save_IFS
3093
 
  test -z "$as_dir" && as_dir=.
3094
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3095
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3096
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3097
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3098
 
    break 2
3099
 
  fi
3100
 
done
3101
 
  done
3102
 
IFS=$as_save_IFS
3103
 
 
3104
 
fi
3105
 
fi
3106
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3107
 
if test -n "$ac_ct_CC"; then
3108
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3109
 
$as_echo "$ac_ct_CC" >&6; }
3110
 
else
3111
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3112
 
$as_echo "no" >&6; }
3113
 
fi
3114
 
 
3115
 
 
3116
 
  test -n "$ac_ct_CC" && break
3117
 
done
3118
 
 
3119
 
  if test "x$ac_ct_CC" = x; then
3120
 
    CC=""
3121
 
  else
3122
 
    case $cross_compiling:$ac_tool_warned in
3123
 
yes:)
3124
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3125
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3126
 
ac_tool_warned=yes ;;
3127
 
esac
3128
 
    CC=$ac_ct_CC
3129
 
  fi
3130
 
fi
3131
 
 
3132
 
fi
3133
 
 
3134
 
 
3135
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3136
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3137
 
as_fn_error $? "no acceptable C compiler found in \$PATH
3138
 
See \`config.log' for more details" "$LINENO" 5; }
3139
 
 
3140
 
# Provide some information about the compiler.
3141
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3142
 
set X $ac_compile
3143
 
ac_compiler=$2
3144
 
for ac_option in --version -v -V -qversion; do
3145
 
  { { ac_try="$ac_compiler $ac_option >&5"
3146
 
case "(($ac_try" in
3147
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3148
 
  *) ac_try_echo=$ac_try;;
3149
 
esac
3150
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3151
 
$as_echo "$ac_try_echo"; } >&5
3152
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3153
 
  ac_status=$?
3154
 
  if test -s conftest.err; then
3155
 
    sed '10a\
3156
 
... rest of stderr output deleted ...
3157
 
         10q' conftest.err >conftest.er1
3158
 
    cat conftest.er1 >&5
3159
 
  fi
3160
 
  rm -f conftest.er1 conftest.err
3161
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3162
 
  test $ac_status = 0; }
3163
 
done
3164
 
 
3165
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3166
 
/* end confdefs.h.  */
3167
 
 
3168
 
int
3169
 
main ()
3170
 
{
3171
 
 
3172
 
  ;
3173
 
  return 0;
3174
 
}
3175
 
_ACEOF
3176
 
ac_clean_files_save=$ac_clean_files
3177
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3178
 
# Try to create an executable without -o first, disregard a.out.
3179
 
# It will help us diagnose broken compilers, and finding out an intuition
3180
 
# of exeext.
3181
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3182
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3183
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3184
 
 
3185
 
# The possible output files:
3186
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3187
 
 
3188
 
ac_rmfiles=
3189
 
for ac_file in $ac_files
3190
 
do
3191
 
  case $ac_file in
3192
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3193
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3194
 
  esac
3195
 
done
3196
 
rm -f $ac_rmfiles
3197
 
 
3198
 
if { { ac_try="$ac_link_default"
3199
 
case "(($ac_try" in
3200
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3201
 
  *) ac_try_echo=$ac_try;;
3202
 
esac
3203
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3204
 
$as_echo "$ac_try_echo"; } >&5
3205
 
  (eval "$ac_link_default") 2>&5
3206
 
  ac_status=$?
3207
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3208
 
  test $ac_status = 0; }; then :
3209
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3210
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3211
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3212
 
# so that the user can short-circuit this test for compilers unknown to
3213
 
# Autoconf.
3214
 
for ac_file in $ac_files ''
3215
 
do
3216
 
  test -f "$ac_file" || continue
3217
 
  case $ac_file in
3218
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3219
 
        ;;
3220
 
    [ab].out )
3221
 
        # We found the default executable, but exeext='' is most
3222
 
        # certainly right.
3223
 
        break;;
3224
 
    *.* )
3225
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3226
 
        then :; else
3227
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3228
 
        fi
3229
 
        # We set ac_cv_exeext here because the later test for it is not
3230
 
        # safe: cross compilers may not add the suffix if given an `-o'
3231
 
        # argument, so we may need to know it at that point already.
3232
 
        # Even if this section looks crufty: it has the advantage of
3233
 
        # actually working.
3234
 
        break;;
3235
 
    * )
3236
 
        break;;
3237
 
  esac
3238
 
done
3239
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3240
 
 
3241
 
else
3242
 
  ac_file=''
3243
 
fi
3244
 
if test -z "$ac_file"; then :
3245
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3246
 
$as_echo "no" >&6; }
3247
 
$as_echo "$as_me: failed program was:" >&5
3248
 
sed 's/^/| /' conftest.$ac_ext >&5
3249
 
 
3250
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3251
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3252
 
as_fn_error 77 "C compiler cannot create executables
3253
 
See \`config.log' for more details" "$LINENO" 5; }
3254
 
else
3255
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3256
 
$as_echo "yes" >&6; }
3257
 
fi
3258
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3259
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3260
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3261
 
$as_echo "$ac_file" >&6; }
3262
 
ac_exeext=$ac_cv_exeext
3263
 
 
3264
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3265
 
ac_clean_files=$ac_clean_files_save
3266
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3267
 
$as_echo_n "checking for suffix of executables... " >&6; }
3268
 
if { { ac_try="$ac_link"
3269
 
case "(($ac_try" in
3270
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3271
 
  *) ac_try_echo=$ac_try;;
3272
 
esac
3273
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3274
 
$as_echo "$ac_try_echo"; } >&5
3275
 
  (eval "$ac_link") 2>&5
3276
 
  ac_status=$?
3277
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3278
 
  test $ac_status = 0; }; then :
3279
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3280
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3281
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3282
 
# `rm'.
3283
 
for ac_file in conftest.exe conftest conftest.*; do
3284
 
  test -f "$ac_file" || continue
3285
 
  case $ac_file in
3286
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3287
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3288
 
          break;;
3289
 
    * ) break;;
3290
 
  esac
3291
 
done
3292
 
else
3293
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3294
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3295
 
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3296
 
See \`config.log' for more details" "$LINENO" 5; }
3297
 
fi
3298
 
rm -f conftest conftest$ac_cv_exeext
3299
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3300
 
$as_echo "$ac_cv_exeext" >&6; }
3301
 
 
3302
 
rm -f conftest.$ac_ext
3303
 
EXEEXT=$ac_cv_exeext
3304
 
ac_exeext=$EXEEXT
3305
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3306
 
/* end confdefs.h.  */
3307
 
@%:@include <stdio.h>
3308
 
int
3309
 
main ()
3310
 
{
3311
 
FILE *f = fopen ("conftest.out", "w");
3312
 
 return ferror (f) || fclose (f) != 0;
3313
 
 
3314
 
  ;
3315
 
  return 0;
3316
 
}
3317
 
_ACEOF
3318
 
ac_clean_files="$ac_clean_files conftest.out"
3319
 
# Check that the compiler produces executables we can run.  If not, either
3320
 
# the compiler is broken, or we cross compile.
3321
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3322
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3323
 
if test "$cross_compiling" != yes; then
3324
 
  { { ac_try="$ac_link"
3325
 
case "(($ac_try" in
3326
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3327
 
  *) ac_try_echo=$ac_try;;
3328
 
esac
3329
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3330
 
$as_echo "$ac_try_echo"; } >&5
3331
 
  (eval "$ac_link") 2>&5
3332
 
  ac_status=$?
3333
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3334
 
  test $ac_status = 0; }
3335
 
  if { ac_try='./conftest$ac_cv_exeext'
3336
 
  { { case "(($ac_try" in
3337
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3338
 
  *) ac_try_echo=$ac_try;;
3339
 
esac
3340
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3341
 
$as_echo "$ac_try_echo"; } >&5
3342
 
  (eval "$ac_try") 2>&5
3343
 
  ac_status=$?
3344
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3345
 
  test $ac_status = 0; }; }; then
3346
 
    cross_compiling=no
3347
 
  else
3348
 
    if test "$cross_compiling" = maybe; then
3349
 
        cross_compiling=yes
3350
 
    else
3351
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3352
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3353
 
as_fn_error $? "cannot run C compiled programs.
3354
 
If you meant to cross compile, use \`--host'.
3355
 
See \`config.log' for more details" "$LINENO" 5; }
3356
 
    fi
3357
 
  fi
3358
 
fi
3359
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3360
 
$as_echo "$cross_compiling" >&6; }
3361
 
 
3362
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3363
 
ac_clean_files=$ac_clean_files_save
3364
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3365
 
$as_echo_n "checking for suffix of object files... " >&6; }
3366
 
if ${ac_cv_objext+:} false; then :
3367
 
  $as_echo_n "(cached) " >&6
3368
 
else
3369
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3370
 
/* end confdefs.h.  */
3371
 
 
3372
 
int
3373
 
main ()
3374
 
{
3375
 
 
3376
 
  ;
3377
 
  return 0;
3378
 
}
3379
 
_ACEOF
3380
 
rm -f conftest.o conftest.obj
3381
 
if { { ac_try="$ac_compile"
3382
 
case "(($ac_try" in
3383
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3384
 
  *) ac_try_echo=$ac_try;;
3385
 
esac
3386
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3387
 
$as_echo "$ac_try_echo"; } >&5
3388
 
  (eval "$ac_compile") 2>&5
3389
 
  ac_status=$?
3390
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3391
 
  test $ac_status = 0; }; then :
3392
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3393
 
  test -f "$ac_file" || continue;
3394
 
  case $ac_file in
3395
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3396
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3397
 
       break;;
3398
 
  esac
3399
 
done
3400
 
else
3401
 
  $as_echo "$as_me: failed program was:" >&5
3402
 
sed 's/^/| /' conftest.$ac_ext >&5
3403
 
 
3404
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3405
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3406
 
as_fn_error $? "cannot compute suffix of object files: cannot compile
3407
 
See \`config.log' for more details" "$LINENO" 5; }
3408
 
fi
3409
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3410
 
fi
3411
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3412
 
$as_echo "$ac_cv_objext" >&6; }
3413
 
OBJEXT=$ac_cv_objext
3414
 
ac_objext=$OBJEXT
3415
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3416
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3417
 
if ${ac_cv_c_compiler_gnu+:} false; then :
3418
 
  $as_echo_n "(cached) " >&6
3419
 
else
3420
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3421
 
/* end confdefs.h.  */
3422
 
 
3423
 
int
3424
 
main ()
3425
 
{
3426
 
#ifndef __GNUC__
3427
 
       choke me
3428
 
#endif
3429
 
 
3430
 
  ;
3431
 
  return 0;
3432
 
}
3433
 
_ACEOF
3434
 
if ac_fn_c_try_compile "$LINENO"; then :
3435
 
  ac_compiler_gnu=yes
3436
 
else
3437
 
  ac_compiler_gnu=no
3438
 
fi
3439
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3440
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3441
 
 
3442
 
fi
3443
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3444
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3445
 
if test $ac_compiler_gnu = yes; then
3446
 
  GCC=yes
3447
 
else
3448
 
  GCC=
3449
 
fi
3450
 
ac_test_CFLAGS=${CFLAGS+set}
3451
 
ac_save_CFLAGS=$CFLAGS
3452
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3453
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3454
 
if ${ac_cv_prog_cc_g+:} false; then :
3455
 
  $as_echo_n "(cached) " >&6
3456
 
else
3457
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3458
 
   ac_c_werror_flag=yes
3459
 
   ac_cv_prog_cc_g=no
3460
 
   CFLAGS="-g"
3461
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3462
 
/* end confdefs.h.  */
3463
 
 
3464
 
int
3465
 
main ()
3466
 
{
3467
 
 
3468
 
  ;
3469
 
  return 0;
3470
 
}
3471
 
_ACEOF
3472
 
if ac_fn_c_try_compile "$LINENO"; then :
3473
 
  ac_cv_prog_cc_g=yes
3474
 
else
3475
 
  CFLAGS=""
3476
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3477
 
/* end confdefs.h.  */
3478
 
 
3479
 
int
3480
 
main ()
3481
 
{
3482
 
 
3483
 
  ;
3484
 
  return 0;
3485
 
}
3486
 
_ACEOF
3487
 
if ac_fn_c_try_compile "$LINENO"; then :
3488
 
  
3489
 
else
3490
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3491
 
         CFLAGS="-g"
3492
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3493
 
/* end confdefs.h.  */
3494
 
 
3495
 
int
3496
 
main ()
3497
 
{
3498
 
 
3499
 
  ;
3500
 
  return 0;
3501
 
}
3502
 
_ACEOF
3503
 
if ac_fn_c_try_compile "$LINENO"; then :
3504
 
  ac_cv_prog_cc_g=yes
3505
 
fi
3506
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3507
 
fi
3508
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3509
 
fi
3510
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3511
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3512
 
fi
3513
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3514
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
3515
 
if test "$ac_test_CFLAGS" = set; then
3516
 
  CFLAGS=$ac_save_CFLAGS
3517
 
elif test $ac_cv_prog_cc_g = yes; then
3518
 
  if test "$GCC" = yes; then
3519
 
    CFLAGS="-g -O2"
3520
 
  else
3521
 
    CFLAGS="-g"
3522
 
  fi
3523
 
else
3524
 
  if test "$GCC" = yes; then
3525
 
    CFLAGS="-O2"
3526
 
  else
3527
 
    CFLAGS=
3528
 
  fi
3529
 
fi
3530
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3531
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3532
 
if ${ac_cv_prog_cc_c89+:} false; then :
3533
 
  $as_echo_n "(cached) " >&6
3534
 
else
3535
 
  ac_cv_prog_cc_c89=no
3536
 
ac_save_CC=$CC
3537
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3538
 
/* end confdefs.h.  */
3539
 
#include <stdarg.h>
3540
 
#include <stdio.h>
3541
 
struct stat;
3542
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3543
 
struct buf { int x; };
3544
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3545
 
static char *e (p, i)
3546
 
     char **p;
3547
 
     int i;
3548
 
{
3549
 
  return p[i];
3550
 
}
3551
 
static char *f (char * (*g) (char **, int), char **p, ...)
3552
 
{
3553
 
  char *s;
3554
 
  va_list v;
3555
 
  va_start (v,p);
3556
 
  s = g (p, va_arg (v,int));
3557
 
  va_end (v);
3558
 
  return s;
3559
 
}
3560
 
 
3561
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3562
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3563
 
   These don't provoke an error unfortunately, instead are silently treated
3564
 
   as 'x'.  The following induces an error, until -std is added to get
3565
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3566
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3567
 
   that's true only with -std.  */
3568
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3569
 
 
3570
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3571
 
   inside strings and character constants.  */
3572
 
#define FOO(x) 'x'
3573
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3574
 
 
3575
 
int test (int i, double x);
3576
 
struct s1 {int (*f) (int a);};
3577
 
struct s2 {int (*f) (double a);};
3578
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3579
 
int argc;
3580
 
char **argv;
3581
 
int
3582
 
main ()
3583
 
{
3584
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3585
 
  ;
3586
 
  return 0;
3587
 
}
3588
 
_ACEOF
3589
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3590
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3591
 
do
3592
 
  CC="$ac_save_CC $ac_arg"
3593
 
  if ac_fn_c_try_compile "$LINENO"; then :
3594
 
  ac_cv_prog_cc_c89=$ac_arg
3595
 
fi
3596
 
rm -f core conftest.err conftest.$ac_objext
3597
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3598
 
done
3599
 
rm -f conftest.$ac_ext
3600
 
CC=$ac_save_CC
3601
 
 
3602
 
fi
3603
 
# AC_CACHE_VAL
3604
 
case "x$ac_cv_prog_cc_c89" in
3605
 
  x)
3606
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3607
 
$as_echo "none needed" >&6; } ;;
3608
 
  xno)
3609
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3610
 
$as_echo "unsupported" >&6; } ;;
3611
 
  *)
3612
 
    CC="$CC $ac_cv_prog_cc_c89"
3613
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3614
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3615
 
esac
3616
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
3617
 
  
3618
 
fi
3619
 
 
3620
 
ac_ext=c
3621
 
ac_cpp='$CPP $CPPFLAGS'
3622
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3623
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3624
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3625
 
DEPDIR="${am__leading_dot}deps"
3626
 
 
3627
 
ac_config_commands="$ac_config_commands depfiles"
3628
 
 
3629
 
 
3630
 
am_make=${MAKE-make}
3631
 
cat > confinc << 'END'
3632
 
am__doit:
3633
 
        @echo this is the am__doit target
3634
 
.PHONY: am__doit
3635
 
END
3636
 
# If we don't find an include directive, just comment out the code.
3637
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3638
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3639
 
am__include="#"
3640
 
am__quote=
3641
 
_am_result=none
3642
 
# First try GNU make style include.
3643
 
echo "include confinc" > confmf
3644
 
# Ignore all kinds of additional output from `make'.
3645
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3646
 
*the\ am__doit\ target*)
3647
 
  am__include=include
3648
 
  am__quote=
3649
 
  _am_result=GNU
3650
 
  ;;
3651
 
esac
3652
 
# Now try BSD make style include.
3653
 
if test "$am__include" = "#"; then
3654
 
   echo '.include "confinc"' > confmf
3655
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3656
 
   *the\ am__doit\ target*)
3657
 
     am__include=.include
3658
 
     am__quote="\""
3659
 
     _am_result=BSD
3660
 
     ;;
3661
 
   esac
3662
 
fi
3663
 
 
3664
 
 
3665
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3666
 
$as_echo "$_am_result" >&6; }
3667
 
rm -f confinc confmf
3668
 
 
3669
 
@%:@ Check whether --enable-dependency-tracking was given.
3670
 
if test "${enable_dependency_tracking+set}" = set; then :
3671
 
  enableval=$enable_dependency_tracking; 
3672
 
fi
3673
 
 
3674
 
if test "x$enable_dependency_tracking" != xno; then
3675
 
  am_depcomp="$ac_aux_dir/depcomp"
3676
 
  AMDEPBACKSLASH='\'
3677
 
  am__nodep='_no'
3678
 
fi
3679
 
 if test "x$enable_dependency_tracking" != xno; then
3680
 
  AMDEP_TRUE=
3681
 
  AMDEP_FALSE='#'
3682
 
else
3683
 
  AMDEP_TRUE='#'
3684
 
  AMDEP_FALSE=
3685
 
fi
3686
 
 
3687
 
 
3688
 
 
3689
 
depcc="$CC"   am_compiler_list=
3690
 
 
3691
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3692
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3693
 
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3694
 
  $as_echo_n "(cached) " >&6
3695
 
else
3696
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3697
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3698
 
  # making bogus files that we don't know about and never remove.  For
3699
 
  # instance it was reported that on HP-UX the gcc test will end up
3700
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3701
 
  # in D'.
3702
 
  rm -rf conftest.dir
3703
 
  mkdir conftest.dir
3704
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3705
 
  # using a relative directory.
3706
 
  cp "$am_depcomp" conftest.dir
3707
 
  cd conftest.dir
3708
 
  # We will build objects and dependencies in a subdirectory because
3709
 
  # it helps to detect inapplicable dependency modes.  For instance
3710
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3711
 
  # side effect of compilation, but ICC will put the dependencies in
3712
 
  # the current directory while Tru64 will put them in the object
3713
 
  # directory.
3714
 
  mkdir sub
3715
 
 
3716
 
  am_cv_CC_dependencies_compiler_type=none
3717
 
  if test "$am_compiler_list" = ""; then
3718
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3719
 
  fi
3720
 
  am__universal=false
3721
 
  case " $depcc " in #(
3722
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3723
 
     esac
3724
 
 
3725
 
  for depmode in $am_compiler_list; do
3726
 
    # Setup a source with many dependencies, because some compilers
3727
 
    # like to wrap large dependency lists on column 80 (with \), and
3728
 
    # we should not choose a depcomp mode which is confused by this.
3729
 
    #
3730
 
    # We need to recreate these files for each test, as the compiler may
3731
 
    # overwrite some of them when testing with obscure command lines.
3732
 
    # This happens at least with the AIX C compiler.
3733
 
    : > sub/conftest.c
3734
 
    for i in 1 2 3 4 5 6; do
3735
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3736
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3737
 
      # Solaris 8's {/usr,}/bin/sh.
3738
 
      touch sub/conftst$i.h
3739
 
    done
3740
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3741
 
 
3742
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3743
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3744
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3745
 
    # versions had trouble with output in subdirs
3746
 
    am__obj=sub/conftest.${OBJEXT-o}
3747
 
    am__minus_obj="-o $am__obj"
3748
 
    case $depmode in
3749
 
    gcc)
3750
 
      # This depmode causes a compiler race in universal mode.
3751
 
      test "$am__universal" = false || continue
3752
 
      ;;
3753
 
    nosideeffect)
3754
 
      # after this tag, mechanisms are not by side-effect, so they'll
3755
 
      # only be used when explicitly requested
3756
 
      if test "x$enable_dependency_tracking" = xyes; then
3757
 
        continue
3758
 
      else
3759
 
        break
3760
 
      fi
3761
 
      ;;
3762
 
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3763
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3764
 
      # not run yet.  These depmodes are late enough in the game, and
3765
 
      # so weak that their functioning should not be impacted.
3766
 
      am__obj=conftest.${OBJEXT-o}
3767
 
      am__minus_obj=
3768
 
      ;;
3769
 
    none) break ;;
3770
 
    esac
3771
 
    if depmode=$depmode \
3772
 
       source=sub/conftest.c object=$am__obj \
3773
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3774
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3775
 
         >/dev/null 2>conftest.err &&
3776
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3777
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3778
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3779
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3780
 
      # icc doesn't choke on unknown options, it will just issue warnings
3781
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3782
 
      # that says an option was ignored or not supported.
3783
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3784
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3785
 
      # The diagnosis changed in icc 8.0:
3786
 
      #   icc: Command line remark: option '-MP' not supported
3787
 
      if (grep 'ignoring option' conftest.err ||
3788
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3789
 
        am_cv_CC_dependencies_compiler_type=$depmode
3790
 
        break
3791
 
      fi
3792
 
    fi
3793
 
  done
3794
 
 
3795
 
  cd ..
3796
 
  rm -rf conftest.dir
3797
 
else
3798
 
  am_cv_CC_dependencies_compiler_type=none
3799
 
fi
3800
 
 
3801
 
fi
3802
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3803
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3804
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3805
 
 
3806
 
 if 
3807
 
  test "x$enable_dependency_tracking" != xno \
3808
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3809
 
  am__fastdepCC_TRUE=
3810
 
  am__fastdepCC_FALSE='#'
3811
 
else
3812
 
  am__fastdepCC_TRUE='#'
3813
 
  am__fastdepCC_FALSE=
3814
 
fi
3815
 
 
3816
 
 
3817
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3818
 
$as_echo_n "checking whether ln -s works... " >&6; }
3819
 
LN_S=$as_ln_s
3820
 
if test "$LN_S" = "ln -s"; then
3821
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3822
 
$as_echo "yes" >&6; }
3823
 
else
3824
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3825
 
$as_echo "no, using $LN_S" >&6; }
3826
 
fi
3827
 
 
3828
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3829
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3830
 
set x ${MAKE-make}
3831
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3832
 
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3833
 
  $as_echo_n "(cached) " >&6
3834
 
else
3835
 
  cat >conftest.make <<\_ACEOF
3836
 
SHELL = /bin/sh
3837
 
all:
3838
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3839
 
_ACEOF
3840
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3841
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3842
 
  *@@@%%%=?*=@@@%%%*)
3843
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
3844
 
  *)
3845
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
3846
 
esac
3847
 
rm -f conftest.make
3848
 
fi
3849
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3850
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3851
 
$as_echo "yes" >&6; }
3852
 
  SET_MAKE=
3853
 
else
3854
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3855
 
$as_echo "no" >&6; }
3856
 
  SET_MAKE="MAKE=${MAKE-make}"
3857
 
fi
3858
 
 
3859
 
# Extract the first word of "cd", so it can be a program name with args.
3860
 
set dummy cd; ac_word=$2
3861
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3862
 
$as_echo_n "checking for $ac_word... " >&6; }
3863
 
if ${ac_cv_prog_CD+:} false; then :
3864
 
  $as_echo_n "(cached) " >&6
3865
 
else
3866
 
  if test -n "$CD"; then
3867
 
  ac_cv_prog_CD="$CD" # Let the user override the test.
3868
 
else
3869
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3870
 
for as_dir in $PATH
3871
 
do
3872
 
  IFS=$as_save_IFS
3873
 
  test -z "$as_dir" && as_dir=.
3874
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3875
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3876
 
    ac_cv_prog_CD=""
3877
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3878
 
    break 2
3879
 
  fi
3880
 
done
3881
 
  done
3882
 
IFS=$as_save_IFS
3883
 
 
3884
 
fi
3885
 
fi
3886
 
CD=$ac_cv_prog_CD
3887
 
if test -n "$CD"; then
3888
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CD" >&5
3889
 
$as_echo "$CD" >&6; }
3890
 
else
3891
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3892
 
$as_echo "no" >&6; }
3893
 
fi
3894
 
 
3895
 
 
3896
 
 
3897
 
case `pwd` in
3898
 
  *\ * | *\     *)
3899
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3900
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3901
 
esac
3902
 
 
3903
 
 
3904
 
 
3905
 
macro_version='2.4.2'
3906
 
macro_revision='1.3337'
3907
 
 
3908
 
    
3909
 
    
3910
 
    
3911
 
 
3912
 
 
3913
 
    
3914
 
    
3915
 
    
3916
 
 
3917
 
 
3918
 
 
3919
 
 
3920
 
ltmain="$ac_aux_dir/ltmain.sh"
3921
 
 
3922
 
# Make sure we can run config.sub.
3923
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3924
 
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3925
 
 
3926
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3927
 
$as_echo_n "checking build system type... " >&6; }
3928
 
if ${ac_cv_build+:} false; then :
3929
 
  $as_echo_n "(cached) " >&6
3930
 
else
3931
 
  ac_build_alias=$build_alias
3932
 
test "x$ac_build_alias" = x &&
3933
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3934
 
test "x$ac_build_alias" = x &&
3935
 
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3936
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3937
 
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3938
 
 
3939
 
fi
3940
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3941
 
$as_echo "$ac_cv_build" >&6; }
3942
 
case $ac_cv_build in
3943
 
*-*-*) ;;
3944
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3945
 
esac
3946
 
build=$ac_cv_build
3947
 
ac_save_IFS=$IFS; IFS='-'
3948
 
set x $ac_cv_build
3949
 
shift
3950
 
build_cpu=$1
3951
 
build_vendor=$2
3952
 
shift; shift
3953
 
# Remember, the first character of IFS is used to create $*,
3954
 
# except with old shells:
3955
 
build_os=$*
3956
 
IFS=$ac_save_IFS
3957
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3958
 
 
3959
 
 
3960
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3961
 
$as_echo_n "checking host system type... " >&6; }
3962
 
if ${ac_cv_host+:} false; then :
3963
 
  $as_echo_n "(cached) " >&6
3964
 
else
3965
 
  if test "x$host_alias" = x; then
3966
 
  ac_cv_host=$ac_cv_build
3967
 
else
3968
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3969
 
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3970
 
fi
3971
 
 
3972
 
fi
3973
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3974
 
$as_echo "$ac_cv_host" >&6; }
3975
 
case $ac_cv_host in
3976
 
*-*-*) ;;
3977
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3978
 
esac
3979
 
host=$ac_cv_host
3980
 
ac_save_IFS=$IFS; IFS='-'
3981
 
set x $ac_cv_host
3982
 
shift
3983
 
host_cpu=$1
3984
 
host_vendor=$2
3985
 
shift; shift
3986
 
# Remember, the first character of IFS is used to create $*,
3987
 
# except with old shells:
3988
 
host_os=$*
3989
 
IFS=$ac_save_IFS
3990
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3991
 
 
3992
 
 
3993
 
# Backslashify metacharacters that are still active within
3994
 
# double-quoted strings.
3995
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3996
 
 
3997
 
# Same as above, but do not quote variable references.
3998
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
3999
 
 
4000
 
# Sed substitution to delay expansion of an escaped shell variable in a
4001
 
# double_quote_subst'ed string.
4002
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4003
 
 
4004
 
# Sed substitution to delay expansion of an escaped single quote.
4005
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4006
 
 
4007
 
# Sed substitution to avoid accidental globbing in evaled expressions
4008
 
no_glob_subst='s/\*/\\\*/g'
4009
 
 
4010
 
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4011
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4012
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4013
 
 
4014
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4015
 
$as_echo_n "checking how to print strings... " >&6; }
4016
 
# Test print first, because it will be a builtin if present.
4017
 
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4018
 
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4019
 
  ECHO='print -r --'
4020
 
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4021
 
  ECHO='printf %s\n'
4022
 
else
4023
 
  # Use this function as a fallback that always works.
4024
 
  func_fallback_echo ()
4025
 
  {
4026
 
    eval 'cat <<_LTECHO_EOF
4027
 
$1
4028
 
_LTECHO_EOF'
4029
 
  }
4030
 
  ECHO='func_fallback_echo'
4031
 
fi
4032
 
 
4033
 
# func_echo_all arg...
4034
 
# Invoke $ECHO with all args, space-separated.
4035
 
func_echo_all ()
4036
 
{
4037
 
    $ECHO "" 
4038
 
}
4039
 
 
4040
 
case "$ECHO" in
4041
 
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4042
 
$as_echo "printf" >&6; } ;;
4043
 
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4044
 
$as_echo "print -r" >&6; } ;;
4045
 
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4046
 
$as_echo "cat" >&6; } ;;
4047
 
esac
4048
 
 
4049
 
 
4050
 
 
4051
 
 
4052
 
    
4053
 
    
4054
 
    
4055
 
 
4056
 
 
4057
 
    
4058
 
    
4059
 
    
4060
 
 
4061
 
 
4062
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4063
 
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4064
 
if ${ac_cv_path_SED+:} false; then :
4065
 
  $as_echo_n "(cached) " >&6
4066
 
else
4067
 
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4068
 
     for ac_i in 1 2 3 4 5 6 7; do
4069
 
       ac_script="$ac_script$as_nl$ac_script"
4070
 
     done
4071
 
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4072
 
     { ac_script=; unset ac_script;}
4073
 
     if test -z "$SED"; then
4074
 
  ac_path_SED_found=false
4075
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4076
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4077
 
for as_dir in $PATH
4078
 
do
4079
 
  IFS=$as_save_IFS
4080
 
  test -z "$as_dir" && as_dir=.
4081
 
    for ac_prog in sed gsed; do
4082
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4083
 
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4084
 
      as_fn_executable_p "$ac_path_SED" || continue
4085
 
# Check for GNU ac_path_SED and select it if it is found.
4086
 
  # Check for GNU $ac_path_SED
4087
 
case `"$ac_path_SED" --version 2>&1` in
4088
 
*GNU*)
4089
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4090
 
*)
4091
 
  ac_count=0
4092
 
  $as_echo_n 0123456789 >"conftest.in"
4093
 
  while :
4094
 
  do
4095
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4096
 
    mv "conftest.tmp" "conftest.in"
4097
 
    cp "conftest.in" "conftest.nl"
4098
 
    $as_echo '' >> "conftest.nl"
4099
 
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4100
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4101
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4102
 
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4103
 
      # Best one so far, save it but keep looking for a better one
4104
 
      ac_cv_path_SED="$ac_path_SED"
4105
 
      ac_path_SED_max=$ac_count
4106
 
    fi
4107
 
    # 10*(2^10) chars as input seems more than enough
4108
 
    test $ac_count -gt 10 && break
4109
 
  done
4110
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4111
 
esac
4112
 
 
4113
 
      $ac_path_SED_found && break 3
4114
 
    done
4115
 
  done
4116
 
  done
4117
 
IFS=$as_save_IFS
4118
 
  if test -z "$ac_cv_path_SED"; then
4119
 
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4120
 
  fi
4121
 
else
4122
 
  ac_cv_path_SED=$SED
4123
 
fi
4124
 
 
4125
 
fi
4126
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4127
 
$as_echo "$ac_cv_path_SED" >&6; }
4128
 
 SED="$ac_cv_path_SED"
4129
 
  rm -f conftest.sed
4130
 
 
4131
 
test -z "$SED" && SED=sed
4132
 
Xsed="$SED -e 1s/^X//"
4133
 
 
4134
 
    
4135
 
    
4136
 
    
4137
 
 
4138
 
 
4139
 
    
4140
 
    
4141
 
    
4142
 
 
4143
 
 
4144
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4145
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4146
 
if ${ac_cv_path_GREP+:} false; then :
4147
 
  $as_echo_n "(cached) " >&6
4148
 
else
4149
 
  if test -z "$GREP"; then
4150
 
  ac_path_GREP_found=false
4151
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4152
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4153
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4154
 
do
4155
 
  IFS=$as_save_IFS
4156
 
  test -z "$as_dir" && as_dir=.
4157
 
    for ac_prog in grep ggrep; do
4158
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4159
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4160
 
      as_fn_executable_p "$ac_path_GREP" || continue
4161
 
# Check for GNU ac_path_GREP and select it if it is found.
4162
 
  # Check for GNU $ac_path_GREP
4163
 
case `"$ac_path_GREP" --version 2>&1` in
4164
 
*GNU*)
4165
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4166
 
*)
4167
 
  ac_count=0
4168
 
  $as_echo_n 0123456789 >"conftest.in"
4169
 
  while :
4170
 
  do
4171
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4172
 
    mv "conftest.tmp" "conftest.in"
4173
 
    cp "conftest.in" "conftest.nl"
4174
 
    $as_echo 'GREP' >> "conftest.nl"
4175
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4176
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4177
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4178
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4179
 
      # Best one so far, save it but keep looking for a better one
4180
 
      ac_cv_path_GREP="$ac_path_GREP"
4181
 
      ac_path_GREP_max=$ac_count
4182
 
    fi
4183
 
    # 10*(2^10) chars as input seems more than enough
4184
 
    test $ac_count -gt 10 && break
4185
 
  done
4186
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4187
 
esac
4188
 
 
4189
 
      $ac_path_GREP_found && break 3
4190
 
    done
4191
 
  done
4192
 
  done
4193
 
IFS=$as_save_IFS
4194
 
  if test -z "$ac_cv_path_GREP"; then
4195
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4196
 
  fi
4197
 
else
4198
 
  ac_cv_path_GREP=$GREP
4199
 
fi
4200
 
 
4201
 
fi
4202
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4203
 
$as_echo "$ac_cv_path_GREP" >&6; }
4204
 
 GREP="$ac_cv_path_GREP"
4205
 
 
4206
 
 
4207
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4208
 
$as_echo_n "checking for egrep... " >&6; }
4209
 
if ${ac_cv_path_EGREP+:} false; then :
4210
 
  $as_echo_n "(cached) " >&6
4211
 
else
4212
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4213
 
   then ac_cv_path_EGREP="$GREP -E"
4214
 
   else
4215
 
     if test -z "$EGREP"; then
4216
 
  ac_path_EGREP_found=false
4217
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4218
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4219
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4220
 
do
4221
 
  IFS=$as_save_IFS
4222
 
  test -z "$as_dir" && as_dir=.
4223
 
    for ac_prog in egrep; do
4224
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4225
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4226
 
      as_fn_executable_p "$ac_path_EGREP" || continue
4227
 
# Check for GNU ac_path_EGREP and select it if it is found.
4228
 
  # Check for GNU $ac_path_EGREP
4229
 
case `"$ac_path_EGREP" --version 2>&1` in
4230
 
*GNU*)
4231
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4232
 
*)
4233
 
  ac_count=0
4234
 
  $as_echo_n 0123456789 >"conftest.in"
4235
 
  while :
4236
 
  do
4237
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4238
 
    mv "conftest.tmp" "conftest.in"
4239
 
    cp "conftest.in" "conftest.nl"
4240
 
    $as_echo 'EGREP' >> "conftest.nl"
4241
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4242
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4243
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4244
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4245
 
      # Best one so far, save it but keep looking for a better one
4246
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4247
 
      ac_path_EGREP_max=$ac_count
4248
 
    fi
4249
 
    # 10*(2^10) chars as input seems more than enough
4250
 
    test $ac_count -gt 10 && break
4251
 
  done
4252
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4253
 
esac
4254
 
 
4255
 
      $ac_path_EGREP_found && break 3
4256
 
    done
4257
 
  done
4258
 
  done
4259
 
IFS=$as_save_IFS
4260
 
  if test -z "$ac_cv_path_EGREP"; then
4261
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4262
 
  fi
4263
 
else
4264
 
  ac_cv_path_EGREP=$EGREP
4265
 
fi
4266
 
 
4267
 
   fi
4268
 
fi
4269
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4270
 
$as_echo "$ac_cv_path_EGREP" >&6; }
4271
 
 EGREP="$ac_cv_path_EGREP"
4272
 
 
4273
 
 
4274
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4275
 
$as_echo_n "checking for fgrep... " >&6; }
4276
 
if ${ac_cv_path_FGREP+:} false; then :
4277
 
  $as_echo_n "(cached) " >&6
4278
 
else
4279
 
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4280
 
   then ac_cv_path_FGREP="$GREP -F"
4281
 
   else
4282
 
     if test -z "$FGREP"; then
4283
 
  ac_path_FGREP_found=false
4284
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4285
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4286
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4287
 
do
4288
 
  IFS=$as_save_IFS
4289
 
  test -z "$as_dir" && as_dir=.
4290
 
    for ac_prog in fgrep; do
4291
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4292
 
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4293
 
      as_fn_executable_p "$ac_path_FGREP" || continue
4294
 
# Check for GNU ac_path_FGREP and select it if it is found.
4295
 
  # Check for GNU $ac_path_FGREP
4296
 
case `"$ac_path_FGREP" --version 2>&1` in
4297
 
*GNU*)
4298
 
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4299
 
*)
4300
 
  ac_count=0
4301
 
  $as_echo_n 0123456789 >"conftest.in"
4302
 
  while :
4303
 
  do
4304
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4305
 
    mv "conftest.tmp" "conftest.in"
4306
 
    cp "conftest.in" "conftest.nl"
4307
 
    $as_echo 'FGREP' >> "conftest.nl"
4308
 
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4309
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4310
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4311
 
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4312
 
      # Best one so far, save it but keep looking for a better one
4313
 
      ac_cv_path_FGREP="$ac_path_FGREP"
4314
 
      ac_path_FGREP_max=$ac_count
4315
 
    fi
4316
 
    # 10*(2^10) chars as input seems more than enough
4317
 
    test $ac_count -gt 10 && break
4318
 
  done
4319
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4320
 
esac
4321
 
 
4322
 
      $ac_path_FGREP_found && break 3
4323
 
    done
4324
 
  done
4325
 
  done
4326
 
IFS=$as_save_IFS
4327
 
  if test -z "$ac_cv_path_FGREP"; then
4328
 
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4329
 
  fi
4330
 
else
4331
 
  ac_cv_path_FGREP=$FGREP
4332
 
fi
4333
 
 
4334
 
   fi
4335
 
fi
4336
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4337
 
$as_echo "$ac_cv_path_FGREP" >&6; }
4338
 
 FGREP="$ac_cv_path_FGREP"
4339
 
 
4340
 
 
4341
 
test -z "$GREP" && GREP=grep
4342
 
 
4343
 
    
4344
 
    
4345
 
    
4346
 
 
4347
 
 
4348
 
    
4349
 
    
4350
 
    
4351
 
 
4352
 
 
4353
 
    
4354
 
    
4355
 
    
4356
 
 
4357
 
 
4358
 
 
4359
 
 
4360
 
 
4361
 
@%:@ Check whether --with-gnu-ld was given.
4362
 
if test "${with_gnu_ld+set}" = set; then :
4363
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4364
 
else
4365
 
  with_gnu_ld=no
4366
 
fi
4367
 
 
4368
 
ac_prog=ld
4369
 
if test "$GCC" = yes; then
4370
 
  # Check if gcc -print-prog-name=ld gives a path.
4371
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4372
 
$as_echo_n "checking for ld used by $CC... " >&6; }
4373
 
  case $host in
4374
 
  *-*-mingw*)
4375
 
    # gcc leaves a trailing carriage return which upsets mingw
4376
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4377
 
  *)
4378
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4379
 
  esac
4380
 
  case $ac_prog in
4381
 
    # Accept absolute paths.
4382
 
    [\\/]* | ?:[\\/]*)
4383
 
      re_direlt='/[^/][^/]*/\.\./'
4384
 
      # Canonicalize the pathname of ld
4385
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4386
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4387
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4388
 
      done
4389
 
      test -z "$LD" && LD="$ac_prog"
4390
 
      ;;
4391
 
  "")
4392
 
    # If it fails, then pretend we aren't using GCC.
4393
 
    ac_prog=ld
4394
 
    ;;
4395
 
  *)
4396
 
    # If it is relative, then search for the first ld in PATH.
4397
 
    with_gnu_ld=unknown
4398
 
    ;;
4399
 
  esac
4400
 
elif test "$with_gnu_ld" = yes; then
4401
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4402
 
$as_echo_n "checking for GNU ld... " >&6; }
4403
 
else
4404
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4405
 
$as_echo_n "checking for non-GNU ld... " >&6; }
4406
 
fi
4407
 
if ${lt_cv_path_LD+:} false; then :
4408
 
  $as_echo_n "(cached) " >&6
4409
 
else
4410
 
  if test -z "$LD"; then
4411
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4412
 
  for ac_dir in $PATH; do
4413
 
    IFS="$lt_save_ifs"
4414
 
    test -z "$ac_dir" && ac_dir=.
4415
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4416
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
4417
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
4418
 
      # but apparently some variants of GNU ld only accept -v.
4419
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
4420
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4421
 
      *GNU* | *'with BFD'*)
4422
 
        test "$with_gnu_ld" != no && break
4423
 
        ;;
4424
 
      *)
4425
 
        test "$with_gnu_ld" != yes && break
4426
 
        ;;
4427
 
      esac
4428
 
    fi
4429
 
  done
4430
 
  IFS="$lt_save_ifs"
4431
 
else
4432
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4433
 
fi
4434
 
fi
4435
 
 
4436
 
LD="$lt_cv_path_LD"
4437
 
if test -n "$LD"; then
4438
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4439
 
$as_echo "$LD" >&6; }
4440
 
else
4441
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4442
 
$as_echo "no" >&6; }
4443
 
fi
4444
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4445
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4446
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4447
 
if ${lt_cv_prog_gnu_ld+:} false; then :
4448
 
  $as_echo_n "(cached) " >&6
4449
 
else
4450
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4451
 
case `$LD -v 2>&1 </dev/null` in
4452
 
*GNU* | *'with BFD'*)
4453
 
  lt_cv_prog_gnu_ld=yes
4454
 
  ;;
4455
 
*)
4456
 
  lt_cv_prog_gnu_ld=no
4457
 
  ;;
4458
 
esac
4459
 
fi
4460
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4461
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4462
 
with_gnu_ld=$lt_cv_prog_gnu_ld
4463
 
 
4464
 
 
4465
 
 
4466
 
 
4467
 
    
4468
 
    
4469
 
    
4470
 
 
4471
 
 
4472
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4473
 
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4474
 
if ${lt_cv_path_NM+:} false; then :
4475
 
  $as_echo_n "(cached) " >&6
4476
 
else
4477
 
  if test -n "$NM"; then
4478
 
  # Let the user override the test.
4479
 
  lt_cv_path_NM="$NM"
4480
 
else
4481
 
  lt_nm_to_check="${ac_tool_prefix}nm"
4482
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4483
 
    lt_nm_to_check="$lt_nm_to_check nm"
4484
 
  fi
4485
 
  for lt_tmp_nm in $lt_nm_to_check; do
4486
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4487
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4488
 
      IFS="$lt_save_ifs"
4489
 
      test -z "$ac_dir" && ac_dir=.
4490
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
4491
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4492
 
        # Check to see if the nm accepts a BSD-compat flag.
4493
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4494
 
        #   nm: unknown option "B" ignored
4495
 
        # Tru64's nm complains that /dev/null is an invalid object file
4496
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4497
 
        */dev/null* | *'Invalid file or object type'*)
4498
 
          lt_cv_path_NM="$tmp_nm -B"
4499
 
          break
4500
 
          ;;
4501
 
        *)
4502
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4503
 
          */dev/null*)
4504
 
            lt_cv_path_NM="$tmp_nm -p"
4505
 
            break
4506
 
            ;;
4507
 
          *)
4508
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4509
 
            continue # so that we can try to find one that supports BSD flags
4510
 
            ;;
4511
 
          esac
4512
 
          ;;
4513
 
        esac
4514
 
      fi
4515
 
    done
4516
 
    IFS="$lt_save_ifs"
4517
 
  done
4518
 
  : ${lt_cv_path_NM=no}
4519
 
fi
4520
 
fi
4521
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4522
 
$as_echo "$lt_cv_path_NM" >&6; }
4523
 
if test "$lt_cv_path_NM" != "no"; then
4524
 
  NM="$lt_cv_path_NM"
4525
 
else
4526
 
  # Didn't find any BSD compatible name lister, look for dumpbin.
4527
 
  if test -n "$DUMPBIN"; then :
4528
 
    # Let the user override the test.
4529
 
  else
4530
 
    if test -n "$ac_tool_prefix"; then
4531
 
  for ac_prog in dumpbin "link -dump"
4532
 
  do
4533
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4534
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4535
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4536
 
$as_echo_n "checking for $ac_word... " >&6; }
4537
 
if ${ac_cv_prog_DUMPBIN+:} false; then :
4538
 
  $as_echo_n "(cached) " >&6
4539
 
else
4540
 
  if test -n "$DUMPBIN"; then
4541
 
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4542
 
else
4543
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4544
 
for as_dir in $PATH
4545
 
do
4546
 
  IFS=$as_save_IFS
4547
 
  test -z "$as_dir" && as_dir=.
4548
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4549
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4550
 
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4551
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4552
 
    break 2
4553
 
  fi
4554
 
done
4555
 
  done
4556
 
IFS=$as_save_IFS
4557
 
 
4558
 
fi
4559
 
fi
4560
 
DUMPBIN=$ac_cv_prog_DUMPBIN
4561
 
if test -n "$DUMPBIN"; then
4562
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4563
 
$as_echo "$DUMPBIN" >&6; }
4564
 
else
4565
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4566
 
$as_echo "no" >&6; }
4567
 
fi
4568
 
 
4569
 
 
4570
 
    test -n "$DUMPBIN" && break
4571
 
  done
4572
 
fi
4573
 
if test -z "$DUMPBIN"; then
4574
 
  ac_ct_DUMPBIN=$DUMPBIN
4575
 
  for ac_prog in dumpbin "link -dump"
4576
 
do
4577
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4578
 
set dummy $ac_prog; ac_word=$2
4579
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4580
 
$as_echo_n "checking for $ac_word... " >&6; }
4581
 
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4582
 
  $as_echo_n "(cached) " >&6
4583
 
else
4584
 
  if test -n "$ac_ct_DUMPBIN"; then
4585
 
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4586
 
else
4587
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4588
 
for as_dir in $PATH
4589
 
do
4590
 
  IFS=$as_save_IFS
4591
 
  test -z "$as_dir" && as_dir=.
4592
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4593
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4594
 
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4595
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4596
 
    break 2
4597
 
  fi
4598
 
done
4599
 
  done
4600
 
IFS=$as_save_IFS
4601
 
 
4602
 
fi
4603
 
fi
4604
 
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4605
 
if test -n "$ac_ct_DUMPBIN"; then
4606
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4607
 
$as_echo "$ac_ct_DUMPBIN" >&6; }
4608
 
else
4609
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4610
 
$as_echo "no" >&6; }
4611
 
fi
4612
 
 
4613
 
 
4614
 
  test -n "$ac_ct_DUMPBIN" && break
4615
 
done
4616
 
 
4617
 
  if test "x$ac_ct_DUMPBIN" = x; then
4618
 
    DUMPBIN=":"
4619
 
  else
4620
 
    case $cross_compiling:$ac_tool_warned in
4621
 
yes:)
4622
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4623
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4624
 
ac_tool_warned=yes ;;
4625
 
esac
4626
 
    DUMPBIN=$ac_ct_DUMPBIN
4627
 
  fi
4628
 
fi
4629
 
 
4630
 
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4631
 
    *COFF*)
4632
 
      DUMPBIN="$DUMPBIN -symbols"
4633
 
      ;;
4634
 
    *)
4635
 
      DUMPBIN=:
4636
 
      ;;
4637
 
    esac
4638
 
  fi
4639
 
  
4640
 
  if test "$DUMPBIN" != ":"; then
4641
 
    NM="$DUMPBIN"
4642
 
  fi
4643
 
fi
4644
 
test -z "$NM" && NM=nm
4645
 
 
4646
 
 
4647
 
    
4648
 
    
4649
 
    
4650
 
 
4651
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4652
 
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4653
 
if ${lt_cv_nm_interface+:} false; then :
4654
 
  $as_echo_n "(cached) " >&6
4655
 
else
4656
 
  lt_cv_nm_interface="BSD nm"
4657
 
  echo "int some_variable = 0;" > conftest.$ac_ext
4658
 
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4659
 
  (eval "$ac_compile" 2>conftest.err)
4660
 
  cat conftest.err >&5
4661
 
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4662
 
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4663
 
  cat conftest.err >&5
4664
 
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4665
 
  cat conftest.out >&5
4666
 
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4667
 
    lt_cv_nm_interface="MS dumpbin"
4668
 
  fi
4669
 
  rm -f conftest*
4670
 
fi
4671
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4672
 
$as_echo "$lt_cv_nm_interface" >&6; }
4673
 
 
4674
 
# find the maximum length of command line arguments
4675
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4676
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4677
 
if ${lt_cv_sys_max_cmd_len+:} false; then :
4678
 
  $as_echo_n "(cached) " >&6
4679
 
else
4680
 
    i=0
4681
 
  teststring="ABCD"
4682
 
 
4683
 
  case $build_os in
4684
 
  msdosdjgpp*)
4685
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
4686
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
4687
 
    # during glob expansion).  Even if it were fixed, the result of this
4688
 
    # check would be larger than it should be.
4689
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4690
 
    ;;
4691
 
 
4692
 
  gnu*)
4693
 
    # Under GNU Hurd, this test is not required because there is
4694
 
    # no limit to the length of command line arguments.
4695
 
    # Libtool will interpret -1 as no limit whatsoever
4696
 
    lt_cv_sys_max_cmd_len=-1;
4697
 
    ;;
4698
 
 
4699
 
  cygwin* | mingw* | cegcc*)
4700
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
4701
 
    # about 5 minutes as the teststring grows exponentially.
4702
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
4703
 
    # you end up with a "frozen" computer, even though with patience
4704
 
    # the test eventually succeeds (with a max line length of 256k).
4705
 
    # Instead, let's just punt: use the minimum linelength reported by
4706
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
4707
 
    lt_cv_sys_max_cmd_len=8192;
4708
 
    ;;
4709
 
 
4710
 
  mint*)
4711
 
    # On MiNT this can take a long time and run out of memory.
4712
 
    lt_cv_sys_max_cmd_len=8192;
4713
 
    ;;
4714
 
 
4715
 
  amigaos*)
4716
 
    # On AmigaOS with pdksh, this test takes hours, literally.
4717
 
    # So we just punt and use a minimum line length of 8192.
4718
 
    lt_cv_sys_max_cmd_len=8192;
4719
 
    ;;
4720
 
 
4721
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4722
 
    # This has been around since 386BSD, at least.  Likely further.
4723
 
    if test -x /sbin/sysctl; then
4724
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4725
 
    elif test -x /usr/sbin/sysctl; then
4726
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4727
 
    else
4728
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4729
 
    fi
4730
 
    # And add a safety zone
4731
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4732
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4733
 
    ;;
4734
 
 
4735
 
  interix*)
4736
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4737
 
    lt_cv_sys_max_cmd_len=196608
4738
 
    ;;
4739
 
 
4740
 
  os2*)
4741
 
    # The test takes a long time on OS/2.
4742
 
    lt_cv_sys_max_cmd_len=8192
4743
 
    ;;
4744
 
 
4745
 
  osf*)
4746
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4747
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4748
 
    # nice to cause kernel panics so lets avoid the loop below.
4749
 
    # First set a reasonable default.
4750
 
    lt_cv_sys_max_cmd_len=16384
4751
 
    #
4752
 
    if test -x /sbin/sysconfig; then
4753
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4754
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4755
 
      esac
4756
 
    fi
4757
 
    ;;
4758
 
  sco3.2v5*)
4759
 
    lt_cv_sys_max_cmd_len=102400
4760
 
    ;;
4761
 
  sysv5* | sco5v6* | sysv4.2uw2*)
4762
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4763
 
    if test -n "$kargmax"; then
4764
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4765
 
    else
4766
 
      lt_cv_sys_max_cmd_len=32768
4767
 
    fi
4768
 
    ;;
4769
 
  *)
4770
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4771
 
    if test -n "$lt_cv_sys_max_cmd_len" && \
4772
 
        test undefined != "$lt_cv_sys_max_cmd_len"; then
4773
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4774
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4775
 
    else
4776
 
      # Make teststring a little bigger before we do anything with it.
4777
 
      # a 1K string should be a reasonable start.
4778
 
      for i in 1 2 3 4 5 6 7 8 ; do
4779
 
        teststring=$teststring$teststring
4780
 
      done
4781
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4782
 
      # If test is not a shell built-in, we'll probably end up computing a
4783
 
      # maximum length that is only half of the actual maximum length, but
4784
 
      # we can't tell.
4785
 
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4786
 
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4787
 
              test $i != 17 # 1/2 MB should be enough
4788
 
      do
4789
 
        i=`expr $i + 1`
4790
 
        teststring=$teststring$teststring
4791
 
      done
4792
 
      # Only check the string length outside the loop.
4793
 
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4794
 
      teststring=
4795
 
      # Add a significant safety factor because C++ compilers can tack on
4796
 
      # massive amounts of additional arguments before passing them to the
4797
 
      # linker.  It appears as though 1/2 is a usable value.
4798
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4799
 
    fi
4800
 
    ;;
4801
 
  esac
4802
 
 
4803
 
fi
4804
 
 
4805
 
if test -n $lt_cv_sys_max_cmd_len ; then
4806
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4807
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4808
 
else
4809
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4810
 
$as_echo "none" >&6; }
4811
 
fi
4812
 
max_cmd_len=$lt_cv_sys_max_cmd_len
4813
 
 
4814
 
    
4815
 
    
4816
 
    
4817
 
 
4818
 
 
4819
 
: ${CP="cp -f"}
4820
 
: ${MV="mv -f"}
4821
 
: ${RM="rm -f"}
4822
 
 
4823
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4824
 
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4825
 
# Try some XSI features
4826
 
xsi_shell=no
4827
 
( _lt_dummy="a/b/c"
4828
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4829
 
      = c,a/b,b/c, \
4830
 
    && eval 'test $(( 1 + 1 )) -eq 2 \
4831
 
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4832
 
  && xsi_shell=yes
4833
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4834
 
$as_echo "$xsi_shell" >&6; }
4835
 
 
4836
 
 
4837
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4838
 
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4839
 
lt_shell_append=no
4840
 
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4841
 
    >/dev/null 2>&1 \
4842
 
  && lt_shell_append=yes
4843
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4844
 
$as_echo "$lt_shell_append" >&6; }
4845
 
 
4846
 
 
4847
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4848
 
  lt_unset=unset
4849
 
else
4850
 
  lt_unset=false
4851
 
fi
4852
 
 
4853
 
    
4854
 
    
4855
 
    
4856
 
 
4857
 
# test EBCDIC or ASCII
4858
 
case `echo X|tr X '\101'` in
4859
 
 A) # ASCII based system
4860
 
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4861
 
  lt_SP2NL='tr \040 \012'
4862
 
  lt_NL2SP='tr \015\012 \040\040'
4863
 
  ;;
4864
 
 *) # EBCDIC based system
4865
 
  lt_SP2NL='tr \100 \n'
4866
 
  lt_NL2SP='tr \r\n \100\100'
4867
 
  ;;
4868
 
esac
4869
 
 
4870
 
    
4871
 
    
4872
 
    
4873
 
 
4874
 
    
4875
 
    
4876
 
    
4877
 
 
4878
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4879
 
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4880
 
if ${lt_cv_to_host_file_cmd+:} false; then :
4881
 
  $as_echo_n "(cached) " >&6
4882
 
else
4883
 
  case $host in
4884
 
  *-*-mingw* )
4885
 
    case $build in
4886
 
      *-*-mingw* ) # actually msys
4887
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4888
 
        ;;
4889
 
      *-*-cygwin* )
4890
 
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4891
 
        ;;
4892
 
      * ) # otherwise, assume *nix
4893
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4894
 
        ;;
4895
 
    esac
4896
 
    ;;
4897
 
  *-*-cygwin* )
4898
 
    case $build in
4899
 
      *-*-mingw* ) # actually msys
4900
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4901
 
        ;;
4902
 
      *-*-cygwin* )
4903
 
        lt_cv_to_host_file_cmd=func_convert_file_noop
4904
 
        ;;
4905
 
      * ) # otherwise, assume *nix
4906
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4907
 
        ;;
4908
 
    esac
4909
 
    ;;
4910
 
  * ) # unhandled hosts (and "normal" native builds)
4911
 
    lt_cv_to_host_file_cmd=func_convert_file_noop
4912
 
    ;;
4913
 
esac
4914
 
 
4915
 
fi
4916
 
 
4917
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
4918
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4919
 
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
4920
 
 
4921
 
    
4922
 
    
4923
 
    
4924
 
 
4925
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4926
 
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4927
 
if ${lt_cv_to_tool_file_cmd+:} false; then :
4928
 
  $as_echo_n "(cached) " >&6
4929
 
else
4930
 
  #assume ordinary cross tools, or native build.
4931
 
lt_cv_to_tool_file_cmd=func_convert_file_noop
4932
 
case $host in
4933
 
  *-*-mingw* )
4934
 
    case $build in
4935
 
      *-*-mingw* ) # actually msys
4936
 
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4937
 
        ;;
4938
 
    esac
4939
 
    ;;
4940
 
esac
4941
 
 
4942
 
fi
4943
 
 
4944
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4945
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4946
 
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4947
 
 
4948
 
    
4949
 
    
4950
 
    
4951
 
 
4952
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4953
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4954
 
if ${lt_cv_ld_reload_flag+:} false; then :
4955
 
  $as_echo_n "(cached) " >&6
4956
 
else
4957
 
  lt_cv_ld_reload_flag='-r'
4958
 
fi
4959
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4960
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
4961
 
reload_flag=$lt_cv_ld_reload_flag
4962
 
case $reload_flag in
4963
 
"" | " "*) ;;
4964
 
*) reload_flag=" $reload_flag" ;;
4965
 
esac
4966
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4967
 
case $host_os in
4968
 
  cygwin* | mingw* | pw32* | cegcc*)
4969
 
    if test "$GCC" != yes; then
4970
 
      reload_cmds=false
4971
 
    fi
4972
 
    ;;
4973
 
  darwin*)
4974
 
    if test "$GCC" = yes; then
4975
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4976
 
    else
4977
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4978
 
    fi
4979
 
    ;;
4980
 
esac
4981
 
 
4982
 
    
4983
 
    
4984
 
    
4985
 
 
4986
 
    
4987
 
    
4988
 
    
4989
 
 
4990
 
if test -n "$ac_tool_prefix"; then
4991
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4992
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4993
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4994
 
$as_echo_n "checking for $ac_word... " >&6; }
4995
 
if ${ac_cv_prog_OBJDUMP+:} false; then :
4996
 
  $as_echo_n "(cached) " >&6
4997
 
else
4998
 
  if test -n "$OBJDUMP"; then
4999
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5000
 
else
5001
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5002
 
for as_dir in $PATH
5003
 
do
5004
 
  IFS=$as_save_IFS
5005
 
  test -z "$as_dir" && as_dir=.
5006
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5007
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5008
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5009
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5010
 
    break 2
5011
 
  fi
5012
 
done
5013
 
  done
5014
 
IFS=$as_save_IFS
5015
 
 
5016
 
fi
5017
 
fi
5018
 
OBJDUMP=$ac_cv_prog_OBJDUMP
5019
 
if test -n "$OBJDUMP"; then
5020
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5021
 
$as_echo "$OBJDUMP" >&6; }
5022
 
else
5023
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5024
 
$as_echo "no" >&6; }
5025
 
fi
5026
 
 
5027
 
 
5028
 
fi
5029
 
if test -z "$ac_cv_prog_OBJDUMP"; then
5030
 
  ac_ct_OBJDUMP=$OBJDUMP
5031
 
  # Extract the first word of "objdump", so it can be a program name with args.
5032
 
set dummy objdump; ac_word=$2
5033
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5034
 
$as_echo_n "checking for $ac_word... " >&6; }
5035
 
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5036
 
  $as_echo_n "(cached) " >&6
5037
 
else
5038
 
  if test -n "$ac_ct_OBJDUMP"; then
5039
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5040
 
else
5041
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5042
 
for as_dir in $PATH
5043
 
do
5044
 
  IFS=$as_save_IFS
5045
 
  test -z "$as_dir" && as_dir=.
5046
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5047
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5048
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5049
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5050
 
    break 2
5051
 
  fi
5052
 
done
5053
 
  done
5054
 
IFS=$as_save_IFS
5055
 
 
5056
 
fi
5057
 
fi
5058
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5059
 
if test -n "$ac_ct_OBJDUMP"; then
5060
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5061
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
5062
 
else
5063
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5064
 
$as_echo "no" >&6; }
5065
 
fi
5066
 
 
5067
 
  if test "x$ac_ct_OBJDUMP" = x; then
5068
 
    OBJDUMP="false"
5069
 
  else
5070
 
    case $cross_compiling:$ac_tool_warned in
5071
 
yes:)
5072
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5073
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5074
 
ac_tool_warned=yes ;;
5075
 
esac
5076
 
    OBJDUMP=$ac_ct_OBJDUMP
5077
 
  fi
5078
 
else
5079
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
5080
 
fi
5081
 
 
5082
 
test -z "$OBJDUMP" && OBJDUMP=objdump
5083
 
 
5084
 
    
5085
 
    
5086
 
    
5087
 
 
5088
 
 
5089
 
 
5090
 
 
5091
 
 
5092
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5093
 
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5094
 
if ${lt_cv_deplibs_check_method+:} false; then :
5095
 
  $as_echo_n "(cached) " >&6
5096
 
else
5097
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5098
 
lt_cv_file_magic_test_file=
5099
 
lt_cv_deplibs_check_method='unknown'
5100
 
# Need to set the preceding variable on all platforms that support
5101
 
# interlibrary dependencies.
5102
 
# 'none' -- dependencies not supported.
5103
 
# `unknown' -- same as none, but documents that we really don't know.
5104
 
# 'pass_all' -- all dependencies passed with no checks.
5105
 
# 'test_compile' -- check by making test program.
5106
 
# 'file_magic [[regex]]' -- check by looking for files in library path
5107
 
# which responds to the $file_magic_cmd with a given extended regex.
5108
 
# If you have `file' or equivalent on your system and you're not sure
5109
 
# whether `pass_all' will *always* work, you probably want this one.
5110
 
 
5111
 
case $host_os in
5112
 
aix[4-9]*)
5113
 
  lt_cv_deplibs_check_method=pass_all
5114
 
  ;;
5115
 
 
5116
 
beos*)
5117
 
  lt_cv_deplibs_check_method=pass_all
5118
 
  ;;
5119
 
 
5120
 
bsdi[45]*)
5121
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5122
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
5123
 
  lt_cv_file_magic_test_file=/shlib/libc.so
5124
 
  ;;
5125
 
 
5126
 
cygwin*)
5127
 
  # func_win32_libid is a shell function defined in ltmain.sh
5128
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5129
 
  lt_cv_file_magic_cmd='func_win32_libid'
5130
 
  ;;
5131
 
 
5132
 
mingw* | pw32*)
5133
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
5134
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5135
 
  # unless we find 'file', for example because we are cross-compiling.
5136
 
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5137
 
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5138
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5139
 
    lt_cv_file_magic_cmd='func_win32_libid'
5140
 
  else
5141
 
    # Keep this pattern in sync with the one in func_win32_libid.
5142
 
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5143
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5144
 
  fi
5145
 
  ;;
5146
 
 
5147
 
cegcc*)
5148
 
  # use the weaker test based on 'objdump'. See mingw*.
5149
 
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5150
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5151
 
  ;;
5152
 
 
5153
 
darwin* | rhapsody*)
5154
 
  lt_cv_deplibs_check_method=pass_all
5155
 
  ;;
5156
 
 
5157
 
freebsd* | dragonfly*)
5158
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5159
 
    case $host_cpu in
5160
 
    i*86 )
5161
 
      # Not sure whether the presence of OpenBSD here was a mistake.
5162
 
      # Let's accept both of them until this is cleared up.
5163
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5164
 
      lt_cv_file_magic_cmd=/usr/bin/file
5165
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5166
 
      ;;
5167
 
    esac
5168
 
  else
5169
 
    lt_cv_deplibs_check_method=pass_all
5170
 
  fi
5171
 
  ;;
5172
 
 
5173
 
haiku*)
5174
 
  lt_cv_deplibs_check_method=pass_all
5175
 
  ;;
5176
 
 
5177
 
hpux10.20* | hpux11*)
5178
 
  lt_cv_file_magic_cmd=/usr/bin/file
5179
 
  case $host_cpu in
5180
 
  ia64*)
5181
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5182
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5183
 
    ;;
5184
 
  hppa*64*)
5185
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5186
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5187
 
    ;;
5188
 
  *)
5189
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5190
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5191
 
    ;;
5192
 
  esac
5193
 
  ;;
5194
 
 
5195
 
interix[3-9]*)
5196
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5197
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5198
 
  ;;
5199
 
 
5200
 
irix5* | irix6* | nonstopux*)
5201
 
  case $LD in
5202
 
  *-32|*"-32 ") libmagic=32-bit;;
5203
 
  *-n32|*"-n32 ") libmagic=N32;;
5204
 
  *-64|*"-64 ") libmagic=64-bit;;
5205
 
  *) libmagic=never-match;;
5206
 
  esac
5207
 
  lt_cv_deplibs_check_method=pass_all
5208
 
  ;;
5209
 
 
5210
 
# This must be glibc/ELF.
5211
 
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5212
 
  lt_cv_deplibs_check_method=pass_all
5213
 
  ;;
5214
 
 
5215
 
netbsd* | netbsdelf*-gnu)
5216
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5217
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5218
 
  else
5219
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5220
 
  fi
5221
 
  ;;
5222
 
 
5223
 
newos6*)
5224
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5225
 
  lt_cv_file_magic_cmd=/usr/bin/file
5226
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5227
 
  ;;
5228
 
 
5229
 
*nto* | *qnx*)
5230
 
  lt_cv_deplibs_check_method=pass_all
5231
 
  ;;
5232
 
 
5233
 
openbsd*)
5234
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5235
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5236
 
  else
5237
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5238
 
  fi
5239
 
  ;;
5240
 
 
5241
 
osf3* | osf4* | osf5*)
5242
 
  lt_cv_deplibs_check_method=pass_all
5243
 
  ;;
5244
 
 
5245
 
rdos*)
5246
 
  lt_cv_deplibs_check_method=pass_all
5247
 
  ;;
5248
 
 
5249
 
solaris*)
5250
 
  lt_cv_deplibs_check_method=pass_all
5251
 
  ;;
5252
 
 
5253
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5254
 
  lt_cv_deplibs_check_method=pass_all
5255
 
  ;;
5256
 
 
5257
 
sysv4 | sysv4.3*)
5258
 
  case $host_vendor in
5259
 
  motorola)
5260
 
    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]'
5261
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5262
 
    ;;
5263
 
  ncr)
5264
 
    lt_cv_deplibs_check_method=pass_all
5265
 
    ;;
5266
 
  sequent)
5267
 
    lt_cv_file_magic_cmd='/bin/file'
5268
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5269
 
    ;;
5270
 
  sni)
5271
 
    lt_cv_file_magic_cmd='/bin/file'
5272
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5273
 
    lt_cv_file_magic_test_file=/lib/libc.so
5274
 
    ;;
5275
 
  siemens)
5276
 
    lt_cv_deplibs_check_method=pass_all
5277
 
    ;;
5278
 
  pc)
5279
 
    lt_cv_deplibs_check_method=pass_all
5280
 
    ;;
5281
 
  esac
5282
 
  ;;
5283
 
 
5284
 
tpf*)
5285
 
  lt_cv_deplibs_check_method=pass_all
5286
 
  ;;
5287
 
esac
5288
 
 
5289
 
fi
5290
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5291
 
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5292
 
 
5293
 
file_magic_glob=
5294
 
want_nocaseglob=no
5295
 
if test "$build" = "$host"; then
5296
 
  case $host_os in
5297
 
  mingw* | pw32*)
5298
 
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5299
 
      want_nocaseglob=yes
5300
 
    else
5301
 
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5302
 
    fi
5303
 
    ;;
5304
 
  esac
5305
 
fi
5306
 
 
5307
 
file_magic_cmd=$lt_cv_file_magic_cmd
5308
 
deplibs_check_method=$lt_cv_deplibs_check_method
5309
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5310
 
 
5311
 
 
5312
 
    
5313
 
    
5314
 
    
5315
 
 
5316
 
 
5317
 
    
5318
 
    
5319
 
    
5320
 
 
5321
 
 
5322
 
    
5323
 
    
5324
 
    
5325
 
 
5326
 
 
5327
 
    
5328
 
    
5329
 
    
5330
 
 
5331
 
 
5332
 
if test -n "$ac_tool_prefix"; then
5333
 
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5334
 
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5335
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5336
 
$as_echo_n "checking for $ac_word... " >&6; }
5337
 
if ${ac_cv_prog_DLLTOOL+:} false; then :
5338
 
  $as_echo_n "(cached) " >&6
5339
 
else
5340
 
  if test -n "$DLLTOOL"; then
5341
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5342
 
else
5343
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5344
 
for as_dir in $PATH
5345
 
do
5346
 
  IFS=$as_save_IFS
5347
 
  test -z "$as_dir" && as_dir=.
5348
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5349
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5350
 
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5351
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5352
 
    break 2
5353
 
  fi
5354
 
done
5355
 
  done
5356
 
IFS=$as_save_IFS
5357
 
 
5358
 
fi
5359
 
fi
5360
 
DLLTOOL=$ac_cv_prog_DLLTOOL
5361
 
if test -n "$DLLTOOL"; then
5362
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5363
 
$as_echo "$DLLTOOL" >&6; }
5364
 
else
5365
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5366
 
$as_echo "no" >&6; }
5367
 
fi
5368
 
 
5369
 
 
5370
 
fi
5371
 
if test -z "$ac_cv_prog_DLLTOOL"; then
5372
 
  ac_ct_DLLTOOL=$DLLTOOL
5373
 
  # Extract the first word of "dlltool", so it can be a program name with args.
5374
 
set dummy dlltool; ac_word=$2
5375
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5376
 
$as_echo_n "checking for $ac_word... " >&6; }
5377
 
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5378
 
  $as_echo_n "(cached) " >&6
5379
 
else
5380
 
  if test -n "$ac_ct_DLLTOOL"; then
5381
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5382
 
else
5383
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5384
 
for as_dir in $PATH
5385
 
do
5386
 
  IFS=$as_save_IFS
5387
 
  test -z "$as_dir" && as_dir=.
5388
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5389
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5390
 
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5391
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5392
 
    break 2
5393
 
  fi
5394
 
done
5395
 
  done
5396
 
IFS=$as_save_IFS
5397
 
 
5398
 
fi
5399
 
fi
5400
 
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5401
 
if test -n "$ac_ct_DLLTOOL"; then
5402
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5403
 
$as_echo "$ac_ct_DLLTOOL" >&6; }
5404
 
else
5405
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5406
 
$as_echo "no" >&6; }
5407
 
fi
5408
 
 
5409
 
  if test "x$ac_ct_DLLTOOL" = x; then
5410
 
    DLLTOOL="false"
5411
 
  else
5412
 
    case $cross_compiling:$ac_tool_warned in
5413
 
yes:)
5414
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5415
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5416
 
ac_tool_warned=yes ;;
5417
 
esac
5418
 
    DLLTOOL=$ac_ct_DLLTOOL
5419
 
  fi
5420
 
else
5421
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
5422
 
fi
5423
 
 
5424
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
5425
 
 
5426
 
    
5427
 
    
5428
 
    
5429
 
 
5430
 
 
5431
 
 
5432
 
 
5433
 
 
5434
 
 
5435
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5436
 
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5437
 
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5438
 
  $as_echo_n "(cached) " >&6
5439
 
else
5440
 
  lt_cv_sharedlib_from_linklib_cmd='unknown'
5441
 
 
5442
 
case $host_os in
5443
 
cygwin* | mingw* | pw32* | cegcc*)
5444
 
  # two different shell functions defined in ltmain.sh
5445
 
  # decide which to use based on capabilities of $DLLTOOL
5446
 
  case `$DLLTOOL --help 2>&1` in
5447
 
  *--identify-strict*)
5448
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5449
 
    ;;
5450
 
  *)
5451
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5452
 
    ;;
5453
 
  esac
5454
 
  ;;
5455
 
*)
5456
 
  # fallback: assume linklib IS sharedlib
5457
 
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5458
 
  ;;
5459
 
esac
5460
 
 
5461
 
fi
5462
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5463
 
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5464
 
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5465
 
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5466
 
 
5467
 
 
5468
 
    
5469
 
    
5470
 
    
5471
 
 
5472
 
 
5473
 
 
5474
 
if test -n "$ac_tool_prefix"; then
5475
 
  for ac_prog in ar
5476
 
  do
5477
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5478
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5479
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5480
 
$as_echo_n "checking for $ac_word... " >&6; }
5481
 
if ${ac_cv_prog_AR+:} false; then :
5482
 
  $as_echo_n "(cached) " >&6
5483
 
else
5484
 
  if test -n "$AR"; then
5485
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
5486
 
else
5487
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5488
 
for as_dir in $PATH
5489
 
do
5490
 
  IFS=$as_save_IFS
5491
 
  test -z "$as_dir" && as_dir=.
5492
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5493
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5494
 
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5495
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5496
 
    break 2
5497
 
  fi
5498
 
done
5499
 
  done
5500
 
IFS=$as_save_IFS
5501
 
 
5502
 
fi
5503
 
fi
5504
 
AR=$ac_cv_prog_AR
5505
 
if test -n "$AR"; then
5506
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5507
 
$as_echo "$AR" >&6; }
5508
 
else
5509
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5510
 
$as_echo "no" >&6; }
5511
 
fi
5512
 
 
5513
 
 
5514
 
    test -n "$AR" && break
5515
 
  done
5516
 
fi
5517
 
if test -z "$AR"; then
5518
 
  ac_ct_AR=$AR
5519
 
  for ac_prog in ar
5520
 
do
5521
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5522
 
set dummy $ac_prog; ac_word=$2
5523
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5524
 
$as_echo_n "checking for $ac_word... " >&6; }
5525
 
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5526
 
  $as_echo_n "(cached) " >&6
5527
 
else
5528
 
  if test -n "$ac_ct_AR"; then
5529
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5530
 
else
5531
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5532
 
for as_dir in $PATH
5533
 
do
5534
 
  IFS=$as_save_IFS
5535
 
  test -z "$as_dir" && as_dir=.
5536
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5537
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5538
 
    ac_cv_prog_ac_ct_AR="$ac_prog"
5539
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5540
 
    break 2
5541
 
  fi
5542
 
done
5543
 
  done
5544
 
IFS=$as_save_IFS
5545
 
 
5546
 
fi
5547
 
fi
5548
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5549
 
if test -n "$ac_ct_AR"; then
5550
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5551
 
$as_echo "$ac_ct_AR" >&6; }
5552
 
else
5553
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5554
 
$as_echo "no" >&6; }
5555
 
fi
5556
 
 
5557
 
 
5558
 
  test -n "$ac_ct_AR" && break
5559
 
done
5560
 
 
5561
 
  if test "x$ac_ct_AR" = x; then
5562
 
    AR="false"
5563
 
  else
5564
 
    case $cross_compiling:$ac_tool_warned in
5565
 
yes:)
5566
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5567
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5568
 
ac_tool_warned=yes ;;
5569
 
esac
5570
 
    AR=$ac_ct_AR
5571
 
  fi
5572
 
fi
5573
 
 
5574
 
: ${AR=ar}
5575
 
: ${AR_FLAGS=cru}
5576
 
 
5577
 
    
5578
 
    
5579
 
    
5580
 
 
5581
 
 
5582
 
    
5583
 
    
5584
 
    
5585
 
 
5586
 
 
5587
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5588
 
$as_echo_n "checking for archiver @FILE support... " >&6; }
5589
 
if ${lt_cv_ar_at_file+:} false; then :
5590
 
  $as_echo_n "(cached) " >&6
5591
 
else
5592
 
  lt_cv_ar_at_file=no
5593
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5594
 
/* end confdefs.h.  */
5595
 
 
5596
 
int
5597
 
main ()
5598
 
{
5599
 
 
5600
 
  ;
5601
 
  return 0;
5602
 
}
5603
 
_ACEOF
5604
 
if ac_fn_c_try_compile "$LINENO"; then :
5605
 
  echo conftest.$ac_objext > conftest.lst
5606
 
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5607
 
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5608
 
  (eval $lt_ar_try) 2>&5
5609
 
  ac_status=$?
5610
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5611
 
  test $ac_status = 0; }
5612
 
      if test "$ac_status" -eq 0; then
5613
 
        # Ensure the archiver fails upon bogus file names.
5614
 
        rm -f conftest.$ac_objext libconftest.a
5615
 
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5616
 
  (eval $lt_ar_try) 2>&5
5617
 
  ac_status=$?
5618
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5619
 
  test $ac_status = 0; }
5620
 
        if test "$ac_status" -ne 0; then
5621
 
          lt_cv_ar_at_file=@
5622
 
        fi
5623
 
      fi
5624
 
      rm -f conftest.* libconftest.a
5625
 
     
5626
 
fi
5627
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5628
 
  
5629
 
fi
5630
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5631
 
$as_echo "$lt_cv_ar_at_file" >&6; }
5632
 
 
5633
 
if test "x$lt_cv_ar_at_file" = xno; then
5634
 
  archiver_list_spec=
5635
 
else
5636
 
  archiver_list_spec=$lt_cv_ar_at_file
5637
 
fi
5638
 
 
5639
 
    
5640
 
    
5641
 
    
5642
 
 
5643
 
 
5644
 
 
5645
 
if test -n "$ac_tool_prefix"; then
5646
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5647
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
5648
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5649
 
$as_echo_n "checking for $ac_word... " >&6; }
5650
 
if ${ac_cv_prog_STRIP+:} false; then :
5651
 
  $as_echo_n "(cached) " >&6
5652
 
else
5653
 
  if test -n "$STRIP"; then
5654
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5655
 
else
5656
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5657
 
for as_dir in $PATH
5658
 
do
5659
 
  IFS=$as_save_IFS
5660
 
  test -z "$as_dir" && as_dir=.
5661
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5662
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5663
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5664
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5665
 
    break 2
5666
 
  fi
5667
 
done
5668
 
  done
5669
 
IFS=$as_save_IFS
5670
 
 
5671
 
fi
5672
 
fi
5673
 
STRIP=$ac_cv_prog_STRIP
5674
 
if test -n "$STRIP"; then
5675
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5676
 
$as_echo "$STRIP" >&6; }
5677
 
else
5678
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5679
 
$as_echo "no" >&6; }
5680
 
fi
5681
 
 
5682
 
 
5683
 
fi
5684
 
if test -z "$ac_cv_prog_STRIP"; then
5685
 
  ac_ct_STRIP=$STRIP
5686
 
  # Extract the first word of "strip", so it can be a program name with args.
5687
 
set dummy strip; ac_word=$2
5688
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5689
 
$as_echo_n "checking for $ac_word... " >&6; }
5690
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5691
 
  $as_echo_n "(cached) " >&6
5692
 
else
5693
 
  if test -n "$ac_ct_STRIP"; then
5694
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5695
 
else
5696
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5697
 
for as_dir in $PATH
5698
 
do
5699
 
  IFS=$as_save_IFS
5700
 
  test -z "$as_dir" && as_dir=.
5701
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5702
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5703
 
    ac_cv_prog_ac_ct_STRIP="strip"
5704
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5705
 
    break 2
5706
 
  fi
5707
 
done
5708
 
  done
5709
 
IFS=$as_save_IFS
5710
 
 
5711
 
fi
5712
 
fi
5713
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5714
 
if test -n "$ac_ct_STRIP"; then
5715
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5716
 
$as_echo "$ac_ct_STRIP" >&6; }
5717
 
else
5718
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5719
 
$as_echo "no" >&6; }
5720
 
fi
5721
 
 
5722
 
  if test "x$ac_ct_STRIP" = x; then
5723
 
    STRIP=":"
5724
 
  else
5725
 
    case $cross_compiling:$ac_tool_warned in
5726
 
yes:)
5727
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5728
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5729
 
ac_tool_warned=yes ;;
5730
 
esac
5731
 
    STRIP=$ac_ct_STRIP
5732
 
  fi
5733
 
else
5734
 
  STRIP="$ac_cv_prog_STRIP"
5735
 
fi
5736
 
 
5737
 
test -z "$STRIP" && STRIP=:
5738
 
 
5739
 
    
5740
 
    
5741
 
    
5742
 
 
5743
 
 
5744
 
if test -n "$ac_tool_prefix"; then
5745
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5746
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5747
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5748
 
$as_echo_n "checking for $ac_word... " >&6; }
5749
 
if ${ac_cv_prog_RANLIB+:} false; then :
5750
 
  $as_echo_n "(cached) " >&6
5751
 
else
5752
 
  if test -n "$RANLIB"; then
5753
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5754
 
else
5755
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5756
 
for as_dir in $PATH
5757
 
do
5758
 
  IFS=$as_save_IFS
5759
 
  test -z "$as_dir" && as_dir=.
5760
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5761
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5762
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5763
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5764
 
    break 2
5765
 
  fi
5766
 
done
5767
 
  done
5768
 
IFS=$as_save_IFS
5769
 
 
5770
 
fi
5771
 
fi
5772
 
RANLIB=$ac_cv_prog_RANLIB
5773
 
if test -n "$RANLIB"; then
5774
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5775
 
$as_echo "$RANLIB" >&6; }
5776
 
else
5777
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5778
 
$as_echo "no" >&6; }
5779
 
fi
5780
 
 
5781
 
 
5782
 
fi
5783
 
if test -z "$ac_cv_prog_RANLIB"; then
5784
 
  ac_ct_RANLIB=$RANLIB
5785
 
  # Extract the first word of "ranlib", so it can be a program name with args.
5786
 
set dummy ranlib; ac_word=$2
5787
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5788
 
$as_echo_n "checking for $ac_word... " >&6; }
5789
 
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5790
 
  $as_echo_n "(cached) " >&6
5791
 
else
5792
 
  if test -n "$ac_ct_RANLIB"; then
5793
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5794
 
else
5795
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5796
 
for as_dir in $PATH
5797
 
do
5798
 
  IFS=$as_save_IFS
5799
 
  test -z "$as_dir" && as_dir=.
5800
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5801
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5802
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5803
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5804
 
    break 2
5805
 
  fi
5806
 
done
5807
 
  done
5808
 
IFS=$as_save_IFS
5809
 
 
5810
 
fi
5811
 
fi
5812
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5813
 
if test -n "$ac_ct_RANLIB"; then
5814
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5815
 
$as_echo "$ac_ct_RANLIB" >&6; }
5816
 
else
5817
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5818
 
$as_echo "no" >&6; }
5819
 
fi
5820
 
 
5821
 
  if test "x$ac_ct_RANLIB" = x; then
5822
 
    RANLIB=":"
5823
 
  else
5824
 
    case $cross_compiling:$ac_tool_warned in
5825
 
yes:)
5826
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5827
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5828
 
ac_tool_warned=yes ;;
5829
 
esac
5830
 
    RANLIB=$ac_ct_RANLIB
5831
 
  fi
5832
 
else
5833
 
  RANLIB="$ac_cv_prog_RANLIB"
5834
 
fi
5835
 
 
5836
 
test -z "$RANLIB" && RANLIB=:
5837
 
 
5838
 
    
5839
 
    
5840
 
    
5841
 
 
5842
 
 
5843
 
# Determine commands to create old-style static archives.
5844
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5845
 
old_postinstall_cmds='chmod 644 $oldlib'
5846
 
old_postuninstall_cmds=
5847
 
 
5848
 
if test -n "$RANLIB"; then
5849
 
  case $host_os in
5850
 
  openbsd*)
5851
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5852
 
    ;;
5853
 
  *)
5854
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5855
 
    ;;
5856
 
  esac
5857
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5858
 
fi
5859
 
 
5860
 
case $host_os in
5861
 
  darwin*)
5862
 
    lock_old_archive_extraction=yes ;;
5863
 
  *)
5864
 
    lock_old_archive_extraction=no ;;
5865
 
esac
5866
 
 
5867
 
    
5868
 
    
5869
 
    
5870
 
 
5871
 
 
5872
 
    
5873
 
    
5874
 
    
5875
 
 
5876
 
 
5877
 
    
5878
 
    
5879
 
    
5880
 
 
5881
 
 
5882
 
    
5883
 
    
5884
 
    
5885
 
 
5886
 
 
5887
 
 
5888
 
 
5889
 
    
5890
 
    
5891
 
    
5892
 
 
5893
 
    
5894
 
    
5895
 
    
5896
 
 
5897
 
    
5898
 
    
5899
 
    
5900
 
 
5901
 
    
5902
 
    
5903
 
    
5904
 
 
5905
 
# If no C compiler was specified, use CC.
5906
 
LTCC=${LTCC-"$CC"}
5907
 
 
5908
 
# If no C compiler flags were specified, use CFLAGS.
5909
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5910
 
 
5911
 
# Allow CC to be a program name with arguments.
5912
 
compiler=$CC
5913
 
 
5914
 
 
5915
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
5916
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5917
 
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5918
 
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5919
 
  $as_echo_n "(cached) " >&6
5920
 
else
5921
 
  
5922
 
# These are sane defaults that work on at least a few old systems.
5923
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5924
 
 
5925
 
# Character class describing NM global symbol codes.
5926
 
symcode='[BCDEGRST]'
5927
 
 
5928
 
# Regexp to match symbols that can be accessed directly from C.
5929
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5930
 
 
5931
 
# Define system-specific variables.
5932
 
case $host_os in
5933
 
aix*)
5934
 
  symcode='[BCDT]'
5935
 
  ;;
5936
 
cygwin* | mingw* | pw32* | cegcc*)
5937
 
  symcode='[ABCDGISTW]'
5938
 
  ;;
5939
 
hpux*)
5940
 
  if test "$host_cpu" = ia64; then
5941
 
    symcode='[ABCDEGRST]'
5942
 
  fi
5943
 
  ;;
5944
 
irix* | nonstopux*)
5945
 
  symcode='[BCDEGRST]'
5946
 
  ;;
5947
 
osf*)
5948
 
  symcode='[BCDEGQRST]'
5949
 
  ;;
5950
 
solaris*)
5951
 
  symcode='[BDRT]'
5952
 
  ;;
5953
 
sco3.2v5*)
5954
 
  symcode='[DT]'
5955
 
  ;;
5956
 
sysv4.2uw2*)
5957
 
  symcode='[DT]'
5958
 
  ;;
5959
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
5960
 
  symcode='[ABDT]'
5961
 
  ;;
5962
 
sysv4)
5963
 
  symcode='[DFNSTU]'
5964
 
  ;;
5965
 
esac
5966
 
 
5967
 
# If we're using GNU nm, then use its standard symbol codes.
5968
 
case `$NM -V 2>&1` in
5969
 
*GNU* | *'with BFD'*)
5970
 
  symcode='[ABCDGIRSTW]' ;;
5971
 
esac
5972
 
 
5973
 
# Transform an extracted symbol line into a proper C declaration.
5974
 
# Some systems (esp. on ia64) link data and code symbols differently,
5975
 
# so use this general approach.
5976
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5977
 
 
5978
 
# Transform an extracted symbol line into symbol name and symbol address
5979
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5980
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
5981
 
 
5982
 
# Handle CRLF in mingw tool chain
5983
 
opt_cr=
5984
 
case $build_os in
5985
 
mingw*)
5986
 
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5987
 
  ;;
5988
 
esac
5989
 
 
5990
 
# Try without a prefix underscore, then with it.
5991
 
for ac_symprfx in "" "_"; do
5992
 
 
5993
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5994
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
5995
 
 
5996
 
  # Write the raw and C identifiers.
5997
 
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5998
 
    # Fake it for dumpbin and say T for any non-static function
5999
 
    # and D for any global variable.
6000
 
    # Also find C++ and __fastcall symbols from MSVC++,
6001
 
    # which start with @ or ?.
6002
 
    lt_cv_sys_global_symbol_pipe="$AWK '"\
6003
 
"     {last_section=section; section=\$ 3};"\
6004
 
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6005
 
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6006
 
"     \$ 0!~/External *\|/{next};"\
6007
 
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6008
 
"     {if(hide[section]) next};"\
6009
 
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6010
 
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6011
 
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6012
 
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6013
 
"     ' prfx=^$ac_symprfx"
6014
 
  else
6015
 
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6016
 
  fi
6017
 
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6018
 
 
6019
 
  # Check to see that the pipe works correctly.
6020
 
  pipe_works=no
6021
 
 
6022
 
  rm -f conftest*
6023
 
  cat > conftest.$ac_ext <<_LT_EOF
6024
 
#ifdef __cplusplus
6025
 
extern "C" {
6026
 
#endif
6027
 
char nm_test_var;
6028
 
void nm_test_func(void);
6029
 
void nm_test_func(void){}
6030
 
#ifdef __cplusplus
6031
 
}
6032
 
#endif
6033
 
int main(){nm_test_var='a';nm_test_func();return(0);}
6034
 
_LT_EOF
6035
 
 
6036
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6037
 
  (eval $ac_compile) 2>&5
6038
 
  ac_status=$?
6039
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6040
 
  test $ac_status = 0; }; then
6041
 
    # Now try to grab the symbols.
6042
 
    nlist=conftest.nm
6043
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6044
 
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6045
 
  ac_status=$?
6046
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6047
 
  test $ac_status = 0; } && test -s "$nlist"; then
6048
 
      # Try sorting and uniquifying the output.
6049
 
      if sort "$nlist" | uniq > "$nlist"T; then
6050
 
        mv -f "$nlist"T "$nlist"
6051
 
      else
6052
 
        rm -f "$nlist"T
6053
 
      fi
6054
 
 
6055
 
      # Make sure that we snagged all the symbols we need.
6056
 
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6057
 
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6058
 
          cat <<_LT_EOF > conftest.$ac_ext
6059
 
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6060
 
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6061
 
/* DATA imports from DLLs on WIN32 con't be const, because runtime
6062
 
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6063
 
# define LT@&t@_DLSYM_CONST
6064
 
#elif defined(__osf__)
6065
 
/* This system does not cope well with relocations in const data.  */
6066
 
# define LT@&t@_DLSYM_CONST
6067
 
#else
6068
 
# define LT@&t@_DLSYM_CONST const
6069
 
#endif
6070
 
 
6071
 
#ifdef __cplusplus
6072
 
extern "C" {
6073
 
#endif
6074
 
 
6075
 
_LT_EOF
6076
 
          # Now generate the symbol file.
6077
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6078
 
 
6079
 
          cat <<_LT_EOF >> conftest.$ac_ext
6080
 
 
6081
 
/* The mapping between symbol names and symbols.  */
6082
 
LT@&t@_DLSYM_CONST struct {
6083
 
  const char *name;
6084
 
  void       *address;
6085
 
}
6086
 
lt__PROGRAM__LTX_preloaded_symbols[] =
6087
 
{
6088
 
  { "@PROGRAM@", (void *) 0 },
6089
 
_LT_EOF
6090
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6091
 
          cat <<\_LT_EOF >> conftest.$ac_ext
6092
 
  {0, (void *) 0}
6093
 
};
6094
 
 
6095
 
/* This works around a problem in FreeBSD linker */
6096
 
#ifdef FREEBSD_WORKAROUND
6097
 
static const void *lt_preloaded_setup() {
6098
 
  return lt__PROGRAM__LTX_preloaded_symbols;
6099
 
}
6100
 
#endif
6101
 
 
6102
 
#ifdef __cplusplus
6103
 
}
6104
 
#endif
6105
 
_LT_EOF
6106
 
          # Now try linking the two files.
6107
 
          mv conftest.$ac_objext conftstm.$ac_objext
6108
 
          lt_globsym_save_LIBS=$LIBS
6109
 
          lt_globsym_save_CFLAGS=$CFLAGS
6110
 
          LIBS="conftstm.$ac_objext"
6111
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6112
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6113
 
  (eval $ac_link) 2>&5
6114
 
  ac_status=$?
6115
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6116
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6117
 
            pipe_works=yes
6118
 
          fi
6119
 
          LIBS=$lt_globsym_save_LIBS
6120
 
          CFLAGS=$lt_globsym_save_CFLAGS
6121
 
        else
6122
 
          echo "cannot find nm_test_func in $nlist" >&5
6123
 
        fi
6124
 
      else
6125
 
        echo "cannot find nm_test_var in $nlist" >&5
6126
 
      fi
6127
 
    else
6128
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6129
 
    fi
6130
 
  else
6131
 
    echo "$progname: failed program was:" >&5
6132
 
    cat conftest.$ac_ext >&5
6133
 
  fi
6134
 
  rm -rf conftest* conftst*
6135
 
 
6136
 
  # Do not use the global_symbol_pipe unless it works.
6137
 
  if test "$pipe_works" = yes; then
6138
 
    break
6139
 
  else
6140
 
    lt_cv_sys_global_symbol_pipe=
6141
 
  fi
6142
 
done
6143
 
 
6144
 
fi
6145
 
 
6146
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6147
 
  lt_cv_sys_global_symbol_to_cdecl=
6148
 
fi
6149
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6150
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6151
 
$as_echo "failed" >&6; }
6152
 
else
6153
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6154
 
$as_echo "ok" >&6; }
6155
 
fi
6156
 
 
6157
 
# Response file support.
6158
 
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6159
 
  nm_file_list_spec='@'
6160
 
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6161
 
  nm_file_list_spec='@'
6162
 
fi
6163
 
 
6164
 
 
6165
 
    
6166
 
    
6167
 
    
6168
 
 
6169
 
 
6170
 
    
6171
 
    
6172
 
    
6173
 
 
6174
 
 
6175
 
    
6176
 
    
6177
 
    
6178
 
 
6179
 
 
6180
 
    
6181
 
    
6182
 
    
6183
 
 
6184
 
 
6185
 
    
6186
 
    
6187
 
    
6188
 
 
6189
 
 
6190
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6191
 
$as_echo_n "checking for sysroot... " >&6; }
6192
 
 
6193
 
@%:@ Check whether --with-sysroot was given.
6194
 
if test "${with_sysroot+set}" = set; then :
6195
 
  withval=$with_sysroot; 
6196
 
else
6197
 
  with_sysroot=no
6198
 
fi
6199
 
 
6200
 
 
6201
 
lt_sysroot=
6202
 
case ${with_sysroot} in #(
6203
 
 yes)
6204
 
   if test "$GCC" = yes; then
6205
 
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6206
 
   fi
6207
 
   ;; #(
6208
 
 /*)
6209
 
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6210
 
   ;; #(
6211
 
 no|'')
6212
 
   ;; #(
6213
 
 *)
6214
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6215
 
$as_echo "${with_sysroot}" >&6; }
6216
 
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6217
 
   ;;
6218
 
esac
6219
 
 
6220
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6221
 
$as_echo "${lt_sysroot:-no}" >&6; }
6222
 
 
6223
 
    
6224
 
    
6225
 
    
6226
 
 
6227
 
@%:@ Check whether --enable-libtool-lock was given.
6228
 
if test "${enable_libtool_lock+set}" = set; then :
6229
 
  enableval=$enable_libtool_lock; 
6230
 
fi
6231
 
 
6232
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6233
 
 
6234
 
# Some flags need to be propagated to the compiler or linker for good
6235
 
# libtool support.
6236
 
case $host in
6237
 
ia64-*-hpux*)
6238
 
  # Find out which ABI we are using.
6239
 
  echo 'int i;' > conftest.$ac_ext
6240
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6241
 
  (eval $ac_compile) 2>&5
6242
 
  ac_status=$?
6243
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6244
 
  test $ac_status = 0; }; then
6245
 
    case `/usr/bin/file conftest.$ac_objext` in
6246
 
      *ELF-32*)
6247
 
        HPUX_IA64_MODE="32"
6248
 
        ;;
6249
 
      *ELF-64*)
6250
 
        HPUX_IA64_MODE="64"
6251
 
        ;;
6252
 
    esac
6253
 
  fi
6254
 
  rm -rf conftest*
6255
 
  ;;
6256
 
*-*-irix6*)
6257
 
  # Find out which ABI we are using.
6258
 
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6259
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6260
 
  (eval $ac_compile) 2>&5
6261
 
  ac_status=$?
6262
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6263
 
  test $ac_status = 0; }; then
6264
 
    if test "$lt_cv_prog_gnu_ld" = yes; then
6265
 
      case `/usr/bin/file conftest.$ac_objext` in
6266
 
        *32-bit*)
6267
 
          LD="${LD-ld} -melf32bsmip"
6268
 
          ;;
6269
 
        *N32*)
6270
 
          LD="${LD-ld} -melf32bmipn32"
6271
 
          ;;
6272
 
        *64-bit*)
6273
 
          LD="${LD-ld} -melf64bmip"
6274
 
        ;;
6275
 
      esac
6276
 
    else
6277
 
      case `/usr/bin/file conftest.$ac_objext` in
6278
 
        *32-bit*)
6279
 
          LD="${LD-ld} -32"
6280
 
          ;;
6281
 
        *N32*)
6282
 
          LD="${LD-ld} -n32"
6283
 
          ;;
6284
 
        *64-bit*)
6285
 
          LD="${LD-ld} -64"
6286
 
          ;;
6287
 
      esac
6288
 
    fi
6289
 
  fi
6290
 
  rm -rf conftest*
6291
 
  ;;
6292
 
 
6293
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6294
 
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6295
 
  # Find out which ABI we are using.
6296
 
  echo 'int i;' > conftest.$ac_ext
6297
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6298
 
  (eval $ac_compile) 2>&5
6299
 
  ac_status=$?
6300
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6301
 
  test $ac_status = 0; }; then
6302
 
    case `/usr/bin/file conftest.o` in
6303
 
      *32-bit*)
6304
 
        case $host in
6305
 
          x86_64-*kfreebsd*-gnu)
6306
 
            LD="${LD-ld} -m elf_i386_fbsd"
6307
 
            ;;
6308
 
          x86_64-*linux*)
6309
 
            case `/usr/bin/file conftest.o` in
6310
 
              *x86-64*)
6311
 
                LD="${LD-ld} -m elf32_x86_64"
6312
 
                ;;
6313
 
              *)
6314
 
                LD="${LD-ld} -m elf_i386"
6315
 
                ;;
6316
 
            esac
6317
 
            ;;
6318
 
          ppc64-*linux*|powerpc64-*linux*)
6319
 
            LD="${LD-ld} -m elf32ppclinux"
6320
 
            ;;
6321
 
          s390x-*linux*)
6322
 
            LD="${LD-ld} -m elf_s390"
6323
 
            ;;
6324
 
          sparc64-*linux*)
6325
 
            LD="${LD-ld} -m elf32_sparc"
6326
 
            ;;
6327
 
        esac
6328
 
        ;;
6329
 
      *64-bit*)
6330
 
        case $host in
6331
 
          x86_64-*kfreebsd*-gnu)
6332
 
            LD="${LD-ld} -m elf_x86_64_fbsd"
6333
 
            ;;
6334
 
          x86_64-*linux*)
6335
 
            LD="${LD-ld} -m elf_x86_64"
6336
 
            ;;
6337
 
          ppc*-*linux*|powerpc*-*linux*)
6338
 
            LD="${LD-ld} -m elf64ppc"
6339
 
            ;;
6340
 
          s390*-*linux*|s390*-*tpf*)
6341
 
            LD="${LD-ld} -m elf64_s390"
6342
 
            ;;
6343
 
          sparc*-*linux*)
6344
 
            LD="${LD-ld} -m elf64_sparc"
6345
 
            ;;
6346
 
        esac
6347
 
        ;;
6348
 
    esac
6349
 
  fi
6350
 
  rm -rf conftest*
6351
 
  ;;
6352
 
 
6353
 
*-*-sco3.2v5*)
6354
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6355
 
  SAVE_CFLAGS="$CFLAGS"
6356
 
  CFLAGS="$CFLAGS -belf"
6357
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6358
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6359
 
if ${lt_cv_cc_needs_belf+:} false; then :
6360
 
  $as_echo_n "(cached) " >&6
6361
 
else
6362
 
  ac_ext=c
6363
 
ac_cpp='$CPP $CPPFLAGS'
6364
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6365
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6366
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6367
 
 
6368
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6369
 
/* end confdefs.h.  */
6370
 
 
6371
 
int
6372
 
main ()
6373
 
{
6374
 
 
6375
 
  ;
6376
 
  return 0;
6377
 
}
6378
 
_ACEOF
6379
 
if ac_fn_c_try_link "$LINENO"; then :
6380
 
  lt_cv_cc_needs_belf=yes
6381
 
else
6382
 
  lt_cv_cc_needs_belf=no
6383
 
fi
6384
 
rm -f core conftest.err conftest.$ac_objext \
6385
 
    conftest$ac_exeext conftest.$ac_ext
6386
 
     ac_ext=c
6387
 
ac_cpp='$CPP $CPPFLAGS'
6388
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6389
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6390
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6391
 
 
6392
 
fi
6393
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6394
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6395
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6396
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6397
 
    CFLAGS="$SAVE_CFLAGS"
6398
 
  fi
6399
 
  ;;
6400
 
*-*solaris*)
6401
 
  # Find out which ABI we are using.
6402
 
  echo 'int i;' > conftest.$ac_ext
6403
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6404
 
  (eval $ac_compile) 2>&5
6405
 
  ac_status=$?
6406
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6407
 
  test $ac_status = 0; }; then
6408
 
    case `/usr/bin/file conftest.o` in
6409
 
    *64-bit*)
6410
 
      case $lt_cv_prog_gnu_ld in
6411
 
      yes*)
6412
 
        case $host in
6413
 
        i?86-*-solaris*)
6414
 
          LD="${LD-ld} -m elf_x86_64"
6415
 
          ;;
6416
 
        sparc*-*-solaris*)
6417
 
          LD="${LD-ld} -m elf64_sparc"
6418
 
          ;;
6419
 
        esac
6420
 
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6421
 
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6422
 
          LD="${LD-ld}_sol2"
6423
 
        fi
6424
 
        ;;
6425
 
      *)
6426
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6427
 
          LD="${LD-ld} -64"
6428
 
        fi
6429
 
        ;;
6430
 
      esac
6431
 
      ;;
6432
 
    esac
6433
 
  fi
6434
 
  rm -rf conftest*
6435
 
  ;;
6436
 
esac
6437
 
 
6438
 
need_locks="$enable_libtool_lock"
6439
 
 
6440
 
if test -n "$ac_tool_prefix"; then
6441
 
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6442
 
set dummy ${ac_tool_prefix}mt; ac_word=$2
6443
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6444
 
$as_echo_n "checking for $ac_word... " >&6; }
6445
 
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6446
 
  $as_echo_n "(cached) " >&6
6447
 
else
6448
 
  if test -n "$MANIFEST_TOOL"; then
6449
 
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6450
 
else
6451
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6452
 
for as_dir in $PATH
6453
 
do
6454
 
  IFS=$as_save_IFS
6455
 
  test -z "$as_dir" && as_dir=.
6456
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6457
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6458
 
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6459
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6460
 
    break 2
6461
 
  fi
6462
 
done
6463
 
  done
6464
 
IFS=$as_save_IFS
6465
 
 
6466
 
fi
6467
 
fi
6468
 
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6469
 
if test -n "$MANIFEST_TOOL"; then
6470
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6471
 
$as_echo "$MANIFEST_TOOL" >&6; }
6472
 
else
6473
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6474
 
$as_echo "no" >&6; }
6475
 
fi
6476
 
 
6477
 
 
6478
 
fi
6479
 
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6480
 
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6481
 
  # Extract the first word of "mt", so it can be a program name with args.
6482
 
set dummy mt; ac_word=$2
6483
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6484
 
$as_echo_n "checking for $ac_word... " >&6; }
6485
 
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6486
 
  $as_echo_n "(cached) " >&6
6487
 
else
6488
 
  if test -n "$ac_ct_MANIFEST_TOOL"; then
6489
 
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6490
 
else
6491
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6492
 
for as_dir in $PATH
6493
 
do
6494
 
  IFS=$as_save_IFS
6495
 
  test -z "$as_dir" && as_dir=.
6496
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6497
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6498
 
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6499
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6500
 
    break 2
6501
 
  fi
6502
 
done
6503
 
  done
6504
 
IFS=$as_save_IFS
6505
 
 
6506
 
fi
6507
 
fi
6508
 
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6509
 
if test -n "$ac_ct_MANIFEST_TOOL"; then
6510
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6511
 
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6512
 
else
6513
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6514
 
$as_echo "no" >&6; }
6515
 
fi
6516
 
 
6517
 
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6518
 
    MANIFEST_TOOL=":"
6519
 
  else
6520
 
    case $cross_compiling:$ac_tool_warned in
6521
 
yes:)
6522
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6523
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6524
 
ac_tool_warned=yes ;;
6525
 
esac
6526
 
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6527
 
  fi
6528
 
else
6529
 
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6530
 
fi
6531
 
 
6532
 
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6533
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6534
 
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6535
 
if ${lt_cv_path_mainfest_tool+:} false; then :
6536
 
  $as_echo_n "(cached) " >&6
6537
 
else
6538
 
  lt_cv_path_mainfest_tool=no
6539
 
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6540
 
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6541
 
  cat conftest.err >&5
6542
 
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6543
 
    lt_cv_path_mainfest_tool=yes
6544
 
  fi
6545
 
  rm -f conftest*
6546
 
fi
6547
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6548
 
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6549
 
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6550
 
  MANIFEST_TOOL=:
6551
 
fi
6552
 
 
6553
 
    
6554
 
    
6555
 
    
6556
 
 
6557
 
 
6558
 
  case $host_os in
6559
 
    rhapsody* | darwin*)
6560
 
    if test -n "$ac_tool_prefix"; then
6561
 
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6562
 
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6563
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6564
 
$as_echo_n "checking for $ac_word... " >&6; }
6565
 
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6566
 
  $as_echo_n "(cached) " >&6
6567
 
else
6568
 
  if test -n "$DSYMUTIL"; then
6569
 
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6570
 
else
6571
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6572
 
for as_dir in $PATH
6573
 
do
6574
 
  IFS=$as_save_IFS
6575
 
  test -z "$as_dir" && as_dir=.
6576
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6577
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6578
 
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6579
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6580
 
    break 2
6581
 
  fi
6582
 
done
6583
 
  done
6584
 
IFS=$as_save_IFS
6585
 
 
6586
 
fi
6587
 
fi
6588
 
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6589
 
if test -n "$DSYMUTIL"; then
6590
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6591
 
$as_echo "$DSYMUTIL" >&6; }
6592
 
else
6593
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6594
 
$as_echo "no" >&6; }
6595
 
fi
6596
 
 
6597
 
 
6598
 
fi
6599
 
if test -z "$ac_cv_prog_DSYMUTIL"; then
6600
 
  ac_ct_DSYMUTIL=$DSYMUTIL
6601
 
  # Extract the first word of "dsymutil", so it can be a program name with args.
6602
 
set dummy dsymutil; ac_word=$2
6603
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6604
 
$as_echo_n "checking for $ac_word... " >&6; }
6605
 
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6606
 
  $as_echo_n "(cached) " >&6
6607
 
else
6608
 
  if test -n "$ac_ct_DSYMUTIL"; then
6609
 
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6610
 
else
6611
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6612
 
for as_dir in $PATH
6613
 
do
6614
 
  IFS=$as_save_IFS
6615
 
  test -z "$as_dir" && as_dir=.
6616
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6617
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6618
 
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6619
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6620
 
    break 2
6621
 
  fi
6622
 
done
6623
 
  done
6624
 
IFS=$as_save_IFS
6625
 
 
6626
 
fi
6627
 
fi
6628
 
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6629
 
if test -n "$ac_ct_DSYMUTIL"; then
6630
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6631
 
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6632
 
else
6633
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6634
 
$as_echo "no" >&6; }
6635
 
fi
6636
 
 
6637
 
  if test "x$ac_ct_DSYMUTIL" = x; then
6638
 
    DSYMUTIL=":"
6639
 
  else
6640
 
    case $cross_compiling:$ac_tool_warned in
6641
 
yes:)
6642
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6643
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6644
 
ac_tool_warned=yes ;;
6645
 
esac
6646
 
    DSYMUTIL=$ac_ct_DSYMUTIL
6647
 
  fi
6648
 
else
6649
 
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6650
 
fi
6651
 
 
6652
 
    if test -n "$ac_tool_prefix"; then
6653
 
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6654
 
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6655
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6656
 
$as_echo_n "checking for $ac_word... " >&6; }
6657
 
if ${ac_cv_prog_NMEDIT+:} false; then :
6658
 
  $as_echo_n "(cached) " >&6
6659
 
else
6660
 
  if test -n "$NMEDIT"; then
6661
 
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6662
 
else
6663
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6664
 
for as_dir in $PATH
6665
 
do
6666
 
  IFS=$as_save_IFS
6667
 
  test -z "$as_dir" && as_dir=.
6668
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6669
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6670
 
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6671
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6672
 
    break 2
6673
 
  fi
6674
 
done
6675
 
  done
6676
 
IFS=$as_save_IFS
6677
 
 
6678
 
fi
6679
 
fi
6680
 
NMEDIT=$ac_cv_prog_NMEDIT
6681
 
if test -n "$NMEDIT"; then
6682
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6683
 
$as_echo "$NMEDIT" >&6; }
6684
 
else
6685
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6686
 
$as_echo "no" >&6; }
6687
 
fi
6688
 
 
6689
 
 
6690
 
fi
6691
 
if test -z "$ac_cv_prog_NMEDIT"; then
6692
 
  ac_ct_NMEDIT=$NMEDIT
6693
 
  # Extract the first word of "nmedit", so it can be a program name with args.
6694
 
set dummy nmedit; ac_word=$2
6695
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6696
 
$as_echo_n "checking for $ac_word... " >&6; }
6697
 
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6698
 
  $as_echo_n "(cached) " >&6
6699
 
else
6700
 
  if test -n "$ac_ct_NMEDIT"; then
6701
 
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6702
 
else
6703
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6704
 
for as_dir in $PATH
6705
 
do
6706
 
  IFS=$as_save_IFS
6707
 
  test -z "$as_dir" && as_dir=.
6708
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6709
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6710
 
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6711
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6712
 
    break 2
6713
 
  fi
6714
 
done
6715
 
  done
6716
 
IFS=$as_save_IFS
6717
 
 
6718
 
fi
6719
 
fi
6720
 
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6721
 
if test -n "$ac_ct_NMEDIT"; then
6722
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6723
 
$as_echo "$ac_ct_NMEDIT" >&6; }
6724
 
else
6725
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6726
 
$as_echo "no" >&6; }
6727
 
fi
6728
 
 
6729
 
  if test "x$ac_ct_NMEDIT" = x; then
6730
 
    NMEDIT=":"
6731
 
  else
6732
 
    case $cross_compiling:$ac_tool_warned in
6733
 
yes:)
6734
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6735
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6736
 
ac_tool_warned=yes ;;
6737
 
esac
6738
 
    NMEDIT=$ac_ct_NMEDIT
6739
 
  fi
6740
 
else
6741
 
  NMEDIT="$ac_cv_prog_NMEDIT"
6742
 
fi
6743
 
 
6744
 
    if test -n "$ac_tool_prefix"; then
6745
 
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6746
 
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6747
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6748
 
$as_echo_n "checking for $ac_word... " >&6; }
6749
 
if ${ac_cv_prog_LIPO+:} false; then :
6750
 
  $as_echo_n "(cached) " >&6
6751
 
else
6752
 
  if test -n "$LIPO"; then
6753
 
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6754
 
else
6755
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6756
 
for as_dir in $PATH
6757
 
do
6758
 
  IFS=$as_save_IFS
6759
 
  test -z "$as_dir" && as_dir=.
6760
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6761
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6762
 
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6763
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6764
 
    break 2
6765
 
  fi
6766
 
done
6767
 
  done
6768
 
IFS=$as_save_IFS
6769
 
 
6770
 
fi
6771
 
fi
6772
 
LIPO=$ac_cv_prog_LIPO
6773
 
if test -n "$LIPO"; then
6774
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6775
 
$as_echo "$LIPO" >&6; }
6776
 
else
6777
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6778
 
$as_echo "no" >&6; }
6779
 
fi
6780
 
 
6781
 
 
6782
 
fi
6783
 
if test -z "$ac_cv_prog_LIPO"; then
6784
 
  ac_ct_LIPO=$LIPO
6785
 
  # Extract the first word of "lipo", so it can be a program name with args.
6786
 
set dummy lipo; ac_word=$2
6787
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6788
 
$as_echo_n "checking for $ac_word... " >&6; }
6789
 
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6790
 
  $as_echo_n "(cached) " >&6
6791
 
else
6792
 
  if test -n "$ac_ct_LIPO"; then
6793
 
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6794
 
else
6795
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6796
 
for as_dir in $PATH
6797
 
do
6798
 
  IFS=$as_save_IFS
6799
 
  test -z "$as_dir" && as_dir=.
6800
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6801
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6802
 
    ac_cv_prog_ac_ct_LIPO="lipo"
6803
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6804
 
    break 2
6805
 
  fi
6806
 
done
6807
 
  done
6808
 
IFS=$as_save_IFS
6809
 
 
6810
 
fi
6811
 
fi
6812
 
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6813
 
if test -n "$ac_ct_LIPO"; then
6814
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6815
 
$as_echo "$ac_ct_LIPO" >&6; }
6816
 
else
6817
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6818
 
$as_echo "no" >&6; }
6819
 
fi
6820
 
 
6821
 
  if test "x$ac_ct_LIPO" = x; then
6822
 
    LIPO=":"
6823
 
  else
6824
 
    case $cross_compiling:$ac_tool_warned in
6825
 
yes:)
6826
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6827
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6828
 
ac_tool_warned=yes ;;
6829
 
esac
6830
 
    LIPO=$ac_ct_LIPO
6831
 
  fi
6832
 
else
6833
 
  LIPO="$ac_cv_prog_LIPO"
6834
 
fi
6835
 
 
6836
 
    if test -n "$ac_tool_prefix"; then
6837
 
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6838
 
set dummy ${ac_tool_prefix}otool; ac_word=$2
6839
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6840
 
$as_echo_n "checking for $ac_word... " >&6; }
6841
 
if ${ac_cv_prog_OTOOL+:} false; then :
6842
 
  $as_echo_n "(cached) " >&6
6843
 
else
6844
 
  if test -n "$OTOOL"; then
6845
 
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6846
 
else
6847
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6848
 
for as_dir in $PATH
6849
 
do
6850
 
  IFS=$as_save_IFS
6851
 
  test -z "$as_dir" && as_dir=.
6852
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6853
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6854
 
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6855
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6856
 
    break 2
6857
 
  fi
6858
 
done
6859
 
  done
6860
 
IFS=$as_save_IFS
6861
 
 
6862
 
fi
6863
 
fi
6864
 
OTOOL=$ac_cv_prog_OTOOL
6865
 
if test -n "$OTOOL"; then
6866
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6867
 
$as_echo "$OTOOL" >&6; }
6868
 
else
6869
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6870
 
$as_echo "no" >&6; }
6871
 
fi
6872
 
 
6873
 
 
6874
 
fi
6875
 
if test -z "$ac_cv_prog_OTOOL"; then
6876
 
  ac_ct_OTOOL=$OTOOL
6877
 
  # Extract the first word of "otool", so it can be a program name with args.
6878
 
set dummy otool; ac_word=$2
6879
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6880
 
$as_echo_n "checking for $ac_word... " >&6; }
6881
 
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6882
 
  $as_echo_n "(cached) " >&6
6883
 
else
6884
 
  if test -n "$ac_ct_OTOOL"; then
6885
 
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6886
 
else
6887
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6888
 
for as_dir in $PATH
6889
 
do
6890
 
  IFS=$as_save_IFS
6891
 
  test -z "$as_dir" && as_dir=.
6892
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6893
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6894
 
    ac_cv_prog_ac_ct_OTOOL="otool"
6895
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6896
 
    break 2
6897
 
  fi
6898
 
done
6899
 
  done
6900
 
IFS=$as_save_IFS
6901
 
 
6902
 
fi
6903
 
fi
6904
 
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6905
 
if test -n "$ac_ct_OTOOL"; then
6906
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6907
 
$as_echo "$ac_ct_OTOOL" >&6; }
6908
 
else
6909
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6910
 
$as_echo "no" >&6; }
6911
 
fi
6912
 
 
6913
 
  if test "x$ac_ct_OTOOL" = x; then
6914
 
    OTOOL=":"
6915
 
  else
6916
 
    case $cross_compiling:$ac_tool_warned in
6917
 
yes:)
6918
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6919
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6920
 
ac_tool_warned=yes ;;
6921
 
esac
6922
 
    OTOOL=$ac_ct_OTOOL
6923
 
  fi
6924
 
else
6925
 
  OTOOL="$ac_cv_prog_OTOOL"
6926
 
fi
6927
 
 
6928
 
    if test -n "$ac_tool_prefix"; then
6929
 
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6930
 
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6931
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6932
 
$as_echo_n "checking for $ac_word... " >&6; }
6933
 
if ${ac_cv_prog_OTOOL64+:} false; then :
6934
 
  $as_echo_n "(cached) " >&6
6935
 
else
6936
 
  if test -n "$OTOOL64"; then
6937
 
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6938
 
else
6939
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6940
 
for as_dir in $PATH
6941
 
do
6942
 
  IFS=$as_save_IFS
6943
 
  test -z "$as_dir" && as_dir=.
6944
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6945
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6946
 
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6947
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6948
 
    break 2
6949
 
  fi
6950
 
done
6951
 
  done
6952
 
IFS=$as_save_IFS
6953
 
 
6954
 
fi
6955
 
fi
6956
 
OTOOL64=$ac_cv_prog_OTOOL64
6957
 
if test -n "$OTOOL64"; then
6958
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6959
 
$as_echo "$OTOOL64" >&6; }
6960
 
else
6961
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6962
 
$as_echo "no" >&6; }
6963
 
fi
6964
 
 
6965
 
 
6966
 
fi
6967
 
if test -z "$ac_cv_prog_OTOOL64"; then
6968
 
  ac_ct_OTOOL64=$OTOOL64
6969
 
  # Extract the first word of "otool64", so it can be a program name with args.
6970
 
set dummy otool64; ac_word=$2
6971
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6972
 
$as_echo_n "checking for $ac_word... " >&6; }
6973
 
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6974
 
  $as_echo_n "(cached) " >&6
6975
 
else
6976
 
  if test -n "$ac_ct_OTOOL64"; then
6977
 
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6978
 
else
6979
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6980
 
for as_dir in $PATH
6981
 
do
6982
 
  IFS=$as_save_IFS
6983
 
  test -z "$as_dir" && as_dir=.
6984
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6985
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6986
 
    ac_cv_prog_ac_ct_OTOOL64="otool64"
6987
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6988
 
    break 2
6989
 
  fi
6990
 
done
6991
 
  done
6992
 
IFS=$as_save_IFS
6993
 
 
6994
 
fi
6995
 
fi
6996
 
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6997
 
if test -n "$ac_ct_OTOOL64"; then
6998
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6999
 
$as_echo "$ac_ct_OTOOL64" >&6; }
7000
 
else
7001
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7002
 
$as_echo "no" >&6; }
7003
 
fi
7004
 
 
7005
 
  if test "x$ac_ct_OTOOL64" = x; then
7006
 
    OTOOL64=":"
7007
 
  else
7008
 
    case $cross_compiling:$ac_tool_warned in
7009
 
yes:)
7010
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7011
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7012
 
ac_tool_warned=yes ;;
7013
 
esac
7014
 
    OTOOL64=$ac_ct_OTOOL64
7015
 
  fi
7016
 
else
7017
 
  OTOOL64="$ac_cv_prog_OTOOL64"
7018
 
fi
7019
 
 
7020
 
    
7021
 
    
7022
 
    
7023
 
    
7024
 
 
7025
 
    
7026
 
    
7027
 
    
7028
 
    
7029
 
 
7030
 
    
7031
 
    
7032
 
    
7033
 
    
7034
 
 
7035
 
    
7036
 
    
7037
 
    
7038
 
    
7039
 
 
7040
 
    
7041
 
    
7042
 
    
7043
 
    
7044
 
 
7045
 
 
7046
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7047
 
$as_echo_n "checking for -single_module linker flag... " >&6; }
7048
 
if ${lt_cv_apple_cc_single_mod+:} false; then :
7049
 
  $as_echo_n "(cached) " >&6
7050
 
else
7051
 
  lt_cv_apple_cc_single_mod=no
7052
 
      if test -z "${LT_MULTI_MODULE}"; then
7053
 
        # By default we will add the -single_module flag. You can override
7054
 
        # by either setting the environment variable LT_MULTI_MODULE
7055
 
        # non-empty at configure time, or by adding -multi_module to the
7056
 
        # link flags.
7057
 
        rm -rf libconftest.dylib*
7058
 
        echo "int foo(void){return 1;}" > conftest.c
7059
 
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7060
 
-dynamiclib -Wl,-single_module conftest.c" >&5
7061
 
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7062
 
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7063
 
        _lt_result=$?
7064
 
        # If there is a non-empty error log, and "single_module"
7065
 
        # appears in it, assume the flag caused a linker warning
7066
 
        if test -s conftest.err && $GREP single_module conftest.err; then
7067
 
          cat conftest.err >&5
7068
 
        # Otherwise, if the output was created with a 0 exit code from
7069
 
        # the compiler, it worked.
7070
 
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7071
 
          lt_cv_apple_cc_single_mod=yes
7072
 
        else
7073
 
          cat conftest.err >&5
7074
 
        fi
7075
 
        rm -rf libconftest.dylib*
7076
 
        rm -f conftest.*
7077
 
      fi
7078
 
fi
7079
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7080
 
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7081
 
 
7082
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7083
 
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7084
 
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7085
 
  $as_echo_n "(cached) " >&6
7086
 
else
7087
 
  lt_cv_ld_exported_symbols_list=no
7088
 
      save_LDFLAGS=$LDFLAGS
7089
 
      echo "_main" > conftest.sym
7090
 
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7091
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7092
 
/* end confdefs.h.  */
7093
 
 
7094
 
int
7095
 
main ()
7096
 
{
7097
 
 
7098
 
  ;
7099
 
  return 0;
7100
 
}
7101
 
_ACEOF
7102
 
if ac_fn_c_try_link "$LINENO"; then :
7103
 
  lt_cv_ld_exported_symbols_list=yes
7104
 
else
7105
 
  lt_cv_ld_exported_symbols_list=no
7106
 
fi
7107
 
rm -f core conftest.err conftest.$ac_objext \
7108
 
    conftest$ac_exeext conftest.$ac_ext
7109
 
        LDFLAGS="$save_LDFLAGS"
7110
 
    
7111
 
fi
7112
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7113
 
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7114
 
 
7115
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7116
 
$as_echo_n "checking for -force_load linker flag... " >&6; }
7117
 
if ${lt_cv_ld_force_load+:} false; then :
7118
 
  $as_echo_n "(cached) " >&6
7119
 
else
7120
 
  lt_cv_ld_force_load=no
7121
 
      cat > conftest.c << _LT_EOF
7122
 
int forced_loaded() { return 2;}
7123
 
_LT_EOF
7124
 
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7125
 
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7126
 
      echo "$AR cru libconftest.a conftest.o" >&5
7127
 
      $AR cru libconftest.a conftest.o 2>&5
7128
 
      echo "$RANLIB libconftest.a" >&5
7129
 
      $RANLIB libconftest.a 2>&5
7130
 
      cat > conftest.c << _LT_EOF
7131
 
int main() { return 0;}
7132
 
_LT_EOF
7133
 
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7134
 
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7135
 
      _lt_result=$?
7136
 
      if test -s conftest.err && $GREP force_load conftest.err; then
7137
 
        cat conftest.err >&5
7138
 
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7139
 
        lt_cv_ld_force_load=yes
7140
 
      else
7141
 
        cat conftest.err >&5
7142
 
      fi
7143
 
        rm -f conftest.err libconftest.a conftest conftest.c
7144
 
        rm -rf conftest.dSYM
7145
 
    
7146
 
fi
7147
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7148
 
$as_echo "$lt_cv_ld_force_load" >&6; }
7149
 
    case $host_os in
7150
 
    rhapsody* | darwin1.[012])
7151
 
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7152
 
    darwin1.*)
7153
 
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7154
 
    darwin*) # darwin 5.x on
7155
 
      # if running on 10.5 or later, the deployment target defaults
7156
 
      # to the OS version, if on x86, and 10.4, the deployment
7157
 
      # target defaults to 10.4. Don't you love it?
7158
 
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7159
 
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7160
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7161
 
        10.[012]*)
7162
 
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7163
 
        10.*)
7164
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7165
 
      esac
7166
 
    ;;
7167
 
  esac
7168
 
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7169
 
      _lt_dar_single_mod='$single_module'
7170
 
    fi
7171
 
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7172
 
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7173
 
    else
7174
 
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7175
 
    fi
7176
 
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7177
 
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7178
 
    else
7179
 
      _lt_dsymutil=
7180
 
    fi
7181
 
    ;;
7182
 
  esac
7183
 
 
7184
 
ac_ext=c
7185
 
ac_cpp='$CPP $CPPFLAGS'
7186
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7187
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7188
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7189
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7190
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7191
 
# On Suns, sometimes $CPP names a directory.
7192
 
if test -n "$CPP" && test -d "$CPP"; then
7193
 
  CPP=
7194
 
fi
7195
 
if test -z "$CPP"; then
7196
 
  if ${ac_cv_prog_CPP+:} false; then :
7197
 
  $as_echo_n "(cached) " >&6
7198
 
else
7199
 
      # Double quotes because CPP needs to be expanded
7200
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7201
 
    do
7202
 
      ac_preproc_ok=false
7203
 
for ac_c_preproc_warn_flag in '' yes
7204
 
do
7205
 
  # Use a header file that comes with gcc, so configuring glibc
7206
 
  # with a fresh cross-compiler works.
7207
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7208
 
  # <limits.h> exists even on freestanding compilers.
7209
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7210
 
  # not just through cpp. "Syntax error" is here to catch this case.
7211
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7212
 
/* end confdefs.h.  */
7213
 
@%:@ifdef __STDC__
7214
 
@%:@ include <limits.h>
7215
 
@%:@else
7216
 
@%:@ include <assert.h>
7217
 
@%:@endif
7218
 
                     Syntax error
7219
 
_ACEOF
7220
 
if ac_fn_c_try_cpp "$LINENO"; then :
7221
 
  
7222
 
else
7223
 
  # Broken: fails on valid input.
7224
 
continue
7225
 
fi
7226
 
rm -f conftest.err conftest.i conftest.$ac_ext
7227
 
 
7228
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7229
 
  # can be detected and how.
7230
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7231
 
/* end confdefs.h.  */
7232
 
@%:@include <ac_nonexistent.h>
7233
 
_ACEOF
7234
 
if ac_fn_c_try_cpp "$LINENO"; then :
7235
 
  # Broken: success on invalid input.
7236
 
continue
7237
 
else
7238
 
  # Passes both tests.
7239
 
ac_preproc_ok=:
7240
 
break
7241
 
fi
7242
 
rm -f conftest.err conftest.i conftest.$ac_ext
7243
 
 
7244
 
done
7245
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7246
 
rm -f conftest.i conftest.err conftest.$ac_ext
7247
 
if $ac_preproc_ok; then :
7248
 
  break
7249
 
fi
7250
 
 
7251
 
    done
7252
 
    ac_cv_prog_CPP=$CPP
7253
 
  
7254
 
fi
7255
 
  CPP=$ac_cv_prog_CPP
7256
 
else
7257
 
  ac_cv_prog_CPP=$CPP
7258
 
fi
7259
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7260
 
$as_echo "$CPP" >&6; }
7261
 
ac_preproc_ok=false
7262
 
for ac_c_preproc_warn_flag in '' yes
7263
 
do
7264
 
  # Use a header file that comes with gcc, so configuring glibc
7265
 
  # with a fresh cross-compiler works.
7266
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7267
 
  # <limits.h> exists even on freestanding compilers.
7268
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7269
 
  # not just through cpp. "Syntax error" is here to catch this case.
7270
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7271
 
/* end confdefs.h.  */
7272
 
@%:@ifdef __STDC__
7273
 
@%:@ include <limits.h>
7274
 
@%:@else
7275
 
@%:@ include <assert.h>
7276
 
@%:@endif
7277
 
                     Syntax error
7278
 
_ACEOF
7279
 
if ac_fn_c_try_cpp "$LINENO"; then :
7280
 
  
7281
 
else
7282
 
  # Broken: fails on valid input.
7283
 
continue
7284
 
fi
7285
 
rm -f conftest.err conftest.i conftest.$ac_ext
7286
 
 
7287
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7288
 
  # can be detected and how.
7289
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7290
 
/* end confdefs.h.  */
7291
 
@%:@include <ac_nonexistent.h>
7292
 
_ACEOF
7293
 
if ac_fn_c_try_cpp "$LINENO"; then :
7294
 
  # Broken: success on invalid input.
7295
 
continue
7296
 
else
7297
 
  # Passes both tests.
7298
 
ac_preproc_ok=:
7299
 
break
7300
 
fi
7301
 
rm -f conftest.err conftest.i conftest.$ac_ext
7302
 
 
7303
 
done
7304
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7305
 
rm -f conftest.i conftest.err conftest.$ac_ext
7306
 
if $ac_preproc_ok; then :
7307
 
  
7308
 
else
7309
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7310
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7311
 
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7312
 
See \`config.log' for more details" "$LINENO" 5; }
7313
 
fi
7314
 
 
7315
 
ac_ext=c
7316
 
ac_cpp='$CPP $CPPFLAGS'
7317
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7318
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7319
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7320
 
 
7321
 
 
7322
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7323
 
$as_echo_n "checking for ANSI C header files... " >&6; }
7324
 
if ${ac_cv_header_stdc+:} false; then :
7325
 
  $as_echo_n "(cached) " >&6
7326
 
else
7327
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7328
 
/* end confdefs.h.  */
7329
 
#include <stdlib.h>
7330
 
#include <stdarg.h>
7331
 
#include <string.h>
7332
 
#include <float.h>
7333
 
 
7334
 
int
7335
 
main ()
7336
 
{
7337
 
 
7338
 
  ;
7339
 
  return 0;
7340
 
}
7341
 
_ACEOF
7342
 
if ac_fn_c_try_compile "$LINENO"; then :
7343
 
  ac_cv_header_stdc=yes
7344
 
else
7345
 
  ac_cv_header_stdc=no
7346
 
fi
7347
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7348
 
 
7349
 
if test $ac_cv_header_stdc = yes; then
7350
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7351
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7352
 
/* end confdefs.h.  */
7353
 
#include <string.h>
7354
 
 
7355
 
_ACEOF
7356
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7357
 
  $EGREP "memchr" >/dev/null 2>&1; then :
7358
 
  
7359
 
else
7360
 
  ac_cv_header_stdc=no
7361
 
fi
7362
 
rm -f conftest*
7363
 
 
7364
 
fi
7365
 
 
7366
 
if test $ac_cv_header_stdc = yes; then
7367
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7368
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7369
 
/* end confdefs.h.  */
7370
 
#include <stdlib.h>
7371
 
 
7372
 
_ACEOF
7373
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7374
 
  $EGREP "free" >/dev/null 2>&1; then :
7375
 
  
7376
 
else
7377
 
  ac_cv_header_stdc=no
7378
 
fi
7379
 
rm -f conftest*
7380
 
 
7381
 
fi
7382
 
 
7383
 
if test $ac_cv_header_stdc = yes; then
7384
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7385
 
  if test "$cross_compiling" = yes; then :
7386
 
  :
7387
 
else
7388
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7389
 
/* end confdefs.h.  */
7390
 
#include <ctype.h>
7391
 
#include <stdlib.h>
7392
 
#if ((' ' & 0x0FF) == 0x020)
7393
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7394
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7395
 
#else
7396
 
# define ISLOWER(c) \
7397
 
                   (('a' <= (c) && (c) <= 'i') \
7398
 
                     || ('j' <= (c) && (c) <= 'r') \
7399
 
                     || ('s' <= (c) && (c) <= 'z'))
7400
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7401
 
#endif
7402
 
 
7403
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7404
 
int
7405
 
main ()
7406
 
{
7407
 
  int i;
7408
 
  for (i = 0; i < 256; i++)
7409
 
    if (XOR (islower (i), ISLOWER (i))
7410
 
        || toupper (i) != TOUPPER (i))
7411
 
      return 2;
7412
 
  return 0;
7413
 
}
7414
 
_ACEOF
7415
 
if ac_fn_c_try_run "$LINENO"; then :
7416
 
  
7417
 
else
7418
 
  ac_cv_header_stdc=no
7419
 
fi
7420
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7421
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
7422
 
fi
7423
 
 
7424
 
fi
7425
 
fi
7426
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7427
 
$as_echo "$ac_cv_header_stdc" >&6; }
7428
 
if test $ac_cv_header_stdc = yes; then
7429
 
  
7430
 
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7431
 
 
7432
 
fi
7433
 
 
7434
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7435
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7436
 
                  inttypes.h stdint.h unistd.h
7437
 
do :
7438
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7439
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7440
 
"
7441
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7442
 
  cat >>confdefs.h <<_ACEOF
7443
 
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7444
 
_ACEOF
7445
 
 
7446
 
fi
7447
 
 
7448
 
done
7449
 
 
7450
 
 
7451
 
for ac_header in dlfcn.h
7452
 
do :
7453
 
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7454
 
"
7455
 
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7456
 
  cat >>confdefs.h <<_ACEOF
7457
 
@%:@define HAVE_DLFCN_H 1
7458
 
_ACEOF
7459
 
 
7460
 
fi
7461
 
 
7462
 
done
7463
 
 
7464
 
 
7465
 
 
7466
 
 
7467
 
 
7468
 
# Set options
7469
 
 
7470
 
 
7471
 
 
7472
 
        enable_dlopen=no
7473
 
  
7474
 
 
7475
 
  enable_win32_dll=no
7476
 
  
7477
 
 
7478
 
            @%:@ Check whether --enable-shared was given.
7479
 
if test "${enable_shared+set}" = set; then :
7480
 
  enableval=$enable_shared; p=${PACKAGE-default}
7481
 
    case $enableval in
7482
 
    yes) enable_shared=yes ;;
7483
 
    no) enable_shared=no ;;
7484
 
    *)
7485
 
      enable_shared=no
7486
 
      # Look at the argument we got.  We use all the common list separators.
7487
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7488
 
      for pkg in $enableval; do
7489
 
        IFS="$lt_save_ifs"
7490
 
        if test "X$pkg" = "X$p"; then
7491
 
          enable_shared=yes
7492
 
        fi
7493
 
      done
7494
 
      IFS="$lt_save_ifs"
7495
 
      ;;
7496
 
    esac
7497
 
else
7498
 
  enable_shared=yes
7499
 
fi
7500
 
 
7501
 
 
7502
 
    
7503
 
    
7504
 
    
7505
 
    
7506
 
 
7507
 
 
7508
 
 
7509
 
  @%:@ Check whether --enable-static was given.
7510
 
if test "${enable_static+set}" = set; then :
7511
 
  enableval=$enable_static; p=${PACKAGE-default}
7512
 
    case $enableval in
7513
 
    yes) enable_static=yes ;;
7514
 
    no) enable_static=no ;;
7515
 
    *)
7516
 
     enable_static=no
7517
 
      # Look at the argument we got.  We use all the common list separators.
7518
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7519
 
      for pkg in $enableval; do
7520
 
        IFS="$lt_save_ifs"
7521
 
        if test "X$pkg" = "X$p"; then
7522
 
          enable_static=yes
7523
 
        fi
7524
 
      done
7525
 
      IFS="$lt_save_ifs"
7526
 
      ;;
7527
 
    esac
7528
 
else
7529
 
  enable_static=yes
7530
 
fi
7531
 
 
7532
 
 
7533
 
    
7534
 
    
7535
 
    
7536
 
    
7537
 
 
7538
 
 
7539
 
 
7540
 
  
7541
 
@%:@ Check whether --with-pic was given.
7542
 
if test "${with_pic+set}" = set; then :
7543
 
  withval=$with_pic; lt_p=${PACKAGE-default}
7544
 
    case $withval in
7545
 
    yes|no) pic_mode=$withval ;;
7546
 
    *)
7547
 
      pic_mode=default
7548
 
      # Look at the argument we got.  We use all the common list separators.
7549
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7550
 
      for lt_pkg in $withval; do
7551
 
        IFS="$lt_save_ifs"
7552
 
        if test "X$lt_pkg" = "X$lt_p"; then
7553
 
          pic_mode=yes
7554
 
        fi
7555
 
      done
7556
 
      IFS="$lt_save_ifs"
7557
 
      ;;
7558
 
    esac
7559
 
else
7560
 
  pic_mode=default
7561
 
fi
7562
 
 
7563
 
 
7564
 
test -z "$pic_mode" && pic_mode=default
7565
 
 
7566
 
 
7567
 
    
7568
 
    
7569
 
    
7570
 
 
7571
 
 
7572
 
  @%:@ Check whether --enable-fast-install was given.
7573
 
if test "${enable_fast_install+set}" = set; then :
7574
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
7575
 
    case $enableval in
7576
 
    yes) enable_fast_install=yes ;;
7577
 
    no) enable_fast_install=no ;;
7578
 
    *)
7579
 
      enable_fast_install=no
7580
 
      # Look at the argument we got.  We use all the common list separators.
7581
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7582
 
      for pkg in $enableval; do
7583
 
        IFS="$lt_save_ifs"
7584
 
        if test "X$pkg" = "X$p"; then
7585
 
          enable_fast_install=yes
7586
 
        fi
7587
 
      done
7588
 
      IFS="$lt_save_ifs"
7589
 
      ;;
7590
 
    esac
7591
 
else
7592
 
  enable_fast_install=yes
7593
 
fi
7594
 
 
7595
 
 
7596
 
 
7597
 
    
7598
 
    
7599
 
    
7600
 
 
7601
 
 
7602
 
  
7603
 
 
7604
 
 
7605
 
# This can be used to rebuild libtool when needed
7606
 
LIBTOOL_DEPS="$ltmain"
7607
 
 
7608
 
# Always use our own libtool.
7609
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7610
 
 
7611
 
 
7612
 
 
7613
 
    
7614
 
    
7615
 
    
7616
 
 
7617
 
    
7618
 
    
7619
 
    
7620
 
 
7621
 
    
7622
 
    
7623
 
    
7624
 
 
7625
 
    
7626
 
    
7627
 
    
7628
 
 
7629
 
    
7630
 
    
7631
 
    
7632
 
 
7633
 
    
7634
 
    
7635
 
    
7636
 
 
7637
 
    
7638
 
    
7639
 
    
7640
 
test -z "$LN_S" && LN_S="ln -s"
7641
 
 
7642
 
    
7643
 
    
7644
 
    
7645
 
 
7646
 
    
7647
 
    
7648
 
    
7649
 
 
7650
 
    
7651
 
    
7652
 
    
7653
 
 
7654
 
 
7655
 
if test -n "${ZSH_VERSION+set}" ; then
7656
 
   setopt NO_GLOB_SUBST
7657
 
fi
7658
 
 
7659
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7660
 
$as_echo_n "checking for objdir... " >&6; }
7661
 
if ${lt_cv_objdir+:} false; then :
7662
 
  $as_echo_n "(cached) " >&6
7663
 
else
7664
 
  rm -f .libs 2>/dev/null
7665
 
mkdir .libs 2>/dev/null
7666
 
if test -d .libs; then
7667
 
  lt_cv_objdir=.libs
7668
 
else
7669
 
  # MS-DOS does not allow filenames that begin with a dot.
7670
 
  lt_cv_objdir=_libs
7671
 
fi
7672
 
rmdir .libs 2>/dev/null
7673
 
fi
7674
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7675
 
$as_echo "$lt_cv_objdir" >&6; }
7676
 
objdir=$lt_cv_objdir
7677
 
 
7678
 
    
7679
 
    
7680
 
    
7681
 
 
7682
 
cat >>confdefs.h <<_ACEOF
7683
 
@%:@define LT_OBJDIR "$lt_cv_objdir/"
7684
 
_ACEOF
7685
 
 
7686
 
 
7687
 
 
7688
 
 
7689
 
case $host_os in
7690
 
aix3*)
7691
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
7692
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
7693
 
  # vanish in a puff of smoke.
7694
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
7695
 
    COLLECT_NAMES=
7696
 
    export COLLECT_NAMES
7697
 
  fi
7698
 
  ;;
7699
 
esac
7700
 
 
7701
 
# Global variables:
7702
 
ofile=libtool
7703
 
can_build_shared=yes
7704
 
 
7705
 
# All known linkers require a `.a' archive for static linking (except MSVC,
7706
 
# which needs '.lib').
7707
 
libext=a
7708
 
 
7709
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
7710
 
 
7711
 
old_CC="$CC"
7712
 
old_CFLAGS="$CFLAGS"
7713
 
 
7714
 
# Set sane defaults for various variables
7715
 
test -z "$CC" && CC=cc
7716
 
test -z "$LTCC" && LTCC=$CC
7717
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7718
 
test -z "$LD" && LD=ld
7719
 
test -z "$ac_objext" && ac_objext=o
7720
 
 
7721
 
for cc_temp in $compiler""; do
7722
 
  case $cc_temp in
7723
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7724
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7725
 
    \-*) ;;
7726
 
    *) break;;
7727
 
  esac
7728
 
done
7729
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7730
 
 
7731
 
 
7732
 
# Only perform the check for file, if the check method requires it
7733
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7734
 
case $deplibs_check_method in
7735
 
file_magic*)
7736
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7737
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7738
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7739
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7740
 
  $as_echo_n "(cached) " >&6
7741
 
else
7742
 
  case $MAGIC_CMD in
7743
 
[\\/*] |  ?:[\\/]*)
7744
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7745
 
  ;;
7746
 
*)
7747
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7748
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7749
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7750
 
  for ac_dir in $ac_dummy; do
7751
 
    IFS="$lt_save_ifs"
7752
 
    test -z "$ac_dir" && ac_dir=.
7753
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
7754
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7755
 
      if test -n "$file_magic_test_file"; then
7756
 
        case $deplibs_check_method in
7757
 
        "file_magic "*)
7758
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7759
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7760
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7761
 
            $EGREP "$file_magic_regex" > /dev/null; then
7762
 
            :
7763
 
          else
7764
 
            cat <<_LT_EOF 1>&2
7765
 
 
7766
 
*** Warning: the command libtool uses to detect shared libraries,
7767
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7768
 
*** The result is that libtool may fail to recognize shared libraries
7769
 
*** as such.  This will affect the creation of libtool libraries that
7770
 
*** depend on shared libraries, but programs linked with such libtool
7771
 
*** libraries will work regardless of this problem.  Nevertheless, you
7772
 
*** may want to report the problem to your system manager and/or to
7773
 
*** bug-libtool@gnu.org
7774
 
 
7775
 
_LT_EOF
7776
 
          fi ;;
7777
 
        esac
7778
 
      fi
7779
 
      break
7780
 
    fi
7781
 
  done
7782
 
  IFS="$lt_save_ifs"
7783
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7784
 
  ;;
7785
 
esac
7786
 
fi
7787
 
 
7788
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7789
 
if test -n "$MAGIC_CMD"; then
7790
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7791
 
$as_echo "$MAGIC_CMD" >&6; }
7792
 
else
7793
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7794
 
$as_echo "no" >&6; }
7795
 
fi
7796
 
 
7797
 
    
7798
 
    
7799
 
    
7800
 
 
7801
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
7802
 
  if test -n "$ac_tool_prefix"; then
7803
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7804
 
$as_echo_n "checking for file... " >&6; }
7805
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7806
 
  $as_echo_n "(cached) " >&6
7807
 
else
7808
 
  case $MAGIC_CMD in
7809
 
[\\/*] |  ?:[\\/]*)
7810
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7811
 
  ;;
7812
 
*)
7813
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7814
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7815
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7816
 
  for ac_dir in $ac_dummy; do
7817
 
    IFS="$lt_save_ifs"
7818
 
    test -z "$ac_dir" && ac_dir=.
7819
 
    if test -f $ac_dir/file; then
7820
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7821
 
      if test -n "$file_magic_test_file"; then
7822
 
        case $deplibs_check_method in
7823
 
        "file_magic "*)
7824
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7825
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7826
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7827
 
            $EGREP "$file_magic_regex" > /dev/null; then
7828
 
            :
7829
 
          else
7830
 
            cat <<_LT_EOF 1>&2
7831
 
 
7832
 
*** Warning: the command libtool uses to detect shared libraries,
7833
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7834
 
*** The result is that libtool may fail to recognize shared libraries
7835
 
*** as such.  This will affect the creation of libtool libraries that
7836
 
*** depend on shared libraries, but programs linked with such libtool
7837
 
*** libraries will work regardless of this problem.  Nevertheless, you
7838
 
*** may want to report the problem to your system manager and/or to
7839
 
*** bug-libtool@gnu.org
7840
 
 
7841
 
_LT_EOF
7842
 
          fi ;;
7843
 
        esac
7844
 
      fi
7845
 
      break
7846
 
    fi
7847
 
  done
7848
 
  IFS="$lt_save_ifs"
7849
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7850
 
  ;;
7851
 
esac
7852
 
fi
7853
 
 
7854
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7855
 
if test -n "$MAGIC_CMD"; then
7856
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7857
 
$as_echo "$MAGIC_CMD" >&6; }
7858
 
else
7859
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7860
 
$as_echo "no" >&6; }
7861
 
fi
7862
 
 
7863
 
 
7864
 
  else
7865
 
    MAGIC_CMD=:
7866
 
  fi
7867
 
fi
7868
 
 
7869
 
  fi
7870
 
  ;;
7871
 
esac
7872
 
 
7873
 
# Use C for the default configuration in the libtool script
7874
 
 
7875
 
lt_save_CC="$CC"
7876
 
ac_ext=c
7877
 
ac_cpp='$CPP $CPPFLAGS'
7878
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7879
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7880
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7881
 
 
7882
 
 
7883
 
# Source file extension for C test sources.
7884
 
ac_ext=c
7885
 
 
7886
 
# Object file extension for compiled C test sources.
7887
 
objext=o
7888
 
objext=$objext
7889
 
 
7890
 
# Code to be used in simple compile tests
7891
 
lt_simple_compile_test_code="int some_variable = 0;"
7892
 
 
7893
 
# Code to be used in simple link tests
7894
 
lt_simple_link_test_code='int main(){return(0);}'
7895
 
 
7896
 
 
7897
 
 
7898
 
 
7899
 
 
7900
 
 
7901
 
 
7902
 
# If no C compiler was specified, use CC.
7903
 
LTCC=${LTCC-"$CC"}
7904
 
 
7905
 
# If no C compiler flags were specified, use CFLAGS.
7906
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7907
 
 
7908
 
# Allow CC to be a program name with arguments.
7909
 
compiler=$CC
7910
 
 
7911
 
# Save the default compiler, since it gets overwritten when the other
7912
 
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7913
 
compiler_DEFAULT=$CC
7914
 
 
7915
 
# save warnings/boilerplate of simple test code
7916
 
ac_outfile=conftest.$ac_objext
7917
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7918
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7919
 
_lt_compiler_boilerplate=`cat conftest.err`
7920
 
$RM conftest*
7921
 
 
7922
 
ac_outfile=conftest.$ac_objext
7923
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7924
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7925
 
_lt_linker_boilerplate=`cat conftest.err`
7926
 
$RM -r conftest*
7927
 
 
7928
 
 
7929
 
## CAVEAT EMPTOR:
7930
 
## There is no encapsulation within the following macros, do not change
7931
 
## the running order or otherwise move them around unless you know exactly
7932
 
## what you are doing...
7933
 
if test -n "$compiler"; then
7934
 
  
7935
 
lt_prog_compiler_no_builtin_flag=
7936
 
 
7937
 
if test "$GCC" = yes; then
7938
 
  case $cc_basename in
7939
 
  nvcc*)
7940
 
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7941
 
  *)
7942
 
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7943
 
  esac
7944
 
 
7945
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7946
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7947
 
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7948
 
  $as_echo_n "(cached) " >&6
7949
 
else
7950
 
  lt_cv_prog_compiler_rtti_exceptions=no
7951
 
   ac_outfile=conftest.$ac_objext
7952
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7953
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7954
 
   # Insert the option either (1) after the last *FLAGS variable, or
7955
 
   # (2) before a word containing "conftest.", or (3) at the end.
7956
 
   # Note that $ac_compile itself does not contain backslashes and begins
7957
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7958
 
   # The option is referenced via a variable to avoid confusing sed.
7959
 
   lt_compile=`echo "$ac_compile" | $SED \
7960
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7961
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7962
 
   -e 's:$: $lt_compiler_flag:'`
7963
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7964
 
   (eval "$lt_compile" 2>conftest.err)
7965
 
   ac_status=$?
7966
 
   cat conftest.err >&5
7967
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7968
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
7969
 
     # The compiler can only warn and ignore the option if not recognized
7970
 
     # So say no if there are warnings other than the usual output.
7971
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7972
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7973
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7974
 
       lt_cv_prog_compiler_rtti_exceptions=yes
7975
 
     fi
7976
 
   fi
7977
 
   $RM conftest*
7978
 
 
7979
 
fi
7980
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7981
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7982
 
 
7983
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7984
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7985
 
else
7986
 
    :
7987
 
fi
7988
 
 
7989
 
fi
7990
 
 
7991
 
    
7992
 
    
7993
 
    
7994
 
 
7995
 
 
7996
 
  lt_prog_compiler_wl=
7997
 
lt_prog_compiler_pic=
7998
 
lt_prog_compiler_static=
7999
 
 
8000
 
 
8001
 
  if test "$GCC" = yes; then
8002
 
    lt_prog_compiler_wl='-Wl,'
8003
 
    lt_prog_compiler_static='-static'
8004
 
 
8005
 
    case $host_os in
8006
 
      aix*)
8007
 
      # All AIX code is PIC.
8008
 
      if test "$host_cpu" = ia64; then
8009
 
        # AIX 5 now supports IA64 processor
8010
 
        lt_prog_compiler_static='-Bstatic'
8011
 
      fi
8012
 
      ;;
8013
 
 
8014
 
    amigaos*)
8015
 
      case $host_cpu in
8016
 
      powerpc)
8017
 
            # see comment about AmigaOS4 .so support
8018
 
            lt_prog_compiler_pic='-fPIC'
8019
 
        ;;
8020
 
      m68k)
8021
 
            # FIXME: we need at least 68020 code to build shared libraries, but
8022
 
            # adding the `-m68020' flag to GCC prevents building anything better,
8023
 
            # like `-m68040'.
8024
 
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8025
 
        ;;
8026
 
      esac
8027
 
      ;;
8028
 
 
8029
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8030
 
      # PIC is the default for these OSes.
8031
 
      ;;
8032
 
 
8033
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8034
 
      # This hack is so that the source file can tell whether it is being
8035
 
      # built for inclusion in a dll (and should export symbols for example).
8036
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8037
 
      # (--disable-auto-import) libraries
8038
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8039
 
      ;;
8040
 
 
8041
 
    darwin* | rhapsody*)
8042
 
      # PIC is the default on this platform
8043
 
      # Common symbols not allowed in MH_DYLIB files
8044
 
      lt_prog_compiler_pic='-fno-common'
8045
 
      ;;
8046
 
 
8047
 
    haiku*)
8048
 
      # PIC is the default for Haiku.
8049
 
      # The "-static" flag exists, but is broken.
8050
 
      lt_prog_compiler_static=
8051
 
      ;;
8052
 
 
8053
 
    hpux*)
8054
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8055
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8056
 
      # sets the default TLS model and affects inlining.
8057
 
      case $host_cpu in
8058
 
      hppa*64*)
8059
 
        # +Z the default
8060
 
        ;;
8061
 
      *)
8062
 
        lt_prog_compiler_pic='-fPIC'
8063
 
        ;;
8064
 
      esac
8065
 
      ;;
8066
 
 
8067
 
    interix[3-9]*)
8068
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8069
 
      # Instead, we relocate shared libraries at runtime.
8070
 
      ;;
8071
 
 
8072
 
    msdosdjgpp*)
8073
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
8074
 
      # on systems that don't support them.
8075
 
      lt_prog_compiler_can_build_shared=no
8076
 
      enable_shared=no
8077
 
      ;;
8078
 
 
8079
 
    *nto* | *qnx*)
8080
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8081
 
      # it will coredump.
8082
 
      lt_prog_compiler_pic='-fPIC -shared'
8083
 
      ;;
8084
 
 
8085
 
    sysv4*MP*)
8086
 
      if test -d /usr/nec; then
8087
 
        lt_prog_compiler_pic=-Kconform_pic
8088
 
      fi
8089
 
      ;;
8090
 
 
8091
 
    *)
8092
 
      lt_prog_compiler_pic='-fPIC'
8093
 
      ;;
8094
 
    esac
8095
 
 
8096
 
    case $cc_basename in
8097
 
    nvcc*) # Cuda Compiler Driver 2.2
8098
 
      lt_prog_compiler_wl='-Xlinker '
8099
 
      if test -n "$lt_prog_compiler_pic"; then
8100
 
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8101
 
      fi
8102
 
      ;;
8103
 
    esac
8104
 
  else
8105
 
    # PORTME Check for flag to pass linker flags through the system compiler.
8106
 
    case $host_os in
8107
 
    aix*)
8108
 
      lt_prog_compiler_wl='-Wl,'
8109
 
      if test "$host_cpu" = ia64; then
8110
 
        # AIX 5 now supports IA64 processor
8111
 
        lt_prog_compiler_static='-Bstatic'
8112
 
      else
8113
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8114
 
      fi
8115
 
      ;;
8116
 
 
8117
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8118
 
      # This hack is so that the source file can tell whether it is being
8119
 
      # built for inclusion in a dll (and should export symbols for example).
8120
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8121
 
      ;;
8122
 
 
8123
 
    hpux9* | hpux10* | hpux11*)
8124
 
      lt_prog_compiler_wl='-Wl,'
8125
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8126
 
      # not for PA HP-UX.
8127
 
      case $host_cpu in
8128
 
      hppa*64*|ia64*)
8129
 
        # +Z the default
8130
 
        ;;
8131
 
      *)
8132
 
        lt_prog_compiler_pic='+Z'
8133
 
        ;;
8134
 
      esac
8135
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8136
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
8137
 
      ;;
8138
 
 
8139
 
    irix5* | irix6* | nonstopux*)
8140
 
      lt_prog_compiler_wl='-Wl,'
8141
 
      # PIC (with -KPIC) is the default.
8142
 
      lt_prog_compiler_static='-non_shared'
8143
 
      ;;
8144
 
 
8145
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8146
 
      case $cc_basename in
8147
 
      # old Intel for x86_64 which still supported -KPIC.
8148
 
      ecc*)
8149
 
        lt_prog_compiler_wl='-Wl,'
8150
 
        lt_prog_compiler_pic='-KPIC'
8151
 
        lt_prog_compiler_static='-static'
8152
 
        ;;
8153
 
      # icc used to be incompatible with GCC.
8154
 
      # ICC 10 doesn't accept -KPIC any more.
8155
 
      icc* | ifort*)
8156
 
        lt_prog_compiler_wl='-Wl,'
8157
 
        lt_prog_compiler_pic='-fPIC'
8158
 
        lt_prog_compiler_static='-static'
8159
 
        ;;
8160
 
      # Lahey Fortran 8.1.
8161
 
      lf95*)
8162
 
        lt_prog_compiler_wl='-Wl,'
8163
 
        lt_prog_compiler_pic='--shared'
8164
 
        lt_prog_compiler_static='--static'
8165
 
        ;;
8166
 
      nagfor*)
8167
 
        # NAG Fortran compiler
8168
 
        lt_prog_compiler_wl='-Wl,-Wl,,'
8169
 
        lt_prog_compiler_pic='-PIC'
8170
 
        lt_prog_compiler_static='-Bstatic'
8171
 
        ;;
8172
 
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8173
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
8174
 
        # which looks to be a dead project)
8175
 
        lt_prog_compiler_wl='-Wl,'
8176
 
        lt_prog_compiler_pic='-fpic'
8177
 
        lt_prog_compiler_static='-Bstatic'
8178
 
        ;;
8179
 
      ccc*)
8180
 
        lt_prog_compiler_wl='-Wl,'
8181
 
        # All Alpha code is PIC.
8182
 
        lt_prog_compiler_static='-non_shared'
8183
 
        ;;
8184
 
      xl* | bgxl* | bgf* | mpixl*)
8185
 
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8186
 
        lt_prog_compiler_wl='-Wl,'
8187
 
        lt_prog_compiler_pic='-qpic'
8188
 
        lt_prog_compiler_static='-qstaticlink'
8189
 
        ;;
8190
 
      *)
8191
 
        case `$CC -V 2>&1 | sed 5q` in
8192
 
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8193
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8194
 
          lt_prog_compiler_pic='-KPIC'
8195
 
          lt_prog_compiler_static='-Bstatic'
8196
 
          lt_prog_compiler_wl=''
8197
 
          ;;
8198
 
        *Sun\ F* | *Sun*Fortran*)
8199
 
          lt_prog_compiler_pic='-KPIC'
8200
 
          lt_prog_compiler_static='-Bstatic'
8201
 
          lt_prog_compiler_wl='-Qoption ld '
8202
 
          ;;
8203
 
        *Sun\ C*)
8204
 
          # Sun C 5.9
8205
 
          lt_prog_compiler_pic='-KPIC'
8206
 
          lt_prog_compiler_static='-Bstatic'
8207
 
          lt_prog_compiler_wl='-Wl,'
8208
 
          ;;
8209
 
        *Intel*\ [CF]*Compiler*)
8210
 
          lt_prog_compiler_wl='-Wl,'
8211
 
          lt_prog_compiler_pic='-fPIC'
8212
 
          lt_prog_compiler_static='-static'
8213
 
          ;;
8214
 
        *Portland\ Group*)
8215
 
          lt_prog_compiler_wl='-Wl,'
8216
 
          lt_prog_compiler_pic='-fpic'
8217
 
          lt_prog_compiler_static='-Bstatic'
8218
 
          ;;
8219
 
        esac
8220
 
        ;;
8221
 
      esac
8222
 
      ;;
8223
 
 
8224
 
    newsos6)
8225
 
      lt_prog_compiler_pic='-KPIC'
8226
 
      lt_prog_compiler_static='-Bstatic'
8227
 
      ;;
8228
 
 
8229
 
    *nto* | *qnx*)
8230
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8231
 
      # it will coredump.
8232
 
      lt_prog_compiler_pic='-fPIC -shared'
8233
 
      ;;
8234
 
 
8235
 
    osf3* | osf4* | osf5*)
8236
 
      lt_prog_compiler_wl='-Wl,'
8237
 
      # All OSF/1 code is PIC.
8238
 
      lt_prog_compiler_static='-non_shared'
8239
 
      ;;
8240
 
 
8241
 
    rdos*)
8242
 
      lt_prog_compiler_static='-non_shared'
8243
 
      ;;
8244
 
 
8245
 
    solaris*)
8246
 
      lt_prog_compiler_pic='-KPIC'
8247
 
      lt_prog_compiler_static='-Bstatic'
8248
 
      case $cc_basename in
8249
 
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8250
 
        lt_prog_compiler_wl='-Qoption ld ';;
8251
 
      *)
8252
 
        lt_prog_compiler_wl='-Wl,';;
8253
 
      esac
8254
 
      ;;
8255
 
 
8256
 
    sunos4*)
8257
 
      lt_prog_compiler_wl='-Qoption ld '
8258
 
      lt_prog_compiler_pic='-PIC'
8259
 
      lt_prog_compiler_static='-Bstatic'
8260
 
      ;;
8261
 
 
8262
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
8263
 
      lt_prog_compiler_wl='-Wl,'
8264
 
      lt_prog_compiler_pic='-KPIC'
8265
 
      lt_prog_compiler_static='-Bstatic'
8266
 
      ;;
8267
 
 
8268
 
    sysv4*MP*)
8269
 
      if test -d /usr/nec ;then
8270
 
        lt_prog_compiler_pic='-Kconform_pic'
8271
 
        lt_prog_compiler_static='-Bstatic'
8272
 
      fi
8273
 
      ;;
8274
 
 
8275
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8276
 
      lt_prog_compiler_wl='-Wl,'
8277
 
      lt_prog_compiler_pic='-KPIC'
8278
 
      lt_prog_compiler_static='-Bstatic'
8279
 
      ;;
8280
 
 
8281
 
    unicos*)
8282
 
      lt_prog_compiler_wl='-Wl,'
8283
 
      lt_prog_compiler_can_build_shared=no
8284
 
      ;;
8285
 
 
8286
 
    uts4*)
8287
 
      lt_prog_compiler_pic='-pic'
8288
 
      lt_prog_compiler_static='-Bstatic'
8289
 
      ;;
8290
 
 
8291
 
    *)
8292
 
      lt_prog_compiler_can_build_shared=no
8293
 
      ;;
8294
 
    esac
8295
 
  fi
8296
 
 
8297
 
case $host_os in
8298
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8299
 
  *djgpp*)
8300
 
    lt_prog_compiler_pic=
8301
 
    ;;
8302
 
  *)
8303
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8304
 
    ;;
8305
 
esac
8306
 
 
8307
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8308
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8309
 
if ${lt_cv_prog_compiler_pic+:} false; then :
8310
 
  $as_echo_n "(cached) " >&6
8311
 
else
8312
 
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8313
 
fi
8314
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8315
 
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8316
 
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8317
 
 
8318
 
#
8319
 
# Check to make sure the PIC flag actually works.
8320
 
#
8321
 
if test -n "$lt_prog_compiler_pic"; then
8322
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8323
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8324
 
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8325
 
  $as_echo_n "(cached) " >&6
8326
 
else
8327
 
  lt_cv_prog_compiler_pic_works=no
8328
 
   ac_outfile=conftest.$ac_objext
8329
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8330
 
   lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8331
 
   # Insert the option either (1) after the last *FLAGS variable, or
8332
 
   # (2) before a word containing "conftest.", or (3) at the end.
8333
 
   # Note that $ac_compile itself does not contain backslashes and begins
8334
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8335
 
   # The option is referenced via a variable to avoid confusing sed.
8336
 
   lt_compile=`echo "$ac_compile" | $SED \
8337
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8338
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8339
 
   -e 's:$: $lt_compiler_flag:'`
8340
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8341
 
   (eval "$lt_compile" 2>conftest.err)
8342
 
   ac_status=$?
8343
 
   cat conftest.err >&5
8344
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8345
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8346
 
     # The compiler can only warn and ignore the option if not recognized
8347
 
     # So say no if there are warnings other than the usual output.
8348
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8349
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8350
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8351
 
       lt_cv_prog_compiler_pic_works=yes
8352
 
     fi
8353
 
   fi
8354
 
   $RM conftest*
8355
 
 
8356
 
fi
8357
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8358
 
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8359
 
 
8360
 
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8361
 
    case $lt_prog_compiler_pic in
8362
 
     "" | " "*) ;;
8363
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8364
 
     esac
8365
 
else
8366
 
    lt_prog_compiler_pic=
8367
 
     lt_prog_compiler_can_build_shared=no
8368
 
fi
8369
 
 
8370
 
fi
8371
 
 
8372
 
    
8373
 
    
8374
 
    
8375
 
 
8376
 
 
8377
 
 
8378
 
    
8379
 
    
8380
 
    
8381
 
 
8382
 
#
8383
 
# Check to make sure the static flag actually works.
8384
 
#
8385
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8386
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8387
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8388
 
if ${lt_cv_prog_compiler_static_works+:} false; then :
8389
 
  $as_echo_n "(cached) " >&6
8390
 
else
8391
 
  lt_cv_prog_compiler_static_works=no
8392
 
   save_LDFLAGS="$LDFLAGS"
8393
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8394
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8395
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8396
 
     # The linker can only warn and ignore the option if not recognized
8397
 
     # So say no if there are warnings
8398
 
     if test -s conftest.err; then
8399
 
       # Append any errors to the config.log.
8400
 
       cat conftest.err 1>&5
8401
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8402
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8403
 
       if diff conftest.exp conftest.er2 >/dev/null; then
8404
 
         lt_cv_prog_compiler_static_works=yes
8405
 
       fi
8406
 
     else
8407
 
       lt_cv_prog_compiler_static_works=yes
8408
 
     fi
8409
 
   fi
8410
 
   $RM -r conftest*
8411
 
   LDFLAGS="$save_LDFLAGS"
8412
 
 
8413
 
fi
8414
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8415
 
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8416
 
 
8417
 
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8418
 
    :
8419
 
else
8420
 
    lt_prog_compiler_static=
8421
 
fi
8422
 
 
8423
 
 
8424
 
    
8425
 
    
8426
 
    
8427
 
 
8428
 
 
8429
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8430
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8431
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
8432
 
  $as_echo_n "(cached) " >&6
8433
 
else
8434
 
  lt_cv_prog_compiler_c_o=no
8435
 
   $RM -r conftest 2>/dev/null
8436
 
   mkdir conftest
8437
 
   cd conftest
8438
 
   mkdir out
8439
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8440
 
 
8441
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8442
 
   # Insert the option either (1) after the last *FLAGS variable, or
8443
 
   # (2) before a word containing "conftest.", or (3) at the end.
8444
 
   # Note that $ac_compile itself does not contain backslashes and begins
8445
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8446
 
   lt_compile=`echo "$ac_compile" | $SED \
8447
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8448
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8449
 
   -e 's:$: $lt_compiler_flag:'`
8450
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8451
 
   (eval "$lt_compile" 2>out/conftest.err)
8452
 
   ac_status=$?
8453
 
   cat out/conftest.err >&5
8454
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8455
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8456
 
   then
8457
 
     # The compiler can only warn and ignore the option if not recognized
8458
 
     # So say no if there are warnings
8459
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8460
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8461
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8462
 
       lt_cv_prog_compiler_c_o=yes
8463
 
     fi
8464
 
   fi
8465
 
   chmod u+w . 2>&5
8466
 
   $RM conftest*
8467
 
   # SGI C++ compiler will create directory out/ii_files/ for
8468
 
   # template instantiation
8469
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8470
 
   $RM out/* && rmdir out
8471
 
   cd ..
8472
 
   $RM -r conftest
8473
 
   $RM conftest*
8474
 
 
8475
 
fi
8476
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8477
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8478
 
 
8479
 
    
8480
 
    
8481
 
    
8482
 
 
8483
 
 
8484
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8485
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8486
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
8487
 
  $as_echo_n "(cached) " >&6
8488
 
else
8489
 
  lt_cv_prog_compiler_c_o=no
8490
 
   $RM -r conftest 2>/dev/null
8491
 
   mkdir conftest
8492
 
   cd conftest
8493
 
   mkdir out
8494
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8495
 
 
8496
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8497
 
   # Insert the option either (1) after the last *FLAGS variable, or
8498
 
   # (2) before a word containing "conftest.", or (3) at the end.
8499
 
   # Note that $ac_compile itself does not contain backslashes and begins
8500
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8501
 
   lt_compile=`echo "$ac_compile" | $SED \
8502
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8503
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8504
 
   -e 's:$: $lt_compiler_flag:'`
8505
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8506
 
   (eval "$lt_compile" 2>out/conftest.err)
8507
 
   ac_status=$?
8508
 
   cat out/conftest.err >&5
8509
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8510
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8511
 
   then
8512
 
     # The compiler can only warn and ignore the option if not recognized
8513
 
     # So say no if there are warnings
8514
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8515
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8516
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8517
 
       lt_cv_prog_compiler_c_o=yes
8518
 
     fi
8519
 
   fi
8520
 
   chmod u+w . 2>&5
8521
 
   $RM conftest*
8522
 
   # SGI C++ compiler will create directory out/ii_files/ for
8523
 
   # template instantiation
8524
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8525
 
   $RM out/* && rmdir out
8526
 
   cd ..
8527
 
   $RM -r conftest
8528
 
   $RM conftest*
8529
 
 
8530
 
fi
8531
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8532
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8533
 
 
8534
 
 
8535
 
 
8536
 
 
8537
 
hard_links="nottested"
8538
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8539
 
  # do not overwrite the value of need_locks provided by the user
8540
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8541
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
8542
 
  hard_links=yes
8543
 
  $RM conftest*
8544
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8545
 
  touch conftest.a
8546
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
8547
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8548
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8549
 
$as_echo "$hard_links" >&6; }
8550
 
  if test "$hard_links" = no; then
8551
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8552
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8553
 
    need_locks=warn
8554
 
  fi
8555
 
else
8556
 
  need_locks=no
8557
 
fi
8558
 
 
8559
 
    
8560
 
    
8561
 
    
8562
 
 
8563
 
 
8564
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8565
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8566
 
 
8567
 
  runpath_var=
8568
 
  allow_undefined_flag=
8569
 
  always_export_symbols=no
8570
 
  archive_cmds=
8571
 
  archive_expsym_cmds=
8572
 
  compiler_needs_object=no
8573
 
  enable_shared_with_static_runtimes=no
8574
 
  export_dynamic_flag_spec=
8575
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8576
 
  hardcode_automatic=no
8577
 
  hardcode_direct=no
8578
 
  hardcode_direct_absolute=no
8579
 
  hardcode_libdir_flag_spec=
8580
 
  hardcode_libdir_separator=
8581
 
  hardcode_minus_L=no
8582
 
  hardcode_shlibpath_var=unsupported
8583
 
  inherit_rpath=no
8584
 
  link_all_deplibs=unknown
8585
 
  module_cmds=
8586
 
  module_expsym_cmds=
8587
 
  old_archive_from_new_cmds=
8588
 
  old_archive_from_expsyms_cmds=
8589
 
  thread_safe_flag_spec=
8590
 
  whole_archive_flag_spec=
8591
 
  # include_expsyms should be a list of space-separated symbols to be *always*
8592
 
  # included in the symbol list
8593
 
  include_expsyms=
8594
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
8595
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8596
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8597
 
  # as well as any symbol that contains `d'.
8598
 
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8599
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8600
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
8601
 
  # the symbol is explicitly referenced.  Since portable code cannot
8602
 
  # rely on this symbol name, it's probably fine to never include it in
8603
 
  # preloaded symbol tables.
8604
 
  # Exclude shared library initialization/finalization symbols.
8605
 
  extract_expsyms_cmds=
8606
 
 
8607
 
  case $host_os in
8608
 
  cygwin* | mingw* | pw32* | cegcc*)
8609
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8610
 
    # When not using gcc, we currently assume that we are using
8611
 
    # Microsoft Visual C++.
8612
 
    if test "$GCC" != yes; then
8613
 
      with_gnu_ld=no
8614
 
    fi
8615
 
    ;;
8616
 
  interix*)
8617
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
8618
 
    with_gnu_ld=yes
8619
 
    ;;
8620
 
  openbsd*)
8621
 
    with_gnu_ld=no
8622
 
    ;;
8623
 
  linux* | k*bsd*-gnu | gnu*)
8624
 
    link_all_deplibs=no
8625
 
    ;;
8626
 
  esac
8627
 
 
8628
 
  ld_shlibs=yes
8629
 
 
8630
 
  # On some targets, GNU ld is compatible enough with the native linker
8631
 
  # that we're better off using the native interface for both.
8632
 
  lt_use_gnu_ld_interface=no
8633
 
  if test "$with_gnu_ld" = yes; then
8634
 
    case $host_os in
8635
 
      aix*)
8636
 
        # The AIX port of GNU ld has always aspired to compatibility
8637
 
        # with the native linker.  However, as the warning in the GNU ld
8638
 
        # block says, versions before 2.19.5* couldn't really create working
8639
 
        # shared libraries, regardless of the interface used.
8640
 
        case `$LD -v 2>&1` in
8641
 
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8642
 
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8643
 
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8644
 
          *)
8645
 
            lt_use_gnu_ld_interface=yes
8646
 
            ;;
8647
 
        esac
8648
 
        ;;
8649
 
      *)
8650
 
        lt_use_gnu_ld_interface=yes
8651
 
        ;;
8652
 
    esac
8653
 
  fi
8654
 
 
8655
 
  if test "$lt_use_gnu_ld_interface" = yes; then
8656
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
8657
 
    wlarc='${wl}'
8658
 
 
8659
 
    # Set some defaults for GNU ld with shared library support. These
8660
 
    # are reset later if shared libraries are not supported. Putting them
8661
 
    # here allows them to be overridden if necessary.
8662
 
    runpath_var=LD_RUN_PATH
8663
 
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8664
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
8665
 
    # ancient GNU ld didn't support --whole-archive et. al.
8666
 
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8667
 
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8668
 
    else
8669
 
      whole_archive_flag_spec=
8670
 
    fi
8671
 
    supports_anon_versioning=no
8672
 
    case `$LD -v 2>&1` in
8673
 
      *GNU\ gold*) supports_anon_versioning=yes ;;
8674
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8675
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8676
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8677
 
      *\ 2.11.*) ;; # other 2.11 versions
8678
 
      *) supports_anon_versioning=yes ;;
8679
 
    esac
8680
 
 
8681
 
    # See if GNU ld supports shared libraries.
8682
 
    case $host_os in
8683
 
    aix[3-9]*)
8684
 
      # On AIX/PPC, the GNU linker is very broken
8685
 
      if test "$host_cpu" != ia64; then
8686
 
        ld_shlibs=no
8687
 
        cat <<_LT_EOF 1>&2
8688
 
 
8689
 
*** Warning: the GNU linker, at least up to release 2.19, is reported
8690
 
*** to be unable to reliably create shared libraries on AIX.
8691
 
*** Therefore, libtool is disabling shared libraries support.  If you
8692
 
*** really care for shared libraries, you may want to install binutils
8693
 
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8694
 
*** You will then need to restart the configuration process.
8695
 
 
8696
 
_LT_EOF
8697
 
      fi
8698
 
      ;;
8699
 
 
8700
 
    amigaos*)
8701
 
      case $host_cpu in
8702
 
      powerpc)
8703
 
            # see comment about AmigaOS4 .so support
8704
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8705
 
            archive_expsym_cmds=''
8706
 
        ;;
8707
 
      m68k)
8708
 
            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)'
8709
 
            hardcode_libdir_flag_spec='-L$libdir'
8710
 
            hardcode_minus_L=yes
8711
 
        ;;
8712
 
      esac
8713
 
      ;;
8714
 
 
8715
 
    beos*)
8716
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8717
 
        allow_undefined_flag=unsupported
8718
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8719
 
        # support --undefined.  This deserves some investigation.  FIXME
8720
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8721
 
      else
8722
 
        ld_shlibs=no
8723
 
      fi
8724
 
      ;;
8725
 
 
8726
 
    cygwin* | mingw* | pw32* | cegcc*)
8727
 
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8728
 
      # as there is no search path for DLLs.
8729
 
      hardcode_libdir_flag_spec='-L$libdir'
8730
 
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8731
 
      allow_undefined_flag=unsupported
8732
 
      always_export_symbols=no
8733
 
      enable_shared_with_static_runtimes=yes
8734
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8735
 
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8736
 
 
8737
 
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8738
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8739
 
        # If the export-symbols file already is a .def file (1st line
8740
 
        # is EXPORTS), use it as is; otherwise, prepend...
8741
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8742
 
          cp $export_symbols $output_objdir/$soname.def;
8743
 
        else
8744
 
          echo EXPORTS > $output_objdir/$soname.def;
8745
 
          cat $export_symbols >> $output_objdir/$soname.def;
8746
 
        fi~
8747
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8748
 
      else
8749
 
        ld_shlibs=no
8750
 
      fi
8751
 
      ;;
8752
 
 
8753
 
    haiku*)
8754
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8755
 
      link_all_deplibs=yes
8756
 
      ;;
8757
 
 
8758
 
    interix[3-9]*)
8759
 
      hardcode_direct=no
8760
 
      hardcode_shlibpath_var=no
8761
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8762
 
      export_dynamic_flag_spec='${wl}-E'
8763
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8764
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
8765
 
      # default) and relocated if they conflict, which is a slow very memory
8766
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
8767
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8768
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8769
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8770
 
      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'
8771
 
      ;;
8772
 
 
8773
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8774
 
      tmp_diet=no
8775
 
      if test "$host_os" = linux-dietlibc; then
8776
 
        case $cc_basename in
8777
 
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8778
 
        esac
8779
 
      fi
8780
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8781
 
         && test "$tmp_diet" = no
8782
 
      then
8783
 
        tmp_addflag=' $pic_flag'
8784
 
        tmp_sharedflag='-shared'
8785
 
        case $cc_basename,$host_cpu in
8786
 
        pgcc*)                          # Portland Group C compiler
8787
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8788
 
          tmp_addflag=' $pic_flag'
8789
 
          ;;
8790
 
        pgf77* | pgf90* | pgf95* | pgfortran*)
8791
 
                                        # Portland Group f77 and f90 compilers
8792
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8793
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
8794
 
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8795
 
          tmp_addflag=' -i_dynamic' ;;
8796
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8797
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
8798
 
        ifc* | ifort*)                  # Intel Fortran compiler
8799
 
          tmp_addflag=' -nofor_main' ;;
8800
 
        lf95*)                          # Lahey Fortran 8.1
8801
 
          whole_archive_flag_spec=
8802
 
          tmp_sharedflag='--shared' ;;
8803
 
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8804
 
          tmp_sharedflag='-qmkshrobj'
8805
 
          tmp_addflag= ;;
8806
 
        nvcc*)  # Cuda Compiler Driver 2.2
8807
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8808
 
          compiler_needs_object=yes
8809
 
          ;;
8810
 
        esac
8811
 
        case `$CC -V 2>&1 | sed 5q` in
8812
 
        *Sun\ C*)                       # Sun C 5.9
8813
 
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8814
 
          compiler_needs_object=yes
8815
 
          tmp_sharedflag='-G' ;;
8816
 
        *Sun\ F*)                       # Sun Fortran 8.3
8817
 
          tmp_sharedflag='-G' ;;
8818
 
        esac
8819
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8820
 
 
8821
 
        if test "x$supports_anon_versioning" = xyes; then
8822
 
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8823
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8824
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
8825
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8826
 
        fi
8827
 
 
8828
 
        case $cc_basename in
8829
 
        xlf* | bgf* | bgxlf* | mpixlf*)
8830
 
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8831
 
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8832
 
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8833
 
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8834
 
          if test "x$supports_anon_versioning" = xyes; then
8835
 
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8836
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8837
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
8838
 
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8839
 
          fi
8840
 
          ;;
8841
 
        esac
8842
 
      else
8843
 
        ld_shlibs=no
8844
 
      fi
8845
 
      ;;
8846
 
 
8847
 
    netbsd* | netbsdelf*-gnu)
8848
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8849
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8850
 
        wlarc=
8851
 
      else
8852
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8853
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8854
 
      fi
8855
 
      ;;
8856
 
 
8857
 
    solaris*)
8858
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8859
 
        ld_shlibs=no
8860
 
        cat <<_LT_EOF 1>&2
8861
 
 
8862
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8863
 
*** create shared libraries on Solaris systems.  Therefore, libtool
8864
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
8865
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
8866
 
*** your PATH or compiler configuration so that the native linker is
8867
 
*** used, and then restart.
8868
 
 
8869
 
_LT_EOF
8870
 
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8871
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8872
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8873
 
      else
8874
 
        ld_shlibs=no
8875
 
      fi
8876
 
      ;;
8877
 
 
8878
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8879
 
      case `$LD -v 2>&1` in
8880
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8881
 
        ld_shlibs=no
8882
 
        cat <<_LT_EOF 1>&2
8883
 
 
8884
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8885
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
8886
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
8887
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8888
 
*** your PATH or compiler configuration so that the native linker is
8889
 
*** used, and then restart.
8890
 
 
8891
 
_LT_EOF
8892
 
        ;;
8893
 
        *)
8894
 
          # For security reasons, it is highly recommended that you always
8895
 
          # use absolute paths for naming shared libraries, and exclude the
8896
 
          # DT_RUNPATH tag from executables and libraries.  But doing so
8897
 
          # requires that you compile everything twice, which is a pain.
8898
 
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8899
 
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8900
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8901
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8902
 
          else
8903
 
            ld_shlibs=no
8904
 
          fi
8905
 
        ;;
8906
 
      esac
8907
 
      ;;
8908
 
 
8909
 
    sunos4*)
8910
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8911
 
      wlarc=
8912
 
      hardcode_direct=yes
8913
 
      hardcode_shlibpath_var=no
8914
 
      ;;
8915
 
 
8916
 
    *)
8917
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8918
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8919
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8920
 
      else
8921
 
        ld_shlibs=no
8922
 
      fi
8923
 
      ;;
8924
 
    esac
8925
 
 
8926
 
    if test "$ld_shlibs" = no; then
8927
 
      runpath_var=
8928
 
      hardcode_libdir_flag_spec=
8929
 
      export_dynamic_flag_spec=
8930
 
      whole_archive_flag_spec=
8931
 
    fi
8932
 
  else
8933
 
    # PORTME fill in a description of your system's linker (not GNU ld)
8934
 
    case $host_os in
8935
 
    aix3*)
8936
 
      allow_undefined_flag=unsupported
8937
 
      always_export_symbols=yes
8938
 
      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'
8939
 
      # Note: this linker hardcodes the directories in LIBPATH if there
8940
 
      # are no directories specified by -L.
8941
 
      hardcode_minus_L=yes
8942
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8943
 
        # Neither direct hardcoding nor static linking is supported with a
8944
 
        # broken collect2.
8945
 
        hardcode_direct=unsupported
8946
 
      fi
8947
 
      ;;
8948
 
 
8949
 
    aix[4-9]*)
8950
 
      if test "$host_cpu" = ia64; then
8951
 
        # On IA64, the linker does run time linking by default, so we don't
8952
 
        # have to do anything special.
8953
 
        aix_use_runtimelinking=no
8954
 
        exp_sym_flag='-Bexport'
8955
 
        no_entry_flag=""
8956
 
      else
8957
 
        # If we're using GNU nm, then we don't want the "-C" option.
8958
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
8959
 
        # Also, AIX nm treats weak defined symbols like other global
8960
 
        # defined symbols, whereas GNU nm marks them as "W".
8961
 
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8962
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8963
 
        else
8964
 
          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'
8965
 
        fi
8966
 
        aix_use_runtimelinking=no
8967
 
 
8968
 
        # Test if we are trying to use run time linking or normal
8969
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8970
 
        # need to do runtime linking.
8971
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8972
 
          for ld_flag in $LDFLAGS; do
8973
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8974
 
            aix_use_runtimelinking=yes
8975
 
            break
8976
 
          fi
8977
 
          done
8978
 
          ;;
8979
 
        esac
8980
 
 
8981
 
        exp_sym_flag='-bexport'
8982
 
        no_entry_flag='-bnoentry'
8983
 
      fi
8984
 
 
8985
 
      # When large executables or shared objects are built, AIX ld can
8986
 
      # have problems creating the table of contents.  If linking a library
8987
 
      # or program results in "error TOC overflow" add -mminimal-toc to
8988
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8989
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8990
 
 
8991
 
      archive_cmds=''
8992
 
      hardcode_direct=yes
8993
 
      hardcode_direct_absolute=yes
8994
 
      hardcode_libdir_separator=':'
8995
 
      link_all_deplibs=yes
8996
 
      file_list_spec='${wl}-f,'
8997
 
 
8998
 
      if test "$GCC" = yes; then
8999
 
        case $host_os in aix4.[012]|aix4.[012].*)
9000
 
        # We only want to do this on AIX 4.2 and lower, the check
9001
 
        # below for broken collect2 doesn't work under 4.3+
9002
 
          collect2name=`${CC} -print-prog-name=collect2`
9003
 
          if test -f "$collect2name" &&
9004
 
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9005
 
          then
9006
 
          # We have reworked collect2
9007
 
          :
9008
 
          else
9009
 
          # We have old collect2
9010
 
          hardcode_direct=unsupported
9011
 
          # It fails to find uninstalled libraries when the uninstalled
9012
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
9013
 
          # to unsupported forces relinking
9014
 
          hardcode_minus_L=yes
9015
 
          hardcode_libdir_flag_spec='-L$libdir'
9016
 
          hardcode_libdir_separator=
9017
 
          fi
9018
 
          ;;
9019
 
        esac
9020
 
        shared_flag='-shared'
9021
 
        if test "$aix_use_runtimelinking" = yes; then
9022
 
          shared_flag="$shared_flag "'${wl}-G'
9023
 
        fi
9024
 
        link_all_deplibs=no
9025
 
      else
9026
 
        # not using gcc
9027
 
        if test "$host_cpu" = ia64; then
9028
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9029
 
        # chokes on -Wl,-G. The following line is correct:
9030
 
          shared_flag='-G'
9031
 
        else
9032
 
          if test "$aix_use_runtimelinking" = yes; then
9033
 
            shared_flag='${wl}-G'
9034
 
          else
9035
 
            shared_flag='${wl}-bM:SRE'
9036
 
          fi
9037
 
        fi
9038
 
      fi
9039
 
 
9040
 
      export_dynamic_flag_spec='${wl}-bexpall'
9041
 
      # It seems that -bexpall does not export symbols beginning with
9042
 
      # underscore (_), so it is better to generate a list of symbols to export.
9043
 
      always_export_symbols=yes
9044
 
      if test "$aix_use_runtimelinking" = yes; then
9045
 
        # Warning - without using the other runtime loading flags (-brtl),
9046
 
        # -berok will link without error, but may produce a broken library.
9047
 
        allow_undefined_flag='-berok'
9048
 
        # Determine the default libpath from the value encoded in an
9049
 
        # empty executable.
9050
 
        if test "${lt_cv_aix_libpath+set}" = set; then
9051
 
  aix_libpath=$lt_cv_aix_libpath
9052
 
else
9053
 
  if ${lt_cv_aix_libpath_+:} false; then :
9054
 
  $as_echo_n "(cached) " >&6
9055
 
else
9056
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9057
 
/* end confdefs.h.  */
9058
 
 
9059
 
int
9060
 
main ()
9061
 
{
9062
 
 
9063
 
  ;
9064
 
  return 0;
9065
 
}
9066
 
_ACEOF
9067
 
if ac_fn_c_try_link "$LINENO"; then :
9068
 
  
9069
 
  lt_aix_libpath_sed='
9070
 
      /Import File Strings/,/^$/ {
9071
 
          /^0/ {
9072
 
              s/^0  *\([^ ]*\) *$/\1/
9073
 
              p
9074
 
          }
9075
 
      }'
9076
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9077
 
  # Check for a 64-bit object if we didn't find anything.
9078
 
  if test -z "$lt_cv_aix_libpath_"; then
9079
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9080
 
  fi
9081
 
fi
9082
 
rm -f core conftest.err conftest.$ac_objext \
9083
 
    conftest$ac_exeext conftest.$ac_ext
9084
 
  if test -z "$lt_cv_aix_libpath_"; then
9085
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
9086
 
  fi
9087
 
  
9088
 
fi
9089
 
 
9090
 
  aix_libpath=$lt_cv_aix_libpath_
9091
 
fi
9092
 
 
9093
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9094
 
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9095
 
      else
9096
 
        if test "$host_cpu" = ia64; then
9097
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9098
 
          allow_undefined_flag="-z nodefs"
9099
 
          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"
9100
 
        else
9101
 
         # Determine the default libpath from the value encoded in an
9102
 
         # empty executable.
9103
 
         if test "${lt_cv_aix_libpath+set}" = set; then
9104
 
  aix_libpath=$lt_cv_aix_libpath
9105
 
else
9106
 
  if ${lt_cv_aix_libpath_+:} false; then :
9107
 
  $as_echo_n "(cached) " >&6
9108
 
else
9109
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9110
 
/* end confdefs.h.  */
9111
 
 
9112
 
int
9113
 
main ()
9114
 
{
9115
 
 
9116
 
  ;
9117
 
  return 0;
9118
 
}
9119
 
_ACEOF
9120
 
if ac_fn_c_try_link "$LINENO"; then :
9121
 
  
9122
 
  lt_aix_libpath_sed='
9123
 
      /Import File Strings/,/^$/ {
9124
 
          /^0/ {
9125
 
              s/^0  *\([^ ]*\) *$/\1/
9126
 
              p
9127
 
          }
9128
 
      }'
9129
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9130
 
  # Check for a 64-bit object if we didn't find anything.
9131
 
  if test -z "$lt_cv_aix_libpath_"; then
9132
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9133
 
  fi
9134
 
fi
9135
 
rm -f core conftest.err conftest.$ac_objext \
9136
 
    conftest$ac_exeext conftest.$ac_ext
9137
 
  if test -z "$lt_cv_aix_libpath_"; then
9138
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
9139
 
  fi
9140
 
  
9141
 
fi
9142
 
 
9143
 
  aix_libpath=$lt_cv_aix_libpath_
9144
 
fi
9145
 
 
9146
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9147
 
          # Warning - without using the other run time loading flags,
9148
 
          # -berok will link without error, but may produce a broken library.
9149
 
          no_undefined_flag=' ${wl}-bernotok'
9150
 
          allow_undefined_flag=' ${wl}-berok'
9151
 
          if test "$with_gnu_ld" = yes; then
9152
 
            # We only use this code for GNU lds that support --whole-archive.
9153
 
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9154
 
          else
9155
 
            # Exported symbols can be pulled into shared objects from archives
9156
 
            whole_archive_flag_spec='$convenience'
9157
 
          fi
9158
 
          archive_cmds_need_lc=yes
9159
 
          # This is similar to how AIX traditionally builds its shared libraries.
9160
 
          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'
9161
 
        fi
9162
 
      fi
9163
 
      ;;
9164
 
 
9165
 
    amigaos*)
9166
 
      case $host_cpu in
9167
 
      powerpc)
9168
 
            # see comment about AmigaOS4 .so support
9169
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9170
 
            archive_expsym_cmds=''
9171
 
        ;;
9172
 
      m68k)
9173
 
            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)'
9174
 
            hardcode_libdir_flag_spec='-L$libdir'
9175
 
            hardcode_minus_L=yes
9176
 
        ;;
9177
 
      esac
9178
 
      ;;
9179
 
 
9180
 
    bsdi[45]*)
9181
 
      export_dynamic_flag_spec=-rdynamic
9182
 
      ;;
9183
 
 
9184
 
    cygwin* | mingw* | pw32* | cegcc*)
9185
 
      # When not using gcc, we currently assume that we are using
9186
 
      # Microsoft Visual C++.
9187
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9188
 
      # no search path for DLLs.
9189
 
      case $cc_basename in
9190
 
      cl*)
9191
 
        # Native MSVC
9192
 
        hardcode_libdir_flag_spec=' '
9193
 
        allow_undefined_flag=unsupported
9194
 
        always_export_symbols=yes
9195
 
        file_list_spec='@'
9196
 
        # Tell ltmain to make .lib files, not .a files.
9197
 
        libext=lib
9198
 
        # Tell ltmain to make .dll files, not .so files.
9199
 
        shrext_cmds=".dll"
9200
 
        # FIXME: Setting linknames here is a bad hack.
9201
 
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9202
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9203
 
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9204
 
          else
9205
 
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9206
 
          fi~
9207
 
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9208
 
          linknames='
9209
 
        # The linker will not automatically build a static lib if we build a DLL.
9210
 
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9211
 
        enable_shared_with_static_runtimes=yes
9212
 
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9213
 
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9214
 
        # Don't use ranlib
9215
 
        old_postinstall_cmds='chmod 644 $oldlib'
9216
 
        postlink_cmds='lt_outputfile="@OUTPUT@"~
9217
 
          lt_tool_outputfile="@TOOL_OUTPUT@"~
9218
 
          case $lt_outputfile in
9219
 
            *.exe|*.EXE) ;;
9220
 
            *)
9221
 
              lt_outputfile="$lt_outputfile.exe"
9222
 
              lt_tool_outputfile="$lt_tool_outputfile.exe"
9223
 
              ;;
9224
 
          esac~
9225
 
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9226
 
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9227
 
            $RM "$lt_outputfile.manifest";
9228
 
          fi'
9229
 
        ;;
9230
 
      *)
9231
 
        # Assume MSVC wrapper
9232
 
        hardcode_libdir_flag_spec=' '
9233
 
        allow_undefined_flag=unsupported
9234
 
        # Tell ltmain to make .lib files, not .a files.
9235
 
        libext=lib
9236
 
        # Tell ltmain to make .dll files, not .so files.
9237
 
        shrext_cmds=".dll"
9238
 
        # FIXME: Setting linknames here is a bad hack.
9239
 
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9240
 
        # The linker will automatically build a .lib file if we build a DLL.
9241
 
        old_archive_from_new_cmds='true'
9242
 
        # FIXME: Should let the user specify the lib program.
9243
 
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9244
 
        enable_shared_with_static_runtimes=yes
9245
 
        ;;
9246
 
      esac
9247
 
      ;;
9248
 
 
9249
 
    darwin* | rhapsody*)
9250
 
      
9251
 
  
9252
 
  archive_cmds_need_lc=no
9253
 
  hardcode_direct=no
9254
 
  hardcode_automatic=yes
9255
 
  hardcode_shlibpath_var=unsupported
9256
 
  if test "$lt_cv_ld_force_load" = "yes"; then
9257
 
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9258
 
    
9259
 
  else
9260
 
    whole_archive_flag_spec=''
9261
 
  fi
9262
 
  link_all_deplibs=yes
9263
 
  allow_undefined_flag="$_lt_dar_allow_undefined"
9264
 
  case $cc_basename in
9265
 
     ifort*) _lt_dar_can_shared=yes ;;
9266
 
     *) _lt_dar_can_shared=$GCC ;;
9267
 
  esac
9268
 
  if test "$_lt_dar_can_shared" = "yes"; then
9269
 
    output_verbose_link_cmd=func_echo_all
9270
 
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9271
 
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9272
 
    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}"
9273
 
    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}"
9274
 
    
9275
 
  else
9276
 
  ld_shlibs=no
9277
 
  fi
9278
 
 
9279
 
      ;;
9280
 
 
9281
 
    dgux*)
9282
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9283
 
      hardcode_libdir_flag_spec='-L$libdir'
9284
 
      hardcode_shlibpath_var=no
9285
 
      ;;
9286
 
 
9287
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9288
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
9289
 
    # does not break anything, and helps significantly (at the cost of a little
9290
 
    # extra space).
9291
 
    freebsd2.2*)
9292
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9293
 
      hardcode_libdir_flag_spec='-R$libdir'
9294
 
      hardcode_direct=yes
9295
 
      hardcode_shlibpath_var=no
9296
 
      ;;
9297
 
 
9298
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9299
 
    freebsd2.*)
9300
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9301
 
      hardcode_direct=yes
9302
 
      hardcode_minus_L=yes
9303
 
      hardcode_shlibpath_var=no
9304
 
      ;;
9305
 
 
9306
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9307
 
    freebsd* | dragonfly*)
9308
 
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9309
 
      hardcode_libdir_flag_spec='-R$libdir'
9310
 
      hardcode_direct=yes
9311
 
      hardcode_shlibpath_var=no
9312
 
      ;;
9313
 
 
9314
 
    hpux9*)
9315
 
      if test "$GCC" = yes; then
9316
 
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9317
 
      else
9318
 
        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'
9319
 
      fi
9320
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9321
 
      hardcode_libdir_separator=:
9322
 
      hardcode_direct=yes
9323
 
 
9324
 
      # hardcode_minus_L: Not really in the search PATH,
9325
 
      # but as the default location of the library.
9326
 
      hardcode_minus_L=yes
9327
 
      export_dynamic_flag_spec='${wl}-E'
9328
 
      ;;
9329
 
 
9330
 
    hpux10*)
9331
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9332
 
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9333
 
      else
9334
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9335
 
      fi
9336
 
      if test "$with_gnu_ld" = no; then
9337
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9338
 
        hardcode_libdir_separator=:
9339
 
        hardcode_direct=yes
9340
 
        hardcode_direct_absolute=yes
9341
 
        export_dynamic_flag_spec='${wl}-E'
9342
 
        # hardcode_minus_L: Not really in the search PATH,
9343
 
        # but as the default location of the library.
9344
 
        hardcode_minus_L=yes
9345
 
      fi
9346
 
      ;;
9347
 
 
9348
 
    hpux11*)
9349
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9350
 
        case $host_cpu in
9351
 
        hppa*64*)
9352
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9353
 
          ;;
9354
 
        ia64*)
9355
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9356
 
          ;;
9357
 
        *)
9358
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9359
 
          ;;
9360
 
        esac
9361
 
      else
9362
 
        case $host_cpu in
9363
 
        hppa*64*)
9364
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9365
 
          ;;
9366
 
        ia64*)
9367
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9368
 
          ;;
9369
 
        *)
9370
 
        
9371
 
          # Older versions of the 11.00 compiler do not understand -b yet
9372
 
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9373
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9374
 
$as_echo_n "checking if $CC understands -b... " >&6; }
9375
 
if ${lt_cv_prog_compiler__b+:} false; then :
9376
 
  $as_echo_n "(cached) " >&6
9377
 
else
9378
 
  lt_cv_prog_compiler__b=no
9379
 
   save_LDFLAGS="$LDFLAGS"
9380
 
   LDFLAGS="$LDFLAGS -b"
9381
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9382
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9383
 
     # The linker can only warn and ignore the option if not recognized
9384
 
     # So say no if there are warnings
9385
 
     if test -s conftest.err; then
9386
 
       # Append any errors to the config.log.
9387
 
       cat conftest.err 1>&5
9388
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9389
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9390
 
       if diff conftest.exp conftest.er2 >/dev/null; then
9391
 
         lt_cv_prog_compiler__b=yes
9392
 
       fi
9393
 
     else
9394
 
       lt_cv_prog_compiler__b=yes
9395
 
     fi
9396
 
   fi
9397
 
   $RM -r conftest*
9398
 
   LDFLAGS="$save_LDFLAGS"
9399
 
 
9400
 
fi
9401
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9402
 
$as_echo "$lt_cv_prog_compiler__b" >&6; }
9403
 
 
9404
 
if test x"$lt_cv_prog_compiler__b" = xyes; then
9405
 
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9406
 
else
9407
 
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9408
 
fi
9409
 
 
9410
 
          ;;
9411
 
        esac
9412
 
      fi
9413
 
      if test "$with_gnu_ld" = no; then
9414
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9415
 
        hardcode_libdir_separator=:
9416
 
 
9417
 
        case $host_cpu in
9418
 
        hppa*64*|ia64*)
9419
 
          hardcode_direct=no
9420
 
          hardcode_shlibpath_var=no
9421
 
          ;;
9422
 
        *)
9423
 
          hardcode_direct=yes
9424
 
          hardcode_direct_absolute=yes
9425
 
          export_dynamic_flag_spec='${wl}-E'
9426
 
 
9427
 
          # hardcode_minus_L: Not really in the search PATH,
9428
 
          # but as the default location of the library.
9429
 
          hardcode_minus_L=yes
9430
 
          ;;
9431
 
        esac
9432
 
      fi
9433
 
      ;;
9434
 
 
9435
 
    irix5* | irix6* | nonstopux*)
9436
 
      if test "$GCC" = yes; then
9437
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9438
 
        # Try to use the -exported_symbol ld option, if it does not
9439
 
        # work, assume that -exports_file does not work either and
9440
 
        # implicitly export all symbols.
9441
 
        # This should be the same for all languages, so no per-tag cache variable.
9442
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9443
 
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9444
 
if ${lt_cv_irix_exported_symbol+:} false; then :
9445
 
  $as_echo_n "(cached) " >&6
9446
 
else
9447
 
  save_LDFLAGS="$LDFLAGS"
9448
 
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9449
 
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9450
 
/* end confdefs.h.  */
9451
 
int foo (void) { return 0; }
9452
 
_ACEOF
9453
 
if ac_fn_c_try_link "$LINENO"; then :
9454
 
  lt_cv_irix_exported_symbol=yes
9455
 
else
9456
 
  lt_cv_irix_exported_symbol=no
9457
 
fi
9458
 
rm -f core conftest.err conftest.$ac_objext \
9459
 
    conftest$ac_exeext conftest.$ac_ext
9460
 
           LDFLAGS="$save_LDFLAGS"
9461
 
fi
9462
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9463
 
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9464
 
        if test "$lt_cv_irix_exported_symbol" = yes; then
9465
 
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9466
 
        fi
9467
 
      else
9468
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9469
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9470
 
      fi
9471
 
      archive_cmds_need_lc='no'
9472
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9473
 
      hardcode_libdir_separator=:
9474
 
      inherit_rpath=yes
9475
 
      link_all_deplibs=yes
9476
 
      ;;
9477
 
 
9478
 
    netbsd* | netbsdelf*-gnu)
9479
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9480
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9481
 
      else
9482
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9483
 
      fi
9484
 
      hardcode_libdir_flag_spec='-R$libdir'
9485
 
      hardcode_direct=yes
9486
 
      hardcode_shlibpath_var=no
9487
 
      ;;
9488
 
 
9489
 
    newsos6)
9490
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9491
 
      hardcode_direct=yes
9492
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9493
 
      hardcode_libdir_separator=:
9494
 
      hardcode_shlibpath_var=no
9495
 
      ;;
9496
 
 
9497
 
    *nto* | *qnx*)
9498
 
      ;;
9499
 
 
9500
 
    openbsd*)
9501
 
      if test -f /usr/libexec/ld.so; then
9502
 
        hardcode_direct=yes
9503
 
        hardcode_shlibpath_var=no
9504
 
        hardcode_direct_absolute=yes
9505
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9506
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9507
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9508
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9509
 
          export_dynamic_flag_spec='${wl}-E'
9510
 
        else
9511
 
          case $host_os in
9512
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9513
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9514
 
             hardcode_libdir_flag_spec='-R$libdir'
9515
 
             ;;
9516
 
           *)
9517
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9518
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9519
 
             ;;
9520
 
          esac
9521
 
        fi
9522
 
      else
9523
 
        ld_shlibs=no
9524
 
      fi
9525
 
      ;;
9526
 
 
9527
 
    os2*)
9528
 
      hardcode_libdir_flag_spec='-L$libdir'
9529
 
      hardcode_minus_L=yes
9530
 
      allow_undefined_flag=unsupported
9531
 
      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'
9532
 
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9533
 
      ;;
9534
 
 
9535
 
    osf3*)
9536
 
      if test "$GCC" = yes; then
9537
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9538
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9539
 
      else
9540
 
        allow_undefined_flag=' -expect_unresolved \*'
9541
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9542
 
      fi
9543
 
      archive_cmds_need_lc='no'
9544
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9545
 
      hardcode_libdir_separator=:
9546
 
      ;;
9547
 
 
9548
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9549
 
      if test "$GCC" = yes; then
9550
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9551
 
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9552
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9553
 
      else
9554
 
        allow_undefined_flag=' -expect_unresolved \*'
9555
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9556
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9557
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9558
 
 
9559
 
        # Both c and cxx compiler support -rpath directly
9560
 
        hardcode_libdir_flag_spec='-rpath $libdir'
9561
 
      fi
9562
 
      archive_cmds_need_lc='no'
9563
 
      hardcode_libdir_separator=:
9564
 
      ;;
9565
 
 
9566
 
    solaris*)
9567
 
      no_undefined_flag=' -z defs'
9568
 
      if test "$GCC" = yes; then
9569
 
        wlarc='${wl}'
9570
 
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9571
 
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9572
 
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9573
 
      else
9574
 
        case `$CC -V 2>&1` in
9575
 
        *"Compilers 5.0"*)
9576
 
          wlarc=''
9577
 
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9578
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9579
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9580
 
          ;;
9581
 
        *)
9582
 
          wlarc='${wl}'
9583
 
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9584
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9585
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9586
 
          ;;
9587
 
        esac
9588
 
      fi
9589
 
      hardcode_libdir_flag_spec='-R$libdir'
9590
 
      hardcode_shlibpath_var=no
9591
 
      case $host_os in
9592
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
9593
 
      *)
9594
 
        # The compiler driver will combine and reorder linker options,
9595
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
9596
 
        # but is careful enough not to reorder.
9597
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9598
 
        if test "$GCC" = yes; then
9599
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9600
 
        else
9601
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9602
 
        fi
9603
 
        ;;
9604
 
      esac
9605
 
      link_all_deplibs=yes
9606
 
      ;;
9607
 
 
9608
 
    sunos4*)
9609
 
      if test "x$host_vendor" = xsequent; then
9610
 
        # Use $CC to link under sequent, because it throws in some extra .o
9611
 
        # files that make .init and .fini sections work.
9612
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9613
 
      else
9614
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9615
 
      fi
9616
 
      hardcode_libdir_flag_spec='-L$libdir'
9617
 
      hardcode_direct=yes
9618
 
      hardcode_minus_L=yes
9619
 
      hardcode_shlibpath_var=no
9620
 
      ;;
9621
 
 
9622
 
    sysv4)
9623
 
      case $host_vendor in
9624
 
        sni)
9625
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9626
 
          hardcode_direct=yes # is this really true???
9627
 
        ;;
9628
 
        siemens)
9629
 
          ## LD is ld it makes a PLAMLIB
9630
 
          ## CC just makes a GrossModule.
9631
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9632
 
          reload_cmds='$CC -r -o $output$reload_objs'
9633
 
          hardcode_direct=no
9634
 
        ;;
9635
 
        motorola)
9636
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9637
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9638
 
        ;;
9639
 
      esac
9640
 
      runpath_var='LD_RUN_PATH'
9641
 
      hardcode_shlibpath_var=no
9642
 
      ;;
9643
 
 
9644
 
    sysv4.3*)
9645
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9646
 
      hardcode_shlibpath_var=no
9647
 
      export_dynamic_flag_spec='-Bexport'
9648
 
      ;;
9649
 
 
9650
 
    sysv4*MP*)
9651
 
      if test -d /usr/nec; then
9652
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9653
 
        hardcode_shlibpath_var=no
9654
 
        runpath_var=LD_RUN_PATH
9655
 
        hardcode_runpath_var=yes
9656
 
        ld_shlibs=yes
9657
 
      fi
9658
 
      ;;
9659
 
 
9660
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9661
 
      no_undefined_flag='${wl}-z,text'
9662
 
      archive_cmds_need_lc=no
9663
 
      hardcode_shlibpath_var=no
9664
 
      runpath_var='LD_RUN_PATH'
9665
 
 
9666
 
      if test "$GCC" = yes; then
9667
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9668
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9669
 
      else
9670
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9671
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9672
 
      fi
9673
 
      ;;
9674
 
 
9675
 
    sysv5* | sco3.2v5* | sco5v6*)
9676
 
      # Note: We can NOT use -z defs as we might desire, because we do not
9677
 
      # link with -lc, and that would cause any symbols used from libc to
9678
 
      # always be unresolved, which means just about no library would
9679
 
      # ever link correctly.  If we're not using GNU ld we use -z text
9680
 
      # though, which does catch some bad symbols but isn't as heavy-handed
9681
 
      # as -z defs.
9682
 
      no_undefined_flag='${wl}-z,text'
9683
 
      allow_undefined_flag='${wl}-z,nodefs'
9684
 
      archive_cmds_need_lc=no
9685
 
      hardcode_shlibpath_var=no
9686
 
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9687
 
      hardcode_libdir_separator=':'
9688
 
      link_all_deplibs=yes
9689
 
      export_dynamic_flag_spec='${wl}-Bexport'
9690
 
      runpath_var='LD_RUN_PATH'
9691
 
 
9692
 
      if test "$GCC" = yes; then
9693
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9694
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9695
 
      else
9696
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9697
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9698
 
      fi
9699
 
      ;;
9700
 
 
9701
 
    uts4*)
9702
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9703
 
      hardcode_libdir_flag_spec='-L$libdir'
9704
 
      hardcode_shlibpath_var=no
9705
 
      ;;
9706
 
 
9707
 
    *)
9708
 
      ld_shlibs=no
9709
 
      ;;
9710
 
    esac
9711
 
 
9712
 
    if test x$host_vendor = xsni; then
9713
 
      case $host in
9714
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9715
 
        export_dynamic_flag_spec='${wl}-Blargedynsym'
9716
 
        ;;
9717
 
      esac
9718
 
    fi
9719
 
  fi
9720
 
 
9721
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9722
 
$as_echo "$ld_shlibs" >&6; }
9723
 
test "$ld_shlibs" = no && can_build_shared=no
9724
 
 
9725
 
with_gnu_ld=$with_gnu_ld
9726
 
 
9727
 
 
9728
 
    
9729
 
    
9730
 
    
9731
 
 
9732
 
    
9733
 
    
9734
 
    
9735
 
 
9736
 
    
9737
 
    
9738
 
    
9739
 
 
9740
 
 
9741
 
#
9742
 
# Do we need to explicitly link libc?
9743
 
#
9744
 
case "x$archive_cmds_need_lc" in
9745
 
x|xyes)
9746
 
  # Assume -lc should be added
9747
 
  archive_cmds_need_lc=yes
9748
 
 
9749
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
9750
 
    case $archive_cmds in
9751
 
    *'~'*)
9752
 
      # FIXME: we may have to deal with multi-command sequences.
9753
 
      ;;
9754
 
    '$CC '*)
9755
 
      # Test whether the compiler implicitly links with -lc since on some
9756
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9757
 
      # to ld, don't add -lc before -lgcc.
9758
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9759
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9760
 
if ${lt_cv_archive_cmds_need_lc+:} false; then :
9761
 
  $as_echo_n "(cached) " >&6
9762
 
else
9763
 
  $RM conftest*
9764
 
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9765
 
 
9766
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9767
 
  (eval $ac_compile) 2>&5
9768
 
  ac_status=$?
9769
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9770
 
  test $ac_status = 0; } 2>conftest.err; then
9771
 
          soname=conftest
9772
 
          lib=conftest
9773
 
          libobjs=conftest.$ac_objext
9774
 
          deplibs=
9775
 
          wl=$lt_prog_compiler_wl
9776
 
          pic_flag=$lt_prog_compiler_pic
9777
 
          compiler_flags=-v
9778
 
          linker_flags=-v
9779
 
          verstring=
9780
 
          output_objdir=.
9781
 
          libname=conftest
9782
 
          lt_save_allow_undefined_flag=$allow_undefined_flag
9783
 
          allow_undefined_flag=
9784
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9785
 
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9786
 
  ac_status=$?
9787
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9788
 
  test $ac_status = 0; }
9789
 
          then
9790
 
            lt_cv_archive_cmds_need_lc=no
9791
 
          else
9792
 
            lt_cv_archive_cmds_need_lc=yes
9793
 
          fi
9794
 
          allow_undefined_flag=$lt_save_allow_undefined_flag
9795
 
        else
9796
 
          cat conftest.err 1>&5
9797
 
        fi
9798
 
        $RM conftest*
9799
 
        
9800
 
fi
9801
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9802
 
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9803
 
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9804
 
      ;;
9805
 
    esac
9806
 
  fi
9807
 
  ;;
9808
 
esac
9809
 
 
9810
 
 
9811
 
    
9812
 
    
9813
 
    
9814
 
 
9815
 
 
9816
 
    
9817
 
    
9818
 
    
9819
 
 
9820
 
 
9821
 
    
9822
 
    
9823
 
    
9824
 
 
9825
 
 
9826
 
    
9827
 
    
9828
 
    
9829
 
 
9830
 
 
9831
 
    
9832
 
    
9833
 
    
9834
 
 
9835
 
 
9836
 
    
9837
 
    
9838
 
    
9839
 
 
9840
 
 
9841
 
    
9842
 
    
9843
 
    
9844
 
 
9845
 
 
9846
 
    
9847
 
    
9848
 
    
9849
 
 
9850
 
 
9851
 
    
9852
 
    
9853
 
    
9854
 
 
9855
 
 
9856
 
    
9857
 
    
9858
 
    
9859
 
 
9860
 
 
9861
 
    
9862
 
    
9863
 
    
9864
 
 
9865
 
 
9866
 
    
9867
 
    
9868
 
    
9869
 
 
9870
 
 
9871
 
    
9872
 
    
9873
 
    
9874
 
 
9875
 
 
9876
 
    
9877
 
    
9878
 
    
9879
 
 
9880
 
 
9881
 
    
9882
 
    
9883
 
    
9884
 
 
9885
 
 
9886
 
    
9887
 
    
9888
 
    
9889
 
 
9890
 
 
9891
 
    
9892
 
    
9893
 
    
9894
 
 
9895
 
 
9896
 
    
9897
 
    
9898
 
    
9899
 
 
9900
 
 
9901
 
    
9902
 
    
9903
 
    
9904
 
 
9905
 
 
9906
 
    
9907
 
    
9908
 
    
9909
 
 
9910
 
 
9911
 
    
9912
 
    
9913
 
    
9914
 
 
9915
 
 
9916
 
    
9917
 
    
9918
 
    
9919
 
 
9920
 
 
9921
 
    
9922
 
    
9923
 
    
9924
 
 
9925
 
 
9926
 
    
9927
 
    
9928
 
    
9929
 
 
9930
 
 
9931
 
    
9932
 
    
9933
 
    
9934
 
 
9935
 
 
9936
 
    
9937
 
    
9938
 
    
9939
 
 
9940
 
 
9941
 
    
9942
 
    
9943
 
    
9944
 
 
9945
 
 
9946
 
    
9947
 
    
9948
 
    
9949
 
 
9950
 
 
9951
 
    
9952
 
    
9953
 
    
9954
 
 
9955
 
 
9956
 
    
9957
 
    
9958
 
    
9959
 
 
9960
 
 
9961
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9962
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9963
 
 
9964
 
if test "$GCC" = yes; then
9965
 
  case $host_os in
9966
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9967
 
    *) lt_awk_arg="/^libraries:/" ;;
9968
 
  esac
9969
 
  case $host_os in
9970
 
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9971
 
    *) lt_sed_strip_eq="s,=/,/,g" ;;
9972
 
  esac
9973
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9974
 
  case $lt_search_path_spec in
9975
 
  *\;*)
9976
 
    # if the path contains ";" then we assume it to be the separator
9977
 
    # otherwise default to the standard path separator (i.e. ":") - it is
9978
 
    # assumed that no part of a normal pathname contains ";" but that should
9979
 
    # okay in the real world where ";" in dirpaths is itself problematic.
9980
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9981
 
    ;;
9982
 
  *)
9983
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9984
 
    ;;
9985
 
  esac
9986
 
  # Ok, now we have the path, separated by spaces, we can step through it
9987
 
  # and add multilib dir if necessary.
9988
 
  lt_tmp_lt_search_path_spec=
9989
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9990
 
  for lt_sys_path in $lt_search_path_spec; do
9991
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9992
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9993
 
    else
9994
 
      test -d "$lt_sys_path" && \
9995
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9996
 
    fi
9997
 
  done
9998
 
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9999
 
BEGIN {RS=" "; FS="/|\n";} {
10000
 
  lt_foo="";
10001
 
  lt_count=0;
10002
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
10003
 
    if ($lt_i != "" && $lt_i != ".") {
10004
 
      if ($lt_i == "..") {
10005
 
        lt_count++;
10006
 
      } else {
10007
 
        if (lt_count == 0) {
10008
 
          lt_foo="/" $lt_i lt_foo;
10009
 
        } else {
10010
 
          lt_count--;
10011
 
        }
10012
 
      }
10013
 
    }
10014
 
  }
10015
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10016
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10017
 
}'`
10018
 
  # AWK program above erroneously prepends '/' to C:/dos/paths
10019
 
  # for these hosts.
10020
 
  case $host_os in
10021
 
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10022
 
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10023
 
  esac
10024
 
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10025
 
else
10026
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10027
 
fi
10028
 
library_names_spec=
10029
 
libname_spec='lib$name'
10030
 
soname_spec=
10031
 
shrext_cmds=".so"
10032
 
postinstall_cmds=
10033
 
postuninstall_cmds=
10034
 
finish_cmds=
10035
 
finish_eval=
10036
 
shlibpath_var=
10037
 
shlibpath_overrides_runpath=unknown
10038
 
version_type=none
10039
 
dynamic_linker="$host_os ld.so"
10040
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10041
 
need_lib_prefix=unknown
10042
 
hardcode_into_libs=no
10043
 
 
10044
 
# when you set need_version to no, make sure it does not cause -set_version
10045
 
# flags to be left without arguments
10046
 
need_version=unknown
10047
 
 
10048
 
case $host_os in
10049
 
aix3*)
10050
 
  version_type=linux # correct to gnu/linux during the next big refactor
10051
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10052
 
  shlibpath_var=LIBPATH
10053
 
 
10054
 
  # AIX 3 has no versioning support, so we append a major version to the name.
10055
 
  soname_spec='${libname}${release}${shared_ext}$major'
10056
 
  ;;
10057
 
 
10058
 
aix[4-9]*)
10059
 
  version_type=linux # correct to gnu/linux during the next big refactor
10060
 
  need_lib_prefix=no
10061
 
  need_version=no
10062
 
  hardcode_into_libs=yes
10063
 
  if test "$host_cpu" = ia64; then
10064
 
    # AIX 5 supports IA64
10065
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10066
 
    shlibpath_var=LD_LIBRARY_PATH
10067
 
  else
10068
 
    # With GCC up to 2.95.x, collect2 would create an import file
10069
 
    # for dependence libraries.  The import file would start with
10070
 
    # the line `#! .'.  This would cause the generated library to
10071
 
    # depend on `.', always an invalid library.  This was fixed in
10072
 
    # development snapshots of GCC prior to 3.0.
10073
 
    case $host_os in
10074
 
      aix4 | aix4.[01] | aix4.[01].*)
10075
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10076
 
           echo ' yes '
10077
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10078
 
        :
10079
 
      else
10080
 
        can_build_shared=no
10081
 
      fi
10082
 
      ;;
10083
 
    esac
10084
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10085
 
    # soname into executable. Probably we can add versioning support to
10086
 
    # collect2, so additional links can be useful in future.
10087
 
    if test "$aix_use_runtimelinking" = yes; then
10088
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10089
 
      # instead of lib<name>.a to let people know that these are not
10090
 
      # typical AIX shared libraries.
10091
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10092
 
    else
10093
 
      # We preserve .a as extension for shared libraries through AIX4.2
10094
 
      # and later when we are not doing run time linking.
10095
 
      library_names_spec='${libname}${release}.a $libname.a'
10096
 
      soname_spec='${libname}${release}${shared_ext}$major'
10097
 
    fi
10098
 
    shlibpath_var=LIBPATH
10099
 
  fi
10100
 
  ;;
10101
 
 
10102
 
amigaos*)
10103
 
  case $host_cpu in
10104
 
  powerpc)
10105
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
10106
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10107
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10108
 
    ;;
10109
 
  m68k)
10110
 
    library_names_spec='$libname.ixlibrary $libname.a'
10111
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10112
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10113
 
    ;;
10114
 
  esac
10115
 
  ;;
10116
 
 
10117
 
beos*)
10118
 
  library_names_spec='${libname}${shared_ext}'
10119
 
  dynamic_linker="$host_os ld.so"
10120
 
  shlibpath_var=LIBRARY_PATH
10121
 
  ;;
10122
 
 
10123
 
bsdi[45]*)
10124
 
  version_type=linux # correct to gnu/linux during the next big refactor
10125
 
  need_version=no
10126
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10127
 
  soname_spec='${libname}${release}${shared_ext}$major'
10128
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10129
 
  shlibpath_var=LD_LIBRARY_PATH
10130
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10131
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10132
 
  # the default ld.so.conf also contains /usr/contrib/lib and
10133
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10134
 
  # libtool to hard-code these into programs
10135
 
  ;;
10136
 
 
10137
 
cygwin* | mingw* | pw32* | cegcc*)
10138
 
  version_type=windows
10139
 
  shrext_cmds=".dll"
10140
 
  need_version=no
10141
 
  need_lib_prefix=no
10142
 
 
10143
 
  case $GCC,$cc_basename in
10144
 
  yes,*)
10145
 
    # gcc
10146
 
    library_names_spec='$libname.dll.a'
10147
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10148
 
    postinstall_cmds='base_file=`basename \${file}`~
10149
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10150
 
      dldir=$destdir/`dirname \$dlpath`~
10151
 
      test -d \$dldir || mkdir -p \$dldir~
10152
 
      $install_prog $dir/$dlname \$dldir/$dlname~
10153
 
      chmod a+x \$dldir/$dlname~
10154
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10155
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10156
 
      fi'
10157
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10158
 
      dlpath=$dir/\$dldll~
10159
 
       $RM \$dlpath'
10160
 
    shlibpath_overrides_runpath=yes
10161
 
 
10162
 
    case $host_os in
10163
 
    cygwin*)
10164
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10165
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10166
 
 
10167
 
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10168
 
      ;;
10169
 
    mingw* | cegcc*)
10170
 
      # MinGW DLLs use traditional 'lib' prefix
10171
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10172
 
      ;;
10173
 
    pw32*)
10174
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10175
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10176
 
      ;;
10177
 
    esac
10178
 
    dynamic_linker='Win32 ld.exe'
10179
 
    ;;
10180
 
 
10181
 
  *,cl*)
10182
 
    # Native MSVC
10183
 
    libname_spec='$name'
10184
 
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10185
 
    library_names_spec='${libname}.dll.lib'
10186
 
 
10187
 
    case $build_os in
10188
 
    mingw*)
10189
 
      sys_lib_search_path_spec=
10190
 
      lt_save_ifs=$IFS
10191
 
      IFS=';'
10192
 
      for lt_path in $LIB
10193
 
      do
10194
 
        IFS=$lt_save_ifs
10195
 
        # Let DOS variable expansion print the short 8.3 style file name.
10196
 
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10197
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10198
 
      done
10199
 
      IFS=$lt_save_ifs
10200
 
      # Convert to MSYS style.
10201
 
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10202
 
      ;;
10203
 
    cygwin*)
10204
 
      # Convert to unix form, then to dos form, then back to unix form
10205
 
      # but this time dos style (no spaces!) so that the unix form looks
10206
 
      # like /cygdrive/c/PROGRA~1:/cygdr...
10207
 
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10208
 
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10209
 
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10210
 
      ;;
10211
 
    *)
10212
 
      sys_lib_search_path_spec="$LIB"
10213
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10214
 
        # It is most probably a Windows format PATH.
10215
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10216
 
      else
10217
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10218
 
      fi
10219
 
      # FIXME: find the short name or the path components, as spaces are
10220
 
      # common. (e.g. "Program Files" -> "PROGRA~1")
10221
 
      ;;
10222
 
    esac
10223
 
 
10224
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10225
 
    postinstall_cmds='base_file=`basename \${file}`~
10226
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10227
 
      dldir=$destdir/`dirname \$dlpath`~
10228
 
      test -d \$dldir || mkdir -p \$dldir~
10229
 
      $install_prog $dir/$dlname \$dldir/$dlname'
10230
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10231
 
      dlpath=$dir/\$dldll~
10232
 
       $RM \$dlpath'
10233
 
    shlibpath_overrides_runpath=yes
10234
 
    dynamic_linker='Win32 link.exe'
10235
 
    ;;
10236
 
 
10237
 
  *)
10238
 
    # Assume MSVC wrapper
10239
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10240
 
    dynamic_linker='Win32 ld.exe'
10241
 
    ;;
10242
 
  esac
10243
 
  # FIXME: first we should search . and the directory the executable is in
10244
 
  shlibpath_var=PATH
10245
 
  ;;
10246
 
 
10247
 
darwin* | rhapsody*)
10248
 
  dynamic_linker="$host_os dyld"
10249
 
  version_type=darwin
10250
 
  need_lib_prefix=no
10251
 
  need_version=no
10252
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10253
 
  soname_spec='${libname}${release}${major}$shared_ext'
10254
 
  shlibpath_overrides_runpath=yes
10255
 
  shlibpath_var=DYLD_LIBRARY_PATH
10256
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10257
 
 
10258
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10259
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10260
 
  ;;
10261
 
 
10262
 
dgux*)
10263
 
  version_type=linux # correct to gnu/linux during the next big refactor
10264
 
  need_lib_prefix=no
10265
 
  need_version=no
10266
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10267
 
  soname_spec='${libname}${release}${shared_ext}$major'
10268
 
  shlibpath_var=LD_LIBRARY_PATH
10269
 
  ;;
10270
 
 
10271
 
freebsd* | dragonfly*)
10272
 
  # DragonFly does not have aout.  When/if they implement a new
10273
 
  # versioning mechanism, adjust this.
10274
 
  if test -x /usr/bin/objformat; then
10275
 
    objformat=`/usr/bin/objformat`
10276
 
  else
10277
 
    case $host_os in
10278
 
    freebsd[23].*) objformat=aout ;;
10279
 
    *) objformat=elf ;;
10280
 
    esac
10281
 
  fi
10282
 
  version_type=freebsd-$objformat
10283
 
  case $version_type in
10284
 
    freebsd-elf*)
10285
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10286
 
      need_version=no
10287
 
      need_lib_prefix=no
10288
 
      ;;
10289
 
    freebsd-*)
10290
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10291
 
      need_version=yes
10292
 
      ;;
10293
 
  esac
10294
 
  shlibpath_var=LD_LIBRARY_PATH
10295
 
  case $host_os in
10296
 
  freebsd2.*)
10297
 
    shlibpath_overrides_runpath=yes
10298
 
    ;;
10299
 
  freebsd3.[01]* | freebsdelf3.[01]*)
10300
 
    shlibpath_overrides_runpath=yes
10301
 
    hardcode_into_libs=yes
10302
 
    ;;
10303
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10304
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10305
 
    shlibpath_overrides_runpath=no
10306
 
    hardcode_into_libs=yes
10307
 
    ;;
10308
 
  *) # from 4.6 on, and DragonFly
10309
 
    shlibpath_overrides_runpath=yes
10310
 
    hardcode_into_libs=yes
10311
 
    ;;
10312
 
  esac
10313
 
  ;;
10314
 
 
10315
 
haiku*)
10316
 
  version_type=linux # correct to gnu/linux during the next big refactor
10317
 
  need_lib_prefix=no
10318
 
  need_version=no
10319
 
  dynamic_linker="$host_os runtime_loader"
10320
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10321
 
  soname_spec='${libname}${release}${shared_ext}$major'
10322
 
  shlibpath_var=LIBRARY_PATH
10323
 
  shlibpath_overrides_runpath=yes
10324
 
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10325
 
  hardcode_into_libs=yes
10326
 
  ;;
10327
 
 
10328
 
hpux9* | hpux10* | hpux11*)
10329
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
10330
 
  # link against other versions.
10331
 
  version_type=sunos
10332
 
  need_lib_prefix=no
10333
 
  need_version=no
10334
 
  case $host_cpu in
10335
 
  ia64*)
10336
 
    shrext_cmds='.so'
10337
 
    hardcode_into_libs=yes
10338
 
    dynamic_linker="$host_os dld.so"
10339
 
    shlibpath_var=LD_LIBRARY_PATH
10340
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10341
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10342
 
    soname_spec='${libname}${release}${shared_ext}$major'
10343
 
    if test "X$HPUX_IA64_MODE" = X32; then
10344
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10345
 
    else
10346
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10347
 
    fi
10348
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10349
 
    ;;
10350
 
  hppa*64*)
10351
 
    shrext_cmds='.sl'
10352
 
    hardcode_into_libs=yes
10353
 
    dynamic_linker="$host_os dld.sl"
10354
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10355
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10356
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10357
 
    soname_spec='${libname}${release}${shared_ext}$major'
10358
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10359
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10360
 
    ;;
10361
 
  *)
10362
 
    shrext_cmds='.sl'
10363
 
    dynamic_linker="$host_os dld.sl"
10364
 
    shlibpath_var=SHLIB_PATH
10365
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10366
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10367
 
    soname_spec='${libname}${release}${shared_ext}$major'
10368
 
    ;;
10369
 
  esac
10370
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10371
 
  postinstall_cmds='chmod 555 $lib'
10372
 
  # or fails outright, so override atomically:
10373
 
  install_override_mode=555
10374
 
  ;;
10375
 
 
10376
 
interix[3-9]*)
10377
 
  version_type=linux # correct to gnu/linux during the next big refactor
10378
 
  need_lib_prefix=no
10379
 
  need_version=no
10380
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10381
 
  soname_spec='${libname}${release}${shared_ext}$major'
10382
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10383
 
  shlibpath_var=LD_LIBRARY_PATH
10384
 
  shlibpath_overrides_runpath=no
10385
 
  hardcode_into_libs=yes
10386
 
  ;;
10387
 
 
10388
 
irix5* | irix6* | nonstopux*)
10389
 
  case $host_os in
10390
 
    nonstopux*) version_type=nonstopux ;;
10391
 
    *)
10392
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
10393
 
                version_type=linux # correct to gnu/linux during the next big refactor
10394
 
        else
10395
 
                version_type=irix
10396
 
        fi ;;
10397
 
  esac
10398
 
  need_lib_prefix=no
10399
 
  need_version=no
10400
 
  soname_spec='${libname}${release}${shared_ext}$major'
10401
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10402
 
  case $host_os in
10403
 
  irix5* | nonstopux*)
10404
 
    libsuff= shlibsuff=
10405
 
    ;;
10406
 
  *)
10407
 
    case $LD in # libtool.m4 will add one of these switches to LD
10408
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10409
 
      libsuff= shlibsuff= libmagic=32-bit;;
10410
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10411
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
10412
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10413
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10414
 
    *) libsuff= shlibsuff= libmagic=never-match;;
10415
 
    esac
10416
 
    ;;
10417
 
  esac
10418
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10419
 
  shlibpath_overrides_runpath=no
10420
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10421
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10422
 
  hardcode_into_libs=yes
10423
 
  ;;
10424
 
 
10425
 
# No shared lib support for Linux oldld, aout, or coff.
10426
 
linux*oldld* | linux*aout* | linux*coff*)
10427
 
  dynamic_linker=no
10428
 
  ;;
10429
 
 
10430
 
# This must be glibc/ELF.
10431
 
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10432
 
  version_type=linux # correct to gnu/linux during the next big refactor
10433
 
  need_lib_prefix=no
10434
 
  need_version=no
10435
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10436
 
  soname_spec='${libname}${release}${shared_ext}$major'
10437
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10438
 
  shlibpath_var=LD_LIBRARY_PATH
10439
 
  shlibpath_overrides_runpath=no
10440
 
 
10441
 
  # Some binutils ld are patched to set DT_RUNPATH
10442
 
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10443
 
  $as_echo_n "(cached) " >&6
10444
 
else
10445
 
  lt_cv_shlibpath_overrides_runpath=no
10446
 
    save_LDFLAGS=$LDFLAGS
10447
 
    save_libdir=$libdir
10448
 
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10449
 
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10450
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10451
 
/* end confdefs.h.  */
10452
 
 
10453
 
int
10454
 
main ()
10455
 
{
10456
 
 
10457
 
  ;
10458
 
  return 0;
10459
 
}
10460
 
_ACEOF
10461
 
if ac_fn_c_try_link "$LINENO"; then :
10462
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10463
 
  lt_cv_shlibpath_overrides_runpath=yes
10464
 
fi
10465
 
fi
10466
 
rm -f core conftest.err conftest.$ac_objext \
10467
 
    conftest$ac_exeext conftest.$ac_ext
10468
 
    LDFLAGS=$save_LDFLAGS
10469
 
    libdir=$save_libdir
10470
 
    
10471
 
fi
10472
 
 
10473
 
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10474
 
 
10475
 
  # This implies no fast_install, which is unacceptable.
10476
 
  # Some rework will be needed to allow for fast_install
10477
 
  # before this can be enabled.
10478
 
  hardcode_into_libs=yes
10479
 
 
10480
 
  # Append ld.so.conf contents to the search path
10481
 
  if test -f /etc/ld.so.conf; then
10482
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10483
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10484
 
  fi
10485
 
 
10486
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10487
 
  # powerpc, because MkLinux only supported shared libraries with the
10488
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
10489
 
  # most powerpc-linux boxes support dynamic linking these days and
10490
 
  # people can always --disable-shared, the test was removed, and we
10491
 
  # assume the GNU/Linux dynamic linker is in use.
10492
 
  dynamic_linker='GNU/Linux ld.so'
10493
 
  ;;
10494
 
 
10495
 
netbsdelf*-gnu)
10496
 
  version_type=linux
10497
 
  need_lib_prefix=no
10498
 
  need_version=no
10499
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10500
 
  soname_spec='${libname}${release}${shared_ext}$major'
10501
 
  shlibpath_var=LD_LIBRARY_PATH
10502
 
  shlibpath_overrides_runpath=no
10503
 
  hardcode_into_libs=yes
10504
 
  dynamic_linker='NetBSD ld.elf_so'
10505
 
  ;;
10506
 
 
10507
 
netbsd*)
10508
 
  version_type=sunos
10509
 
  need_lib_prefix=no
10510
 
  need_version=no
10511
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10512
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10513
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10514
 
    dynamic_linker='NetBSD (a.out) ld.so'
10515
 
  else
10516
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10517
 
    soname_spec='${libname}${release}${shared_ext}$major'
10518
 
    dynamic_linker='NetBSD ld.elf_so'
10519
 
  fi
10520
 
  shlibpath_var=LD_LIBRARY_PATH
10521
 
  shlibpath_overrides_runpath=yes
10522
 
  hardcode_into_libs=yes
10523
 
  ;;
10524
 
 
10525
 
newsos6)
10526
 
  version_type=linux # correct to gnu/linux during the next big refactor
10527
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10528
 
  shlibpath_var=LD_LIBRARY_PATH
10529
 
  shlibpath_overrides_runpath=yes
10530
 
  ;;
10531
 
 
10532
 
*nto* | *qnx*)
10533
 
  version_type=qnx
10534
 
  need_lib_prefix=no
10535
 
  need_version=no
10536
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10537
 
  soname_spec='${libname}${release}${shared_ext}$major'
10538
 
  shlibpath_var=LD_LIBRARY_PATH
10539
 
  shlibpath_overrides_runpath=no
10540
 
  hardcode_into_libs=yes
10541
 
  dynamic_linker='ldqnx.so'
10542
 
  ;;
10543
 
 
10544
 
openbsd*)
10545
 
  version_type=sunos
10546
 
  sys_lib_dlsearch_path_spec="/usr/lib"
10547
 
  need_lib_prefix=no
10548
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10549
 
  case $host_os in
10550
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10551
 
    *)                          need_version=no  ;;
10552
 
  esac
10553
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10554
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10555
 
  shlibpath_var=LD_LIBRARY_PATH
10556
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10557
 
    case $host_os in
10558
 
      openbsd2.[89] | openbsd2.[89].*)
10559
 
        shlibpath_overrides_runpath=no
10560
 
        ;;
10561
 
      *)
10562
 
        shlibpath_overrides_runpath=yes
10563
 
        ;;
10564
 
      esac
10565
 
  else
10566
 
    shlibpath_overrides_runpath=yes
10567
 
  fi
10568
 
  ;;
10569
 
 
10570
 
os2*)
10571
 
  libname_spec='$name'
10572
 
  shrext_cmds=".dll"
10573
 
  need_lib_prefix=no
10574
 
  library_names_spec='$libname${shared_ext} $libname.a'
10575
 
  dynamic_linker='OS/2 ld.exe'
10576
 
  shlibpath_var=LIBPATH
10577
 
  ;;
10578
 
 
10579
 
osf3* | osf4* | osf5*)
10580
 
  version_type=osf
10581
 
  need_lib_prefix=no
10582
 
  need_version=no
10583
 
  soname_spec='${libname}${release}${shared_ext}$major'
10584
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10585
 
  shlibpath_var=LD_LIBRARY_PATH
10586
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10587
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10588
 
  ;;
10589
 
 
10590
 
rdos*)
10591
 
  dynamic_linker=no
10592
 
  ;;
10593
 
 
10594
 
solaris*)
10595
 
  version_type=linux # correct to gnu/linux during the next big refactor
10596
 
  need_lib_prefix=no
10597
 
  need_version=no
10598
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10599
 
  soname_spec='${libname}${release}${shared_ext}$major'
10600
 
  shlibpath_var=LD_LIBRARY_PATH
10601
 
  shlibpath_overrides_runpath=yes
10602
 
  hardcode_into_libs=yes
10603
 
  # ldd complains unless libraries are executable
10604
 
  postinstall_cmds='chmod +x $lib'
10605
 
  ;;
10606
 
 
10607
 
sunos4*)
10608
 
  version_type=sunos
10609
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10610
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10611
 
  shlibpath_var=LD_LIBRARY_PATH
10612
 
  shlibpath_overrides_runpath=yes
10613
 
  if test "$with_gnu_ld" = yes; then
10614
 
    need_lib_prefix=no
10615
 
  fi
10616
 
  need_version=yes
10617
 
  ;;
10618
 
 
10619
 
sysv4 | sysv4.3*)
10620
 
  version_type=linux # correct to gnu/linux during the next big refactor
10621
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10622
 
  soname_spec='${libname}${release}${shared_ext}$major'
10623
 
  shlibpath_var=LD_LIBRARY_PATH
10624
 
  case $host_vendor in
10625
 
    sni)
10626
 
      shlibpath_overrides_runpath=no
10627
 
      need_lib_prefix=no
10628
 
      runpath_var=LD_RUN_PATH
10629
 
      ;;
10630
 
    siemens)
10631
 
      need_lib_prefix=no
10632
 
      ;;
10633
 
    motorola)
10634
 
      need_lib_prefix=no
10635
 
      need_version=no
10636
 
      shlibpath_overrides_runpath=no
10637
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10638
 
      ;;
10639
 
  esac
10640
 
  ;;
10641
 
 
10642
 
sysv4*MP*)
10643
 
  if test -d /usr/nec ;then
10644
 
    version_type=linux # correct to gnu/linux during the next big refactor
10645
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10646
 
    soname_spec='$libname${shared_ext}.$major'
10647
 
    shlibpath_var=LD_LIBRARY_PATH
10648
 
  fi
10649
 
  ;;
10650
 
 
10651
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10652
 
  version_type=freebsd-elf
10653
 
  need_lib_prefix=no
10654
 
  need_version=no
10655
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10656
 
  soname_spec='${libname}${release}${shared_ext}$major'
10657
 
  shlibpath_var=LD_LIBRARY_PATH
10658
 
  shlibpath_overrides_runpath=yes
10659
 
  hardcode_into_libs=yes
10660
 
  if test "$with_gnu_ld" = yes; then
10661
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10662
 
  else
10663
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10664
 
    case $host_os in
10665
 
      sco3.2v5*)
10666
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10667
 
        ;;
10668
 
    esac
10669
 
  fi
10670
 
  sys_lib_dlsearch_path_spec='/usr/lib'
10671
 
  ;;
10672
 
 
10673
 
tpf*)
10674
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10675
 
  version_type=linux # correct to gnu/linux during the next big refactor
10676
 
  need_lib_prefix=no
10677
 
  need_version=no
10678
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10679
 
  shlibpath_var=LD_LIBRARY_PATH
10680
 
  shlibpath_overrides_runpath=no
10681
 
  hardcode_into_libs=yes
10682
 
  ;;
10683
 
 
10684
 
uts4*)
10685
 
  version_type=linux # correct to gnu/linux during the next big refactor
10686
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10687
 
  soname_spec='${libname}${release}${shared_ext}$major'
10688
 
  shlibpath_var=LD_LIBRARY_PATH
10689
 
  ;;
10690
 
 
10691
 
*)
10692
 
  dynamic_linker=no
10693
 
  ;;
10694
 
esac
10695
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10696
 
$as_echo "$dynamic_linker" >&6; }
10697
 
test "$dynamic_linker" = no && can_build_shared=no
10698
 
 
10699
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10700
 
if test "$GCC" = yes; then
10701
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10702
 
fi
10703
 
 
10704
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10705
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10706
 
fi
10707
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10708
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10709
 
fi
10710
 
 
10711
 
 
10712
 
    
10713
 
    
10714
 
    
10715
 
 
10716
 
 
10717
 
    
10718
 
    
10719
 
    
10720
 
 
10721
 
 
10722
 
    
10723
 
    
10724
 
    
10725
 
 
10726
 
 
10727
 
    
10728
 
    
10729
 
    
10730
 
 
10731
 
 
10732
 
    
10733
 
    
10734
 
    
10735
 
 
10736
 
 
10737
 
    
10738
 
    
10739
 
    
10740
 
 
10741
 
 
10742
 
    
10743
 
    
10744
 
    
10745
 
 
10746
 
 
10747
 
    
10748
 
    
10749
 
    
10750
 
 
10751
 
 
10752
 
    
10753
 
    
10754
 
    
10755
 
 
10756
 
 
10757
 
    
10758
 
    
10759
 
    
10760
 
 
10761
 
 
10762
 
    
10763
 
    
10764
 
    
10765
 
 
10766
 
 
10767
 
    
10768
 
    
10769
 
    
10770
 
 
10771
 
 
10772
 
    
10773
 
    
10774
 
    
10775
 
 
10776
 
 
10777
 
    
10778
 
    
10779
 
    
10780
 
 
10781
 
 
10782
 
    
10783
 
    
10784
 
    
10785
 
 
10786
 
 
10787
 
    
10788
 
    
10789
 
    
10790
 
 
10791
 
 
10792
 
    
10793
 
    
10794
 
    
10795
 
 
10796
 
 
10797
 
    
10798
 
    
10799
 
    
10800
 
 
10801
 
 
10802
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10803
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10804
 
hardcode_action=
10805
 
if test -n "$hardcode_libdir_flag_spec" ||
10806
 
   test -n "$runpath_var" ||
10807
 
   test "X$hardcode_automatic" = "Xyes" ; then
10808
 
 
10809
 
  # We can hardcode non-existent directories.
10810
 
  if test "$hardcode_direct" != no &&
10811
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10812
 
     # have to relink, otherwise we might link with an installed library
10813
 
     # when we should be linking with a yet-to-be-installed one
10814
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10815
 
     test "$hardcode_minus_L" != no; then
10816
 
    # Linking always hardcodes the temporary library directory.
10817
 
    hardcode_action=relink
10818
 
  else
10819
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10820
 
    hardcode_action=immediate
10821
 
  fi
10822
 
else
10823
 
  # We cannot hardcode anything, or else we can only hardcode existing
10824
 
  # directories.
10825
 
  hardcode_action=unsupported
10826
 
fi
10827
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10828
 
$as_echo "$hardcode_action" >&6; }
10829
 
 
10830
 
if test "$hardcode_action" = relink ||
10831
 
   test "$inherit_rpath" = yes; then
10832
 
  # Fast installation is not supported
10833
 
  enable_fast_install=no
10834
 
elif test "$shlibpath_overrides_runpath" = yes ||
10835
 
     test "$enable_shared" = no; then
10836
 
  # Fast installation is not necessary
10837
 
  enable_fast_install=needless
10838
 
fi
10839
 
 
10840
 
    
10841
 
    
10842
 
    
10843
 
 
10844
 
 
10845
 
  if test "x$enable_dlopen" != xyes; then
10846
 
  enable_dlopen=unknown
10847
 
  enable_dlopen_self=unknown
10848
 
  enable_dlopen_self_static=unknown
10849
 
else
10850
 
  lt_cv_dlopen=no
10851
 
  lt_cv_dlopen_libs=
10852
 
 
10853
 
  case $host_os in
10854
 
  beos*)
10855
 
    lt_cv_dlopen="load_add_on"
10856
 
    lt_cv_dlopen_libs=
10857
 
    lt_cv_dlopen_self=yes
10858
 
    ;;
10859
 
 
10860
 
  mingw* | pw32* | cegcc*)
10861
 
    lt_cv_dlopen="LoadLibrary"
10862
 
    lt_cv_dlopen_libs=
10863
 
    ;;
10864
 
 
10865
 
  cygwin*)
10866
 
    lt_cv_dlopen="dlopen"
10867
 
    lt_cv_dlopen_libs=
10868
 
    ;;
10869
 
 
10870
 
  darwin*)
10871
 
  # if libdl is installed we need to link against it
10872
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10873
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10874
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
10875
 
  $as_echo_n "(cached) " >&6
10876
 
else
10877
 
  ac_check_lib_save_LIBS=$LIBS
10878
 
LIBS="-ldl  $LIBS"
10879
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10880
 
/* end confdefs.h.  */
10881
 
 
10882
 
/* Override any GCC internal prototype to avoid an error.
10883
 
   Use char because int might match the return type of a GCC
10884
 
   builtin and then its argument prototype would still apply.  */
10885
 
#ifdef __cplusplus
10886
 
extern "C"
10887
 
#endif
10888
 
char dlopen ();
10889
 
int
10890
 
main ()
10891
 
{
10892
 
return dlopen ();
10893
 
  ;
10894
 
  return 0;
10895
 
}
10896
 
_ACEOF
10897
 
if ac_fn_c_try_link "$LINENO"; then :
10898
 
  ac_cv_lib_dl_dlopen=yes
10899
 
else
10900
 
  ac_cv_lib_dl_dlopen=no
10901
 
fi
10902
 
rm -f core conftest.err conftest.$ac_objext \
10903
 
    conftest$ac_exeext conftest.$ac_ext
10904
 
LIBS=$ac_check_lib_save_LIBS
10905
 
fi
10906
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10907
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10908
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10909
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10910
 
else
10911
 
  
10912
 
    lt_cv_dlopen="dyld"
10913
 
    lt_cv_dlopen_libs=
10914
 
    lt_cv_dlopen_self=yes
10915
 
    
10916
 
fi
10917
 
 
10918
 
    ;;
10919
 
 
10920
 
  *)
10921
 
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10922
 
if test "x$ac_cv_func_shl_load" = xyes; then :
10923
 
  lt_cv_dlopen="shl_load"
10924
 
else
10925
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10926
 
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10927
 
if ${ac_cv_lib_dld_shl_load+:} false; then :
10928
 
  $as_echo_n "(cached) " >&6
10929
 
else
10930
 
  ac_check_lib_save_LIBS=$LIBS
10931
 
LIBS="-ldld  $LIBS"
10932
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10933
 
/* end confdefs.h.  */
10934
 
 
10935
 
/* Override any GCC internal prototype to avoid an error.
10936
 
   Use char because int might match the return type of a GCC
10937
 
   builtin and then its argument prototype would still apply.  */
10938
 
#ifdef __cplusplus
10939
 
extern "C"
10940
 
#endif
10941
 
char shl_load ();
10942
 
int
10943
 
main ()
10944
 
{
10945
 
return shl_load ();
10946
 
  ;
10947
 
  return 0;
10948
 
}
10949
 
_ACEOF
10950
 
if ac_fn_c_try_link "$LINENO"; then :
10951
 
  ac_cv_lib_dld_shl_load=yes
10952
 
else
10953
 
  ac_cv_lib_dld_shl_load=no
10954
 
fi
10955
 
rm -f core conftest.err conftest.$ac_objext \
10956
 
    conftest$ac_exeext conftest.$ac_ext
10957
 
LIBS=$ac_check_lib_save_LIBS
10958
 
fi
10959
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10960
 
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10961
 
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10962
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10963
 
else
10964
 
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10965
 
if test "x$ac_cv_func_dlopen" = xyes; then :
10966
 
  lt_cv_dlopen="dlopen"
10967
 
else
10968
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10969
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10970
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
10971
 
  $as_echo_n "(cached) " >&6
10972
 
else
10973
 
  ac_check_lib_save_LIBS=$LIBS
10974
 
LIBS="-ldl  $LIBS"
10975
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10976
 
/* end confdefs.h.  */
10977
 
 
10978
 
/* Override any GCC internal prototype to avoid an error.
10979
 
   Use char because int might match the return type of a GCC
10980
 
   builtin and then its argument prototype would still apply.  */
10981
 
#ifdef __cplusplus
10982
 
extern "C"
10983
 
#endif
10984
 
char dlopen ();
10985
 
int
10986
 
main ()
10987
 
{
10988
 
return dlopen ();
10989
 
  ;
10990
 
  return 0;
10991
 
}
10992
 
_ACEOF
10993
 
if ac_fn_c_try_link "$LINENO"; then :
10994
 
  ac_cv_lib_dl_dlopen=yes
10995
 
else
10996
 
  ac_cv_lib_dl_dlopen=no
10997
 
fi
10998
 
rm -f core conftest.err conftest.$ac_objext \
10999
 
    conftest$ac_exeext conftest.$ac_ext
11000
 
LIBS=$ac_check_lib_save_LIBS
11001
 
fi
11002
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11003
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11004
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11005
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11006
 
else
11007
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11008
 
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11009
 
if ${ac_cv_lib_svld_dlopen+:} false; then :
11010
 
  $as_echo_n "(cached) " >&6
11011
 
else
11012
 
  ac_check_lib_save_LIBS=$LIBS
11013
 
LIBS="-lsvld  $LIBS"
11014
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11015
 
/* end confdefs.h.  */
11016
 
 
11017
 
/* Override any GCC internal prototype to avoid an error.
11018
 
   Use char because int might match the return type of a GCC
11019
 
   builtin and then its argument prototype would still apply.  */
11020
 
#ifdef __cplusplus
11021
 
extern "C"
11022
 
#endif
11023
 
char dlopen ();
11024
 
int
11025
 
main ()
11026
 
{
11027
 
return dlopen ();
11028
 
  ;
11029
 
  return 0;
11030
 
}
11031
 
_ACEOF
11032
 
if ac_fn_c_try_link "$LINENO"; then :
11033
 
  ac_cv_lib_svld_dlopen=yes
11034
 
else
11035
 
  ac_cv_lib_svld_dlopen=no
11036
 
fi
11037
 
rm -f core conftest.err conftest.$ac_objext \
11038
 
    conftest$ac_exeext conftest.$ac_ext
11039
 
LIBS=$ac_check_lib_save_LIBS
11040
 
fi
11041
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11042
 
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11043
 
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11044
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11045
 
else
11046
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11047
 
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11048
 
if ${ac_cv_lib_dld_dld_link+:} false; then :
11049
 
  $as_echo_n "(cached) " >&6
11050
 
else
11051
 
  ac_check_lib_save_LIBS=$LIBS
11052
 
LIBS="-ldld  $LIBS"
11053
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11054
 
/* end confdefs.h.  */
11055
 
 
11056
 
/* Override any GCC internal prototype to avoid an error.
11057
 
   Use char because int might match the return type of a GCC
11058
 
   builtin and then its argument prototype would still apply.  */
11059
 
#ifdef __cplusplus
11060
 
extern "C"
11061
 
#endif
11062
 
char dld_link ();
11063
 
int
11064
 
main ()
11065
 
{
11066
 
return dld_link ();
11067
 
  ;
11068
 
  return 0;
11069
 
}
11070
 
_ACEOF
11071
 
if ac_fn_c_try_link "$LINENO"; then :
11072
 
  ac_cv_lib_dld_dld_link=yes
11073
 
else
11074
 
  ac_cv_lib_dld_dld_link=no
11075
 
fi
11076
 
rm -f core conftest.err conftest.$ac_objext \
11077
 
    conftest$ac_exeext conftest.$ac_ext
11078
 
LIBS=$ac_check_lib_save_LIBS
11079
 
fi
11080
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11081
 
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11082
 
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11083
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11084
 
fi
11085
 
 
11086
 
              
11087
 
fi
11088
 
 
11089
 
            
11090
 
fi
11091
 
 
11092
 
          
11093
 
fi
11094
 
 
11095
 
        
11096
 
fi
11097
 
 
11098
 
      
11099
 
fi
11100
 
 
11101
 
    ;;
11102
 
  esac
11103
 
 
11104
 
  if test "x$lt_cv_dlopen" != xno; then
11105
 
    enable_dlopen=yes
11106
 
  else
11107
 
    enable_dlopen=no
11108
 
  fi
11109
 
 
11110
 
  case $lt_cv_dlopen in
11111
 
  dlopen)
11112
 
    save_CPPFLAGS="$CPPFLAGS"
11113
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11114
 
 
11115
 
    save_LDFLAGS="$LDFLAGS"
11116
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11117
 
 
11118
 
    save_LIBS="$LIBS"
11119
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
11120
 
 
11121
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11122
 
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11123
 
if ${lt_cv_dlopen_self+:} false; then :
11124
 
  $as_echo_n "(cached) " >&6
11125
 
else
11126
 
          if test "$cross_compiling" = yes; then :
11127
 
  lt_cv_dlopen_self=cross
11128
 
else
11129
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11130
 
  lt_status=$lt_dlunknown
11131
 
  cat > conftest.$ac_ext <<_LT_EOF
11132
 
#line $LINENO "configure"
11133
 
#include "confdefs.h"
11134
 
 
11135
 
#if HAVE_DLFCN_H
11136
 
#include <dlfcn.h>
11137
 
#endif
11138
 
 
11139
 
#include <stdio.h>
11140
 
 
11141
 
#ifdef RTLD_GLOBAL
11142
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11143
 
#else
11144
 
#  ifdef DL_GLOBAL
11145
 
#    define LT_DLGLOBAL         DL_GLOBAL
11146
 
#  else
11147
 
#    define LT_DLGLOBAL         0
11148
 
#  endif
11149
 
#endif
11150
 
 
11151
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11152
 
   find out it does not work in some platform. */
11153
 
#ifndef LT_DLLAZY_OR_NOW
11154
 
#  ifdef RTLD_LAZY
11155
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11156
 
#  else
11157
 
#    ifdef DL_LAZY
11158
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11159
 
#    else
11160
 
#      ifdef RTLD_NOW
11161
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11162
 
#      else
11163
 
#        ifdef DL_NOW
11164
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11165
 
#        else
11166
 
#          define LT_DLLAZY_OR_NOW      0
11167
 
#        endif
11168
 
#      endif
11169
 
#    endif
11170
 
#  endif
11171
 
#endif
11172
 
 
11173
 
/* When -fvisbility=hidden is used, assume the code has been annotated
11174
 
   correspondingly for the symbols needed.  */
11175
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11176
 
int fnord () __attribute__((visibility("default")));
11177
 
#endif
11178
 
 
11179
 
int fnord () { return 42; }
11180
 
int main ()
11181
 
{
11182
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11183
 
  int status = $lt_dlunknown;
11184
 
 
11185
 
  if (self)
11186
 
    {
11187
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11188
 
      else
11189
 
        {
11190
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11191
 
          else puts (dlerror ());
11192
 
        }
11193
 
      /* dlclose (self); */
11194
 
    }
11195
 
  else
11196
 
    puts (dlerror ());
11197
 
 
11198
 
  return status;
11199
 
}
11200
 
_LT_EOF
11201
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11202
 
  (eval $ac_link) 2>&5
11203
 
  ac_status=$?
11204
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11205
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11206
 
    (./conftest; exit; ) >&5 2>/dev/null
11207
 
    lt_status=$?
11208
 
    case x$lt_status in
11209
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11210
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11211
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11212
 
    esac
11213
 
  else :
11214
 
    # compilation failed
11215
 
    lt_cv_dlopen_self=no
11216
 
  fi
11217
 
fi
11218
 
rm -fr conftest*
11219
 
 
11220
 
    
11221
 
fi
11222
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11223
 
$as_echo "$lt_cv_dlopen_self" >&6; }
11224
 
 
11225
 
    if test "x$lt_cv_dlopen_self" = xyes; then
11226
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11227
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11228
 
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11229
 
if ${lt_cv_dlopen_self_static+:} false; then :
11230
 
  $as_echo_n "(cached) " >&6
11231
 
else
11232
 
          if test "$cross_compiling" = yes; then :
11233
 
  lt_cv_dlopen_self_static=cross
11234
 
else
11235
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11236
 
  lt_status=$lt_dlunknown
11237
 
  cat > conftest.$ac_ext <<_LT_EOF
11238
 
#line $LINENO "configure"
11239
 
#include "confdefs.h"
11240
 
 
11241
 
#if HAVE_DLFCN_H
11242
 
#include <dlfcn.h>
11243
 
#endif
11244
 
 
11245
 
#include <stdio.h>
11246
 
 
11247
 
#ifdef RTLD_GLOBAL
11248
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11249
 
#else
11250
 
#  ifdef DL_GLOBAL
11251
 
#    define LT_DLGLOBAL         DL_GLOBAL
11252
 
#  else
11253
 
#    define LT_DLGLOBAL         0
11254
 
#  endif
11255
 
#endif
11256
 
 
11257
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11258
 
   find out it does not work in some platform. */
11259
 
#ifndef LT_DLLAZY_OR_NOW
11260
 
#  ifdef RTLD_LAZY
11261
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11262
 
#  else
11263
 
#    ifdef DL_LAZY
11264
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11265
 
#    else
11266
 
#      ifdef RTLD_NOW
11267
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11268
 
#      else
11269
 
#        ifdef DL_NOW
11270
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11271
 
#        else
11272
 
#          define LT_DLLAZY_OR_NOW      0
11273
 
#        endif
11274
 
#      endif
11275
 
#    endif
11276
 
#  endif
11277
 
#endif
11278
 
 
11279
 
/* When -fvisbility=hidden is used, assume the code has been annotated
11280
 
   correspondingly for the symbols needed.  */
11281
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11282
 
int fnord () __attribute__((visibility("default")));
11283
 
#endif
11284
 
 
11285
 
int fnord () { return 42; }
11286
 
int main ()
11287
 
{
11288
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11289
 
  int status = $lt_dlunknown;
11290
 
 
11291
 
  if (self)
11292
 
    {
11293
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11294
 
      else
11295
 
        {
11296
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11297
 
          else puts (dlerror ());
11298
 
        }
11299
 
      /* dlclose (self); */
11300
 
    }
11301
 
  else
11302
 
    puts (dlerror ());
11303
 
 
11304
 
  return status;
11305
 
}
11306
 
_LT_EOF
11307
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11308
 
  (eval $ac_link) 2>&5
11309
 
  ac_status=$?
11310
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11311
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11312
 
    (./conftest; exit; ) >&5 2>/dev/null
11313
 
    lt_status=$?
11314
 
    case x$lt_status in
11315
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11316
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11317
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11318
 
    esac
11319
 
  else :
11320
 
    # compilation failed
11321
 
    lt_cv_dlopen_self_static=no
11322
 
  fi
11323
 
fi
11324
 
rm -fr conftest*
11325
 
 
11326
 
      
11327
 
fi
11328
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11329
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11330
 
    fi
11331
 
 
11332
 
    CPPFLAGS="$save_CPPFLAGS"
11333
 
    LDFLAGS="$save_LDFLAGS"
11334
 
    LIBS="$save_LIBS"
11335
 
    ;;
11336
 
  esac
11337
 
 
11338
 
  case $lt_cv_dlopen_self in
11339
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11340
 
  *) enable_dlopen_self=unknown ;;
11341
 
  esac
11342
 
 
11343
 
  case $lt_cv_dlopen_self_static in
11344
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11345
 
  *) enable_dlopen_self_static=unknown ;;
11346
 
  esac
11347
 
fi
11348
 
 
11349
 
    
11350
 
    
11351
 
    
11352
 
 
11353
 
 
11354
 
    
11355
 
    
11356
 
    
11357
 
 
11358
 
 
11359
 
    
11360
 
    
11361
 
    
11362
 
 
11363
 
 
11364
 
  
11365
 
striplib=
11366
 
old_striplib=
11367
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11368
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11369
 
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11370
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11371
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11372
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11373
 
$as_echo "yes" >&6; }
11374
 
else
11375
 
# FIXME - insert some real tests, host_os isn't really good enough
11376
 
  case $host_os in
11377
 
  darwin*)
11378
 
    if test -n "$STRIP" ; then
11379
 
      striplib="$STRIP -x"
11380
 
      old_striplib="$STRIP -S"
11381
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11382
 
$as_echo "yes" >&6; }
11383
 
    else
11384
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11385
 
$as_echo "no" >&6; }
11386
 
    fi
11387
 
    ;;
11388
 
  *)
11389
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11390
 
$as_echo "no" >&6; }
11391
 
    ;;
11392
 
  esac
11393
 
fi
11394
 
 
11395
 
    
11396
 
    
11397
 
    
11398
 
 
11399
 
 
11400
 
    
11401
 
    
11402
 
    
11403
 
 
11404
 
 
11405
 
 
11406
 
  # Report which library types will actually be built
11407
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11408
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11409
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11410
 
$as_echo "$can_build_shared" >&6; }
11411
 
 
11412
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11413
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
11414
 
  test "$can_build_shared" = "no" && enable_shared=no
11415
 
 
11416
 
  # On AIX, shared libraries and static libraries use the same namespace, and
11417
 
  # are all built from PIC.
11418
 
  case $host_os in
11419
 
  aix3*)
11420
 
    test "$enable_shared" = yes && enable_static=no
11421
 
    if test -n "$RANLIB"; then
11422
 
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11423
 
      postinstall_cmds='$RANLIB $lib'
11424
 
    fi
11425
 
    ;;
11426
 
 
11427
 
  aix[4-9]*)
11428
 
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11429
 
      test "$enable_shared" = yes && enable_static=no
11430
 
    fi
11431
 
    ;;
11432
 
  esac
11433
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11434
 
$as_echo "$enable_shared" >&6; }
11435
 
 
11436
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11437
 
$as_echo_n "checking whether to build static libraries... " >&6; }
11438
 
  # Make sure either enable_shared or enable_static is yes.
11439
 
  test "$enable_shared" = yes || enable_static=yes
11440
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11441
 
$as_echo "$enable_static" >&6; }
11442
 
 
11443
 
  
11444
 
 
11445
 
 
11446
 
fi
11447
 
ac_ext=c
11448
 
ac_cpp='$CPP $CPPFLAGS'
11449
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11450
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11451
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11452
 
 
11453
 
CC="$lt_save_CC"
11454
 
 
11455
 
 
11456
 
 
11457
 
 
11458
 
 
11459
 
 
11460
 
 
11461
 
 
11462
 
       
11463
 
       
11464
 
 
11465
 
 
11466
 
 
11467
 
 
11468
 
 
11469
 
        ac_config_commands="$ac_config_commands libtool"
11470
 
 
11471
 
 
11472
 
 
11473
 
 
11474
 
# Only expand once:
11475
 
 
11476
 
 
11477
 
for ac_prog in doxygen
11478
 
do
11479
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
11480
 
set dummy $ac_prog; ac_word=$2
11481
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11482
 
$as_echo_n "checking for $ac_word... " >&6; }
11483
 
if ${ac_cv_prog_DOXYGEN+:} false; then :
11484
 
  $as_echo_n "(cached) " >&6
11485
 
else
11486
 
  if test -n "$DOXYGEN"; then
11487
 
  ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
11488
 
else
11489
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11490
 
for as_dir in $PATH
11491
 
do
11492
 
  IFS=$as_save_IFS
11493
 
  test -z "$as_dir" && as_dir=.
11494
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11495
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11496
 
    ac_cv_prog_DOXYGEN="$ac_prog"
11497
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11498
 
    break 2
11499
 
  fi
11500
 
done
11501
 
  done
11502
 
IFS=$as_save_IFS
11503
 
 
11504
 
fi
11505
 
fi
11506
 
DOXYGEN=$ac_cv_prog_DOXYGEN
11507
 
if test -n "$DOXYGEN"; then
11508
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
11509
 
$as_echo "$DOXYGEN" >&6; }
11510
 
else
11511
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11512
 
$as_echo "no" >&6; }
11513
 
fi
11514
 
 
11515
 
 
11516
 
  test -n "$DOXYGEN" && break
11517
 
done
11518
 
test -n "$DOXYGEN" || DOXYGEN="doxygen"
11519
 
 
11520
 
  
11521
 
 
11522
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler vendor" >&5
11523
 
$as_echo_n "checking for C compiler vendor... " >&6; }
11524
 
if ${ax_cv_c_compiler_vendor+:} false; then :
11525
 
  $as_echo_n "(cached) " >&6
11526
 
else
11527
 
  ax_cv_c_compiler_vendor=unknown
11528
 
  # note: don't check for gcc first since some other compilers define __GNUC__
11529
 
  for ventest in intel:__ICC,__ECC,__INTEL_COMPILER ibm:__xlc__,__xlC__,__IBMC__,__IBMCPP__ pathscale:__PATHCC__,__PATHSCALE__ gnu:__GNUC__ sun:__SUNPRO_C,__SUNPRO_CC hp:__HP_cc,__HP_aCC dec:__DECC,__DECCXX,__DECC_VER,__DECCXX_VER borland:__BORLANDC__,__TURBOC__ comeau:__COMO__ cray:_CRAYC kai:__KCC lcc:__LCC__ metrowerks:__MWERKS__ sgi:__sgi,sgi microsoft:_MSC_VER watcom:__WATCOMC__ portland:__PGI; do
11530
 
    vencpp="defined("`echo $ventest | cut -d: -f2 | sed 's/,/) || defined(/g'`")"
11531
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11532
 
/* end confdefs.h.  */
11533
 
 
11534
 
int
11535
 
main ()
11536
 
{
11537
 
 
11538
 
#if !($vencpp)
11539
 
      thisisanerror;
11540
 
#endif
11541
 
 
11542
 
  ;
11543
 
  return 0;
11544
 
}
11545
 
_ACEOF
11546
 
if ac_fn_c_try_compile "$LINENO"; then :
11547
 
  ax_cv_c_compiler_vendor=`echo $ventest | cut -d: -f1`; break
11548
 
fi
11549
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11550
 
  done
11551
 
 
11552
 
fi
11553
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_compiler_vendor" >&5
11554
 
$as_echo "$ax_cv_c_compiler_vendor" >&6; }
11555
 
 
11556
 
 
11557
 
 
11558
 
 
11559
 
 
11560
 
 
11561
 
@%:@ Check whether --enable-portable-binary was given.
11562
 
if test "${enable_portable_binary+set}" = set; then :
11563
 
  enableval=$enable_portable_binary; acx_maxopt_portable=$withval
11564
 
else
11565
 
  acx_maxopt_portable=no
11566
 
fi
11567
 
 
11568
 
 
11569
 
# Try to determine "good" native compiler flags if none specified via CFLAGS
11570
 
if test "$ac_test_CFLAGS" != "set"; then
11571
 
  CFLAGS=""
11572
 
  case $ax_cv_c_compiler_vendor in
11573
 
    dec) CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host"
11574
 
         if test "x$acx_maxopt_portable" = xno; then
11575
 
           CFLAGS="$CFLAGS -arch host"
11576
 
         fi;;
11577
 
 
11578
 
    sun) CFLAGS="-native -fast -xO5 -dalign"
11579
 
         if test "x$acx_maxopt_portable" = xyes; then
11580
 
           CFLAGS="$CFLAGS -xarch=generic"
11581
 
         fi;;
11582
 
 
11583
 
    hp)  CFLAGS="+Oall +Optrs_ansi +DSnative"
11584
 
         if test "x$acx_maxopt_portable" = xyes; then
11585
 
           CFLAGS="$CFLAGS +DAportable"
11586
 
         fi;;
11587
 
 
11588
 
    ibm) if test "x$acx_maxopt_portable" = xno; then
11589
 
           xlc_opt="-qarch=auto -qtune=auto"
11590
 
         else
11591
 
           xlc_opt="-qtune=auto"
11592
 
         fi
11593
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $xlc_opt" >&5
11594
 
$as_echo_n "checking whether C compiler accepts $xlc_opt... " >&6; }
11595
 
ax_save_FLAGS=$CFLAGS
11596
 
   CFLAGS="$xlc_opt"
11597
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11598
 
/* end confdefs.h.  */
11599
 
 
11600
 
int
11601
 
main ()
11602
 
{
11603
 
 
11604
 
  ;
11605
 
  return 0;
11606
 
}
11607
 
_ACEOF
11608
 
if ac_fn_c_try_compile "$LINENO"; then :
11609
 
  eval `$as_echo "ax_cv_c_flags_$xlc_opt" | $as_tr_sh`=yes
11610
 
else
11611
 
  eval `$as_echo "ax_cv_c_flags_$xlc_opt" | $as_tr_sh`=no
11612
 
fi
11613
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11614
 
   CFLAGS=$ax_save_FLAGS
11615
 
eval ax_check_compiler_flags=$`$as_echo "ax_cv_c_flags_$xlc_opt" | $as_tr_sh`
11616
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
11617
 
$as_echo "$ax_check_compiler_flags" >&6; }
11618
 
if test "x$ax_check_compiler_flags" = xyes; then
11619
 
        CFLAGS="-O3 -qansialias -w $xlc_opt"
11620
 
else
11621
 
        CFLAGS="-O3 -qansialias -w"
11622
 
                echo "******************************************************"
11623
 
                echo "*  You seem to have the IBM  C compiler.  It is      *"
11624
 
                echo "*  recommended for best performance that you use:    *"
11625
 
                echo "*                                                    *"
11626
 
                echo "*    CFLAGS=-O3 -qarch=xxx -qtune=xxx -qansialias -w *"
11627
 
                echo "*                      ^^^        ^^^                *"
11628
 
                echo "*  where xxx is pwr2, pwr3, 604, or whatever kind of *"
11629
 
                echo "*  CPU you have.  (Set the CFLAGS environment var.   *"
11630
 
                echo "*  and re-run configure.)  For more info, man cc.    *"
11631
 
                echo "******************************************************"
11632
 
fi
11633
 
 
11634
 
         ;;
11635
 
 
11636
 
    intel) CFLAGS="-O3 -ansi_alias"
11637
 
        if test "x$acx_maxopt_portable" = xno; then
11638
 
          icc_archflag=unknown
11639
 
          icc_flags=""
11640
 
          case $host_cpu in
11641
 
            i686*|x86_64*)
11642
 
              # icc accepts gcc assembly syntax, so these should work:
11643
 
              
11644
 
ac_ext=c
11645
 
ac_cpp='$CPP $CPPFLAGS'
11646
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11647
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11648
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11649
 
 
11650
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0 output" >&5
11651
 
$as_echo_n "checking for x86 cpuid 0 output... " >&6; }
11652
 
if ${ax_cv_gcc_x86_cpuid_0+:} false; then :
11653
 
  $as_echo_n "(cached) " >&6
11654
 
else
11655
 
  if test "$cross_compiling" = yes; then :
11656
 
  ax_cv_gcc_x86_cpuid_0=unknown
11657
 
else
11658
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11659
 
/* end confdefs.h.  */
11660
 
#include <stdio.h>
11661
 
int
11662
 
main ()
11663
 
{
11664
 
 
11665
 
     int op = 0, eax, ebx, ecx, edx;
11666
 
     FILE *f;
11667
 
      __asm__("cpuid"
11668
 
        : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
11669
 
        : "a" (op));
11670
 
     f = fopen("conftest_cpuid", "w"); if (!f) return 1;
11671
 
     fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
11672
 
     fclose(f);
11673
 
     return 0;
11674
 
 
11675
 
  ;
11676
 
  return 0;
11677
 
}
11678
 
_ACEOF
11679
 
if ac_fn_c_try_run "$LINENO"; then :
11680
 
  ax_cv_gcc_x86_cpuid_0=`cat conftest_cpuid`; rm -f conftest_cpuid
11681
 
else
11682
 
  ax_cv_gcc_x86_cpuid_0=unknown; rm -f conftest_cpuid
11683
 
fi
11684
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11685
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
11686
 
fi
11687
 
 
11688
 
fi
11689
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0" >&5
11690
 
$as_echo "$ax_cv_gcc_x86_cpuid_0" >&6; }
11691
 
ac_ext=c
11692
 
ac_cpp='$CPP $CPPFLAGS'
11693
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11694
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11695
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11696
 
 
11697
 
 
11698
 
              
11699
 
ac_ext=c
11700
 
ac_cpp='$CPP $CPPFLAGS'
11701
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11702
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11703
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11704
 
 
11705
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 1 output" >&5
11706
 
$as_echo_n "checking for x86 cpuid 1 output... " >&6; }
11707
 
if ${ax_cv_gcc_x86_cpuid_1+:} false; then :
11708
 
  $as_echo_n "(cached) " >&6
11709
 
else
11710
 
  if test "$cross_compiling" = yes; then :
11711
 
  ax_cv_gcc_x86_cpuid_1=unknown
11712
 
else
11713
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11714
 
/* end confdefs.h.  */
11715
 
#include <stdio.h>
11716
 
int
11717
 
main ()
11718
 
{
11719
 
 
11720
 
     int op = 1, eax, ebx, ecx, edx;
11721
 
     FILE *f;
11722
 
      __asm__("cpuid"
11723
 
        : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
11724
 
        : "a" (op));
11725
 
     f = fopen("conftest_cpuid", "w"); if (!f) return 1;
11726
 
     fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
11727
 
     fclose(f);
11728
 
     return 0;
11729
 
 
11730
 
  ;
11731
 
  return 0;
11732
 
}
11733
 
_ACEOF
11734
 
if ac_fn_c_try_run "$LINENO"; then :
11735
 
  ax_cv_gcc_x86_cpuid_1=`cat conftest_cpuid`; rm -f conftest_cpuid
11736
 
else
11737
 
  ax_cv_gcc_x86_cpuid_1=unknown; rm -f conftest_cpuid
11738
 
fi
11739
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11740
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
11741
 
fi
11742
 
 
11743
 
fi
11744
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_1" >&5
11745
 
$as_echo "$ax_cv_gcc_x86_cpuid_1" >&6; }
11746
 
ac_ext=c
11747
 
ac_cpp='$CPP $CPPFLAGS'
11748
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11749
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11750
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11751
 
 
11752
 
 
11753
 
              case $ax_cv_gcc_x86_cpuid_0 in # see AX_GCC_ARCHFLAG
11754
 
                *:756e6547:*:*) # Intel
11755
 
                  case $ax_cv_gcc_x86_cpuid_1 in
11756
 
                    *6a?:*[234]:*:*|*6[789b]?:*:*:*) icc_flags="-xK";;
11757
 
                    *f3[347]:*:*:*|*f41347:*:*:*) icc_flags="-xP -xN -xW -xK";;
11758
 
                    *f??:*:*:*) icc_flags="-xN -xW -xK";;
11759
 
                  esac ;;
11760
 
              esac ;;
11761
 
          esac
11762
 
          if test "x$icc_flags" != x; then
11763
 
            for flag in $icc_flags; do
11764
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
11765
 
$as_echo_n "checking whether C compiler accepts $flag... " >&6; }
11766
 
ax_save_FLAGS=$CFLAGS
11767
 
   CFLAGS="$flag"
11768
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11769
 
/* end confdefs.h.  */
11770
 
 
11771
 
int
11772
 
main ()
11773
 
{
11774
 
 
11775
 
  ;
11776
 
  return 0;
11777
 
}
11778
 
_ACEOF
11779
 
if ac_fn_c_try_compile "$LINENO"; then :
11780
 
  eval `$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`=yes
11781
 
else
11782
 
  eval `$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`=no
11783
 
fi
11784
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11785
 
   CFLAGS=$ax_save_FLAGS
11786
 
eval ax_check_compiler_flags=$`$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`
11787
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
11788
 
$as_echo "$ax_check_compiler_flags" >&6; }
11789
 
if test "x$ax_check_compiler_flags" = xyes; then
11790
 
        icc_archflag=$flag; break
11791
 
else
11792
 
        :
11793
 
fi
11794
 
 
11795
 
            done
11796
 
          fi
11797
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for icc architecture flag" >&5
11798
 
$as_echo_n "checking for icc architecture flag... " >&6; }
11799
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: $icc_archflag" >&5
11800
 
$as_echo "$icc_archflag" >&6; }
11801
 
          if test "x$icc_archflag" != xunknown; then
11802
 
            CFLAGS="$CFLAGS $icc_archflag"
11803
 
          fi
11804
 
        fi
11805
 
        ;;
11806
 
 
11807
 
    gnu)
11808
 
     # default optimization flags for gcc on all systems
11809
 
     CFLAGS="-O3 -fomit-frame-pointer"
11810
 
 
11811
 
     # -malign-double for x86 systems
11812
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -malign-double" >&5
11813
 
$as_echo_n "checking whether C compiler accepts -malign-double... " >&6; }
11814
 
if ${ax_cv_c_flags__malign_double+:} false; then :
11815
 
  $as_echo_n "(cached) " >&6
11816
 
else
11817
 
  
11818
 
      ax_save_FLAGS=$CFLAGS
11819
 
      CFLAGS="-malign-double"
11820
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11821
 
/* end confdefs.h.  */
11822
 
 
11823
 
int
11824
 
main ()
11825
 
{
11826
 
 
11827
 
  ;
11828
 
  return 0;
11829
 
}
11830
 
_ACEOF
11831
 
if ac_fn_c_try_compile "$LINENO"; then :
11832
 
  ax_cv_c_flags__malign_double=yes
11833
 
else
11834
 
  ax_cv_c_flags__malign_double=no
11835
 
fi
11836
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11837
 
      CFLAGS=$ax_save_FLAGS
11838
 
fi
11839
 
 
11840
 
eval ax_check_compiler_flags=$ax_cv_c_flags__malign_double
11841
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
11842
 
$as_echo "$ax_check_compiler_flags" >&6; }
11843
 
if test "x$ax_check_compiler_flags" = xyes; then
11844
 
        CFLAGS="$CFLAGS -malign-double"
11845
 
else
11846
 
        :
11847
 
fi
11848
 
 
11849
 
 
11850
 
     #  -fstrict-aliasing for gcc-2.95+
11851
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstrict-aliasing" >&5
11852
 
$as_echo_n "checking whether C compiler accepts -fstrict-aliasing... " >&6; }
11853
 
if ${ax_cv_c_flags__fstrict_aliasing+:} false; then :
11854
 
  $as_echo_n "(cached) " >&6
11855
 
else
11856
 
  
11857
 
      ax_save_FLAGS=$CFLAGS
11858
 
      CFLAGS="-fstrict-aliasing"
11859
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11860
 
/* end confdefs.h.  */
11861
 
 
11862
 
int
11863
 
main ()
11864
 
{
11865
 
 
11866
 
  ;
11867
 
  return 0;
11868
 
}
11869
 
_ACEOF
11870
 
if ac_fn_c_try_compile "$LINENO"; then :
11871
 
  ax_cv_c_flags__fstrict_aliasing=yes
11872
 
else
11873
 
  ax_cv_c_flags__fstrict_aliasing=no
11874
 
fi
11875
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11876
 
      CFLAGS=$ax_save_FLAGS
11877
 
fi
11878
 
 
11879
 
eval ax_check_compiler_flags=$ax_cv_c_flags__fstrict_aliasing
11880
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
11881
 
$as_echo "$ax_check_compiler_flags" >&6; }
11882
 
if test "x$ax_check_compiler_flags" = xyes; then
11883
 
        CFLAGS="$CFLAGS -fstrict-aliasing"
11884
 
else
11885
 
        :
11886
 
fi
11887
 
 
11888
 
 
11889
 
     # note that we enable "unsafe" fp optimization with other compilers, too
11890
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -ffast-math" >&5
11891
 
$as_echo_n "checking whether C compiler accepts -ffast-math... " >&6; }
11892
 
if ${ax_cv_c_flags__ffast_math+:} false; then :
11893
 
  $as_echo_n "(cached) " >&6
11894
 
else
11895
 
  
11896
 
      ax_save_FLAGS=$CFLAGS
11897
 
      CFLAGS="-ffast-math"
11898
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11899
 
/* end confdefs.h.  */
11900
 
 
11901
 
int
11902
 
main ()
11903
 
{
11904
 
 
11905
 
  ;
11906
 
  return 0;
11907
 
}
11908
 
_ACEOF
11909
 
if ac_fn_c_try_compile "$LINENO"; then :
11910
 
  ax_cv_c_flags__ffast_math=yes
11911
 
else
11912
 
  ax_cv_c_flags__ffast_math=no
11913
 
fi
11914
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11915
 
      CFLAGS=$ax_save_FLAGS
11916
 
fi
11917
 
 
11918
 
eval ax_check_compiler_flags=$ax_cv_c_flags__ffast_math
11919
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
11920
 
$as_echo "$ax_check_compiler_flags" >&6; }
11921
 
if test "x$ax_check_compiler_flags" = xyes; then
11922
 
        CFLAGS="$CFLAGS -ffast-math"
11923
 
else
11924
 
        :
11925
 
fi
11926
 
 
11927
 
 
11928
 
     
11929
 
 
11930
 
 
11931
 
 
11932
 
@%:@ Check whether --with-gcc-arch was given.
11933
 
if test "${with_gcc_arch+set}" = set; then :
11934
 
  withval=$with_gcc_arch; ax_gcc_arch=$withval
11935
 
else
11936
 
  ax_gcc_arch=yes
11937
 
fi
11938
 
 
11939
 
 
11940
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc architecture flag" >&5
11941
 
$as_echo_n "checking for gcc architecture flag... " >&6; }
11942
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
11943
 
$as_echo "" >&6; }
11944
 
if ${ax_cv_gcc_archflag+:} false; then :
11945
 
  $as_echo_n "(cached) " >&6
11946
 
else
11947
 
  
11948
 
ax_cv_gcc_archflag="unknown"
11949
 
 
11950
 
if test "$GCC" = yes; then
11951
 
 
11952
 
if test "x$ax_gcc_arch" = xyes; then
11953
 
ax_gcc_arch=""
11954
 
if test "$cross_compiling" = no; then
11955
 
case $host_cpu in
11956
 
  i[3456]86*|x86_64*) # use cpuid codes, in part from x86info-1.7 by D. Jones
11957
 
     
11958
 
ac_ext=c
11959
 
ac_cpp='$CPP $CPPFLAGS'
11960
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11961
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11962
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11963
 
 
11964
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0 output" >&5
11965
 
$as_echo_n "checking for x86 cpuid 0 output... " >&6; }
11966
 
if ${ax_cv_gcc_x86_cpuid_0+:} false; then :
11967
 
  $as_echo_n "(cached) " >&6
11968
 
else
11969
 
  if test "$cross_compiling" = yes; then :
11970
 
  ax_cv_gcc_x86_cpuid_0=unknown
11971
 
else
11972
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11973
 
/* end confdefs.h.  */
11974
 
#include <stdio.h>
11975
 
int
11976
 
main ()
11977
 
{
11978
 
 
11979
 
     int op = 0, eax, ebx, ecx, edx;
11980
 
     FILE *f;
11981
 
      __asm__("cpuid"
11982
 
        : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
11983
 
        : "a" (op));
11984
 
     f = fopen("conftest_cpuid", "w"); if (!f) return 1;
11985
 
     fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
11986
 
     fclose(f);
11987
 
     return 0;
11988
 
 
11989
 
  ;
11990
 
  return 0;
11991
 
}
11992
 
_ACEOF
11993
 
if ac_fn_c_try_run "$LINENO"; then :
11994
 
  ax_cv_gcc_x86_cpuid_0=`cat conftest_cpuid`; rm -f conftest_cpuid
11995
 
else
11996
 
  ax_cv_gcc_x86_cpuid_0=unknown; rm -f conftest_cpuid
11997
 
fi
11998
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11999
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
12000
 
fi
12001
 
 
12002
 
fi
12003
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0" >&5
12004
 
$as_echo "$ax_cv_gcc_x86_cpuid_0" >&6; }
12005
 
ac_ext=c
12006
 
ac_cpp='$CPP $CPPFLAGS'
12007
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12008
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12009
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12010
 
 
12011
 
 
12012
 
     
12013
 
ac_ext=c
12014
 
ac_cpp='$CPP $CPPFLAGS'
12015
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12016
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12017
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12018
 
 
12019
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 1 output" >&5
12020
 
$as_echo_n "checking for x86 cpuid 1 output... " >&6; }
12021
 
if ${ax_cv_gcc_x86_cpuid_1+:} false; then :
12022
 
  $as_echo_n "(cached) " >&6
12023
 
else
12024
 
  if test "$cross_compiling" = yes; then :
12025
 
  ax_cv_gcc_x86_cpuid_1=unknown
12026
 
else
12027
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12028
 
/* end confdefs.h.  */
12029
 
#include <stdio.h>
12030
 
int
12031
 
main ()
12032
 
{
12033
 
 
12034
 
     int op = 1, eax, ebx, ecx, edx;
12035
 
     FILE *f;
12036
 
      __asm__("cpuid"
12037
 
        : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
12038
 
        : "a" (op));
12039
 
     f = fopen("conftest_cpuid", "w"); if (!f) return 1;
12040
 
     fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
12041
 
     fclose(f);
12042
 
     return 0;
12043
 
 
12044
 
  ;
12045
 
  return 0;
12046
 
}
12047
 
_ACEOF
12048
 
if ac_fn_c_try_run "$LINENO"; then :
12049
 
  ax_cv_gcc_x86_cpuid_1=`cat conftest_cpuid`; rm -f conftest_cpuid
12050
 
else
12051
 
  ax_cv_gcc_x86_cpuid_1=unknown; rm -f conftest_cpuid
12052
 
fi
12053
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12054
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
12055
 
fi
12056
 
 
12057
 
fi
12058
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_1" >&5
12059
 
$as_echo "$ax_cv_gcc_x86_cpuid_1" >&6; }
12060
 
ac_ext=c
12061
 
ac_cpp='$CPP $CPPFLAGS'
12062
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12063
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12064
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12065
 
 
12066
 
 
12067
 
     case $ax_cv_gcc_x86_cpuid_0 in
12068
 
       *:756e6547:*:*) # Intel
12069
 
          case $ax_cv_gcc_x86_cpuid_1 in
12070
 
            *5[48]?:*:*:*) ax_gcc_arch="pentium-mmx pentium" ;;
12071
 
            *5??:*:*:*) ax_gcc_arch=pentium ;;
12072
 
            *6[3456]?:*:*:*) ax_gcc_arch="pentium2 pentiumpro" ;;
12073
 
            *6a?:*[01]:*:*) ax_gcc_arch="pentium2 pentiumpro" ;;
12074
 
            *6a?:*[234]:*:*) ax_gcc_arch="pentium3 pentiumpro" ;;
12075
 
            *6[9d]?:*:*:*) ax_gcc_arch="pentium-m pentium3 pentiumpro" ;;
12076
 
            *6[78b]?:*:*:*) ax_gcc_arch="pentium3 pentiumpro" ;;
12077
 
            *6??:*:*:*) ax_gcc_arch=pentiumpro ;;
12078
 
            *f3[347]:*:*:*|*f41347:*:*:*)
12079
 
                case $host_cpu in
12080
 
                  x86_64*) ax_gcc_arch="nocona pentium4 pentiumpro" ;;
12081
 
                  *) ax_gcc_arch="prescott pentium4 pentiumpro" ;;
12082
 
                esac ;;
12083
 
            *f??:*:*:*) ax_gcc_arch="pentium4 pentiumpro";;
12084
 
          esac ;;
12085
 
       *:68747541:*:*) # AMD
12086
 
          case $ax_cv_gcc_x86_cpuid_1 in
12087
 
            *5[67]?:*:*:*) ax_gcc_arch=k6 ;;
12088
 
            *5[8d]?:*:*:*) ax_gcc_arch="k6-2 k6" ;;
12089
 
            *5[9]?:*:*:*) ax_gcc_arch="k6-3 k6" ;;
12090
 
            *60?:*:*:*) ax_gcc_arch=k7 ;;
12091
 
            *6[12]?:*:*:*) ax_gcc_arch="athlon k7" ;;
12092
 
            *6[34]?:*:*:*) ax_gcc_arch="athlon-tbird k7" ;;
12093
 
            *67?:*:*:*) ax_gcc_arch="athlon-4 athlon k7" ;;
12094
 
            *6[68a]?:*:*:*)
12095
 
               
12096
 
ac_ext=c
12097
 
ac_cpp='$CPP $CPPFLAGS'
12098
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12099
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12100
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12101
 
 
12102
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0x80000006 output" >&5
12103
 
$as_echo_n "checking for x86 cpuid 0x80000006 output... " >&6; }
12104
 
if ${ax_cv_gcc_x86_cpuid_0x80000006+:} false; then :
12105
 
  $as_echo_n "(cached) " >&6
12106
 
else
12107
 
  if test "$cross_compiling" = yes; then :
12108
 
  ax_cv_gcc_x86_cpuid_0x80000006=unknown
12109
 
else
12110
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12111
 
/* end confdefs.h.  */
12112
 
#include <stdio.h>
12113
 
int
12114
 
main ()
12115
 
{
12116
 
 
12117
 
     int op = 0x80000006, eax, ebx, ecx, edx;
12118
 
     FILE *f;
12119
 
      __asm__("cpuid"
12120
 
        : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
12121
 
        : "a" (op));
12122
 
     f = fopen("conftest_cpuid", "w"); if (!f) return 1;
12123
 
     fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
12124
 
     fclose(f);
12125
 
     return 0;
12126
 
 
12127
 
  ;
12128
 
  return 0;
12129
 
}
12130
 
_ACEOF
12131
 
if ac_fn_c_try_run "$LINENO"; then :
12132
 
  ax_cv_gcc_x86_cpuid_0x80000006=`cat conftest_cpuid`; rm -f conftest_cpuid
12133
 
else
12134
 
  ax_cv_gcc_x86_cpuid_0x80000006=unknown; rm -f conftest_cpuid
12135
 
fi
12136
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12137
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
12138
 
fi
12139
 
 
12140
 
fi
12141
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0x80000006" >&5
12142
 
$as_echo "$ax_cv_gcc_x86_cpuid_0x80000006" >&6; }
12143
 
ac_ext=c
12144
 
ac_cpp='$CPP $CPPFLAGS'
12145
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12146
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12147
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12148
 
 
12149
 
 # L2 cache size
12150
 
               case $ax_cv_gcc_x86_cpuid_0x80000006 in
12151
 
                 *:*:*[1-9a-f]??????:*) # (L2 = ecx >> 16) >= 256
12152
 
                        ax_gcc_arch="athlon-xp athlon-4 athlon k7" ;;
12153
 
                 *) ax_gcc_arch="athlon-4 athlon k7" ;;
12154
 
               esac ;;
12155
 
            *f[4cef8b]?:*:*:*) ax_gcc_arch="athlon64 k8" ;;
12156
 
            *f5?:*:*:*) ax_gcc_arch="opteron k8" ;;
12157
 
            *f7?:*:*:*) ax_gcc_arch="athlon-fx opteron k8" ;;
12158
 
            *f??:*:*:*) ax_gcc_arch="k8" ;;
12159
 
          esac ;;
12160
 
        *:746e6543:*:*) # IDT
12161
 
           case $ax_cv_gcc_x86_cpuid_1 in
12162
 
             *54?:*:*:*) ax_gcc_arch=winchip-c6 ;;
12163
 
             *58?:*:*:*) ax_gcc_arch=winchip2 ;;
12164
 
             *6[78]?:*:*:*) ax_gcc_arch=c3 ;;
12165
 
             *69?:*:*:*) ax_gcc_arch="c3-2 c3" ;;
12166
 
           esac ;;
12167
 
     esac
12168
 
     if test x"$ax_gcc_arch" = x; then # fallback
12169
 
        case $host_cpu in
12170
 
          i586*) ax_gcc_arch=pentium ;;
12171
 
          i686*) ax_gcc_arch=pentiumpro ;;
12172
 
        esac
12173
 
     fi
12174
 
     ;;
12175
 
 
12176
 
  sparc*)
12177
 
     # Extract the first word of "prtdiag", so it can be a program name with args.
12178
 
set dummy prtdiag; ac_word=$2
12179
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12180
 
$as_echo_n "checking for $ac_word... " >&6; }
12181
 
if ${ac_cv_path_PRTDIAG+:} false; then :
12182
 
  $as_echo_n "(cached) " >&6
12183
 
else
12184
 
  case $PRTDIAG in
12185
 
  [\\/]* | ?:[\\/]*)
12186
 
  ac_cv_path_PRTDIAG="$PRTDIAG" # Let the user override the test with a path.
12187
 
  ;;
12188
 
  *)
12189
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12190
 
as_dummy="$PATH:/usr/platform/`uname -i`/sbin/:/usr/platform/`uname -m`/sbin/"
12191
 
for as_dir in $as_dummy
12192
 
do
12193
 
  IFS=$as_save_IFS
12194
 
  test -z "$as_dir" && as_dir=.
12195
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12196
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12197
 
    ac_cv_path_PRTDIAG="$as_dir/$ac_word$ac_exec_ext"
12198
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12199
 
    break 2
12200
 
  fi
12201
 
done
12202
 
  done
12203
 
IFS=$as_save_IFS
12204
 
 
12205
 
  test -z "$ac_cv_path_PRTDIAG" && ac_cv_path_PRTDIAG="prtdiag"
12206
 
  ;;
12207
 
esac
12208
 
fi
12209
 
PRTDIAG=$ac_cv_path_PRTDIAG
12210
 
if test -n "$PRTDIAG"; then
12211
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRTDIAG" >&5
12212
 
$as_echo "$PRTDIAG" >&6; }
12213
 
else
12214
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12215
 
$as_echo "no" >&6; }
12216
 
fi
12217
 
 
12218
 
 
12219
 
     cputype=`(((grep cpu /proc/cpuinfo | cut -d: -f2) ; ($PRTDIAG -v |grep -i sparc) ; grep -i cpu /var/run/dmesg.boot ) | head -n 1) 2> /dev/null`
12220
 
     cputype=`echo "$cputype" | tr -d ' -' |tr $as_cr_LETTERS $as_cr_letters`
12221
 
     case $cputype in
12222
 
         *ultrasparciv*) ax_gcc_arch="ultrasparc4 ultrasparc3 ultrasparc v9" ;;
12223
 
         *ultrasparciii*) ax_gcc_arch="ultrasparc3 ultrasparc v9" ;;
12224
 
         *ultrasparc*) ax_gcc_arch="ultrasparc v9" ;;
12225
 
         *supersparc*|*tms390z5[05]*) ax_gcc_arch="supersparc v8" ;;
12226
 
         *hypersparc*|*rt62[056]*) ax_gcc_arch="hypersparc v8" ;;
12227
 
         *cypress*) ax_gcc_arch=cypress ;;
12228
 
     esac ;;
12229
 
 
12230
 
  alphaev5) ax_gcc_arch=ev5 ;;
12231
 
  alphaev56) ax_gcc_arch=ev56 ;;
12232
 
  alphapca56) ax_gcc_arch="pca56 ev56" ;;
12233
 
  alphapca57) ax_gcc_arch="pca57 pca56 ev56" ;;
12234
 
  alphaev6) ax_gcc_arch=ev6 ;;
12235
 
  alphaev67) ax_gcc_arch=ev67 ;;
12236
 
  alphaev68) ax_gcc_arch="ev68 ev67" ;;
12237
 
  alphaev69) ax_gcc_arch="ev69 ev68 ev67" ;;
12238
 
  alphaev7) ax_gcc_arch="ev7 ev69 ev68 ev67" ;;
12239
 
  alphaev79) ax_gcc_arch="ev79 ev7 ev69 ev68 ev67" ;;
12240
 
 
12241
 
  powerpc*)
12242
 
     cputype=`((grep cpu /proc/cpuinfo | head -n 1 | cut -d: -f2 | cut -d, -f1 | sed 's/ //g') ; /usr/bin/machine ; /bin/machine; grep CPU /var/run/dmesg.boot | head -n 1 | cut -d" " -f2) 2> /dev/null`
12243
 
     cputype=`echo $cputype | sed -e 's/ppc//g;s/ *//g'`
12244
 
     case $cputype in
12245
 
       *750*) ax_gcc_arch="750 G3" ;;
12246
 
       *740[0-9]*) ax_gcc_arch="$cputype 7400 G4" ;;
12247
 
       *74[4-5][0-9]*) ax_gcc_arch="$cputype 7450 G4" ;;
12248
 
       *74[0-9][0-9]*) ax_gcc_arch="$cputype G4" ;;
12249
 
       *970*) ax_gcc_arch="970 G5 power4";;
12250
 
       *POWER4*|*power4*|*gq*) ax_gcc_arch="power4 970";;
12251
 
       *POWER5*|*power5*|*gr*|*gs*) ax_gcc_arch="power5 power4 970";;
12252
 
       603ev|8240) ax_gcc_arch="$cputype 603e 603";;
12253
 
       *) ax_gcc_arch=$cputype ;;
12254
 
     esac
12255
 
     ax_gcc_arch="$ax_gcc_arch powerpc"
12256
 
     ;;
12257
 
esac
12258
 
fi # not cross-compiling
12259
 
fi # guess arch
12260
 
 
12261
 
if test "x$ax_gcc_arch" != x -a "x$ax_gcc_arch" != xno; then
12262
 
for arch in $ax_gcc_arch; do
12263
 
  if test "x$acx_maxopt_portable" = xyes; then # if we require portable code
12264
 
    flags="-mtune=$arch"
12265
 
    # -mcpu=$arch and m$arch generate nonportable code on every arch except
12266
 
    # x86.  And some other arches (e.g. Alpha) don't accept -mtune.  Grrr.
12267
 
    case $host_cpu in i*86|x86_64*) flags="$flags -mcpu=$arch -m$arch";; esac
12268
 
  else
12269
 
    flags="-march=$arch -mcpu=$arch -m$arch"
12270
 
  fi
12271
 
  for flag in $flags; do
12272
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12273
 
$as_echo_n "checking whether C compiler accepts $flag... " >&6; }
12274
 
ax_save_FLAGS=$CFLAGS
12275
 
   CFLAGS="$flag"
12276
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12277
 
/* end confdefs.h.  */
12278
 
 
12279
 
int
12280
 
main ()
12281
 
{
12282
 
 
12283
 
  ;
12284
 
  return 0;
12285
 
}
12286
 
_ACEOF
12287
 
if ac_fn_c_try_compile "$LINENO"; then :
12288
 
  eval `$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`=yes
12289
 
else
12290
 
  eval `$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`=no
12291
 
fi
12292
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12293
 
   CFLAGS=$ax_save_FLAGS
12294
 
eval ax_check_compiler_flags=$`$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`
12295
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
12296
 
$as_echo "$ax_check_compiler_flags" >&6; }
12297
 
if test "x$ax_check_compiler_flags" = xyes; then
12298
 
        ax_cv_gcc_archflag=$flag; break
12299
 
else
12300
 
        :
12301
 
fi
12302
 
 
12303
 
  done
12304
 
  test "x$ax_cv_gcc_archflag" = xunknown || break
12305
 
done
12306
 
fi
12307
 
 
12308
 
fi # $GCC=yes
12309
 
 
12310
 
fi
12311
 
 
12312
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc architecture flag" >&5
12313
 
$as_echo_n "checking for gcc architecture flag... " >&6; }
12314
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_archflag" >&5
12315
 
$as_echo "$ax_cv_gcc_archflag" >&6; }
12316
 
if test "x$ax_cv_gcc_archflag" = xunknown; then
12317
 
  :
12318
 
else
12319
 
  CFLAGS="$CFLAGS $ax_cv_gcc_archflag"
12320
 
fi
12321
 
 
12322
 
     ;;
12323
 
  esac
12324
 
 
12325
 
  if test -z "$CFLAGS"; then
12326
 
        echo ""
12327
 
        echo "********************************************************"
12328
 
        echo "* WARNING: Don't know the best CFLAGS for this system  *"
12329
 
        echo "* Use ./configure CFLAGS=... to specify your own flags *"
12330
 
        echo "* (otherwise, a default of CFLAGS=-O3 will be used)    *"
12331
 
        echo "********************************************************"
12332
 
        echo ""
12333
 
        CFLAGS="-O3"
12334
 
  fi
12335
 
 
12336
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CFLAGS" >&5
12337
 
$as_echo_n "checking whether C compiler accepts $CFLAGS... " >&6; }
12338
 
ax_save_FLAGS=$CFLAGS
12339
 
   CFLAGS="$CFLAGS"
12340
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12341
 
/* end confdefs.h.  */
12342
 
 
12343
 
int
12344
 
main ()
12345
 
{
12346
 
 
12347
 
  ;
12348
 
  return 0;
12349
 
}
12350
 
_ACEOF
12351
 
if ac_fn_c_try_compile "$LINENO"; then :
12352
 
  eval `$as_echo "ax_cv_c_flags_$CFLAGS" | $as_tr_sh`=yes
12353
 
else
12354
 
  eval `$as_echo "ax_cv_c_flags_$CFLAGS" | $as_tr_sh`=no
12355
 
fi
12356
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12357
 
   CFLAGS=$ax_save_FLAGS
12358
 
eval ax_check_compiler_flags=$`$as_echo "ax_cv_c_flags_$CFLAGS" | $as_tr_sh`
12359
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
12360
 
$as_echo "$ax_check_compiler_flags" >&6; }
12361
 
if test "x$ax_check_compiler_flags" = xyes; then
12362
 
        :
12363
 
else
12364
 
        
12365
 
        echo ""
12366
 
        echo "********************************************************"
12367
 
        echo "* WARNING: The guessed CFLAGS don't seem to work with  *"
12368
 
        echo "* your compiler.                                       *"
12369
 
        echo "* Use ./configure CFLAGS=... to specify your own flags *"
12370
 
        echo "********************************************************"
12371
 
        echo ""
12372
 
        CFLAGS=""
12373
 
  
12374
 
fi
12375
 
 
12376
 
 
12377
 
fi
12378
 
 
12379
 
 
12380
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS_WARN for maximum warnings" >&5
12381
 
$as_echo_n "checking CFLAGS_WARN for maximum warnings... " >&6; }
12382
 
if ${ac_cv_cflags_warn_all+:} false; then :
12383
 
  $as_echo_n "(cached) " >&6
12384
 
else
12385
 
  ac_cv_cflags_warn_all="no, unknown"
12386
 
 
12387
 
 ac_ext=c
12388
 
ac_cpp='$CPP $CPPFLAGS'
12389
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12390
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12391
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12392
 
 
12393
 
 ac_save_CFLAGS="$CFLAGS"
12394
 
for ac_arg in "-pedantic  % -Wall"          "-xstrconst % -v"             "-std1      % -verbose -w0 -warnprotos"    "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd"    "-ansi -ansiE % -fullwarn"    "+ESlit     % +w1"            "-Xc        % -pvctl,fullmsg"    "-h conform % -h msglevel 2"    #
12395
 
do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
12396
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12397
 
/* end confdefs.h.  */
12398
 
 
12399
 
int
12400
 
main ()
12401
 
{
12402
 
return 0;
12403
 
  ;
12404
 
  return 0;
12405
 
}
12406
 
_ACEOF
12407
 
if ac_fn_c_try_compile "$LINENO"; then :
12408
 
  ac_cv_cflags_warn_all=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
12409
 
fi
12410
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12411
 
done
12412
 
 CFLAGS="$ac_save_CFLAGS"
12413
 
 ac_ext=c
12414
 
ac_cpp='$CPP $CPPFLAGS'
12415
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12416
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12417
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12418
 
 
12419
 
 
12420
 
fi
12421
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
12422
 
$as_echo "$ac_cv_cflags_warn_all" >&6; }
12423
 
case ".$ac_cv_cflags_warn_all" in
12424
 
     .ok|.ok,*)  ;;
12425
 
   .|.no|.no,*) 
12426
 
 ;;
12427
 
   *) 
12428
 
   if echo " $CFLAGS_WARN " | grep " $ac_cv_cflags_warn_all " 2>&1 >/dev/null
12429
 
   then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS_WARN does contain \$ac_cv_cflags_warn_all"; } >&5
12430
 
  (: CFLAGS_WARN does contain $ac_cv_cflags_warn_all) 2>&5
12431
 
  ac_status=$?
12432
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12433
 
  test $ac_status = 0; }
12434
 
   else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS_WARN=\"\$CFLAGS_WARN \$ac_cv_cflags_warn_all\""; } >&5
12435
 
  (: CFLAGS_WARN="$CFLAGS_WARN $ac_cv_cflags_warn_all") 2>&5
12436
 
  ac_status=$?
12437
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12438
 
  test $ac_status = 0; }
12439
 
                      CFLAGS_WARN="$CFLAGS_WARN $ac_cv_cflags_warn_all"
12440
 
   fi 
12441
 
 ;;
12442
 
esac
12443
 
 
12444
 
 
12445
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12446
 
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12447
 
if ${ac_cv_c_const+:} false; then :
12448
 
  $as_echo_n "(cached) " >&6
12449
 
else
12450
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12451
 
/* end confdefs.h.  */
12452
 
 
12453
 
int
12454
 
main ()
12455
 
{
12456
 
 
12457
 
#ifndef __cplusplus
12458
 
  /* Ultrix mips cc rejects this sort of thing.  */
12459
 
  typedef int charset[2];
12460
 
  const charset cs = { 0, 0 };
12461
 
  /* SunOS 4.1.1 cc rejects this.  */
12462
 
  char const *const *pcpcc;
12463
 
  char **ppc;
12464
 
  /* NEC SVR4.0.2 mips cc rejects this.  */
12465
 
  struct point {int x, y;};
12466
 
  static struct point const zero = {0,0};
12467
 
  /* AIX XL C 1.02.0.0 rejects this.
12468
 
     It does not let you subtract one const X* pointer from another in
12469
 
     an arm of an if-expression whose if-part is not a constant
12470
 
     expression */
12471
 
  const char *g = "string";
12472
 
  pcpcc = &g + (g ? g-g : 0);
12473
 
  /* HPUX 7.0 cc rejects these. */
12474
 
  ++pcpcc;
12475
 
  ppc = (char**) pcpcc;
12476
 
  pcpcc = (char const *const *) ppc;
12477
 
  { /* SCO 3.2v4 cc rejects this sort of thing.  */
12478
 
    char tx;
12479
 
    char *t = &tx;
12480
 
    char const *s = 0 ? (char *) 0 : (char const *) 0;
12481
 
 
12482
 
    *t++ = 0;
12483
 
    if (s) return 0;
12484
 
  }
12485
 
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12486
 
    int x[] = {25, 17};
12487
 
    const int *foo = &x[0];
12488
 
    ++foo;
12489
 
  }
12490
 
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12491
 
    typedef const int *iptr;
12492
 
    iptr p = 0;
12493
 
    ++p;
12494
 
  }
12495
 
  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12496
 
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12497
 
    struct s { int j; const int *ap[3]; } bx;
12498
 
    struct s *b = &bx; b->j = 5;
12499
 
  }
12500
 
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12501
 
    const int foo = 10;
12502
 
    if (!foo) return 0;
12503
 
  }
12504
 
  return !cs[0] && !zero.x;
12505
 
#endif
12506
 
 
12507
 
  ;
12508
 
  return 0;
12509
 
}
12510
 
_ACEOF
12511
 
if ac_fn_c_try_compile "$LINENO"; then :
12512
 
  ac_cv_c_const=yes
12513
 
else
12514
 
  ac_cv_c_const=no
12515
 
fi
12516
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12517
 
fi
12518
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12519
 
$as_echo "$ac_cv_c_const" >&6; }
12520
 
if test $ac_cv_c_const = no; then
12521
 
  
12522
 
$as_echo "@%:@define const /**/" >>confdefs.h
12523
 
 
12524
 
fi
12525
 
 
12526
 
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12527
 
if test "x$ac_cv_type_size_t" = xyes; then :
12528
 
  
12529
 
else
12530
 
  
12531
 
cat >>confdefs.h <<_ACEOF
12532
 
@%:@define size_t unsigned int
12533
 
_ACEOF
12534
 
 
12535
 
fi
12536
 
 
12537
 
 
12538
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12539
 
$as_echo_n "checking for ANSI C header files... " >&6; }
12540
 
if ${ac_cv_header_stdc+:} false; then :
12541
 
  $as_echo_n "(cached) " >&6
12542
 
else
12543
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12544
 
/* end confdefs.h.  */
12545
 
#include <stdlib.h>
12546
 
#include <stdarg.h>
12547
 
#include <string.h>
12548
 
#include <float.h>
12549
 
 
12550
 
int
12551
 
main ()
12552
 
{
12553
 
 
12554
 
  ;
12555
 
  return 0;
12556
 
}
12557
 
_ACEOF
12558
 
if ac_fn_c_try_compile "$LINENO"; then :
12559
 
  ac_cv_header_stdc=yes
12560
 
else
12561
 
  ac_cv_header_stdc=no
12562
 
fi
12563
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12564
 
 
12565
 
if test $ac_cv_header_stdc = yes; then
12566
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12567
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12568
 
/* end confdefs.h.  */
12569
 
#include <string.h>
12570
 
 
12571
 
_ACEOF
12572
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12573
 
  $EGREP "memchr" >/dev/null 2>&1; then :
12574
 
  
12575
 
else
12576
 
  ac_cv_header_stdc=no
12577
 
fi
12578
 
rm -f conftest*
12579
 
 
12580
 
fi
12581
 
 
12582
 
if test $ac_cv_header_stdc = yes; then
12583
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12584
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12585
 
/* end confdefs.h.  */
12586
 
#include <stdlib.h>
12587
 
 
12588
 
_ACEOF
12589
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12590
 
  $EGREP "free" >/dev/null 2>&1; then :
12591
 
  
12592
 
else
12593
 
  ac_cv_header_stdc=no
12594
 
fi
12595
 
rm -f conftest*
12596
 
 
12597
 
fi
12598
 
 
12599
 
if test $ac_cv_header_stdc = yes; then
12600
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12601
 
  if test "$cross_compiling" = yes; then :
12602
 
  :
12603
 
else
12604
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12605
 
/* end confdefs.h.  */
12606
 
#include <ctype.h>
12607
 
#include <stdlib.h>
12608
 
#if ((' ' & 0x0FF) == 0x020)
12609
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12610
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12611
 
#else
12612
 
# define ISLOWER(c) \
12613
 
                   (('a' <= (c) && (c) <= 'i') \
12614
 
                     || ('j' <= (c) && (c) <= 'r') \
12615
 
                     || ('s' <= (c) && (c) <= 'z'))
12616
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12617
 
#endif
12618
 
 
12619
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12620
 
int
12621
 
main ()
12622
 
{
12623
 
  int i;
12624
 
  for (i = 0; i < 256; i++)
12625
 
    if (XOR (islower (i), ISLOWER (i))
12626
 
        || toupper (i) != TOUPPER (i))
12627
 
      return 2;
12628
 
  return 0;
12629
 
}
12630
 
_ACEOF
12631
 
if ac_fn_c_try_run "$LINENO"; then :
12632
 
  
12633
 
else
12634
 
  ac_cv_header_stdc=no
12635
 
fi
12636
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12637
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
12638
 
fi
12639
 
 
12640
 
fi
12641
 
fi
12642
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12643
 
$as_echo "$ac_cv_header_stdc" >&6; }
12644
 
if test $ac_cv_header_stdc = yes; then
12645
 
  
12646
 
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
12647
 
 
12648
 
fi
12649
 
 
12650
 
for ac_header in errno.h stddef.h stdlib.h string.h strings.h unistd.h
12651
 
do :
12652
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12653
 
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12654
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12655
 
  cat >>confdefs.h <<_ACEOF
12656
 
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12657
 
_ACEOF
12658
 
 
12659
 
fi
12660
 
 
12661
 
done
12662
 
 
12663
 
 
12664
 
for ac_func in strtol
12665
 
do :
12666
 
  ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
12667
 
if test "x$ac_cv_func_strtol" = xyes; then :
12668
 
  cat >>confdefs.h <<_ACEOF
12669
 
@%:@define HAVE_STRTOL 1
12670
 
_ACEOF
12671
 
 
12672
 
fi
12673
 
done
12674
 
 
12675
 
 
12676
 
 
12677
 
 
12678
 
 
12679
 
gmp_flag="OSL_GMP_IS_HERE"
12680
 
 
12681
 
 
12682
 
 
12683
 
@%:@ Check whether --with-gmp was given.
12684
 
if test "${with_gmp+set}" = set; then :
12685
 
  withval=$with_gmp; 
12686
 
fi
12687
 
 
12688
 
case "system" in
12689
 
no|system|build)
12690
 
        
12691
 
@%:@ Check whether --with-gmp_prefix was given.
12692
 
if test "${with_gmp_prefix+set}" = set; then :
12693
 
  withval=$with_gmp_prefix; 
12694
 
fi
12695
 
 
12696
 
        
12697
 
@%:@ Check whether --with-gmp_exec_prefix was given.
12698
 
if test "${with_gmp_exec_prefix+set}" = set; then :
12699
 
  withval=$with_gmp_exec_prefix; 
12700
 
fi
12701
 
 
12702
 
esac
12703
 
case "build" in
12704
 
no|system|build)
12705
 
        
12706
 
@%:@ Check whether --with-gmp_builddir was given.
12707
 
if test "${with_gmp_builddir+set}" = set; then :
12708
 
  withval=$with_gmp_builddir; 
12709
 
fi
12710
 
 
12711
 
esac
12712
 
if test "x$with_gmp_prefix" != "x" -a "x$with_gmp_exec_prefix" = "x"; then
12713
 
        with_gmp_exec_prefix=$with_gmp_prefix
12714
 
fi
12715
 
if test "x$with_gmp_prefix" != "x" -o "x$with_gmp_exec_prefix" != "x"; then
12716
 
        if test "x$with_gmp" != "x" -a "x$with_gmp" != "xsystem"; then
12717
 
                as_fn_error $? "Setting $with_gmp_prefix implies use of system gmp" "$LINENO" 5
12718
 
        fi
12719
 
        with_gmp="system"
12720
 
fi
12721
 
if test "x$with_gmp_builddir" != "x"; then
12722
 
        if test "x$with_gmp" != "x" -a "x$with_gmp" != "xbuild"; then
12723
 
                as_fn_error $? "Setting $with_gmp_builddir implies use of build gmp" "$LINENO" 5
12724
 
        fi
12725
 
        with_gmp="build"
12726
 
        gmp_srcdir=`echo @abs_srcdir@ | $with_gmp_builddir/config.status --file=-`
12727
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: gmp sources in $gmp_srcdir" >&5
12728
 
$as_echo "$as_me: gmp sources in $gmp_srcdir" >&6;}
12729
 
fi
12730
 
case "$with_gmp" in
12731
 
no|system|build)
12732
 
        ;;
12733
 
*)
12734
 
        if test -d $srcdir/.git -a \
12735
 
                -d $srcdir/gmp -a \
12736
 
                ! -d $srcdir/gmp/.git; then
12737
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git repo detected, but submodule gmp not initialized" >&5
12738
 
$as_echo "$as_me: WARNING: git repo detected, but submodule gmp not initialized" >&2;}
12739
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may want to run" >&5
12740
 
$as_echo "$as_me: WARNING: You may want to run" >&2;}
12741
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:       git submodule init" >&5
12742
 
$as_echo "$as_me: WARNING:      git submodule init" >&2;}
12743
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:       git submodule update" >&5
12744
 
$as_echo "$as_me: WARNING:      git submodule update" >&2;}
12745
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:       sh autogen.sh" >&5
12746
 
$as_echo "$as_me: WARNING:      sh autogen.sh" >&2;}
12747
 
        fi
12748
 
        if test -f $srcdir/gmp/configure -a "system" != "no"; then
12749
 
                with_gmp="bundled"
12750
 
        else
12751
 
                with_gmp="system"
12752
 
        fi
12753
 
        ;;
12754
 
esac
12755
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which gmp to use" >&5
12756
 
$as_echo_n "checking which gmp to use... " >&6; }
12757
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gmp" >&5
12758
 
$as_echo "$with_gmp" >&6; }
12759
 
 
12760
 
 
12761
 
 
12762
 
case "$with_gmp" in
12763
 
build)
12764
 
    CPPFLAGS="-D$gmp_flag -I$with_gmp_builddir $CPPFLAGS"
12765
 
    LDFLAGS="-L$with_gmp_builddir/$lt_cv_objdir $LDFLAGS"
12766
 
    ;;
12767
 
system)
12768
 
    CPPFLAGS="-D$gmp_flag $CPPFLAGS"
12769
 
    if test "x$with_gmp_prefix" != "x"; then
12770
 
        CPPFLAGS="-I$with_gmp_prefix/include $CPPFLAGS"
12771
 
    fi
12772
 
    
12773
 
    if test "$with_gmp_exec_prefix" != "yes" ; then
12774
 
        LDFLAGS="-L$with_gmp_exec_prefix/lib $LDFLAGS"
12775
 
    fi
12776
 
    ;;
12777
 
esac
12778
 
case "$with_gmp" in
12779
 
build|system)
12780
 
    ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
12781
 
if test "x$ac_cv_header_gmp_h" = xyes; then :
12782
 
  
12783
 
else
12784
 
  as_fn_error $? "\"Can't find gmp headers.\"" "$LINENO" 5
12785
 
fi
12786
 
 
12787
 
 
12788
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lgmp" >&5
12789
 
$as_echo_n "checking for __gmpz_init in -lgmp... " >&6; }
12790
 
if ${ac_cv_lib_gmp___gmpz_init+:} false; then :
12791
 
  $as_echo_n "(cached) " >&6
12792
 
else
12793
 
  ac_check_lib_save_LIBS=$LIBS
12794
 
LIBS="-lgmp  $LIBS"
12795
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12796
 
/* end confdefs.h.  */
12797
 
 
12798
 
/* Override any GCC internal prototype to avoid an error.
12799
 
   Use char because int might match the return type of a GCC
12800
 
   builtin and then its argument prototype would still apply.  */
12801
 
#ifdef __cplusplus
12802
 
extern "C"
12803
 
#endif
12804
 
char __gmpz_init ();
12805
 
int
12806
 
main ()
12807
 
{
12808
 
return __gmpz_init ();
12809
 
  ;
12810
 
  return 0;
12811
 
}
12812
 
_ACEOF
12813
 
if ac_fn_c_try_link "$LINENO"; then :
12814
 
  ac_cv_lib_gmp___gmpz_init=yes
12815
 
else
12816
 
  ac_cv_lib_gmp___gmpz_init=no
12817
 
fi
12818
 
rm -f core conftest.err conftest.$ac_objext \
12819
 
    conftest$ac_exeext conftest.$ac_ext
12820
 
LIBS=$ac_check_lib_save_LIBS
12821
 
fi
12822
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init" >&5
12823
 
$as_echo "$ac_cv_lib_gmp___gmpz_init" >&6; }
12824
 
if test "x$ac_cv_lib_gmp___gmpz_init" = xyes; then :
12825
 
  LIBS="$LIBS -lgmp"
12826
 
else
12827
 
  as_fn_error $? "\"Can't find gmp library.\"" "$LINENO" 5
12828
 
fi
12829
 
 
12830
 
    ;;
12831
 
esac
12832
 
 
12833
 
 
12834
 
 
12835
 
 
12836
 
 
12837
 
 
12838
 
 
12839
 
 
12840
 
 
12841
 
 
12842
 
 
12843
 
ac_config_files="$ac_config_files Makefile doc/Makefile doc/Doxyfile include/osl/scop.h tests/Makefile"
12844
 
 
12845
 
 
12846
 
cat >confcache <<\_ACEOF
12847
 
# This file is a shell script that caches the results of configure
12848
 
# tests run on this system so they can be shared between configure
12849
 
# scripts and configure runs, see configure's option --config-cache.
12850
 
# It is not useful on other systems.  If it contains results you don't
12851
 
# want to keep, you may remove or edit it.
12852
 
#
12853
 
# config.status only pays attention to the cache file if you give it
12854
 
# the --recheck option to rerun configure.
12855
 
#
12856
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
12857
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
12858
 
# following values.
12859
 
 
12860
 
_ACEOF
12861
 
 
12862
 
# The following way of writing the cache mishandles newlines in values,
12863
 
# but we know of no workaround that is simple, portable, and efficient.
12864
 
# So, we kill variables containing newlines.
12865
 
# Ultrix sh set writes to stderr and can't be redirected directly,
12866
 
# and sets the high bit in the cache file unless we assign to the vars.
12867
 
(
12868
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12869
 
    eval ac_val=\$$ac_var
12870
 
    case $ac_val in #(
12871
 
    *${as_nl}*)
12872
 
      case $ac_var in #(
12873
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12874
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12875
 
      esac
12876
 
      case $ac_var in #(
12877
 
      _ | IFS | as_nl) ;; #(
12878
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12879
 
      *) { eval $ac_var=; unset $ac_var;} ;;
12880
 
      esac ;;
12881
 
    esac
12882
 
  done
12883
 
 
12884
 
  (set) 2>&1 |
12885
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12886
 
    *${as_nl}ac_space=\ *)
12887
 
      # `set' does not quote correctly, so add quotes: double-quote
12888
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
12889
 
      sed -n \
12890
 
        "s/'/'\\\\''/g;
12891
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12892
 
      ;; #(
12893
 
    *)
12894
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
12895
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12896
 
      ;;
12897
 
    esac |
12898
 
    sort
12899
 
) |
12900
 
  sed '
12901
 
     /^ac_cv_env_/b end
12902
 
     t clear
12903
 
     :clear
12904
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12905
 
     t end
12906
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12907
 
     :end' >>confcache
12908
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12909
 
  if test -w "$cache_file"; then
12910
 
    if test "x$cache_file" != "x/dev/null"; then
12911
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12912
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
12913
 
      if test ! -f "$cache_file" || test -h "$cache_file"; then
12914
 
        cat confcache >"$cache_file"
12915
 
      else
12916
 
        case $cache_file in #(
12917
 
        */* | ?:*)
12918
 
          mv -f confcache "$cache_file"$$ &&
12919
 
          mv -f "$cache_file"$$ "$cache_file" ;; #(
12920
 
        *)
12921
 
          mv -f confcache "$cache_file" ;;
12922
 
        esac
12923
 
      fi
12924
 
    fi
12925
 
  else
12926
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12927
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12928
 
  fi
12929
 
fi
12930
 
rm -f confcache
12931
 
 
12932
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
12933
 
# Let make expand exec_prefix.
12934
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12935
 
 
12936
 
# Transform confdefs.h into DEFS.
12937
 
# Protect against shell expansion while executing Makefile rules.
12938
 
# Protect against Makefile macro expansion.
12939
 
#
12940
 
# If the first sed substitution is executed (which looks for macros that
12941
 
# take arguments), then branch to the quote section.  Otherwise,
12942
 
# look for a macro that doesn't take arguments.
12943
 
ac_script='
12944
 
:mline
12945
 
/\\$/{
12946
 
 N
12947
 
 s,\\\n,,
12948
 
 b mline
12949
 
}
12950
 
t clear
12951
 
:clear
12952
 
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
12953
 
t quote
12954
 
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
12955
 
t quote
12956
 
b any
12957
 
:quote
12958
 
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
12959
 
s/\[/\\&/g
12960
 
s/\]/\\&/g
12961
 
s/\$/$$/g
12962
 
H
12963
 
:any
12964
 
${
12965
 
        g
12966
 
        s/^\n//
12967
 
        s/\n/ /g
12968
 
        p
12969
 
}
12970
 
'
12971
 
DEFS=`sed -n "$ac_script" confdefs.h`
12972
 
 
12973
 
 
12974
 
ac_libobjs=
12975
 
ac_ltlibobjs=
12976
 
U=
12977
 
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
12978
 
  # 1. Remove the extension, and $U if already installed.
12979
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12980
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12981
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12982
 
  #    will be set to the directory where LIBOBJS objects are built.
12983
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12984
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12985
 
done
12986
 
LIB@&t@OBJS=$ac_libobjs
12987
 
 
12988
 
LTLIBOBJS=$ac_ltlibobjs
12989
 
 
12990
 
 
12991
 
 if test -n "$EXEEXT"; then
12992
 
  am__EXEEXT_TRUE=
12993
 
  am__EXEEXT_FALSE='#'
12994
 
else
12995
 
  am__EXEEXT_TRUE='#'
12996
 
  am__EXEEXT_FALSE=
12997
 
fi
12998
 
 
12999
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13000
 
  as_fn_error $? "conditional \"AMDEP\" was never defined.
13001
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13002
 
fi
13003
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13004
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13005
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13006
 
fi
13007
 
 
13008
 
: "${CONFIG_STATUS=./config.status}"
13009
 
ac_write_fail=0
13010
 
ac_clean_files_save=$ac_clean_files
13011
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13012
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13013
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13014
 
as_write_fail=0
13015
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13016
 
#! $SHELL
13017
 
# Generated by $as_me.
13018
 
# Run this file to recreate the current configuration.
13019
 
# Compiler output produced by configure, useful for debugging
13020
 
# configure, is in config.log if it exists.
13021
 
 
13022
 
debug=false
13023
 
ac_cs_recheck=false
13024
 
ac_cs_silent=false
13025
 
 
13026
 
SHELL=\${CONFIG_SHELL-$SHELL}
13027
 
export SHELL
13028
 
_ASEOF
13029
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13030
 
## -------------------- ##
13031
 
## M4sh Initialization. ##
13032
 
## -------------------- ##
13033
 
 
13034
 
# Be more Bourne compatible
13035
 
DUALCASE=1; export DUALCASE # for MKS sh
13036
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13037
 
  emulate sh
13038
 
  NULLCMD=:
13039
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13040
 
  # is contrary to our usage.  Disable this feature.
13041
 
  alias -g '${1+"$@"}'='"$@"'
13042
 
  setopt NO_GLOB_SUBST
13043
 
else
13044
 
  case `(set -o) 2>/dev/null` in @%:@(
13045
 
  *posix*) :
13046
 
    set -o posix ;; @%:@(
13047
 
  *) :
13048
 
     ;;
13049
 
esac
13050
 
fi
13051
 
 
13052
 
 
13053
 
as_nl='
13054
 
'
13055
 
export as_nl
13056
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
13057
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13058
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13059
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13060
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
13061
 
# but without wasting forks for bash or zsh.
13062
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
13063
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13064
 
  as_echo='print -r --'
13065
 
  as_echo_n='print -rn --'
13066
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13067
 
  as_echo='printf %s\n'
13068
 
  as_echo_n='printf %s'
13069
 
else
13070
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13071
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13072
 
    as_echo_n='/usr/ucb/echo -n'
13073
 
  else
13074
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13075
 
    as_echo_n_body='eval
13076
 
      arg=$1;
13077
 
      case $arg in @%:@(
13078
 
      *"$as_nl"*)
13079
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
13080
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13081
 
      esac;
13082
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13083
 
    '
13084
 
    export as_echo_n_body
13085
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
13086
 
  fi
13087
 
  export as_echo_body
13088
 
  as_echo='sh -c $as_echo_body as_echo'
13089
 
fi
13090
 
 
13091
 
# The user is always right.
13092
 
if test "${PATH_SEPARATOR+set}" != set; then
13093
 
  PATH_SEPARATOR=:
13094
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13095
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13096
 
      PATH_SEPARATOR=';'
13097
 
  }
13098
 
fi
13099
 
 
13100
 
 
13101
 
# IFS
13102
 
# We need space, tab and new line, in precisely that order.  Quoting is
13103
 
# there to prevent editors from complaining about space-tab.
13104
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13105
 
# splitting by setting IFS to empty value.)
13106
 
IFS=" ""        $as_nl"
13107
 
 
13108
 
# Find who we are.  Look in the path if we contain no directory separator.
13109
 
as_myself=
13110
 
case $0 in @%:@((
13111
 
  *[\\/]* ) as_myself=$0 ;;
13112
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13113
 
for as_dir in $PATH
13114
 
do
13115
 
  IFS=$as_save_IFS
13116
 
  test -z "$as_dir" && as_dir=.
13117
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13118
 
  done
13119
 
IFS=$as_save_IFS
13120
 
 
13121
 
     ;;
13122
 
esac
13123
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
13124
 
# in which case we are not to be found in the path.
13125
 
if test "x$as_myself" = x; then
13126
 
  as_myself=$0
13127
 
fi
13128
 
if test ! -f "$as_myself"; then
13129
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13130
 
  exit 1
13131
 
fi
13132
 
 
13133
 
# Unset variables that we do not need and which cause bugs (e.g. in
13134
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13135
 
# suppresses any "Segmentation fault" message there.  '((' could
13136
 
# trigger a bug in pdksh 5.2.14.
13137
 
for as_var in BASH_ENV ENV MAIL MAILPATH
13138
 
do eval test x\${$as_var+set} = xset \
13139
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13140
 
done
13141
 
PS1='$ '
13142
 
PS2='> '
13143
 
PS4='+ '
13144
 
 
13145
 
# NLS nuisances.
13146
 
LC_ALL=C
13147
 
export LC_ALL
13148
 
LANGUAGE=C
13149
 
export LANGUAGE
13150
 
 
13151
 
# CDPATH.
13152
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13153
 
 
13154
 
 
13155
 
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
13156
 
@%:@ ----------------------------------------
13157
 
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13158
 
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13159
 
@%:@ script with STATUS, using 1 if that was 0.
13160
 
as_fn_error ()
13161
 
{
13162
 
  as_status=$1; test $as_status -eq 0 && as_status=1
13163
 
  if test "$4"; then
13164
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13165
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13166
 
  fi
13167
 
  $as_echo "$as_me: error: $2" >&2
13168
 
  as_fn_exit $as_status
13169
 
} @%:@ as_fn_error
13170
 
 
13171
 
 
13172
 
@%:@ as_fn_set_status STATUS
13173
 
@%:@ -----------------------
13174
 
@%:@ Set @S|@? to STATUS, without forking.
13175
 
as_fn_set_status ()
13176
 
{
13177
 
  return $1
13178
 
} @%:@ as_fn_set_status
13179
 
 
13180
 
@%:@ as_fn_exit STATUS
13181
 
@%:@ -----------------
13182
 
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13183
 
as_fn_exit ()
13184
 
{
13185
 
  set +e
13186
 
  as_fn_set_status $1
13187
 
  exit $1
13188
 
} @%:@ as_fn_exit
13189
 
 
13190
 
@%:@ as_fn_unset VAR
13191
 
@%:@ ---------------
13192
 
@%:@ Portably unset VAR.
13193
 
as_fn_unset ()
13194
 
{
13195
 
  { eval $1=; unset $1;}
13196
 
}
13197
 
as_unset=as_fn_unset
13198
 
@%:@ as_fn_append VAR VALUE
13199
 
@%:@ ----------------------
13200
 
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
13201
 
@%:@ advantage of any shell optimizations that allow amortized linear growth over
13202
 
@%:@ repeated appends, instead of the typical quadratic growth present in naive
13203
 
@%:@ implementations.
13204
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13205
 
  eval 'as_fn_append ()
13206
 
  {
13207
 
    eval $1+=\$2
13208
 
  }'
13209
 
else
13210
 
  as_fn_append ()
13211
 
  {
13212
 
    eval $1=\$$1\$2
13213
 
  }
13214
 
fi # as_fn_append
13215
 
 
13216
 
@%:@ as_fn_arith ARG...
13217
 
@%:@ ------------------
13218
 
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
13219
 
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
13220
 
@%:@ must be portable across @S|@(()) and expr.
13221
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13222
 
  eval 'as_fn_arith ()
13223
 
  {
13224
 
    as_val=$(( $* ))
13225
 
  }'
13226
 
else
13227
 
  as_fn_arith ()
13228
 
  {
13229
 
    as_val=`expr "$@" || test $? -eq 1`
13230
 
  }
13231
 
fi # as_fn_arith
13232
 
 
13233
 
 
13234
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
13235
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13236
 
  as_expr=expr
13237
 
else
13238
 
  as_expr=false
13239
 
fi
13240
 
 
13241
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13242
 
  as_basename=basename
13243
 
else
13244
 
  as_basename=false
13245
 
fi
13246
 
 
13247
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13248
 
  as_dirname=dirname
13249
 
else
13250
 
  as_dirname=false
13251
 
fi
13252
 
 
13253
 
as_me=`$as_basename -- "$0" ||
13254
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13255
 
         X"$0" : 'X\(//\)$' \| \
13256
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13257
 
$as_echo X/"$0" |
13258
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
13259
 
            s//\1/
13260
 
            q
13261
 
          }
13262
 
          /^X\/\(\/\/\)$/{
13263
 
            s//\1/
13264
 
            q
13265
 
          }
13266
 
          /^X\/\(\/\).*/{
13267
 
            s//\1/
13268
 
            q
13269
 
          }
13270
 
          s/.*/./; q'`
13271
 
 
13272
 
# Avoid depending upon Character Ranges.
13273
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13274
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13275
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13276
 
as_cr_digits='0123456789'
13277
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
13278
 
 
13279
 
ECHO_C= ECHO_N= ECHO_T=
13280
 
case `echo -n x` in @%:@(((((
13281
 
-n*)
13282
 
  case `echo 'xy\c'` in
13283
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13284
 
  xy)  ECHO_C='\c';;
13285
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13286
 
       ECHO_T=' ';;
13287
 
  esac;;
13288
 
*)
13289
 
  ECHO_N='-n';;
13290
 
esac
13291
 
 
13292
 
rm -f conf$$ conf$$.exe conf$$.file
13293
 
if test -d conf$$.dir; then
13294
 
  rm -f conf$$.dir/conf$$.file
13295
 
else
13296
 
  rm -f conf$$.dir
13297
 
  mkdir conf$$.dir 2>/dev/null
13298
 
fi
13299
 
if (echo >conf$$.file) 2>/dev/null; then
13300
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
13301
 
    as_ln_s='ln -s'
13302
 
    # ... but there are two gotchas:
13303
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13304
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13305
 
    # In both cases, we have to default to `cp -pR'.
13306
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13307
 
      as_ln_s='cp -pR'
13308
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
13309
 
    as_ln_s=ln
13310
 
  else
13311
 
    as_ln_s='cp -pR'
13312
 
  fi
13313
 
else
13314
 
  as_ln_s='cp -pR'
13315
 
fi
13316
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13317
 
rmdir conf$$.dir 2>/dev/null
13318
 
 
13319
 
 
13320
 
@%:@ as_fn_mkdir_p
13321
 
@%:@ -------------
13322
 
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
13323
 
as_fn_mkdir_p ()
13324
 
{
13325
 
 
13326
 
  case $as_dir in #(
13327
 
  -*) as_dir=./$as_dir;;
13328
 
  esac
13329
 
  test -d "$as_dir" || eval $as_mkdir_p || {
13330
 
    as_dirs=
13331
 
    while :; do
13332
 
      case $as_dir in #(
13333
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13334
 
      *) as_qdir=$as_dir;;
13335
 
      esac
13336
 
      as_dirs="'$as_qdir' $as_dirs"
13337
 
      as_dir=`$as_dirname -- "$as_dir" ||
13338
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13339
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
13340
 
         X"$as_dir" : 'X\(//\)$' \| \
13341
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13342
 
$as_echo X"$as_dir" |
13343
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13344
 
            s//\1/
13345
 
            q
13346
 
          }
13347
 
          /^X\(\/\/\)[^/].*/{
13348
 
            s//\1/
13349
 
            q
13350
 
          }
13351
 
          /^X\(\/\/\)$/{
13352
 
            s//\1/
13353
 
            q
13354
 
          }
13355
 
          /^X\(\/\).*/{
13356
 
            s//\1/
13357
 
            q
13358
 
          }
13359
 
          s/.*/./; q'`
13360
 
      test -d "$as_dir" && break
13361
 
    done
13362
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
13363
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13364
 
 
13365
 
 
13366
 
} @%:@ as_fn_mkdir_p
13367
 
if mkdir -p . 2>/dev/null; then
13368
 
  as_mkdir_p='mkdir -p "$as_dir"'
13369
 
else
13370
 
  test -d ./-p && rmdir ./-p
13371
 
  as_mkdir_p=false
13372
 
fi
13373
 
 
13374
 
 
13375
 
@%:@ as_fn_executable_p FILE
13376
 
@%:@ -----------------------
13377
 
@%:@ Test if FILE is an executable regular file.
13378
 
as_fn_executable_p ()
13379
 
{
13380
 
  test -f "$1" && test -x "$1"
13381
 
} @%:@ as_fn_executable_p
13382
 
as_test_x='test -x'
13383
 
as_executable_p=as_fn_executable_p
13384
 
 
13385
 
# Sed expression to map a string onto a valid CPP name.
13386
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13387
 
 
13388
 
# Sed expression to map a string onto a valid variable name.
13389
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13390
 
 
13391
 
 
13392
 
exec 6>&1
13393
 
## ----------------------------------- ##
13394
 
## Main body of $CONFIG_STATUS script. ##
13395
 
## ----------------------------------- ##
13396
 
_ASEOF
13397
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13398
 
 
13399
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13400
 
# Save the log message, to keep $0 and so on meaningful, and to
13401
 
# report actual input values of CONFIG_FILES etc. instead of their
13402
 
# values after options handling.
13403
 
ac_log="
13404
 
This file was extended by osl $as_me 0.8.4, which was
13405
 
generated by GNU Autoconf 2.69.  Invocation command line was
13406
 
 
13407
 
  CONFIG_FILES    = $CONFIG_FILES
13408
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
13409
 
  CONFIG_LINKS    = $CONFIG_LINKS
13410
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
13411
 
  $ $0 $@
13412
 
 
13413
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
13414
 
"
13415
 
 
13416
 
_ACEOF
13417
 
 
13418
 
case $ac_config_files in *"
13419
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
13420
 
esac
13421
 
 
13422
 
 
13423
 
 
13424
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13425
 
# Files that config.status was made for.
13426
 
config_files="$ac_config_files"
13427
 
config_commands="$ac_config_commands"
13428
 
 
13429
 
_ACEOF
13430
 
 
13431
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13432
 
ac_cs_usage="\
13433
 
\`$as_me' instantiates files and other configuration actions
13434
 
from templates according to the current configuration.  Unless the files
13435
 
and actions are specified as TAGs, all are instantiated by default.
13436
 
 
13437
 
Usage: $0 [OPTION]... [TAG]...
13438
 
 
13439
 
  -h, --help       print this help, then exit
13440
 
  -V, --version    print version number and configuration settings, then exit
13441
 
      --config     print configuration, then exit
13442
 
  -q, --quiet, --silent
13443
 
                   do not print progress messages
13444
 
  -d, --debug      don't remove temporary files
13445
 
      --recheck    update $as_me by reconfiguring in the same conditions
13446
 
      --file=FILE[:TEMPLATE] 
13447
 
                   instantiate the configuration file FILE
13448
 
 
13449
 
Configuration files:
13450
 
$config_files
13451
 
 
13452
 
Configuration commands:
13453
 
$config_commands
13454
 
 
13455
 
Report bugs to <cedric.bastoul@u-psud.fr,pouchet@cse.ohio-state.edu>."
13456
 
 
13457
 
_ACEOF
13458
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13459
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13460
 
ac_cs_version="\\
13461
 
osl config.status 0.8.4
13462
 
configured by $0, generated by GNU Autoconf 2.69,
13463
 
  with options \\"\$ac_cs_config\\"
13464
 
 
13465
 
Copyright (C) 2012 Free Software Foundation, Inc.
13466
 
This config.status script is free software; the Free Software Foundation
13467
 
gives unlimited permission to copy, distribute and modify it."
13468
 
 
13469
 
ac_pwd='$ac_pwd'
13470
 
srcdir='$srcdir'
13471
 
INSTALL='$INSTALL'
13472
 
MKDIR_P='$MKDIR_P'
13473
 
AWK='$AWK'
13474
 
test -n "\$AWK" || AWK=awk
13475
 
_ACEOF
13476
 
 
13477
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13478
 
# The default lists apply if the user does not specify any file.
13479
 
ac_need_defaults=:
13480
 
while test $# != 0
13481
 
do
13482
 
  case $1 in
13483
 
  --*=?*)
13484
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13485
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13486
 
    ac_shift=:
13487
 
    ;;
13488
 
  --*=)
13489
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13490
 
    ac_optarg=
13491
 
    ac_shift=:
13492
 
    ;;
13493
 
  *)
13494
 
    ac_option=$1
13495
 
    ac_optarg=$2
13496
 
    ac_shift=shift
13497
 
    ;;
13498
 
  esac
13499
 
 
13500
 
  case $ac_option in
13501
 
  # Handling of the options.
13502
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13503
 
    ac_cs_recheck=: ;;
13504
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13505
 
    $as_echo "$ac_cs_version"; exit ;;
13506
 
  --config | --confi | --conf | --con | --co | --c )
13507
 
    $as_echo "$ac_cs_config"; exit ;;
13508
 
  --debug | --debu | --deb | --de | --d | -d )
13509
 
    debug=: ;;
13510
 
  --file | --fil | --fi | --f )
13511
 
    $ac_shift
13512
 
    case $ac_optarg in
13513
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13514
 
    '') as_fn_error $? "missing file argument" ;;
13515
 
    esac
13516
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
13517
 
    ac_need_defaults=false;;
13518
 
  --he | --h |  --help | --hel | -h )
13519
 
    $as_echo "$ac_cs_usage"; exit ;;
13520
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13521
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13522
 
    ac_cs_silent=: ;;
13523
 
 
13524
 
  # This is an error.
13525
 
  -*) as_fn_error $? "unrecognized option: \`$1'
13526
 
Try \`$0 --help' for more information." ;;
13527
 
 
13528
 
  *) as_fn_append ac_config_targets " $1"
13529
 
     ac_need_defaults=false ;;
13530
 
 
13531
 
  esac
13532
 
  shift
13533
 
done
13534
 
 
13535
 
ac_configure_extra_args=
13536
 
 
13537
 
if $ac_cs_silent; then
13538
 
  exec 6>/dev/null
13539
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
13540
 
fi
13541
 
 
13542
 
_ACEOF
13543
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13544
 
if \$ac_cs_recheck; then
13545
 
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13546
 
  shift
13547
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13548
 
  CONFIG_SHELL='$SHELL'
13549
 
  export CONFIG_SHELL
13550
 
  exec "\$@"
13551
 
fi
13552
 
 
13553
 
_ACEOF
13554
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13555
 
exec 5>>config.log
13556
 
{
13557
 
  echo
13558
 
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
13559
 
@%:@@%:@ Running $as_me. @%:@@%:@
13560
 
_ASBOX
13561
 
  $as_echo "$ac_log"
13562
 
} >&5
13563
 
 
13564
 
_ACEOF
13565
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13566
 
#
13567
 
# INIT-COMMANDS
13568
 
#
13569
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13570
 
 
13571
 
 
13572
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
13573
 
# if CDPATH is set.
13574
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13575
 
 
13576
 
sed_quote_subst='$sed_quote_subst'
13577
 
double_quote_subst='$double_quote_subst'
13578
 
delay_variable_subst='$delay_variable_subst'
13579
 
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13580
 
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13581
 
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13582
 
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13583
 
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13584
 
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13585
 
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13586
 
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13587
 
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13588
 
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13589
 
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13590
 
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13591
 
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13592
 
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13593
 
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13594
 
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13595
 
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13596
 
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13597
 
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13598
 
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13599
 
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13600
 
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13601
 
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13602
 
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13603
 
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13604
 
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13605
 
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13606
 
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13607
 
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13608
 
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13609
 
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13610
 
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13611
 
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13612
 
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13613
 
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13614
 
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13615
 
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13616
 
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13617
 
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13618
 
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13619
 
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13620
 
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13621
 
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13622
 
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13623
 
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13624
 
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13625
 
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13626
 
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13627
 
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13628
 
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13629
 
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13630
 
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13631
 
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13632
 
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13633
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13634
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13635
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
13636
 
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13637
 
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13638
 
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13639
 
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13640
 
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13641
 
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13642
 
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13643
 
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13644
 
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13645
 
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13646
 
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13647
 
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13648
 
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13649
 
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13650
 
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13651
 
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13652
 
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13653
 
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13654
 
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13655
 
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13656
 
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13657
 
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13658
 
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13659
 
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13660
 
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13661
 
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13662
 
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13663
 
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13664
 
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13665
 
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13666
 
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13667
 
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13668
 
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13669
 
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13670
 
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13671
 
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13672
 
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13673
 
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13674
 
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13675
 
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13676
 
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13677
 
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13678
 
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13679
 
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13680
 
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13681
 
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13682
 
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13683
 
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13684
 
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13685
 
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13686
 
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13687
 
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13688
 
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13689
 
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13690
 
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13691
 
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13692
 
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13693
 
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13694
 
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13695
 
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13696
 
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13697
 
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13698
 
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13699
 
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13700
 
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13701
 
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13702
 
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13703
 
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13704
 
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13705
 
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13706
 
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13707
 
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13708
 
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13709
 
 
13710
 
LTCC='$LTCC'
13711
 
LTCFLAGS='$LTCFLAGS'
13712
 
compiler='$compiler_DEFAULT'
13713
 
 
13714
 
# A function that is used when there is no print builtin or printf.
13715
 
func_fallback_echo ()
13716
 
{
13717
 
  eval 'cat <<_LTECHO_EOF
13718
 
\$1
13719
 
_LTECHO_EOF'
13720
 
}
13721
 
 
13722
 
# Quote evaled strings.
13723
 
for var in SHELL \
13724
 
ECHO \
13725
 
PATH_SEPARATOR \
13726
 
SED \
13727
 
GREP \
13728
 
EGREP \
13729
 
FGREP \
13730
 
LD \
13731
 
NM \
13732
 
LN_S \
13733
 
lt_SP2NL \
13734
 
lt_NL2SP \
13735
 
reload_flag \
13736
 
OBJDUMP \
13737
 
deplibs_check_method \
13738
 
file_magic_cmd \
13739
 
file_magic_glob \
13740
 
want_nocaseglob \
13741
 
DLLTOOL \
13742
 
sharedlib_from_linklib_cmd \
13743
 
AR \
13744
 
AR_FLAGS \
13745
 
archiver_list_spec \
13746
 
STRIP \
13747
 
RANLIB \
13748
 
CC \
13749
 
CFLAGS \
13750
 
compiler \
13751
 
lt_cv_sys_global_symbol_pipe \
13752
 
lt_cv_sys_global_symbol_to_cdecl \
13753
 
lt_cv_sys_global_symbol_to_c_name_address \
13754
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13755
 
nm_file_list_spec \
13756
 
lt_prog_compiler_no_builtin_flag \
13757
 
lt_prog_compiler_pic \
13758
 
lt_prog_compiler_wl \
13759
 
lt_prog_compiler_static \
13760
 
lt_cv_prog_compiler_c_o \
13761
 
need_locks \
13762
 
MANIFEST_TOOL \
13763
 
DSYMUTIL \
13764
 
NMEDIT \
13765
 
LIPO \
13766
 
OTOOL \
13767
 
OTOOL64 \
13768
 
shrext_cmds \
13769
 
export_dynamic_flag_spec \
13770
 
whole_archive_flag_spec \
13771
 
compiler_needs_object \
13772
 
with_gnu_ld \
13773
 
allow_undefined_flag \
13774
 
no_undefined_flag \
13775
 
hardcode_libdir_flag_spec \
13776
 
hardcode_libdir_separator \
13777
 
exclude_expsyms \
13778
 
include_expsyms \
13779
 
file_list_spec \
13780
 
variables_saved_for_relink \
13781
 
libname_spec \
13782
 
library_names_spec \
13783
 
soname_spec \
13784
 
install_override_mode \
13785
 
finish_eval \
13786
 
old_striplib \
13787
 
striplib; do
13788
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13789
 
    *[\\\\\\\`\\"\\\$]*)
13790
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13791
 
      ;;
13792
 
    *)
13793
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13794
 
      ;;
13795
 
    esac
13796
 
done
13797
 
 
13798
 
# Double-quote double-evaled strings.
13799
 
for var in reload_cmds \
13800
 
old_postinstall_cmds \
13801
 
old_postuninstall_cmds \
13802
 
old_archive_cmds \
13803
 
extract_expsyms_cmds \
13804
 
old_archive_from_new_cmds \
13805
 
old_archive_from_expsyms_cmds \
13806
 
archive_cmds \
13807
 
archive_expsym_cmds \
13808
 
module_cmds \
13809
 
module_expsym_cmds \
13810
 
export_symbols_cmds \
13811
 
prelink_cmds \
13812
 
postlink_cmds \
13813
 
postinstall_cmds \
13814
 
postuninstall_cmds \
13815
 
finish_cmds \
13816
 
sys_lib_search_path_spec \
13817
 
sys_lib_dlsearch_path_spec; do
13818
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13819
 
    *[\\\\\\\`\\"\\\$]*)
13820
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13821
 
      ;;
13822
 
    *)
13823
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13824
 
      ;;
13825
 
    esac
13826
 
done
13827
 
 
13828
 
ac_aux_dir='$ac_aux_dir'
13829
 
xsi_shell='$xsi_shell'
13830
 
lt_shell_append='$lt_shell_append'
13831
 
 
13832
 
# See if we are running on zsh, and set the options which allow our
13833
 
# commands through without removal of \ escapes INIT.
13834
 
if test -n "\${ZSH_VERSION+set}" ; then
13835
 
   setopt NO_GLOB_SUBST
13836
 
fi
13837
 
 
13838
 
 
13839
 
    PACKAGE='$PACKAGE'
13840
 
    VERSION='$VERSION'
13841
 
    TIMESTAMP='$TIMESTAMP'
13842
 
    RM='$RM'
13843
 
    ofile='$ofile'
13844
 
 
13845
 
 
13846
 
 
13847
 
 
13848
 
_ACEOF
13849
 
 
13850
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13851
 
 
13852
 
# Handling of arguments.
13853
 
for ac_config_target in $ac_config_targets
13854
 
do
13855
 
  case $ac_config_target in
13856
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13857
 
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13858
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13859
 
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13860
 
    "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
13861
 
    "include/osl/scop.h") CONFIG_FILES="$CONFIG_FILES include/osl/scop.h" ;;
13862
 
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
13863
 
 
13864
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13865
 
  esac
13866
 
done
13867
 
 
13868
 
 
13869
 
# If the user did not use the arguments to specify the items to instantiate,
13870
 
# then the envvar interface is used.  Set only those that are not.
13871
 
# We use the long form for the default assignment because of an extremely
13872
 
# bizarre bug on SunOS 4.1.3.
13873
 
if $ac_need_defaults; then
13874
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13875
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13876
 
fi
13877
 
 
13878
 
# Have a temporary directory for convenience.  Make it in the build tree
13879
 
# simply because there is no reason against having it here, and in addition,
13880
 
# creating and moving files from /tmp can sometimes cause problems.
13881
 
# Hook for its removal unless debugging.
13882
 
# Note that there is a small window in which the directory will not be cleaned:
13883
 
# after its creation but before its name has been assigned to `$tmp'.
13884
 
$debug ||
13885
 
{
13886
 
  tmp= ac_tmp=
13887
 
  trap 'exit_status=$?
13888
 
  : "${ac_tmp:=$tmp}"
13889
 
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13890
 
' 0
13891
 
  trap 'as_fn_exit 1' 1 2 13 15
13892
 
}
13893
 
# Create a (secure) tmp directory for tmp files.
13894
 
 
13895
 
{
13896
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13897
 
  test -d "$tmp"
13898
 
}  ||
13899
 
{
13900
 
  tmp=./conf$$-$RANDOM
13901
 
  (umask 077 && mkdir "$tmp")
13902
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13903
 
ac_tmp=$tmp
13904
 
 
13905
 
# Set up the scripts for CONFIG_FILES section.
13906
 
# No need to generate them if there are no CONFIG_FILES.
13907
 
# This happens for instance with `./config.status config.h'.
13908
 
if test -n "$CONFIG_FILES"; then
13909
 
 
13910
 
 
13911
 
ac_cr=`echo X | tr X '\015'`
13912
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
13913
 
# But we know of no other shell where ac_cr would be empty at this
13914
 
# point, so we can use a bashism as a fallback.
13915
 
if test "x$ac_cr" = x; then
13916
 
  eval ac_cr=\$\'\\r\'
13917
 
fi
13918
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13919
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13920
 
  ac_cs_awk_cr='\\r'
13921
 
else
13922
 
  ac_cs_awk_cr=$ac_cr
13923
 
fi
13924
 
 
13925
 
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13926
 
_ACEOF
13927
 
 
13928
 
 
13929
 
{
13930
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
13931
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13932
 
  echo "_ACEOF"
13933
 
} >conf$$subs.sh ||
13934
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13935
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13936
 
ac_delim='%!_!# '
13937
 
for ac_last_try in false false false false false :; do
13938
 
  . ./conf$$subs.sh ||
13939
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13940
 
 
13941
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13942
 
  if test $ac_delim_n = $ac_delim_num; then
13943
 
    break
13944
 
  elif $ac_last_try; then
13945
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13946
 
  else
13947
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13948
 
  fi
13949
 
done
13950
 
rm -f conf$$subs.sh
13951
 
 
13952
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13953
 
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13954
 
_ACEOF
13955
 
sed -n '
13956
 
h
13957
 
s/^/S["/; s/!.*/"]=/
13958
 
p
13959
 
g
13960
 
s/^[^!]*!//
13961
 
:repl
13962
 
t repl
13963
 
s/'"$ac_delim"'$//
13964
 
t delim
13965
 
:nl
13966
 
h
13967
 
s/\(.\{148\}\)..*/\1/
13968
 
t more1
13969
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13970
 
p
13971
 
n
13972
 
b repl
13973
 
:more1
13974
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13975
 
p
13976
 
g
13977
 
s/.\{148\}//
13978
 
t nl
13979
 
:delim
13980
 
h
13981
 
s/\(.\{148\}\)..*/\1/
13982
 
t more2
13983
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
13984
 
p
13985
 
b
13986
 
:more2
13987
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13988
 
p
13989
 
g
13990
 
s/.\{148\}//
13991
 
t delim
13992
 
' <conf$$subs.awk | sed '
13993
 
/^[^""]/{
13994
 
  N
13995
 
  s/\n//
13996
 
}
13997
 
' >>$CONFIG_STATUS || ac_write_fail=1
13998
 
rm -f conf$$subs.awk
13999
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14000
 
_ACAWK
14001
 
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14002
 
  for (key in S) S_is_set[key] = 1
14003
 
  FS = ""
14004
 
 
14005
 
}
14006
 
{
14007
 
  line = $ 0
14008
 
  nfields = split(line, field, "@")
14009
 
  substed = 0
14010
 
  len = length(field[1])
14011
 
  for (i = 2; i < nfields; i++) {
14012
 
    key = field[i]
14013
 
    keylen = length(key)
14014
 
    if (S_is_set[key]) {
14015
 
      value = S[key]
14016
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14017
 
      len += length(value) + length(field[++i])
14018
 
      substed = 1
14019
 
    } else
14020
 
      len += 1 + keylen
14021
 
  }
14022
 
 
14023
 
  print line
14024
 
}
14025
 
 
14026
 
_ACAWK
14027
 
_ACEOF
14028
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14029
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14030
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14031
 
else
14032
 
  cat
14033
 
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14034
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14035
 
_ACEOF
14036
 
 
14037
 
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14038
 
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14039
 
# trailing colons and then remove the whole line if VPATH becomes empty
14040
 
# (actually we leave an empty line to preserve line numbers).
14041
 
if test "x$srcdir" = x.; then
14042
 
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14043
 
h
14044
 
s///
14045
 
s/^/:/
14046
 
s/[      ]*$/:/
14047
 
s/:\$(srcdir):/:/g
14048
 
s/:\${srcdir}:/:/g
14049
 
s/:@srcdir@:/:/g
14050
 
s/^:*//
14051
 
s/:*$//
14052
 
x
14053
 
s/\(=[   ]*\).*/\1/
14054
 
G
14055
 
s/\n//
14056
 
s/^[^=]*=[       ]*$//
14057
 
}'
14058
 
fi
14059
 
 
14060
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14061
 
fi # test -n "$CONFIG_FILES"
14062
 
 
14063
 
 
14064
 
eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
14065
 
shift
14066
 
for ac_tag
14067
 
do
14068
 
  case $ac_tag in
14069
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
14070
 
  esac
14071
 
  case $ac_mode$ac_tag in
14072
 
  :[FHL]*:*);;
14073
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14074
 
  :[FH]-) ac_tag=-:-;;
14075
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14076
 
  esac
14077
 
  ac_save_IFS=$IFS
14078
 
  IFS=:
14079
 
  set x $ac_tag
14080
 
  IFS=$ac_save_IFS
14081
 
  shift
14082
 
  ac_file=$1
14083
 
  shift
14084
 
 
14085
 
  case $ac_mode in
14086
 
  :L) ac_source=$1;;
14087
 
  :[FH])
14088
 
    ac_file_inputs=
14089
 
    for ac_f
14090
 
    do
14091
 
      case $ac_f in
14092
 
      -) ac_f="$ac_tmp/stdin";;
14093
 
      *) # Look for the file first in the build tree, then in the source tree
14094
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
14095
 
         # because $ac_f cannot contain `:'.
14096
 
         test -f "$ac_f" ||
14097
 
           case $ac_f in
14098
 
           [\\/$]*) false;;
14099
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14100
 
           esac ||
14101
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14102
 
      esac
14103
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14104
 
      as_fn_append ac_file_inputs " '$ac_f'"
14105
 
    done
14106
 
 
14107
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
14108
 
    # use $as_me), people would be surprised to read:
14109
 
    #    /* config.h.  Generated by config.status.  */
14110
 
    configure_input='Generated from '`
14111
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14112
 
        `' by configure.'
14113
 
    if test x"$ac_file" != x-; then
14114
 
      configure_input="$ac_file.  $configure_input"
14115
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14116
 
$as_echo "$as_me: creating $ac_file" >&6;}
14117
 
    fi
14118
 
    # Neutralize special characters interpreted by sed in replacement strings.
14119
 
    case $configure_input in #(
14120
 
    *\&* | *\|* | *\\* )
14121
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
14122
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14123
 
    *) ac_sed_conf_input=$configure_input;;
14124
 
    esac
14125
 
 
14126
 
    case $ac_tag in
14127
 
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
14128
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14129
 
    esac
14130
 
    ;;
14131
 
  esac
14132
 
 
14133
 
  ac_dir=`$as_dirname -- "$ac_file" ||
14134
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14135
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
14136
 
         X"$ac_file" : 'X\(//\)$' \| \
14137
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14138
 
$as_echo X"$ac_file" |
14139
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14140
 
            s//\1/
14141
 
            q
14142
 
          }
14143
 
          /^X\(\/\/\)[^/].*/{
14144
 
            s//\1/
14145
 
            q
14146
 
          }
14147
 
          /^X\(\/\/\)$/{
14148
 
            s//\1/
14149
 
            q
14150
 
          }
14151
 
          /^X\(\/\).*/{
14152
 
            s//\1/
14153
 
            q
14154
 
          }
14155
 
          s/.*/./; q'`
14156
 
  as_dir="$ac_dir"; as_fn_mkdir_p
14157
 
  ac_builddir=.
14158
 
 
14159
 
case "$ac_dir" in
14160
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14161
 
*)
14162
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14163
 
  # A ".." for each directory in $ac_dir_suffix.
14164
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14165
 
  case $ac_top_builddir_sub in
14166
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14167
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14168
 
  esac ;;
14169
 
esac
14170
 
ac_abs_top_builddir=$ac_pwd
14171
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
14172
 
# for backward compatibility:
14173
 
ac_top_builddir=$ac_top_build_prefix
14174
 
 
14175
 
case $srcdir in
14176
 
  .)  # We are building in place.
14177
 
    ac_srcdir=.
14178
 
    ac_top_srcdir=$ac_top_builddir_sub
14179
 
    ac_abs_top_srcdir=$ac_pwd ;;
14180
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
14181
 
    ac_srcdir=$srcdir$ac_dir_suffix;
14182
 
    ac_top_srcdir=$srcdir
14183
 
    ac_abs_top_srcdir=$srcdir ;;
14184
 
  *) # Relative name.
14185
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14186
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
14187
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14188
 
esac
14189
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14190
 
 
14191
 
 
14192
 
  case $ac_mode in
14193
 
  :F)
14194
 
  #
14195
 
  # CONFIG_FILE
14196
 
  #
14197
 
 
14198
 
  case $INSTALL in
14199
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14200
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14201
 
  esac
14202
 
  ac_MKDIR_P=$MKDIR_P
14203
 
  case $MKDIR_P in
14204
 
  [\\/$]* | ?:[\\/]* ) ;;
14205
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14206
 
  esac
14207
 
_ACEOF
14208
 
 
14209
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14210
 
# If the template does not know about datarootdir, expand it.
14211
 
# FIXME: This hack should be removed a few years after 2.60.
14212
 
ac_datarootdir_hack=; ac_datarootdir_seen=
14213
 
ac_sed_dataroot='
14214
 
/datarootdir/ {
14215
 
  p
14216
 
  q
14217
 
}
14218
 
/@datadir@/p
14219
 
/@docdir@/p
14220
 
/@infodir@/p
14221
 
/@localedir@/p
14222
 
/@mandir@/p'
14223
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14224
 
*datarootdir*) ac_datarootdir_seen=yes;;
14225
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14226
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14227
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14228
 
_ACEOF
14229
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14230
 
  ac_datarootdir_hack='
14231
 
  s&@datadir@&$datadir&g
14232
 
  s&@docdir@&$docdir&g
14233
 
  s&@infodir@&$infodir&g
14234
 
  s&@localedir@&$localedir&g
14235
 
  s&@mandir@&$mandir&g
14236
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
14237
 
esac
14238
 
_ACEOF
14239
 
 
14240
 
# Neutralize VPATH when `$srcdir' = `.'.
14241
 
# Shell code in configure.ac might set extrasub.
14242
 
# FIXME: do we really want to maintain this feature?
14243
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14244
 
ac_sed_extra="$ac_vpsub
14245
 
$extrasub
14246
 
_ACEOF
14247
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14248
 
:t
14249
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14250
 
s|@configure_input@|$ac_sed_conf_input|;t t
14251
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
14252
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
14253
 
s&@srcdir@&$ac_srcdir&;t t
14254
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
14255
 
s&@top_srcdir@&$ac_top_srcdir&;t t
14256
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14257
 
s&@builddir@&$ac_builddir&;t t
14258
 
s&@abs_builddir@&$ac_abs_builddir&;t t
14259
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14260
 
s&@INSTALL@&$ac_INSTALL&;t t
14261
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
14262
 
$ac_datarootdir_hack
14263
 
"
14264
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14265
 
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14266
 
 
14267
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14268
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14269
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14270
 
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
14271
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14272
 
which seems to be undefined.  Please make sure it is defined" >&5
14273
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14274
 
which seems to be undefined.  Please make sure it is defined" >&2;}
14275
 
 
14276
 
  rm -f "$ac_tmp/stdin"
14277
 
  case $ac_file in
14278
 
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14279
 
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14280
 
  esac \
14281
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14282
 
 ;;
14283
 
  
14284
 
  
14285
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14286
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
14287
 
 ;;
14288
 
  esac
14289
 
 
14290
 
 
14291
 
  case $ac_file$ac_mode in
14292
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14293
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
14294
 
  # are listed without --file.  Let's play safe and only enable the eval
14295
 
  # if we detect the quoting.
14296
 
  case $CONFIG_FILES in
14297
 
  *\'*) eval set x "$CONFIG_FILES" ;;
14298
 
  *)   set x $CONFIG_FILES ;;
14299
 
  esac
14300
 
  shift
14301
 
  for mf
14302
 
  do
14303
 
    # Strip MF so we end up with the name of the file.
14304
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
14305
 
    # Check whether this is an Automake generated Makefile or not.
14306
 
    # We used to match only the files named `Makefile.in', but
14307
 
    # some people rename them; so instead we look at the file content.
14308
 
    # Grep'ing the first line is not enough: some people post-process
14309
 
    # each Makefile.in and add a new line on top of each file to say so.
14310
 
    # Grep'ing the whole file is not good either: AIX grep has a line
14311
 
    # limit of 2048, but all sed's we know have understand at least 4000.
14312
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14313
 
      dirpart=`$as_dirname -- "$mf" ||
14314
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14315
 
         X"$mf" : 'X\(//\)[^/]' \| \
14316
 
         X"$mf" : 'X\(//\)$' \| \
14317
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14318
 
$as_echo X"$mf" |
14319
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14320
 
            s//\1/
14321
 
            q
14322
 
          }
14323
 
          /^X\(\/\/\)[^/].*/{
14324
 
            s//\1/
14325
 
            q
14326
 
          }
14327
 
          /^X\(\/\/\)$/{
14328
 
            s//\1/
14329
 
            q
14330
 
          }
14331
 
          /^X\(\/\).*/{
14332
 
            s//\1/
14333
 
            q
14334
 
          }
14335
 
          s/.*/./; q'`
14336
 
    else
14337
 
      continue
14338
 
    fi
14339
 
    # Extract the definition of DEPDIR, am__include, and am__quote
14340
 
    # from the Makefile without running `make'.
14341
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14342
 
    test -z "$DEPDIR" && continue
14343
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
14344
 
    test -z "am__include" && continue
14345
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14346
 
    # When using ansi2knr, U may be empty or an underscore; expand it
14347
 
    U=`sed -n 's/^U = //p' < "$mf"`
14348
 
    # Find all dependency output files, they are included files with
14349
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
14350
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
14351
 
    # expansion.
14352
 
    for file in `sed -n "
14353
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14354
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14355
 
      # Make sure the directory exists.
14356
 
      test -f "$dirpart/$file" && continue
14357
 
      fdir=`$as_dirname -- "$file" ||
14358
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14359
 
         X"$file" : 'X\(//\)[^/]' \| \
14360
 
         X"$file" : 'X\(//\)$' \| \
14361
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14362
 
$as_echo X"$file" |
14363
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14364
 
            s//\1/
14365
 
            q
14366
 
          }
14367
 
          /^X\(\/\/\)[^/].*/{
14368
 
            s//\1/
14369
 
            q
14370
 
          }
14371
 
          /^X\(\/\/\)$/{
14372
 
            s//\1/
14373
 
            q
14374
 
          }
14375
 
          /^X\(\/\).*/{
14376
 
            s//\1/
14377
 
            q
14378
 
          }
14379
 
          s/.*/./; q'`
14380
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
14381
 
      # echo "creating $dirpart/$file"
14382
 
      echo '# dummy' > "$dirpart/$file"
14383
 
    done
14384
 
  done
14385
 
}
14386
 
 ;;
14387
 
    "libtool":C) 
14388
 
    
14389
 
    # See if we are running on zsh, and set the options which allow our
14390
 
    # commands through without removal of \ escapes.
14391
 
    if test -n "${ZSH_VERSION+set}" ; then
14392
 
      setopt NO_GLOB_SUBST
14393
 
    fi
14394
 
 
14395
 
    cfgfile="${ofile}T"
14396
 
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14397
 
    $RM "$cfgfile"
14398
 
 
14399
 
    cat <<_LT_EOF >> "$cfgfile"
14400
 
#! $SHELL
14401
 
 
14402
 
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14403
 
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14404
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14405
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14406
 
#
14407
 
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14408
 
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14409
 
#                 Foundation, Inc.
14410
 
#   Written by Gordon Matzigkeit, 1996
14411
 
#
14412
 
#   This file is part of GNU Libtool.
14413
 
#
14414
 
# GNU Libtool is free software; you can redistribute it and/or
14415
 
# modify it under the terms of the GNU General Public License as
14416
 
# published by the Free Software Foundation; either version 2 of
14417
 
# the License, or (at your option) any later version.
14418
 
#
14419
 
# As a special exception to the GNU General Public License,
14420
 
# if you distribute this file as part of a program or library that
14421
 
# is built using GNU Libtool, you may include this file under the
14422
 
# same distribution terms that you use for the rest of that program.
14423
 
#
14424
 
# GNU Libtool is distributed in the hope that it will be useful,
14425
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14426
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14427
 
# GNU General Public License for more details.
14428
 
#
14429
 
# You should have received a copy of the GNU General Public License
14430
 
# along with GNU Libtool; see the file COPYING.  If not, a copy
14431
 
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14432
 
# obtained by writing to the Free Software Foundation, Inc.,
14433
 
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14434
 
 
14435
 
 
14436
 
# The names of the tagged configurations supported by this script.
14437
 
available_tags=""
14438
 
 
14439
 
# ### BEGIN LIBTOOL CONFIG
14440
 
 
14441
 
# Which release of libtool.m4 was used?
14442
 
macro_version=$macro_version
14443
 
macro_revision=$macro_revision
14444
 
 
14445
 
# Whether or not to build shared libraries.
14446
 
build_libtool_libs=$enable_shared
14447
 
 
14448
 
# Whether or not to build static libraries.
14449
 
build_old_libs=$enable_static
14450
 
 
14451
 
# What type of objects to build.
14452
 
pic_mode=$pic_mode
14453
 
 
14454
 
# Whether or not to optimize for fast installation.
14455
 
fast_install=$enable_fast_install
14456
 
 
14457
 
# Shell to use when invoking shell scripts.
14458
 
SHELL=$lt_SHELL
14459
 
 
14460
 
# An echo program that protects backslashes.
14461
 
ECHO=$lt_ECHO
14462
 
 
14463
 
# The PATH separator for the build system.
14464
 
PATH_SEPARATOR=$lt_PATH_SEPARATOR
14465
 
 
14466
 
# The host system.
14467
 
host_alias=$host_alias
14468
 
host=$host
14469
 
host_os=$host_os
14470
 
 
14471
 
# The build system.
14472
 
build_alias=$build_alias
14473
 
build=$build
14474
 
build_os=$build_os
14475
 
 
14476
 
# A sed program that does not truncate output.
14477
 
SED=$lt_SED
14478
 
 
14479
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14480
 
Xsed="\$SED -e 1s/^X//"
14481
 
 
14482
 
# A grep program that handles long lines.
14483
 
GREP=$lt_GREP
14484
 
 
14485
 
# An ERE matcher.
14486
 
EGREP=$lt_EGREP
14487
 
 
14488
 
# A literal string matcher.
14489
 
FGREP=$lt_FGREP
14490
 
 
14491
 
# A BSD- or MS-compatible name lister.
14492
 
NM=$lt_NM
14493
 
 
14494
 
# Whether we need soft or hard links.
14495
 
LN_S=$lt_LN_S
14496
 
 
14497
 
# What is the maximum length of a command?
14498
 
max_cmd_len=$max_cmd_len
14499
 
 
14500
 
# Object file suffix (normally "o").
14501
 
objext=$ac_objext
14502
 
 
14503
 
# Executable file suffix (normally "").
14504
 
exeext=$exeext
14505
 
 
14506
 
# whether the shell understands "unset".
14507
 
lt_unset=$lt_unset
14508
 
 
14509
 
# turn spaces into newlines.
14510
 
SP2NL=$lt_lt_SP2NL
14511
 
 
14512
 
# turn newlines into spaces.
14513
 
NL2SP=$lt_lt_NL2SP
14514
 
 
14515
 
# convert \$build file names to \$host format.
14516
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
14517
 
 
14518
 
# convert \$build files to toolchain format.
14519
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14520
 
 
14521
 
# An object symbol dumper.
14522
 
OBJDUMP=$lt_OBJDUMP
14523
 
 
14524
 
# Method to check whether dependent libraries are shared objects.
14525
 
deplibs_check_method=$lt_deplibs_check_method
14526
 
 
14527
 
# Command to use when deplibs_check_method = "file_magic".
14528
 
file_magic_cmd=$lt_file_magic_cmd
14529
 
 
14530
 
# How to find potential files when deplibs_check_method = "file_magic".
14531
 
file_magic_glob=$lt_file_magic_glob
14532
 
 
14533
 
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14534
 
want_nocaseglob=$lt_want_nocaseglob
14535
 
 
14536
 
# DLL creation program.
14537
 
DLLTOOL=$lt_DLLTOOL
14538
 
 
14539
 
# Command to associate shared and link libraries.
14540
 
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14541
 
 
14542
 
# The archiver.
14543
 
AR=$lt_AR
14544
 
 
14545
 
# Flags to create an archive.
14546
 
AR_FLAGS=$lt_AR_FLAGS
14547
 
 
14548
 
# How to feed a file listing to the archiver.
14549
 
archiver_list_spec=$lt_archiver_list_spec
14550
 
 
14551
 
# A symbol stripping program.
14552
 
STRIP=$lt_STRIP
14553
 
 
14554
 
# Commands used to install an old-style archive.
14555
 
RANLIB=$lt_RANLIB
14556
 
old_postinstall_cmds=$lt_old_postinstall_cmds
14557
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14558
 
 
14559
 
# Whether to use a lock for old archive extraction.
14560
 
lock_old_archive_extraction=$lock_old_archive_extraction
14561
 
 
14562
 
# A C compiler.
14563
 
LTCC=$lt_CC
14564
 
 
14565
 
# LTCC compiler flags.
14566
 
LTCFLAGS=$lt_CFLAGS
14567
 
 
14568
 
# Take the output of nm and produce a listing of raw symbols and C names.
14569
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14570
 
 
14571
 
# Transform the output of nm in a proper C declaration.
14572
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14573
 
 
14574
 
# Transform the output of nm in a C name address pair.
14575
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14576
 
 
14577
 
# Transform the output of nm in a C name address pair when lib prefix is needed.
14578
 
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14579
 
 
14580
 
# Specify filename containing input files for \$NM.
14581
 
nm_file_list_spec=$lt_nm_file_list_spec
14582
 
 
14583
 
# The root where to search for dependent libraries,and in which our libraries should be installed.
14584
 
lt_sysroot=$lt_sysroot
14585
 
 
14586
 
# The name of the directory that contains temporary libtool files.
14587
 
objdir=$objdir
14588
 
 
14589
 
# Used to examine libraries when file_magic_cmd begins with "file".
14590
 
MAGIC_CMD=$MAGIC_CMD
14591
 
 
14592
 
# Must we lock files when doing compilation?
14593
 
need_locks=$lt_need_locks
14594
 
 
14595
 
# Manifest tool.
14596
 
MANIFEST_TOOL=$lt_MANIFEST_TOOL
14597
 
 
14598
 
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14599
 
DSYMUTIL=$lt_DSYMUTIL
14600
 
 
14601
 
# Tool to change global to local symbols on Mac OS X.
14602
 
NMEDIT=$lt_NMEDIT
14603
 
 
14604
 
# Tool to manipulate fat objects and archives on Mac OS X.
14605
 
LIPO=$lt_LIPO
14606
 
 
14607
 
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14608
 
OTOOL=$lt_OTOOL
14609
 
 
14610
 
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14611
 
OTOOL64=$lt_OTOOL64
14612
 
 
14613
 
# Old archive suffix (normally "a").
14614
 
libext=$libext
14615
 
 
14616
 
# Shared library suffix (normally ".so").
14617
 
shrext_cmds=$lt_shrext_cmds
14618
 
 
14619
 
# The commands to extract the exported symbol list from a shared archive.
14620
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14621
 
 
14622
 
# Variables whose values should be saved in libtool wrapper scripts and
14623
 
# restored at link time.
14624
 
variables_saved_for_relink=$lt_variables_saved_for_relink
14625
 
 
14626
 
# Do we need the "lib" prefix for modules?
14627
 
need_lib_prefix=$need_lib_prefix
14628
 
 
14629
 
# Do we need a version for libraries?
14630
 
need_version=$need_version
14631
 
 
14632
 
# Library versioning type.
14633
 
version_type=$version_type
14634
 
 
14635
 
# Shared library runtime path variable.
14636
 
runpath_var=$runpath_var
14637
 
 
14638
 
# Shared library path variable.
14639
 
shlibpath_var=$shlibpath_var
14640
 
 
14641
 
# Is shlibpath searched before the hard-coded library search path?
14642
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14643
 
 
14644
 
# Format of library name prefix.
14645
 
libname_spec=$lt_libname_spec
14646
 
 
14647
 
# List of archive names.  First name is the real one, the rest are links.
14648
 
# The last name is the one that the linker finds with -lNAME
14649
 
library_names_spec=$lt_library_names_spec
14650
 
 
14651
 
# The coded name of the library, if different from the real name.
14652
 
soname_spec=$lt_soname_spec
14653
 
 
14654
 
# Permission mode override for installation of shared libraries.
14655
 
install_override_mode=$lt_install_override_mode
14656
 
 
14657
 
# Command to use after installation of a shared archive.
14658
 
postinstall_cmds=$lt_postinstall_cmds
14659
 
 
14660
 
# Command to use after uninstallation of a shared archive.
14661
 
postuninstall_cmds=$lt_postuninstall_cmds
14662
 
 
14663
 
# Commands used to finish a libtool library installation in a directory.
14664
 
finish_cmds=$lt_finish_cmds
14665
 
 
14666
 
# As "finish_cmds", except a single script fragment to be evaled but
14667
 
# not shown.
14668
 
finish_eval=$lt_finish_eval
14669
 
 
14670
 
# Whether we should hardcode library paths into libraries.
14671
 
hardcode_into_libs=$hardcode_into_libs
14672
 
 
14673
 
# Compile-time system search path for libraries.
14674
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14675
 
 
14676
 
# Run-time system search path for libraries.
14677
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14678
 
 
14679
 
# Whether dlopen is supported.
14680
 
dlopen_support=$enable_dlopen
14681
 
 
14682
 
# Whether dlopen of programs is supported.
14683
 
dlopen_self=$enable_dlopen_self
14684
 
 
14685
 
# Whether dlopen of statically linked programs is supported.
14686
 
dlopen_self_static=$enable_dlopen_self_static
14687
 
 
14688
 
# Commands to strip libraries.
14689
 
old_striplib=$lt_old_striplib
14690
 
striplib=$lt_striplib
14691
 
 
14692
 
 
14693
 
# The linker used to build libraries.
14694
 
LD=$lt_LD
14695
 
 
14696
 
# How to create reloadable object files.
14697
 
reload_flag=$lt_reload_flag
14698
 
reload_cmds=$lt_reload_cmds
14699
 
 
14700
 
# Commands used to build an old-style archive.
14701
 
old_archive_cmds=$lt_old_archive_cmds
14702
 
 
14703
 
# A language specific compiler.
14704
 
CC=$lt_compiler
14705
 
 
14706
 
# Is the compiler the GNU compiler?
14707
 
with_gcc=$GCC
14708
 
 
14709
 
# Compiler flag to turn off builtin functions.
14710
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14711
 
 
14712
 
# Additional compiler flags for building library objects.
14713
 
pic_flag=$lt_lt_prog_compiler_pic
14714
 
 
14715
 
# How to pass a linker flag through the compiler.
14716
 
wl=$lt_lt_prog_compiler_wl
14717
 
 
14718
 
# Compiler flag to prevent dynamic linking.
14719
 
link_static_flag=$lt_lt_prog_compiler_static
14720
 
 
14721
 
# Does compiler simultaneously support -c and -o options?
14722
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14723
 
 
14724
 
# Whether or not to add -lc for building shared libraries.
14725
 
build_libtool_need_lc=$archive_cmds_need_lc
14726
 
 
14727
 
# Whether or not to disallow shared libs when runtime libs are static.
14728
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14729
 
 
14730
 
# Compiler flag to allow reflexive dlopens.
14731
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14732
 
 
14733
 
# Compiler flag to generate shared objects directly from archives.
14734
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
14735
 
 
14736
 
# Whether the compiler copes with passing no objects directly.
14737
 
compiler_needs_object=$lt_compiler_needs_object
14738
 
 
14739
 
# Create an old-style archive from a shared archive.
14740
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14741
 
 
14742
 
# Create a temporary old-style archive to link instead of a shared archive.
14743
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14744
 
 
14745
 
# Commands used to build a shared archive.
14746
 
archive_cmds=$lt_archive_cmds
14747
 
archive_expsym_cmds=$lt_archive_expsym_cmds
14748
 
 
14749
 
# Commands used to build a loadable module if different from building
14750
 
# a shared archive.
14751
 
module_cmds=$lt_module_cmds
14752
 
module_expsym_cmds=$lt_module_expsym_cmds
14753
 
 
14754
 
# Whether we are building with GNU ld or not.
14755
 
with_gnu_ld=$lt_with_gnu_ld
14756
 
 
14757
 
# Flag that allows shared libraries with undefined symbols to be built.
14758
 
allow_undefined_flag=$lt_allow_undefined_flag
14759
 
 
14760
 
# Flag that enforces no undefined symbols.
14761
 
no_undefined_flag=$lt_no_undefined_flag
14762
 
 
14763
 
# Flag to hardcode \$libdir into a binary during linking.
14764
 
# This must work even if \$libdir does not exist
14765
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14766
 
 
14767
 
# Whether we need a single "-rpath" flag with a separated argument.
14768
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
14769
 
 
14770
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14771
 
# DIR into the resulting binary.
14772
 
hardcode_direct=$hardcode_direct
14773
 
 
14774
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14775
 
# DIR into the resulting binary and the resulting library dependency is
14776
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14777
 
# library is relocated.
14778
 
hardcode_direct_absolute=$hardcode_direct_absolute
14779
 
 
14780
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14781
 
# into the resulting binary.
14782
 
hardcode_minus_L=$hardcode_minus_L
14783
 
 
14784
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14785
 
# into the resulting binary.
14786
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
14787
 
 
14788
 
# Set to "yes" if building a shared library automatically hardcodes DIR
14789
 
# into the library and all subsequent libraries and executables linked
14790
 
# against it.
14791
 
hardcode_automatic=$hardcode_automatic
14792
 
 
14793
 
# Set to yes if linker adds runtime paths of dependent libraries
14794
 
# to runtime path list.
14795
 
inherit_rpath=$inherit_rpath
14796
 
 
14797
 
# Whether libtool must link a program against all its dependency libraries.
14798
 
link_all_deplibs=$link_all_deplibs
14799
 
 
14800
 
# Set to "yes" if exported symbols are required.
14801
 
always_export_symbols=$always_export_symbols
14802
 
 
14803
 
# The commands to list exported symbols.
14804
 
export_symbols_cmds=$lt_export_symbols_cmds
14805
 
 
14806
 
# Symbols that should not be listed in the preloaded symbols.
14807
 
exclude_expsyms=$lt_exclude_expsyms
14808
 
 
14809
 
# Symbols that must always be exported.
14810
 
include_expsyms=$lt_include_expsyms
14811
 
 
14812
 
# Commands necessary for linking programs (against libraries) with templates.
14813
 
prelink_cmds=$lt_prelink_cmds
14814
 
 
14815
 
# Commands necessary for finishing linking programs.
14816
 
postlink_cmds=$lt_postlink_cmds
14817
 
 
14818
 
# Specify filename containing input files.
14819
 
file_list_spec=$lt_file_list_spec
14820
 
 
14821
 
# How to hardcode a shared library path into an executable.
14822
 
hardcode_action=$hardcode_action
14823
 
 
14824
 
# ### END LIBTOOL CONFIG
14825
 
 
14826
 
_LT_EOF
14827
 
 
14828
 
  case $host_os in
14829
 
  aix3*)
14830
 
    cat <<\_LT_EOF >> "$cfgfile"
14831
 
# AIX sometimes has problems with the GCC collect2 program.  For some
14832
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
14833
 
# vanish in a puff of smoke.
14834
 
if test "X${COLLECT_NAMES+set}" != Xset; then
14835
 
  COLLECT_NAMES=
14836
 
  export COLLECT_NAMES
14837
 
fi
14838
 
_LT_EOF
14839
 
    ;;
14840
 
  esac
14841
 
 
14842
 
  
14843
 
ltmain="$ac_aux_dir/ltmain.sh"
14844
 
 
14845
 
 
14846
 
  # We use sed instead of cat because bash on DJGPP gets confused if
14847
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14848
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
14849
 
  # is reportedly fixed, but why not run on old versions too?
14850
 
  sed '$q' "$ltmain" >> "$cfgfile" \
14851
 
     || (rm -f "$cfgfile"; exit 1)
14852
 
 
14853
 
  if test x"$xsi_shell" = xyes; then
14854
 
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14855
 
func_dirname ()\
14856
 
{\
14857
 
\    case ${1} in\
14858
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
14859
 
\      *  ) func_dirname_result="${3}" ;;\
14860
 
\    esac\
14861
 
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14862
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
14863
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14864
 
test 0 -eq $? || _lt_function_replace_fail=:
14865
 
 
14866
 
 
14867
 
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
14868
 
func_basename ()\
14869
 
{\
14870
 
\    func_basename_result="${1##*/}"\
14871
 
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14872
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
14873
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14874
 
test 0 -eq $? || _lt_function_replace_fail=:
14875
 
 
14876
 
 
14877
 
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14878
 
func_dirname_and_basename ()\
14879
 
{\
14880
 
\    case ${1} in\
14881
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
14882
 
\      *  ) func_dirname_result="${3}" ;;\
14883
 
\    esac\
14884
 
\    func_basename_result="${1##*/}"\
14885
 
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14886
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
14887
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14888
 
test 0 -eq $? || _lt_function_replace_fail=:
14889
 
 
14890
 
 
14891
 
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14892
 
func_stripname ()\
14893
 
{\
14894
 
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14895
 
\    # positional parameters, so assign one to ordinary parameter first.\
14896
 
\    func_stripname_result=${3}\
14897
 
\    func_stripname_result=${func_stripname_result#"${1}"}\
14898
 
\    func_stripname_result=${func_stripname_result%"${2}"}\
14899
 
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14900
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
14901
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14902
 
test 0 -eq $? || _lt_function_replace_fail=:
14903
 
 
14904
 
 
14905
 
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14906
 
func_split_long_opt ()\
14907
 
{\
14908
 
\    func_split_long_opt_name=${1%%=*}\
14909
 
\    func_split_long_opt_arg=${1#*=}\
14910
 
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14911
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
14912
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14913
 
test 0 -eq $? || _lt_function_replace_fail=:
14914
 
 
14915
 
 
14916
 
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14917
 
func_split_short_opt ()\
14918
 
{\
14919
 
\    func_split_short_opt_arg=${1#??}\
14920
 
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14921
 
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14922
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
14923
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14924
 
test 0 -eq $? || _lt_function_replace_fail=:
14925
 
 
14926
 
 
14927
 
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14928
 
func_lo2o ()\
14929
 
{\
14930
 
\    case ${1} in\
14931
 
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14932
 
\      *)    func_lo2o_result=${1} ;;\
14933
 
\    esac\
14934
 
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14935
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
14936
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14937
 
test 0 -eq $? || _lt_function_replace_fail=:
14938
 
 
14939
 
 
14940
 
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
14941
 
func_xform ()\
14942
 
{\
14943
 
    func_xform_result=${1%.*}.lo\
14944
 
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14945
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
14946
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14947
 
test 0 -eq $? || _lt_function_replace_fail=:
14948
 
 
14949
 
 
14950
 
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
14951
 
func_arith ()\
14952
 
{\
14953
 
    func_arith_result=$(( $* ))\
14954
 
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14955
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
14956
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14957
 
test 0 -eq $? || _lt_function_replace_fail=:
14958
 
 
14959
 
 
14960
 
  sed -e '/^func_len ()$/,/^} # func_len /c\
14961
 
func_len ()\
14962
 
{\
14963
 
    func_len_result=${#1}\
14964
 
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14965
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
14966
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14967
 
test 0 -eq $? || _lt_function_replace_fail=:
14968
 
 
14969
 
fi
14970
 
 
14971
 
if test x"$lt_shell_append" = xyes; then
14972
 
  sed -e '/^func_append ()$/,/^} # func_append /c\
14973
 
func_append ()\
14974
 
{\
14975
 
    eval "${1}+=\\${2}"\
14976
 
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14977
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
14978
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14979
 
test 0 -eq $? || _lt_function_replace_fail=:
14980
 
 
14981
 
 
14982
 
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14983
 
func_append_quoted ()\
14984
 
{\
14985
 
\    func_quote_for_eval "${2}"\
14986
 
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14987
 
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14988
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
14989
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14990
 
test 0 -eq $? || _lt_function_replace_fail=:
14991
 
 
14992
 
 
14993
 
  # Save a `func_append' function call where possible by direct use of '+='
14994
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14995
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
14996
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14997
 
  test 0 -eq $? || _lt_function_replace_fail=:
14998
 
else
14999
 
  # Save a `func_append' function call even when '+=' is not available
15000
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15001
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
15002
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15003
 
  test 0 -eq $? || _lt_function_replace_fail=:
15004
 
fi
15005
 
 
15006
 
if test x"$_lt_function_replace_fail" = x":"; then
15007
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15008
 
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15009
 
fi
15010
 
 
15011
 
 
15012
 
   mv -f "$cfgfile" "$ofile" ||
15013
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15014
 
  chmod +x "$ofile"
15015
 
 
15016
 
 ;;
15017
 
    "Makefile":F) test -z "$CONFIG_HEADERS" || echo timestamp > source/stamp-h.in ;;
15018
 
    "doc/Makefile":F) test -z "$CONFIG_HEADERS" || echo timestamp > source/stamp-h.in ;;
15019
 
    "doc/Doxyfile":F) test -z "$CONFIG_HEADERS" || echo timestamp > source/stamp-h.in ;;
15020
 
    "include/osl/scop.h":F) test -z "$CONFIG_HEADERS" || echo timestamp > source/stamp-h.in ;;
15021
 
    "tests/Makefile":F) test -z "$CONFIG_HEADERS" || echo timestamp > source/stamp-h.in ;;
15022
 
 
15023
 
  esac
15024
 
done # for ac_tag
15025
 
 
15026
 
 
15027
 
as_fn_exit 0
15028
 
_ACEOF
15029
 
ac_clean_files=$ac_clean_files_save
15030
 
 
15031
 
test $ac_write_fail = 0 ||
15032
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15033
 
 
15034
 
 
15035
 
# configure is writing to config.log, and then calls config.status.
15036
 
# config.status does its own redirection, appending to config.log.
15037
 
# Unfortunately, on DOS this fails, as config.log is still kept open
15038
 
# by configure, so config.status won't be able to write to it; its
15039
 
# output is simply discarded.  So we exec the FD to /dev/null,
15040
 
# effectively closing config.log, so it can be properly (re)opened and
15041
 
# appended to by config.status.  When coming back to configure, we
15042
 
# need to make the FD available again.
15043
 
if test "$no_create" != yes; then
15044
 
  ac_cs_success=:
15045
 
  ac_config_status_args=
15046
 
  test "$silent" = yes &&
15047
 
    ac_config_status_args="$ac_config_status_args --quiet"
15048
 
  exec 5>/dev/null
15049
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15050
 
  exec 5>>config.log
15051
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15052
 
  # would make configure fail if this is the last instruction.
15053
 
  $ac_cs_success || as_fn_exit 1
15054
 
fi
15055
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15056
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15057
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15058
 
fi
15059
 
 
15060
 
 
15061
 
 
15062
 
echo "             /*-----------------------------------------------*"
15063
 
echo "              *      OpenScop Library configuration is OK     *"
15064
 
echo "              *-----------------------------------------------*/"
15065
 
echo "It appears that your system is OK to start the OpenScop Library compilation."
15066
 
echo "You need now to type \"make\". Then type \"make install\" to install it on your"
15067
 
echo "system (log as root if necessary)."