~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to daemon/configure

  • Committer: Package Import Robot
  • Author(s): Whoopie
  • Date: 2012-03-22 10:29:10 UTC
  • mfrom: (4.1.12 sid)
  • Revision ID: package-import@ubuntu.com-20120322102910-tb8hugi2su1tguwh
Tags: 1.0.2-1ubuntu1
* Apply some upstream patches to fix FTBFS (LP: #913018):
  - debian/patches/05_glib_includes.patch: fix glib includes.
  - debian/patches/06_use_XkbKeycodeToKeysym.patch: use 
    XkbKeycodeToKeysym instead of (deprecated) XKeycodeToKeysym.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
# From configure.ac Revision.
3
 
# Guess values for system-dependent variables and create Makefiles.
4
 
# Generated by GNU Autoconf 2.68 for sflphone 1.0.1.
5
 
#
6
 
# Report bugs to <sflphoneteam@savoirfairelinux.com>.
7
 
#
8
 
#
9
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11
 
# Foundation, Inc.
12
 
#
13
 
#
14
 
# This configure script is free software; the Free Software Foundation
15
 
# gives unlimited permission to copy, distribute and modify it.
16
 
#
17
 
# Copyright (c) Savoir-Faire Linux 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
18
 
## -------------------- ##
19
 
## M4sh Initialization. ##
20
 
## -------------------- ##
21
 
 
22
 
# Be more Bourne compatible
23
 
DUALCASE=1; export DUALCASE # for MKS sh
24
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25
 
  emulate sh
26
 
  NULLCMD=:
27
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
28
 
  # is contrary to our usage.  Disable this feature.
29
 
  alias -g '${1+"$@"}'='"$@"'
30
 
  setopt NO_GLOB_SUBST
31
 
else
32
 
  case `(set -o) 2>/dev/null` in #(
33
 
  *posix*) :
34
 
    set -o posix ;; #(
35
 
  *) :
36
 
     ;;
37
 
esac
38
 
fi
39
 
 
40
 
 
41
 
as_nl='
42
 
'
43
 
export as_nl
44
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
45
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
46
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
47
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
48
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
49
 
# but without wasting forks for bash or zsh.
50
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
51
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
52
 
  as_echo='print -r --'
53
 
  as_echo_n='print -rn --'
54
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55
 
  as_echo='printf %s\n'
56
 
  as_echo_n='printf %s'
57
 
else
58
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
60
 
    as_echo_n='/usr/ucb/echo -n'
61
 
  else
62
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63
 
    as_echo_n_body='eval
64
 
      arg=$1;
65
 
      case $arg in #(
66
 
      *"$as_nl"*)
67
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
68
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
69
 
      esac;
70
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
71
 
    '
72
 
    export as_echo_n_body
73
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
74
 
  fi
75
 
  export as_echo_body
76
 
  as_echo='sh -c $as_echo_body as_echo'
77
 
fi
78
 
 
79
 
# The user is always right.
80
 
if test "${PATH_SEPARATOR+set}" != set; then
81
 
  PATH_SEPARATOR=:
82
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
83
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
84
 
      PATH_SEPARATOR=';'
85
 
  }
86
 
fi
87
 
 
88
 
 
89
 
# IFS
90
 
# We need space, tab and new line, in precisely that order.  Quoting is
91
 
# there to prevent editors from complaining about space-tab.
92
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
93
 
# splitting by setting IFS to empty value.)
94
 
IFS=" ""        $as_nl"
95
 
 
96
 
# Find who we are.  Look in the path if we contain no directory separator.
97
 
as_myself=
98
 
case $0 in #((
99
 
  *[\\/]* ) as_myself=$0 ;;
100
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101
 
for as_dir in $PATH
102
 
do
103
 
  IFS=$as_save_IFS
104
 
  test -z "$as_dir" && as_dir=.
105
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106
 
  done
107
 
IFS=$as_save_IFS
108
 
 
109
 
     ;;
110
 
esac
111
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
112
 
# in which case we are not to be found in the path.
113
 
if test "x$as_myself" = x; then
114
 
  as_myself=$0
115
 
fi
116
 
if test ! -f "$as_myself"; then
117
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118
 
  exit 1
119
 
fi
120
 
 
121
 
# Unset variables that we do not need and which cause bugs (e.g. in
122
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
123
 
# suppresses any "Segmentation fault" message there.  '((' could
124
 
# trigger a bug in pdksh 5.2.14.
125
 
for as_var in BASH_ENV ENV MAIL MAILPATH
126
 
do eval test x\${$as_var+set} = xset \
127
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
128
 
done
129
 
PS1='$ '
130
 
PS2='> '
131
 
PS4='+ '
132
 
 
133
 
# NLS nuisances.
134
 
LC_ALL=C
135
 
export LC_ALL
136
 
LANGUAGE=C
137
 
export LANGUAGE
138
 
 
139
 
# CDPATH.
140
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
141
 
 
142
 
if test "x$CONFIG_SHELL" = x; then
143
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
144
 
  emulate sh
145
 
  NULLCMD=:
146
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
147
 
  # is contrary to our usage.  Disable this feature.
148
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
149
 
  setopt NO_GLOB_SUBST
150
 
else
151
 
  case \`(set -o) 2>/dev/null\` in #(
152
 
  *posix*) :
153
 
    set -o posix ;; #(
154
 
  *) :
155
 
     ;;
156
 
esac
157
 
fi
158
 
"
159
 
  as_required="as_fn_return () { (exit \$1); }
160
 
as_fn_success () { as_fn_return 0; }
161
 
as_fn_failure () { as_fn_return 1; }
162
 
as_fn_ret_success () { return 0; }
163
 
as_fn_ret_failure () { return 1; }
164
 
 
165
 
exitcode=0
166
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
167
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
168
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
169
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
170
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
171
 
 
172
 
else
173
 
  exitcode=1; echo positional parameters were not saved.
174
 
fi
175
 
test x\$exitcode = x0 || exit 1"
176
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
177
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
178
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
179
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
180
 
 
181
 
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
182
 
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
183
 
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
184
 
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
185
 
    PATH=/empty FPATH=/empty; export PATH FPATH
186
 
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
187
 
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
188
 
test \$(( 1 + 1 )) = 2 || exit 1"
189
 
  if (eval "$as_required") 2>/dev/null; then :
190
 
  as_have_required=yes
191
 
else
192
 
  as_have_required=no
193
 
fi
194
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
195
 
 
196
 
else
197
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198
 
as_found=false
199
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
200
 
do
201
 
  IFS=$as_save_IFS
202
 
  test -z "$as_dir" && as_dir=.
203
 
  as_found=:
204
 
  case $as_dir in #(
205
 
         /*)
206
 
           for as_base in sh bash ksh sh5; do
207
 
             # Try only shells that exist, to save several forks.
208
 
             as_shell=$as_dir/$as_base
209
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
210
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
211
 
  CONFIG_SHELL=$as_shell as_have_required=yes
212
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
213
 
  break 2
214
 
fi
215
 
fi
216
 
           done;;
217
 
       esac
218
 
  as_found=false
219
 
done
220
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
221
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
222
 
  CONFIG_SHELL=$SHELL as_have_required=yes
223
 
fi; }
224
 
IFS=$as_save_IFS
225
 
 
226
 
 
227
 
      if test "x$CONFIG_SHELL" != x; then :
228
 
  # We cannot yet assume a decent shell, so we have to provide a
229
 
        # neutralization value for shells without unset; and this also
230
 
        # works around shells that cannot unset nonexistent variables.
231
 
        # Preserve -v and -x to the replacement shell.
232
 
        BASH_ENV=/dev/null
233
 
        ENV=/dev/null
234
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
235
 
        export CONFIG_SHELL
236
 
        case $- in # ((((
237
 
          *v*x* | *x*v* ) as_opts=-vx ;;
238
 
          *v* ) as_opts=-v ;;
239
 
          *x* ) as_opts=-x ;;
240
 
          * ) as_opts= ;;
241
 
        esac
242
 
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
243
 
fi
244
 
 
245
 
    if test x$as_have_required = xno; then :
246
 
  $as_echo "$0: This script requires a shell more modern than all"
247
 
  $as_echo "$0: the shells that I found on your system."
248
 
  if test x${ZSH_VERSION+set} = xset ; then
249
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
250
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
251
 
  else
252
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
253
 
$0: sflphoneteam@savoirfairelinux.com about your system,
254
 
$0: including any error possibly output before this
255
 
$0: message. Then install a modern shell, or manually run
256
 
$0: the script under such a shell if you do have one."
257
 
  fi
258
 
  exit 1
259
 
fi
260
 
fi
261
 
fi
262
 
SHELL=${CONFIG_SHELL-/bin/sh}
263
 
export SHELL
264
 
# Unset more variables known to interfere with behavior of common tools.
265
 
CLICOLOR_FORCE= GREP_OPTIONS=
266
 
unset CLICOLOR_FORCE GREP_OPTIONS
267
 
 
268
 
## --------------------- ##
269
 
## M4sh Shell Functions. ##
270
 
## --------------------- ##
271
 
# as_fn_unset VAR
272
 
# ---------------
273
 
# Portably unset VAR.
274
 
as_fn_unset ()
275
 
{
276
 
  { eval $1=; unset $1;}
277
 
}
278
 
as_unset=as_fn_unset
279
 
 
280
 
# as_fn_set_status STATUS
281
 
# -----------------------
282
 
# Set $? to STATUS, without forking.
283
 
as_fn_set_status ()
284
 
{
285
 
  return $1
286
 
} # as_fn_set_status
287
 
 
288
 
# as_fn_exit STATUS
289
 
# -----------------
290
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
291
 
as_fn_exit ()
292
 
{
293
 
  set +e
294
 
  as_fn_set_status $1
295
 
  exit $1
296
 
} # as_fn_exit
297
 
 
298
 
# as_fn_mkdir_p
299
 
# -------------
300
 
# Create "$as_dir" as a directory, including parents if necessary.
301
 
as_fn_mkdir_p ()
302
 
{
303
 
 
304
 
  case $as_dir in #(
305
 
  -*) as_dir=./$as_dir;;
306
 
  esac
307
 
  test -d "$as_dir" || eval $as_mkdir_p || {
308
 
    as_dirs=
309
 
    while :; do
310
 
      case $as_dir in #(
311
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
312
 
      *) as_qdir=$as_dir;;
313
 
      esac
314
 
      as_dirs="'$as_qdir' $as_dirs"
315
 
      as_dir=`$as_dirname -- "$as_dir" ||
316
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
317
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
318
 
         X"$as_dir" : 'X\(//\)$' \| \
319
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
320
 
$as_echo X"$as_dir" |
321
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322
 
            s//\1/
323
 
            q
324
 
          }
325
 
          /^X\(\/\/\)[^/].*/{
326
 
            s//\1/
327
 
            q
328
 
          }
329
 
          /^X\(\/\/\)$/{
330
 
            s//\1/
331
 
            q
332
 
          }
333
 
          /^X\(\/\).*/{
334
 
            s//\1/
335
 
            q
336
 
          }
337
 
          s/.*/./; q'`
338
 
      test -d "$as_dir" && break
339
 
    done
340
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
341
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342
 
 
343
 
 
344
 
} # as_fn_mkdir_p
345
 
# as_fn_append VAR VALUE
346
 
# ----------------------
347
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
348
 
# advantage of any shell optimizations that allow amortized linear growth over
349
 
# repeated appends, instead of the typical quadratic growth present in naive
350
 
# implementations.
351
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
352
 
  eval 'as_fn_append ()
353
 
  {
354
 
    eval $1+=\$2
355
 
  }'
356
 
else
357
 
  as_fn_append ()
358
 
  {
359
 
    eval $1=\$$1\$2
360
 
  }
361
 
fi # as_fn_append
362
 
 
363
 
# as_fn_arith ARG...
364
 
# ------------------
365
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
366
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
367
 
# must be portable across $(()) and expr.
368
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
369
 
  eval 'as_fn_arith ()
370
 
  {
371
 
    as_val=$(( $* ))
372
 
  }'
373
 
else
374
 
  as_fn_arith ()
375
 
  {
376
 
    as_val=`expr "$@" || test $? -eq 1`
377
 
  }
378
 
fi # as_fn_arith
379
 
 
380
 
 
381
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
382
 
# ----------------------------------------
383
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
384
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
385
 
# script with STATUS, using 1 if that was 0.
386
 
as_fn_error ()
387
 
{
388
 
  as_status=$1; test $as_status -eq 0 && as_status=1
389
 
  if test "$4"; then
390
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
391
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
392
 
  fi
393
 
  $as_echo "$as_me: error: $2" >&2
394
 
  as_fn_exit $as_status
395
 
} # as_fn_error
396
 
 
397
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
398
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
399
 
  as_expr=expr
400
 
else
401
 
  as_expr=false
402
 
fi
403
 
 
404
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
405
 
  as_basename=basename
406
 
else
407
 
  as_basename=false
408
 
fi
409
 
 
410
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
411
 
  as_dirname=dirname
412
 
else
413
 
  as_dirname=false
414
 
fi
415
 
 
416
 
as_me=`$as_basename -- "$0" ||
417
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
418
 
         X"$0" : 'X\(//\)$' \| \
419
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
420
 
$as_echo X/"$0" |
421
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
422
 
            s//\1/
423
 
            q
424
 
          }
425
 
          /^X\/\(\/\/\)$/{
426
 
            s//\1/
427
 
            q
428
 
          }
429
 
          /^X\/\(\/\).*/{
430
 
            s//\1/
431
 
            q
432
 
          }
433
 
          s/.*/./; q'`
434
 
 
435
 
# Avoid depending upon Character Ranges.
436
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
437
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
438
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
439
 
as_cr_digits='0123456789'
440
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
441
 
 
442
 
 
443
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
444
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
445
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
446
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
447
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
448
 
  sed -n '
449
 
    p
450
 
    /[$]LINENO/=
451
 
  ' <$as_myself |
452
 
    sed '
453
 
      s/[$]LINENO.*/&-/
454
 
      t lineno
455
 
      b
456
 
      :lineno
457
 
      N
458
 
      :loop
459
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460
 
      t loop
461
 
      s/-\n.*//
462
 
    ' >$as_me.lineno &&
463
 
  chmod +x "$as_me.lineno" ||
464
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
465
 
 
466
 
  # Don't try to exec as it changes $[0], causing all sort of problems
467
 
  # (the dirname of $[0] is not the place where we might find the
468
 
  # original and so on.  Autoconf is especially sensitive to this).
469
 
  . "./$as_me.lineno"
470
 
  # Exit status is that of the last command.
471
 
  exit
472
 
}
473
 
 
474
 
ECHO_C= ECHO_N= ECHO_T=
475
 
case `echo -n x` in #(((((
476
 
-n*)
477
 
  case `echo 'xy\c'` in
478
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
479
 
  xy)  ECHO_C='\c';;
480
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
481
 
       ECHO_T=' ';;
482
 
  esac;;
483
 
*)
484
 
  ECHO_N='-n';;
485
 
esac
486
 
 
487
 
rm -f conf$$ conf$$.exe conf$$.file
488
 
if test -d conf$$.dir; then
489
 
  rm -f conf$$.dir/conf$$.file
490
 
else
491
 
  rm -f conf$$.dir
492
 
  mkdir conf$$.dir 2>/dev/null
493
 
fi
494
 
if (echo >conf$$.file) 2>/dev/null; then
495
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
496
 
    as_ln_s='ln -s'
497
 
    # ... but there are two gotchas:
498
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
499
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
500
 
    # In both cases, we have to default to `cp -p'.
501
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
502
 
      as_ln_s='cp -p'
503
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
504
 
    as_ln_s=ln
505
 
  else
506
 
    as_ln_s='cp -p'
507
 
  fi
508
 
else
509
 
  as_ln_s='cp -p'
510
 
fi
511
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
 
rmdir conf$$.dir 2>/dev/null
513
 
 
514
 
if mkdir -p . 2>/dev/null; then
515
 
  as_mkdir_p='mkdir -p "$as_dir"'
516
 
else
517
 
  test -d ./-p && rmdir ./-p
518
 
  as_mkdir_p=false
519
 
fi
520
 
 
521
 
if test -x / >/dev/null 2>&1; then
522
 
  as_test_x='test -x'
523
 
else
524
 
  if ls -dL / >/dev/null 2>&1; then
525
 
    as_ls_L_option=L
526
 
  else
527
 
    as_ls_L_option=
528
 
  fi
529
 
  as_test_x='
530
 
    eval sh -c '\''
531
 
      if test -d "$1"; then
532
 
        test -d "$1/.";
533
 
      else
534
 
        case $1 in #(
535
 
        -*)set "./$1";;
536
 
        esac;
537
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
538
 
        ???[sx]*):;;*)false;;esac;fi
539
 
    '\'' sh
540
 
  '
541
 
fi
542
 
as_executable_p=$as_test_x
543
 
 
544
 
# Sed expression to map a string onto a valid CPP name.
545
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546
 
 
547
 
# Sed expression to map a string onto a valid variable name.
548
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
 
 
550
 
SHELL=${CONFIG_SHELL-/bin/sh}
551
 
 
552
 
 
553
 
test -n "$DJDIR" || exec 7<&0 </dev/null
554
 
exec 6>&1
555
 
 
556
 
# Name of the host.
557
 
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
558
 
# so uname gets run too.
559
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
 
 
561
 
#
562
 
# Initializations.
563
 
#
564
 
ac_default_prefix=/usr/local
565
 
ac_clean_files=
566
 
ac_config_libobj_dir=.
567
 
LIBOBJS=
568
 
cross_compiling=no
569
 
subdirs=
570
 
MFLAGS=
571
 
MAKEFLAGS=
572
 
 
573
 
# Identity of this package.
574
 
PACKAGE_NAME='sflphone'
575
 
PACKAGE_TARNAME='sflphone'
576
 
PACKAGE_VERSION='1.0.1'
577
 
PACKAGE_STRING='sflphone 1.0.1'
578
 
PACKAGE_BUGREPORT='sflphoneteam@savoirfairelinux.com'
579
 
PACKAGE_URL=''
580
 
 
581
 
# Factoring default headers for most tests.
582
 
ac_includes_default="\
583
 
#include <stdio.h>
584
 
#ifdef HAVE_SYS_TYPES_H
585
 
# include <sys/types.h>
586
 
#endif
587
 
#ifdef HAVE_SYS_STAT_H
588
 
# include <sys/stat.h>
589
 
#endif
590
 
#ifdef STDC_HEADERS
591
 
# include <stdlib.h>
592
 
# include <stddef.h>
593
 
#else
594
 
# ifdef HAVE_STDLIB_H
595
 
#  include <stdlib.h>
596
 
# endif
597
 
#endif
598
 
#ifdef HAVE_STRING_H
599
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
600
 
#  include <memory.h>
601
 
# endif
602
 
# include <string.h>
603
 
#endif
604
 
#ifdef HAVE_STRINGS_H
605
 
# include <strings.h>
606
 
#endif
607
 
#ifdef HAVE_INTTYPES_H
608
 
# include <inttypes.h>
609
 
#endif
610
 
#ifdef HAVE_STDINT_H
611
 
# include <stdint.h>
612
 
#endif
613
 
#ifdef HAVE_UNISTD_H
614
 
# include <unistd.h>
615
 
#endif"
616
 
 
617
 
ac_header_list=
618
 
enable_option_checking=no
619
 
ac_subst_vars='subdirs
620
 
am__EXEEXT_FALSE
621
 
am__EXEEXT_TRUE
622
 
LTLIBOBJS
623
 
ENABLE_DOXYGEN_FALSE
624
 
ENABLE_DOXYGEN_TRUE
625
 
DOT
626
 
DOXYGEN
627
 
USE_NETWORKMANAGER_FALSE
628
 
USE_NETWORKMANAGER_TRUE
629
 
USE_IAX_FALSE
630
 
USE_IAX_TRUE
631
 
BUILD_CELT_71_FALSE
632
 
BUILD_CELT_71_TRUE
633
 
BUILD_CELT_91_FALSE
634
 
BUILD_CELT_91_TRUE
635
 
CELT_LIBS
636
 
CELT_CFLAGS
637
 
BUILD_SPEEX_FALSE
638
 
BUILD_SPEEX_TRUE
639
 
BUILD_GSM_FALSE
640
 
BUILD_GSM_TRUE
641
 
CPPUNIT_LIBS
642
 
CPPUNIT_CFLAGS
643
 
BUILD_TEST_FALSE
644
 
BUILD_TEST_TRUE
645
 
PCRE_CFLAGS
646
 
PCRE_LIBS
647
 
yaml_LIBS
648
 
yaml_CFLAGS
649
 
xml_LIBS
650
 
xml_CFLAGS
651
 
DBUSCPP_LIBS
652
 
DBUSCPP_CFLAGS
653
 
ZRTPCPP_LIBS
654
 
ZRTPCPP_CFLAGS
655
 
libssl_LIBS
656
 
libssl_CFLAGS
657
 
CCRTP_LIBS
658
 
CCRTP_CFLAGS
659
 
CCEXT2_LIBS
660
 
CCEXT2_CFLAGS
661
 
CCGNU2_LIBS
662
 
CCGNU2_CFLAGS
663
 
SAMPLERATE_LIBS
664
 
SAMPLERATE_CFLAGS
665
 
PULSEAUDIO_LIBS
666
 
PULSEAUDIO_CFLAGS
667
 
ALSA_LIBS
668
 
ALSA_CFLAGS
669
 
LIBCRYPTO_LIBS
670
 
LIBCRYPTO_CFLAGS
671
 
UUID_LIBS
672
 
UUID_CFLAGS
673
 
PKG_CONFIG_LIBDIR
674
 
PKG_CONFIG_PATH
675
 
PKG_CONFIG
676
 
LIBOBJS
677
 
ALLOCA
678
 
CXXCPP
679
 
OTOOL64
680
 
OTOOL
681
 
LIPO
682
 
NMEDIT
683
 
DSYMUTIL
684
 
MANIFEST_TOOL
685
 
RANLIB
686
 
ac_ct_AR
687
 
AR
688
 
DLLTOOL
689
 
OBJDUMP
690
 
NM
691
 
ac_ct_DUMPBIN
692
 
DUMPBIN
693
 
LD
694
 
FGREP
695
 
EGREP
696
 
GREP
697
 
SED
698
 
LIBTOOL
699
 
LN_S
700
 
CPP
701
 
am__fastdepCXX_FALSE
702
 
am__fastdepCXX_TRUE
703
 
CXXDEPMODE
704
 
ac_ct_CXX
705
 
CXXFLAGS
706
 
CXX
707
 
am__fastdepCC_FALSE
708
 
am__fastdepCC_TRUE
709
 
CCDEPMODE
710
 
AMDEPBACKSLASH
711
 
AMDEP_FALSE
712
 
AMDEP_TRUE
713
 
am__quote
714
 
am__include
715
 
DEPDIR
716
 
OBJEXT
717
 
EXEEXT
718
 
ac_ct_CC
719
 
CPPFLAGS
720
 
LDFLAGS
721
 
CFLAGS
722
 
CC
723
 
AM_BACKSLASH
724
 
AM_DEFAULT_VERBOSITY
725
 
am__untar
726
 
am__tar
727
 
AMTAR
728
 
am__leading_dot
729
 
SET_MAKE
730
 
AWK
731
 
mkdir_p
732
 
MKDIR_P
733
 
INSTALL_STRIP_PROGRAM
734
 
STRIP
735
 
install_sh
736
 
MAKEINFO
737
 
AUTOHEADER
738
 
AUTOMAKE
739
 
AUTOCONF
740
 
ACLOCAL
741
 
VERSION
742
 
PACKAGE
743
 
CYGPATH_W
744
 
am__isrc
745
 
INSTALL_DATA
746
 
INSTALL_SCRIPT
747
 
INSTALL_PROGRAM
748
 
target_os
749
 
target_vendor
750
 
target_cpu
751
 
target
752
 
host_os
753
 
host_vendor
754
 
host_cpu
755
 
host
756
 
build_os
757
 
build_vendor
758
 
build_cpu
759
 
build
760
 
target_alias
761
 
host_alias
762
 
build_alias
763
 
LIBS
764
 
ECHO_T
765
 
ECHO_N
766
 
ECHO_C
767
 
DEFS
768
 
mandir
769
 
localedir
770
 
libdir
771
 
psdir
772
 
pdfdir
773
 
dvidir
774
 
htmldir
775
 
infodir
776
 
docdir
777
 
oldincludedir
778
 
includedir
779
 
localstatedir
780
 
sharedstatedir
781
 
sysconfdir
782
 
datadir
783
 
datarootdir
784
 
libexecdir
785
 
sbindir
786
 
bindir
787
 
program_transform_name
788
 
prefix
789
 
exec_prefix
790
 
PACKAGE_URL
791
 
PACKAGE_BUGREPORT
792
 
PACKAGE_STRING
793
 
PACKAGE_VERSION
794
 
PACKAGE_TARNAME
795
 
PACKAGE_NAME
796
 
PATH_SEPARATOR
797
 
SHELL'
798
 
ac_subst_files=''
799
 
ac_user_opts='
800
 
enable_option_checking
801
 
enable_silent_rules
802
 
enable_dependency_tracking
803
 
enable_shared
804
 
enable_static
805
 
with_pic
806
 
enable_fast_install
807
 
with_gnu_ld
808
 
with_sysroot
809
 
enable_libtool_lock
810
 
with_gsm
811
 
with_speex
812
 
with_celt
813
 
with_iax2
814
 
with_networkmanager
815
 
enable_doxygen
816
 
enable_dot
817
 
'
818
 
      ac_precious_vars='build_alias
819
 
host_alias
820
 
target_alias
821
 
CC
822
 
CFLAGS
823
 
LDFLAGS
824
 
LIBS
825
 
CPPFLAGS
826
 
CXX
827
 
CXXFLAGS
828
 
CCC
829
 
CPP
830
 
CXXCPP
831
 
PKG_CONFIG
832
 
PKG_CONFIG_PATH
833
 
PKG_CONFIG_LIBDIR
834
 
UUID_CFLAGS
835
 
UUID_LIBS
836
 
LIBCRYPTO_CFLAGS
837
 
LIBCRYPTO_LIBS
838
 
ALSA_CFLAGS
839
 
ALSA_LIBS
840
 
PULSEAUDIO_CFLAGS
841
 
PULSEAUDIO_LIBS
842
 
SAMPLERATE_CFLAGS
843
 
SAMPLERATE_LIBS
844
 
CCGNU2_CFLAGS
845
 
CCGNU2_LIBS
846
 
CCEXT2_CFLAGS
847
 
CCEXT2_LIBS
848
 
CCRTP_CFLAGS
849
 
CCRTP_LIBS
850
 
libssl_CFLAGS
851
 
libssl_LIBS
852
 
ZRTPCPP_CFLAGS
853
 
ZRTPCPP_LIBS
854
 
DBUSCPP_CFLAGS
855
 
DBUSCPP_LIBS
856
 
CPPUNIT_CFLAGS
857
 
CPPUNIT_LIBS
858
 
CELT_CFLAGS
859
 
CELT_LIBS'
860
 
ac_subdirs_all='libs/pjproject'
861
 
 
862
 
# Initialize some variables set by options.
863
 
ac_init_help=
864
 
ac_init_version=false
865
 
ac_unrecognized_opts=
866
 
ac_unrecognized_sep=
867
 
# The variables have the same names as the options, with
868
 
# dashes changed to underlines.
869
 
cache_file=/dev/null
870
 
exec_prefix=NONE
871
 
no_create=
872
 
no_recursion=
873
 
prefix=NONE
874
 
program_prefix=NONE
875
 
program_suffix=NONE
876
 
program_transform_name=s,x,x,
877
 
silent=
878
 
site=
879
 
srcdir=
880
 
verbose=
881
 
x_includes=NONE
882
 
x_libraries=NONE
883
 
 
884
 
# Installation directory options.
885
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
886
 
# and all the variables that are supposed to be based on exec_prefix
887
 
# by default will actually change.
888
 
# Use braces instead of parens because sh, perl, etc. also accept them.
889
 
# (The list follows the same order as the GNU Coding Standards.)
890
 
bindir='${exec_prefix}/bin'
891
 
sbindir='${exec_prefix}/sbin'
892
 
libexecdir='${exec_prefix}/libexec'
893
 
datarootdir='${prefix}/share'
894
 
datadir='${datarootdir}'
895
 
sysconfdir='${prefix}/etc'
896
 
sharedstatedir='${prefix}/com'
897
 
localstatedir='${prefix}/var'
898
 
includedir='${prefix}/include'
899
 
oldincludedir='/usr/include'
900
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
901
 
infodir='${datarootdir}/info'
902
 
htmldir='${docdir}'
903
 
dvidir='${docdir}'
904
 
pdfdir='${docdir}'
905
 
psdir='${docdir}'
906
 
libdir='${exec_prefix}/lib'
907
 
localedir='${datarootdir}/locale'
908
 
mandir='${datarootdir}/man'
909
 
 
910
 
ac_prev=
911
 
ac_dashdash=
912
 
for ac_option
913
 
do
914
 
  # If the previous option needs an argument, assign it.
915
 
  if test -n "$ac_prev"; then
916
 
    eval $ac_prev=\$ac_option
917
 
    ac_prev=
918
 
    continue
919
 
  fi
920
 
 
921
 
  case $ac_option in
922
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
923
 
  *=)   ac_optarg= ;;
924
 
  *)    ac_optarg=yes ;;
925
 
  esac
926
 
 
927
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
928
 
 
929
 
  case $ac_dashdash$ac_option in
930
 
  --)
931
 
    ac_dashdash=yes ;;
932
 
 
933
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
934
 
    ac_prev=bindir ;;
935
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
936
 
    bindir=$ac_optarg ;;
937
 
 
938
 
  -build | --build | --buil | --bui | --bu)
939
 
    ac_prev=build_alias ;;
940
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
941
 
    build_alias=$ac_optarg ;;
942
 
 
943
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
944
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
945
 
    ac_prev=cache_file ;;
946
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
947
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
948
 
    cache_file=$ac_optarg ;;
949
 
 
950
 
  --config-cache | -C)
951
 
    cache_file=config.cache ;;
952
 
 
953
 
  -datadir | --datadir | --datadi | --datad)
954
 
    ac_prev=datadir ;;
955
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
956
 
    datadir=$ac_optarg ;;
957
 
 
958
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
959
 
  | --dataroo | --dataro | --datar)
960
 
    ac_prev=datarootdir ;;
961
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
962
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
963
 
    datarootdir=$ac_optarg ;;
964
 
 
965
 
  -disable-* | --disable-*)
966
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
967
 
    # Reject names that are not valid shell variable names.
968
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
969
 
      as_fn_error $? "invalid feature name: $ac_useropt"
970
 
    ac_useropt_orig=$ac_useropt
971
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
972
 
    case $ac_user_opts in
973
 
      *"
974
 
"enable_$ac_useropt"
975
 
"*) ;;
976
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
977
 
         ac_unrecognized_sep=', ';;
978
 
    esac
979
 
    eval enable_$ac_useropt=no ;;
980
 
 
981
 
  -docdir | --docdir | --docdi | --doc | --do)
982
 
    ac_prev=docdir ;;
983
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
984
 
    docdir=$ac_optarg ;;
985
 
 
986
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
987
 
    ac_prev=dvidir ;;
988
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
989
 
    dvidir=$ac_optarg ;;
990
 
 
991
 
  -enable-* | --enable-*)
992
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
993
 
    # Reject names that are not valid shell variable names.
994
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
995
 
      as_fn_error $? "invalid feature name: $ac_useropt"
996
 
    ac_useropt_orig=$ac_useropt
997
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
998
 
    case $ac_user_opts in
999
 
      *"
1000
 
"enable_$ac_useropt"
1001
 
"*) ;;
1002
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1003
 
         ac_unrecognized_sep=', ';;
1004
 
    esac
1005
 
    eval enable_$ac_useropt=\$ac_optarg ;;
1006
 
 
1007
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1008
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1009
 
  | --exec | --exe | --ex)
1010
 
    ac_prev=exec_prefix ;;
1011
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1012
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1013
 
  | --exec=* | --exe=* | --ex=*)
1014
 
    exec_prefix=$ac_optarg ;;
1015
 
 
1016
 
  -gas | --gas | --ga | --g)
1017
 
    # Obsolete; use --with-gas.
1018
 
    with_gas=yes ;;
1019
 
 
1020
 
  -help | --help | --hel | --he | -h)
1021
 
    ac_init_help=long ;;
1022
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1023
 
    ac_init_help=recursive ;;
1024
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1025
 
    ac_init_help=short ;;
1026
 
 
1027
 
  -host | --host | --hos | --ho)
1028
 
    ac_prev=host_alias ;;
1029
 
  -host=* | --host=* | --hos=* | --ho=*)
1030
 
    host_alias=$ac_optarg ;;
1031
 
 
1032
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1033
 
    ac_prev=htmldir ;;
1034
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1035
 
  | --ht=*)
1036
 
    htmldir=$ac_optarg ;;
1037
 
 
1038
 
  -includedir | --includedir | --includedi | --included | --include \
1039
 
  | --includ | --inclu | --incl | --inc)
1040
 
    ac_prev=includedir ;;
1041
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1042
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1043
 
    includedir=$ac_optarg ;;
1044
 
 
1045
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1046
 
    ac_prev=infodir ;;
1047
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1048
 
    infodir=$ac_optarg ;;
1049
 
 
1050
 
  -libdir | --libdir | --libdi | --libd)
1051
 
    ac_prev=libdir ;;
1052
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1053
 
    libdir=$ac_optarg ;;
1054
 
 
1055
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1056
 
  | --libexe | --libex | --libe)
1057
 
    ac_prev=libexecdir ;;
1058
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1059
 
  | --libexe=* | --libex=* | --libe=*)
1060
 
    libexecdir=$ac_optarg ;;
1061
 
 
1062
 
  -localedir | --localedir | --localedi | --localed | --locale)
1063
 
    ac_prev=localedir ;;
1064
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1065
 
    localedir=$ac_optarg ;;
1066
 
 
1067
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1068
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1069
 
    ac_prev=localstatedir ;;
1070
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1071
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1072
 
    localstatedir=$ac_optarg ;;
1073
 
 
1074
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1075
 
    ac_prev=mandir ;;
1076
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1077
 
    mandir=$ac_optarg ;;
1078
 
 
1079
 
  -nfp | --nfp | --nf)
1080
 
    # Obsolete; use --without-fp.
1081
 
    with_fp=no ;;
1082
 
 
1083
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1084
 
  | --no-cr | --no-c | -n)
1085
 
    no_create=yes ;;
1086
 
 
1087
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1088
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1089
 
    no_recursion=yes ;;
1090
 
 
1091
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1092
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1093
 
  | --oldin | --oldi | --old | --ol | --o)
1094
 
    ac_prev=oldincludedir ;;
1095
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1096
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1097
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1098
 
    oldincludedir=$ac_optarg ;;
1099
 
 
1100
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1101
 
    ac_prev=prefix ;;
1102
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1103
 
    prefix=$ac_optarg ;;
1104
 
 
1105
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1106
 
  | --program-pre | --program-pr | --program-p)
1107
 
    ac_prev=program_prefix ;;
1108
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1109
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1110
 
    program_prefix=$ac_optarg ;;
1111
 
 
1112
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1113
 
  | --program-suf | --program-su | --program-s)
1114
 
    ac_prev=program_suffix ;;
1115
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1116
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1117
 
    program_suffix=$ac_optarg ;;
1118
 
 
1119
 
  -program-transform-name | --program-transform-name \
1120
 
  | --program-transform-nam | --program-transform-na \
1121
 
  | --program-transform-n | --program-transform- \
1122
 
  | --program-transform | --program-transfor \
1123
 
  | --program-transfo | --program-transf \
1124
 
  | --program-trans | --program-tran \
1125
 
  | --progr-tra | --program-tr | --program-t)
1126
 
    ac_prev=program_transform_name ;;
1127
 
  -program-transform-name=* | --program-transform-name=* \
1128
 
  | --program-transform-nam=* | --program-transform-na=* \
1129
 
  | --program-transform-n=* | --program-transform-=* \
1130
 
  | --program-transform=* | --program-transfor=* \
1131
 
  | --program-transfo=* | --program-transf=* \
1132
 
  | --program-trans=* | --program-tran=* \
1133
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1134
 
    program_transform_name=$ac_optarg ;;
1135
 
 
1136
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1137
 
    ac_prev=pdfdir ;;
1138
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1139
 
    pdfdir=$ac_optarg ;;
1140
 
 
1141
 
  -psdir | --psdir | --psdi | --psd | --ps)
1142
 
    ac_prev=psdir ;;
1143
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1144
 
    psdir=$ac_optarg ;;
1145
 
 
1146
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1147
 
  | -silent | --silent | --silen | --sile | --sil)
1148
 
    silent=yes ;;
1149
 
 
1150
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1151
 
    ac_prev=sbindir ;;
1152
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1153
 
  | --sbi=* | --sb=*)
1154
 
    sbindir=$ac_optarg ;;
1155
 
 
1156
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1157
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1158
 
  | --sharedst | --shareds | --shared | --share | --shar \
1159
 
  | --sha | --sh)
1160
 
    ac_prev=sharedstatedir ;;
1161
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1162
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1163
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1164
 
  | --sha=* | --sh=*)
1165
 
    sharedstatedir=$ac_optarg ;;
1166
 
 
1167
 
  -site | --site | --sit)
1168
 
    ac_prev=site ;;
1169
 
  -site=* | --site=* | --sit=*)
1170
 
    site=$ac_optarg ;;
1171
 
 
1172
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1173
 
    ac_prev=srcdir ;;
1174
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1175
 
    srcdir=$ac_optarg ;;
1176
 
 
1177
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1178
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1179
 
    ac_prev=sysconfdir ;;
1180
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1181
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1182
 
    sysconfdir=$ac_optarg ;;
1183
 
 
1184
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1185
 
    ac_prev=target_alias ;;
1186
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1187
 
    target_alias=$ac_optarg ;;
1188
 
 
1189
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1190
 
    verbose=yes ;;
1191
 
 
1192
 
  -version | --version | --versio | --versi | --vers | -V)
1193
 
    ac_init_version=: ;;
1194
 
 
1195
 
  -with-* | --with-*)
1196
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1197
 
    # Reject names that are not valid shell variable names.
1198
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1199
 
      as_fn_error $? "invalid package name: $ac_useropt"
1200
 
    ac_useropt_orig=$ac_useropt
1201
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1202
 
    case $ac_user_opts in
1203
 
      *"
1204
 
"with_$ac_useropt"
1205
 
"*) ;;
1206
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1207
 
         ac_unrecognized_sep=', ';;
1208
 
    esac
1209
 
    eval with_$ac_useropt=\$ac_optarg ;;
1210
 
 
1211
 
  -without-* | --without-*)
1212
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1213
 
    # Reject names that are not valid shell variable names.
1214
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1215
 
      as_fn_error $? "invalid package name: $ac_useropt"
1216
 
    ac_useropt_orig=$ac_useropt
1217
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1218
 
    case $ac_user_opts in
1219
 
      *"
1220
 
"with_$ac_useropt"
1221
 
"*) ;;
1222
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1223
 
         ac_unrecognized_sep=', ';;
1224
 
    esac
1225
 
    eval with_$ac_useropt=no ;;
1226
 
 
1227
 
  --x)
1228
 
    # Obsolete; use --with-x.
1229
 
    with_x=yes ;;
1230
 
 
1231
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1232
 
  | --x-incl | --x-inc | --x-in | --x-i)
1233
 
    ac_prev=x_includes ;;
1234
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1235
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1236
 
    x_includes=$ac_optarg ;;
1237
 
 
1238
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1239
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1240
 
    ac_prev=x_libraries ;;
1241
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1242
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1243
 
    x_libraries=$ac_optarg ;;
1244
 
 
1245
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1246
 
Try \`$0 --help' for more information"
1247
 
    ;;
1248
 
 
1249
 
  *=*)
1250
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1251
 
    # Reject names that are not valid shell variable names.
1252
 
    case $ac_envvar in #(
1253
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1254
 
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1255
 
    esac
1256
 
    eval $ac_envvar=\$ac_optarg
1257
 
    export $ac_envvar ;;
1258
 
 
1259
 
  *)
1260
 
    # FIXME: should be removed in autoconf 3.0.
1261
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1262
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1263
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1264
 
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1265
 
    ;;
1266
 
 
1267
 
  esac
1268
 
done
1269
 
 
1270
 
if test -n "$ac_prev"; then
1271
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1272
 
  as_fn_error $? "missing argument to $ac_option"
1273
 
fi
1274
 
 
1275
 
if test -n "$ac_unrecognized_opts"; then
1276
 
  case $enable_option_checking in
1277
 
    no) ;;
1278
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1279
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1280
 
  esac
1281
 
fi
1282
 
 
1283
 
# Check all directory arguments for consistency.
1284
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1285
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1286
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1287
 
                libdir localedir mandir
1288
 
do
1289
 
  eval ac_val=\$$ac_var
1290
 
  # Remove trailing slashes.
1291
 
  case $ac_val in
1292
 
    */ )
1293
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1294
 
      eval $ac_var=\$ac_val;;
1295
 
  esac
1296
 
  # Be sure to have absolute directory names.
1297
 
  case $ac_val in
1298
 
    [\\/$]* | ?:[\\/]* )  continue;;
1299
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1300
 
  esac
1301
 
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1302
 
done
1303
 
 
1304
 
# There might be people who depend on the old broken behavior: `$host'
1305
 
# used to hold the argument of --host etc.
1306
 
# FIXME: To remove some day.
1307
 
build=$build_alias
1308
 
host=$host_alias
1309
 
target=$target_alias
1310
 
 
1311
 
# FIXME: To remove some day.
1312
 
if test "x$host_alias" != x; then
1313
 
  if test "x$build_alias" = x; then
1314
 
    cross_compiling=maybe
1315
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1316
 
    If a cross compiler is detected then cross compile mode will be used" >&2
1317
 
  elif test "x$build_alias" != "x$host_alias"; then
1318
 
    cross_compiling=yes
1319
 
  fi
1320
 
fi
1321
 
 
1322
 
ac_tool_prefix=
1323
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1324
 
 
1325
 
test "$silent" = yes && exec 6>/dev/null
1326
 
 
1327
 
 
1328
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1329
 
ac_ls_di=`ls -di .` &&
1330
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1331
 
  as_fn_error $? "working directory cannot be determined"
1332
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1333
 
  as_fn_error $? "pwd does not report name of working directory"
1334
 
 
1335
 
 
1336
 
# Find the source files, if location was not specified.
1337
 
if test -z "$srcdir"; then
1338
 
  ac_srcdir_defaulted=yes
1339
 
  # Try the directory containing this script, then the parent directory.
1340
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1341
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1342
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1343
 
         X"$as_myself" : 'X\(//\)$' \| \
1344
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1345
 
$as_echo X"$as_myself" |
1346
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1347
 
            s//\1/
1348
 
            q
1349
 
          }
1350
 
          /^X\(\/\/\)[^/].*/{
1351
 
            s//\1/
1352
 
            q
1353
 
          }
1354
 
          /^X\(\/\/\)$/{
1355
 
            s//\1/
1356
 
            q
1357
 
          }
1358
 
          /^X\(\/\).*/{
1359
 
            s//\1/
1360
 
            q
1361
 
          }
1362
 
          s/.*/./; q'`
1363
 
  srcdir=$ac_confdir
1364
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1365
 
    srcdir=..
1366
 
  fi
1367
 
else
1368
 
  ac_srcdir_defaulted=no
1369
 
fi
1370
 
if test ! -r "$srcdir/$ac_unique_file"; then
1371
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1372
 
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1373
 
fi
1374
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1375
 
ac_abs_confdir=`(
1376
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1377
 
        pwd)`
1378
 
# When building in place, set srcdir=.
1379
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1380
 
  srcdir=.
1381
 
fi
1382
 
# Remove unnecessary trailing slashes from srcdir.
1383
 
# Double slashes in file names in object file debugging info
1384
 
# mess up M-x gdb in Emacs.
1385
 
case $srcdir in
1386
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1387
 
esac
1388
 
for ac_var in $ac_precious_vars; do
1389
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1390
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1391
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1392
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1393
 
done
1394
 
 
1395
 
#
1396
 
# Report the --help message.
1397
 
#
1398
 
if test "$ac_init_help" = "long"; then
1399
 
  # Omit some internal or obsolete options to make the list less imposing.
1400
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1401
 
  cat <<_ACEOF
1402
 
\`configure' configures sflphone 1.0.1 to adapt to many kinds of systems.
1403
 
 
1404
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1405
 
 
1406
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1407
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1408
 
 
1409
 
Defaults for the options are specified in brackets.
1410
 
 
1411
 
Configuration:
1412
 
  -h, --help              display this help and exit
1413
 
      --help=short        display options specific to this package
1414
 
      --help=recursive    display the short help of all the included packages
1415
 
  -V, --version           display version information and exit
1416
 
  -q, --quiet, --silent   do not print \`checking ...' messages
1417
 
      --cache-file=FILE   cache test results in FILE [disabled]
1418
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1419
 
  -n, --no-create         do not create output files
1420
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1421
 
 
1422
 
Installation directories:
1423
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1424
 
                          [$ac_default_prefix]
1425
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1426
 
                          [PREFIX]
1427
 
 
1428
 
By default, \`make install' will install all the files in
1429
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1430
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1431
 
for instance \`--prefix=\$HOME'.
1432
 
 
1433
 
For better control, use the options below.
1434
 
 
1435
 
Fine tuning of the installation directories:
1436
 
  --bindir=DIR            user executables [EPREFIX/bin]
1437
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1438
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1439
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1440
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1441
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1442
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1443
 
  --includedir=DIR        C header files [PREFIX/include]
1444
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1445
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1446
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1447
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1448
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1449
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1450
 
  --docdir=DIR            documentation root [DATAROOTDIR/doc/sflphone]
1451
 
  --htmldir=DIR           html documentation [DOCDIR]
1452
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1453
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1454
 
  --psdir=DIR             ps documentation [DOCDIR]
1455
 
_ACEOF
1456
 
 
1457
 
  cat <<\_ACEOF
1458
 
 
1459
 
Program names:
1460
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1461
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1462
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1463
 
 
1464
 
System types:
1465
 
  --build=BUILD     configure for building on BUILD [guessed]
1466
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1467
 
  --target=TARGET   configure for building compilers for TARGET [HOST]
1468
 
_ACEOF
1469
 
fi
1470
 
 
1471
 
if test -n "$ac_init_help"; then
1472
 
  case $ac_init_help in
1473
 
     short | recursive ) echo "Configuration of sflphone 1.0.1:";;
1474
 
   esac
1475
 
  cat <<\_ACEOF
1476
 
 
1477
 
Optional Features:
1478
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1479
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1480
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1481
 
  --enable-silent-rules          less verbose build output (undo: `make V=1')
1482
 
  --disable-silent-rules         verbose build output (undo: `make V=0')
1483
 
  --disable-dependency-tracking  speeds up one-time build
1484
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1485
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1486
 
  --enable-static[=PKGS]  build static libraries [default=yes]
1487
 
  --enable-fast-install[=PKGS]
1488
 
                          optimize for fast installation [default=yes]
1489
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1490
 
  --enable-doxygen        enable documentation generation with doxygen (disabled by default)
1491
 
  --enable-dot            use 'dot' to generate graphs in doxygen (auto)
1492
 
 
1493
 
Optional Packages:
1494
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1495
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1496
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
1497
 
                          both]
1498
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1499
 
  --with-sysroot=DIR Search for dependent libraries within DIR
1500
 
                        (or the compiler's sysroot if not specified).
1501
 
  --without-gsm           disable support for gsm codec
1502
 
  --without-speex         disable support for speex codec
1503
 
  --without-celt          disable support for celt codec
1504
 
  --without-iax2          disable support for the iax2 protocol
1505
 
  --without-networkmanager
1506
 
                          disable support for network-manager events
1507
 
 
1508
 
Some influential environment variables:
1509
 
  CC          C compiler command
1510
 
  CFLAGS      C compiler flags
1511
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1512
 
              nonstandard directory <lib dir>
1513
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1514
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1515
 
              you have headers in a nonstandard directory <include dir>
1516
 
  CXX         C++ compiler command
1517
 
  CXXFLAGS    C++ compiler flags
1518
 
  CPP         C preprocessor
1519
 
  CXXCPP      C++ preprocessor
1520
 
  PKG_CONFIG  path to pkg-config utility
1521
 
  PKG_CONFIG_PATH
1522
 
              directories to add to pkg-config's search path
1523
 
  PKG_CONFIG_LIBDIR
1524
 
              path overriding pkg-config's built-in search path
1525
 
  UUID_CFLAGS C compiler flags for UUID, overriding pkg-config
1526
 
  UUID_LIBS   linker flags for UUID, overriding pkg-config
1527
 
  LIBCRYPTO_CFLAGS
1528
 
              C compiler flags for LIBCRYPTO, overriding pkg-config
1529
 
  LIBCRYPTO_LIBS
1530
 
              linker flags for LIBCRYPTO, overriding pkg-config
1531
 
  ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1532
 
  ALSA_LIBS   linker flags for ALSA, overriding pkg-config
1533
 
  PULSEAUDIO_CFLAGS
1534
 
              C compiler flags for PULSEAUDIO, overriding pkg-config
1535
 
  PULSEAUDIO_LIBS
1536
 
              linker flags for PULSEAUDIO, overriding pkg-config
1537
 
  SAMPLERATE_CFLAGS
1538
 
              C compiler flags for SAMPLERATE, overriding pkg-config
1539
 
  SAMPLERATE_LIBS
1540
 
              linker flags for SAMPLERATE, overriding pkg-config
1541
 
  CCGNU2_CFLAGS
1542
 
              C compiler flags for CCGNU2, overriding pkg-config
1543
 
  CCGNU2_LIBS linker flags for CCGNU2, overriding pkg-config
1544
 
  CCEXT2_CFLAGS
1545
 
              C compiler flags for CCEXT2, overriding pkg-config
1546
 
  CCEXT2_LIBS linker flags for CCEXT2, overriding pkg-config
1547
 
  CCRTP_CFLAGS
1548
 
              C compiler flags for CCRTP, overriding pkg-config
1549
 
  CCRTP_LIBS  linker flags for CCRTP, overriding pkg-config
1550
 
  libssl_CFLAGS
1551
 
              C compiler flags for libssl, overriding pkg-config
1552
 
  libssl_LIBS linker flags for libssl, overriding pkg-config
1553
 
  ZRTPCPP_CFLAGS
1554
 
              C compiler flags for ZRTPCPP, overriding pkg-config
1555
 
  ZRTPCPP_LIBS
1556
 
              linker flags for ZRTPCPP, overriding pkg-config
1557
 
  DBUSCPP_CFLAGS
1558
 
              C compiler flags for DBUSCPP, overriding pkg-config
1559
 
  DBUSCPP_LIBS
1560
 
              linker flags for DBUSCPP, overriding pkg-config
1561
 
  CPPUNIT_CFLAGS
1562
 
              C compiler flags for CPPUNIT, overriding pkg-config
1563
 
  CPPUNIT_LIBS
1564
 
              linker flags for CPPUNIT, overriding pkg-config
1565
 
  CELT_CFLAGS C compiler flags for CELT, overriding pkg-config
1566
 
  CELT_LIBS   linker flags for CELT, overriding pkg-config
1567
 
 
1568
 
Use these variables to override the choices made by `configure' or to help
1569
 
it to find libraries and programs with nonstandard names/locations.
1570
 
 
1571
 
Report bugs to <sflphoneteam@savoirfairelinux.com>.
1572
 
_ACEOF
1573
 
ac_status=$?
1574
 
fi
1575
 
 
1576
 
if test "$ac_init_help" = "recursive"; then
1577
 
  # If there are subdirs, report their specific --help.
1578
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1579
 
    test -d "$ac_dir" ||
1580
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1581
 
      continue
1582
 
    ac_builddir=.
1583
 
 
1584
 
case "$ac_dir" in
1585
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1586
 
*)
1587
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1588
 
  # A ".." for each directory in $ac_dir_suffix.
1589
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1590
 
  case $ac_top_builddir_sub in
1591
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1592
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1593
 
  esac ;;
1594
 
esac
1595
 
ac_abs_top_builddir=$ac_pwd
1596
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1597
 
# for backward compatibility:
1598
 
ac_top_builddir=$ac_top_build_prefix
1599
 
 
1600
 
case $srcdir in
1601
 
  .)  # We are building in place.
1602
 
    ac_srcdir=.
1603
 
    ac_top_srcdir=$ac_top_builddir_sub
1604
 
    ac_abs_top_srcdir=$ac_pwd ;;
1605
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1606
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1607
 
    ac_top_srcdir=$srcdir
1608
 
    ac_abs_top_srcdir=$srcdir ;;
1609
 
  *) # Relative name.
1610
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1611
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1612
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1613
 
esac
1614
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1615
 
 
1616
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1617
 
    # Check for guested configure.
1618
 
    if test -f "$ac_srcdir/configure.gnu"; then
1619
 
      echo &&
1620
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1621
 
    elif test -f "$ac_srcdir/configure"; then
1622
 
      echo &&
1623
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1624
 
    else
1625
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1626
 
    fi || ac_status=$?
1627
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1628
 
  done
1629
 
fi
1630
 
 
1631
 
test -n "$ac_init_help" && exit $ac_status
1632
 
if $ac_init_version; then
1633
 
  cat <<\_ACEOF
1634
 
sflphone configure 1.0.1
1635
 
generated by GNU Autoconf 2.68
1636
 
 
1637
 
Copyright (C) 2010 Free Software Foundation, Inc.
1638
 
This configure script is free software; the Free Software Foundation
1639
 
gives unlimited permission to copy, distribute and modify it.
1640
 
 
1641
 
Copyright (c) Savoir-Faire Linux 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
1642
 
_ACEOF
1643
 
  exit
1644
 
fi
1645
 
 
1646
 
## ------------------------ ##
1647
 
## Autoconf initialization. ##
1648
 
## ------------------------ ##
1649
 
 
1650
 
# ac_fn_c_try_compile LINENO
1651
 
# --------------------------
1652
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1653
 
ac_fn_c_try_compile ()
1654
 
{
1655
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656
 
  rm -f conftest.$ac_objext
1657
 
  if { { ac_try="$ac_compile"
1658
 
case "(($ac_try" in
1659
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1660
 
  *) ac_try_echo=$ac_try;;
1661
 
esac
1662
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663
 
$as_echo "$ac_try_echo"; } >&5
1664
 
  (eval "$ac_compile") 2>conftest.err
1665
 
  ac_status=$?
1666
 
  if test -s conftest.err; then
1667
 
    grep -v '^ *+' conftest.err >conftest.er1
1668
 
    cat conftest.er1 >&5
1669
 
    mv -f conftest.er1 conftest.err
1670
 
  fi
1671
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672
 
  test $ac_status = 0; } && {
1673
 
         test -z "$ac_c_werror_flag" ||
1674
 
         test ! -s conftest.err
1675
 
       } && test -s conftest.$ac_objext; then :
1676
 
  ac_retval=0
1677
 
else
1678
 
  $as_echo "$as_me: failed program was:" >&5
1679
 
sed 's/^/| /' conftest.$ac_ext >&5
1680
 
 
1681
 
        ac_retval=1
1682
 
fi
1683
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684
 
  as_fn_set_status $ac_retval
1685
 
 
1686
 
} # ac_fn_c_try_compile
1687
 
 
1688
 
# ac_fn_cxx_try_compile LINENO
1689
 
# ----------------------------
1690
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1691
 
ac_fn_cxx_try_compile ()
1692
 
{
1693
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694
 
  rm -f conftest.$ac_objext
1695
 
  if { { ac_try="$ac_compile"
1696
 
case "(($ac_try" in
1697
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1698
 
  *) ac_try_echo=$ac_try;;
1699
 
esac
1700
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701
 
$as_echo "$ac_try_echo"; } >&5
1702
 
  (eval "$ac_compile") 2>conftest.err
1703
 
  ac_status=$?
1704
 
  if test -s conftest.err; then
1705
 
    grep -v '^ *+' conftest.err >conftest.er1
1706
 
    cat conftest.er1 >&5
1707
 
    mv -f conftest.er1 conftest.err
1708
 
  fi
1709
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710
 
  test $ac_status = 0; } && {
1711
 
         test -z "$ac_cxx_werror_flag" ||
1712
 
         test ! -s conftest.err
1713
 
       } && test -s conftest.$ac_objext; then :
1714
 
  ac_retval=0
1715
 
else
1716
 
  $as_echo "$as_me: failed program was:" >&5
1717
 
sed 's/^/| /' conftest.$ac_ext >&5
1718
 
 
1719
 
        ac_retval=1
1720
 
fi
1721
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1722
 
  as_fn_set_status $ac_retval
1723
 
 
1724
 
} # ac_fn_cxx_try_compile
1725
 
 
1726
 
# ac_fn_c_try_cpp LINENO
1727
 
# ----------------------
1728
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1729
 
ac_fn_c_try_cpp ()
1730
 
{
1731
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1733
 
case "(($ac_try" in
1734
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1735
 
  *) ac_try_echo=$ac_try;;
1736
 
esac
1737
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738
 
$as_echo "$ac_try_echo"; } >&5
1739
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1740
 
  ac_status=$?
1741
 
  if test -s conftest.err; then
1742
 
    grep -v '^ *+' conftest.err >conftest.er1
1743
 
    cat conftest.er1 >&5
1744
 
    mv -f conftest.er1 conftest.err
1745
 
  fi
1746
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747
 
  test $ac_status = 0; } > conftest.i && {
1748
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1749
 
         test ! -s conftest.err
1750
 
       }; then :
1751
 
  ac_retval=0
1752
 
else
1753
 
  $as_echo "$as_me: failed program was:" >&5
1754
 
sed 's/^/| /' conftest.$ac_ext >&5
1755
 
 
1756
 
    ac_retval=1
1757
 
fi
1758
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1759
 
  as_fn_set_status $ac_retval
1760
 
 
1761
 
} # ac_fn_c_try_cpp
1762
 
 
1763
 
# ac_fn_c_try_link LINENO
1764
 
# -----------------------
1765
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1766
 
ac_fn_c_try_link ()
1767
 
{
1768
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1770
 
  if { { ac_try="$ac_link"
1771
 
case "(($ac_try" in
1772
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1773
 
  *) ac_try_echo=$ac_try;;
1774
 
esac
1775
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776
 
$as_echo "$ac_try_echo"; } >&5
1777
 
  (eval "$ac_link") 2>conftest.err
1778
 
  ac_status=$?
1779
 
  if test -s conftest.err; then
1780
 
    grep -v '^ *+' conftest.err >conftest.er1
1781
 
    cat conftest.er1 >&5
1782
 
    mv -f conftest.er1 conftest.err
1783
 
  fi
1784
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785
 
  test $ac_status = 0; } && {
1786
 
         test -z "$ac_c_werror_flag" ||
1787
 
         test ! -s conftest.err
1788
 
       } && test -s conftest$ac_exeext && {
1789
 
         test "$cross_compiling" = yes ||
1790
 
         $as_test_x conftest$ac_exeext
1791
 
       }; then :
1792
 
  ac_retval=0
1793
 
else
1794
 
  $as_echo "$as_me: failed program was:" >&5
1795
 
sed 's/^/| /' conftest.$ac_ext >&5
1796
 
 
1797
 
        ac_retval=1
1798
 
fi
1799
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1800
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1801
 
  # interfere with the next link command; also delete a directory that is
1802
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1803
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1804
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805
 
  as_fn_set_status $ac_retval
1806
 
 
1807
 
} # ac_fn_c_try_link
1808
 
 
1809
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1810
 
# -------------------------------------------------------
1811
 
# Tests whether HEADER exists and can be compiled using the include files in
1812
 
# INCLUDES, setting the cache variable VAR accordingly.
1813
 
ac_fn_c_check_header_compile ()
1814
 
{
1815
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1817
 
$as_echo_n "checking for $2... " >&6; }
1818
 
if eval \${$3+:} false; then :
1819
 
  $as_echo_n "(cached) " >&6
1820
 
else
1821
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1822
 
/* end confdefs.h.  */
1823
 
$4
1824
 
#include <$2>
1825
 
_ACEOF
1826
 
if ac_fn_c_try_compile "$LINENO"; then :
1827
 
  eval "$3=yes"
1828
 
else
1829
 
  eval "$3=no"
1830
 
fi
1831
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1832
 
fi
1833
 
eval ac_res=\$$3
1834
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1835
 
$as_echo "$ac_res" >&6; }
1836
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1837
 
 
1838
 
} # ac_fn_c_check_header_compile
1839
 
 
1840
 
# ac_fn_c_try_run LINENO
1841
 
# ----------------------
1842
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1843
 
# that executables *can* be run.
1844
 
ac_fn_c_try_run ()
1845
 
{
1846
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1847
 
  if { { ac_try="$ac_link"
1848
 
case "(($ac_try" in
1849
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1850
 
  *) ac_try_echo=$ac_try;;
1851
 
esac
1852
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853
 
$as_echo "$ac_try_echo"; } >&5
1854
 
  (eval "$ac_link") 2>&5
1855
 
  ac_status=$?
1856
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1857
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1858
 
  { { case "(($ac_try" in
1859
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1860
 
  *) ac_try_echo=$ac_try;;
1861
 
esac
1862
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1863
 
$as_echo "$ac_try_echo"; } >&5
1864
 
  (eval "$ac_try") 2>&5
1865
 
  ac_status=$?
1866
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1867
 
  test $ac_status = 0; }; }; then :
1868
 
  ac_retval=0
1869
 
else
1870
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1871
 
       $as_echo "$as_me: failed program was:" >&5
1872
 
sed 's/^/| /' conftest.$ac_ext >&5
1873
 
 
1874
 
       ac_retval=$ac_status
1875
 
fi
1876
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1877
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1878
 
  as_fn_set_status $ac_retval
1879
 
 
1880
 
} # ac_fn_c_try_run
1881
 
 
1882
 
# ac_fn_c_check_func LINENO FUNC VAR
1883
 
# ----------------------------------
1884
 
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1885
 
ac_fn_c_check_func ()
1886
 
{
1887
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1889
 
$as_echo_n "checking for $2... " >&6; }
1890
 
if eval \${$3+:} false; then :
1891
 
  $as_echo_n "(cached) " >&6
1892
 
else
1893
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1894
 
/* end confdefs.h.  */
1895
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1896
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1897
 
#define $2 innocuous_$2
1898
 
 
1899
 
/* System header to define __stub macros and hopefully few prototypes,
1900
 
    which can conflict with char $2 (); below.
1901
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1902
 
    <limits.h> exists even on freestanding compilers.  */
1903
 
 
1904
 
#ifdef __STDC__
1905
 
# include <limits.h>
1906
 
#else
1907
 
# include <assert.h>
1908
 
#endif
1909
 
 
1910
 
#undef $2
1911
 
 
1912
 
/* Override any GCC internal prototype to avoid an error.
1913
 
   Use char because int might match the return type of a GCC
1914
 
   builtin and then its argument prototype would still apply.  */
1915
 
#ifdef __cplusplus
1916
 
extern "C"
1917
 
#endif
1918
 
char $2 ();
1919
 
/* The GNU C library defines this for functions which it implements
1920
 
    to always fail with ENOSYS.  Some functions are actually named
1921
 
    something starting with __ and the normal name is an alias.  */
1922
 
#if defined __stub_$2 || defined __stub___$2
1923
 
choke me
1924
 
#endif
1925
 
 
1926
 
int
1927
 
main ()
1928
 
{
1929
 
return $2 ();
1930
 
  ;
1931
 
  return 0;
1932
 
}
1933
 
_ACEOF
1934
 
if ac_fn_c_try_link "$LINENO"; then :
1935
 
  eval "$3=yes"
1936
 
else
1937
 
  eval "$3=no"
1938
 
fi
1939
 
rm -f core conftest.err conftest.$ac_objext \
1940
 
    conftest$ac_exeext conftest.$ac_ext
1941
 
fi
1942
 
eval ac_res=\$$3
1943
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1944
 
$as_echo "$ac_res" >&6; }
1945
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1946
 
 
1947
 
} # ac_fn_c_check_func
1948
 
 
1949
 
# ac_fn_cxx_try_cpp LINENO
1950
 
# ------------------------
1951
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1952
 
ac_fn_cxx_try_cpp ()
1953
 
{
1954
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1955
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1956
 
case "(($ac_try" in
1957
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1958
 
  *) ac_try_echo=$ac_try;;
1959
 
esac
1960
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1961
 
$as_echo "$ac_try_echo"; } >&5
1962
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1963
 
  ac_status=$?
1964
 
  if test -s conftest.err; then
1965
 
    grep -v '^ *+' conftest.err >conftest.er1
1966
 
    cat conftest.er1 >&5
1967
 
    mv -f conftest.er1 conftest.err
1968
 
  fi
1969
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1970
 
  test $ac_status = 0; } > conftest.i && {
1971
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1972
 
         test ! -s conftest.err
1973
 
       }; then :
1974
 
  ac_retval=0
1975
 
else
1976
 
  $as_echo "$as_me: failed program was:" >&5
1977
 
sed 's/^/| /' conftest.$ac_ext >&5
1978
 
 
1979
 
    ac_retval=1
1980
 
fi
1981
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1982
 
  as_fn_set_status $ac_retval
1983
 
 
1984
 
} # ac_fn_cxx_try_cpp
1985
 
 
1986
 
# ac_fn_cxx_try_link LINENO
1987
 
# -------------------------
1988
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1989
 
ac_fn_cxx_try_link ()
1990
 
{
1991
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1993
 
  if { { ac_try="$ac_link"
1994
 
case "(($ac_try" in
1995
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1996
 
  *) ac_try_echo=$ac_try;;
1997
 
esac
1998
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1999
 
$as_echo "$ac_try_echo"; } >&5
2000
 
  (eval "$ac_link") 2>conftest.err
2001
 
  ac_status=$?
2002
 
  if test -s conftest.err; then
2003
 
    grep -v '^ *+' conftest.err >conftest.er1
2004
 
    cat conftest.er1 >&5
2005
 
    mv -f conftest.er1 conftest.err
2006
 
  fi
2007
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2008
 
  test $ac_status = 0; } && {
2009
 
         test -z "$ac_cxx_werror_flag" ||
2010
 
         test ! -s conftest.err
2011
 
       } && test -s conftest$ac_exeext && {
2012
 
         test "$cross_compiling" = yes ||
2013
 
         $as_test_x conftest$ac_exeext
2014
 
       }; then :
2015
 
  ac_retval=0
2016
 
else
2017
 
  $as_echo "$as_me: failed program was:" >&5
2018
 
sed 's/^/| /' conftest.$ac_ext >&5
2019
 
 
2020
 
        ac_retval=1
2021
 
fi
2022
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2023
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2024
 
  # interfere with the next link command; also delete a directory that is
2025
 
  # left behind by Apple's compiler.  We do this before executing the actions.
2026
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2027
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2028
 
  as_fn_set_status $ac_retval
2029
 
 
2030
 
} # ac_fn_cxx_try_link
2031
 
 
2032
 
# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2033
 
# ---------------------------------------------
2034
 
# Tests whether TYPE exists after having included INCLUDES, setting cache
2035
 
# variable VAR accordingly.
2036
 
ac_fn_cxx_check_type ()
2037
 
{
2038
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2039
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2040
 
$as_echo_n "checking for $2... " >&6; }
2041
 
if eval \${$3+:} false; then :
2042
 
  $as_echo_n "(cached) " >&6
2043
 
else
2044
 
  eval "$3=no"
2045
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2046
 
/* end confdefs.h.  */
2047
 
$4
2048
 
int
2049
 
main ()
2050
 
{
2051
 
if (sizeof ($2))
2052
 
         return 0;
2053
 
  ;
2054
 
  return 0;
2055
 
}
2056
 
_ACEOF
2057
 
if ac_fn_cxx_try_compile "$LINENO"; then :
2058
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2059
 
/* end confdefs.h.  */
2060
 
$4
2061
 
int
2062
 
main ()
2063
 
{
2064
 
if (sizeof (($2)))
2065
 
            return 0;
2066
 
  ;
2067
 
  return 0;
2068
 
}
2069
 
_ACEOF
2070
 
if ac_fn_cxx_try_compile "$LINENO"; then :
2071
 
 
2072
 
else
2073
 
  eval "$3=yes"
2074
 
fi
2075
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2076
 
fi
2077
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2078
 
fi
2079
 
eval ac_res=\$$3
2080
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2081
 
$as_echo "$ac_res" >&6; }
2082
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2083
 
 
2084
 
} # ac_fn_cxx_check_type
2085
 
 
2086
 
# ac_fn_cxx_check_func LINENO FUNC VAR
2087
 
# ------------------------------------
2088
 
# Tests whether FUNC exists, setting the cache variable VAR accordingly
2089
 
ac_fn_cxx_check_func ()
2090
 
{
2091
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2092
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2093
 
$as_echo_n "checking for $2... " >&6; }
2094
 
if eval \${$3+:} false; then :
2095
 
  $as_echo_n "(cached) " >&6
2096
 
else
2097
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098
 
/* end confdefs.h.  */
2099
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2100
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2101
 
#define $2 innocuous_$2
2102
 
 
2103
 
/* System header to define __stub macros and hopefully few prototypes,
2104
 
    which can conflict with char $2 (); below.
2105
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2106
 
    <limits.h> exists even on freestanding compilers.  */
2107
 
 
2108
 
#ifdef __STDC__
2109
 
# include <limits.h>
2110
 
#else
2111
 
# include <assert.h>
2112
 
#endif
2113
 
 
2114
 
#undef $2
2115
 
 
2116
 
/* Override any GCC internal prototype to avoid an error.
2117
 
   Use char because int might match the return type of a GCC
2118
 
   builtin and then its argument prototype would still apply.  */
2119
 
#ifdef __cplusplus
2120
 
extern "C"
2121
 
#endif
2122
 
char $2 ();
2123
 
/* The GNU C library defines this for functions which it implements
2124
 
    to always fail with ENOSYS.  Some functions are actually named
2125
 
    something starting with __ and the normal name is an alias.  */
2126
 
#if defined __stub_$2 || defined __stub___$2
2127
 
choke me
2128
 
#endif
2129
 
 
2130
 
int
2131
 
main ()
2132
 
{
2133
 
return $2 ();
2134
 
  ;
2135
 
  return 0;
2136
 
}
2137
 
_ACEOF
2138
 
if ac_fn_cxx_try_link "$LINENO"; then :
2139
 
  eval "$3=yes"
2140
 
else
2141
 
  eval "$3=no"
2142
 
fi
2143
 
rm -f core conftest.err conftest.$ac_objext \
2144
 
    conftest$ac_exeext conftest.$ac_ext
2145
 
fi
2146
 
eval ac_res=\$$3
2147
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2148
 
$as_echo "$ac_res" >&6; }
2149
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2150
 
 
2151
 
} # ac_fn_cxx_check_func
2152
 
 
2153
 
# ac_fn_cxx_try_run LINENO
2154
 
# ------------------------
2155
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2156
 
# that executables *can* be run.
2157
 
ac_fn_cxx_try_run ()
2158
 
{
2159
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2160
 
  if { { ac_try="$ac_link"
2161
 
case "(($ac_try" in
2162
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2163
 
  *) ac_try_echo=$ac_try;;
2164
 
esac
2165
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2166
 
$as_echo "$ac_try_echo"; } >&5
2167
 
  (eval "$ac_link") 2>&5
2168
 
  ac_status=$?
2169
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2170
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2171
 
  { { case "(($ac_try" in
2172
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2173
 
  *) ac_try_echo=$ac_try;;
2174
 
esac
2175
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2176
 
$as_echo "$ac_try_echo"; } >&5
2177
 
  (eval "$ac_try") 2>&5
2178
 
  ac_status=$?
2179
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2180
 
  test $ac_status = 0; }; }; then :
2181
 
  ac_retval=0
2182
 
else
2183
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
2184
 
       $as_echo "$as_me: failed program was:" >&5
2185
 
sed 's/^/| /' conftest.$ac_ext >&5
2186
 
 
2187
 
       ac_retval=$ac_status
2188
 
fi
2189
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2190
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2191
 
  as_fn_set_status $ac_retval
2192
 
 
2193
 
} # ac_fn_cxx_try_run
2194
 
 
2195
 
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2196
 
# ---------------------------------------------------------
2197
 
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2198
 
# the include files in INCLUDES and setting the cache variable VAR
2199
 
# accordingly.
2200
 
ac_fn_cxx_check_header_mongrel ()
2201
 
{
2202
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2203
 
  if eval \${$3+:} false; then :
2204
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2205
 
$as_echo_n "checking for $2... " >&6; }
2206
 
if eval \${$3+:} false; then :
2207
 
  $as_echo_n "(cached) " >&6
2208
 
fi
2209
 
eval ac_res=\$$3
2210
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2211
 
$as_echo "$ac_res" >&6; }
2212
 
else
2213
 
  # Is the header compilable?
2214
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2215
 
$as_echo_n "checking $2 usability... " >&6; }
2216
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2217
 
/* end confdefs.h.  */
2218
 
$4
2219
 
#include <$2>
2220
 
_ACEOF
2221
 
if ac_fn_cxx_try_compile "$LINENO"; then :
2222
 
  ac_header_compiler=yes
2223
 
else
2224
 
  ac_header_compiler=no
2225
 
fi
2226
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2227
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2228
 
$as_echo "$ac_header_compiler" >&6; }
2229
 
 
2230
 
# Is the header present?
2231
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2232
 
$as_echo_n "checking $2 presence... " >&6; }
2233
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2234
 
/* end confdefs.h.  */
2235
 
#include <$2>
2236
 
_ACEOF
2237
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
2238
 
  ac_header_preproc=yes
2239
 
else
2240
 
  ac_header_preproc=no
2241
 
fi
2242
 
rm -f conftest.err conftest.i conftest.$ac_ext
2243
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2244
 
$as_echo "$ac_header_preproc" >&6; }
2245
 
 
2246
 
# So?  What about this header?
2247
 
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2248
 
  yes:no: )
2249
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2250
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2251
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2252
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2253
 
    ;;
2254
 
  no:yes:* )
2255
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2256
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2257
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2258
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2259
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2260
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2261
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2262
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2263
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2264
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2265
 
( $as_echo "## ------------------------------------------------ ##
2266
 
## Report this to sflphoneteam@savoirfairelinux.com ##
2267
 
## ------------------------------------------------ ##"
2268
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
2269
 
    ;;
2270
 
esac
2271
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2272
 
$as_echo_n "checking for $2... " >&6; }
2273
 
if eval \${$3+:} false; then :
2274
 
  $as_echo_n "(cached) " >&6
2275
 
else
2276
 
  eval "$3=\$ac_header_compiler"
2277
 
fi
2278
 
eval ac_res=\$$3
2279
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2280
 
$as_echo "$ac_res" >&6; }
2281
 
fi
2282
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2283
 
 
2284
 
} # ac_fn_cxx_check_header_mongrel
2285
 
 
2286
 
# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2287
 
# ---------------------------------------------------------
2288
 
# Tests whether HEADER exists and can be compiled using the include files in
2289
 
# INCLUDES, setting the cache variable VAR accordingly.
2290
 
ac_fn_cxx_check_header_compile ()
2291
 
{
2292
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2293
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2294
 
$as_echo_n "checking for $2... " >&6; }
2295
 
if eval \${$3+:} false; then :
2296
 
  $as_echo_n "(cached) " >&6
2297
 
else
2298
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2299
 
/* end confdefs.h.  */
2300
 
$4
2301
 
#include <$2>
2302
 
_ACEOF
2303
 
if ac_fn_cxx_try_compile "$LINENO"; then :
2304
 
  eval "$3=yes"
2305
 
else
2306
 
  eval "$3=no"
2307
 
fi
2308
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2309
 
fi
2310
 
eval ac_res=\$$3
2311
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2312
 
$as_echo "$ac_res" >&6; }
2313
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2314
 
 
2315
 
} # ac_fn_cxx_check_header_compile
2316
 
cat >config.log <<_ACEOF
2317
 
This file contains any messages produced by compilers while
2318
 
running configure, to aid debugging if configure makes a mistake.
2319
 
 
2320
 
It was created by sflphone $as_me 1.0.1, which was
2321
 
generated by GNU Autoconf 2.68.  Invocation command line was
2322
 
 
2323
 
  $ $0 $@
2324
 
 
2325
 
_ACEOF
2326
 
exec 5>>config.log
2327
 
{
2328
 
cat <<_ASUNAME
2329
 
## --------- ##
2330
 
## Platform. ##
2331
 
## --------- ##
2332
 
 
2333
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2334
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2335
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2336
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2337
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2338
 
 
2339
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2340
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2341
 
 
2342
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2343
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2344
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2345
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2346
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2347
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2348
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2349
 
 
2350
 
_ASUNAME
2351
 
 
2352
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2353
 
for as_dir in $PATH
2354
 
do
2355
 
  IFS=$as_save_IFS
2356
 
  test -z "$as_dir" && as_dir=.
2357
 
    $as_echo "PATH: $as_dir"
2358
 
  done
2359
 
IFS=$as_save_IFS
2360
 
 
2361
 
} >&5
2362
 
 
2363
 
cat >&5 <<_ACEOF
2364
 
 
2365
 
 
2366
 
## ----------- ##
2367
 
## Core tests. ##
2368
 
## ----------- ##
2369
 
 
2370
 
_ACEOF
2371
 
 
2372
 
 
2373
 
# Keep a trace of the command line.
2374
 
# Strip out --no-create and --no-recursion so they do not pile up.
2375
 
# Strip out --silent because we don't want to record it for future runs.
2376
 
# Also quote any args containing shell meta-characters.
2377
 
# Make two passes to allow for proper duplicate-argument suppression.
2378
 
ac_configure_args=
2379
 
ac_configure_args0=
2380
 
ac_configure_args1=
2381
 
ac_must_keep_next=false
2382
 
for ac_pass in 1 2
2383
 
do
2384
 
  for ac_arg
2385
 
  do
2386
 
    case $ac_arg in
2387
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2388
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2389
 
    | -silent | --silent | --silen | --sile | --sil)
2390
 
      continue ;;
2391
 
    *\'*)
2392
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2393
 
    esac
2394
 
    case $ac_pass in
2395
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2396
 
    2)
2397
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
2398
 
      if test $ac_must_keep_next = true; then
2399
 
        ac_must_keep_next=false # Got value, back to normal.
2400
 
      else
2401
 
        case $ac_arg in
2402
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
2403
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2404
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2405
 
          | -with-* | --with-* | -without-* | --without-* | --x)
2406
 
            case "$ac_configure_args0 " in
2407
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2408
 
            esac
2409
 
            ;;
2410
 
          -* ) ac_must_keep_next=true ;;
2411
 
        esac
2412
 
      fi
2413
 
      as_fn_append ac_configure_args " '$ac_arg'"
2414
 
      ;;
2415
 
    esac
2416
 
  done
2417
 
done
2418
 
{ ac_configure_args0=; unset ac_configure_args0;}
2419
 
{ ac_configure_args1=; unset ac_configure_args1;}
2420
 
 
2421
 
# When interrupted or exit'd, cleanup temporary files, and complete
2422
 
# config.log.  We remove comments because anyway the quotes in there
2423
 
# would cause problems or look ugly.
2424
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
2425
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2426
 
trap 'exit_status=$?
2427
 
  # Save into config.log some information that might help in debugging.
2428
 
  {
2429
 
    echo
2430
 
 
2431
 
    $as_echo "## ---------------- ##
2432
 
## Cache variables. ##
2433
 
## ---------------- ##"
2434
 
    echo
2435
 
    # The following way of writing the cache mishandles newlines in values,
2436
 
(
2437
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2438
 
    eval ac_val=\$$ac_var
2439
 
    case $ac_val in #(
2440
 
    *${as_nl}*)
2441
 
      case $ac_var in #(
2442
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2443
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2444
 
      esac
2445
 
      case $ac_var in #(
2446
 
      _ | IFS | as_nl) ;; #(
2447
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2448
 
      *) { eval $ac_var=; unset $ac_var;} ;;
2449
 
      esac ;;
2450
 
    esac
2451
 
  done
2452
 
  (set) 2>&1 |
2453
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2454
 
    *${as_nl}ac_space=\ *)
2455
 
      sed -n \
2456
 
        "s/'\''/'\''\\\\'\'''\''/g;
2457
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2458
 
      ;; #(
2459
 
    *)
2460
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2461
 
      ;;
2462
 
    esac |
2463
 
    sort
2464
 
)
2465
 
    echo
2466
 
 
2467
 
    $as_echo "## ----------------- ##
2468
 
## Output variables. ##
2469
 
## ----------------- ##"
2470
 
    echo
2471
 
    for ac_var in $ac_subst_vars
2472
 
    do
2473
 
      eval ac_val=\$$ac_var
2474
 
      case $ac_val in
2475
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2476
 
      esac
2477
 
      $as_echo "$ac_var='\''$ac_val'\''"
2478
 
    done | sort
2479
 
    echo
2480
 
 
2481
 
    if test -n "$ac_subst_files"; then
2482
 
      $as_echo "## ------------------- ##
2483
 
## File substitutions. ##
2484
 
## ------------------- ##"
2485
 
      echo
2486
 
      for ac_var in $ac_subst_files
2487
 
      do
2488
 
        eval ac_val=\$$ac_var
2489
 
        case $ac_val in
2490
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2491
 
        esac
2492
 
        $as_echo "$ac_var='\''$ac_val'\''"
2493
 
      done | sort
2494
 
      echo
2495
 
    fi
2496
 
 
2497
 
    if test -s confdefs.h; then
2498
 
      $as_echo "## ----------- ##
2499
 
## confdefs.h. ##
2500
 
## ----------- ##"
2501
 
      echo
2502
 
      cat confdefs.h
2503
 
      echo
2504
 
    fi
2505
 
    test "$ac_signal" != 0 &&
2506
 
      $as_echo "$as_me: caught signal $ac_signal"
2507
 
    $as_echo "$as_me: exit $exit_status"
2508
 
  } >&5
2509
 
  rm -f core *.core core.conftest.* &&
2510
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2511
 
    exit $exit_status
2512
 
' 0
2513
 
for ac_signal in 1 2 13 15; do
2514
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2515
 
done
2516
 
ac_signal=0
2517
 
 
2518
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2519
 
rm -f -r conftest* confdefs.h
2520
 
 
2521
 
$as_echo "/* confdefs.h */" > confdefs.h
2522
 
 
2523
 
# Predefined preprocessor variables.
2524
 
 
2525
 
cat >>confdefs.h <<_ACEOF
2526
 
#define PACKAGE_NAME "$PACKAGE_NAME"
2527
 
_ACEOF
2528
 
 
2529
 
cat >>confdefs.h <<_ACEOF
2530
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2531
 
_ACEOF
2532
 
 
2533
 
cat >>confdefs.h <<_ACEOF
2534
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2535
 
_ACEOF
2536
 
 
2537
 
cat >>confdefs.h <<_ACEOF
2538
 
#define PACKAGE_STRING "$PACKAGE_STRING"
2539
 
_ACEOF
2540
 
 
2541
 
cat >>confdefs.h <<_ACEOF
2542
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2543
 
_ACEOF
2544
 
 
2545
 
cat >>confdefs.h <<_ACEOF
2546
 
#define PACKAGE_URL "$PACKAGE_URL"
2547
 
_ACEOF
2548
 
 
2549
 
 
2550
 
# Let the site file select an alternate cache file if it wants to.
2551
 
# Prefer an explicitly selected file to automatically selected ones.
2552
 
ac_site_file1=NONE
2553
 
ac_site_file2=NONE
2554
 
if test -n "$CONFIG_SITE"; then
2555
 
  # We do not want a PATH search for config.site.
2556
 
  case $CONFIG_SITE in #((
2557
 
    -*)  ac_site_file1=./$CONFIG_SITE;;
2558
 
    */*) ac_site_file1=$CONFIG_SITE;;
2559
 
    *)   ac_site_file1=./$CONFIG_SITE;;
2560
 
  esac
2561
 
elif test "x$prefix" != xNONE; then
2562
 
  ac_site_file1=$prefix/share/config.site
2563
 
  ac_site_file2=$prefix/etc/config.site
2564
 
else
2565
 
  ac_site_file1=$ac_default_prefix/share/config.site
2566
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2567
 
fi
2568
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2569
 
do
2570
 
  test "x$ac_site_file" = xNONE && continue
2571
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2572
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2573
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2574
 
    sed 's/^/| /' "$ac_site_file" >&5
2575
 
    . "$ac_site_file" \
2576
 
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2577
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2578
 
as_fn_error $? "failed to load site script $ac_site_file
2579
 
See \`config.log' for more details" "$LINENO" 5; }
2580
 
  fi
2581
 
done
2582
 
 
2583
 
if test -r "$cache_file"; then
2584
 
  # Some versions of bash will fail to source /dev/null (special files
2585
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2586
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2587
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2588
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2589
 
    case $cache_file in
2590
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2591
 
      *)                      . "./$cache_file";;
2592
 
    esac
2593
 
  fi
2594
 
else
2595
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2596
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2597
 
  >$cache_file
2598
 
fi
2599
 
 
2600
 
as_fn_append ac_header_list " utime.h"
2601
 
# Check that the precious variables saved in the cache have kept the same
2602
 
# value.
2603
 
ac_cache_corrupted=false
2604
 
for ac_var in $ac_precious_vars; do
2605
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2606
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2607
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2608
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2609
 
  case $ac_old_set,$ac_new_set in
2610
 
    set,)
2611
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2612
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2613
 
      ac_cache_corrupted=: ;;
2614
 
    ,set)
2615
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2616
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2617
 
      ac_cache_corrupted=: ;;
2618
 
    ,);;
2619
 
    *)
2620
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2621
 
        # differences in whitespace do not lead to failure.
2622
 
        ac_old_val_w=`echo x $ac_old_val`
2623
 
        ac_new_val_w=`echo x $ac_new_val`
2624
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2625
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2626
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2627
 
          ac_cache_corrupted=:
2628
 
        else
2629
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2630
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2631
 
          eval $ac_var=\$ac_old_val
2632
 
        fi
2633
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2634
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2635
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2636
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2637
 
      fi;;
2638
 
  esac
2639
 
  # Pass precious variables to config.status.
2640
 
  if test "$ac_new_set" = set; then
2641
 
    case $ac_new_val in
2642
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2643
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2644
 
    esac
2645
 
    case " $ac_configure_args " in
2646
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2647
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2648
 
    esac
2649
 
  fi
2650
 
done
2651
 
if $ac_cache_corrupted; then
2652
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2653
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2654
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2655
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2656
 
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2657
 
fi
2658
 
## -------------------- ##
2659
 
## Main body of script. ##
2660
 
## -------------------- ##
2661
 
 
2662
 
ac_ext=c
2663
 
ac_cpp='$CPP $CPPFLAGS'
2664
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2665
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2666
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2667
 
 
2668
 
 
2669
 
 
2670
 
 
2671
 
 
2672
 
ac_aux_dir=
2673
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2674
 
  if test -f "$ac_dir/install-sh"; then
2675
 
    ac_aux_dir=$ac_dir
2676
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2677
 
    break
2678
 
  elif test -f "$ac_dir/install.sh"; then
2679
 
    ac_aux_dir=$ac_dir
2680
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2681
 
    break
2682
 
  elif test -f "$ac_dir/shtool"; then
2683
 
    ac_aux_dir=$ac_dir
2684
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2685
 
    break
2686
 
  fi
2687
 
done
2688
 
if test -z "$ac_aux_dir"; then
2689
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2690
 
fi
2691
 
 
2692
 
# These three variables are undocumented and unsupported,
2693
 
# and are intended to be withdrawn in a future Autoconf release.
2694
 
# They can cause serious problems if a builder's source tree is in a directory
2695
 
# whose full name contains unusual characters.
2696
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2697
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2698
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2699
 
 
2700
 
 
2701
 
# Make sure we can run config.sub.
2702
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2703
 
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2704
 
 
2705
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2706
 
$as_echo_n "checking build system type... " >&6; }
2707
 
if ${ac_cv_build+:} false; then :
2708
 
  $as_echo_n "(cached) " >&6
2709
 
else
2710
 
  ac_build_alias=$build_alias
2711
 
test "x$ac_build_alias" = x &&
2712
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2713
 
test "x$ac_build_alias" = x &&
2714
 
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2715
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2716
 
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2717
 
 
2718
 
fi
2719
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2720
 
$as_echo "$ac_cv_build" >&6; }
2721
 
case $ac_cv_build in
2722
 
*-*-*) ;;
2723
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2724
 
esac
2725
 
build=$ac_cv_build
2726
 
ac_save_IFS=$IFS; IFS='-'
2727
 
set x $ac_cv_build
2728
 
shift
2729
 
build_cpu=$1
2730
 
build_vendor=$2
2731
 
shift; shift
2732
 
# Remember, the first character of IFS is used to create $*,
2733
 
# except with old shells:
2734
 
build_os=$*
2735
 
IFS=$ac_save_IFS
2736
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2737
 
 
2738
 
 
2739
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2740
 
$as_echo_n "checking host system type... " >&6; }
2741
 
if ${ac_cv_host+:} false; then :
2742
 
  $as_echo_n "(cached) " >&6
2743
 
else
2744
 
  if test "x$host_alias" = x; then
2745
 
  ac_cv_host=$ac_cv_build
2746
 
else
2747
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2748
 
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2749
 
fi
2750
 
 
2751
 
fi
2752
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2753
 
$as_echo "$ac_cv_host" >&6; }
2754
 
case $ac_cv_host in
2755
 
*-*-*) ;;
2756
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2757
 
esac
2758
 
host=$ac_cv_host
2759
 
ac_save_IFS=$IFS; IFS='-'
2760
 
set x $ac_cv_host
2761
 
shift
2762
 
host_cpu=$1
2763
 
host_vendor=$2
2764
 
shift; shift
2765
 
# Remember, the first character of IFS is used to create $*,
2766
 
# except with old shells:
2767
 
host_os=$*
2768
 
IFS=$ac_save_IFS
2769
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2770
 
 
2771
 
 
2772
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2773
 
$as_echo_n "checking target system type... " >&6; }
2774
 
if ${ac_cv_target+:} false; then :
2775
 
  $as_echo_n "(cached) " >&6
2776
 
else
2777
 
  if test "x$target_alias" = x; then
2778
 
  ac_cv_target=$ac_cv_host
2779
 
else
2780
 
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2781
 
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2782
 
fi
2783
 
 
2784
 
fi
2785
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2786
 
$as_echo "$ac_cv_target" >&6; }
2787
 
case $ac_cv_target in
2788
 
*-*-*) ;;
2789
 
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2790
 
esac
2791
 
target=$ac_cv_target
2792
 
ac_save_IFS=$IFS; IFS='-'
2793
 
set x $ac_cv_target
2794
 
shift
2795
 
target_cpu=$1
2796
 
target_vendor=$2
2797
 
shift; shift
2798
 
# Remember, the first character of IFS is used to create $*,
2799
 
# except with old shells:
2800
 
target_os=$*
2801
 
IFS=$ac_save_IFS
2802
 
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2803
 
 
2804
 
 
2805
 
# The aliases save the names the user supplied, while $host etc.
2806
 
# will get canonicalized.
2807
 
test -n "$target_alias" &&
2808
 
  test "$program_prefix$program_suffix$program_transform_name" = \
2809
 
    NONENONEs,x,x, &&
2810
 
  program_prefix=${target_alias}-
2811
 
 
2812
 
am__api_version='1.11'
2813
 
 
2814
 
# Find a good install program.  We prefer a C program (faster),
2815
 
# so one script is as good as another.  But avoid the broken or
2816
 
# incompatible versions:
2817
 
# SysV /etc/install, /usr/sbin/install
2818
 
# SunOS /usr/etc/install
2819
 
# IRIX /sbin/install
2820
 
# AIX /bin/install
2821
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2822
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2823
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2824
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2825
 
# OS/2's system install, which has a completely different semantic
2826
 
# ./install, which can be erroneously created by make from ./install.sh.
2827
 
# Reject install programs that cannot install multiple files.
2828
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2829
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2830
 
if test -z "$INSTALL"; then
2831
 
if ${ac_cv_path_install+:} false; then :
2832
 
  $as_echo_n "(cached) " >&6
2833
 
else
2834
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2835
 
for as_dir in $PATH
2836
 
do
2837
 
  IFS=$as_save_IFS
2838
 
  test -z "$as_dir" && as_dir=.
2839
 
    # Account for people who put trailing slashes in PATH elements.
2840
 
case $as_dir/ in #((
2841
 
  ./ | .// | /[cC]/* | \
2842
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2843
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2844
 
  /usr/ucb/* ) ;;
2845
 
  *)
2846
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2847
 
    # Don't use installbsd from OSF since it installs stuff as root
2848
 
    # by default.
2849
 
    for ac_prog in ginstall scoinst install; do
2850
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2851
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2852
 
          if test $ac_prog = install &&
2853
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2854
 
            # AIX install.  It has an incompatible calling convention.
2855
 
            :
2856
 
          elif test $ac_prog = install &&
2857
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2858
 
            # program-specific install script used by HP pwplus--don't use.
2859
 
            :
2860
 
          else
2861
 
            rm -rf conftest.one conftest.two conftest.dir
2862
 
            echo one > conftest.one
2863
 
            echo two > conftest.two
2864
 
            mkdir conftest.dir
2865
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2866
 
              test -s conftest.one && test -s conftest.two &&
2867
 
              test -s conftest.dir/conftest.one &&
2868
 
              test -s conftest.dir/conftest.two
2869
 
            then
2870
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2871
 
              break 3
2872
 
            fi
2873
 
          fi
2874
 
        fi
2875
 
      done
2876
 
    done
2877
 
    ;;
2878
 
esac
2879
 
 
2880
 
  done
2881
 
IFS=$as_save_IFS
2882
 
 
2883
 
rm -rf conftest.one conftest.two conftest.dir
2884
 
 
2885
 
fi
2886
 
  if test "${ac_cv_path_install+set}" = set; then
2887
 
    INSTALL=$ac_cv_path_install
2888
 
  else
2889
 
    # As a last resort, use the slow shell script.  Don't cache a
2890
 
    # value for INSTALL within a source directory, because that will
2891
 
    # break other packages using the cache if that directory is
2892
 
    # removed, or if the value is a relative name.
2893
 
    INSTALL=$ac_install_sh
2894
 
  fi
2895
 
fi
2896
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2897
 
$as_echo "$INSTALL" >&6; }
2898
 
 
2899
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2900
 
# It thinks the first close brace ends the variable substitution.
2901
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2902
 
 
2903
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2904
 
 
2905
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2906
 
 
2907
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2908
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2909
 
# Just in case
2910
 
sleep 1
2911
 
echo timestamp > conftest.file
2912
 
# Reject unsafe characters in $srcdir or the absolute working directory
2913
 
# name.  Accept space and tab only in the latter.
2914
 
am_lf='
2915
 
'
2916
 
case `pwd` in
2917
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2918
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2919
 
esac
2920
 
case $srcdir in
2921
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2922
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2923
 
esac
2924
 
 
2925
 
# Do `set' in a subshell so we don't clobber the current shell's
2926
 
# arguments.  Must try -L first in case configure is actually a
2927
 
# symlink; some systems play weird games with the mod time of symlinks
2928
 
# (eg FreeBSD returns the mod time of the symlink's containing
2929
 
# directory).
2930
 
if (
2931
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2932
 
   if test "$*" = "X"; then
2933
 
      # -L didn't work.
2934
 
      set X `ls -t "$srcdir/configure" conftest.file`
2935
 
   fi
2936
 
   rm -f conftest.file
2937
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2938
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2939
 
 
2940
 
      # If neither matched, then we have a broken ls.  This can happen
2941
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2942
 
      # broken ls alias from the environment.  This has actually
2943
 
      # happened.  Such a system could not be considered "sane".
2944
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2945
 
alias in your environment" "$LINENO" 5
2946
 
   fi
2947
 
 
2948
 
   test "$2" = conftest.file
2949
 
   )
2950
 
then
2951
 
   # Ok.
2952
 
   :
2953
 
else
2954
 
   as_fn_error $? "newly created file is older than distributed files!
2955
 
Check your system clock" "$LINENO" 5
2956
 
fi
2957
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2958
 
$as_echo "yes" >&6; }
2959
 
test "$program_prefix" != NONE &&
2960
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2961
 
# Use a double $ so make ignores it.
2962
 
test "$program_suffix" != NONE &&
2963
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2964
 
# Double any \ or $.
2965
 
# By default was `s,x,x', remove it if useless.
2966
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2967
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2968
 
 
2969
 
# expand $ac_aux_dir to an absolute path
2970
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2971
 
 
2972
 
if test x"${MISSING+set}" != xset; then
2973
 
  case $am_aux_dir in
2974
 
  *\ * | *\     *)
2975
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2976
 
  *)
2977
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2978
 
  esac
2979
 
fi
2980
 
# Use eval to expand $SHELL
2981
 
if eval "$MISSING --run true"; then
2982
 
  am_missing_run="$MISSING --run "
2983
 
else
2984
 
  am_missing_run=
2985
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2986
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2987
 
fi
2988
 
 
2989
 
if test x"${install_sh}" != xset; then
2990
 
  case $am_aux_dir in
2991
 
  *\ * | *\     *)
2992
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2993
 
  *)
2994
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2995
 
  esac
2996
 
fi
2997
 
 
2998
 
# Installed binaries are usually stripped using `strip' when the user
2999
 
# run `make install-strip'.  However `strip' might not be the right
3000
 
# tool to use in cross-compilation environments, therefore Automake
3001
 
# will honor the `STRIP' environment variable to overrule this program.
3002
 
if test "$cross_compiling" != no; then
3003
 
  if test -n "$ac_tool_prefix"; then
3004
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3005
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
3006
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3007
 
$as_echo_n "checking for $ac_word... " >&6; }
3008
 
if ${ac_cv_prog_STRIP+:} false; then :
3009
 
  $as_echo_n "(cached) " >&6
3010
 
else
3011
 
  if test -n "$STRIP"; then
3012
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3013
 
else
3014
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3015
 
for as_dir in $PATH
3016
 
do
3017
 
  IFS=$as_save_IFS
3018
 
  test -z "$as_dir" && as_dir=.
3019
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3020
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3021
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3022
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3023
 
    break 2
3024
 
  fi
3025
 
done
3026
 
  done
3027
 
IFS=$as_save_IFS
3028
 
 
3029
 
fi
3030
 
fi
3031
 
STRIP=$ac_cv_prog_STRIP
3032
 
if test -n "$STRIP"; then
3033
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3034
 
$as_echo "$STRIP" >&6; }
3035
 
else
3036
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3037
 
$as_echo "no" >&6; }
3038
 
fi
3039
 
 
3040
 
 
3041
 
fi
3042
 
if test -z "$ac_cv_prog_STRIP"; then
3043
 
  ac_ct_STRIP=$STRIP
3044
 
  # Extract the first word of "strip", so it can be a program name with args.
3045
 
set dummy strip; ac_word=$2
3046
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3047
 
$as_echo_n "checking for $ac_word... " >&6; }
3048
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3049
 
  $as_echo_n "(cached) " >&6
3050
 
else
3051
 
  if test -n "$ac_ct_STRIP"; then
3052
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3053
 
else
3054
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3055
 
for as_dir in $PATH
3056
 
do
3057
 
  IFS=$as_save_IFS
3058
 
  test -z "$as_dir" && as_dir=.
3059
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3060
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3061
 
    ac_cv_prog_ac_ct_STRIP="strip"
3062
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3063
 
    break 2
3064
 
  fi
3065
 
done
3066
 
  done
3067
 
IFS=$as_save_IFS
3068
 
 
3069
 
fi
3070
 
fi
3071
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3072
 
if test -n "$ac_ct_STRIP"; then
3073
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3074
 
$as_echo "$ac_ct_STRIP" >&6; }
3075
 
else
3076
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077
 
$as_echo "no" >&6; }
3078
 
fi
3079
 
 
3080
 
  if test "x$ac_ct_STRIP" = x; then
3081
 
    STRIP=":"
3082
 
  else
3083
 
    case $cross_compiling:$ac_tool_warned in
3084
 
yes:)
3085
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3086
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3087
 
ac_tool_warned=yes ;;
3088
 
esac
3089
 
    STRIP=$ac_ct_STRIP
3090
 
  fi
3091
 
else
3092
 
  STRIP="$ac_cv_prog_STRIP"
3093
 
fi
3094
 
 
3095
 
fi
3096
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3097
 
 
3098
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3099
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3100
 
if test -z "$MKDIR_P"; then
3101
 
  if ${ac_cv_path_mkdir+:} false; then :
3102
 
  $as_echo_n "(cached) " >&6
3103
 
else
3104
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3105
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3106
 
do
3107
 
  IFS=$as_save_IFS
3108
 
  test -z "$as_dir" && as_dir=.
3109
 
    for ac_prog in mkdir gmkdir; do
3110
 
         for ac_exec_ext in '' $ac_executable_extensions; do
3111
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3112
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3113
 
             'mkdir (GNU coreutils) '* | \
3114
 
             'mkdir (coreutils) '* | \
3115
 
             'mkdir (fileutils) '4.1*)
3116
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3117
 
               break 3;;
3118
 
           esac
3119
 
         done
3120
 
       done
3121
 
  done
3122
 
IFS=$as_save_IFS
3123
 
 
3124
 
fi
3125
 
 
3126
 
  test -d ./--version && rmdir ./--version
3127
 
  if test "${ac_cv_path_mkdir+set}" = set; then
3128
 
    MKDIR_P="$ac_cv_path_mkdir -p"
3129
 
  else
3130
 
    # As a last resort, use the slow shell script.  Don't cache a
3131
 
    # value for MKDIR_P within a source directory, because that will
3132
 
    # break other packages using the cache if that directory is
3133
 
    # removed, or if the value is a relative name.
3134
 
    MKDIR_P="$ac_install_sh -d"
3135
 
  fi
3136
 
fi
3137
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3138
 
$as_echo "$MKDIR_P" >&6; }
3139
 
 
3140
 
mkdir_p="$MKDIR_P"
3141
 
case $mkdir_p in
3142
 
  [\\/$]* | ?:[\\/]*) ;;
3143
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3144
 
esac
3145
 
 
3146
 
for ac_prog in gawk mawk nawk awk
3147
 
do
3148
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3149
 
set dummy $ac_prog; ac_word=$2
3150
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3151
 
$as_echo_n "checking for $ac_word... " >&6; }
3152
 
if ${ac_cv_prog_AWK+:} false; then :
3153
 
  $as_echo_n "(cached) " >&6
3154
 
else
3155
 
  if test -n "$AWK"; then
3156
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3157
 
else
3158
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3159
 
for as_dir in $PATH
3160
 
do
3161
 
  IFS=$as_save_IFS
3162
 
  test -z "$as_dir" && as_dir=.
3163
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3164
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3165
 
    ac_cv_prog_AWK="$ac_prog"
3166
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3167
 
    break 2
3168
 
  fi
3169
 
done
3170
 
  done
3171
 
IFS=$as_save_IFS
3172
 
 
3173
 
fi
3174
 
fi
3175
 
AWK=$ac_cv_prog_AWK
3176
 
if test -n "$AWK"; then
3177
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3178
 
$as_echo "$AWK" >&6; }
3179
 
else
3180
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3181
 
$as_echo "no" >&6; }
3182
 
fi
3183
 
 
3184
 
 
3185
 
  test -n "$AWK" && break
3186
 
done
3187
 
 
3188
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3189
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3190
 
set x ${MAKE-make}
3191
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3192
 
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3193
 
  $as_echo_n "(cached) " >&6
3194
 
else
3195
 
  cat >conftest.make <<\_ACEOF
3196
 
SHELL = /bin/sh
3197
 
all:
3198
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3199
 
_ACEOF
3200
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3201
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3202
 
  *@@@%%%=?*=@@@%%%*)
3203
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
3204
 
  *)
3205
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
3206
 
esac
3207
 
rm -f conftest.make
3208
 
fi
3209
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3210
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3211
 
$as_echo "yes" >&6; }
3212
 
  SET_MAKE=
3213
 
else
3214
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3215
 
$as_echo "no" >&6; }
3216
 
  SET_MAKE="MAKE=${MAKE-make}"
3217
 
fi
3218
 
 
3219
 
rm -rf .tst 2>/dev/null
3220
 
mkdir .tst 2>/dev/null
3221
 
if test -d .tst; then
3222
 
  am__leading_dot=.
3223
 
else
3224
 
  am__leading_dot=_
3225
 
fi
3226
 
rmdir .tst 2>/dev/null
3227
 
 
3228
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
3229
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3230
 
  # is not polluted with repeated "-I."
3231
 
  am__isrc=' -I$(srcdir)'
3232
 
  # test to see if srcdir already configured
3233
 
  if test -f $srcdir/config.status; then
3234
 
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3235
 
  fi
3236
 
fi
3237
 
 
3238
 
# test whether we have cygpath
3239
 
if test -z "$CYGPATH_W"; then
3240
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
3241
 
    CYGPATH_W='cygpath -w'
3242
 
  else
3243
 
    CYGPATH_W=echo
3244
 
  fi
3245
 
fi
3246
 
 
3247
 
 
3248
 
# Define the identity of the package.
3249
 
 PACKAGE='sflphone'
3250
 
 VERSION='1.0.1'
3251
 
 
3252
 
 
3253
 
cat >>confdefs.h <<_ACEOF
3254
 
#define PACKAGE "$PACKAGE"
3255
 
_ACEOF
3256
 
 
3257
 
 
3258
 
cat >>confdefs.h <<_ACEOF
3259
 
#define VERSION "$VERSION"
3260
 
_ACEOF
3261
 
 
3262
 
# Some tools Automake needs.
3263
 
 
3264
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3265
 
 
3266
 
 
3267
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3268
 
 
3269
 
 
3270
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3271
 
 
3272
 
 
3273
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3274
 
 
3275
 
 
3276
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3277
 
 
3278
 
# We need awk for the "check" target.  The system "awk" is bad on
3279
 
# some platforms.
3280
 
# Always define AMTAR for backward compatibility.
3281
 
 
3282
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
3283
 
 
3284
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3285
 
 
3286
 
 
3287
 
 
3288
 
 
3289
 
 
3290
 
ac_config_headers="$ac_config_headers config.h"
3291
 
 
3292
 
 
3293
 
# Silent build by default. Use make V=1 to increase verbosity
3294
 
# Check whether --enable-silent-rules was given.
3295
 
if test "${enable_silent_rules+set}" = set; then :
3296
 
  enableval=$enable_silent_rules;
3297
 
fi
3298
 
 
3299
 
case $enable_silent_rules in
3300
 
yes) AM_DEFAULT_VERBOSITY=0;;
3301
 
no)  AM_DEFAULT_VERBOSITY=1;;
3302
 
*)   AM_DEFAULT_VERBOSITY=0;;
3303
 
esac
3304
 
AM_BACKSLASH='\'
3305
 
 
3306
 
 
3307
 
 
3308
 
 
3309
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3310
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3311
 
set x ${MAKE-make}
3312
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3313
 
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3314
 
  $as_echo_n "(cached) " >&6
3315
 
else
3316
 
  cat >conftest.make <<\_ACEOF
3317
 
SHELL = /bin/sh
3318
 
all:
3319
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3320
 
_ACEOF
3321
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3322
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3323
 
  *@@@%%%=?*=@@@%%%*)
3324
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
3325
 
  *)
3326
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
3327
 
esac
3328
 
rm -f conftest.make
3329
 
fi
3330
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3331
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3332
 
$as_echo "yes" >&6; }
3333
 
  SET_MAKE=
3334
 
else
3335
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3336
 
$as_echo "no" >&6; }
3337
 
  SET_MAKE="MAKE=${MAKE-make}"
3338
 
fi
3339
 
 
3340
 
 
3341
 
 
3342
 
 
3343
 
ac_config_files="$ac_config_files Makefile"
3344
 
 
3345
 
ac_config_files="$ac_config_files libs/Makefile libs/utilspp/Makefile libs/utilspp/singleton/Makefile libs/iax2/Makefile"
3346
 
 
3347
 
 
3348
 
ac_config_files="$ac_config_files src/Makefile src/sip/Makefile src/im/Makefile src/iax/Makefile src/audio/Makefile src/audio/audiortp/Makefile src/audio/pulseaudio/Makefile src/audio/alsa/Makefile src/audio/sound/Makefile src/audio/codecs/Makefile src/config/Makefile src/dbus/Makefile src/hooks/Makefile src/history/Makefile"
3349
 
 
3350
 
 
3351
 
ac_config_files="$ac_config_files test/Makefile"
3352
 
 
3353
 
 
3354
 
ac_config_files="$ac_config_files ringtones/Makefile"
3355
 
 
3356
 
 
3357
 
ac_config_files="$ac_config_files man/Makefile"
3358
 
 
3359
 
 
3360
 
ac_config_files="$ac_config_files doc/Makefile doc/dbus-api/Makefile doc/doxygen/Makefile"
3361
 
 
3362
 
 
3363
 
ac_ext=c
3364
 
ac_cpp='$CPP $CPPFLAGS'
3365
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3366
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3367
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3368
 
if test -n "$ac_tool_prefix"; then
3369
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3370
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3371
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3372
 
$as_echo_n "checking for $ac_word... " >&6; }
3373
 
if ${ac_cv_prog_CC+:} false; then :
3374
 
  $as_echo_n "(cached) " >&6
3375
 
else
3376
 
  if test -n "$CC"; then
3377
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3378
 
else
3379
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3380
 
for as_dir in $PATH
3381
 
do
3382
 
  IFS=$as_save_IFS
3383
 
  test -z "$as_dir" && as_dir=.
3384
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3385
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3386
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3387
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3388
 
    break 2
3389
 
  fi
3390
 
done
3391
 
  done
3392
 
IFS=$as_save_IFS
3393
 
 
3394
 
fi
3395
 
fi
3396
 
CC=$ac_cv_prog_CC
3397
 
if test -n "$CC"; then
3398
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3399
 
$as_echo "$CC" >&6; }
3400
 
else
3401
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3402
 
$as_echo "no" >&6; }
3403
 
fi
3404
 
 
3405
 
 
3406
 
fi
3407
 
if test -z "$ac_cv_prog_CC"; then
3408
 
  ac_ct_CC=$CC
3409
 
  # Extract the first word of "gcc", so it can be a program name with args.
3410
 
set dummy gcc; ac_word=$2
3411
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3412
 
$as_echo_n "checking for $ac_word... " >&6; }
3413
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3414
 
  $as_echo_n "(cached) " >&6
3415
 
else
3416
 
  if test -n "$ac_ct_CC"; then
3417
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3418
 
else
3419
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3420
 
for as_dir in $PATH
3421
 
do
3422
 
  IFS=$as_save_IFS
3423
 
  test -z "$as_dir" && as_dir=.
3424
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3425
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3426
 
    ac_cv_prog_ac_ct_CC="gcc"
3427
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3428
 
    break 2
3429
 
  fi
3430
 
done
3431
 
  done
3432
 
IFS=$as_save_IFS
3433
 
 
3434
 
fi
3435
 
fi
3436
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3437
 
if test -n "$ac_ct_CC"; then
3438
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3439
 
$as_echo "$ac_ct_CC" >&6; }
3440
 
else
3441
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3442
 
$as_echo "no" >&6; }
3443
 
fi
3444
 
 
3445
 
  if test "x$ac_ct_CC" = x; then
3446
 
    CC=""
3447
 
  else
3448
 
    case $cross_compiling:$ac_tool_warned in
3449
 
yes:)
3450
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3451
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3452
 
ac_tool_warned=yes ;;
3453
 
esac
3454
 
    CC=$ac_ct_CC
3455
 
  fi
3456
 
else
3457
 
  CC="$ac_cv_prog_CC"
3458
 
fi
3459
 
 
3460
 
if test -z "$CC"; then
3461
 
          if test -n "$ac_tool_prefix"; then
3462
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3463
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3464
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3465
 
$as_echo_n "checking for $ac_word... " >&6; }
3466
 
if ${ac_cv_prog_CC+:} false; then :
3467
 
  $as_echo_n "(cached) " >&6
3468
 
else
3469
 
  if test -n "$CC"; then
3470
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3471
 
else
3472
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3473
 
for as_dir in $PATH
3474
 
do
3475
 
  IFS=$as_save_IFS
3476
 
  test -z "$as_dir" && as_dir=.
3477
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3478
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3479
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3480
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3481
 
    break 2
3482
 
  fi
3483
 
done
3484
 
  done
3485
 
IFS=$as_save_IFS
3486
 
 
3487
 
fi
3488
 
fi
3489
 
CC=$ac_cv_prog_CC
3490
 
if test -n "$CC"; then
3491
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3492
 
$as_echo "$CC" >&6; }
3493
 
else
3494
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3495
 
$as_echo "no" >&6; }
3496
 
fi
3497
 
 
3498
 
 
3499
 
  fi
3500
 
fi
3501
 
if test -z "$CC"; then
3502
 
  # Extract the first word of "cc", so it can be a program name with args.
3503
 
set dummy cc; ac_word=$2
3504
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3505
 
$as_echo_n "checking for $ac_word... " >&6; }
3506
 
if ${ac_cv_prog_CC+:} false; then :
3507
 
  $as_echo_n "(cached) " >&6
3508
 
else
3509
 
  if test -n "$CC"; then
3510
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3511
 
else
3512
 
  ac_prog_rejected=no
3513
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3514
 
for as_dir in $PATH
3515
 
do
3516
 
  IFS=$as_save_IFS
3517
 
  test -z "$as_dir" && as_dir=.
3518
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3519
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3520
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3521
 
       ac_prog_rejected=yes
3522
 
       continue
3523
 
     fi
3524
 
    ac_cv_prog_CC="cc"
3525
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3526
 
    break 2
3527
 
  fi
3528
 
done
3529
 
  done
3530
 
IFS=$as_save_IFS
3531
 
 
3532
 
if test $ac_prog_rejected = yes; then
3533
 
  # We found a bogon in the path, so make sure we never use it.
3534
 
  set dummy $ac_cv_prog_CC
3535
 
  shift
3536
 
  if test $# != 0; then
3537
 
    # We chose a different compiler from the bogus one.
3538
 
    # However, it has the same basename, so the bogon will be chosen
3539
 
    # first if we set CC to just the basename; use the full file name.
3540
 
    shift
3541
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3542
 
  fi
3543
 
fi
3544
 
fi
3545
 
fi
3546
 
CC=$ac_cv_prog_CC
3547
 
if test -n "$CC"; then
3548
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3549
 
$as_echo "$CC" >&6; }
3550
 
else
3551
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552
 
$as_echo "no" >&6; }
3553
 
fi
3554
 
 
3555
 
 
3556
 
fi
3557
 
if test -z "$CC"; then
3558
 
  if test -n "$ac_tool_prefix"; then
3559
 
  for ac_prog in cl.exe
3560
 
  do
3561
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3562
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3563
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3564
 
$as_echo_n "checking for $ac_word... " >&6; }
3565
 
if ${ac_cv_prog_CC+:} false; then :
3566
 
  $as_echo_n "(cached) " >&6
3567
 
else
3568
 
  if test -n "$CC"; then
3569
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3570
 
else
3571
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3572
 
for as_dir in $PATH
3573
 
do
3574
 
  IFS=$as_save_IFS
3575
 
  test -z "$as_dir" && as_dir=.
3576
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3577
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3578
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3579
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3580
 
    break 2
3581
 
  fi
3582
 
done
3583
 
  done
3584
 
IFS=$as_save_IFS
3585
 
 
3586
 
fi
3587
 
fi
3588
 
CC=$ac_cv_prog_CC
3589
 
if test -n "$CC"; then
3590
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3591
 
$as_echo "$CC" >&6; }
3592
 
else
3593
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3594
 
$as_echo "no" >&6; }
3595
 
fi
3596
 
 
3597
 
 
3598
 
    test -n "$CC" && break
3599
 
  done
3600
 
fi
3601
 
if test -z "$CC"; then
3602
 
  ac_ct_CC=$CC
3603
 
  for ac_prog in cl.exe
3604
 
do
3605
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3606
 
set dummy $ac_prog; ac_word=$2
3607
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3608
 
$as_echo_n "checking for $ac_word... " >&6; }
3609
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3610
 
  $as_echo_n "(cached) " >&6
3611
 
else
3612
 
  if test -n "$ac_ct_CC"; then
3613
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3614
 
else
3615
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3616
 
for as_dir in $PATH
3617
 
do
3618
 
  IFS=$as_save_IFS
3619
 
  test -z "$as_dir" && as_dir=.
3620
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3621
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3622
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3623
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3624
 
    break 2
3625
 
  fi
3626
 
done
3627
 
  done
3628
 
IFS=$as_save_IFS
3629
 
 
3630
 
fi
3631
 
fi
3632
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3633
 
if test -n "$ac_ct_CC"; then
3634
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3635
 
$as_echo "$ac_ct_CC" >&6; }
3636
 
else
3637
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3638
 
$as_echo "no" >&6; }
3639
 
fi
3640
 
 
3641
 
 
3642
 
  test -n "$ac_ct_CC" && break
3643
 
done
3644
 
 
3645
 
  if test "x$ac_ct_CC" = x; then
3646
 
    CC=""
3647
 
  else
3648
 
    case $cross_compiling:$ac_tool_warned in
3649
 
yes:)
3650
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3651
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3652
 
ac_tool_warned=yes ;;
3653
 
esac
3654
 
    CC=$ac_ct_CC
3655
 
  fi
3656
 
fi
3657
 
 
3658
 
fi
3659
 
 
3660
 
 
3661
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3662
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3663
 
as_fn_error $? "no acceptable C compiler found in \$PATH
3664
 
See \`config.log' for more details" "$LINENO" 5; }
3665
 
 
3666
 
# Provide some information about the compiler.
3667
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3668
 
set X $ac_compile
3669
 
ac_compiler=$2
3670
 
for ac_option in --version -v -V -qversion; do
3671
 
  { { ac_try="$ac_compiler $ac_option >&5"
3672
 
case "(($ac_try" in
3673
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3674
 
  *) ac_try_echo=$ac_try;;
3675
 
esac
3676
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3677
 
$as_echo "$ac_try_echo"; } >&5
3678
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3679
 
  ac_status=$?
3680
 
  if test -s conftest.err; then
3681
 
    sed '10a\
3682
 
... rest of stderr output deleted ...
3683
 
         10q' conftest.err >conftest.er1
3684
 
    cat conftest.er1 >&5
3685
 
  fi
3686
 
  rm -f conftest.er1 conftest.err
3687
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3688
 
  test $ac_status = 0; }
3689
 
done
3690
 
 
3691
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3692
 
/* end confdefs.h.  */
3693
 
 
3694
 
int
3695
 
main ()
3696
 
{
3697
 
 
3698
 
  ;
3699
 
  return 0;
3700
 
}
3701
 
_ACEOF
3702
 
ac_clean_files_save=$ac_clean_files
3703
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3704
 
# Try to create an executable without -o first, disregard a.out.
3705
 
# It will help us diagnose broken compilers, and finding out an intuition
3706
 
# of exeext.
3707
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3708
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3709
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3710
 
 
3711
 
# The possible output files:
3712
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3713
 
 
3714
 
ac_rmfiles=
3715
 
for ac_file in $ac_files
3716
 
do
3717
 
  case $ac_file in
3718
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3719
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3720
 
  esac
3721
 
done
3722
 
rm -f $ac_rmfiles
3723
 
 
3724
 
if { { ac_try="$ac_link_default"
3725
 
case "(($ac_try" in
3726
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3727
 
  *) ac_try_echo=$ac_try;;
3728
 
esac
3729
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3730
 
$as_echo "$ac_try_echo"; } >&5
3731
 
  (eval "$ac_link_default") 2>&5
3732
 
  ac_status=$?
3733
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3734
 
  test $ac_status = 0; }; then :
3735
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3736
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3737
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3738
 
# so that the user can short-circuit this test for compilers unknown to
3739
 
# Autoconf.
3740
 
for ac_file in $ac_files ''
3741
 
do
3742
 
  test -f "$ac_file" || continue
3743
 
  case $ac_file in
3744
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3745
 
        ;;
3746
 
    [ab].out )
3747
 
        # We found the default executable, but exeext='' is most
3748
 
        # certainly right.
3749
 
        break;;
3750
 
    *.* )
3751
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3752
 
        then :; else
3753
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3754
 
        fi
3755
 
        # We set ac_cv_exeext here because the later test for it is not
3756
 
        # safe: cross compilers may not add the suffix if given an `-o'
3757
 
        # argument, so we may need to know it at that point already.
3758
 
        # Even if this section looks crufty: it has the advantage of
3759
 
        # actually working.
3760
 
        break;;
3761
 
    * )
3762
 
        break;;
3763
 
  esac
3764
 
done
3765
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3766
 
 
3767
 
else
3768
 
  ac_file=''
3769
 
fi
3770
 
if test -z "$ac_file"; then :
3771
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3772
 
$as_echo "no" >&6; }
3773
 
$as_echo "$as_me: failed program was:" >&5
3774
 
sed 's/^/| /' conftest.$ac_ext >&5
3775
 
 
3776
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3777
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3778
 
as_fn_error 77 "C compiler cannot create executables
3779
 
See \`config.log' for more details" "$LINENO" 5; }
3780
 
else
3781
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3782
 
$as_echo "yes" >&6; }
3783
 
fi
3784
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3785
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3786
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3787
 
$as_echo "$ac_file" >&6; }
3788
 
ac_exeext=$ac_cv_exeext
3789
 
 
3790
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3791
 
ac_clean_files=$ac_clean_files_save
3792
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3793
 
$as_echo_n "checking for suffix of executables... " >&6; }
3794
 
if { { ac_try="$ac_link"
3795
 
case "(($ac_try" in
3796
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3797
 
  *) ac_try_echo=$ac_try;;
3798
 
esac
3799
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3800
 
$as_echo "$ac_try_echo"; } >&5
3801
 
  (eval "$ac_link") 2>&5
3802
 
  ac_status=$?
3803
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3804
 
  test $ac_status = 0; }; then :
3805
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3806
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3807
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3808
 
# `rm'.
3809
 
for ac_file in conftest.exe conftest conftest.*; do
3810
 
  test -f "$ac_file" || continue
3811
 
  case $ac_file in
3812
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3813
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3814
 
          break;;
3815
 
    * ) break;;
3816
 
  esac
3817
 
done
3818
 
else
3819
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3820
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3821
 
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3822
 
See \`config.log' for more details" "$LINENO" 5; }
3823
 
fi
3824
 
rm -f conftest conftest$ac_cv_exeext
3825
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3826
 
$as_echo "$ac_cv_exeext" >&6; }
3827
 
 
3828
 
rm -f conftest.$ac_ext
3829
 
EXEEXT=$ac_cv_exeext
3830
 
ac_exeext=$EXEEXT
3831
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3832
 
/* end confdefs.h.  */
3833
 
#include <stdio.h>
3834
 
int
3835
 
main ()
3836
 
{
3837
 
FILE *f = fopen ("conftest.out", "w");
3838
 
 return ferror (f) || fclose (f) != 0;
3839
 
 
3840
 
  ;
3841
 
  return 0;
3842
 
}
3843
 
_ACEOF
3844
 
ac_clean_files="$ac_clean_files conftest.out"
3845
 
# Check that the compiler produces executables we can run.  If not, either
3846
 
# the compiler is broken, or we cross compile.
3847
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3848
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3849
 
if test "$cross_compiling" != yes; then
3850
 
  { { ac_try="$ac_link"
3851
 
case "(($ac_try" in
3852
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3853
 
  *) ac_try_echo=$ac_try;;
3854
 
esac
3855
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3856
 
$as_echo "$ac_try_echo"; } >&5
3857
 
  (eval "$ac_link") 2>&5
3858
 
  ac_status=$?
3859
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3860
 
  test $ac_status = 0; }
3861
 
  if { ac_try='./conftest$ac_cv_exeext'
3862
 
  { { case "(($ac_try" in
3863
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3864
 
  *) ac_try_echo=$ac_try;;
3865
 
esac
3866
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3867
 
$as_echo "$ac_try_echo"; } >&5
3868
 
  (eval "$ac_try") 2>&5
3869
 
  ac_status=$?
3870
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3871
 
  test $ac_status = 0; }; }; then
3872
 
    cross_compiling=no
3873
 
  else
3874
 
    if test "$cross_compiling" = maybe; then
3875
 
        cross_compiling=yes
3876
 
    else
3877
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3878
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3879
 
as_fn_error $? "cannot run C compiled programs.
3880
 
If you meant to cross compile, use \`--host'.
3881
 
See \`config.log' for more details" "$LINENO" 5; }
3882
 
    fi
3883
 
  fi
3884
 
fi
3885
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3886
 
$as_echo "$cross_compiling" >&6; }
3887
 
 
3888
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3889
 
ac_clean_files=$ac_clean_files_save
3890
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3891
 
$as_echo_n "checking for suffix of object files... " >&6; }
3892
 
if ${ac_cv_objext+:} false; then :
3893
 
  $as_echo_n "(cached) " >&6
3894
 
else
3895
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3896
 
/* end confdefs.h.  */
3897
 
 
3898
 
int
3899
 
main ()
3900
 
{
3901
 
 
3902
 
  ;
3903
 
  return 0;
3904
 
}
3905
 
_ACEOF
3906
 
rm -f conftest.o conftest.obj
3907
 
if { { ac_try="$ac_compile"
3908
 
case "(($ac_try" in
3909
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3910
 
  *) ac_try_echo=$ac_try;;
3911
 
esac
3912
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3913
 
$as_echo "$ac_try_echo"; } >&5
3914
 
  (eval "$ac_compile") 2>&5
3915
 
  ac_status=$?
3916
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3917
 
  test $ac_status = 0; }; then :
3918
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3919
 
  test -f "$ac_file" || continue;
3920
 
  case $ac_file in
3921
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3922
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3923
 
       break;;
3924
 
  esac
3925
 
done
3926
 
else
3927
 
  $as_echo "$as_me: failed program was:" >&5
3928
 
sed 's/^/| /' conftest.$ac_ext >&5
3929
 
 
3930
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3931
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3932
 
as_fn_error $? "cannot compute suffix of object files: cannot compile
3933
 
See \`config.log' for more details" "$LINENO" 5; }
3934
 
fi
3935
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3936
 
fi
3937
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3938
 
$as_echo "$ac_cv_objext" >&6; }
3939
 
OBJEXT=$ac_cv_objext
3940
 
ac_objext=$OBJEXT
3941
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3942
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3943
 
if ${ac_cv_c_compiler_gnu+:} false; then :
3944
 
  $as_echo_n "(cached) " >&6
3945
 
else
3946
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3947
 
/* end confdefs.h.  */
3948
 
 
3949
 
int
3950
 
main ()
3951
 
{
3952
 
#ifndef __GNUC__
3953
 
       choke me
3954
 
#endif
3955
 
 
3956
 
  ;
3957
 
  return 0;
3958
 
}
3959
 
_ACEOF
3960
 
if ac_fn_c_try_compile "$LINENO"; then :
3961
 
  ac_compiler_gnu=yes
3962
 
else
3963
 
  ac_compiler_gnu=no
3964
 
fi
3965
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3966
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3967
 
 
3968
 
fi
3969
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3970
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3971
 
if test $ac_compiler_gnu = yes; then
3972
 
  GCC=yes
3973
 
else
3974
 
  GCC=
3975
 
fi
3976
 
ac_test_CFLAGS=${CFLAGS+set}
3977
 
ac_save_CFLAGS=$CFLAGS
3978
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3979
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3980
 
if ${ac_cv_prog_cc_g+:} false; then :
3981
 
  $as_echo_n "(cached) " >&6
3982
 
else
3983
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3984
 
   ac_c_werror_flag=yes
3985
 
   ac_cv_prog_cc_g=no
3986
 
   CFLAGS="-g"
3987
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3988
 
/* end confdefs.h.  */
3989
 
 
3990
 
int
3991
 
main ()
3992
 
{
3993
 
 
3994
 
  ;
3995
 
  return 0;
3996
 
}
3997
 
_ACEOF
3998
 
if ac_fn_c_try_compile "$LINENO"; then :
3999
 
  ac_cv_prog_cc_g=yes
4000
 
else
4001
 
  CFLAGS=""
4002
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4003
 
/* end confdefs.h.  */
4004
 
 
4005
 
int
4006
 
main ()
4007
 
{
4008
 
 
4009
 
  ;
4010
 
  return 0;
4011
 
}
4012
 
_ACEOF
4013
 
if ac_fn_c_try_compile "$LINENO"; then :
4014
 
 
4015
 
else
4016
 
  ac_c_werror_flag=$ac_save_c_werror_flag
4017
 
         CFLAGS="-g"
4018
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4019
 
/* end confdefs.h.  */
4020
 
 
4021
 
int
4022
 
main ()
4023
 
{
4024
 
 
4025
 
  ;
4026
 
  return 0;
4027
 
}
4028
 
_ACEOF
4029
 
if ac_fn_c_try_compile "$LINENO"; then :
4030
 
  ac_cv_prog_cc_g=yes
4031
 
fi
4032
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4033
 
fi
4034
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4035
 
fi
4036
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4037
 
   ac_c_werror_flag=$ac_save_c_werror_flag
4038
 
fi
4039
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4040
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
4041
 
if test "$ac_test_CFLAGS" = set; then
4042
 
  CFLAGS=$ac_save_CFLAGS
4043
 
elif test $ac_cv_prog_cc_g = yes; then
4044
 
  if test "$GCC" = yes; then
4045
 
    CFLAGS="-g -O2"
4046
 
  else
4047
 
    CFLAGS="-g"
4048
 
  fi
4049
 
else
4050
 
  if test "$GCC" = yes; then
4051
 
    CFLAGS="-O2"
4052
 
  else
4053
 
    CFLAGS=
4054
 
  fi
4055
 
fi
4056
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4057
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4058
 
if ${ac_cv_prog_cc_c89+:} false; then :
4059
 
  $as_echo_n "(cached) " >&6
4060
 
else
4061
 
  ac_cv_prog_cc_c89=no
4062
 
ac_save_CC=$CC
4063
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4064
 
/* end confdefs.h.  */
4065
 
#include <stdarg.h>
4066
 
#include <stdio.h>
4067
 
#include <sys/types.h>
4068
 
#include <sys/stat.h>
4069
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4070
 
struct buf { int x; };
4071
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4072
 
static char *e (p, i)
4073
 
     char **p;
4074
 
     int i;
4075
 
{
4076
 
  return p[i];
4077
 
}
4078
 
static char *f (char * (*g) (char **, int), char **p, ...)
4079
 
{
4080
 
  char *s;
4081
 
  va_list v;
4082
 
  va_start (v,p);
4083
 
  s = g (p, va_arg (v,int));
4084
 
  va_end (v);
4085
 
  return s;
4086
 
}
4087
 
 
4088
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4089
 
   function prototypes and stuff, but not '\xHH' hex character constants.
4090
 
   These don't provoke an error unfortunately, instead are silently treated
4091
 
   as 'x'.  The following induces an error, until -std is added to get
4092
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4093
 
   array size at least.  It's necessary to write '\x00'==0 to get something
4094
 
   that's true only with -std.  */
4095
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4096
 
 
4097
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4098
 
   inside strings and character constants.  */
4099
 
#define FOO(x) 'x'
4100
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4101
 
 
4102
 
int test (int i, double x);
4103
 
struct s1 {int (*f) (int a);};
4104
 
struct s2 {int (*f) (double a);};
4105
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4106
 
int argc;
4107
 
char **argv;
4108
 
int
4109
 
main ()
4110
 
{
4111
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4112
 
  ;
4113
 
  return 0;
4114
 
}
4115
 
_ACEOF
4116
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4117
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4118
 
do
4119
 
  CC="$ac_save_CC $ac_arg"
4120
 
  if ac_fn_c_try_compile "$LINENO"; then :
4121
 
  ac_cv_prog_cc_c89=$ac_arg
4122
 
fi
4123
 
rm -f core conftest.err conftest.$ac_objext
4124
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4125
 
done
4126
 
rm -f conftest.$ac_ext
4127
 
CC=$ac_save_CC
4128
 
 
4129
 
fi
4130
 
# AC_CACHE_VAL
4131
 
case "x$ac_cv_prog_cc_c89" in
4132
 
  x)
4133
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4134
 
$as_echo "none needed" >&6; } ;;
4135
 
  xno)
4136
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4137
 
$as_echo "unsupported" >&6; } ;;
4138
 
  *)
4139
 
    CC="$CC $ac_cv_prog_cc_c89"
4140
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4141
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4142
 
esac
4143
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
4144
 
 
4145
 
fi
4146
 
 
4147
 
ac_ext=c
4148
 
ac_cpp='$CPP $CPPFLAGS'
4149
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4150
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4151
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4152
 
DEPDIR="${am__leading_dot}deps"
4153
 
 
4154
 
ac_config_commands="$ac_config_commands depfiles"
4155
 
 
4156
 
 
4157
 
am_make=${MAKE-make}
4158
 
cat > confinc << 'END'
4159
 
am__doit:
4160
 
        @echo this is the am__doit target
4161
 
.PHONY: am__doit
4162
 
END
4163
 
# If we don't find an include directive, just comment out the code.
4164
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4165
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
4166
 
am__include="#"
4167
 
am__quote=
4168
 
_am_result=none
4169
 
# First try GNU make style include.
4170
 
echo "include confinc" > confmf
4171
 
# Ignore all kinds of additional output from `make'.
4172
 
case `$am_make -s -f confmf 2> /dev/null` in #(
4173
 
*the\ am__doit\ target*)
4174
 
  am__include=include
4175
 
  am__quote=
4176
 
  _am_result=GNU
4177
 
  ;;
4178
 
esac
4179
 
# Now try BSD make style include.
4180
 
if test "$am__include" = "#"; then
4181
 
   echo '.include "confinc"' > confmf
4182
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
4183
 
   *the\ am__doit\ target*)
4184
 
     am__include=.include
4185
 
     am__quote="\""
4186
 
     _am_result=BSD
4187
 
     ;;
4188
 
   esac
4189
 
fi
4190
 
 
4191
 
 
4192
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4193
 
$as_echo "$_am_result" >&6; }
4194
 
rm -f confinc confmf
4195
 
 
4196
 
# Check whether --enable-dependency-tracking was given.
4197
 
if test "${enable_dependency_tracking+set}" = set; then :
4198
 
  enableval=$enable_dependency_tracking;
4199
 
fi
4200
 
 
4201
 
if test "x$enable_dependency_tracking" != xno; then
4202
 
  am_depcomp="$ac_aux_dir/depcomp"
4203
 
  AMDEPBACKSLASH='\'
4204
 
fi
4205
 
 if test "x$enable_dependency_tracking" != xno; then
4206
 
  AMDEP_TRUE=
4207
 
  AMDEP_FALSE='#'
4208
 
else
4209
 
  AMDEP_TRUE='#'
4210
 
  AMDEP_FALSE=
4211
 
fi
4212
 
 
4213
 
 
4214
 
 
4215
 
depcc="$CC"   am_compiler_list=
4216
 
 
4217
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4218
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
4219
 
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4220
 
  $as_echo_n "(cached) " >&6
4221
 
else
4222
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4223
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4224
 
  # making bogus files that we don't know about and never remove.  For
4225
 
  # instance it was reported that on HP-UX the gcc test will end up
4226
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4227
 
  # in D'.
4228
 
  mkdir conftest.dir
4229
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4230
 
  # using a relative directory.
4231
 
  cp "$am_depcomp" conftest.dir
4232
 
  cd conftest.dir
4233
 
  # We will build objects and dependencies in a subdirectory because
4234
 
  # it helps to detect inapplicable dependency modes.  For instance
4235
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4236
 
  # side effect of compilation, but ICC will put the dependencies in
4237
 
  # the current directory while Tru64 will put them in the object
4238
 
  # directory.
4239
 
  mkdir sub
4240
 
 
4241
 
  am_cv_CC_dependencies_compiler_type=none
4242
 
  if test "$am_compiler_list" = ""; then
4243
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4244
 
  fi
4245
 
  am__universal=false
4246
 
  case " $depcc " in #(
4247
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4248
 
     esac
4249
 
 
4250
 
  for depmode in $am_compiler_list; do
4251
 
    # Setup a source with many dependencies, because some compilers
4252
 
    # like to wrap large dependency lists on column 80 (with \), and
4253
 
    # we should not choose a depcomp mode which is confused by this.
4254
 
    #
4255
 
    # We need to recreate these files for each test, as the compiler may
4256
 
    # overwrite some of them when testing with obscure command lines.
4257
 
    # This happens at least with the AIX C compiler.
4258
 
    : > sub/conftest.c
4259
 
    for i in 1 2 3 4 5 6; do
4260
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4261
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4262
 
      # Solaris 8's {/usr,}/bin/sh.
4263
 
      touch sub/conftst$i.h
4264
 
    done
4265
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4266
 
 
4267
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4268
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4269
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
4270
 
    # versions had trouble with output in subdirs
4271
 
    am__obj=sub/conftest.${OBJEXT-o}
4272
 
    am__minus_obj="-o $am__obj"
4273
 
    case $depmode in
4274
 
    gcc)
4275
 
      # This depmode causes a compiler race in universal mode.
4276
 
      test "$am__universal" = false || continue
4277
 
      ;;
4278
 
    nosideeffect)
4279
 
      # after this tag, mechanisms are not by side-effect, so they'll
4280
 
      # only be used when explicitly requested
4281
 
      if test "x$enable_dependency_tracking" = xyes; then
4282
 
        continue
4283
 
      else
4284
 
        break
4285
 
      fi
4286
 
      ;;
4287
 
    msvisualcpp | msvcmsys)
4288
 
      # This compiler won't grok `-c -o', but also, the minuso test has
4289
 
      # not run yet.  These depmodes are late enough in the game, and
4290
 
      # so weak that their functioning should not be impacted.
4291
 
      am__obj=conftest.${OBJEXT-o}
4292
 
      am__minus_obj=
4293
 
      ;;
4294
 
    none) break ;;
4295
 
    esac
4296
 
    if depmode=$depmode \
4297
 
       source=sub/conftest.c object=$am__obj \
4298
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4299
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4300
 
         >/dev/null 2>conftest.err &&
4301
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4302
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4303
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4304
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4305
 
      # icc doesn't choke on unknown options, it will just issue warnings
4306
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4307
 
      # that says an option was ignored or not supported.
4308
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4309
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4310
 
      # The diagnosis changed in icc 8.0:
4311
 
      #   icc: Command line remark: option '-MP' not supported
4312
 
      if (grep 'ignoring option' conftest.err ||
4313
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4314
 
        am_cv_CC_dependencies_compiler_type=$depmode
4315
 
        break
4316
 
      fi
4317
 
    fi
4318
 
  done
4319
 
 
4320
 
  cd ..
4321
 
  rm -rf conftest.dir
4322
 
else
4323
 
  am_cv_CC_dependencies_compiler_type=none
4324
 
fi
4325
 
 
4326
 
fi
4327
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4328
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4329
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4330
 
 
4331
 
 if
4332
 
  test "x$enable_dependency_tracking" != xno \
4333
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4334
 
  am__fastdepCC_TRUE=
4335
 
  am__fastdepCC_FALSE='#'
4336
 
else
4337
 
  am__fastdepCC_TRUE='#'
4338
 
  am__fastdepCC_FALSE=
4339
 
fi
4340
 
 
4341
 
 
4342
 
ac_ext=cpp
4343
 
ac_cpp='$CXXCPP $CPPFLAGS'
4344
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4345
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4346
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4347
 
if test -z "$CXX"; then
4348
 
  if test -n "$CCC"; then
4349
 
    CXX=$CCC
4350
 
  else
4351
 
    if test -n "$ac_tool_prefix"; then
4352
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4353
 
  do
4354
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4355
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4356
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4357
 
$as_echo_n "checking for $ac_word... " >&6; }
4358
 
if ${ac_cv_prog_CXX+:} false; then :
4359
 
  $as_echo_n "(cached) " >&6
4360
 
else
4361
 
  if test -n "$CXX"; then
4362
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4363
 
else
4364
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4365
 
for as_dir in $PATH
4366
 
do
4367
 
  IFS=$as_save_IFS
4368
 
  test -z "$as_dir" && as_dir=.
4369
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4370
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4371
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4372
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4373
 
    break 2
4374
 
  fi
4375
 
done
4376
 
  done
4377
 
IFS=$as_save_IFS
4378
 
 
4379
 
fi
4380
 
fi
4381
 
CXX=$ac_cv_prog_CXX
4382
 
if test -n "$CXX"; then
4383
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4384
 
$as_echo "$CXX" >&6; }
4385
 
else
4386
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4387
 
$as_echo "no" >&6; }
4388
 
fi
4389
 
 
4390
 
 
4391
 
    test -n "$CXX" && break
4392
 
  done
4393
 
fi
4394
 
if test -z "$CXX"; then
4395
 
  ac_ct_CXX=$CXX
4396
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4397
 
do
4398
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4399
 
set dummy $ac_prog; ac_word=$2
4400
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4401
 
$as_echo_n "checking for $ac_word... " >&6; }
4402
 
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4403
 
  $as_echo_n "(cached) " >&6
4404
 
else
4405
 
  if test -n "$ac_ct_CXX"; then
4406
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4407
 
else
4408
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4409
 
for as_dir in $PATH
4410
 
do
4411
 
  IFS=$as_save_IFS
4412
 
  test -z "$as_dir" && as_dir=.
4413
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4414
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4415
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4416
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4417
 
    break 2
4418
 
  fi
4419
 
done
4420
 
  done
4421
 
IFS=$as_save_IFS
4422
 
 
4423
 
fi
4424
 
fi
4425
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4426
 
if test -n "$ac_ct_CXX"; then
4427
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4428
 
$as_echo "$ac_ct_CXX" >&6; }
4429
 
else
4430
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431
 
$as_echo "no" >&6; }
4432
 
fi
4433
 
 
4434
 
 
4435
 
  test -n "$ac_ct_CXX" && break
4436
 
done
4437
 
 
4438
 
  if test "x$ac_ct_CXX" = x; then
4439
 
    CXX="g++"
4440
 
  else
4441
 
    case $cross_compiling:$ac_tool_warned in
4442
 
yes:)
4443
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4444
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4445
 
ac_tool_warned=yes ;;
4446
 
esac
4447
 
    CXX=$ac_ct_CXX
4448
 
  fi
4449
 
fi
4450
 
 
4451
 
  fi
4452
 
fi
4453
 
# Provide some information about the compiler.
4454
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4455
 
set X $ac_compile
4456
 
ac_compiler=$2
4457
 
for ac_option in --version -v -V -qversion; do
4458
 
  { { ac_try="$ac_compiler $ac_option >&5"
4459
 
case "(($ac_try" in
4460
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4461
 
  *) ac_try_echo=$ac_try;;
4462
 
esac
4463
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4464
 
$as_echo "$ac_try_echo"; } >&5
4465
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4466
 
  ac_status=$?
4467
 
  if test -s conftest.err; then
4468
 
    sed '10a\
4469
 
... rest of stderr output deleted ...
4470
 
         10q' conftest.err >conftest.er1
4471
 
    cat conftest.er1 >&5
4472
 
  fi
4473
 
  rm -f conftest.er1 conftest.err
4474
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4475
 
  test $ac_status = 0; }
4476
 
done
4477
 
 
4478
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4479
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4480
 
if ${ac_cv_cxx_compiler_gnu+:} false; then :
4481
 
  $as_echo_n "(cached) " >&6
4482
 
else
4483
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4484
 
/* end confdefs.h.  */
4485
 
 
4486
 
int
4487
 
main ()
4488
 
{
4489
 
#ifndef __GNUC__
4490
 
       choke me
4491
 
#endif
4492
 
 
4493
 
  ;
4494
 
  return 0;
4495
 
}
4496
 
_ACEOF
4497
 
if ac_fn_cxx_try_compile "$LINENO"; then :
4498
 
  ac_compiler_gnu=yes
4499
 
else
4500
 
  ac_compiler_gnu=no
4501
 
fi
4502
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4503
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4504
 
 
4505
 
fi
4506
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4507
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4508
 
if test $ac_compiler_gnu = yes; then
4509
 
  GXX=yes
4510
 
else
4511
 
  GXX=
4512
 
fi
4513
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
4514
 
ac_save_CXXFLAGS=$CXXFLAGS
4515
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4516
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4517
 
if ${ac_cv_prog_cxx_g+:} false; then :
4518
 
  $as_echo_n "(cached) " >&6
4519
 
else
4520
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4521
 
   ac_cxx_werror_flag=yes
4522
 
   ac_cv_prog_cxx_g=no
4523
 
   CXXFLAGS="-g"
4524
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525
 
/* end confdefs.h.  */
4526
 
 
4527
 
int
4528
 
main ()
4529
 
{
4530
 
 
4531
 
  ;
4532
 
  return 0;
4533
 
}
4534
 
_ACEOF
4535
 
if ac_fn_cxx_try_compile "$LINENO"; then :
4536
 
  ac_cv_prog_cxx_g=yes
4537
 
else
4538
 
  CXXFLAGS=""
4539
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4540
 
/* end confdefs.h.  */
4541
 
 
4542
 
int
4543
 
main ()
4544
 
{
4545
 
 
4546
 
  ;
4547
 
  return 0;
4548
 
}
4549
 
_ACEOF
4550
 
if ac_fn_cxx_try_compile "$LINENO"; then :
4551
 
 
4552
 
else
4553
 
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4554
 
         CXXFLAGS="-g"
4555
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4556
 
/* end confdefs.h.  */
4557
 
 
4558
 
int
4559
 
main ()
4560
 
{
4561
 
 
4562
 
  ;
4563
 
  return 0;
4564
 
}
4565
 
_ACEOF
4566
 
if ac_fn_cxx_try_compile "$LINENO"; then :
4567
 
  ac_cv_prog_cxx_g=yes
4568
 
fi
4569
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4570
 
fi
4571
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4572
 
fi
4573
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4574
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4575
 
fi
4576
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4577
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
4578
 
if test "$ac_test_CXXFLAGS" = set; then
4579
 
  CXXFLAGS=$ac_save_CXXFLAGS
4580
 
elif test $ac_cv_prog_cxx_g = yes; then
4581
 
  if test "$GXX" = yes; then
4582
 
    CXXFLAGS="-g -O2"
4583
 
  else
4584
 
    CXXFLAGS="-g"
4585
 
  fi
4586
 
else
4587
 
  if test "$GXX" = yes; then
4588
 
    CXXFLAGS="-O2"
4589
 
  else
4590
 
    CXXFLAGS=
4591
 
  fi
4592
 
fi
4593
 
ac_ext=c
4594
 
ac_cpp='$CPP $CPPFLAGS'
4595
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4596
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4597
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4598
 
 
4599
 
depcc="$CXX"  am_compiler_list=
4600
 
 
4601
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4602
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
4603
 
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4604
 
  $as_echo_n "(cached) " >&6
4605
 
else
4606
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4607
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4608
 
  # making bogus files that we don't know about and never remove.  For
4609
 
  # instance it was reported that on HP-UX the gcc test will end up
4610
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4611
 
  # in D'.
4612
 
  mkdir conftest.dir
4613
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4614
 
  # using a relative directory.
4615
 
  cp "$am_depcomp" conftest.dir
4616
 
  cd conftest.dir
4617
 
  # We will build objects and dependencies in a subdirectory because
4618
 
  # it helps to detect inapplicable dependency modes.  For instance
4619
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4620
 
  # side effect of compilation, but ICC will put the dependencies in
4621
 
  # the current directory while Tru64 will put them in the object
4622
 
  # directory.
4623
 
  mkdir sub
4624
 
 
4625
 
  am_cv_CXX_dependencies_compiler_type=none
4626
 
  if test "$am_compiler_list" = ""; then
4627
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4628
 
  fi
4629
 
  am__universal=false
4630
 
  case " $depcc " in #(
4631
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4632
 
     esac
4633
 
 
4634
 
  for depmode in $am_compiler_list; do
4635
 
    # Setup a source with many dependencies, because some compilers
4636
 
    # like to wrap large dependency lists on column 80 (with \), and
4637
 
    # we should not choose a depcomp mode which is confused by this.
4638
 
    #
4639
 
    # We need to recreate these files for each test, as the compiler may
4640
 
    # overwrite some of them when testing with obscure command lines.
4641
 
    # This happens at least with the AIX C compiler.
4642
 
    : > sub/conftest.c
4643
 
    for i in 1 2 3 4 5 6; do
4644
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4645
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4646
 
      # Solaris 8's {/usr,}/bin/sh.
4647
 
      touch sub/conftst$i.h
4648
 
    done
4649
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4650
 
 
4651
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4652
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4653
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
4654
 
    # versions had trouble with output in subdirs
4655
 
    am__obj=sub/conftest.${OBJEXT-o}
4656
 
    am__minus_obj="-o $am__obj"
4657
 
    case $depmode in
4658
 
    gcc)
4659
 
      # This depmode causes a compiler race in universal mode.
4660
 
      test "$am__universal" = false || continue
4661
 
      ;;
4662
 
    nosideeffect)
4663
 
      # after this tag, mechanisms are not by side-effect, so they'll
4664
 
      # only be used when explicitly requested
4665
 
      if test "x$enable_dependency_tracking" = xyes; then
4666
 
        continue
4667
 
      else
4668
 
        break
4669
 
      fi
4670
 
      ;;
4671
 
    msvisualcpp | msvcmsys)
4672
 
      # This compiler won't grok `-c -o', but also, the minuso test has
4673
 
      # not run yet.  These depmodes are late enough in the game, and
4674
 
      # so weak that their functioning should not be impacted.
4675
 
      am__obj=conftest.${OBJEXT-o}
4676
 
      am__minus_obj=
4677
 
      ;;
4678
 
    none) break ;;
4679
 
    esac
4680
 
    if depmode=$depmode \
4681
 
       source=sub/conftest.c object=$am__obj \
4682
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4683
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4684
 
         >/dev/null 2>conftest.err &&
4685
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4686
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4687
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4688
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4689
 
      # icc doesn't choke on unknown options, it will just issue warnings
4690
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4691
 
      # that says an option was ignored or not supported.
4692
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4693
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4694
 
      # The diagnosis changed in icc 8.0:
4695
 
      #   icc: Command line remark: option '-MP' not supported
4696
 
      if (grep 'ignoring option' conftest.err ||
4697
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4698
 
        am_cv_CXX_dependencies_compiler_type=$depmode
4699
 
        break
4700
 
      fi
4701
 
    fi
4702
 
  done
4703
 
 
4704
 
  cd ..
4705
 
  rm -rf conftest.dir
4706
 
else
4707
 
  am_cv_CXX_dependencies_compiler_type=none
4708
 
fi
4709
 
 
4710
 
fi
4711
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4712
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4713
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4714
 
 
4715
 
 if
4716
 
  test "x$enable_dependency_tracking" != xno \
4717
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4718
 
  am__fastdepCXX_TRUE=
4719
 
  am__fastdepCXX_FALSE='#'
4720
 
else
4721
 
  am__fastdepCXX_TRUE='#'
4722
 
  am__fastdepCXX_FALSE=
4723
 
fi
4724
 
 
4725
 
 
4726
 
ac_ext=c
4727
 
ac_cpp='$CPP $CPPFLAGS'
4728
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4729
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4730
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4731
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4732
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4733
 
# On Suns, sometimes $CPP names a directory.
4734
 
if test -n "$CPP" && test -d "$CPP"; then
4735
 
  CPP=
4736
 
fi
4737
 
if test -z "$CPP"; then
4738
 
  if ${ac_cv_prog_CPP+:} false; then :
4739
 
  $as_echo_n "(cached) " >&6
4740
 
else
4741
 
      # Double quotes because CPP needs to be expanded
4742
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4743
 
    do
4744
 
      ac_preproc_ok=false
4745
 
for ac_c_preproc_warn_flag in '' yes
4746
 
do
4747
 
  # Use a header file that comes with gcc, so configuring glibc
4748
 
  # with a fresh cross-compiler works.
4749
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4750
 
  # <limits.h> exists even on freestanding compilers.
4751
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4752
 
  # not just through cpp. "Syntax error" is here to catch this case.
4753
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4754
 
/* end confdefs.h.  */
4755
 
#ifdef __STDC__
4756
 
# include <limits.h>
4757
 
#else
4758
 
# include <assert.h>
4759
 
#endif
4760
 
                     Syntax error
4761
 
_ACEOF
4762
 
if ac_fn_c_try_cpp "$LINENO"; then :
4763
 
 
4764
 
else
4765
 
  # Broken: fails on valid input.
4766
 
continue
4767
 
fi
4768
 
rm -f conftest.err conftest.i conftest.$ac_ext
4769
 
 
4770
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4771
 
  # can be detected and how.
4772
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4773
 
/* end confdefs.h.  */
4774
 
#include <ac_nonexistent.h>
4775
 
_ACEOF
4776
 
if ac_fn_c_try_cpp "$LINENO"; then :
4777
 
  # Broken: success on invalid input.
4778
 
continue
4779
 
else
4780
 
  # Passes both tests.
4781
 
ac_preproc_ok=:
4782
 
break
4783
 
fi
4784
 
rm -f conftest.err conftest.i conftest.$ac_ext
4785
 
 
4786
 
done
4787
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4788
 
rm -f conftest.i conftest.err conftest.$ac_ext
4789
 
if $ac_preproc_ok; then :
4790
 
  break
4791
 
fi
4792
 
 
4793
 
    done
4794
 
    ac_cv_prog_CPP=$CPP
4795
 
 
4796
 
fi
4797
 
  CPP=$ac_cv_prog_CPP
4798
 
else
4799
 
  ac_cv_prog_CPP=$CPP
4800
 
fi
4801
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4802
 
$as_echo "$CPP" >&6; }
4803
 
ac_preproc_ok=false
4804
 
for ac_c_preproc_warn_flag in '' yes
4805
 
do
4806
 
  # Use a header file that comes with gcc, so configuring glibc
4807
 
  # with a fresh cross-compiler works.
4808
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4809
 
  # <limits.h> exists even on freestanding compilers.
4810
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4811
 
  # not just through cpp. "Syntax error" is here to catch this case.
4812
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4813
 
/* end confdefs.h.  */
4814
 
#ifdef __STDC__
4815
 
# include <limits.h>
4816
 
#else
4817
 
# include <assert.h>
4818
 
#endif
4819
 
                     Syntax error
4820
 
_ACEOF
4821
 
if ac_fn_c_try_cpp "$LINENO"; then :
4822
 
 
4823
 
else
4824
 
  # Broken: fails on valid input.
4825
 
continue
4826
 
fi
4827
 
rm -f conftest.err conftest.i conftest.$ac_ext
4828
 
 
4829
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4830
 
  # can be detected and how.
4831
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4832
 
/* end confdefs.h.  */
4833
 
#include <ac_nonexistent.h>
4834
 
_ACEOF
4835
 
if ac_fn_c_try_cpp "$LINENO"; then :
4836
 
  # Broken: success on invalid input.
4837
 
continue
4838
 
else
4839
 
  # Passes both tests.
4840
 
ac_preproc_ok=:
4841
 
break
4842
 
fi
4843
 
rm -f conftest.err conftest.i conftest.$ac_ext
4844
 
 
4845
 
done
4846
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4847
 
rm -f conftest.i conftest.err conftest.$ac_ext
4848
 
if $ac_preproc_ok; then :
4849
 
 
4850
 
else
4851
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4852
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4853
 
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4854
 
See \`config.log' for more details" "$LINENO" 5; }
4855
 
fi
4856
 
 
4857
 
ac_ext=c
4858
 
ac_cpp='$CPP $CPPFLAGS'
4859
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4860
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4861
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4862
 
 
4863
 
 
4864
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4865
 
$as_echo_n "checking whether ln -s works... " >&6; }
4866
 
LN_S=$as_ln_s
4867
 
if test "$LN_S" = "ln -s"; then
4868
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4869
 
$as_echo "yes" >&6; }
4870
 
else
4871
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4872
 
$as_echo "no, using $LN_S" >&6; }
4873
 
fi
4874
 
 
4875
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4876
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4877
 
set x ${MAKE-make}
4878
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4879
 
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4880
 
  $as_echo_n "(cached) " >&6
4881
 
else
4882
 
  cat >conftest.make <<\_ACEOF
4883
 
SHELL = /bin/sh
4884
 
all:
4885
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
4886
 
_ACEOF
4887
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4888
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
4889
 
  *@@@%%%=?*=@@@%%%*)
4890
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
4891
 
  *)
4892
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
4893
 
esac
4894
 
rm -f conftest.make
4895
 
fi
4896
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4897
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4898
 
$as_echo "yes" >&6; }
4899
 
  SET_MAKE=
4900
 
else
4901
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4902
 
$as_echo "no" >&6; }
4903
 
  SET_MAKE="MAKE=${MAKE-make}"
4904
 
fi
4905
 
 
4906
 
 
4907
 
case `pwd` in
4908
 
  *\ * | *\     *)
4909
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4910
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4911
 
esac
4912
 
 
4913
 
 
4914
 
 
4915
 
macro_version='2.4'
4916
 
macro_revision='1.3293'
4917
 
 
4918
 
 
4919
 
 
4920
 
 
4921
 
 
4922
 
 
4923
 
 
4924
 
 
4925
 
 
4926
 
 
4927
 
 
4928
 
 
4929
 
 
4930
 
ltmain="$ac_aux_dir/ltmain.sh"
4931
 
 
4932
 
# Backslashify metacharacters that are still active within
4933
 
# double-quoted strings.
4934
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4935
 
 
4936
 
# Same as above, but do not quote variable references.
4937
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
4938
 
 
4939
 
# Sed substitution to delay expansion of an escaped shell variable in a
4940
 
# double_quote_subst'ed string.
4941
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4942
 
 
4943
 
# Sed substitution to delay expansion of an escaped single quote.
4944
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4945
 
 
4946
 
# Sed substitution to avoid accidental globbing in evaled expressions
4947
 
no_glob_subst='s/\*/\\\*/g'
4948
 
 
4949
 
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4950
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4951
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4952
 
 
4953
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4954
 
$as_echo_n "checking how to print strings... " >&6; }
4955
 
# Test print first, because it will be a builtin if present.
4956
 
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4957
 
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4958
 
  ECHO='print -r --'
4959
 
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4960
 
  ECHO='printf %s\n'
4961
 
else
4962
 
  # Use this function as a fallback that always works.
4963
 
  func_fallback_echo ()
4964
 
  {
4965
 
    eval 'cat <<_LTECHO_EOF
4966
 
$1
4967
 
_LTECHO_EOF'
4968
 
  }
4969
 
  ECHO='func_fallback_echo'
4970
 
fi
4971
 
 
4972
 
# func_echo_all arg...
4973
 
# Invoke $ECHO with all args, space-separated.
4974
 
func_echo_all ()
4975
 
{
4976
 
    $ECHO ""
4977
 
}
4978
 
 
4979
 
case "$ECHO" in
4980
 
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4981
 
$as_echo "printf" >&6; } ;;
4982
 
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4983
 
$as_echo "print -r" >&6; } ;;
4984
 
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4985
 
$as_echo "cat" >&6; } ;;
4986
 
esac
4987
 
 
4988
 
 
4989
 
 
4990
 
 
4991
 
 
4992
 
 
4993
 
 
4994
 
 
4995
 
 
4996
 
 
4997
 
 
4998
 
 
4999
 
 
5000
 
 
5001
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5002
 
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5003
 
if ${ac_cv_path_SED+:} false; then :
5004
 
  $as_echo_n "(cached) " >&6
5005
 
else
5006
 
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5007
 
     for ac_i in 1 2 3 4 5 6 7; do
5008
 
       ac_script="$ac_script$as_nl$ac_script"
5009
 
     done
5010
 
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5011
 
     { ac_script=; unset ac_script;}
5012
 
     if test -z "$SED"; then
5013
 
  ac_path_SED_found=false
5014
 
  # Loop through the user's path and test for each of PROGNAME-LIST
5015
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5016
 
for as_dir in $PATH
5017
 
do
5018
 
  IFS=$as_save_IFS
5019
 
  test -z "$as_dir" && as_dir=.
5020
 
    for ac_prog in sed gsed; do
5021
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5022
 
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5023
 
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5024
 
# Check for GNU ac_path_SED and select it if it is found.
5025
 
  # Check for GNU $ac_path_SED
5026
 
case `"$ac_path_SED" --version 2>&1` in
5027
 
*GNU*)
5028
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5029
 
*)
5030
 
  ac_count=0
5031
 
  $as_echo_n 0123456789 >"conftest.in"
5032
 
  while :
5033
 
  do
5034
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5035
 
    mv "conftest.tmp" "conftest.in"
5036
 
    cp "conftest.in" "conftest.nl"
5037
 
    $as_echo '' >> "conftest.nl"
5038
 
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5039
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5040
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5041
 
    if test $ac_count -gt ${ac_path_SED_max-0}; then
5042
 
      # Best one so far, save it but keep looking for a better one
5043
 
      ac_cv_path_SED="$ac_path_SED"
5044
 
      ac_path_SED_max=$ac_count
5045
 
    fi
5046
 
    # 10*(2^10) chars as input seems more than enough
5047
 
    test $ac_count -gt 10 && break
5048
 
  done
5049
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5050
 
esac
5051
 
 
5052
 
      $ac_path_SED_found && break 3
5053
 
    done
5054
 
  done
5055
 
  done
5056
 
IFS=$as_save_IFS
5057
 
  if test -z "$ac_cv_path_SED"; then
5058
 
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5059
 
  fi
5060
 
else
5061
 
  ac_cv_path_SED=$SED
5062
 
fi
5063
 
 
5064
 
fi
5065
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5066
 
$as_echo "$ac_cv_path_SED" >&6; }
5067
 
 SED="$ac_cv_path_SED"
5068
 
  rm -f conftest.sed
5069
 
 
5070
 
test -z "$SED" && SED=sed
5071
 
Xsed="$SED -e 1s/^X//"
5072
 
 
5073
 
 
5074
 
 
5075
 
 
5076
 
 
5077
 
 
5078
 
 
5079
 
 
5080
 
 
5081
 
 
5082
 
 
5083
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5084
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5085
 
if ${ac_cv_path_GREP+:} false; then :
5086
 
  $as_echo_n "(cached) " >&6
5087
 
else
5088
 
  if test -z "$GREP"; then
5089
 
  ac_path_GREP_found=false
5090
 
  # Loop through the user's path and test for each of PROGNAME-LIST
5091
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5092
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5093
 
do
5094
 
  IFS=$as_save_IFS
5095
 
  test -z "$as_dir" && as_dir=.
5096
 
    for ac_prog in grep ggrep; do
5097
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5098
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5099
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5100
 
# Check for GNU ac_path_GREP and select it if it is found.
5101
 
  # Check for GNU $ac_path_GREP
5102
 
case `"$ac_path_GREP" --version 2>&1` in
5103
 
*GNU*)
5104
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5105
 
*)
5106
 
  ac_count=0
5107
 
  $as_echo_n 0123456789 >"conftest.in"
5108
 
  while :
5109
 
  do
5110
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5111
 
    mv "conftest.tmp" "conftest.in"
5112
 
    cp "conftest.in" "conftest.nl"
5113
 
    $as_echo 'GREP' >> "conftest.nl"
5114
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5115
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5116
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5117
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5118
 
      # Best one so far, save it but keep looking for a better one
5119
 
      ac_cv_path_GREP="$ac_path_GREP"
5120
 
      ac_path_GREP_max=$ac_count
5121
 
    fi
5122
 
    # 10*(2^10) chars as input seems more than enough
5123
 
    test $ac_count -gt 10 && break
5124
 
  done
5125
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5126
 
esac
5127
 
 
5128
 
      $ac_path_GREP_found && break 3
5129
 
    done
5130
 
  done
5131
 
  done
5132
 
IFS=$as_save_IFS
5133
 
  if test -z "$ac_cv_path_GREP"; then
5134
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5135
 
  fi
5136
 
else
5137
 
  ac_cv_path_GREP=$GREP
5138
 
fi
5139
 
 
5140
 
fi
5141
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5142
 
$as_echo "$ac_cv_path_GREP" >&6; }
5143
 
 GREP="$ac_cv_path_GREP"
5144
 
 
5145
 
 
5146
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5147
 
$as_echo_n "checking for egrep... " >&6; }
5148
 
if ${ac_cv_path_EGREP+:} false; then :
5149
 
  $as_echo_n "(cached) " >&6
5150
 
else
5151
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5152
 
   then ac_cv_path_EGREP="$GREP -E"
5153
 
   else
5154
 
     if test -z "$EGREP"; then
5155
 
  ac_path_EGREP_found=false
5156
 
  # Loop through the user's path and test for each of PROGNAME-LIST
5157
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5158
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5159
 
do
5160
 
  IFS=$as_save_IFS
5161
 
  test -z "$as_dir" && as_dir=.
5162
 
    for ac_prog in egrep; do
5163
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5164
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5165
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5166
 
# Check for GNU ac_path_EGREP and select it if it is found.
5167
 
  # Check for GNU $ac_path_EGREP
5168
 
case `"$ac_path_EGREP" --version 2>&1` in
5169
 
*GNU*)
5170
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5171
 
*)
5172
 
  ac_count=0
5173
 
  $as_echo_n 0123456789 >"conftest.in"
5174
 
  while :
5175
 
  do
5176
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5177
 
    mv "conftest.tmp" "conftest.in"
5178
 
    cp "conftest.in" "conftest.nl"
5179
 
    $as_echo 'EGREP' >> "conftest.nl"
5180
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5181
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5182
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5183
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5184
 
      # Best one so far, save it but keep looking for a better one
5185
 
      ac_cv_path_EGREP="$ac_path_EGREP"
5186
 
      ac_path_EGREP_max=$ac_count
5187
 
    fi
5188
 
    # 10*(2^10) chars as input seems more than enough
5189
 
    test $ac_count -gt 10 && break
5190
 
  done
5191
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5192
 
esac
5193
 
 
5194
 
      $ac_path_EGREP_found && break 3
5195
 
    done
5196
 
  done
5197
 
  done
5198
 
IFS=$as_save_IFS
5199
 
  if test -z "$ac_cv_path_EGREP"; then
5200
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5201
 
  fi
5202
 
else
5203
 
  ac_cv_path_EGREP=$EGREP
5204
 
fi
5205
 
 
5206
 
   fi
5207
 
fi
5208
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5209
 
$as_echo "$ac_cv_path_EGREP" >&6; }
5210
 
 EGREP="$ac_cv_path_EGREP"
5211
 
 
5212
 
 
5213
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5214
 
$as_echo_n "checking for fgrep... " >&6; }
5215
 
if ${ac_cv_path_FGREP+:} false; then :
5216
 
  $as_echo_n "(cached) " >&6
5217
 
else
5218
 
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5219
 
   then ac_cv_path_FGREP="$GREP -F"
5220
 
   else
5221
 
     if test -z "$FGREP"; then
5222
 
  ac_path_FGREP_found=false
5223
 
  # Loop through the user's path and test for each of PROGNAME-LIST
5224
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5225
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5226
 
do
5227
 
  IFS=$as_save_IFS
5228
 
  test -z "$as_dir" && as_dir=.
5229
 
    for ac_prog in fgrep; do
5230
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5231
 
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5232
 
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5233
 
# Check for GNU ac_path_FGREP and select it if it is found.
5234
 
  # Check for GNU $ac_path_FGREP
5235
 
case `"$ac_path_FGREP" --version 2>&1` in
5236
 
*GNU*)
5237
 
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5238
 
*)
5239
 
  ac_count=0
5240
 
  $as_echo_n 0123456789 >"conftest.in"
5241
 
  while :
5242
 
  do
5243
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5244
 
    mv "conftest.tmp" "conftest.in"
5245
 
    cp "conftest.in" "conftest.nl"
5246
 
    $as_echo 'FGREP' >> "conftest.nl"
5247
 
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5248
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5249
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5250
 
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5251
 
      # Best one so far, save it but keep looking for a better one
5252
 
      ac_cv_path_FGREP="$ac_path_FGREP"
5253
 
      ac_path_FGREP_max=$ac_count
5254
 
    fi
5255
 
    # 10*(2^10) chars as input seems more than enough
5256
 
    test $ac_count -gt 10 && break
5257
 
  done
5258
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5259
 
esac
5260
 
 
5261
 
      $ac_path_FGREP_found && break 3
5262
 
    done
5263
 
  done
5264
 
  done
5265
 
IFS=$as_save_IFS
5266
 
  if test -z "$ac_cv_path_FGREP"; then
5267
 
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5268
 
  fi
5269
 
else
5270
 
  ac_cv_path_FGREP=$FGREP
5271
 
fi
5272
 
 
5273
 
   fi
5274
 
fi
5275
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5276
 
$as_echo "$ac_cv_path_FGREP" >&6; }
5277
 
 FGREP="$ac_cv_path_FGREP"
5278
 
 
5279
 
 
5280
 
test -z "$GREP" && GREP=grep
5281
 
 
5282
 
 
5283
 
 
5284
 
 
5285
 
 
5286
 
 
5287
 
 
5288
 
 
5289
 
 
5290
 
 
5291
 
 
5292
 
 
5293
 
 
5294
 
 
5295
 
 
5296
 
 
5297
 
 
5298
 
 
5299
 
 
5300
 
# Check whether --with-gnu-ld was given.
5301
 
if test "${with_gnu_ld+set}" = set; then :
5302
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5303
 
else
5304
 
  with_gnu_ld=no
5305
 
fi
5306
 
 
5307
 
ac_prog=ld
5308
 
if test "$GCC" = yes; then
5309
 
  # Check if gcc -print-prog-name=ld gives a path.
5310
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5311
 
$as_echo_n "checking for ld used by $CC... " >&6; }
5312
 
  case $host in
5313
 
  *-*-mingw*)
5314
 
    # gcc leaves a trailing carriage return which upsets mingw
5315
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5316
 
  *)
5317
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5318
 
  esac
5319
 
  case $ac_prog in
5320
 
    # Accept absolute paths.
5321
 
    [\\/]* | ?:[\\/]*)
5322
 
      re_direlt='/[^/][^/]*/\.\./'
5323
 
      # Canonicalize the pathname of ld
5324
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5325
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5326
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5327
 
      done
5328
 
      test -z "$LD" && LD="$ac_prog"
5329
 
      ;;
5330
 
  "")
5331
 
    # If it fails, then pretend we aren't using GCC.
5332
 
    ac_prog=ld
5333
 
    ;;
5334
 
  *)
5335
 
    # If it is relative, then search for the first ld in PATH.
5336
 
    with_gnu_ld=unknown
5337
 
    ;;
5338
 
  esac
5339
 
elif test "$with_gnu_ld" = yes; then
5340
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5341
 
$as_echo_n "checking for GNU ld... " >&6; }
5342
 
else
5343
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5344
 
$as_echo_n "checking for non-GNU ld... " >&6; }
5345
 
fi
5346
 
if ${lt_cv_path_LD+:} false; then :
5347
 
  $as_echo_n "(cached) " >&6
5348
 
else
5349
 
  if test -z "$LD"; then
5350
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5351
 
  for ac_dir in $PATH; do
5352
 
    IFS="$lt_save_ifs"
5353
 
    test -z "$ac_dir" && ac_dir=.
5354
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5355
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
5356
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
5357
 
      # but apparently some variants of GNU ld only accept -v.
5358
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
5359
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5360
 
      *GNU* | *'with BFD'*)
5361
 
        test "$with_gnu_ld" != no && break
5362
 
        ;;
5363
 
      *)
5364
 
        test "$with_gnu_ld" != yes && break
5365
 
        ;;
5366
 
      esac
5367
 
    fi
5368
 
  done
5369
 
  IFS="$lt_save_ifs"
5370
 
else
5371
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5372
 
fi
5373
 
fi
5374
 
 
5375
 
LD="$lt_cv_path_LD"
5376
 
if test -n "$LD"; then
5377
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5378
 
$as_echo "$LD" >&6; }
5379
 
else
5380
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5381
 
$as_echo "no" >&6; }
5382
 
fi
5383
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5384
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5385
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5386
 
if ${lt_cv_prog_gnu_ld+:} false; then :
5387
 
  $as_echo_n "(cached) " >&6
5388
 
else
5389
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5390
 
case `$LD -v 2>&1 </dev/null` in
5391
 
*GNU* | *'with BFD'*)
5392
 
  lt_cv_prog_gnu_ld=yes
5393
 
  ;;
5394
 
*)
5395
 
  lt_cv_prog_gnu_ld=no
5396
 
  ;;
5397
 
esac
5398
 
fi
5399
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5400
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5401
 
with_gnu_ld=$lt_cv_prog_gnu_ld
5402
 
 
5403
 
 
5404
 
 
5405
 
 
5406
 
 
5407
 
 
5408
 
 
5409
 
 
5410
 
 
5411
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5412
 
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5413
 
if ${lt_cv_path_NM+:} false; then :
5414
 
  $as_echo_n "(cached) " >&6
5415
 
else
5416
 
  if test -n "$NM"; then
5417
 
  # Let the user override the test.
5418
 
  lt_cv_path_NM="$NM"
5419
 
else
5420
 
  lt_nm_to_check="${ac_tool_prefix}nm"
5421
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5422
 
    lt_nm_to_check="$lt_nm_to_check nm"
5423
 
  fi
5424
 
  for lt_tmp_nm in $lt_nm_to_check; do
5425
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5426
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5427
 
      IFS="$lt_save_ifs"
5428
 
      test -z "$ac_dir" && ac_dir=.
5429
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
5430
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5431
 
        # Check to see if the nm accepts a BSD-compat flag.
5432
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5433
 
        #   nm: unknown option "B" ignored
5434
 
        # Tru64's nm complains that /dev/null is an invalid object file
5435
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5436
 
        */dev/null* | *'Invalid file or object type'*)
5437
 
          lt_cv_path_NM="$tmp_nm -B"
5438
 
          break
5439
 
          ;;
5440
 
        *)
5441
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5442
 
          */dev/null*)
5443
 
            lt_cv_path_NM="$tmp_nm -p"
5444
 
            break
5445
 
            ;;
5446
 
          *)
5447
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5448
 
            continue # so that we can try to find one that supports BSD flags
5449
 
            ;;
5450
 
          esac
5451
 
          ;;
5452
 
        esac
5453
 
      fi
5454
 
    done
5455
 
    IFS="$lt_save_ifs"
5456
 
  done
5457
 
  : ${lt_cv_path_NM=no}
5458
 
fi
5459
 
fi
5460
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5461
 
$as_echo "$lt_cv_path_NM" >&6; }
5462
 
if test "$lt_cv_path_NM" != "no"; then
5463
 
  NM="$lt_cv_path_NM"
5464
 
else
5465
 
  # Didn't find any BSD compatible name lister, look for dumpbin.
5466
 
  if test -n "$DUMPBIN"; then :
5467
 
    # Let the user override the test.
5468
 
  else
5469
 
    if test -n "$ac_tool_prefix"; then
5470
 
  for ac_prog in dumpbin "link -dump"
5471
 
  do
5472
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5473
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5474
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5475
 
$as_echo_n "checking for $ac_word... " >&6; }
5476
 
if ${ac_cv_prog_DUMPBIN+:} false; then :
5477
 
  $as_echo_n "(cached) " >&6
5478
 
else
5479
 
  if test -n "$DUMPBIN"; then
5480
 
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5481
 
else
5482
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483
 
for as_dir in $PATH
5484
 
do
5485
 
  IFS=$as_save_IFS
5486
 
  test -z "$as_dir" && as_dir=.
5487
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5488
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5489
 
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5490
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5491
 
    break 2
5492
 
  fi
5493
 
done
5494
 
  done
5495
 
IFS=$as_save_IFS
5496
 
 
5497
 
fi
5498
 
fi
5499
 
DUMPBIN=$ac_cv_prog_DUMPBIN
5500
 
if test -n "$DUMPBIN"; then
5501
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5502
 
$as_echo "$DUMPBIN" >&6; }
5503
 
else
5504
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5505
 
$as_echo "no" >&6; }
5506
 
fi
5507
 
 
5508
 
 
5509
 
    test -n "$DUMPBIN" && break
5510
 
  done
5511
 
fi
5512
 
if test -z "$DUMPBIN"; then
5513
 
  ac_ct_DUMPBIN=$DUMPBIN
5514
 
  for ac_prog in dumpbin "link -dump"
5515
 
do
5516
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5517
 
set dummy $ac_prog; ac_word=$2
5518
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5519
 
$as_echo_n "checking for $ac_word... " >&6; }
5520
 
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5521
 
  $as_echo_n "(cached) " >&6
5522
 
else
5523
 
  if test -n "$ac_ct_DUMPBIN"; then
5524
 
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5525
 
else
5526
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5527
 
for as_dir in $PATH
5528
 
do
5529
 
  IFS=$as_save_IFS
5530
 
  test -z "$as_dir" && as_dir=.
5531
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5532
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5533
 
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5534
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5535
 
    break 2
5536
 
  fi
5537
 
done
5538
 
  done
5539
 
IFS=$as_save_IFS
5540
 
 
5541
 
fi
5542
 
fi
5543
 
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5544
 
if test -n "$ac_ct_DUMPBIN"; then
5545
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5546
 
$as_echo "$ac_ct_DUMPBIN" >&6; }
5547
 
else
5548
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5549
 
$as_echo "no" >&6; }
5550
 
fi
5551
 
 
5552
 
 
5553
 
  test -n "$ac_ct_DUMPBIN" && break
5554
 
done
5555
 
 
5556
 
  if test "x$ac_ct_DUMPBIN" = x; then
5557
 
    DUMPBIN=":"
5558
 
  else
5559
 
    case $cross_compiling:$ac_tool_warned in
5560
 
yes:)
5561
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5562
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5563
 
ac_tool_warned=yes ;;
5564
 
esac
5565
 
    DUMPBIN=$ac_ct_DUMPBIN
5566
 
  fi
5567
 
fi
5568
 
 
5569
 
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5570
 
    *COFF*)
5571
 
      DUMPBIN="$DUMPBIN -symbols"
5572
 
      ;;
5573
 
    *)
5574
 
      DUMPBIN=:
5575
 
      ;;
5576
 
    esac
5577
 
  fi
5578
 
 
5579
 
  if test "$DUMPBIN" != ":"; then
5580
 
    NM="$DUMPBIN"
5581
 
  fi
5582
 
fi
5583
 
test -z "$NM" && NM=nm
5584
 
 
5585
 
 
5586
 
 
5587
 
 
5588
 
 
5589
 
 
5590
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5591
 
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5592
 
if ${lt_cv_nm_interface+:} false; then :
5593
 
  $as_echo_n "(cached) " >&6
5594
 
else
5595
 
  lt_cv_nm_interface="BSD nm"
5596
 
  echo "int some_variable = 0;" > conftest.$ac_ext
5597
 
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5598
 
  (eval "$ac_compile" 2>conftest.err)
5599
 
  cat conftest.err >&5
5600
 
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5601
 
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5602
 
  cat conftest.err >&5
5603
 
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5604
 
  cat conftest.out >&5
5605
 
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5606
 
    lt_cv_nm_interface="MS dumpbin"
5607
 
  fi
5608
 
  rm -f conftest*
5609
 
fi
5610
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5611
 
$as_echo "$lt_cv_nm_interface" >&6; }
5612
 
 
5613
 
# find the maximum length of command line arguments
5614
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5615
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5616
 
if ${lt_cv_sys_max_cmd_len+:} false; then :
5617
 
  $as_echo_n "(cached) " >&6
5618
 
else
5619
 
    i=0
5620
 
  teststring="ABCD"
5621
 
 
5622
 
  case $build_os in
5623
 
  msdosdjgpp*)
5624
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
5625
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
5626
 
    # during glob expansion).  Even if it were fixed, the result of this
5627
 
    # check would be larger than it should be.
5628
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5629
 
    ;;
5630
 
 
5631
 
  gnu*)
5632
 
    # Under GNU Hurd, this test is not required because there is
5633
 
    # no limit to the length of command line arguments.
5634
 
    # Libtool will interpret -1 as no limit whatsoever
5635
 
    lt_cv_sys_max_cmd_len=-1;
5636
 
    ;;
5637
 
 
5638
 
  cygwin* | mingw* | cegcc*)
5639
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
5640
 
    # about 5 minutes as the teststring grows exponentially.
5641
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
5642
 
    # you end up with a "frozen" computer, even though with patience
5643
 
    # the test eventually succeeds (with a max line length of 256k).
5644
 
    # Instead, let's just punt: use the minimum linelength reported by
5645
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
5646
 
    lt_cv_sys_max_cmd_len=8192;
5647
 
    ;;
5648
 
 
5649
 
  mint*)
5650
 
    # On MiNT this can take a long time and run out of memory.
5651
 
    lt_cv_sys_max_cmd_len=8192;
5652
 
    ;;
5653
 
 
5654
 
  amigaos*)
5655
 
    # On AmigaOS with pdksh, this test takes hours, literally.
5656
 
    # So we just punt and use a minimum line length of 8192.
5657
 
    lt_cv_sys_max_cmd_len=8192;
5658
 
    ;;
5659
 
 
5660
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5661
 
    # This has been around since 386BSD, at least.  Likely further.
5662
 
    if test -x /sbin/sysctl; then
5663
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5664
 
    elif test -x /usr/sbin/sysctl; then
5665
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5666
 
    else
5667
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5668
 
    fi
5669
 
    # And add a safety zone
5670
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5671
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5672
 
    ;;
5673
 
 
5674
 
  interix*)
5675
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5676
 
    lt_cv_sys_max_cmd_len=196608
5677
 
    ;;
5678
 
 
5679
 
  osf*)
5680
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5681
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5682
 
    # nice to cause kernel panics so lets avoid the loop below.
5683
 
    # First set a reasonable default.
5684
 
    lt_cv_sys_max_cmd_len=16384
5685
 
    #
5686
 
    if test -x /sbin/sysconfig; then
5687
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5688
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5689
 
      esac
5690
 
    fi
5691
 
    ;;
5692
 
  sco3.2v5*)
5693
 
    lt_cv_sys_max_cmd_len=102400
5694
 
    ;;
5695
 
  sysv5* | sco5v6* | sysv4.2uw2*)
5696
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5697
 
    if test -n "$kargmax"; then
5698
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5699
 
    else
5700
 
      lt_cv_sys_max_cmd_len=32768
5701
 
    fi
5702
 
    ;;
5703
 
  *)
5704
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5705
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
5706
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5707
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5708
 
    else
5709
 
      # Make teststring a little bigger before we do anything with it.
5710
 
      # a 1K string should be a reasonable start.
5711
 
      for i in 1 2 3 4 5 6 7 8 ; do
5712
 
        teststring=$teststring$teststring
5713
 
      done
5714
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5715
 
      # If test is not a shell built-in, we'll probably end up computing a
5716
 
      # maximum length that is only half of the actual maximum length, but
5717
 
      # we can't tell.
5718
 
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5719
 
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5720
 
              test $i != 17 # 1/2 MB should be enough
5721
 
      do
5722
 
        i=`expr $i + 1`
5723
 
        teststring=$teststring$teststring
5724
 
      done
5725
 
      # Only check the string length outside the loop.
5726
 
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5727
 
      teststring=
5728
 
      # Add a significant safety factor because C++ compilers can tack on
5729
 
      # massive amounts of additional arguments before passing them to the
5730
 
      # linker.  It appears as though 1/2 is a usable value.
5731
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5732
 
    fi
5733
 
    ;;
5734
 
  esac
5735
 
 
5736
 
fi
5737
 
 
5738
 
if test -n $lt_cv_sys_max_cmd_len ; then
5739
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5740
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5741
 
else
5742
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5743
 
$as_echo "none" >&6; }
5744
 
fi
5745
 
max_cmd_len=$lt_cv_sys_max_cmd_len
5746
 
 
5747
 
 
5748
 
 
5749
 
 
5750
 
 
5751
 
 
5752
 
: ${CP="cp -f"}
5753
 
: ${MV="mv -f"}
5754
 
: ${RM="rm -f"}
5755
 
 
5756
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5757
 
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5758
 
# Try some XSI features
5759
 
xsi_shell=no
5760
 
( _lt_dummy="a/b/c"
5761
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5762
 
      = c,a/b,b/c, \
5763
 
    && eval 'test $(( 1 + 1 )) -eq 2 \
5764
 
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5765
 
  && xsi_shell=yes
5766
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5767
 
$as_echo "$xsi_shell" >&6; }
5768
 
 
5769
 
 
5770
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5771
 
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5772
 
lt_shell_append=no
5773
 
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5774
 
    >/dev/null 2>&1 \
5775
 
  && lt_shell_append=yes
5776
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5777
 
$as_echo "$lt_shell_append" >&6; }
5778
 
 
5779
 
 
5780
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5781
 
  lt_unset=unset
5782
 
else
5783
 
  lt_unset=false
5784
 
fi
5785
 
 
5786
 
 
5787
 
 
5788
 
 
5789
 
 
5790
 
# test EBCDIC or ASCII
5791
 
case `echo X|tr X '\101'` in
5792
 
 A) # ASCII based system
5793
 
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5794
 
  lt_SP2NL='tr \040 \012'
5795
 
  lt_NL2SP='tr \015\012 \040\040'
5796
 
  ;;
5797
 
 *) # EBCDIC based system
5798
 
  lt_SP2NL='tr \100 \n'
5799
 
  lt_NL2SP='tr \r\n \100\100'
5800
 
  ;;
5801
 
esac
5802
 
 
5803
 
 
5804
 
 
5805
 
 
5806
 
 
5807
 
 
5808
 
 
5809
 
 
5810
 
 
5811
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5812
 
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5813
 
if ${lt_cv_to_host_file_cmd+:} false; then :
5814
 
  $as_echo_n "(cached) " >&6
5815
 
else
5816
 
  case $host in
5817
 
  *-*-mingw* )
5818
 
    case $build in
5819
 
      *-*-mingw* ) # actually msys
5820
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5821
 
        ;;
5822
 
      *-*-cygwin* )
5823
 
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5824
 
        ;;
5825
 
      * ) # otherwise, assume *nix
5826
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5827
 
        ;;
5828
 
    esac
5829
 
    ;;
5830
 
  *-*-cygwin* )
5831
 
    case $build in
5832
 
      *-*-mingw* ) # actually msys
5833
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5834
 
        ;;
5835
 
      *-*-cygwin* )
5836
 
        lt_cv_to_host_file_cmd=func_convert_file_noop
5837
 
        ;;
5838
 
      * ) # otherwise, assume *nix
5839
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5840
 
        ;;
5841
 
    esac
5842
 
    ;;
5843
 
  * ) # unhandled hosts (and "normal" native builds)
5844
 
    lt_cv_to_host_file_cmd=func_convert_file_noop
5845
 
    ;;
5846
 
esac
5847
 
 
5848
 
fi
5849
 
 
5850
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
5851
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5852
 
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5853
 
 
5854
 
 
5855
 
 
5856
 
 
5857
 
 
5858
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5859
 
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5860
 
if ${lt_cv_to_tool_file_cmd+:} false; then :
5861
 
  $as_echo_n "(cached) " >&6
5862
 
else
5863
 
  #assume ordinary cross tools, or native build.
5864
 
lt_cv_to_tool_file_cmd=func_convert_file_noop
5865
 
case $host in
5866
 
  *-*-mingw* )
5867
 
    case $build in
5868
 
      *-*-mingw* ) # actually msys
5869
 
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5870
 
        ;;
5871
 
    esac
5872
 
    ;;
5873
 
esac
5874
 
 
5875
 
fi
5876
 
 
5877
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5878
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5879
 
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5880
 
 
5881
 
 
5882
 
 
5883
 
 
5884
 
 
5885
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5886
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5887
 
if ${lt_cv_ld_reload_flag+:} false; then :
5888
 
  $as_echo_n "(cached) " >&6
5889
 
else
5890
 
  lt_cv_ld_reload_flag='-r'
5891
 
fi
5892
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5893
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5894
 
reload_flag=$lt_cv_ld_reload_flag
5895
 
case $reload_flag in
5896
 
"" | " "*) ;;
5897
 
*) reload_flag=" $reload_flag" ;;
5898
 
esac
5899
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5900
 
case $host_os in
5901
 
  cygwin* | mingw* | pw32* | cegcc*)
5902
 
    if test "$GCC" != yes; then
5903
 
      reload_cmds=false
5904
 
    fi
5905
 
    ;;
5906
 
  darwin*)
5907
 
    if test "$GCC" = yes; then
5908
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5909
 
    else
5910
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5911
 
    fi
5912
 
    ;;
5913
 
esac
5914
 
 
5915
 
 
5916
 
 
5917
 
 
5918
 
 
5919
 
 
5920
 
 
5921
 
 
5922
 
 
5923
 
if test -n "$ac_tool_prefix"; then
5924
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5925
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5926
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5927
 
$as_echo_n "checking for $ac_word... " >&6; }
5928
 
if ${ac_cv_prog_OBJDUMP+:} false; then :
5929
 
  $as_echo_n "(cached) " >&6
5930
 
else
5931
 
  if test -n "$OBJDUMP"; then
5932
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5933
 
else
5934
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5935
 
for as_dir in $PATH
5936
 
do
5937
 
  IFS=$as_save_IFS
5938
 
  test -z "$as_dir" && as_dir=.
5939
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5940
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5941
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5942
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5943
 
    break 2
5944
 
  fi
5945
 
done
5946
 
  done
5947
 
IFS=$as_save_IFS
5948
 
 
5949
 
fi
5950
 
fi
5951
 
OBJDUMP=$ac_cv_prog_OBJDUMP
5952
 
if test -n "$OBJDUMP"; then
5953
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5954
 
$as_echo "$OBJDUMP" >&6; }
5955
 
else
5956
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5957
 
$as_echo "no" >&6; }
5958
 
fi
5959
 
 
5960
 
 
5961
 
fi
5962
 
if test -z "$ac_cv_prog_OBJDUMP"; then
5963
 
  ac_ct_OBJDUMP=$OBJDUMP
5964
 
  # Extract the first word of "objdump", so it can be a program name with args.
5965
 
set dummy objdump; ac_word=$2
5966
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5967
 
$as_echo_n "checking for $ac_word... " >&6; }
5968
 
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5969
 
  $as_echo_n "(cached) " >&6
5970
 
else
5971
 
  if test -n "$ac_ct_OBJDUMP"; then
5972
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5973
 
else
5974
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5975
 
for as_dir in $PATH
5976
 
do
5977
 
  IFS=$as_save_IFS
5978
 
  test -z "$as_dir" && as_dir=.
5979
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5980
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5981
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5982
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5983
 
    break 2
5984
 
  fi
5985
 
done
5986
 
  done
5987
 
IFS=$as_save_IFS
5988
 
 
5989
 
fi
5990
 
fi
5991
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5992
 
if test -n "$ac_ct_OBJDUMP"; then
5993
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5994
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
5995
 
else
5996
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5997
 
$as_echo "no" >&6; }
5998
 
fi
5999
 
 
6000
 
  if test "x$ac_ct_OBJDUMP" = x; then
6001
 
    OBJDUMP="false"
6002
 
  else
6003
 
    case $cross_compiling:$ac_tool_warned in
6004
 
yes:)
6005
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6006
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6007
 
ac_tool_warned=yes ;;
6008
 
esac
6009
 
    OBJDUMP=$ac_ct_OBJDUMP
6010
 
  fi
6011
 
else
6012
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
6013
 
fi
6014
 
 
6015
 
test -z "$OBJDUMP" && OBJDUMP=objdump
6016
 
 
6017
 
 
6018
 
 
6019
 
 
6020
 
 
6021
 
 
6022
 
 
6023
 
 
6024
 
 
6025
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6026
 
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6027
 
if ${lt_cv_deplibs_check_method+:} false; then :
6028
 
  $as_echo_n "(cached) " >&6
6029
 
else
6030
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6031
 
lt_cv_file_magic_test_file=
6032
 
lt_cv_deplibs_check_method='unknown'
6033
 
# Need to set the preceding variable on all platforms that support
6034
 
# interlibrary dependencies.
6035
 
# 'none' -- dependencies not supported.
6036
 
# `unknown' -- same as none, but documents that we really don't know.
6037
 
# 'pass_all' -- all dependencies passed with no checks.
6038
 
# 'test_compile' -- check by making test program.
6039
 
# 'file_magic [[regex]]' -- check by looking for files in library path
6040
 
# which responds to the $file_magic_cmd with a given extended regex.
6041
 
# If you have `file' or equivalent on your system and you're not sure
6042
 
# whether `pass_all' will *always* work, you probably want this one.
6043
 
 
6044
 
case $host_os in
6045
 
aix[4-9]*)
6046
 
  lt_cv_deplibs_check_method=pass_all
6047
 
  ;;
6048
 
 
6049
 
beos*)
6050
 
  lt_cv_deplibs_check_method=pass_all
6051
 
  ;;
6052
 
 
6053
 
bsdi[45]*)
6054
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6055
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
6056
 
  lt_cv_file_magic_test_file=/shlib/libc.so
6057
 
  ;;
6058
 
 
6059
 
cygwin*)
6060
 
  # func_win32_libid is a shell function defined in ltmain.sh
6061
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6062
 
  lt_cv_file_magic_cmd='func_win32_libid'
6063
 
  ;;
6064
 
 
6065
 
mingw* | pw32*)
6066
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
6067
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6068
 
  # unless we find 'file', for example because we are cross-compiling.
6069
 
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6070
 
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6071
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6072
 
    lt_cv_file_magic_cmd='func_win32_libid'
6073
 
  else
6074
 
    # Keep this pattern in sync with the one in func_win32_libid.
6075
 
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6076
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
6077
 
  fi
6078
 
  ;;
6079
 
 
6080
 
cegcc*)
6081
 
  # use the weaker test based on 'objdump'. See mingw*.
6082
 
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6083
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6084
 
  ;;
6085
 
 
6086
 
darwin* | rhapsody*)
6087
 
  lt_cv_deplibs_check_method=pass_all
6088
 
  ;;
6089
 
 
6090
 
freebsd* | dragonfly*)
6091
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6092
 
    case $host_cpu in
6093
 
    i*86 )
6094
 
      # Not sure whether the presence of OpenBSD here was a mistake.
6095
 
      # Let's accept both of them until this is cleared up.
6096
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6097
 
      lt_cv_file_magic_cmd=/usr/bin/file
6098
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6099
 
      ;;
6100
 
    esac
6101
 
  else
6102
 
    lt_cv_deplibs_check_method=pass_all
6103
 
  fi
6104
 
  ;;
6105
 
 
6106
 
gnu*)
6107
 
  lt_cv_deplibs_check_method=pass_all
6108
 
  ;;
6109
 
 
6110
 
haiku*)
6111
 
  lt_cv_deplibs_check_method=pass_all
6112
 
  ;;
6113
 
 
6114
 
hpux10.20* | hpux11*)
6115
 
  lt_cv_file_magic_cmd=/usr/bin/file
6116
 
  case $host_cpu in
6117
 
  ia64*)
6118
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6119
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6120
 
    ;;
6121
 
  hppa*64*)
6122
 
    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]'
6123
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6124
 
    ;;
6125
 
  *)
6126
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6127
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6128
 
    ;;
6129
 
  esac
6130
 
  ;;
6131
 
 
6132
 
interix[3-9]*)
6133
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6134
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6135
 
  ;;
6136
 
 
6137
 
irix5* | irix6* | nonstopux*)
6138
 
  case $LD in
6139
 
  *-32|*"-32 ") libmagic=32-bit;;
6140
 
  *-n32|*"-n32 ") libmagic=N32;;
6141
 
  *-64|*"-64 ") libmagic=64-bit;;
6142
 
  *) libmagic=never-match;;
6143
 
  esac
6144
 
  lt_cv_deplibs_check_method=pass_all
6145
 
  ;;
6146
 
 
6147
 
# This must be Linux ELF.
6148
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6149
 
  lt_cv_deplibs_check_method=pass_all
6150
 
  ;;
6151
 
 
6152
 
netbsd* | netbsdelf*-gnu)
6153
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6154
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6155
 
  else
6156
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6157
 
  fi
6158
 
  ;;
6159
 
 
6160
 
newos6*)
6161
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6162
 
  lt_cv_file_magic_cmd=/usr/bin/file
6163
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6164
 
  ;;
6165
 
 
6166
 
*nto* | *qnx*)
6167
 
  lt_cv_deplibs_check_method=pass_all
6168
 
  ;;
6169
 
 
6170
 
openbsd*)
6171
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6172
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6173
 
  else
6174
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6175
 
  fi
6176
 
  ;;
6177
 
 
6178
 
osf3* | osf4* | osf5*)
6179
 
  lt_cv_deplibs_check_method=pass_all
6180
 
  ;;
6181
 
 
6182
 
rdos*)
6183
 
  lt_cv_deplibs_check_method=pass_all
6184
 
  ;;
6185
 
 
6186
 
solaris*)
6187
 
  lt_cv_deplibs_check_method=pass_all
6188
 
  ;;
6189
 
 
6190
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6191
 
  lt_cv_deplibs_check_method=pass_all
6192
 
  ;;
6193
 
 
6194
 
sysv4 | sysv4.3*)
6195
 
  case $host_vendor in
6196
 
  motorola)
6197
 
    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]'
6198
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6199
 
    ;;
6200
 
  ncr)
6201
 
    lt_cv_deplibs_check_method=pass_all
6202
 
    ;;
6203
 
  sequent)
6204
 
    lt_cv_file_magic_cmd='/bin/file'
6205
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6206
 
    ;;
6207
 
  sni)
6208
 
    lt_cv_file_magic_cmd='/bin/file'
6209
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6210
 
    lt_cv_file_magic_test_file=/lib/libc.so
6211
 
    ;;
6212
 
  siemens)
6213
 
    lt_cv_deplibs_check_method=pass_all
6214
 
    ;;
6215
 
  pc)
6216
 
    lt_cv_deplibs_check_method=pass_all
6217
 
    ;;
6218
 
  esac
6219
 
  ;;
6220
 
 
6221
 
tpf*)
6222
 
  lt_cv_deplibs_check_method=pass_all
6223
 
  ;;
6224
 
esac
6225
 
 
6226
 
fi
6227
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6228
 
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6229
 
 
6230
 
file_magic_glob=
6231
 
want_nocaseglob=no
6232
 
if test "$build" = "$host"; then
6233
 
  case $host_os in
6234
 
  mingw* | pw32*)
6235
 
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6236
 
      want_nocaseglob=yes
6237
 
    else
6238
 
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6239
 
    fi
6240
 
    ;;
6241
 
  esac
6242
 
fi
6243
 
 
6244
 
file_magic_cmd=$lt_cv_file_magic_cmd
6245
 
deplibs_check_method=$lt_cv_deplibs_check_method
6246
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6247
 
 
6248
 
 
6249
 
 
6250
 
 
6251
 
 
6252
 
 
6253
 
 
6254
 
 
6255
 
 
6256
 
 
6257
 
 
6258
 
 
6259
 
 
6260
 
 
6261
 
 
6262
 
 
6263
 
 
6264
 
 
6265
 
 
6266
 
 
6267
 
 
6268
 
 
6269
 
if test -n "$ac_tool_prefix"; then
6270
 
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6271
 
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6272
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6273
 
$as_echo_n "checking for $ac_word... " >&6; }
6274
 
if ${ac_cv_prog_DLLTOOL+:} false; then :
6275
 
  $as_echo_n "(cached) " >&6
6276
 
else
6277
 
  if test -n "$DLLTOOL"; then
6278
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6279
 
else
6280
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6281
 
for as_dir in $PATH
6282
 
do
6283
 
  IFS=$as_save_IFS
6284
 
  test -z "$as_dir" && as_dir=.
6285
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6286
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6287
 
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6288
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6289
 
    break 2
6290
 
  fi
6291
 
done
6292
 
  done
6293
 
IFS=$as_save_IFS
6294
 
 
6295
 
fi
6296
 
fi
6297
 
DLLTOOL=$ac_cv_prog_DLLTOOL
6298
 
if test -n "$DLLTOOL"; then
6299
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6300
 
$as_echo "$DLLTOOL" >&6; }
6301
 
else
6302
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6303
 
$as_echo "no" >&6; }
6304
 
fi
6305
 
 
6306
 
 
6307
 
fi
6308
 
if test -z "$ac_cv_prog_DLLTOOL"; then
6309
 
  ac_ct_DLLTOOL=$DLLTOOL
6310
 
  # Extract the first word of "dlltool", so it can be a program name with args.
6311
 
set dummy dlltool; ac_word=$2
6312
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6313
 
$as_echo_n "checking for $ac_word... " >&6; }
6314
 
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6315
 
  $as_echo_n "(cached) " >&6
6316
 
else
6317
 
  if test -n "$ac_ct_DLLTOOL"; then
6318
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6319
 
else
6320
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6321
 
for as_dir in $PATH
6322
 
do
6323
 
  IFS=$as_save_IFS
6324
 
  test -z "$as_dir" && as_dir=.
6325
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6326
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6327
 
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6328
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6329
 
    break 2
6330
 
  fi
6331
 
done
6332
 
  done
6333
 
IFS=$as_save_IFS
6334
 
 
6335
 
fi
6336
 
fi
6337
 
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6338
 
if test -n "$ac_ct_DLLTOOL"; then
6339
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6340
 
$as_echo "$ac_ct_DLLTOOL" >&6; }
6341
 
else
6342
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6343
 
$as_echo "no" >&6; }
6344
 
fi
6345
 
 
6346
 
  if test "x$ac_ct_DLLTOOL" = x; then
6347
 
    DLLTOOL="false"
6348
 
  else
6349
 
    case $cross_compiling:$ac_tool_warned in
6350
 
yes:)
6351
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6352
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6353
 
ac_tool_warned=yes ;;
6354
 
esac
6355
 
    DLLTOOL=$ac_ct_DLLTOOL
6356
 
  fi
6357
 
else
6358
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
6359
 
fi
6360
 
 
6361
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
6362
 
 
6363
 
 
6364
 
 
6365
 
 
6366
 
 
6367
 
 
6368
 
 
6369
 
 
6370
 
 
6371
 
 
6372
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6373
 
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6374
 
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6375
 
  $as_echo_n "(cached) " >&6
6376
 
else
6377
 
  lt_cv_sharedlib_from_linklib_cmd='unknown'
6378
 
 
6379
 
case $host_os in
6380
 
cygwin* | mingw* | pw32* | cegcc*)
6381
 
  # two different shell functions defined in ltmain.sh
6382
 
  # decide which to use based on capabilities of $DLLTOOL
6383
 
  case `$DLLTOOL --help 2>&1` in
6384
 
  *--identify-strict*)
6385
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6386
 
    ;;
6387
 
  *)
6388
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6389
 
    ;;
6390
 
  esac
6391
 
  ;;
6392
 
*)
6393
 
  # fallback: assume linklib IS sharedlib
6394
 
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6395
 
  ;;
6396
 
esac
6397
 
 
6398
 
fi
6399
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6400
 
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6401
 
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6402
 
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6403
 
 
6404
 
 
6405
 
 
6406
 
 
6407
 
 
6408
 
 
6409
 
 
6410
 
 
6411
 
if test -n "$ac_tool_prefix"; then
6412
 
  for ac_prog in ar
6413
 
  do
6414
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6415
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6416
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6417
 
$as_echo_n "checking for $ac_word... " >&6; }
6418
 
if ${ac_cv_prog_AR+:} false; then :
6419
 
  $as_echo_n "(cached) " >&6
6420
 
else
6421
 
  if test -n "$AR"; then
6422
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
6423
 
else
6424
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6425
 
for as_dir in $PATH
6426
 
do
6427
 
  IFS=$as_save_IFS
6428
 
  test -z "$as_dir" && as_dir=.
6429
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6430
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6431
 
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6432
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6433
 
    break 2
6434
 
  fi
6435
 
done
6436
 
  done
6437
 
IFS=$as_save_IFS
6438
 
 
6439
 
fi
6440
 
fi
6441
 
AR=$ac_cv_prog_AR
6442
 
if test -n "$AR"; then
6443
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6444
 
$as_echo "$AR" >&6; }
6445
 
else
6446
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6447
 
$as_echo "no" >&6; }
6448
 
fi
6449
 
 
6450
 
 
6451
 
    test -n "$AR" && break
6452
 
  done
6453
 
fi
6454
 
if test -z "$AR"; then
6455
 
  ac_ct_AR=$AR
6456
 
  for ac_prog in ar
6457
 
do
6458
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6459
 
set dummy $ac_prog; ac_word=$2
6460
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6461
 
$as_echo_n "checking for $ac_word... " >&6; }
6462
 
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6463
 
  $as_echo_n "(cached) " >&6
6464
 
else
6465
 
  if test -n "$ac_ct_AR"; then
6466
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6467
 
else
6468
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6469
 
for as_dir in $PATH
6470
 
do
6471
 
  IFS=$as_save_IFS
6472
 
  test -z "$as_dir" && as_dir=.
6473
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6474
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6475
 
    ac_cv_prog_ac_ct_AR="$ac_prog"
6476
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6477
 
    break 2
6478
 
  fi
6479
 
done
6480
 
  done
6481
 
IFS=$as_save_IFS
6482
 
 
6483
 
fi
6484
 
fi
6485
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6486
 
if test -n "$ac_ct_AR"; then
6487
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6488
 
$as_echo "$ac_ct_AR" >&6; }
6489
 
else
6490
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6491
 
$as_echo "no" >&6; }
6492
 
fi
6493
 
 
6494
 
 
6495
 
  test -n "$ac_ct_AR" && break
6496
 
done
6497
 
 
6498
 
  if test "x$ac_ct_AR" = x; then
6499
 
    AR="false"
6500
 
  else
6501
 
    case $cross_compiling:$ac_tool_warned in
6502
 
yes:)
6503
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6504
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6505
 
ac_tool_warned=yes ;;
6506
 
esac
6507
 
    AR=$ac_ct_AR
6508
 
  fi
6509
 
fi
6510
 
 
6511
 
: ${AR=ar}
6512
 
: ${AR_FLAGS=cru}
6513
 
 
6514
 
 
6515
 
 
6516
 
 
6517
 
 
6518
 
 
6519
 
 
6520
 
 
6521
 
 
6522
 
 
6523
 
 
6524
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6525
 
$as_echo_n "checking for archiver @FILE support... " >&6; }
6526
 
if ${lt_cv_ar_at_file+:} false; then :
6527
 
  $as_echo_n "(cached) " >&6
6528
 
else
6529
 
  lt_cv_ar_at_file=no
6530
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6531
 
/* end confdefs.h.  */
6532
 
 
6533
 
int
6534
 
main ()
6535
 
{
6536
 
 
6537
 
  ;
6538
 
  return 0;
6539
 
}
6540
 
_ACEOF
6541
 
if ac_fn_c_try_compile "$LINENO"; then :
6542
 
  echo conftest.$ac_objext > conftest.lst
6543
 
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6544
 
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6545
 
  (eval $lt_ar_try) 2>&5
6546
 
  ac_status=$?
6547
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6548
 
  test $ac_status = 0; }
6549
 
      if test "$ac_status" -eq 0; then
6550
 
        # Ensure the archiver fails upon bogus file names.
6551
 
        rm -f conftest.$ac_objext libconftest.a
6552
 
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6553
 
  (eval $lt_ar_try) 2>&5
6554
 
  ac_status=$?
6555
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6556
 
  test $ac_status = 0; }
6557
 
        if test "$ac_status" -ne 0; then
6558
 
          lt_cv_ar_at_file=@
6559
 
        fi
6560
 
      fi
6561
 
      rm -f conftest.* libconftest.a
6562
 
 
6563
 
fi
6564
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6565
 
 
6566
 
fi
6567
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6568
 
$as_echo "$lt_cv_ar_at_file" >&6; }
6569
 
 
6570
 
if test "x$lt_cv_ar_at_file" = xno; then
6571
 
  archiver_list_spec=
6572
 
else
6573
 
  archiver_list_spec=$lt_cv_ar_at_file
6574
 
fi
6575
 
 
6576
 
 
6577
 
 
6578
 
 
6579
 
 
6580
 
 
6581
 
 
6582
 
if test -n "$ac_tool_prefix"; then
6583
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6584
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
6585
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6586
 
$as_echo_n "checking for $ac_word... " >&6; }
6587
 
if ${ac_cv_prog_STRIP+:} false; then :
6588
 
  $as_echo_n "(cached) " >&6
6589
 
else
6590
 
  if test -n "$STRIP"; then
6591
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6592
 
else
6593
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6594
 
for as_dir in $PATH
6595
 
do
6596
 
  IFS=$as_save_IFS
6597
 
  test -z "$as_dir" && as_dir=.
6598
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6599
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6600
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6601
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6602
 
    break 2
6603
 
  fi
6604
 
done
6605
 
  done
6606
 
IFS=$as_save_IFS
6607
 
 
6608
 
fi
6609
 
fi
6610
 
STRIP=$ac_cv_prog_STRIP
6611
 
if test -n "$STRIP"; then
6612
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6613
 
$as_echo "$STRIP" >&6; }
6614
 
else
6615
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6616
 
$as_echo "no" >&6; }
6617
 
fi
6618
 
 
6619
 
 
6620
 
fi
6621
 
if test -z "$ac_cv_prog_STRIP"; then
6622
 
  ac_ct_STRIP=$STRIP
6623
 
  # Extract the first word of "strip", so it can be a program name with args.
6624
 
set dummy strip; ac_word=$2
6625
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6626
 
$as_echo_n "checking for $ac_word... " >&6; }
6627
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6628
 
  $as_echo_n "(cached) " >&6
6629
 
else
6630
 
  if test -n "$ac_ct_STRIP"; then
6631
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6632
 
else
6633
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6634
 
for as_dir in $PATH
6635
 
do
6636
 
  IFS=$as_save_IFS
6637
 
  test -z "$as_dir" && as_dir=.
6638
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6639
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6640
 
    ac_cv_prog_ac_ct_STRIP="strip"
6641
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6642
 
    break 2
6643
 
  fi
6644
 
done
6645
 
  done
6646
 
IFS=$as_save_IFS
6647
 
 
6648
 
fi
6649
 
fi
6650
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6651
 
if test -n "$ac_ct_STRIP"; then
6652
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6653
 
$as_echo "$ac_ct_STRIP" >&6; }
6654
 
else
6655
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6656
 
$as_echo "no" >&6; }
6657
 
fi
6658
 
 
6659
 
  if test "x$ac_ct_STRIP" = x; then
6660
 
    STRIP=":"
6661
 
  else
6662
 
    case $cross_compiling:$ac_tool_warned in
6663
 
yes:)
6664
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6665
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6666
 
ac_tool_warned=yes ;;
6667
 
esac
6668
 
    STRIP=$ac_ct_STRIP
6669
 
  fi
6670
 
else
6671
 
  STRIP="$ac_cv_prog_STRIP"
6672
 
fi
6673
 
 
6674
 
test -z "$STRIP" && STRIP=:
6675
 
 
6676
 
 
6677
 
 
6678
 
 
6679
 
 
6680
 
 
6681
 
if test -n "$ac_tool_prefix"; then
6682
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6683
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6684
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685
 
$as_echo_n "checking for $ac_word... " >&6; }
6686
 
if ${ac_cv_prog_RANLIB+:} false; then :
6687
 
  $as_echo_n "(cached) " >&6
6688
 
else
6689
 
  if test -n "$RANLIB"; then
6690
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6691
 
else
6692
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6693
 
for as_dir in $PATH
6694
 
do
6695
 
  IFS=$as_save_IFS
6696
 
  test -z "$as_dir" && as_dir=.
6697
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6698
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6699
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6700
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6701
 
    break 2
6702
 
  fi
6703
 
done
6704
 
  done
6705
 
IFS=$as_save_IFS
6706
 
 
6707
 
fi
6708
 
fi
6709
 
RANLIB=$ac_cv_prog_RANLIB
6710
 
if test -n "$RANLIB"; then
6711
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6712
 
$as_echo "$RANLIB" >&6; }
6713
 
else
6714
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6715
 
$as_echo "no" >&6; }
6716
 
fi
6717
 
 
6718
 
 
6719
 
fi
6720
 
if test -z "$ac_cv_prog_RANLIB"; then
6721
 
  ac_ct_RANLIB=$RANLIB
6722
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6723
 
set dummy ranlib; ac_word=$2
6724
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6725
 
$as_echo_n "checking for $ac_word... " >&6; }
6726
 
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6727
 
  $as_echo_n "(cached) " >&6
6728
 
else
6729
 
  if test -n "$ac_ct_RANLIB"; then
6730
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6731
 
else
6732
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6733
 
for as_dir in $PATH
6734
 
do
6735
 
  IFS=$as_save_IFS
6736
 
  test -z "$as_dir" && as_dir=.
6737
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6738
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6739
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6740
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6741
 
    break 2
6742
 
  fi
6743
 
done
6744
 
  done
6745
 
IFS=$as_save_IFS
6746
 
 
6747
 
fi
6748
 
fi
6749
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6750
 
if test -n "$ac_ct_RANLIB"; then
6751
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6752
 
$as_echo "$ac_ct_RANLIB" >&6; }
6753
 
else
6754
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6755
 
$as_echo "no" >&6; }
6756
 
fi
6757
 
 
6758
 
  if test "x$ac_ct_RANLIB" = x; then
6759
 
    RANLIB=":"
6760
 
  else
6761
 
    case $cross_compiling:$ac_tool_warned in
6762
 
yes:)
6763
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6764
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6765
 
ac_tool_warned=yes ;;
6766
 
esac
6767
 
    RANLIB=$ac_ct_RANLIB
6768
 
  fi
6769
 
else
6770
 
  RANLIB="$ac_cv_prog_RANLIB"
6771
 
fi
6772
 
 
6773
 
test -z "$RANLIB" && RANLIB=:
6774
 
 
6775
 
 
6776
 
 
6777
 
 
6778
 
 
6779
 
 
6780
 
# Determine commands to create old-style static archives.
6781
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6782
 
old_postinstall_cmds='chmod 644 $oldlib'
6783
 
old_postuninstall_cmds=
6784
 
 
6785
 
if test -n "$RANLIB"; then
6786
 
  case $host_os in
6787
 
  openbsd*)
6788
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6789
 
    ;;
6790
 
  *)
6791
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6792
 
    ;;
6793
 
  esac
6794
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6795
 
fi
6796
 
 
6797
 
case $host_os in
6798
 
  darwin*)
6799
 
    lock_old_archive_extraction=yes ;;
6800
 
  *)
6801
 
    lock_old_archive_extraction=no ;;
6802
 
esac
6803
 
 
6804
 
 
6805
 
 
6806
 
 
6807
 
 
6808
 
 
6809
 
 
6810
 
 
6811
 
 
6812
 
 
6813
 
 
6814
 
 
6815
 
 
6816
 
 
6817
 
 
6818
 
 
6819
 
 
6820
 
 
6821
 
 
6822
 
 
6823
 
 
6824
 
 
6825
 
 
6826
 
 
6827
 
 
6828
 
 
6829
 
 
6830
 
 
6831
 
 
6832
 
 
6833
 
 
6834
 
 
6835
 
 
6836
 
 
6837
 
 
6838
 
 
6839
 
 
6840
 
 
6841
 
 
6842
 
# If no C compiler was specified, use CC.
6843
 
LTCC=${LTCC-"$CC"}
6844
 
 
6845
 
# If no C compiler flags were specified, use CFLAGS.
6846
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6847
 
 
6848
 
# Allow CC to be a program name with arguments.
6849
 
compiler=$CC
6850
 
 
6851
 
 
6852
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
6853
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6854
 
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6855
 
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6856
 
  $as_echo_n "(cached) " >&6
6857
 
else
6858
 
 
6859
 
# These are sane defaults that work on at least a few old systems.
6860
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6861
 
 
6862
 
# Character class describing NM global symbol codes.
6863
 
symcode='[BCDEGRST]'
6864
 
 
6865
 
# Regexp to match symbols that can be accessed directly from C.
6866
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6867
 
 
6868
 
# Define system-specific variables.
6869
 
case $host_os in
6870
 
aix*)
6871
 
  symcode='[BCDT]'
6872
 
  ;;
6873
 
cygwin* | mingw* | pw32* | cegcc*)
6874
 
  symcode='[ABCDGISTW]'
6875
 
  ;;
6876
 
hpux*)
6877
 
  if test "$host_cpu" = ia64; then
6878
 
    symcode='[ABCDEGRST]'
6879
 
  fi
6880
 
  ;;
6881
 
irix* | nonstopux*)
6882
 
  symcode='[BCDEGRST]'
6883
 
  ;;
6884
 
osf*)
6885
 
  symcode='[BCDEGQRST]'
6886
 
  ;;
6887
 
solaris*)
6888
 
  symcode='[BDRT]'
6889
 
  ;;
6890
 
sco3.2v5*)
6891
 
  symcode='[DT]'
6892
 
  ;;
6893
 
sysv4.2uw2*)
6894
 
  symcode='[DT]'
6895
 
  ;;
6896
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6897
 
  symcode='[ABDT]'
6898
 
  ;;
6899
 
sysv4)
6900
 
  symcode='[DFNSTU]'
6901
 
  ;;
6902
 
esac
6903
 
 
6904
 
# If we're using GNU nm, then use its standard symbol codes.
6905
 
case `$NM -V 2>&1` in
6906
 
*GNU* | *'with BFD'*)
6907
 
  symcode='[ABCDGIRSTW]' ;;
6908
 
esac
6909
 
 
6910
 
# Transform an extracted symbol line into a proper C declaration.
6911
 
# Some systems (esp. on ia64) link data and code symbols differently,
6912
 
# so use this general approach.
6913
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6914
 
 
6915
 
# Transform an extracted symbol line into symbol name and symbol address
6916
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6917
 
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'"
6918
 
 
6919
 
# Handle CRLF in mingw tool chain
6920
 
opt_cr=
6921
 
case $build_os in
6922
 
mingw*)
6923
 
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6924
 
  ;;
6925
 
esac
6926
 
 
6927
 
# Try without a prefix underscore, then with it.
6928
 
for ac_symprfx in "" "_"; do
6929
 
 
6930
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6931
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6932
 
 
6933
 
  # Write the raw and C identifiers.
6934
 
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6935
 
    # Fake it for dumpbin and say T for any non-static function
6936
 
    # and D for any global variable.
6937
 
    # Also find C++ and __fastcall symbols from MSVC++,
6938
 
    # which start with @ or ?.
6939
 
    lt_cv_sys_global_symbol_pipe="$AWK '"\
6940
 
"     {last_section=section; section=\$ 3};"\
6941
 
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6942
 
"     \$ 0!~/External *\|/{next};"\
6943
 
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6944
 
"     {if(hide[section]) next};"\
6945
 
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6946
 
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6947
 
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6948
 
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6949
 
"     ' prfx=^$ac_symprfx"
6950
 
  else
6951
 
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6952
 
  fi
6953
 
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6954
 
 
6955
 
  # Check to see that the pipe works correctly.
6956
 
  pipe_works=no
6957
 
 
6958
 
  rm -f conftest*
6959
 
  cat > conftest.$ac_ext <<_LT_EOF
6960
 
#ifdef __cplusplus
6961
 
extern "C" {
6962
 
#endif
6963
 
char nm_test_var;
6964
 
void nm_test_func(void);
6965
 
void nm_test_func(void){}
6966
 
#ifdef __cplusplus
6967
 
}
6968
 
#endif
6969
 
int main(){nm_test_var='a';nm_test_func();return(0);}
6970
 
_LT_EOF
6971
 
 
6972
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6973
 
  (eval $ac_compile) 2>&5
6974
 
  ac_status=$?
6975
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6976
 
  test $ac_status = 0; }; then
6977
 
    # Now try to grab the symbols.
6978
 
    nlist=conftest.nm
6979
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6980
 
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6981
 
  ac_status=$?
6982
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6983
 
  test $ac_status = 0; } && test -s "$nlist"; then
6984
 
      # Try sorting and uniquifying the output.
6985
 
      if sort "$nlist" | uniq > "$nlist"T; then
6986
 
        mv -f "$nlist"T "$nlist"
6987
 
      else
6988
 
        rm -f "$nlist"T
6989
 
      fi
6990
 
 
6991
 
      # Make sure that we snagged all the symbols we need.
6992
 
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6993
 
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6994
 
          cat <<_LT_EOF > conftest.$ac_ext
6995
 
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6996
 
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6997
 
/* DATA imports from DLLs on WIN32 con't be const, because runtime
6998
 
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6999
 
# define LT_DLSYM_CONST
7000
 
#elif defined(__osf__)
7001
 
/* This system does not cope well with relocations in const data.  */
7002
 
# define LT_DLSYM_CONST
7003
 
#else
7004
 
# define LT_DLSYM_CONST const
7005
 
#endif
7006
 
 
7007
 
#ifdef __cplusplus
7008
 
extern "C" {
7009
 
#endif
7010
 
 
7011
 
_LT_EOF
7012
 
          # Now generate the symbol file.
7013
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7014
 
 
7015
 
          cat <<_LT_EOF >> conftest.$ac_ext
7016
 
 
7017
 
/* The mapping between symbol names and symbols.  */
7018
 
LT_DLSYM_CONST struct {
7019
 
  const char *name;
7020
 
  void       *address;
7021
 
}
7022
 
lt__PROGRAM__LTX_preloaded_symbols[] =
7023
 
{
7024
 
  { "@PROGRAM@", (void *) 0 },
7025
 
_LT_EOF
7026
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7027
 
          cat <<\_LT_EOF >> conftest.$ac_ext
7028
 
  {0, (void *) 0}
7029
 
};
7030
 
 
7031
 
/* This works around a problem in FreeBSD linker */
7032
 
#ifdef FREEBSD_WORKAROUND
7033
 
static const void *lt_preloaded_setup() {
7034
 
  return lt__PROGRAM__LTX_preloaded_symbols;
7035
 
}
7036
 
#endif
7037
 
 
7038
 
#ifdef __cplusplus
7039
 
}
7040
 
#endif
7041
 
_LT_EOF
7042
 
          # Now try linking the two files.
7043
 
          mv conftest.$ac_objext conftstm.$ac_objext
7044
 
          lt_globsym_save_LIBS=$LIBS
7045
 
          lt_globsym_save_CFLAGS=$CFLAGS
7046
 
          LIBS="conftstm.$ac_objext"
7047
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7048
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7049
 
  (eval $ac_link) 2>&5
7050
 
  ac_status=$?
7051
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7052
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7053
 
            pipe_works=yes
7054
 
          fi
7055
 
          LIBS=$lt_globsym_save_LIBS
7056
 
          CFLAGS=$lt_globsym_save_CFLAGS
7057
 
        else
7058
 
          echo "cannot find nm_test_func in $nlist" >&5
7059
 
        fi
7060
 
      else
7061
 
        echo "cannot find nm_test_var in $nlist" >&5
7062
 
      fi
7063
 
    else
7064
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7065
 
    fi
7066
 
  else
7067
 
    echo "$progname: failed program was:" >&5
7068
 
    cat conftest.$ac_ext >&5
7069
 
  fi
7070
 
  rm -rf conftest* conftst*
7071
 
 
7072
 
  # Do not use the global_symbol_pipe unless it works.
7073
 
  if test "$pipe_works" = yes; then
7074
 
    break
7075
 
  else
7076
 
    lt_cv_sys_global_symbol_pipe=
7077
 
  fi
7078
 
done
7079
 
 
7080
 
fi
7081
 
 
7082
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7083
 
  lt_cv_sys_global_symbol_to_cdecl=
7084
 
fi
7085
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7086
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7087
 
$as_echo "failed" >&6; }
7088
 
else
7089
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7090
 
$as_echo "ok" >&6; }
7091
 
fi
7092
 
 
7093
 
# Response file support.
7094
 
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7095
 
  nm_file_list_spec='@'
7096
 
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7097
 
  nm_file_list_spec='@'
7098
 
fi
7099
 
 
7100
 
 
7101
 
 
7102
 
 
7103
 
 
7104
 
 
7105
 
 
7106
 
 
7107
 
 
7108
 
 
7109
 
 
7110
 
 
7111
 
 
7112
 
 
7113
 
 
7114
 
 
7115
 
 
7116
 
 
7117
 
 
7118
 
 
7119
 
 
7120
 
 
7121
 
 
7122
 
 
7123
 
 
7124
 
 
7125
 
 
7126
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7127
 
$as_echo_n "checking for sysroot... " >&6; }
7128
 
 
7129
 
# Check whether --with-sysroot was given.
7130
 
if test "${with_sysroot+set}" = set; then :
7131
 
  withval=$with_sysroot;
7132
 
else
7133
 
  with_sysroot=no
7134
 
fi
7135
 
 
7136
 
 
7137
 
lt_sysroot=
7138
 
case ${with_sysroot} in #(
7139
 
 yes)
7140
 
   if test "$GCC" = yes; then
7141
 
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7142
 
   fi
7143
 
   ;; #(
7144
 
 /*)
7145
 
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7146
 
   ;; #(
7147
 
 no|'')
7148
 
   ;; #(
7149
 
 *)
7150
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7151
 
$as_echo "${with_sysroot}" >&6; }
7152
 
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7153
 
   ;;
7154
 
esac
7155
 
 
7156
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7157
 
$as_echo "${lt_sysroot:-no}" >&6; }
7158
 
 
7159
 
 
7160
 
 
7161
 
 
7162
 
 
7163
 
# Check whether --enable-libtool-lock was given.
7164
 
if test "${enable_libtool_lock+set}" = set; then :
7165
 
  enableval=$enable_libtool_lock;
7166
 
fi
7167
 
 
7168
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7169
 
 
7170
 
# Some flags need to be propagated to the compiler or linker for good
7171
 
# libtool support.
7172
 
case $host in
7173
 
ia64-*-hpux*)
7174
 
  # Find out which ABI we are using.
7175
 
  echo 'int i;' > conftest.$ac_ext
7176
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7177
 
  (eval $ac_compile) 2>&5
7178
 
  ac_status=$?
7179
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7180
 
  test $ac_status = 0; }; then
7181
 
    case `/usr/bin/file conftest.$ac_objext` in
7182
 
      *ELF-32*)
7183
 
        HPUX_IA64_MODE="32"
7184
 
        ;;
7185
 
      *ELF-64*)
7186
 
        HPUX_IA64_MODE="64"
7187
 
        ;;
7188
 
    esac
7189
 
  fi
7190
 
  rm -rf conftest*
7191
 
  ;;
7192
 
*-*-irix6*)
7193
 
  # Find out which ABI we are using.
7194
 
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7195
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7196
 
  (eval $ac_compile) 2>&5
7197
 
  ac_status=$?
7198
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7199
 
  test $ac_status = 0; }; then
7200
 
    if test "$lt_cv_prog_gnu_ld" = yes; then
7201
 
      case `/usr/bin/file conftest.$ac_objext` in
7202
 
        *32-bit*)
7203
 
          LD="${LD-ld} -melf32bsmip"
7204
 
          ;;
7205
 
        *N32*)
7206
 
          LD="${LD-ld} -melf32bmipn32"
7207
 
          ;;
7208
 
        *64-bit*)
7209
 
          LD="${LD-ld} -melf64bmip"
7210
 
        ;;
7211
 
      esac
7212
 
    else
7213
 
      case `/usr/bin/file conftest.$ac_objext` in
7214
 
        *32-bit*)
7215
 
          LD="${LD-ld} -32"
7216
 
          ;;
7217
 
        *N32*)
7218
 
          LD="${LD-ld} -n32"
7219
 
          ;;
7220
 
        *64-bit*)
7221
 
          LD="${LD-ld} -64"
7222
 
          ;;
7223
 
      esac
7224
 
    fi
7225
 
  fi
7226
 
  rm -rf conftest*
7227
 
  ;;
7228
 
 
7229
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7230
 
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7231
 
  # Find out which ABI we are using.
7232
 
  echo 'int i;' > conftest.$ac_ext
7233
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7234
 
  (eval $ac_compile) 2>&5
7235
 
  ac_status=$?
7236
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7237
 
  test $ac_status = 0; }; then
7238
 
    case `/usr/bin/file conftest.o` in
7239
 
      *32-bit*)
7240
 
        case $host in
7241
 
          x86_64-*kfreebsd*-gnu)
7242
 
            LD="${LD-ld} -m elf_i386_fbsd"
7243
 
            ;;
7244
 
          x86_64-*linux*)
7245
 
            LD="${LD-ld} -m elf_i386"
7246
 
            ;;
7247
 
          ppc64-*linux*|powerpc64-*linux*)
7248
 
            LD="${LD-ld} -m elf32ppclinux"
7249
 
            ;;
7250
 
          s390x-*linux*)
7251
 
            LD="${LD-ld} -m elf_s390"
7252
 
            ;;
7253
 
          sparc64-*linux*)
7254
 
            LD="${LD-ld} -m elf32_sparc"
7255
 
            ;;
7256
 
        esac
7257
 
        ;;
7258
 
      *64-bit*)
7259
 
        case $host in
7260
 
          x86_64-*kfreebsd*-gnu)
7261
 
            LD="${LD-ld} -m elf_x86_64_fbsd"
7262
 
            ;;
7263
 
          x86_64-*linux*)
7264
 
            LD="${LD-ld} -m elf_x86_64"
7265
 
            ;;
7266
 
          ppc*-*linux*|powerpc*-*linux*)
7267
 
            LD="${LD-ld} -m elf64ppc"
7268
 
            ;;
7269
 
          s390*-*linux*|s390*-*tpf*)
7270
 
            LD="${LD-ld} -m elf64_s390"
7271
 
            ;;
7272
 
          sparc*-*linux*)
7273
 
            LD="${LD-ld} -m elf64_sparc"
7274
 
            ;;
7275
 
        esac
7276
 
        ;;
7277
 
    esac
7278
 
  fi
7279
 
  rm -rf conftest*
7280
 
  ;;
7281
 
 
7282
 
*-*-sco3.2v5*)
7283
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7284
 
  SAVE_CFLAGS="$CFLAGS"
7285
 
  CFLAGS="$CFLAGS -belf"
7286
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7287
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7288
 
if ${lt_cv_cc_needs_belf+:} false; then :
7289
 
  $as_echo_n "(cached) " >&6
7290
 
else
7291
 
  ac_ext=c
7292
 
ac_cpp='$CPP $CPPFLAGS'
7293
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7294
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7295
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7296
 
 
7297
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7298
 
/* end confdefs.h.  */
7299
 
 
7300
 
int
7301
 
main ()
7302
 
{
7303
 
 
7304
 
  ;
7305
 
  return 0;
7306
 
}
7307
 
_ACEOF
7308
 
if ac_fn_c_try_link "$LINENO"; then :
7309
 
  lt_cv_cc_needs_belf=yes
7310
 
else
7311
 
  lt_cv_cc_needs_belf=no
7312
 
fi
7313
 
rm -f core conftest.err conftest.$ac_objext \
7314
 
    conftest$ac_exeext conftest.$ac_ext
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
 
fi
7322
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7323
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7324
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7325
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7326
 
    CFLAGS="$SAVE_CFLAGS"
7327
 
  fi
7328
 
  ;;
7329
 
sparc*-*solaris*)
7330
 
  # Find out which ABI we are using.
7331
 
  echo 'int i;' > conftest.$ac_ext
7332
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7333
 
  (eval $ac_compile) 2>&5
7334
 
  ac_status=$?
7335
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7336
 
  test $ac_status = 0; }; then
7337
 
    case `/usr/bin/file conftest.o` in
7338
 
    *64-bit*)
7339
 
      case $lt_cv_prog_gnu_ld in
7340
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7341
 
      *)
7342
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7343
 
          LD="${LD-ld} -64"
7344
 
        fi
7345
 
        ;;
7346
 
      esac
7347
 
      ;;
7348
 
    esac
7349
 
  fi
7350
 
  rm -rf conftest*
7351
 
  ;;
7352
 
esac
7353
 
 
7354
 
need_locks="$enable_libtool_lock"
7355
 
 
7356
 
if test -n "$ac_tool_prefix"; then
7357
 
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7358
 
set dummy ${ac_tool_prefix}mt; ac_word=$2
7359
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7360
 
$as_echo_n "checking for $ac_word... " >&6; }
7361
 
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7362
 
  $as_echo_n "(cached) " >&6
7363
 
else
7364
 
  if test -n "$MANIFEST_TOOL"; then
7365
 
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7366
 
else
7367
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7368
 
for as_dir in $PATH
7369
 
do
7370
 
  IFS=$as_save_IFS
7371
 
  test -z "$as_dir" && as_dir=.
7372
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7373
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7374
 
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7375
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7376
 
    break 2
7377
 
  fi
7378
 
done
7379
 
  done
7380
 
IFS=$as_save_IFS
7381
 
 
7382
 
fi
7383
 
fi
7384
 
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7385
 
if test -n "$MANIFEST_TOOL"; then
7386
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7387
 
$as_echo "$MANIFEST_TOOL" >&6; }
7388
 
else
7389
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7390
 
$as_echo "no" >&6; }
7391
 
fi
7392
 
 
7393
 
 
7394
 
fi
7395
 
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7396
 
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7397
 
  # Extract the first word of "mt", so it can be a program name with args.
7398
 
set dummy mt; ac_word=$2
7399
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7400
 
$as_echo_n "checking for $ac_word... " >&6; }
7401
 
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7402
 
  $as_echo_n "(cached) " >&6
7403
 
else
7404
 
  if test -n "$ac_ct_MANIFEST_TOOL"; then
7405
 
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7406
 
else
7407
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7408
 
for as_dir in $PATH
7409
 
do
7410
 
  IFS=$as_save_IFS
7411
 
  test -z "$as_dir" && as_dir=.
7412
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7413
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7414
 
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7415
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7416
 
    break 2
7417
 
  fi
7418
 
done
7419
 
  done
7420
 
IFS=$as_save_IFS
7421
 
 
7422
 
fi
7423
 
fi
7424
 
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7425
 
if test -n "$ac_ct_MANIFEST_TOOL"; then
7426
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7427
 
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7428
 
else
7429
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7430
 
$as_echo "no" >&6; }
7431
 
fi
7432
 
 
7433
 
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7434
 
    MANIFEST_TOOL=":"
7435
 
  else
7436
 
    case $cross_compiling:$ac_tool_warned in
7437
 
yes:)
7438
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7439
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7440
 
ac_tool_warned=yes ;;
7441
 
esac
7442
 
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7443
 
  fi
7444
 
else
7445
 
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7446
 
fi
7447
 
 
7448
 
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7449
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7450
 
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7451
 
if ${lt_cv_path_mainfest_tool+:} false; then :
7452
 
  $as_echo_n "(cached) " >&6
7453
 
else
7454
 
  lt_cv_path_mainfest_tool=no
7455
 
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7456
 
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7457
 
  cat conftest.err >&5
7458
 
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7459
 
    lt_cv_path_mainfest_tool=yes
7460
 
  fi
7461
 
  rm -f conftest*
7462
 
fi
7463
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7464
 
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7465
 
if test "x$lt_cv_path_mainfest_tool" != xyes; then
7466
 
  MANIFEST_TOOL=:
7467
 
fi
7468
 
 
7469
 
 
7470
 
 
7471
 
 
7472
 
 
7473
 
 
7474
 
  case $host_os in
7475
 
    rhapsody* | darwin*)
7476
 
    if test -n "$ac_tool_prefix"; then
7477
 
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7478
 
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7479
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7480
 
$as_echo_n "checking for $ac_word... " >&6; }
7481
 
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7482
 
  $as_echo_n "(cached) " >&6
7483
 
else
7484
 
  if test -n "$DSYMUTIL"; then
7485
 
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7486
 
else
7487
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7488
 
for as_dir in $PATH
7489
 
do
7490
 
  IFS=$as_save_IFS
7491
 
  test -z "$as_dir" && as_dir=.
7492
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7493
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7494
 
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7495
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7496
 
    break 2
7497
 
  fi
7498
 
done
7499
 
  done
7500
 
IFS=$as_save_IFS
7501
 
 
7502
 
fi
7503
 
fi
7504
 
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7505
 
if test -n "$DSYMUTIL"; then
7506
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7507
 
$as_echo "$DSYMUTIL" >&6; }
7508
 
else
7509
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7510
 
$as_echo "no" >&6; }
7511
 
fi
7512
 
 
7513
 
 
7514
 
fi
7515
 
if test -z "$ac_cv_prog_DSYMUTIL"; then
7516
 
  ac_ct_DSYMUTIL=$DSYMUTIL
7517
 
  # Extract the first word of "dsymutil", so it can be a program name with args.
7518
 
set dummy dsymutil; ac_word=$2
7519
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7520
 
$as_echo_n "checking for $ac_word... " >&6; }
7521
 
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7522
 
  $as_echo_n "(cached) " >&6
7523
 
else
7524
 
  if test -n "$ac_ct_DSYMUTIL"; then
7525
 
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7526
 
else
7527
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7528
 
for as_dir in $PATH
7529
 
do
7530
 
  IFS=$as_save_IFS
7531
 
  test -z "$as_dir" && as_dir=.
7532
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7533
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7534
 
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7535
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7536
 
    break 2
7537
 
  fi
7538
 
done
7539
 
  done
7540
 
IFS=$as_save_IFS
7541
 
 
7542
 
fi
7543
 
fi
7544
 
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7545
 
if test -n "$ac_ct_DSYMUTIL"; then
7546
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7547
 
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7548
 
else
7549
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7550
 
$as_echo "no" >&6; }
7551
 
fi
7552
 
 
7553
 
  if test "x$ac_ct_DSYMUTIL" = x; then
7554
 
    DSYMUTIL=":"
7555
 
  else
7556
 
    case $cross_compiling:$ac_tool_warned in
7557
 
yes:)
7558
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7559
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7560
 
ac_tool_warned=yes ;;
7561
 
esac
7562
 
    DSYMUTIL=$ac_ct_DSYMUTIL
7563
 
  fi
7564
 
else
7565
 
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7566
 
fi
7567
 
 
7568
 
    if test -n "$ac_tool_prefix"; then
7569
 
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7570
 
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7571
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7572
 
$as_echo_n "checking for $ac_word... " >&6; }
7573
 
if ${ac_cv_prog_NMEDIT+:} false; then :
7574
 
  $as_echo_n "(cached) " >&6
7575
 
else
7576
 
  if test -n "$NMEDIT"; then
7577
 
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7578
 
else
7579
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7580
 
for as_dir in $PATH
7581
 
do
7582
 
  IFS=$as_save_IFS
7583
 
  test -z "$as_dir" && as_dir=.
7584
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7585
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7586
 
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7587
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7588
 
    break 2
7589
 
  fi
7590
 
done
7591
 
  done
7592
 
IFS=$as_save_IFS
7593
 
 
7594
 
fi
7595
 
fi
7596
 
NMEDIT=$ac_cv_prog_NMEDIT
7597
 
if test -n "$NMEDIT"; then
7598
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7599
 
$as_echo "$NMEDIT" >&6; }
7600
 
else
7601
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7602
 
$as_echo "no" >&6; }
7603
 
fi
7604
 
 
7605
 
 
7606
 
fi
7607
 
if test -z "$ac_cv_prog_NMEDIT"; then
7608
 
  ac_ct_NMEDIT=$NMEDIT
7609
 
  # Extract the first word of "nmedit", so it can be a program name with args.
7610
 
set dummy nmedit; ac_word=$2
7611
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7612
 
$as_echo_n "checking for $ac_word... " >&6; }
7613
 
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7614
 
  $as_echo_n "(cached) " >&6
7615
 
else
7616
 
  if test -n "$ac_ct_NMEDIT"; then
7617
 
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7618
 
else
7619
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7620
 
for as_dir in $PATH
7621
 
do
7622
 
  IFS=$as_save_IFS
7623
 
  test -z "$as_dir" && as_dir=.
7624
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7625
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7626
 
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7627
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7628
 
    break 2
7629
 
  fi
7630
 
done
7631
 
  done
7632
 
IFS=$as_save_IFS
7633
 
 
7634
 
fi
7635
 
fi
7636
 
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7637
 
if test -n "$ac_ct_NMEDIT"; then
7638
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7639
 
$as_echo "$ac_ct_NMEDIT" >&6; }
7640
 
else
7641
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7642
 
$as_echo "no" >&6; }
7643
 
fi
7644
 
 
7645
 
  if test "x$ac_ct_NMEDIT" = x; then
7646
 
    NMEDIT=":"
7647
 
  else
7648
 
    case $cross_compiling:$ac_tool_warned in
7649
 
yes:)
7650
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7651
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7652
 
ac_tool_warned=yes ;;
7653
 
esac
7654
 
    NMEDIT=$ac_ct_NMEDIT
7655
 
  fi
7656
 
else
7657
 
  NMEDIT="$ac_cv_prog_NMEDIT"
7658
 
fi
7659
 
 
7660
 
    if test -n "$ac_tool_prefix"; then
7661
 
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7662
 
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7663
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7664
 
$as_echo_n "checking for $ac_word... " >&6; }
7665
 
if ${ac_cv_prog_LIPO+:} false; then :
7666
 
  $as_echo_n "(cached) " >&6
7667
 
else
7668
 
  if test -n "$LIPO"; then
7669
 
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7670
 
else
7671
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7672
 
for as_dir in $PATH
7673
 
do
7674
 
  IFS=$as_save_IFS
7675
 
  test -z "$as_dir" && as_dir=.
7676
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7677
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7678
 
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7679
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7680
 
    break 2
7681
 
  fi
7682
 
done
7683
 
  done
7684
 
IFS=$as_save_IFS
7685
 
 
7686
 
fi
7687
 
fi
7688
 
LIPO=$ac_cv_prog_LIPO
7689
 
if test -n "$LIPO"; then
7690
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7691
 
$as_echo "$LIPO" >&6; }
7692
 
else
7693
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7694
 
$as_echo "no" >&6; }
7695
 
fi
7696
 
 
7697
 
 
7698
 
fi
7699
 
if test -z "$ac_cv_prog_LIPO"; then
7700
 
  ac_ct_LIPO=$LIPO
7701
 
  # Extract the first word of "lipo", so it can be a program name with args.
7702
 
set dummy lipo; ac_word=$2
7703
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7704
 
$as_echo_n "checking for $ac_word... " >&6; }
7705
 
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7706
 
  $as_echo_n "(cached) " >&6
7707
 
else
7708
 
  if test -n "$ac_ct_LIPO"; then
7709
 
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7710
 
else
7711
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7712
 
for as_dir in $PATH
7713
 
do
7714
 
  IFS=$as_save_IFS
7715
 
  test -z "$as_dir" && as_dir=.
7716
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7717
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7718
 
    ac_cv_prog_ac_ct_LIPO="lipo"
7719
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7720
 
    break 2
7721
 
  fi
7722
 
done
7723
 
  done
7724
 
IFS=$as_save_IFS
7725
 
 
7726
 
fi
7727
 
fi
7728
 
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7729
 
if test -n "$ac_ct_LIPO"; then
7730
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7731
 
$as_echo "$ac_ct_LIPO" >&6; }
7732
 
else
7733
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7734
 
$as_echo "no" >&6; }
7735
 
fi
7736
 
 
7737
 
  if test "x$ac_ct_LIPO" = x; then
7738
 
    LIPO=":"
7739
 
  else
7740
 
    case $cross_compiling:$ac_tool_warned in
7741
 
yes:)
7742
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7743
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7744
 
ac_tool_warned=yes ;;
7745
 
esac
7746
 
    LIPO=$ac_ct_LIPO
7747
 
  fi
7748
 
else
7749
 
  LIPO="$ac_cv_prog_LIPO"
7750
 
fi
7751
 
 
7752
 
    if test -n "$ac_tool_prefix"; then
7753
 
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7754
 
set dummy ${ac_tool_prefix}otool; ac_word=$2
7755
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7756
 
$as_echo_n "checking for $ac_word... " >&6; }
7757
 
if ${ac_cv_prog_OTOOL+:} false; then :
7758
 
  $as_echo_n "(cached) " >&6
7759
 
else
7760
 
  if test -n "$OTOOL"; then
7761
 
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7762
 
else
7763
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7764
 
for as_dir in $PATH
7765
 
do
7766
 
  IFS=$as_save_IFS
7767
 
  test -z "$as_dir" && as_dir=.
7768
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7769
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7770
 
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7771
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7772
 
    break 2
7773
 
  fi
7774
 
done
7775
 
  done
7776
 
IFS=$as_save_IFS
7777
 
 
7778
 
fi
7779
 
fi
7780
 
OTOOL=$ac_cv_prog_OTOOL
7781
 
if test -n "$OTOOL"; then
7782
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7783
 
$as_echo "$OTOOL" >&6; }
7784
 
else
7785
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7786
 
$as_echo "no" >&6; }
7787
 
fi
7788
 
 
7789
 
 
7790
 
fi
7791
 
if test -z "$ac_cv_prog_OTOOL"; then
7792
 
  ac_ct_OTOOL=$OTOOL
7793
 
  # Extract the first word of "otool", so it can be a program name with args.
7794
 
set dummy otool; ac_word=$2
7795
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7796
 
$as_echo_n "checking for $ac_word... " >&6; }
7797
 
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7798
 
  $as_echo_n "(cached) " >&6
7799
 
else
7800
 
  if test -n "$ac_ct_OTOOL"; then
7801
 
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7802
 
else
7803
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7804
 
for as_dir in $PATH
7805
 
do
7806
 
  IFS=$as_save_IFS
7807
 
  test -z "$as_dir" && as_dir=.
7808
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7809
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7810
 
    ac_cv_prog_ac_ct_OTOOL="otool"
7811
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7812
 
    break 2
7813
 
  fi
7814
 
done
7815
 
  done
7816
 
IFS=$as_save_IFS
7817
 
 
7818
 
fi
7819
 
fi
7820
 
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7821
 
if test -n "$ac_ct_OTOOL"; then
7822
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7823
 
$as_echo "$ac_ct_OTOOL" >&6; }
7824
 
else
7825
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7826
 
$as_echo "no" >&6; }
7827
 
fi
7828
 
 
7829
 
  if test "x$ac_ct_OTOOL" = x; then
7830
 
    OTOOL=":"
7831
 
  else
7832
 
    case $cross_compiling:$ac_tool_warned in
7833
 
yes:)
7834
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7835
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7836
 
ac_tool_warned=yes ;;
7837
 
esac
7838
 
    OTOOL=$ac_ct_OTOOL
7839
 
  fi
7840
 
else
7841
 
  OTOOL="$ac_cv_prog_OTOOL"
7842
 
fi
7843
 
 
7844
 
    if test -n "$ac_tool_prefix"; then
7845
 
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7846
 
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7847
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7848
 
$as_echo_n "checking for $ac_word... " >&6; }
7849
 
if ${ac_cv_prog_OTOOL64+:} false; then :
7850
 
  $as_echo_n "(cached) " >&6
7851
 
else
7852
 
  if test -n "$OTOOL64"; then
7853
 
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7854
 
else
7855
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7856
 
for as_dir in $PATH
7857
 
do
7858
 
  IFS=$as_save_IFS
7859
 
  test -z "$as_dir" && as_dir=.
7860
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7861
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7862
 
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7863
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7864
 
    break 2
7865
 
  fi
7866
 
done
7867
 
  done
7868
 
IFS=$as_save_IFS
7869
 
 
7870
 
fi
7871
 
fi
7872
 
OTOOL64=$ac_cv_prog_OTOOL64
7873
 
if test -n "$OTOOL64"; then
7874
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7875
 
$as_echo "$OTOOL64" >&6; }
7876
 
else
7877
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7878
 
$as_echo "no" >&6; }
7879
 
fi
7880
 
 
7881
 
 
7882
 
fi
7883
 
if test -z "$ac_cv_prog_OTOOL64"; then
7884
 
  ac_ct_OTOOL64=$OTOOL64
7885
 
  # Extract the first word of "otool64", so it can be a program name with args.
7886
 
set dummy otool64; ac_word=$2
7887
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7888
 
$as_echo_n "checking for $ac_word... " >&6; }
7889
 
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7890
 
  $as_echo_n "(cached) " >&6
7891
 
else
7892
 
  if test -n "$ac_ct_OTOOL64"; then
7893
 
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7894
 
else
7895
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7896
 
for as_dir in $PATH
7897
 
do
7898
 
  IFS=$as_save_IFS
7899
 
  test -z "$as_dir" && as_dir=.
7900
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7901
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7902
 
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7903
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7904
 
    break 2
7905
 
  fi
7906
 
done
7907
 
  done
7908
 
IFS=$as_save_IFS
7909
 
 
7910
 
fi
7911
 
fi
7912
 
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7913
 
if test -n "$ac_ct_OTOOL64"; then
7914
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7915
 
$as_echo "$ac_ct_OTOOL64" >&6; }
7916
 
else
7917
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7918
 
$as_echo "no" >&6; }
7919
 
fi
7920
 
 
7921
 
  if test "x$ac_ct_OTOOL64" = x; then
7922
 
    OTOOL64=":"
7923
 
  else
7924
 
    case $cross_compiling:$ac_tool_warned in
7925
 
yes:)
7926
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7927
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7928
 
ac_tool_warned=yes ;;
7929
 
esac
7930
 
    OTOOL64=$ac_ct_OTOOL64
7931
 
  fi
7932
 
else
7933
 
  OTOOL64="$ac_cv_prog_OTOOL64"
7934
 
fi
7935
 
 
7936
 
 
7937
 
 
7938
 
 
7939
 
 
7940
 
 
7941
 
 
7942
 
 
7943
 
 
7944
 
 
7945
 
 
7946
 
 
7947
 
 
7948
 
 
7949
 
 
7950
 
 
7951
 
 
7952
 
 
7953
 
 
7954
 
 
7955
 
 
7956
 
 
7957
 
 
7958
 
 
7959
 
 
7960
 
 
7961
 
 
7962
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7963
 
$as_echo_n "checking for -single_module linker flag... " >&6; }
7964
 
if ${lt_cv_apple_cc_single_mod+:} false; then :
7965
 
  $as_echo_n "(cached) " >&6
7966
 
else
7967
 
  lt_cv_apple_cc_single_mod=no
7968
 
      if test -z "${LT_MULTI_MODULE}"; then
7969
 
        # By default we will add the -single_module flag. You can override
7970
 
        # by either setting the environment variable LT_MULTI_MODULE
7971
 
        # non-empty at configure time, or by adding -multi_module to the
7972
 
        # link flags.
7973
 
        rm -rf libconftest.dylib*
7974
 
        echo "int foo(void){return 1;}" > conftest.c
7975
 
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7976
 
-dynamiclib -Wl,-single_module conftest.c" >&5
7977
 
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7978
 
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7979
 
        _lt_result=$?
7980
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7981
 
          lt_cv_apple_cc_single_mod=yes
7982
 
        else
7983
 
          cat conftest.err >&5
7984
 
        fi
7985
 
        rm -rf libconftest.dylib*
7986
 
        rm -f conftest.*
7987
 
      fi
7988
 
fi
7989
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7990
 
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7991
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7992
 
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7993
 
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7994
 
  $as_echo_n "(cached) " >&6
7995
 
else
7996
 
  lt_cv_ld_exported_symbols_list=no
7997
 
      save_LDFLAGS=$LDFLAGS
7998
 
      echo "_main" > conftest.sym
7999
 
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8000
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8001
 
/* end confdefs.h.  */
8002
 
 
8003
 
int
8004
 
main ()
8005
 
{
8006
 
 
8007
 
  ;
8008
 
  return 0;
8009
 
}
8010
 
_ACEOF
8011
 
if ac_fn_c_try_link "$LINENO"; then :
8012
 
  lt_cv_ld_exported_symbols_list=yes
8013
 
else
8014
 
  lt_cv_ld_exported_symbols_list=no
8015
 
fi
8016
 
rm -f core conftest.err conftest.$ac_objext \
8017
 
    conftest$ac_exeext conftest.$ac_ext
8018
 
        LDFLAGS="$save_LDFLAGS"
8019
 
 
8020
 
fi
8021
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8022
 
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8023
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8024
 
$as_echo_n "checking for -force_load linker flag... " >&6; }
8025
 
if ${lt_cv_ld_force_load+:} false; then :
8026
 
  $as_echo_n "(cached) " >&6
8027
 
else
8028
 
  lt_cv_ld_force_load=no
8029
 
      cat > conftest.c << _LT_EOF
8030
 
int forced_loaded() { return 2;}
8031
 
_LT_EOF
8032
 
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8033
 
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8034
 
      echo "$AR cru libconftest.a conftest.o" >&5
8035
 
      $AR cru libconftest.a conftest.o 2>&5
8036
 
      echo "$RANLIB libconftest.a" >&5
8037
 
      $RANLIB libconftest.a 2>&5
8038
 
      cat > conftest.c << _LT_EOF
8039
 
int main() { return 0;}
8040
 
_LT_EOF
8041
 
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8042
 
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8043
 
      _lt_result=$?
8044
 
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8045
 
        lt_cv_ld_force_load=yes
8046
 
      else
8047
 
        cat conftest.err >&5
8048
 
      fi
8049
 
        rm -f conftest.err libconftest.a conftest conftest.c
8050
 
        rm -rf conftest.dSYM
8051
 
 
8052
 
fi
8053
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8054
 
$as_echo "$lt_cv_ld_force_load" >&6; }
8055
 
    case $host_os in
8056
 
    rhapsody* | darwin1.[012])
8057
 
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8058
 
    darwin1.*)
8059
 
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8060
 
    darwin*) # darwin 5.x on
8061
 
      # if running on 10.5 or later, the deployment target defaults
8062
 
      # to the OS version, if on x86, and 10.4, the deployment
8063
 
      # target defaults to 10.4. Don't you love it?
8064
 
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8065
 
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8066
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8067
 
        10.[012]*)
8068
 
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8069
 
        10.*)
8070
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8071
 
      esac
8072
 
    ;;
8073
 
  esac
8074
 
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8075
 
      _lt_dar_single_mod='$single_module'
8076
 
    fi
8077
 
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8078
 
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8079
 
    else
8080
 
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8081
 
    fi
8082
 
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8083
 
      _lt_dsymutil='~$DSYMUTIL $lib || :'
8084
 
    else
8085
 
      _lt_dsymutil=
8086
 
    fi
8087
 
    ;;
8088
 
  esac
8089
 
 
8090
 
 
8091
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8092
 
$as_echo_n "checking for ANSI C header files... " >&6; }
8093
 
if ${ac_cv_header_stdc+:} false; then :
8094
 
  $as_echo_n "(cached) " >&6
8095
 
else
8096
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8097
 
/* end confdefs.h.  */
8098
 
#include <stdlib.h>
8099
 
#include <stdarg.h>
8100
 
#include <string.h>
8101
 
#include <float.h>
8102
 
 
8103
 
int
8104
 
main ()
8105
 
{
8106
 
 
8107
 
  ;
8108
 
  return 0;
8109
 
}
8110
 
_ACEOF
8111
 
if ac_fn_c_try_compile "$LINENO"; then :
8112
 
  ac_cv_header_stdc=yes
8113
 
else
8114
 
  ac_cv_header_stdc=no
8115
 
fi
8116
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8117
 
 
8118
 
if test $ac_cv_header_stdc = yes; then
8119
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8120
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8121
 
/* end confdefs.h.  */
8122
 
#include <string.h>
8123
 
 
8124
 
_ACEOF
8125
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8126
 
  $EGREP "memchr" >/dev/null 2>&1; then :
8127
 
 
8128
 
else
8129
 
  ac_cv_header_stdc=no
8130
 
fi
8131
 
rm -f conftest*
8132
 
 
8133
 
fi
8134
 
 
8135
 
if test $ac_cv_header_stdc = yes; then
8136
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8137
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8138
 
/* end confdefs.h.  */
8139
 
#include <stdlib.h>
8140
 
 
8141
 
_ACEOF
8142
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8143
 
  $EGREP "free" >/dev/null 2>&1; then :
8144
 
 
8145
 
else
8146
 
  ac_cv_header_stdc=no
8147
 
fi
8148
 
rm -f conftest*
8149
 
 
8150
 
fi
8151
 
 
8152
 
if test $ac_cv_header_stdc = yes; then
8153
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8154
 
  if test "$cross_compiling" = yes; then :
8155
 
  :
8156
 
else
8157
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8158
 
/* end confdefs.h.  */
8159
 
#include <ctype.h>
8160
 
#include <stdlib.h>
8161
 
#if ((' ' & 0x0FF) == 0x020)
8162
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8163
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8164
 
#else
8165
 
# define ISLOWER(c) \
8166
 
                   (('a' <= (c) && (c) <= 'i') \
8167
 
                     || ('j' <= (c) && (c) <= 'r') \
8168
 
                     || ('s' <= (c) && (c) <= 'z'))
8169
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8170
 
#endif
8171
 
 
8172
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8173
 
int
8174
 
main ()
8175
 
{
8176
 
  int i;
8177
 
  for (i = 0; i < 256; i++)
8178
 
    if (XOR (islower (i), ISLOWER (i))
8179
 
        || toupper (i) != TOUPPER (i))
8180
 
      return 2;
8181
 
  return 0;
8182
 
}
8183
 
_ACEOF
8184
 
if ac_fn_c_try_run "$LINENO"; then :
8185
 
 
8186
 
else
8187
 
  ac_cv_header_stdc=no
8188
 
fi
8189
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8190
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
8191
 
fi
8192
 
 
8193
 
fi
8194
 
fi
8195
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8196
 
$as_echo "$ac_cv_header_stdc" >&6; }
8197
 
if test $ac_cv_header_stdc = yes; then
8198
 
 
8199
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8200
 
 
8201
 
fi
8202
 
 
8203
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8204
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8205
 
                  inttypes.h stdint.h unistd.h
8206
 
do :
8207
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8208
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8209
 
"
8210
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8211
 
  cat >>confdefs.h <<_ACEOF
8212
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8213
 
_ACEOF
8214
 
 
8215
 
fi
8216
 
 
8217
 
done
8218
 
 
8219
 
 
8220
 
for ac_header in dlfcn.h
8221
 
do :
8222
 
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8223
 
"
8224
 
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8225
 
  cat >>confdefs.h <<_ACEOF
8226
 
#define HAVE_DLFCN_H 1
8227
 
_ACEOF
8228
 
 
8229
 
fi
8230
 
 
8231
 
done
8232
 
 
8233
 
 
8234
 
 
8235
 
 
8236
 
func_stripname_cnf ()
8237
 
{
8238
 
  case ${2} in
8239
 
  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8240
 
  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8241
 
  esac
8242
 
} # func_stripname_cnf
8243
 
 
8244
 
 
8245
 
 
8246
 
 
8247
 
 
8248
 
# Set options
8249
 
 
8250
 
 
8251
 
 
8252
 
        enable_dlopen=no
8253
 
 
8254
 
 
8255
 
  enable_win32_dll=no
8256
 
 
8257
 
 
8258
 
            # Check whether --enable-shared was given.
8259
 
if test "${enable_shared+set}" = set; then :
8260
 
  enableval=$enable_shared; p=${PACKAGE-default}
8261
 
    case $enableval in
8262
 
    yes) enable_shared=yes ;;
8263
 
    no) enable_shared=no ;;
8264
 
    *)
8265
 
      enable_shared=no
8266
 
      # Look at the argument we got.  We use all the common list separators.
8267
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8268
 
      for pkg in $enableval; do
8269
 
        IFS="$lt_save_ifs"
8270
 
        if test "X$pkg" = "X$p"; then
8271
 
          enable_shared=yes
8272
 
        fi
8273
 
      done
8274
 
      IFS="$lt_save_ifs"
8275
 
      ;;
8276
 
    esac
8277
 
else
8278
 
  enable_shared=yes
8279
 
fi
8280
 
 
8281
 
 
8282
 
 
8283
 
 
8284
 
 
8285
 
 
8286
 
 
8287
 
 
8288
 
 
8289
 
  # Check whether --enable-static was given.
8290
 
if test "${enable_static+set}" = set; then :
8291
 
  enableval=$enable_static; p=${PACKAGE-default}
8292
 
    case $enableval in
8293
 
    yes) enable_static=yes ;;
8294
 
    no) enable_static=no ;;
8295
 
    *)
8296
 
     enable_static=no
8297
 
      # Look at the argument we got.  We use all the common list separators.
8298
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8299
 
      for pkg in $enableval; do
8300
 
        IFS="$lt_save_ifs"
8301
 
        if test "X$pkg" = "X$p"; then
8302
 
          enable_static=yes
8303
 
        fi
8304
 
      done
8305
 
      IFS="$lt_save_ifs"
8306
 
      ;;
8307
 
    esac
8308
 
else
8309
 
  enable_static=yes
8310
 
fi
8311
 
 
8312
 
 
8313
 
 
8314
 
 
8315
 
 
8316
 
 
8317
 
 
8318
 
 
8319
 
 
8320
 
 
8321
 
# Check whether --with-pic was given.
8322
 
if test "${with_pic+set}" = set; then :
8323
 
  withval=$with_pic; pic_mode="$withval"
8324
 
else
8325
 
  pic_mode=default
8326
 
fi
8327
 
 
8328
 
 
8329
 
test -z "$pic_mode" && pic_mode=default
8330
 
 
8331
 
 
8332
 
 
8333
 
 
8334
 
 
8335
 
 
8336
 
 
8337
 
  # Check whether --enable-fast-install was given.
8338
 
if test "${enable_fast_install+set}" = set; then :
8339
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
8340
 
    case $enableval in
8341
 
    yes) enable_fast_install=yes ;;
8342
 
    no) enable_fast_install=no ;;
8343
 
    *)
8344
 
      enable_fast_install=no
8345
 
      # Look at the argument we got.  We use all the common list separators.
8346
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8347
 
      for pkg in $enableval; do
8348
 
        IFS="$lt_save_ifs"
8349
 
        if test "X$pkg" = "X$p"; then
8350
 
          enable_fast_install=yes
8351
 
        fi
8352
 
      done
8353
 
      IFS="$lt_save_ifs"
8354
 
      ;;
8355
 
    esac
8356
 
else
8357
 
  enable_fast_install=yes
8358
 
fi
8359
 
 
8360
 
 
8361
 
 
8362
 
 
8363
 
 
8364
 
 
8365
 
 
8366
 
 
8367
 
 
8368
 
 
8369
 
 
8370
 
# This can be used to rebuild libtool when needed
8371
 
LIBTOOL_DEPS="$ltmain"
8372
 
 
8373
 
# Always use our own libtool.
8374
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8375
 
 
8376
 
 
8377
 
 
8378
 
 
8379
 
 
8380
 
 
8381
 
 
8382
 
 
8383
 
 
8384
 
 
8385
 
 
8386
 
 
8387
 
 
8388
 
 
8389
 
 
8390
 
 
8391
 
 
8392
 
 
8393
 
 
8394
 
 
8395
 
 
8396
 
 
8397
 
 
8398
 
 
8399
 
 
8400
 
 
8401
 
test -z "$LN_S" && LN_S="ln -s"
8402
 
 
8403
 
 
8404
 
 
8405
 
 
8406
 
 
8407
 
 
8408
 
 
8409
 
 
8410
 
 
8411
 
 
8412
 
 
8413
 
 
8414
 
 
8415
 
 
8416
 
if test -n "${ZSH_VERSION+set}" ; then
8417
 
   setopt NO_GLOB_SUBST
8418
 
fi
8419
 
 
8420
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8421
 
$as_echo_n "checking for objdir... " >&6; }
8422
 
if ${lt_cv_objdir+:} false; then :
8423
 
  $as_echo_n "(cached) " >&6
8424
 
else
8425
 
  rm -f .libs 2>/dev/null
8426
 
mkdir .libs 2>/dev/null
8427
 
if test -d .libs; then
8428
 
  lt_cv_objdir=.libs
8429
 
else
8430
 
  # MS-DOS does not allow filenames that begin with a dot.
8431
 
  lt_cv_objdir=_libs
8432
 
fi
8433
 
rmdir .libs 2>/dev/null
8434
 
fi
8435
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8436
 
$as_echo "$lt_cv_objdir" >&6; }
8437
 
objdir=$lt_cv_objdir
8438
 
 
8439
 
 
8440
 
 
8441
 
 
8442
 
 
8443
 
cat >>confdefs.h <<_ACEOF
8444
 
#define LT_OBJDIR "$lt_cv_objdir/"
8445
 
_ACEOF
8446
 
 
8447
 
 
8448
 
 
8449
 
 
8450
 
case $host_os in
8451
 
aix3*)
8452
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
8453
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
8454
 
  # vanish in a puff of smoke.
8455
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
8456
 
    COLLECT_NAMES=
8457
 
    export COLLECT_NAMES
8458
 
  fi
8459
 
  ;;
8460
 
esac
8461
 
 
8462
 
# Global variables:
8463
 
ofile=libtool
8464
 
can_build_shared=yes
8465
 
 
8466
 
# All known linkers require a `.a' archive for static linking (except MSVC,
8467
 
# which needs '.lib').
8468
 
libext=a
8469
 
 
8470
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
8471
 
 
8472
 
old_CC="$CC"
8473
 
old_CFLAGS="$CFLAGS"
8474
 
 
8475
 
# Set sane defaults for various variables
8476
 
test -z "$CC" && CC=cc
8477
 
test -z "$LTCC" && LTCC=$CC
8478
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8479
 
test -z "$LD" && LD=ld
8480
 
test -z "$ac_objext" && ac_objext=o
8481
 
 
8482
 
for cc_temp in $compiler""; do
8483
 
  case $cc_temp in
8484
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8485
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8486
 
    \-*) ;;
8487
 
    *) break;;
8488
 
  esac
8489
 
done
8490
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8491
 
 
8492
 
 
8493
 
# Only perform the check for file, if the check method requires it
8494
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8495
 
case $deplibs_check_method in
8496
 
file_magic*)
8497
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8498
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8499
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8500
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8501
 
  $as_echo_n "(cached) " >&6
8502
 
else
8503
 
  case $MAGIC_CMD in
8504
 
[\\/*] |  ?:[\\/]*)
8505
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8506
 
  ;;
8507
 
*)
8508
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8509
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8510
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8511
 
  for ac_dir in $ac_dummy; do
8512
 
    IFS="$lt_save_ifs"
8513
 
    test -z "$ac_dir" && ac_dir=.
8514
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
8515
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8516
 
      if test -n "$file_magic_test_file"; then
8517
 
        case $deplibs_check_method in
8518
 
        "file_magic "*)
8519
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8520
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8521
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8522
 
            $EGREP "$file_magic_regex" > /dev/null; then
8523
 
            :
8524
 
          else
8525
 
            cat <<_LT_EOF 1>&2
8526
 
 
8527
 
*** Warning: the command libtool uses to detect shared libraries,
8528
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8529
 
*** The result is that libtool may fail to recognize shared libraries
8530
 
*** as such.  This will affect the creation of libtool libraries that
8531
 
*** depend on shared libraries, but programs linked with such libtool
8532
 
*** libraries will work regardless of this problem.  Nevertheless, you
8533
 
*** may want to report the problem to your system manager and/or to
8534
 
*** bug-libtool@gnu.org
8535
 
 
8536
 
_LT_EOF
8537
 
          fi ;;
8538
 
        esac
8539
 
      fi
8540
 
      break
8541
 
    fi
8542
 
  done
8543
 
  IFS="$lt_save_ifs"
8544
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8545
 
  ;;
8546
 
esac
8547
 
fi
8548
 
 
8549
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8550
 
if test -n "$MAGIC_CMD"; then
8551
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8552
 
$as_echo "$MAGIC_CMD" >&6; }
8553
 
else
8554
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8555
 
$as_echo "no" >&6; }
8556
 
fi
8557
 
 
8558
 
 
8559
 
 
8560
 
 
8561
 
 
8562
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
8563
 
  if test -n "$ac_tool_prefix"; then
8564
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8565
 
$as_echo_n "checking for file... " >&6; }
8566
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8567
 
  $as_echo_n "(cached) " >&6
8568
 
else
8569
 
  case $MAGIC_CMD in
8570
 
[\\/*] |  ?:[\\/]*)
8571
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8572
 
  ;;
8573
 
*)
8574
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8575
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8576
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8577
 
  for ac_dir in $ac_dummy; do
8578
 
    IFS="$lt_save_ifs"
8579
 
    test -z "$ac_dir" && ac_dir=.
8580
 
    if test -f $ac_dir/file; then
8581
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8582
 
      if test -n "$file_magic_test_file"; then
8583
 
        case $deplibs_check_method in
8584
 
        "file_magic "*)
8585
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8586
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8587
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8588
 
            $EGREP "$file_magic_regex" > /dev/null; then
8589
 
            :
8590
 
          else
8591
 
            cat <<_LT_EOF 1>&2
8592
 
 
8593
 
*** Warning: the command libtool uses to detect shared libraries,
8594
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8595
 
*** The result is that libtool may fail to recognize shared libraries
8596
 
*** as such.  This will affect the creation of libtool libraries that
8597
 
*** depend on shared libraries, but programs linked with such libtool
8598
 
*** libraries will work regardless of this problem.  Nevertheless, you
8599
 
*** may want to report the problem to your system manager and/or to
8600
 
*** bug-libtool@gnu.org
8601
 
 
8602
 
_LT_EOF
8603
 
          fi ;;
8604
 
        esac
8605
 
      fi
8606
 
      break
8607
 
    fi
8608
 
  done
8609
 
  IFS="$lt_save_ifs"
8610
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8611
 
  ;;
8612
 
esac
8613
 
fi
8614
 
 
8615
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8616
 
if test -n "$MAGIC_CMD"; then
8617
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8618
 
$as_echo "$MAGIC_CMD" >&6; }
8619
 
else
8620
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8621
 
$as_echo "no" >&6; }
8622
 
fi
8623
 
 
8624
 
 
8625
 
  else
8626
 
    MAGIC_CMD=:
8627
 
  fi
8628
 
fi
8629
 
 
8630
 
  fi
8631
 
  ;;
8632
 
esac
8633
 
 
8634
 
# Use C for the default configuration in the libtool script
8635
 
 
8636
 
lt_save_CC="$CC"
8637
 
ac_ext=c
8638
 
ac_cpp='$CPP $CPPFLAGS'
8639
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8640
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8641
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8642
 
 
8643
 
 
8644
 
# Source file extension for C test sources.
8645
 
ac_ext=c
8646
 
 
8647
 
# Object file extension for compiled C test sources.
8648
 
objext=o
8649
 
objext=$objext
8650
 
 
8651
 
# Code to be used in simple compile tests
8652
 
lt_simple_compile_test_code="int some_variable = 0;"
8653
 
 
8654
 
# Code to be used in simple link tests
8655
 
lt_simple_link_test_code='int main(){return(0);}'
8656
 
 
8657
 
 
8658
 
 
8659
 
 
8660
 
 
8661
 
 
8662
 
 
8663
 
# If no C compiler was specified, use CC.
8664
 
LTCC=${LTCC-"$CC"}
8665
 
 
8666
 
# If no C compiler flags were specified, use CFLAGS.
8667
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8668
 
 
8669
 
# Allow CC to be a program name with arguments.
8670
 
compiler=$CC
8671
 
 
8672
 
# Save the default compiler, since it gets overwritten when the other
8673
 
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8674
 
compiler_DEFAULT=$CC
8675
 
 
8676
 
# save warnings/boilerplate of simple test code
8677
 
ac_outfile=conftest.$ac_objext
8678
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8679
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8680
 
_lt_compiler_boilerplate=`cat conftest.err`
8681
 
$RM conftest*
8682
 
 
8683
 
ac_outfile=conftest.$ac_objext
8684
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8685
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8686
 
_lt_linker_boilerplate=`cat conftest.err`
8687
 
$RM -r conftest*
8688
 
 
8689
 
 
8690
 
## CAVEAT EMPTOR:
8691
 
## There is no encapsulation within the following macros, do not change
8692
 
## the running order or otherwise move them around unless you know exactly
8693
 
## what you are doing...
8694
 
if test -n "$compiler"; then
8695
 
 
8696
 
lt_prog_compiler_no_builtin_flag=
8697
 
 
8698
 
if test "$GCC" = yes; then
8699
 
  case $cc_basename in
8700
 
  nvcc*)
8701
 
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8702
 
  *)
8703
 
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8704
 
  esac
8705
 
 
8706
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8707
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8708
 
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8709
 
  $as_echo_n "(cached) " >&6
8710
 
else
8711
 
  lt_cv_prog_compiler_rtti_exceptions=no
8712
 
   ac_outfile=conftest.$ac_objext
8713
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8714
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8715
 
   # Insert the option either (1) after the last *FLAGS variable, or
8716
 
   # (2) before a word containing "conftest.", or (3) at the end.
8717
 
   # Note that $ac_compile itself does not contain backslashes and begins
8718
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8719
 
   # The option is referenced via a variable to avoid confusing sed.
8720
 
   lt_compile=`echo "$ac_compile" | $SED \
8721
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8722
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8723
 
   -e 's:$: $lt_compiler_flag:'`
8724
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8725
 
   (eval "$lt_compile" 2>conftest.err)
8726
 
   ac_status=$?
8727
 
   cat conftest.err >&5
8728
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8729
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8730
 
     # The compiler can only warn and ignore the option if not recognized
8731
 
     # So say no if there are warnings other than the usual output.
8732
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8733
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8734
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8735
 
       lt_cv_prog_compiler_rtti_exceptions=yes
8736
 
     fi
8737
 
   fi
8738
 
   $RM conftest*
8739
 
 
8740
 
fi
8741
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8742
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8743
 
 
8744
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8745
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8746
 
else
8747
 
    :
8748
 
fi
8749
 
 
8750
 
fi
8751
 
 
8752
 
 
8753
 
 
8754
 
 
8755
 
 
8756
 
 
8757
 
  lt_prog_compiler_wl=
8758
 
lt_prog_compiler_pic=
8759
 
lt_prog_compiler_static=
8760
 
 
8761
 
 
8762
 
  if test "$GCC" = yes; then
8763
 
    lt_prog_compiler_wl='-Wl,'
8764
 
    lt_prog_compiler_static='-static'
8765
 
 
8766
 
    case $host_os in
8767
 
      aix*)
8768
 
      # All AIX code is PIC.
8769
 
      if test "$host_cpu" = ia64; then
8770
 
        # AIX 5 now supports IA64 processor
8771
 
        lt_prog_compiler_static='-Bstatic'
8772
 
      fi
8773
 
      ;;
8774
 
 
8775
 
    amigaos*)
8776
 
      case $host_cpu in
8777
 
      powerpc)
8778
 
            # see comment about AmigaOS4 .so support
8779
 
            lt_prog_compiler_pic='-fPIC'
8780
 
        ;;
8781
 
      m68k)
8782
 
            # FIXME: we need at least 68020 code to build shared libraries, but
8783
 
            # adding the `-m68020' flag to GCC prevents building anything better,
8784
 
            # like `-m68040'.
8785
 
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8786
 
        ;;
8787
 
      esac
8788
 
      ;;
8789
 
 
8790
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8791
 
      # PIC is the default for these OSes.
8792
 
      ;;
8793
 
 
8794
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8795
 
      # This hack is so that the source file can tell whether it is being
8796
 
      # built for inclusion in a dll (and should export symbols for example).
8797
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8798
 
      # (--disable-auto-import) libraries
8799
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8800
 
      ;;
8801
 
 
8802
 
    darwin* | rhapsody*)
8803
 
      # PIC is the default on this platform
8804
 
      # Common symbols not allowed in MH_DYLIB files
8805
 
      lt_prog_compiler_pic='-fno-common'
8806
 
      ;;
8807
 
 
8808
 
    haiku*)
8809
 
      # PIC is the default for Haiku.
8810
 
      # The "-static" flag exists, but is broken.
8811
 
      lt_prog_compiler_static=
8812
 
      ;;
8813
 
 
8814
 
    hpux*)
8815
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8816
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8817
 
      # sets the default TLS model and affects inlining.
8818
 
      case $host_cpu in
8819
 
      hppa*64*)
8820
 
        # +Z the default
8821
 
        ;;
8822
 
      *)
8823
 
        lt_prog_compiler_pic='-fPIC'
8824
 
        ;;
8825
 
      esac
8826
 
      ;;
8827
 
 
8828
 
    interix[3-9]*)
8829
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8830
 
      # Instead, we relocate shared libraries at runtime.
8831
 
      ;;
8832
 
 
8833
 
    msdosdjgpp*)
8834
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
8835
 
      # on systems that don't support them.
8836
 
      lt_prog_compiler_can_build_shared=no
8837
 
      enable_shared=no
8838
 
      ;;
8839
 
 
8840
 
    *nto* | *qnx*)
8841
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8842
 
      # it will coredump.
8843
 
      lt_prog_compiler_pic='-fPIC -shared'
8844
 
      ;;
8845
 
 
8846
 
    sysv4*MP*)
8847
 
      if test -d /usr/nec; then
8848
 
        lt_prog_compiler_pic=-Kconform_pic
8849
 
      fi
8850
 
      ;;
8851
 
 
8852
 
    *)
8853
 
      lt_prog_compiler_pic='-fPIC'
8854
 
      ;;
8855
 
    esac
8856
 
 
8857
 
    case $cc_basename in
8858
 
    nvcc*) # Cuda Compiler Driver 2.2
8859
 
      lt_prog_compiler_wl='-Xlinker '
8860
 
      lt_prog_compiler_pic='-Xcompiler -fPIC'
8861
 
      ;;
8862
 
    esac
8863
 
  else
8864
 
    # PORTME Check for flag to pass linker flags through the system compiler.
8865
 
    case $host_os in
8866
 
    aix*)
8867
 
      lt_prog_compiler_wl='-Wl,'
8868
 
      if test "$host_cpu" = ia64; then
8869
 
        # AIX 5 now supports IA64 processor
8870
 
        lt_prog_compiler_static='-Bstatic'
8871
 
      else
8872
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8873
 
      fi
8874
 
      ;;
8875
 
 
8876
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8877
 
      # This hack is so that the source file can tell whether it is being
8878
 
      # built for inclusion in a dll (and should export symbols for example).
8879
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8880
 
      ;;
8881
 
 
8882
 
    hpux9* | hpux10* | hpux11*)
8883
 
      lt_prog_compiler_wl='-Wl,'
8884
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8885
 
      # not for PA HP-UX.
8886
 
      case $host_cpu in
8887
 
      hppa*64*|ia64*)
8888
 
        # +Z the default
8889
 
        ;;
8890
 
      *)
8891
 
        lt_prog_compiler_pic='+Z'
8892
 
        ;;
8893
 
      esac
8894
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8895
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
8896
 
      ;;
8897
 
 
8898
 
    irix5* | irix6* | nonstopux*)
8899
 
      lt_prog_compiler_wl='-Wl,'
8900
 
      # PIC (with -KPIC) is the default.
8901
 
      lt_prog_compiler_static='-non_shared'
8902
 
      ;;
8903
 
 
8904
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8905
 
      case $cc_basename in
8906
 
      # old Intel for x86_64 which still supported -KPIC.
8907
 
      ecc*)
8908
 
        lt_prog_compiler_wl='-Wl,'
8909
 
        lt_prog_compiler_pic='-KPIC'
8910
 
        lt_prog_compiler_static='-static'
8911
 
        ;;
8912
 
      # icc used to be incompatible with GCC.
8913
 
      # ICC 10 doesn't accept -KPIC any more.
8914
 
      icc* | ifort*)
8915
 
        lt_prog_compiler_wl='-Wl,'
8916
 
        lt_prog_compiler_pic='-fPIC'
8917
 
        lt_prog_compiler_static='-static'
8918
 
        ;;
8919
 
      # Lahey Fortran 8.1.
8920
 
      lf95*)
8921
 
        lt_prog_compiler_wl='-Wl,'
8922
 
        lt_prog_compiler_pic='--shared'
8923
 
        lt_prog_compiler_static='--static'
8924
 
        ;;
8925
 
      nagfor*)
8926
 
        # NAG Fortran compiler
8927
 
        lt_prog_compiler_wl='-Wl,-Wl,,'
8928
 
        lt_prog_compiler_pic='-PIC'
8929
 
        lt_prog_compiler_static='-Bstatic'
8930
 
        ;;
8931
 
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8932
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
8933
 
        # which looks to be a dead project)
8934
 
        lt_prog_compiler_wl='-Wl,'
8935
 
        lt_prog_compiler_pic='-fpic'
8936
 
        lt_prog_compiler_static='-Bstatic'
8937
 
        ;;
8938
 
      ccc*)
8939
 
        lt_prog_compiler_wl='-Wl,'
8940
 
        # All Alpha code is PIC.
8941
 
        lt_prog_compiler_static='-non_shared'
8942
 
        ;;
8943
 
      xl* | bgxl* | bgf* | mpixl*)
8944
 
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8945
 
        lt_prog_compiler_wl='-Wl,'
8946
 
        lt_prog_compiler_pic='-qpic'
8947
 
        lt_prog_compiler_static='-qstaticlink'
8948
 
        ;;
8949
 
      *)
8950
 
        case `$CC -V 2>&1 | sed 5q` in
8951
 
        *Sun\ F* | *Sun*Fortran*)
8952
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8953
 
          lt_prog_compiler_pic='-KPIC'
8954
 
          lt_prog_compiler_static='-Bstatic'
8955
 
          lt_prog_compiler_wl=''
8956
 
          ;;
8957
 
        *Sun\ C*)
8958
 
          # Sun C 5.9
8959
 
          lt_prog_compiler_pic='-KPIC'
8960
 
          lt_prog_compiler_static='-Bstatic'
8961
 
          lt_prog_compiler_wl='-Wl,'
8962
 
          ;;
8963
 
        esac
8964
 
        ;;
8965
 
      esac
8966
 
      ;;
8967
 
 
8968
 
    newsos6)
8969
 
      lt_prog_compiler_pic='-KPIC'
8970
 
      lt_prog_compiler_static='-Bstatic'
8971
 
      ;;
8972
 
 
8973
 
    *nto* | *qnx*)
8974
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8975
 
      # it will coredump.
8976
 
      lt_prog_compiler_pic='-fPIC -shared'
8977
 
      ;;
8978
 
 
8979
 
    osf3* | osf4* | osf5*)
8980
 
      lt_prog_compiler_wl='-Wl,'
8981
 
      # All OSF/1 code is PIC.
8982
 
      lt_prog_compiler_static='-non_shared'
8983
 
      ;;
8984
 
 
8985
 
    rdos*)
8986
 
      lt_prog_compiler_static='-non_shared'
8987
 
      ;;
8988
 
 
8989
 
    solaris*)
8990
 
      lt_prog_compiler_pic='-KPIC'
8991
 
      lt_prog_compiler_static='-Bstatic'
8992
 
      case $cc_basename in
8993
 
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8994
 
        lt_prog_compiler_wl='-Qoption ld ';;
8995
 
      *)
8996
 
        lt_prog_compiler_wl='-Wl,';;
8997
 
      esac
8998
 
      ;;
8999
 
 
9000
 
    sunos4*)
9001
 
      lt_prog_compiler_wl='-Qoption ld '
9002
 
      lt_prog_compiler_pic='-PIC'
9003
 
      lt_prog_compiler_static='-Bstatic'
9004
 
      ;;
9005
 
 
9006
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
9007
 
      lt_prog_compiler_wl='-Wl,'
9008
 
      lt_prog_compiler_pic='-KPIC'
9009
 
      lt_prog_compiler_static='-Bstatic'
9010
 
      ;;
9011
 
 
9012
 
    sysv4*MP*)
9013
 
      if test -d /usr/nec ;then
9014
 
        lt_prog_compiler_pic='-Kconform_pic'
9015
 
        lt_prog_compiler_static='-Bstatic'
9016
 
      fi
9017
 
      ;;
9018
 
 
9019
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9020
 
      lt_prog_compiler_wl='-Wl,'
9021
 
      lt_prog_compiler_pic='-KPIC'
9022
 
      lt_prog_compiler_static='-Bstatic'
9023
 
      ;;
9024
 
 
9025
 
    unicos*)
9026
 
      lt_prog_compiler_wl='-Wl,'
9027
 
      lt_prog_compiler_can_build_shared=no
9028
 
      ;;
9029
 
 
9030
 
    uts4*)
9031
 
      lt_prog_compiler_pic='-pic'
9032
 
      lt_prog_compiler_static='-Bstatic'
9033
 
      ;;
9034
 
 
9035
 
    *)
9036
 
      lt_prog_compiler_can_build_shared=no
9037
 
      ;;
9038
 
    esac
9039
 
  fi
9040
 
 
9041
 
case $host_os in
9042
 
  # For platforms which do not support PIC, -DPIC is meaningless:
9043
 
  *djgpp*)
9044
 
    lt_prog_compiler_pic=
9045
 
    ;;
9046
 
  *)
9047
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9048
 
    ;;
9049
 
esac
9050
 
 
9051
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9052
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9053
 
if ${lt_cv_prog_compiler_pic+:} false; then :
9054
 
  $as_echo_n "(cached) " >&6
9055
 
else
9056
 
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9057
 
fi
9058
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9059
 
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9060
 
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9061
 
 
9062
 
#
9063
 
# Check to make sure the PIC flag actually works.
9064
 
#
9065
 
if test -n "$lt_prog_compiler_pic"; then
9066
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9067
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9068
 
if ${lt_cv_prog_compiler_pic_works+:} false; then :
9069
 
  $as_echo_n "(cached) " >&6
9070
 
else
9071
 
  lt_cv_prog_compiler_pic_works=no
9072
 
   ac_outfile=conftest.$ac_objext
9073
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9074
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9075
 
   # Insert the option either (1) after the last *FLAGS variable, or
9076
 
   # (2) before a word containing "conftest.", or (3) at the end.
9077
 
   # Note that $ac_compile itself does not contain backslashes and begins
9078
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9079
 
   # The option is referenced via a variable to avoid confusing sed.
9080
 
   lt_compile=`echo "$ac_compile" | $SED \
9081
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9082
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9083
 
   -e 's:$: $lt_compiler_flag:'`
9084
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9085
 
   (eval "$lt_compile" 2>conftest.err)
9086
 
   ac_status=$?
9087
 
   cat conftest.err >&5
9088
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9089
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
9090
 
     # The compiler can only warn and ignore the option if not recognized
9091
 
     # So say no if there are warnings other than the usual output.
9092
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9093
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9094
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9095
 
       lt_cv_prog_compiler_pic_works=yes
9096
 
     fi
9097
 
   fi
9098
 
   $RM conftest*
9099
 
 
9100
 
fi
9101
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9102
 
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9103
 
 
9104
 
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9105
 
    case $lt_prog_compiler_pic in
9106
 
     "" | " "*) ;;
9107
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9108
 
     esac
9109
 
else
9110
 
    lt_prog_compiler_pic=
9111
 
     lt_prog_compiler_can_build_shared=no
9112
 
fi
9113
 
 
9114
 
fi
9115
 
 
9116
 
 
9117
 
 
9118
 
 
9119
 
 
9120
 
 
9121
 
 
9122
 
 
9123
 
 
9124
 
 
9125
 
 
9126
 
#
9127
 
# Check to make sure the static flag actually works.
9128
 
#
9129
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9130
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9131
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9132
 
if ${lt_cv_prog_compiler_static_works+:} false; then :
9133
 
  $as_echo_n "(cached) " >&6
9134
 
else
9135
 
  lt_cv_prog_compiler_static_works=no
9136
 
   save_LDFLAGS="$LDFLAGS"
9137
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9138
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9139
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9140
 
     # The linker can only warn and ignore the option if not recognized
9141
 
     # So say no if there are warnings
9142
 
     if test -s conftest.err; then
9143
 
       # Append any errors to the config.log.
9144
 
       cat conftest.err 1>&5
9145
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9146
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9147
 
       if diff conftest.exp conftest.er2 >/dev/null; then
9148
 
         lt_cv_prog_compiler_static_works=yes
9149
 
       fi
9150
 
     else
9151
 
       lt_cv_prog_compiler_static_works=yes
9152
 
     fi
9153
 
   fi
9154
 
   $RM -r conftest*
9155
 
   LDFLAGS="$save_LDFLAGS"
9156
 
 
9157
 
fi
9158
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9159
 
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9160
 
 
9161
 
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9162
 
    :
9163
 
else
9164
 
    lt_prog_compiler_static=
9165
 
fi
9166
 
 
9167
 
 
9168
 
 
9169
 
 
9170
 
 
9171
 
 
9172
 
 
9173
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9174
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9175
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
9176
 
  $as_echo_n "(cached) " >&6
9177
 
else
9178
 
  lt_cv_prog_compiler_c_o=no
9179
 
   $RM -r conftest 2>/dev/null
9180
 
   mkdir conftest
9181
 
   cd conftest
9182
 
   mkdir out
9183
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9184
 
 
9185
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9186
 
   # Insert the option either (1) after the last *FLAGS variable, or
9187
 
   # (2) before a word containing "conftest.", or (3) at the end.
9188
 
   # Note that $ac_compile itself does not contain backslashes and begins
9189
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9190
 
   lt_compile=`echo "$ac_compile" | $SED \
9191
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9192
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9193
 
   -e 's:$: $lt_compiler_flag:'`
9194
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9195
 
   (eval "$lt_compile" 2>out/conftest.err)
9196
 
   ac_status=$?
9197
 
   cat out/conftest.err >&5
9198
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9199
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9200
 
   then
9201
 
     # The compiler can only warn and ignore the option if not recognized
9202
 
     # So say no if there are warnings
9203
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9204
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9205
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9206
 
       lt_cv_prog_compiler_c_o=yes
9207
 
     fi
9208
 
   fi
9209
 
   chmod u+w . 2>&5
9210
 
   $RM conftest*
9211
 
   # SGI C++ compiler will create directory out/ii_files/ for
9212
 
   # template instantiation
9213
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9214
 
   $RM out/* && rmdir out
9215
 
   cd ..
9216
 
   $RM -r conftest
9217
 
   $RM conftest*
9218
 
 
9219
 
fi
9220
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9221
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9222
 
 
9223
 
 
9224
 
 
9225
 
 
9226
 
 
9227
 
 
9228
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9229
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9230
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
9231
 
  $as_echo_n "(cached) " >&6
9232
 
else
9233
 
  lt_cv_prog_compiler_c_o=no
9234
 
   $RM -r conftest 2>/dev/null
9235
 
   mkdir conftest
9236
 
   cd conftest
9237
 
   mkdir out
9238
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9239
 
 
9240
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9241
 
   # Insert the option either (1) after the last *FLAGS variable, or
9242
 
   # (2) before a word containing "conftest.", or (3) at the end.
9243
 
   # Note that $ac_compile itself does not contain backslashes and begins
9244
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9245
 
   lt_compile=`echo "$ac_compile" | $SED \
9246
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9247
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9248
 
   -e 's:$: $lt_compiler_flag:'`
9249
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9250
 
   (eval "$lt_compile" 2>out/conftest.err)
9251
 
   ac_status=$?
9252
 
   cat out/conftest.err >&5
9253
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9254
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9255
 
   then
9256
 
     # The compiler can only warn and ignore the option if not recognized
9257
 
     # So say no if there are warnings
9258
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9259
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9260
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9261
 
       lt_cv_prog_compiler_c_o=yes
9262
 
     fi
9263
 
   fi
9264
 
   chmod u+w . 2>&5
9265
 
   $RM conftest*
9266
 
   # SGI C++ compiler will create directory out/ii_files/ for
9267
 
   # template instantiation
9268
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9269
 
   $RM out/* && rmdir out
9270
 
   cd ..
9271
 
   $RM -r conftest
9272
 
   $RM conftest*
9273
 
 
9274
 
fi
9275
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9276
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9277
 
 
9278
 
 
9279
 
 
9280
 
 
9281
 
hard_links="nottested"
9282
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9283
 
  # do not overwrite the value of need_locks provided by the user
9284
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9285
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
9286
 
  hard_links=yes
9287
 
  $RM conftest*
9288
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9289
 
  touch conftest.a
9290
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
9291
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9292
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9293
 
$as_echo "$hard_links" >&6; }
9294
 
  if test "$hard_links" = no; then
9295
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9296
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9297
 
    need_locks=warn
9298
 
  fi
9299
 
else
9300
 
  need_locks=no
9301
 
fi
9302
 
 
9303
 
 
9304
 
 
9305
 
 
9306
 
 
9307
 
 
9308
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9309
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9310
 
 
9311
 
  runpath_var=
9312
 
  allow_undefined_flag=
9313
 
  always_export_symbols=no
9314
 
  archive_cmds=
9315
 
  archive_expsym_cmds=
9316
 
  compiler_needs_object=no
9317
 
  enable_shared_with_static_runtimes=no
9318
 
  export_dynamic_flag_spec=
9319
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9320
 
  hardcode_automatic=no
9321
 
  hardcode_direct=no
9322
 
  hardcode_direct_absolute=no
9323
 
  hardcode_libdir_flag_spec=
9324
 
  hardcode_libdir_flag_spec_ld=
9325
 
  hardcode_libdir_separator=
9326
 
  hardcode_minus_L=no
9327
 
  hardcode_shlibpath_var=unsupported
9328
 
  inherit_rpath=no
9329
 
  link_all_deplibs=unknown
9330
 
  module_cmds=
9331
 
  module_expsym_cmds=
9332
 
  old_archive_from_new_cmds=
9333
 
  old_archive_from_expsyms_cmds=
9334
 
  thread_safe_flag_spec=
9335
 
  whole_archive_flag_spec=
9336
 
  # include_expsyms should be a list of space-separated symbols to be *always*
9337
 
  # included in the symbol list
9338
 
  include_expsyms=
9339
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
9340
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9341
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9342
 
  # as well as any symbol that contains `d'.
9343
 
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9344
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9345
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
9346
 
  # the symbol is explicitly referenced.  Since portable code cannot
9347
 
  # rely on this symbol name, it's probably fine to never include it in
9348
 
  # preloaded symbol tables.
9349
 
  # Exclude shared library initialization/finalization symbols.
9350
 
  extract_expsyms_cmds=
9351
 
 
9352
 
  case $host_os in
9353
 
  cygwin* | mingw* | pw32* | cegcc*)
9354
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9355
 
    # When not using gcc, we currently assume that we are using
9356
 
    # Microsoft Visual C++.
9357
 
    if test "$GCC" != yes; then
9358
 
      with_gnu_ld=no
9359
 
    fi
9360
 
    ;;
9361
 
  interix*)
9362
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
9363
 
    with_gnu_ld=yes
9364
 
    ;;
9365
 
  openbsd*)
9366
 
    with_gnu_ld=no
9367
 
    ;;
9368
 
  linux* | k*bsd*-gnu | gnu*)
9369
 
    link_all_deplibs=no
9370
 
    ;;
9371
 
  esac
9372
 
 
9373
 
  ld_shlibs=yes
9374
 
 
9375
 
  # On some targets, GNU ld is compatible enough with the native linker
9376
 
  # that we're better off using the native interface for both.
9377
 
  lt_use_gnu_ld_interface=no
9378
 
  if test "$with_gnu_ld" = yes; then
9379
 
    case $host_os in
9380
 
      aix*)
9381
 
        # The AIX port of GNU ld has always aspired to compatibility
9382
 
        # with the native linker.  However, as the warning in the GNU ld
9383
 
        # block says, versions before 2.19.5* couldn't really create working
9384
 
        # shared libraries, regardless of the interface used.
9385
 
        case `$LD -v 2>&1` in
9386
 
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9387
 
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9388
 
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9389
 
          *)
9390
 
            lt_use_gnu_ld_interface=yes
9391
 
            ;;
9392
 
        esac
9393
 
        ;;
9394
 
      *)
9395
 
        lt_use_gnu_ld_interface=yes
9396
 
        ;;
9397
 
    esac
9398
 
  fi
9399
 
 
9400
 
  if test "$lt_use_gnu_ld_interface" = yes; then
9401
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
9402
 
    wlarc='${wl}'
9403
 
 
9404
 
    # Set some defaults for GNU ld with shared library support. These
9405
 
    # are reset later if shared libraries are not supported. Putting them
9406
 
    # here allows them to be overridden if necessary.
9407
 
    runpath_var=LD_RUN_PATH
9408
 
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9409
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
9410
 
    # ancient GNU ld didn't support --whole-archive et. al.
9411
 
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9412
 
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9413
 
    else
9414
 
      whole_archive_flag_spec=
9415
 
    fi
9416
 
    supports_anon_versioning=no
9417
 
    case `$LD -v 2>&1` in
9418
 
      *GNU\ gold*) supports_anon_versioning=yes ;;
9419
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9420
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9421
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9422
 
      *\ 2.11.*) ;; # other 2.11 versions
9423
 
      *) supports_anon_versioning=yes ;;
9424
 
    esac
9425
 
 
9426
 
    # See if GNU ld supports shared libraries.
9427
 
    case $host_os in
9428
 
    aix[3-9]*)
9429
 
      # On AIX/PPC, the GNU linker is very broken
9430
 
      if test "$host_cpu" != ia64; then
9431
 
        ld_shlibs=no
9432
 
        cat <<_LT_EOF 1>&2
9433
 
 
9434
 
*** Warning: the GNU linker, at least up to release 2.19, is reported
9435
 
*** to be unable to reliably create shared libraries on AIX.
9436
 
*** Therefore, libtool is disabling shared libraries support.  If you
9437
 
*** really care for shared libraries, you may want to install binutils
9438
 
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9439
 
*** You will then need to restart the configuration process.
9440
 
 
9441
 
_LT_EOF
9442
 
      fi
9443
 
      ;;
9444
 
 
9445
 
    amigaos*)
9446
 
      case $host_cpu in
9447
 
      powerpc)
9448
 
            # see comment about AmigaOS4 .so support
9449
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9450
 
            archive_expsym_cmds=''
9451
 
        ;;
9452
 
      m68k)
9453
 
            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)'
9454
 
            hardcode_libdir_flag_spec='-L$libdir'
9455
 
            hardcode_minus_L=yes
9456
 
        ;;
9457
 
      esac
9458
 
      ;;
9459
 
 
9460
 
    beos*)
9461
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9462
 
        allow_undefined_flag=unsupported
9463
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9464
 
        # support --undefined.  This deserves some investigation.  FIXME
9465
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9466
 
      else
9467
 
        ld_shlibs=no
9468
 
      fi
9469
 
      ;;
9470
 
 
9471
 
    cygwin* | mingw* | pw32* | cegcc*)
9472
 
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9473
 
      # as there is no search path for DLLs.
9474
 
      hardcode_libdir_flag_spec='-L$libdir'
9475
 
      export_dynamic_flag_spec='${wl}--export-all-symbols'
9476
 
      allow_undefined_flag=unsupported
9477
 
      always_export_symbols=no
9478
 
      enable_shared_with_static_runtimes=yes
9479
 
      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'
9480
 
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9481
 
 
9482
 
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9483
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9484
 
        # If the export-symbols file already is a .def file (1st line
9485
 
        # is EXPORTS), use it as is; otherwise, prepend...
9486
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9487
 
          cp $export_symbols $output_objdir/$soname.def;
9488
 
        else
9489
 
          echo EXPORTS > $output_objdir/$soname.def;
9490
 
          cat $export_symbols >> $output_objdir/$soname.def;
9491
 
        fi~
9492
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9493
 
      else
9494
 
        ld_shlibs=no
9495
 
      fi
9496
 
      ;;
9497
 
 
9498
 
    haiku*)
9499
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9500
 
      link_all_deplibs=yes
9501
 
      ;;
9502
 
 
9503
 
    interix[3-9]*)
9504
 
      hardcode_direct=no
9505
 
      hardcode_shlibpath_var=no
9506
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9507
 
      export_dynamic_flag_spec='${wl}-E'
9508
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9509
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
9510
 
      # default) and relocated if they conflict, which is a slow very memory
9511
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
9512
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9513
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9514
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9515
 
      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'
9516
 
      ;;
9517
 
 
9518
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9519
 
      tmp_diet=no
9520
 
      if test "$host_os" = linux-dietlibc; then
9521
 
        case $cc_basename in
9522
 
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9523
 
        esac
9524
 
      fi
9525
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9526
 
         && test "$tmp_diet" = no
9527
 
      then
9528
 
        tmp_addflag=' $pic_flag'
9529
 
        tmp_sharedflag='-shared'
9530
 
        case $cc_basename,$host_cpu in
9531
 
        pgcc*)                          # Portland Group C compiler
9532
 
          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'
9533
 
          tmp_addflag=' $pic_flag'
9534
 
          ;;
9535
 
        pgf77* | pgf90* | pgf95* | pgfortran*)
9536
 
                                        # Portland Group f77 and f90 compilers
9537
 
          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'
9538
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
9539
 
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9540
 
          tmp_addflag=' -i_dynamic' ;;
9541
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9542
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
9543
 
        ifc* | ifort*)                  # Intel Fortran compiler
9544
 
          tmp_addflag=' -nofor_main' ;;
9545
 
        lf95*)                          # Lahey Fortran 8.1
9546
 
          whole_archive_flag_spec=
9547
 
          tmp_sharedflag='--shared' ;;
9548
 
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9549
 
          tmp_sharedflag='-qmkshrobj'
9550
 
          tmp_addflag= ;;
9551
 
        nvcc*)  # Cuda Compiler Driver 2.2
9552
 
          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'
9553
 
          compiler_needs_object=yes
9554
 
          ;;
9555
 
        esac
9556
 
        case `$CC -V 2>&1 | sed 5q` in
9557
 
        *Sun\ C*)                       # Sun C 5.9
9558
 
          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'
9559
 
          compiler_needs_object=yes
9560
 
          tmp_sharedflag='-G' ;;
9561
 
        *Sun\ F*)                       # Sun Fortran 8.3
9562
 
          tmp_sharedflag='-G' ;;
9563
 
        esac
9564
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9565
 
 
9566
 
        if test "x$supports_anon_versioning" = xyes; then
9567
 
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9568
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9569
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
9570
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9571
 
        fi
9572
 
 
9573
 
        case $cc_basename in
9574
 
        xlf* | bgf* | bgxlf* | mpixlf*)
9575
 
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9576
 
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9577
 
          hardcode_libdir_flag_spec=
9578
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9579
 
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9580
 
          if test "x$supports_anon_versioning" = xyes; then
9581
 
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9582
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9583
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
9584
 
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9585
 
          fi
9586
 
          ;;
9587
 
        esac
9588
 
      else
9589
 
        ld_shlibs=no
9590
 
      fi
9591
 
      ;;
9592
 
 
9593
 
    netbsd* | netbsdelf*-gnu)
9594
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9595
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9596
 
        wlarc=
9597
 
      else
9598
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9599
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9600
 
      fi
9601
 
      ;;
9602
 
 
9603
 
    solaris*)
9604
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9605
 
        ld_shlibs=no
9606
 
        cat <<_LT_EOF 1>&2
9607
 
 
9608
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9609
 
*** create shared libraries on Solaris systems.  Therefore, libtool
9610
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9611
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
9612
 
*** your PATH or compiler configuration so that the native linker is
9613
 
*** used, and then restart.
9614
 
 
9615
 
_LT_EOF
9616
 
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9617
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9618
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9619
 
      else
9620
 
        ld_shlibs=no
9621
 
      fi
9622
 
      ;;
9623
 
 
9624
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9625
 
      case `$LD -v 2>&1` in
9626
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9627
 
        ld_shlibs=no
9628
 
        cat <<_LT_EOF 1>&2
9629
 
 
9630
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9631
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
9632
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9633
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9634
 
*** your PATH or compiler configuration so that the native linker is
9635
 
*** used, and then restart.
9636
 
 
9637
 
_LT_EOF
9638
 
        ;;
9639
 
        *)
9640
 
          # For security reasons, it is highly recommended that you always
9641
 
          # use absolute paths for naming shared libraries, and exclude the
9642
 
          # DT_RUNPATH tag from executables and libraries.  But doing so
9643
 
          # requires that you compile everything twice, which is a pain.
9644
 
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9645
 
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9646
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9647
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9648
 
          else
9649
 
            ld_shlibs=no
9650
 
          fi
9651
 
        ;;
9652
 
      esac
9653
 
      ;;
9654
 
 
9655
 
    sunos4*)
9656
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9657
 
      wlarc=
9658
 
      hardcode_direct=yes
9659
 
      hardcode_shlibpath_var=no
9660
 
      ;;
9661
 
 
9662
 
    *)
9663
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9664
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9665
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9666
 
      else
9667
 
        ld_shlibs=no
9668
 
      fi
9669
 
      ;;
9670
 
    esac
9671
 
 
9672
 
    if test "$ld_shlibs" = no; then
9673
 
      runpath_var=
9674
 
      hardcode_libdir_flag_spec=
9675
 
      export_dynamic_flag_spec=
9676
 
      whole_archive_flag_spec=
9677
 
    fi
9678
 
  else
9679
 
    # PORTME fill in a description of your system's linker (not GNU ld)
9680
 
    case $host_os in
9681
 
    aix3*)
9682
 
      allow_undefined_flag=unsupported
9683
 
      always_export_symbols=yes
9684
 
      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'
9685
 
      # Note: this linker hardcodes the directories in LIBPATH if there
9686
 
      # are no directories specified by -L.
9687
 
      hardcode_minus_L=yes
9688
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9689
 
        # Neither direct hardcoding nor static linking is supported with a
9690
 
        # broken collect2.
9691
 
        hardcode_direct=unsupported
9692
 
      fi
9693
 
      ;;
9694
 
 
9695
 
    aix[4-9]*)
9696
 
      if test "$host_cpu" = ia64; then
9697
 
        # On IA64, the linker does run time linking by default, so we don't
9698
 
        # have to do anything special.
9699
 
        aix_use_runtimelinking=no
9700
 
        exp_sym_flag='-Bexport'
9701
 
        no_entry_flag=""
9702
 
      else
9703
 
        # If we're using GNU nm, then we don't want the "-C" option.
9704
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9705
 
        # Also, AIX nm treats weak defined symbols like other global
9706
 
        # defined symbols, whereas GNU nm marks them as "W".
9707
 
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9708
 
          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'
9709
 
        else
9710
 
          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'
9711
 
        fi
9712
 
        aix_use_runtimelinking=no
9713
 
 
9714
 
        # Test if we are trying to use run time linking or normal
9715
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9716
 
        # need to do runtime linking.
9717
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9718
 
          for ld_flag in $LDFLAGS; do
9719
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9720
 
            aix_use_runtimelinking=yes
9721
 
            break
9722
 
          fi
9723
 
          done
9724
 
          ;;
9725
 
        esac
9726
 
 
9727
 
        exp_sym_flag='-bexport'
9728
 
        no_entry_flag='-bnoentry'
9729
 
      fi
9730
 
 
9731
 
      # When large executables or shared objects are built, AIX ld can
9732
 
      # have problems creating the table of contents.  If linking a library
9733
 
      # or program results in "error TOC overflow" add -mminimal-toc to
9734
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9735
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9736
 
 
9737
 
      archive_cmds=''
9738
 
      hardcode_direct=yes
9739
 
      hardcode_direct_absolute=yes
9740
 
      hardcode_libdir_separator=':'
9741
 
      link_all_deplibs=yes
9742
 
      file_list_spec='${wl}-f,'
9743
 
 
9744
 
      if test "$GCC" = yes; then
9745
 
        case $host_os in aix4.[012]|aix4.[012].*)
9746
 
        # We only want to do this on AIX 4.2 and lower, the check
9747
 
        # below for broken collect2 doesn't work under 4.3+
9748
 
          collect2name=`${CC} -print-prog-name=collect2`
9749
 
          if test -f "$collect2name" &&
9750
 
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9751
 
          then
9752
 
          # We have reworked collect2
9753
 
          :
9754
 
          else
9755
 
          # We have old collect2
9756
 
          hardcode_direct=unsupported
9757
 
          # It fails to find uninstalled libraries when the uninstalled
9758
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
9759
 
          # to unsupported forces relinking
9760
 
          hardcode_minus_L=yes
9761
 
          hardcode_libdir_flag_spec='-L$libdir'
9762
 
          hardcode_libdir_separator=
9763
 
          fi
9764
 
          ;;
9765
 
        esac
9766
 
        shared_flag='-shared'
9767
 
        if test "$aix_use_runtimelinking" = yes; then
9768
 
          shared_flag="$shared_flag "'${wl}-G'
9769
 
        fi
9770
 
        link_all_deplibs=no
9771
 
      else
9772
 
        # not using gcc
9773
 
        if test "$host_cpu" = ia64; then
9774
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9775
 
        # chokes on -Wl,-G. The following line is correct:
9776
 
          shared_flag='-G'
9777
 
        else
9778
 
          if test "$aix_use_runtimelinking" = yes; then
9779
 
            shared_flag='${wl}-G'
9780
 
          else
9781
 
            shared_flag='${wl}-bM:SRE'
9782
 
          fi
9783
 
        fi
9784
 
      fi
9785
 
 
9786
 
      export_dynamic_flag_spec='${wl}-bexpall'
9787
 
      # It seems that -bexpall does not export symbols beginning with
9788
 
      # underscore (_), so it is better to generate a list of symbols to export.
9789
 
      always_export_symbols=yes
9790
 
      if test "$aix_use_runtimelinking" = yes; then
9791
 
        # Warning - without using the other runtime loading flags (-brtl),
9792
 
        # -berok will link without error, but may produce a broken library.
9793
 
        allow_undefined_flag='-berok'
9794
 
        # Determine the default libpath from the value encoded in an
9795
 
        # empty executable.
9796
 
        if test "${lt_cv_aix_libpath+set}" = set; then
9797
 
  aix_libpath=$lt_cv_aix_libpath
9798
 
else
9799
 
  if ${lt_cv_aix_libpath_+:} false; then :
9800
 
  $as_echo_n "(cached) " >&6
9801
 
else
9802
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9803
 
/* end confdefs.h.  */
9804
 
 
9805
 
int
9806
 
main ()
9807
 
{
9808
 
 
9809
 
  ;
9810
 
  return 0;
9811
 
}
9812
 
_ACEOF
9813
 
if ac_fn_c_try_link "$LINENO"; then :
9814
 
 
9815
 
  lt_aix_libpath_sed='
9816
 
      /Import File Strings/,/^$/ {
9817
 
          /^0/ {
9818
 
              s/^0  *\([^ ]*\) *$/\1/
9819
 
              p
9820
 
          }
9821
 
      }'
9822
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9823
 
  # Check for a 64-bit object if we didn't find anything.
9824
 
  if test -z "$lt_cv_aix_libpath_"; then
9825
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9826
 
  fi
9827
 
fi
9828
 
rm -f core conftest.err conftest.$ac_objext \
9829
 
    conftest$ac_exeext conftest.$ac_ext
9830
 
  if test -z "$lt_cv_aix_libpath_"; then
9831
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
9832
 
  fi
9833
 
 
9834
 
fi
9835
 
 
9836
 
  aix_libpath=$lt_cv_aix_libpath_
9837
 
fi
9838
 
 
9839
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9840
 
        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"
9841
 
      else
9842
 
        if test "$host_cpu" = ia64; then
9843
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9844
 
          allow_undefined_flag="-z nodefs"
9845
 
          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"
9846
 
        else
9847
 
         # Determine the default libpath from the value encoded in an
9848
 
         # empty executable.
9849
 
         if test "${lt_cv_aix_libpath+set}" = set; then
9850
 
  aix_libpath=$lt_cv_aix_libpath
9851
 
else
9852
 
  if ${lt_cv_aix_libpath_+:} false; then :
9853
 
  $as_echo_n "(cached) " >&6
9854
 
else
9855
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9856
 
/* end confdefs.h.  */
9857
 
 
9858
 
int
9859
 
main ()
9860
 
{
9861
 
 
9862
 
  ;
9863
 
  return 0;
9864
 
}
9865
 
_ACEOF
9866
 
if ac_fn_c_try_link "$LINENO"; then :
9867
 
 
9868
 
  lt_aix_libpath_sed='
9869
 
      /Import File Strings/,/^$/ {
9870
 
          /^0/ {
9871
 
              s/^0  *\([^ ]*\) *$/\1/
9872
 
              p
9873
 
          }
9874
 
      }'
9875
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9876
 
  # Check for a 64-bit object if we didn't find anything.
9877
 
  if test -z "$lt_cv_aix_libpath_"; then
9878
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9879
 
  fi
9880
 
fi
9881
 
rm -f core conftest.err conftest.$ac_objext \
9882
 
    conftest$ac_exeext conftest.$ac_ext
9883
 
  if test -z "$lt_cv_aix_libpath_"; then
9884
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
9885
 
  fi
9886
 
 
9887
 
fi
9888
 
 
9889
 
  aix_libpath=$lt_cv_aix_libpath_
9890
 
fi
9891
 
 
9892
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9893
 
          # Warning - without using the other run time loading flags,
9894
 
          # -berok will link without error, but may produce a broken library.
9895
 
          no_undefined_flag=' ${wl}-bernotok'
9896
 
          allow_undefined_flag=' ${wl}-berok'
9897
 
          if test "$with_gnu_ld" = yes; then
9898
 
            # We only use this code for GNU lds that support --whole-archive.
9899
 
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9900
 
          else
9901
 
            # Exported symbols can be pulled into shared objects from archives
9902
 
            whole_archive_flag_spec='$convenience'
9903
 
          fi
9904
 
          archive_cmds_need_lc=yes
9905
 
          # This is similar to how AIX traditionally builds its shared libraries.
9906
 
          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'
9907
 
        fi
9908
 
      fi
9909
 
      ;;
9910
 
 
9911
 
    amigaos*)
9912
 
      case $host_cpu in
9913
 
      powerpc)
9914
 
            # see comment about AmigaOS4 .so support
9915
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9916
 
            archive_expsym_cmds=''
9917
 
        ;;
9918
 
      m68k)
9919
 
            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)'
9920
 
            hardcode_libdir_flag_spec='-L$libdir'
9921
 
            hardcode_minus_L=yes
9922
 
        ;;
9923
 
      esac
9924
 
      ;;
9925
 
 
9926
 
    bsdi[45]*)
9927
 
      export_dynamic_flag_spec=-rdynamic
9928
 
      ;;
9929
 
 
9930
 
    cygwin* | mingw* | pw32* | cegcc*)
9931
 
      # When not using gcc, we currently assume that we are using
9932
 
      # Microsoft Visual C++.
9933
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9934
 
      # no search path for DLLs.
9935
 
      case $cc_basename in
9936
 
      cl*)
9937
 
        # Native MSVC
9938
 
        hardcode_libdir_flag_spec=' '
9939
 
        allow_undefined_flag=unsupported
9940
 
        always_export_symbols=yes
9941
 
        file_list_spec='@'
9942
 
        # Tell ltmain to make .lib files, not .a files.
9943
 
        libext=lib
9944
 
        # Tell ltmain to make .dll files, not .so files.
9945
 
        shrext_cmds=".dll"
9946
 
        # FIXME: Setting linknames here is a bad hack.
9947
 
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9948
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9949
 
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9950
 
          else
9951
 
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9952
 
          fi~
9953
 
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9954
 
          linknames='
9955
 
        # The linker will not automatically build a static lib if we build a DLL.
9956
 
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9957
 
        enable_shared_with_static_runtimes=yes
9958
 
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9959
 
        # Don't use ranlib
9960
 
        old_postinstall_cmds='chmod 644 $oldlib'
9961
 
        postlink_cmds='lt_outputfile="@OUTPUT@"~
9962
 
          lt_tool_outputfile="@TOOL_OUTPUT@"~
9963
 
          case $lt_outputfile in
9964
 
            *.exe|*.EXE) ;;
9965
 
            *)
9966
 
              lt_outputfile="$lt_outputfile.exe"
9967
 
              lt_tool_outputfile="$lt_tool_outputfile.exe"
9968
 
              ;;
9969
 
          esac~
9970
 
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9971
 
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9972
 
            $RM "$lt_outputfile.manifest";
9973
 
          fi'
9974
 
        ;;
9975
 
      *)
9976
 
        # Assume MSVC wrapper
9977
 
        hardcode_libdir_flag_spec=' '
9978
 
        allow_undefined_flag=unsupported
9979
 
        # Tell ltmain to make .lib files, not .a files.
9980
 
        libext=lib
9981
 
        # Tell ltmain to make .dll files, not .so files.
9982
 
        shrext_cmds=".dll"
9983
 
        # FIXME: Setting linknames here is a bad hack.
9984
 
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9985
 
        # The linker will automatically build a .lib file if we build a DLL.
9986
 
        old_archive_from_new_cmds='true'
9987
 
        # FIXME: Should let the user specify the lib program.
9988
 
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9989
 
        enable_shared_with_static_runtimes=yes
9990
 
        ;;
9991
 
      esac
9992
 
      ;;
9993
 
 
9994
 
    darwin* | rhapsody*)
9995
 
 
9996
 
 
9997
 
  archive_cmds_need_lc=no
9998
 
  hardcode_direct=no
9999
 
  hardcode_automatic=yes
10000
 
  hardcode_shlibpath_var=unsupported
10001
 
  if test "$lt_cv_ld_force_load" = "yes"; then
10002
 
    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\"`'
10003
 
  else
10004
 
    whole_archive_flag_spec=''
10005
 
  fi
10006
 
  link_all_deplibs=yes
10007
 
  allow_undefined_flag="$_lt_dar_allow_undefined"
10008
 
  case $cc_basename in
10009
 
     ifort*) _lt_dar_can_shared=yes ;;
10010
 
     *) _lt_dar_can_shared=$GCC ;;
10011
 
  esac
10012
 
  if test "$_lt_dar_can_shared" = "yes"; then
10013
 
    output_verbose_link_cmd=func_echo_all
10014
 
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10015
 
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10016
 
    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}"
10017
 
    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}"
10018
 
 
10019
 
  else
10020
 
  ld_shlibs=no
10021
 
  fi
10022
 
 
10023
 
      ;;
10024
 
 
10025
 
    dgux*)
10026
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10027
 
      hardcode_libdir_flag_spec='-L$libdir'
10028
 
      hardcode_shlibpath_var=no
10029
 
      ;;
10030
 
 
10031
 
    freebsd1*)
10032
 
      ld_shlibs=no
10033
 
      ;;
10034
 
 
10035
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10036
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
10037
 
    # does not break anything, and helps significantly (at the cost of a little
10038
 
    # extra space).
10039
 
    freebsd2.2*)
10040
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10041
 
      hardcode_libdir_flag_spec='-R$libdir'
10042
 
      hardcode_direct=yes
10043
 
      hardcode_shlibpath_var=no
10044
 
      ;;
10045
 
 
10046
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10047
 
    freebsd2*)
10048
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10049
 
      hardcode_direct=yes
10050
 
      hardcode_minus_L=yes
10051
 
      hardcode_shlibpath_var=no
10052
 
      ;;
10053
 
 
10054
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10055
 
    freebsd* | dragonfly*)
10056
 
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10057
 
      hardcode_libdir_flag_spec='-R$libdir'
10058
 
      hardcode_direct=yes
10059
 
      hardcode_shlibpath_var=no
10060
 
      ;;
10061
 
 
10062
 
    hpux9*)
10063
 
      if test "$GCC" = yes; then
10064
 
        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'
10065
 
      else
10066
 
        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'
10067
 
      fi
10068
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10069
 
      hardcode_libdir_separator=:
10070
 
      hardcode_direct=yes
10071
 
 
10072
 
      # hardcode_minus_L: Not really in the search PATH,
10073
 
      # but as the default location of the library.
10074
 
      hardcode_minus_L=yes
10075
 
      export_dynamic_flag_spec='${wl}-E'
10076
 
      ;;
10077
 
 
10078
 
    hpux10*)
10079
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10080
 
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10081
 
      else
10082
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10083
 
      fi
10084
 
      if test "$with_gnu_ld" = no; then
10085
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10086
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
10087
 
        hardcode_libdir_separator=:
10088
 
        hardcode_direct=yes
10089
 
        hardcode_direct_absolute=yes
10090
 
        export_dynamic_flag_spec='${wl}-E'
10091
 
        # hardcode_minus_L: Not really in the search PATH,
10092
 
        # but as the default location of the library.
10093
 
        hardcode_minus_L=yes
10094
 
      fi
10095
 
      ;;
10096
 
 
10097
 
    hpux11*)
10098
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10099
 
        case $host_cpu in
10100
 
        hppa*64*)
10101
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10102
 
          ;;
10103
 
        ia64*)
10104
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10105
 
          ;;
10106
 
        *)
10107
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10108
 
          ;;
10109
 
        esac
10110
 
      else
10111
 
        case $host_cpu in
10112
 
        hppa*64*)
10113
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10114
 
          ;;
10115
 
        ia64*)
10116
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10117
 
          ;;
10118
 
        *)
10119
 
 
10120
 
          # Older versions of the 11.00 compiler do not understand -b yet
10121
 
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10122
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10123
 
$as_echo_n "checking if $CC understands -b... " >&6; }
10124
 
if ${lt_cv_prog_compiler__b+:} false; then :
10125
 
  $as_echo_n "(cached) " >&6
10126
 
else
10127
 
  lt_cv_prog_compiler__b=no
10128
 
   save_LDFLAGS="$LDFLAGS"
10129
 
   LDFLAGS="$LDFLAGS -b"
10130
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10131
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10132
 
     # The linker can only warn and ignore the option if not recognized
10133
 
     # So say no if there are warnings
10134
 
     if test -s conftest.err; then
10135
 
       # Append any errors to the config.log.
10136
 
       cat conftest.err 1>&5
10137
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10138
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10139
 
       if diff conftest.exp conftest.er2 >/dev/null; then
10140
 
         lt_cv_prog_compiler__b=yes
10141
 
       fi
10142
 
     else
10143
 
       lt_cv_prog_compiler__b=yes
10144
 
     fi
10145
 
   fi
10146
 
   $RM -r conftest*
10147
 
   LDFLAGS="$save_LDFLAGS"
10148
 
 
10149
 
fi
10150
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10151
 
$as_echo "$lt_cv_prog_compiler__b" >&6; }
10152
 
 
10153
 
if test x"$lt_cv_prog_compiler__b" = xyes; then
10154
 
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10155
 
else
10156
 
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10157
 
fi
10158
 
 
10159
 
          ;;
10160
 
        esac
10161
 
      fi
10162
 
      if test "$with_gnu_ld" = no; then
10163
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10164
 
        hardcode_libdir_separator=:
10165
 
 
10166
 
        case $host_cpu in
10167
 
        hppa*64*|ia64*)
10168
 
          hardcode_direct=no
10169
 
          hardcode_shlibpath_var=no
10170
 
          ;;
10171
 
        *)
10172
 
          hardcode_direct=yes
10173
 
          hardcode_direct_absolute=yes
10174
 
          export_dynamic_flag_spec='${wl}-E'
10175
 
 
10176
 
          # hardcode_minus_L: Not really in the search PATH,
10177
 
          # but as the default location of the library.
10178
 
          hardcode_minus_L=yes
10179
 
          ;;
10180
 
        esac
10181
 
      fi
10182
 
      ;;
10183
 
 
10184
 
    irix5* | irix6* | nonstopux*)
10185
 
      if test "$GCC" = yes; then
10186
 
        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'
10187
 
        # Try to use the -exported_symbol ld option, if it does not
10188
 
        # work, assume that -exports_file does not work either and
10189
 
        # implicitly export all symbols.
10190
 
        # This should be the same for all languages, so no per-tag cache variable.
10191
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10192
 
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10193
 
if ${lt_cv_irix_exported_symbol+:} false; then :
10194
 
  $as_echo_n "(cached) " >&6
10195
 
else
10196
 
  save_LDFLAGS="$LDFLAGS"
10197
 
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10198
 
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10199
 
/* end confdefs.h.  */
10200
 
int foo (void) { return 0; }
10201
 
_ACEOF
10202
 
if ac_fn_c_try_link "$LINENO"; then :
10203
 
  lt_cv_irix_exported_symbol=yes
10204
 
else
10205
 
  lt_cv_irix_exported_symbol=no
10206
 
fi
10207
 
rm -f core conftest.err conftest.$ac_objext \
10208
 
    conftest$ac_exeext conftest.$ac_ext
10209
 
           LDFLAGS="$save_LDFLAGS"
10210
 
fi
10211
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10212
 
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10213
 
        if test "$lt_cv_irix_exported_symbol" = yes; then
10214
 
          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'
10215
 
        fi
10216
 
      else
10217
 
        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'
10218
 
        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'
10219
 
      fi
10220
 
      archive_cmds_need_lc='no'
10221
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10222
 
      hardcode_libdir_separator=:
10223
 
      inherit_rpath=yes
10224
 
      link_all_deplibs=yes
10225
 
      ;;
10226
 
 
10227
 
    netbsd* | netbsdelf*-gnu)
10228
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10229
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10230
 
      else
10231
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10232
 
      fi
10233
 
      hardcode_libdir_flag_spec='-R$libdir'
10234
 
      hardcode_direct=yes
10235
 
      hardcode_shlibpath_var=no
10236
 
      ;;
10237
 
 
10238
 
    newsos6)
10239
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10240
 
      hardcode_direct=yes
10241
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10242
 
      hardcode_libdir_separator=:
10243
 
      hardcode_shlibpath_var=no
10244
 
      ;;
10245
 
 
10246
 
    *nto* | *qnx*)
10247
 
      ;;
10248
 
 
10249
 
    openbsd*)
10250
 
      if test -f /usr/libexec/ld.so; then
10251
 
        hardcode_direct=yes
10252
 
        hardcode_shlibpath_var=no
10253
 
        hardcode_direct_absolute=yes
10254
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10255
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10256
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10257
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10258
 
          export_dynamic_flag_spec='${wl}-E'
10259
 
        else
10260
 
          case $host_os in
10261
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10262
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10263
 
             hardcode_libdir_flag_spec='-R$libdir'
10264
 
             ;;
10265
 
           *)
10266
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10267
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10268
 
             ;;
10269
 
          esac
10270
 
        fi
10271
 
      else
10272
 
        ld_shlibs=no
10273
 
      fi
10274
 
      ;;
10275
 
 
10276
 
    os2*)
10277
 
      hardcode_libdir_flag_spec='-L$libdir'
10278
 
      hardcode_minus_L=yes
10279
 
      allow_undefined_flag=unsupported
10280
 
      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'
10281
 
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10282
 
      ;;
10283
 
 
10284
 
    osf3*)
10285
 
      if test "$GCC" = yes; then
10286
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10287
 
        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'
10288
 
      else
10289
 
        allow_undefined_flag=' -expect_unresolved \*'
10290
 
        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'
10291
 
      fi
10292
 
      archive_cmds_need_lc='no'
10293
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10294
 
      hardcode_libdir_separator=:
10295
 
      ;;
10296
 
 
10297
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10298
 
      if test "$GCC" = yes; then
10299
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10300
 
        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'
10301
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10302
 
      else
10303
 
        allow_undefined_flag=' -expect_unresolved \*'
10304
 
        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'
10305
 
        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~
10306
 
        $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'
10307
 
 
10308
 
        # Both c and cxx compiler support -rpath directly
10309
 
        hardcode_libdir_flag_spec='-rpath $libdir'
10310
 
      fi
10311
 
      archive_cmds_need_lc='no'
10312
 
      hardcode_libdir_separator=:
10313
 
      ;;
10314
 
 
10315
 
    solaris*)
10316
 
      no_undefined_flag=' -z defs'
10317
 
      if test "$GCC" = yes; then
10318
 
        wlarc='${wl}'
10319
 
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10320
 
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10321
 
          $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'
10322
 
      else
10323
 
        case `$CC -V 2>&1` in
10324
 
        *"Compilers 5.0"*)
10325
 
          wlarc=''
10326
 
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10327
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10328
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10329
 
          ;;
10330
 
        *)
10331
 
          wlarc='${wl}'
10332
 
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10333
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10334
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10335
 
          ;;
10336
 
        esac
10337
 
      fi
10338
 
      hardcode_libdir_flag_spec='-R$libdir'
10339
 
      hardcode_shlibpath_var=no
10340
 
      case $host_os in
10341
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
10342
 
      *)
10343
 
        # The compiler driver will combine and reorder linker options,
10344
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10345
 
        # but is careful enough not to reorder.
10346
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
10347
 
        if test "$GCC" = yes; then
10348
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10349
 
        else
10350
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10351
 
        fi
10352
 
        ;;
10353
 
      esac
10354
 
      link_all_deplibs=yes
10355
 
      ;;
10356
 
 
10357
 
    sunos4*)
10358
 
      if test "x$host_vendor" = xsequent; then
10359
 
        # Use $CC to link under sequent, because it throws in some extra .o
10360
 
        # files that make .init and .fini sections work.
10361
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10362
 
      else
10363
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10364
 
      fi
10365
 
      hardcode_libdir_flag_spec='-L$libdir'
10366
 
      hardcode_direct=yes
10367
 
      hardcode_minus_L=yes
10368
 
      hardcode_shlibpath_var=no
10369
 
      ;;
10370
 
 
10371
 
    sysv4)
10372
 
      case $host_vendor in
10373
 
        sni)
10374
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10375
 
          hardcode_direct=yes # is this really true???
10376
 
        ;;
10377
 
        siemens)
10378
 
          ## LD is ld it makes a PLAMLIB
10379
 
          ## CC just makes a GrossModule.
10380
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10381
 
          reload_cmds='$CC -r -o $output$reload_objs'
10382
 
          hardcode_direct=no
10383
 
        ;;
10384
 
        motorola)
10385
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10386
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10387
 
        ;;
10388
 
      esac
10389
 
      runpath_var='LD_RUN_PATH'
10390
 
      hardcode_shlibpath_var=no
10391
 
      ;;
10392
 
 
10393
 
    sysv4.3*)
10394
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10395
 
      hardcode_shlibpath_var=no
10396
 
      export_dynamic_flag_spec='-Bexport'
10397
 
      ;;
10398
 
 
10399
 
    sysv4*MP*)
10400
 
      if test -d /usr/nec; then
10401
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10402
 
        hardcode_shlibpath_var=no
10403
 
        runpath_var=LD_RUN_PATH
10404
 
        hardcode_runpath_var=yes
10405
 
        ld_shlibs=yes
10406
 
      fi
10407
 
      ;;
10408
 
 
10409
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10410
 
      no_undefined_flag='${wl}-z,text'
10411
 
      archive_cmds_need_lc=no
10412
 
      hardcode_shlibpath_var=no
10413
 
      runpath_var='LD_RUN_PATH'
10414
 
 
10415
 
      if test "$GCC" = yes; then
10416
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10417
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10418
 
      else
10419
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10420
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10421
 
      fi
10422
 
      ;;
10423
 
 
10424
 
    sysv5* | sco3.2v5* | sco5v6*)
10425
 
      # Note: We can NOT use -z defs as we might desire, because we do not
10426
 
      # link with -lc, and that would cause any symbols used from libc to
10427
 
      # always be unresolved, which means just about no library would
10428
 
      # ever link correctly.  If we're not using GNU ld we use -z text
10429
 
      # though, which does catch some bad symbols but isn't as heavy-handed
10430
 
      # as -z defs.
10431
 
      no_undefined_flag='${wl}-z,text'
10432
 
      allow_undefined_flag='${wl}-z,nodefs'
10433
 
      archive_cmds_need_lc=no
10434
 
      hardcode_shlibpath_var=no
10435
 
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10436
 
      hardcode_libdir_separator=':'
10437
 
      link_all_deplibs=yes
10438
 
      export_dynamic_flag_spec='${wl}-Bexport'
10439
 
      runpath_var='LD_RUN_PATH'
10440
 
 
10441
 
      if test "$GCC" = yes; then
10442
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10443
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10444
 
      else
10445
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10446
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10447
 
      fi
10448
 
      ;;
10449
 
 
10450
 
    uts4*)
10451
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10452
 
      hardcode_libdir_flag_spec='-L$libdir'
10453
 
      hardcode_shlibpath_var=no
10454
 
      ;;
10455
 
 
10456
 
    *)
10457
 
      ld_shlibs=no
10458
 
      ;;
10459
 
    esac
10460
 
 
10461
 
    if test x$host_vendor = xsni; then
10462
 
      case $host in
10463
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10464
 
        export_dynamic_flag_spec='${wl}-Blargedynsym'
10465
 
        ;;
10466
 
      esac
10467
 
    fi
10468
 
  fi
10469
 
 
10470
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10471
 
$as_echo "$ld_shlibs" >&6; }
10472
 
test "$ld_shlibs" = no && can_build_shared=no
10473
 
 
10474
 
with_gnu_ld=$with_gnu_ld
10475
 
 
10476
 
 
10477
 
 
10478
 
 
10479
 
 
10480
 
 
10481
 
 
10482
 
 
10483
 
 
10484
 
 
10485
 
 
10486
 
 
10487
 
 
10488
 
 
10489
 
 
10490
 
#
10491
 
# Do we need to explicitly link libc?
10492
 
#
10493
 
case "x$archive_cmds_need_lc" in
10494
 
x|xyes)
10495
 
  # Assume -lc should be added
10496
 
  archive_cmds_need_lc=yes
10497
 
 
10498
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
10499
 
    case $archive_cmds in
10500
 
    *'~'*)
10501
 
      # FIXME: we may have to deal with multi-command sequences.
10502
 
      ;;
10503
 
    '$CC '*)
10504
 
      # Test whether the compiler implicitly links with -lc since on some
10505
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10506
 
      # to ld, don't add -lc before -lgcc.
10507
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10508
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10509
 
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10510
 
  $as_echo_n "(cached) " >&6
10511
 
else
10512
 
  $RM conftest*
10513
 
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10514
 
 
10515
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10516
 
  (eval $ac_compile) 2>&5
10517
 
  ac_status=$?
10518
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10519
 
  test $ac_status = 0; } 2>conftest.err; then
10520
 
          soname=conftest
10521
 
          lib=conftest
10522
 
          libobjs=conftest.$ac_objext
10523
 
          deplibs=
10524
 
          wl=$lt_prog_compiler_wl
10525
 
          pic_flag=$lt_prog_compiler_pic
10526
 
          compiler_flags=-v
10527
 
          linker_flags=-v
10528
 
          verstring=
10529
 
          output_objdir=.
10530
 
          libname=conftest
10531
 
          lt_save_allow_undefined_flag=$allow_undefined_flag
10532
 
          allow_undefined_flag=
10533
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10534
 
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10535
 
  ac_status=$?
10536
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10537
 
  test $ac_status = 0; }
10538
 
          then
10539
 
            lt_cv_archive_cmds_need_lc=no
10540
 
          else
10541
 
            lt_cv_archive_cmds_need_lc=yes
10542
 
          fi
10543
 
          allow_undefined_flag=$lt_save_allow_undefined_flag
10544
 
        else
10545
 
          cat conftest.err 1>&5
10546
 
        fi
10547
 
        $RM conftest*
10548
 
 
10549
 
fi
10550
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10551
 
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10552
 
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10553
 
      ;;
10554
 
    esac
10555
 
  fi
10556
 
  ;;
10557
 
esac
10558
 
 
10559
 
 
10560
 
 
10561
 
 
10562
 
 
10563
 
 
10564
 
 
10565
 
 
10566
 
 
10567
 
 
10568
 
 
10569
 
 
10570
 
 
10571
 
 
10572
 
 
10573
 
 
10574
 
 
10575
 
 
10576
 
 
10577
 
 
10578
 
 
10579
 
 
10580
 
 
10581
 
 
10582
 
 
10583
 
 
10584
 
 
10585
 
 
10586
 
 
10587
 
 
10588
 
 
10589
 
 
10590
 
 
10591
 
 
10592
 
 
10593
 
 
10594
 
 
10595
 
 
10596
 
 
10597
 
 
10598
 
 
10599
 
 
10600
 
 
10601
 
 
10602
 
 
10603
 
 
10604
 
 
10605
 
 
10606
 
 
10607
 
 
10608
 
 
10609
 
 
10610
 
 
10611
 
 
10612
 
 
10613
 
 
10614
 
 
10615
 
 
10616
 
 
10617
 
 
10618
 
 
10619
 
 
10620
 
 
10621
 
 
10622
 
 
10623
 
 
10624
 
 
10625
 
 
10626
 
 
10627
 
 
10628
 
 
10629
 
 
10630
 
 
10631
 
 
10632
 
 
10633
 
 
10634
 
 
10635
 
 
10636
 
 
10637
 
 
10638
 
 
10639
 
 
10640
 
 
10641
 
 
10642
 
 
10643
 
 
10644
 
 
10645
 
 
10646
 
 
10647
 
 
10648
 
 
10649
 
 
10650
 
 
10651
 
 
10652
 
 
10653
 
 
10654
 
 
10655
 
 
10656
 
 
10657
 
 
10658
 
 
10659
 
 
10660
 
 
10661
 
 
10662
 
 
10663
 
 
10664
 
 
10665
 
 
10666
 
 
10667
 
 
10668
 
 
10669
 
 
10670
 
 
10671
 
 
10672
 
 
10673
 
 
10674
 
 
10675
 
 
10676
 
 
10677
 
 
10678
 
 
10679
 
 
10680
 
 
10681
 
 
10682
 
 
10683
 
 
10684
 
 
10685
 
 
10686
 
 
10687
 
 
10688
 
 
10689
 
 
10690
 
 
10691
 
 
10692
 
 
10693
 
 
10694
 
 
10695
 
 
10696
 
 
10697
 
 
10698
 
 
10699
 
 
10700
 
 
10701
 
 
10702
 
 
10703
 
 
10704
 
 
10705
 
 
10706
 
 
10707
 
 
10708
 
 
10709
 
 
10710
 
 
10711
 
 
10712
 
 
10713
 
 
10714
 
 
10715
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10716
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10717
 
 
10718
 
if test "$GCC" = yes; then
10719
 
  case $host_os in
10720
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10721
 
    *) lt_awk_arg="/^libraries:/" ;;
10722
 
  esac
10723
 
  case $host_os in
10724
 
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10725
 
    *) lt_sed_strip_eq="s,=/,/,g" ;;
10726
 
  esac
10727
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10728
 
  case $lt_search_path_spec in
10729
 
  *\;*)
10730
 
    # if the path contains ";" then we assume it to be the separator
10731
 
    # otherwise default to the standard path separator (i.e. ":") - it is
10732
 
    # assumed that no part of a normal pathname contains ";" but that should
10733
 
    # okay in the real world where ";" in dirpaths is itself problematic.
10734
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10735
 
    ;;
10736
 
  *)
10737
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10738
 
    ;;
10739
 
  esac
10740
 
  # Ok, now we have the path, separated by spaces, we can step through it
10741
 
  # and add multilib dir if necessary.
10742
 
  lt_tmp_lt_search_path_spec=
10743
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10744
 
  for lt_sys_path in $lt_search_path_spec; do
10745
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10746
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10747
 
    else
10748
 
      test -d "$lt_sys_path" && \
10749
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10750
 
    fi
10751
 
  done
10752
 
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10753
 
BEGIN {RS=" "; FS="/|\n";} {
10754
 
  lt_foo="";
10755
 
  lt_count=0;
10756
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
10757
 
    if ($lt_i != "" && $lt_i != ".") {
10758
 
      if ($lt_i == "..") {
10759
 
        lt_count++;
10760
 
      } else {
10761
 
        if (lt_count == 0) {
10762
 
          lt_foo="/" $lt_i lt_foo;
10763
 
        } else {
10764
 
          lt_count--;
10765
 
        }
10766
 
      }
10767
 
    }
10768
 
  }
10769
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10770
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10771
 
}'`
10772
 
  # AWK program above erroneously prepends '/' to C:/dos/paths
10773
 
  # for these hosts.
10774
 
  case $host_os in
10775
 
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10776
 
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10777
 
  esac
10778
 
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10779
 
else
10780
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10781
 
fi
10782
 
library_names_spec=
10783
 
libname_spec='lib$name'
10784
 
soname_spec=
10785
 
shrext_cmds=".so"
10786
 
postinstall_cmds=
10787
 
postuninstall_cmds=
10788
 
finish_cmds=
10789
 
finish_eval=
10790
 
shlibpath_var=
10791
 
shlibpath_overrides_runpath=unknown
10792
 
version_type=none
10793
 
dynamic_linker="$host_os ld.so"
10794
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10795
 
need_lib_prefix=unknown
10796
 
hardcode_into_libs=no
10797
 
 
10798
 
# when you set need_version to no, make sure it does not cause -set_version
10799
 
# flags to be left without arguments
10800
 
need_version=unknown
10801
 
 
10802
 
case $host_os in
10803
 
aix3*)
10804
 
  version_type=linux
10805
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10806
 
  shlibpath_var=LIBPATH
10807
 
 
10808
 
  # AIX 3 has no versioning support, so we append a major version to the name.
10809
 
  soname_spec='${libname}${release}${shared_ext}$major'
10810
 
  ;;
10811
 
 
10812
 
aix[4-9]*)
10813
 
  version_type=linux
10814
 
  need_lib_prefix=no
10815
 
  need_version=no
10816
 
  hardcode_into_libs=yes
10817
 
  if test "$host_cpu" = ia64; then
10818
 
    # AIX 5 supports IA64
10819
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10820
 
    shlibpath_var=LD_LIBRARY_PATH
10821
 
  else
10822
 
    # With GCC up to 2.95.x, collect2 would create an import file
10823
 
    # for dependence libraries.  The import file would start with
10824
 
    # the line `#! .'.  This would cause the generated library to
10825
 
    # depend on `.', always an invalid library.  This was fixed in
10826
 
    # development snapshots of GCC prior to 3.0.
10827
 
    case $host_os in
10828
 
      aix4 | aix4.[01] | aix4.[01].*)
10829
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10830
 
           echo ' yes '
10831
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10832
 
        :
10833
 
      else
10834
 
        can_build_shared=no
10835
 
      fi
10836
 
      ;;
10837
 
    esac
10838
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10839
 
    # soname into executable. Probably we can add versioning support to
10840
 
    # collect2, so additional links can be useful in future.
10841
 
    if test "$aix_use_runtimelinking" = yes; then
10842
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10843
 
      # instead of lib<name>.a to let people know that these are not
10844
 
      # typical AIX shared libraries.
10845
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10846
 
    else
10847
 
      # We preserve .a as extension for shared libraries through AIX4.2
10848
 
      # and later when we are not doing run time linking.
10849
 
      library_names_spec='${libname}${release}.a $libname.a'
10850
 
      soname_spec='${libname}${release}${shared_ext}$major'
10851
 
    fi
10852
 
    shlibpath_var=LIBPATH
10853
 
  fi
10854
 
  ;;
10855
 
 
10856
 
amigaos*)
10857
 
  case $host_cpu in
10858
 
  powerpc)
10859
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
10860
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10861
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10862
 
    ;;
10863
 
  m68k)
10864
 
    library_names_spec='$libname.ixlibrary $libname.a'
10865
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10866
 
    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'
10867
 
    ;;
10868
 
  esac
10869
 
  ;;
10870
 
 
10871
 
beos*)
10872
 
  library_names_spec='${libname}${shared_ext}'
10873
 
  dynamic_linker="$host_os ld.so"
10874
 
  shlibpath_var=LIBRARY_PATH
10875
 
  ;;
10876
 
 
10877
 
bsdi[45]*)
10878
 
  version_type=linux
10879
 
  need_version=no
10880
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10881
 
  soname_spec='${libname}${release}${shared_ext}$major'
10882
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10883
 
  shlibpath_var=LD_LIBRARY_PATH
10884
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10885
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10886
 
  # the default ld.so.conf also contains /usr/contrib/lib and
10887
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10888
 
  # libtool to hard-code these into programs
10889
 
  ;;
10890
 
 
10891
 
cygwin* | mingw* | pw32* | cegcc*)
10892
 
  version_type=windows
10893
 
  shrext_cmds=".dll"
10894
 
  need_version=no
10895
 
  need_lib_prefix=no
10896
 
 
10897
 
  case $GCC,$cc_basename in
10898
 
  yes,*)
10899
 
    # gcc
10900
 
    library_names_spec='$libname.dll.a'
10901
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10902
 
    postinstall_cmds='base_file=`basename \${file}`~
10903
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10904
 
      dldir=$destdir/`dirname \$dlpath`~
10905
 
      test -d \$dldir || mkdir -p \$dldir~
10906
 
      $install_prog $dir/$dlname \$dldir/$dlname~
10907
 
      chmod a+x \$dldir/$dlname~
10908
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10909
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10910
 
      fi'
10911
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10912
 
      dlpath=$dir/\$dldll~
10913
 
       $RM \$dlpath'
10914
 
    shlibpath_overrides_runpath=yes
10915
 
 
10916
 
    case $host_os in
10917
 
    cygwin*)
10918
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10919
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10920
 
 
10921
 
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10922
 
      ;;
10923
 
    mingw* | cegcc*)
10924
 
      # MinGW DLLs use traditional 'lib' prefix
10925
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10926
 
      ;;
10927
 
    pw32*)
10928
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10929
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10930
 
      ;;
10931
 
    esac
10932
 
    dynamic_linker='Win32 ld.exe'
10933
 
    ;;
10934
 
 
10935
 
  *,cl*)
10936
 
    # Native MSVC
10937
 
    libname_spec='$name'
10938
 
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10939
 
    library_names_spec='${libname}.dll.lib'
10940
 
 
10941
 
    case $build_os in
10942
 
    mingw*)
10943
 
      sys_lib_search_path_spec=
10944
 
      lt_save_ifs=$IFS
10945
 
      IFS=';'
10946
 
      for lt_path in $LIB
10947
 
      do
10948
 
        IFS=$lt_save_ifs
10949
 
        # Let DOS variable expansion print the short 8.3 style file name.
10950
 
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10951
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10952
 
      done
10953
 
      IFS=$lt_save_ifs
10954
 
      # Convert to MSYS style.
10955
 
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10956
 
      ;;
10957
 
    cygwin*)
10958
 
      # Convert to unix form, then to dos form, then back to unix form
10959
 
      # but this time dos style (no spaces!) so that the unix form looks
10960
 
      # like /cygdrive/c/PROGRA~1:/cygdr...
10961
 
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10962
 
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10963
 
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10964
 
      ;;
10965
 
    *)
10966
 
      sys_lib_search_path_spec="$LIB"
10967
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10968
 
        # It is most probably a Windows format PATH.
10969
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10970
 
      else
10971
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10972
 
      fi
10973
 
      # FIXME: find the short name or the path components, as spaces are
10974
 
      # common. (e.g. "Program Files" -> "PROGRA~1")
10975
 
      ;;
10976
 
    esac
10977
 
 
10978
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10979
 
    postinstall_cmds='base_file=`basename \${file}`~
10980
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10981
 
      dldir=$destdir/`dirname \$dlpath`~
10982
 
      test -d \$dldir || mkdir -p \$dldir~
10983
 
      $install_prog $dir/$dlname \$dldir/$dlname'
10984
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10985
 
      dlpath=$dir/\$dldll~
10986
 
       $RM \$dlpath'
10987
 
    shlibpath_overrides_runpath=yes
10988
 
    dynamic_linker='Win32 link.exe'
10989
 
    ;;
10990
 
 
10991
 
  *)
10992
 
    # Assume MSVC wrapper
10993
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10994
 
    dynamic_linker='Win32 ld.exe'
10995
 
    ;;
10996
 
  esac
10997
 
  # FIXME: first we should search . and the directory the executable is in
10998
 
  shlibpath_var=PATH
10999
 
  ;;
11000
 
 
11001
 
darwin* | rhapsody*)
11002
 
  dynamic_linker="$host_os dyld"
11003
 
  version_type=darwin
11004
 
  need_lib_prefix=no
11005
 
  need_version=no
11006
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11007
 
  soname_spec='${libname}${release}${major}$shared_ext'
11008
 
  shlibpath_overrides_runpath=yes
11009
 
  shlibpath_var=DYLD_LIBRARY_PATH
11010
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11011
 
 
11012
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11013
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11014
 
  ;;
11015
 
 
11016
 
dgux*)
11017
 
  version_type=linux
11018
 
  need_lib_prefix=no
11019
 
  need_version=no
11020
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11021
 
  soname_spec='${libname}${release}${shared_ext}$major'
11022
 
  shlibpath_var=LD_LIBRARY_PATH
11023
 
  ;;
11024
 
 
11025
 
freebsd1*)
11026
 
  dynamic_linker=no
11027
 
  ;;
11028
 
 
11029
 
freebsd* | dragonfly*)
11030
 
  # DragonFly does not have aout.  When/if they implement a new
11031
 
  # versioning mechanism, adjust this.
11032
 
  if test -x /usr/bin/objformat; then
11033
 
    objformat=`/usr/bin/objformat`
11034
 
  else
11035
 
    case $host_os in
11036
 
    freebsd[123]*) objformat=aout ;;
11037
 
    *) objformat=elf ;;
11038
 
    esac
11039
 
  fi
11040
 
  version_type=freebsd-$objformat
11041
 
  case $version_type in
11042
 
    freebsd-elf*)
11043
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11044
 
      need_version=no
11045
 
      need_lib_prefix=no
11046
 
      ;;
11047
 
    freebsd-*)
11048
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11049
 
      need_version=yes
11050
 
      ;;
11051
 
  esac
11052
 
  shlibpath_var=LD_LIBRARY_PATH
11053
 
  case $host_os in
11054
 
  freebsd2*)
11055
 
    shlibpath_overrides_runpath=yes
11056
 
    ;;
11057
 
  freebsd3.[01]* | freebsdelf3.[01]*)
11058
 
    shlibpath_overrides_runpath=yes
11059
 
    hardcode_into_libs=yes
11060
 
    ;;
11061
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11062
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11063
 
    shlibpath_overrides_runpath=no
11064
 
    hardcode_into_libs=yes
11065
 
    ;;
11066
 
  *) # from 4.6 on, and DragonFly
11067
 
    shlibpath_overrides_runpath=yes
11068
 
    hardcode_into_libs=yes
11069
 
    ;;
11070
 
  esac
11071
 
  ;;
11072
 
 
11073
 
gnu*)
11074
 
  version_type=linux
11075
 
  need_lib_prefix=no
11076
 
  need_version=no
11077
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11078
 
  soname_spec='${libname}${release}${shared_ext}$major'
11079
 
  shlibpath_var=LD_LIBRARY_PATH
11080
 
  shlibpath_overrides_runpath=no
11081
 
  hardcode_into_libs=yes
11082
 
  ;;
11083
 
 
11084
 
haiku*)
11085
 
  version_type=linux
11086
 
  need_lib_prefix=no
11087
 
  need_version=no
11088
 
  dynamic_linker="$host_os runtime_loader"
11089
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11090
 
  soname_spec='${libname}${release}${shared_ext}$major'
11091
 
  shlibpath_var=LIBRARY_PATH
11092
 
  shlibpath_overrides_runpath=yes
11093
 
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11094
 
  hardcode_into_libs=yes
11095
 
  ;;
11096
 
 
11097
 
hpux9* | hpux10* | hpux11*)
11098
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
11099
 
  # link against other versions.
11100
 
  version_type=sunos
11101
 
  need_lib_prefix=no
11102
 
  need_version=no
11103
 
  case $host_cpu in
11104
 
  ia64*)
11105
 
    shrext_cmds='.so'
11106
 
    hardcode_into_libs=yes
11107
 
    dynamic_linker="$host_os dld.so"
11108
 
    shlibpath_var=LD_LIBRARY_PATH
11109
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11110
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11111
 
    soname_spec='${libname}${release}${shared_ext}$major'
11112
 
    if test "X$HPUX_IA64_MODE" = X32; then
11113
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11114
 
    else
11115
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11116
 
    fi
11117
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11118
 
    ;;
11119
 
  hppa*64*)
11120
 
    shrext_cmds='.sl'
11121
 
    hardcode_into_libs=yes
11122
 
    dynamic_linker="$host_os dld.sl"
11123
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11124
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11125
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11126
 
    soname_spec='${libname}${release}${shared_ext}$major'
11127
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11128
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11129
 
    ;;
11130
 
  *)
11131
 
    shrext_cmds='.sl'
11132
 
    dynamic_linker="$host_os dld.sl"
11133
 
    shlibpath_var=SHLIB_PATH
11134
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11135
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11136
 
    soname_spec='${libname}${release}${shared_ext}$major'
11137
 
    ;;
11138
 
  esac
11139
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11140
 
  postinstall_cmds='chmod 555 $lib'
11141
 
  # or fails outright, so override atomically:
11142
 
  install_override_mode=555
11143
 
  ;;
11144
 
 
11145
 
interix[3-9]*)
11146
 
  version_type=linux
11147
 
  need_lib_prefix=no
11148
 
  need_version=no
11149
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11150
 
  soname_spec='${libname}${release}${shared_ext}$major'
11151
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11152
 
  shlibpath_var=LD_LIBRARY_PATH
11153
 
  shlibpath_overrides_runpath=no
11154
 
  hardcode_into_libs=yes
11155
 
  ;;
11156
 
 
11157
 
irix5* | irix6* | nonstopux*)
11158
 
  case $host_os in
11159
 
    nonstopux*) version_type=nonstopux ;;
11160
 
    *)
11161
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
11162
 
                version_type=linux
11163
 
        else
11164
 
                version_type=irix
11165
 
        fi ;;
11166
 
  esac
11167
 
  need_lib_prefix=no
11168
 
  need_version=no
11169
 
  soname_spec='${libname}${release}${shared_ext}$major'
11170
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11171
 
  case $host_os in
11172
 
  irix5* | nonstopux*)
11173
 
    libsuff= shlibsuff=
11174
 
    ;;
11175
 
  *)
11176
 
    case $LD in # libtool.m4 will add one of these switches to LD
11177
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11178
 
      libsuff= shlibsuff= libmagic=32-bit;;
11179
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11180
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
11181
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11182
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11183
 
    *) libsuff= shlibsuff= libmagic=never-match;;
11184
 
    esac
11185
 
    ;;
11186
 
  esac
11187
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11188
 
  shlibpath_overrides_runpath=no
11189
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11190
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11191
 
  hardcode_into_libs=yes
11192
 
  ;;
11193
 
 
11194
 
# No shared lib support for Linux oldld, aout, or coff.
11195
 
linux*oldld* | linux*aout* | linux*coff*)
11196
 
  dynamic_linker=no
11197
 
  ;;
11198
 
 
11199
 
# This must be Linux ELF.
11200
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11201
 
  version_type=linux
11202
 
  need_lib_prefix=no
11203
 
  need_version=no
11204
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11205
 
  soname_spec='${libname}${release}${shared_ext}$major'
11206
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11207
 
  shlibpath_var=LD_LIBRARY_PATH
11208
 
  shlibpath_overrides_runpath=no
11209
 
 
11210
 
  # Some binutils ld are patched to set DT_RUNPATH
11211
 
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11212
 
  $as_echo_n "(cached) " >&6
11213
 
else
11214
 
  lt_cv_shlibpath_overrides_runpath=no
11215
 
    save_LDFLAGS=$LDFLAGS
11216
 
    save_libdir=$libdir
11217
 
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11218
 
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11219
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11220
 
/* end confdefs.h.  */
11221
 
 
11222
 
int
11223
 
main ()
11224
 
{
11225
 
 
11226
 
  ;
11227
 
  return 0;
11228
 
}
11229
 
_ACEOF
11230
 
if ac_fn_c_try_link "$LINENO"; then :
11231
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11232
 
  lt_cv_shlibpath_overrides_runpath=yes
11233
 
fi
11234
 
fi
11235
 
rm -f core conftest.err conftest.$ac_objext \
11236
 
    conftest$ac_exeext conftest.$ac_ext
11237
 
    LDFLAGS=$save_LDFLAGS
11238
 
    libdir=$save_libdir
11239
 
 
11240
 
fi
11241
 
 
11242
 
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11243
 
 
11244
 
  # This implies no fast_install, which is unacceptable.
11245
 
  # Some rework will be needed to allow for fast_install
11246
 
  # before this can be enabled.
11247
 
  hardcode_into_libs=yes
11248
 
 
11249
 
  # Append ld.so.conf contents to the search path
11250
 
  if test -f /etc/ld.so.conf; then
11251
 
    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' ' '`
11252
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11253
 
  fi
11254
 
 
11255
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11256
 
  # powerpc, because MkLinux only supported shared libraries with the
11257
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
11258
 
  # most powerpc-linux boxes support dynamic linking these days and
11259
 
  # people can always --disable-shared, the test was removed, and we
11260
 
  # assume the GNU/Linux dynamic linker is in use.
11261
 
  dynamic_linker='GNU/Linux ld.so'
11262
 
  ;;
11263
 
 
11264
 
netbsdelf*-gnu)
11265
 
  version_type=linux
11266
 
  need_lib_prefix=no
11267
 
  need_version=no
11268
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11269
 
  soname_spec='${libname}${release}${shared_ext}$major'
11270
 
  shlibpath_var=LD_LIBRARY_PATH
11271
 
  shlibpath_overrides_runpath=no
11272
 
  hardcode_into_libs=yes
11273
 
  dynamic_linker='NetBSD ld.elf_so'
11274
 
  ;;
11275
 
 
11276
 
netbsd*)
11277
 
  version_type=sunos
11278
 
  need_lib_prefix=no
11279
 
  need_version=no
11280
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11281
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11282
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11283
 
    dynamic_linker='NetBSD (a.out) ld.so'
11284
 
  else
11285
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11286
 
    soname_spec='${libname}${release}${shared_ext}$major'
11287
 
    dynamic_linker='NetBSD ld.elf_so'
11288
 
  fi
11289
 
  shlibpath_var=LD_LIBRARY_PATH
11290
 
  shlibpath_overrides_runpath=yes
11291
 
  hardcode_into_libs=yes
11292
 
  ;;
11293
 
 
11294
 
newsos6)
11295
 
  version_type=linux
11296
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11297
 
  shlibpath_var=LD_LIBRARY_PATH
11298
 
  shlibpath_overrides_runpath=yes
11299
 
  ;;
11300
 
 
11301
 
*nto* | *qnx*)
11302
 
  version_type=qnx
11303
 
  need_lib_prefix=no
11304
 
  need_version=no
11305
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11306
 
  soname_spec='${libname}${release}${shared_ext}$major'
11307
 
  shlibpath_var=LD_LIBRARY_PATH
11308
 
  shlibpath_overrides_runpath=no
11309
 
  hardcode_into_libs=yes
11310
 
  dynamic_linker='ldqnx.so'
11311
 
  ;;
11312
 
 
11313
 
openbsd*)
11314
 
  version_type=sunos
11315
 
  sys_lib_dlsearch_path_spec="/usr/lib"
11316
 
  need_lib_prefix=no
11317
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11318
 
  case $host_os in
11319
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11320
 
    *)                          need_version=no  ;;
11321
 
  esac
11322
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11323
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11324
 
  shlibpath_var=LD_LIBRARY_PATH
11325
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11326
 
    case $host_os in
11327
 
      openbsd2.[89] | openbsd2.[89].*)
11328
 
        shlibpath_overrides_runpath=no
11329
 
        ;;
11330
 
      *)
11331
 
        shlibpath_overrides_runpath=yes
11332
 
        ;;
11333
 
      esac
11334
 
  else
11335
 
    shlibpath_overrides_runpath=yes
11336
 
  fi
11337
 
  ;;
11338
 
 
11339
 
os2*)
11340
 
  libname_spec='$name'
11341
 
  shrext_cmds=".dll"
11342
 
  need_lib_prefix=no
11343
 
  library_names_spec='$libname${shared_ext} $libname.a'
11344
 
  dynamic_linker='OS/2 ld.exe'
11345
 
  shlibpath_var=LIBPATH
11346
 
  ;;
11347
 
 
11348
 
osf3* | osf4* | osf5*)
11349
 
  version_type=osf
11350
 
  need_lib_prefix=no
11351
 
  need_version=no
11352
 
  soname_spec='${libname}${release}${shared_ext}$major'
11353
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11354
 
  shlibpath_var=LD_LIBRARY_PATH
11355
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11356
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11357
 
  ;;
11358
 
 
11359
 
rdos*)
11360
 
  dynamic_linker=no
11361
 
  ;;
11362
 
 
11363
 
solaris*)
11364
 
  version_type=linux
11365
 
  need_lib_prefix=no
11366
 
  need_version=no
11367
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11368
 
  soname_spec='${libname}${release}${shared_ext}$major'
11369
 
  shlibpath_var=LD_LIBRARY_PATH
11370
 
  shlibpath_overrides_runpath=yes
11371
 
  hardcode_into_libs=yes
11372
 
  # ldd complains unless libraries are executable
11373
 
  postinstall_cmds='chmod +x $lib'
11374
 
  ;;
11375
 
 
11376
 
sunos4*)
11377
 
  version_type=sunos
11378
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11379
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11380
 
  shlibpath_var=LD_LIBRARY_PATH
11381
 
  shlibpath_overrides_runpath=yes
11382
 
  if test "$with_gnu_ld" = yes; then
11383
 
    need_lib_prefix=no
11384
 
  fi
11385
 
  need_version=yes
11386
 
  ;;
11387
 
 
11388
 
sysv4 | sysv4.3*)
11389
 
  version_type=linux
11390
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11391
 
  soname_spec='${libname}${release}${shared_ext}$major'
11392
 
  shlibpath_var=LD_LIBRARY_PATH
11393
 
  case $host_vendor in
11394
 
    sni)
11395
 
      shlibpath_overrides_runpath=no
11396
 
      need_lib_prefix=no
11397
 
      runpath_var=LD_RUN_PATH
11398
 
      ;;
11399
 
    siemens)
11400
 
      need_lib_prefix=no
11401
 
      ;;
11402
 
    motorola)
11403
 
      need_lib_prefix=no
11404
 
      need_version=no
11405
 
      shlibpath_overrides_runpath=no
11406
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11407
 
      ;;
11408
 
  esac
11409
 
  ;;
11410
 
 
11411
 
sysv4*MP*)
11412
 
  if test -d /usr/nec ;then
11413
 
    version_type=linux
11414
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11415
 
    soname_spec='$libname${shared_ext}.$major'
11416
 
    shlibpath_var=LD_LIBRARY_PATH
11417
 
  fi
11418
 
  ;;
11419
 
 
11420
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11421
 
  version_type=freebsd-elf
11422
 
  need_lib_prefix=no
11423
 
  need_version=no
11424
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11425
 
  soname_spec='${libname}${release}${shared_ext}$major'
11426
 
  shlibpath_var=LD_LIBRARY_PATH
11427
 
  shlibpath_overrides_runpath=yes
11428
 
  hardcode_into_libs=yes
11429
 
  if test "$with_gnu_ld" = yes; then
11430
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11431
 
  else
11432
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11433
 
    case $host_os in
11434
 
      sco3.2v5*)
11435
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11436
 
        ;;
11437
 
    esac
11438
 
  fi
11439
 
  sys_lib_dlsearch_path_spec='/usr/lib'
11440
 
  ;;
11441
 
 
11442
 
tpf*)
11443
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11444
 
  version_type=linux
11445
 
  need_lib_prefix=no
11446
 
  need_version=no
11447
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11448
 
  shlibpath_var=LD_LIBRARY_PATH
11449
 
  shlibpath_overrides_runpath=no
11450
 
  hardcode_into_libs=yes
11451
 
  ;;
11452
 
 
11453
 
uts4*)
11454
 
  version_type=linux
11455
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11456
 
  soname_spec='${libname}${release}${shared_ext}$major'
11457
 
  shlibpath_var=LD_LIBRARY_PATH
11458
 
  ;;
11459
 
 
11460
 
*)
11461
 
  dynamic_linker=no
11462
 
  ;;
11463
 
esac
11464
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11465
 
$as_echo "$dynamic_linker" >&6; }
11466
 
test "$dynamic_linker" = no && can_build_shared=no
11467
 
 
11468
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11469
 
if test "$GCC" = yes; then
11470
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11471
 
fi
11472
 
 
11473
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11474
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11475
 
fi
11476
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11477
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11478
 
fi
11479
 
 
11480
 
 
11481
 
 
11482
 
 
11483
 
 
11484
 
 
11485
 
 
11486
 
 
11487
 
 
11488
 
 
11489
 
 
11490
 
 
11491
 
 
11492
 
 
11493
 
 
11494
 
 
11495
 
 
11496
 
 
11497
 
 
11498
 
 
11499
 
 
11500
 
 
11501
 
 
11502
 
 
11503
 
 
11504
 
 
11505
 
 
11506
 
 
11507
 
 
11508
 
 
11509
 
 
11510
 
 
11511
 
 
11512
 
 
11513
 
 
11514
 
 
11515
 
 
11516
 
 
11517
 
 
11518
 
 
11519
 
 
11520
 
 
11521
 
 
11522
 
 
11523
 
 
11524
 
 
11525
 
 
11526
 
 
11527
 
 
11528
 
 
11529
 
 
11530
 
 
11531
 
 
11532
 
 
11533
 
 
11534
 
 
11535
 
 
11536
 
 
11537
 
 
11538
 
 
11539
 
 
11540
 
 
11541
 
 
11542
 
 
11543
 
 
11544
 
 
11545
 
 
11546
 
 
11547
 
 
11548
 
 
11549
 
 
11550
 
 
11551
 
 
11552
 
 
11553
 
 
11554
 
 
11555
 
 
11556
 
 
11557
 
 
11558
 
 
11559
 
 
11560
 
 
11561
 
 
11562
 
 
11563
 
 
11564
 
 
11565
 
 
11566
 
 
11567
 
 
11568
 
 
11569
 
 
11570
 
 
11571
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11572
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11573
 
hardcode_action=
11574
 
if test -n "$hardcode_libdir_flag_spec" ||
11575
 
   test -n "$runpath_var" ||
11576
 
   test "X$hardcode_automatic" = "Xyes" ; then
11577
 
 
11578
 
  # We can hardcode non-existent directories.
11579
 
  if test "$hardcode_direct" != no &&
11580
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11581
 
     # have to relink, otherwise we might link with an installed library
11582
 
     # when we should be linking with a yet-to-be-installed one
11583
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11584
 
     test "$hardcode_minus_L" != no; then
11585
 
    # Linking always hardcodes the temporary library directory.
11586
 
    hardcode_action=relink
11587
 
  else
11588
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11589
 
    hardcode_action=immediate
11590
 
  fi
11591
 
else
11592
 
  # We cannot hardcode anything, or else we can only hardcode existing
11593
 
  # directories.
11594
 
  hardcode_action=unsupported
11595
 
fi
11596
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11597
 
$as_echo "$hardcode_action" >&6; }
11598
 
 
11599
 
if test "$hardcode_action" = relink ||
11600
 
   test "$inherit_rpath" = yes; then
11601
 
  # Fast installation is not supported
11602
 
  enable_fast_install=no
11603
 
elif test "$shlibpath_overrides_runpath" = yes ||
11604
 
     test "$enable_shared" = no; then
11605
 
  # Fast installation is not necessary
11606
 
  enable_fast_install=needless
11607
 
fi
11608
 
 
11609
 
 
11610
 
 
11611
 
 
11612
 
 
11613
 
 
11614
 
  if test "x$enable_dlopen" != xyes; then
11615
 
  enable_dlopen=unknown
11616
 
  enable_dlopen_self=unknown
11617
 
  enable_dlopen_self_static=unknown
11618
 
else
11619
 
  lt_cv_dlopen=no
11620
 
  lt_cv_dlopen_libs=
11621
 
 
11622
 
  case $host_os in
11623
 
  beos*)
11624
 
    lt_cv_dlopen="load_add_on"
11625
 
    lt_cv_dlopen_libs=
11626
 
    lt_cv_dlopen_self=yes
11627
 
    ;;
11628
 
 
11629
 
  mingw* | pw32* | cegcc*)
11630
 
    lt_cv_dlopen="LoadLibrary"
11631
 
    lt_cv_dlopen_libs=
11632
 
    ;;
11633
 
 
11634
 
  cygwin*)
11635
 
    lt_cv_dlopen="dlopen"
11636
 
    lt_cv_dlopen_libs=
11637
 
    ;;
11638
 
 
11639
 
  darwin*)
11640
 
  # if libdl is installed we need to link against it
11641
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11642
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11643
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
11644
 
  $as_echo_n "(cached) " >&6
11645
 
else
11646
 
  ac_check_lib_save_LIBS=$LIBS
11647
 
LIBS="-ldl  $LIBS"
11648
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11649
 
/* end confdefs.h.  */
11650
 
 
11651
 
/* Override any GCC internal prototype to avoid an error.
11652
 
   Use char because int might match the return type of a GCC
11653
 
   builtin and then its argument prototype would still apply.  */
11654
 
#ifdef __cplusplus
11655
 
extern "C"
11656
 
#endif
11657
 
char dlopen ();
11658
 
int
11659
 
main ()
11660
 
{
11661
 
return dlopen ();
11662
 
  ;
11663
 
  return 0;
11664
 
}
11665
 
_ACEOF
11666
 
if ac_fn_c_try_link "$LINENO"; then :
11667
 
  ac_cv_lib_dl_dlopen=yes
11668
 
else
11669
 
  ac_cv_lib_dl_dlopen=no
11670
 
fi
11671
 
rm -f core conftest.err conftest.$ac_objext \
11672
 
    conftest$ac_exeext conftest.$ac_ext
11673
 
LIBS=$ac_check_lib_save_LIBS
11674
 
fi
11675
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11676
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11677
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11678
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11679
 
else
11680
 
 
11681
 
    lt_cv_dlopen="dyld"
11682
 
    lt_cv_dlopen_libs=
11683
 
    lt_cv_dlopen_self=yes
11684
 
 
11685
 
fi
11686
 
 
11687
 
    ;;
11688
 
 
11689
 
  *)
11690
 
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11691
 
if test "x$ac_cv_func_shl_load" = xyes; then :
11692
 
  lt_cv_dlopen="shl_load"
11693
 
else
11694
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11695
 
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11696
 
if ${ac_cv_lib_dld_shl_load+:} false; then :
11697
 
  $as_echo_n "(cached) " >&6
11698
 
else
11699
 
  ac_check_lib_save_LIBS=$LIBS
11700
 
LIBS="-ldld  $LIBS"
11701
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11702
 
/* end confdefs.h.  */
11703
 
 
11704
 
/* Override any GCC internal prototype to avoid an error.
11705
 
   Use char because int might match the return type of a GCC
11706
 
   builtin and then its argument prototype would still apply.  */
11707
 
#ifdef __cplusplus
11708
 
extern "C"
11709
 
#endif
11710
 
char shl_load ();
11711
 
int
11712
 
main ()
11713
 
{
11714
 
return shl_load ();
11715
 
  ;
11716
 
  return 0;
11717
 
}
11718
 
_ACEOF
11719
 
if ac_fn_c_try_link "$LINENO"; then :
11720
 
  ac_cv_lib_dld_shl_load=yes
11721
 
else
11722
 
  ac_cv_lib_dld_shl_load=no
11723
 
fi
11724
 
rm -f core conftest.err conftest.$ac_objext \
11725
 
    conftest$ac_exeext conftest.$ac_ext
11726
 
LIBS=$ac_check_lib_save_LIBS
11727
 
fi
11728
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11729
 
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11730
 
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11731
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11732
 
else
11733
 
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11734
 
if test "x$ac_cv_func_dlopen" = xyes; then :
11735
 
  lt_cv_dlopen="dlopen"
11736
 
else
11737
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11738
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11739
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
11740
 
  $as_echo_n "(cached) " >&6
11741
 
else
11742
 
  ac_check_lib_save_LIBS=$LIBS
11743
 
LIBS="-ldl  $LIBS"
11744
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11745
 
/* end confdefs.h.  */
11746
 
 
11747
 
/* Override any GCC internal prototype to avoid an error.
11748
 
   Use char because int might match the return type of a GCC
11749
 
   builtin and then its argument prototype would still apply.  */
11750
 
#ifdef __cplusplus
11751
 
extern "C"
11752
 
#endif
11753
 
char dlopen ();
11754
 
int
11755
 
main ()
11756
 
{
11757
 
return dlopen ();
11758
 
  ;
11759
 
  return 0;
11760
 
}
11761
 
_ACEOF
11762
 
if ac_fn_c_try_link "$LINENO"; then :
11763
 
  ac_cv_lib_dl_dlopen=yes
11764
 
else
11765
 
  ac_cv_lib_dl_dlopen=no
11766
 
fi
11767
 
rm -f core conftest.err conftest.$ac_objext \
11768
 
    conftest$ac_exeext conftest.$ac_ext
11769
 
LIBS=$ac_check_lib_save_LIBS
11770
 
fi
11771
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11772
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11773
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11774
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11775
 
else
11776
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11777
 
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11778
 
if ${ac_cv_lib_svld_dlopen+:} false; then :
11779
 
  $as_echo_n "(cached) " >&6
11780
 
else
11781
 
  ac_check_lib_save_LIBS=$LIBS
11782
 
LIBS="-lsvld  $LIBS"
11783
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11784
 
/* end confdefs.h.  */
11785
 
 
11786
 
/* Override any GCC internal prototype to avoid an error.
11787
 
   Use char because int might match the return type of a GCC
11788
 
   builtin and then its argument prototype would still apply.  */
11789
 
#ifdef __cplusplus
11790
 
extern "C"
11791
 
#endif
11792
 
char dlopen ();
11793
 
int
11794
 
main ()
11795
 
{
11796
 
return dlopen ();
11797
 
  ;
11798
 
  return 0;
11799
 
}
11800
 
_ACEOF
11801
 
if ac_fn_c_try_link "$LINENO"; then :
11802
 
  ac_cv_lib_svld_dlopen=yes
11803
 
else
11804
 
  ac_cv_lib_svld_dlopen=no
11805
 
fi
11806
 
rm -f core conftest.err conftest.$ac_objext \
11807
 
    conftest$ac_exeext conftest.$ac_ext
11808
 
LIBS=$ac_check_lib_save_LIBS
11809
 
fi
11810
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11811
 
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11812
 
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11813
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11814
 
else
11815
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11816
 
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11817
 
if ${ac_cv_lib_dld_dld_link+:} false; then :
11818
 
  $as_echo_n "(cached) " >&6
11819
 
else
11820
 
  ac_check_lib_save_LIBS=$LIBS
11821
 
LIBS="-ldld  $LIBS"
11822
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11823
 
/* end confdefs.h.  */
11824
 
 
11825
 
/* Override any GCC internal prototype to avoid an error.
11826
 
   Use char because int might match the return type of a GCC
11827
 
   builtin and then its argument prototype would still apply.  */
11828
 
#ifdef __cplusplus
11829
 
extern "C"
11830
 
#endif
11831
 
char dld_link ();
11832
 
int
11833
 
main ()
11834
 
{
11835
 
return dld_link ();
11836
 
  ;
11837
 
  return 0;
11838
 
}
11839
 
_ACEOF
11840
 
if ac_fn_c_try_link "$LINENO"; then :
11841
 
  ac_cv_lib_dld_dld_link=yes
11842
 
else
11843
 
  ac_cv_lib_dld_dld_link=no
11844
 
fi
11845
 
rm -f core conftest.err conftest.$ac_objext \
11846
 
    conftest$ac_exeext conftest.$ac_ext
11847
 
LIBS=$ac_check_lib_save_LIBS
11848
 
fi
11849
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11850
 
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11851
 
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11852
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11853
 
fi
11854
 
 
11855
 
 
11856
 
fi
11857
 
 
11858
 
 
11859
 
fi
11860
 
 
11861
 
 
11862
 
fi
11863
 
 
11864
 
 
11865
 
fi
11866
 
 
11867
 
 
11868
 
fi
11869
 
 
11870
 
    ;;
11871
 
  esac
11872
 
 
11873
 
  if test "x$lt_cv_dlopen" != xno; then
11874
 
    enable_dlopen=yes
11875
 
  else
11876
 
    enable_dlopen=no
11877
 
  fi
11878
 
 
11879
 
  case $lt_cv_dlopen in
11880
 
  dlopen)
11881
 
    save_CPPFLAGS="$CPPFLAGS"
11882
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11883
 
 
11884
 
    save_LDFLAGS="$LDFLAGS"
11885
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11886
 
 
11887
 
    save_LIBS="$LIBS"
11888
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
11889
 
 
11890
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11891
 
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11892
 
if ${lt_cv_dlopen_self+:} false; then :
11893
 
  $as_echo_n "(cached) " >&6
11894
 
else
11895
 
          if test "$cross_compiling" = yes; then :
11896
 
  lt_cv_dlopen_self=cross
11897
 
else
11898
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11899
 
  lt_status=$lt_dlunknown
11900
 
  cat > conftest.$ac_ext <<_LT_EOF
11901
 
#line $LINENO "configure"
11902
 
#include "confdefs.h"
11903
 
 
11904
 
#if HAVE_DLFCN_H
11905
 
#include <dlfcn.h>
11906
 
#endif
11907
 
 
11908
 
#include <stdio.h>
11909
 
 
11910
 
#ifdef RTLD_GLOBAL
11911
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11912
 
#else
11913
 
#  ifdef DL_GLOBAL
11914
 
#    define LT_DLGLOBAL         DL_GLOBAL
11915
 
#  else
11916
 
#    define LT_DLGLOBAL         0
11917
 
#  endif
11918
 
#endif
11919
 
 
11920
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11921
 
   find out it does not work in some platform. */
11922
 
#ifndef LT_DLLAZY_OR_NOW
11923
 
#  ifdef RTLD_LAZY
11924
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11925
 
#  else
11926
 
#    ifdef DL_LAZY
11927
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11928
 
#    else
11929
 
#      ifdef RTLD_NOW
11930
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11931
 
#      else
11932
 
#        ifdef DL_NOW
11933
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11934
 
#        else
11935
 
#          define LT_DLLAZY_OR_NOW      0
11936
 
#        endif
11937
 
#      endif
11938
 
#    endif
11939
 
#  endif
11940
 
#endif
11941
 
 
11942
 
/* When -fvisbility=hidden is used, assume the code has been annotated
11943
 
   correspondingly for the symbols needed.  */
11944
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11945
 
int fnord () __attribute__((visibility("default")));
11946
 
#endif
11947
 
 
11948
 
int fnord () { return 42; }
11949
 
int main ()
11950
 
{
11951
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11952
 
  int status = $lt_dlunknown;
11953
 
 
11954
 
  if (self)
11955
 
    {
11956
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11957
 
      else
11958
 
        {
11959
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11960
 
          else puts (dlerror ());
11961
 
        }
11962
 
      /* dlclose (self); */
11963
 
    }
11964
 
  else
11965
 
    puts (dlerror ());
11966
 
 
11967
 
  return status;
11968
 
}
11969
 
_LT_EOF
11970
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11971
 
  (eval $ac_link) 2>&5
11972
 
  ac_status=$?
11973
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11974
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11975
 
    (./conftest; exit; ) >&5 2>/dev/null
11976
 
    lt_status=$?
11977
 
    case x$lt_status in
11978
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11979
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11980
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11981
 
    esac
11982
 
  else :
11983
 
    # compilation failed
11984
 
    lt_cv_dlopen_self=no
11985
 
  fi
11986
 
fi
11987
 
rm -fr conftest*
11988
 
 
11989
 
 
11990
 
fi
11991
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11992
 
$as_echo "$lt_cv_dlopen_self" >&6; }
11993
 
 
11994
 
    if test "x$lt_cv_dlopen_self" = xyes; then
11995
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11996
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11997
 
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11998
 
if ${lt_cv_dlopen_self_static+:} false; then :
11999
 
  $as_echo_n "(cached) " >&6
12000
 
else
12001
 
          if test "$cross_compiling" = yes; then :
12002
 
  lt_cv_dlopen_self_static=cross
12003
 
else
12004
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12005
 
  lt_status=$lt_dlunknown
12006
 
  cat > conftest.$ac_ext <<_LT_EOF
12007
 
#line $LINENO "configure"
12008
 
#include "confdefs.h"
12009
 
 
12010
 
#if HAVE_DLFCN_H
12011
 
#include <dlfcn.h>
12012
 
#endif
12013
 
 
12014
 
#include <stdio.h>
12015
 
 
12016
 
#ifdef RTLD_GLOBAL
12017
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12018
 
#else
12019
 
#  ifdef DL_GLOBAL
12020
 
#    define LT_DLGLOBAL         DL_GLOBAL
12021
 
#  else
12022
 
#    define LT_DLGLOBAL         0
12023
 
#  endif
12024
 
#endif
12025
 
 
12026
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12027
 
   find out it does not work in some platform. */
12028
 
#ifndef LT_DLLAZY_OR_NOW
12029
 
#  ifdef RTLD_LAZY
12030
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12031
 
#  else
12032
 
#    ifdef DL_LAZY
12033
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12034
 
#    else
12035
 
#      ifdef RTLD_NOW
12036
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12037
 
#      else
12038
 
#        ifdef DL_NOW
12039
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12040
 
#        else
12041
 
#          define LT_DLLAZY_OR_NOW      0
12042
 
#        endif
12043
 
#      endif
12044
 
#    endif
12045
 
#  endif
12046
 
#endif
12047
 
 
12048
 
/* When -fvisbility=hidden is used, assume the code has been annotated
12049
 
   correspondingly for the symbols needed.  */
12050
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12051
 
int fnord () __attribute__((visibility("default")));
12052
 
#endif
12053
 
 
12054
 
int fnord () { return 42; }
12055
 
int main ()
12056
 
{
12057
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12058
 
  int status = $lt_dlunknown;
12059
 
 
12060
 
  if (self)
12061
 
    {
12062
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12063
 
      else
12064
 
        {
12065
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12066
 
          else puts (dlerror ());
12067
 
        }
12068
 
      /* dlclose (self); */
12069
 
    }
12070
 
  else
12071
 
    puts (dlerror ());
12072
 
 
12073
 
  return status;
12074
 
}
12075
 
_LT_EOF
12076
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12077
 
  (eval $ac_link) 2>&5
12078
 
  ac_status=$?
12079
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12080
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12081
 
    (./conftest; exit; ) >&5 2>/dev/null
12082
 
    lt_status=$?
12083
 
    case x$lt_status in
12084
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12085
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12086
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12087
 
    esac
12088
 
  else :
12089
 
    # compilation failed
12090
 
    lt_cv_dlopen_self_static=no
12091
 
  fi
12092
 
fi
12093
 
rm -fr conftest*
12094
 
 
12095
 
 
12096
 
fi
12097
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12098
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12099
 
    fi
12100
 
 
12101
 
    CPPFLAGS="$save_CPPFLAGS"
12102
 
    LDFLAGS="$save_LDFLAGS"
12103
 
    LIBS="$save_LIBS"
12104
 
    ;;
12105
 
  esac
12106
 
 
12107
 
  case $lt_cv_dlopen_self in
12108
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12109
 
  *) enable_dlopen_self=unknown ;;
12110
 
  esac
12111
 
 
12112
 
  case $lt_cv_dlopen_self_static in
12113
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12114
 
  *) enable_dlopen_self_static=unknown ;;
12115
 
  esac
12116
 
fi
12117
 
 
12118
 
 
12119
 
 
12120
 
 
12121
 
 
12122
 
 
12123
 
 
12124
 
 
12125
 
 
12126
 
 
12127
 
 
12128
 
 
12129
 
 
12130
 
 
12131
 
 
12132
 
 
12133
 
 
12134
 
striplib=
12135
 
old_striplib=
12136
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12137
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12138
 
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12139
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12140
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12141
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12142
 
$as_echo "yes" >&6; }
12143
 
else
12144
 
# FIXME - insert some real tests, host_os isn't really good enough
12145
 
  case $host_os in
12146
 
  darwin*)
12147
 
    if test -n "$STRIP" ; then
12148
 
      striplib="$STRIP -x"
12149
 
      old_striplib="$STRIP -S"
12150
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12151
 
$as_echo "yes" >&6; }
12152
 
    else
12153
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12154
 
$as_echo "no" >&6; }
12155
 
    fi
12156
 
    ;;
12157
 
  *)
12158
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12159
 
$as_echo "no" >&6; }
12160
 
    ;;
12161
 
  esac
12162
 
fi
12163
 
 
12164
 
 
12165
 
 
12166
 
 
12167
 
 
12168
 
 
12169
 
 
12170
 
 
12171
 
 
12172
 
 
12173
 
 
12174
 
 
12175
 
  # Report which library types will actually be built
12176
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12177
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12178
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12179
 
$as_echo "$can_build_shared" >&6; }
12180
 
 
12181
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12182
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
12183
 
  test "$can_build_shared" = "no" && enable_shared=no
12184
 
 
12185
 
  # On AIX, shared libraries and static libraries use the same namespace, and
12186
 
  # are all built from PIC.
12187
 
  case $host_os in
12188
 
  aix3*)
12189
 
    test "$enable_shared" = yes && enable_static=no
12190
 
    if test -n "$RANLIB"; then
12191
 
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12192
 
      postinstall_cmds='$RANLIB $lib'
12193
 
    fi
12194
 
    ;;
12195
 
 
12196
 
  aix[4-9]*)
12197
 
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12198
 
      test "$enable_shared" = yes && enable_static=no
12199
 
    fi
12200
 
    ;;
12201
 
  esac
12202
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12203
 
$as_echo "$enable_shared" >&6; }
12204
 
 
12205
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12206
 
$as_echo_n "checking whether to build static libraries... " >&6; }
12207
 
  # Make sure either enable_shared or enable_static is yes.
12208
 
  test "$enable_shared" = yes || enable_static=yes
12209
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12210
 
$as_echo "$enable_static" >&6; }
12211
 
 
12212
 
 
12213
 
 
12214
 
 
12215
 
fi
12216
 
ac_ext=c
12217
 
ac_cpp='$CPP $CPPFLAGS'
12218
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12219
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12220
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12221
 
 
12222
 
CC="$lt_save_CC"
12223
 
 
12224
 
      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12225
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12226
 
    (test "X$CXX" != "Xg++"))) ; then
12227
 
  ac_ext=cpp
12228
 
ac_cpp='$CXXCPP $CPPFLAGS'
12229
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12230
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12231
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12232
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12233
 
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12234
 
if test -z "$CXXCPP"; then
12235
 
  if ${ac_cv_prog_CXXCPP+:} false; then :
12236
 
  $as_echo_n "(cached) " >&6
12237
 
else
12238
 
      # Double quotes because CXXCPP needs to be expanded
12239
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
12240
 
    do
12241
 
      ac_preproc_ok=false
12242
 
for ac_cxx_preproc_warn_flag in '' yes
12243
 
do
12244
 
  # Use a header file that comes with gcc, so configuring glibc
12245
 
  # with a fresh cross-compiler works.
12246
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12247
 
  # <limits.h> exists even on freestanding compilers.
12248
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
12249
 
  # not just through cpp. "Syntax error" is here to catch this case.
12250
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12251
 
/* end confdefs.h.  */
12252
 
#ifdef __STDC__
12253
 
# include <limits.h>
12254
 
#else
12255
 
# include <assert.h>
12256
 
#endif
12257
 
                     Syntax error
12258
 
_ACEOF
12259
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
12260
 
 
12261
 
else
12262
 
  # Broken: fails on valid input.
12263
 
continue
12264
 
fi
12265
 
rm -f conftest.err conftest.i conftest.$ac_ext
12266
 
 
12267
 
  # OK, works on sane cases.  Now check whether nonexistent headers
12268
 
  # can be detected and how.
12269
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12270
 
/* end confdefs.h.  */
12271
 
#include <ac_nonexistent.h>
12272
 
_ACEOF
12273
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
12274
 
  # Broken: success on invalid input.
12275
 
continue
12276
 
else
12277
 
  # Passes both tests.
12278
 
ac_preproc_ok=:
12279
 
break
12280
 
fi
12281
 
rm -f conftest.err conftest.i conftest.$ac_ext
12282
 
 
12283
 
done
12284
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12285
 
rm -f conftest.i conftest.err conftest.$ac_ext
12286
 
if $ac_preproc_ok; then :
12287
 
  break
12288
 
fi
12289
 
 
12290
 
    done
12291
 
    ac_cv_prog_CXXCPP=$CXXCPP
12292
 
 
12293
 
fi
12294
 
  CXXCPP=$ac_cv_prog_CXXCPP
12295
 
else
12296
 
  ac_cv_prog_CXXCPP=$CXXCPP
12297
 
fi
12298
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12299
 
$as_echo "$CXXCPP" >&6; }
12300
 
ac_preproc_ok=false
12301
 
for ac_cxx_preproc_warn_flag in '' yes
12302
 
do
12303
 
  # Use a header file that comes with gcc, so configuring glibc
12304
 
  # with a fresh cross-compiler works.
12305
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12306
 
  # <limits.h> exists even on freestanding compilers.
12307
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
12308
 
  # not just through cpp. "Syntax error" is here to catch this case.
12309
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12310
 
/* end confdefs.h.  */
12311
 
#ifdef __STDC__
12312
 
# include <limits.h>
12313
 
#else
12314
 
# include <assert.h>
12315
 
#endif
12316
 
                     Syntax error
12317
 
_ACEOF
12318
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
12319
 
 
12320
 
else
12321
 
  # Broken: fails on valid input.
12322
 
continue
12323
 
fi
12324
 
rm -f conftest.err conftest.i conftest.$ac_ext
12325
 
 
12326
 
  # OK, works on sane cases.  Now check whether nonexistent headers
12327
 
  # can be detected and how.
12328
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12329
 
/* end confdefs.h.  */
12330
 
#include <ac_nonexistent.h>
12331
 
_ACEOF
12332
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
12333
 
  # Broken: success on invalid input.
12334
 
continue
12335
 
else
12336
 
  # Passes both tests.
12337
 
ac_preproc_ok=:
12338
 
break
12339
 
fi
12340
 
rm -f conftest.err conftest.i conftest.$ac_ext
12341
 
 
12342
 
done
12343
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12344
 
rm -f conftest.i conftest.err conftest.$ac_ext
12345
 
if $ac_preproc_ok; then :
12346
 
 
12347
 
else
12348
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12349
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12350
 
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12351
 
See \`config.log' for more details" "$LINENO" 5; }
12352
 
fi
12353
 
 
12354
 
ac_ext=c
12355
 
ac_cpp='$CPP $CPPFLAGS'
12356
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12357
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12358
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12359
 
 
12360
 
else
12361
 
  _lt_caught_CXX_error=yes
12362
 
fi
12363
 
 
12364
 
ac_ext=cpp
12365
 
ac_cpp='$CXXCPP $CPPFLAGS'
12366
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12367
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12368
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12369
 
 
12370
 
archive_cmds_need_lc_CXX=no
12371
 
allow_undefined_flag_CXX=
12372
 
always_export_symbols_CXX=no
12373
 
archive_expsym_cmds_CXX=
12374
 
compiler_needs_object_CXX=no
12375
 
export_dynamic_flag_spec_CXX=
12376
 
hardcode_direct_CXX=no
12377
 
hardcode_direct_absolute_CXX=no
12378
 
hardcode_libdir_flag_spec_CXX=
12379
 
hardcode_libdir_flag_spec_ld_CXX=
12380
 
hardcode_libdir_separator_CXX=
12381
 
hardcode_minus_L_CXX=no
12382
 
hardcode_shlibpath_var_CXX=unsupported
12383
 
hardcode_automatic_CXX=no
12384
 
inherit_rpath_CXX=no
12385
 
module_cmds_CXX=
12386
 
module_expsym_cmds_CXX=
12387
 
link_all_deplibs_CXX=unknown
12388
 
old_archive_cmds_CXX=$old_archive_cmds
12389
 
reload_flag_CXX=$reload_flag
12390
 
reload_cmds_CXX=$reload_cmds
12391
 
no_undefined_flag_CXX=
12392
 
whole_archive_flag_spec_CXX=
12393
 
enable_shared_with_static_runtimes_CXX=no
12394
 
 
12395
 
# Source file extension for C++ test sources.
12396
 
ac_ext=cpp
12397
 
 
12398
 
# Object file extension for compiled C++ test sources.
12399
 
objext=o
12400
 
objext_CXX=$objext
12401
 
 
12402
 
# No sense in running all these tests if we already determined that
12403
 
# the CXX compiler isn't working.  Some variables (like enable_shared)
12404
 
# are currently assumed to apply to all compilers on this platform,
12405
 
# and will be corrupted by setting them based on a non-working compiler.
12406
 
if test "$_lt_caught_CXX_error" != yes; then
12407
 
  # Code to be used in simple compile tests
12408
 
  lt_simple_compile_test_code="int some_variable = 0;"
12409
 
 
12410
 
  # Code to be used in simple link tests
12411
 
  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12412
 
 
12413
 
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12414
 
 
12415
 
 
12416
 
 
12417
 
 
12418
 
 
12419
 
 
12420
 
# If no C compiler was specified, use CC.
12421
 
LTCC=${LTCC-"$CC"}
12422
 
 
12423
 
# If no C compiler flags were specified, use CFLAGS.
12424
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12425
 
 
12426
 
# Allow CC to be a program name with arguments.
12427
 
compiler=$CC
12428
 
 
12429
 
 
12430
 
  # save warnings/boilerplate of simple test code
12431
 
  ac_outfile=conftest.$ac_objext
12432
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12433
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12434
 
_lt_compiler_boilerplate=`cat conftest.err`
12435
 
$RM conftest*
12436
 
 
12437
 
  ac_outfile=conftest.$ac_objext
12438
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12439
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12440
 
_lt_linker_boilerplate=`cat conftest.err`
12441
 
$RM -r conftest*
12442
 
 
12443
 
 
12444
 
  # Allow CC to be a program name with arguments.
12445
 
  lt_save_CC=$CC
12446
 
  lt_save_CFLAGS=$CFLAGS
12447
 
  lt_save_LD=$LD
12448
 
  lt_save_GCC=$GCC
12449
 
  GCC=$GXX
12450
 
  lt_save_with_gnu_ld=$with_gnu_ld
12451
 
  lt_save_path_LD=$lt_cv_path_LD
12452
 
  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12453
 
    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12454
 
  else
12455
 
    $as_unset lt_cv_prog_gnu_ld
12456
 
  fi
12457
 
  if test -n "${lt_cv_path_LDCXX+set}"; then
12458
 
    lt_cv_path_LD=$lt_cv_path_LDCXX
12459
 
  else
12460
 
    $as_unset lt_cv_path_LD
12461
 
  fi
12462
 
  test -z "${LDCXX+set}" || LD=$LDCXX
12463
 
  CC=${CXX-"c++"}
12464
 
  CFLAGS=$CXXFLAGS
12465
 
  compiler=$CC
12466
 
  compiler_CXX=$CC
12467
 
  for cc_temp in $compiler""; do
12468
 
  case $cc_temp in
12469
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12470
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12471
 
    \-*) ;;
12472
 
    *) break;;
12473
 
  esac
12474
 
done
12475
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12476
 
 
12477
 
 
12478
 
  if test -n "$compiler"; then
12479
 
    # We don't want -fno-exception when compiling C++ code, so set the
12480
 
    # no_builtin_flag separately
12481
 
    if test "$GXX" = yes; then
12482
 
      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12483
 
    else
12484
 
      lt_prog_compiler_no_builtin_flag_CXX=
12485
 
    fi
12486
 
 
12487
 
    if test "$GXX" = yes; then
12488
 
      # Set up default GNU C++ configuration
12489
 
 
12490
 
 
12491
 
 
12492
 
# Check whether --with-gnu-ld was given.
12493
 
if test "${with_gnu_ld+set}" = set; then :
12494
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12495
 
else
12496
 
  with_gnu_ld=no
12497
 
fi
12498
 
 
12499
 
ac_prog=ld
12500
 
if test "$GCC" = yes; then
12501
 
  # Check if gcc -print-prog-name=ld gives a path.
12502
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12503
 
$as_echo_n "checking for ld used by $CC... " >&6; }
12504
 
  case $host in
12505
 
  *-*-mingw*)
12506
 
    # gcc leaves a trailing carriage return which upsets mingw
12507
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12508
 
  *)
12509
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12510
 
  esac
12511
 
  case $ac_prog in
12512
 
    # Accept absolute paths.
12513
 
    [\\/]* | ?:[\\/]*)
12514
 
      re_direlt='/[^/][^/]*/\.\./'
12515
 
      # Canonicalize the pathname of ld
12516
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12517
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12518
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12519
 
      done
12520
 
      test -z "$LD" && LD="$ac_prog"
12521
 
      ;;
12522
 
  "")
12523
 
    # If it fails, then pretend we aren't using GCC.
12524
 
    ac_prog=ld
12525
 
    ;;
12526
 
  *)
12527
 
    # If it is relative, then search for the first ld in PATH.
12528
 
    with_gnu_ld=unknown
12529
 
    ;;
12530
 
  esac
12531
 
elif test "$with_gnu_ld" = yes; then
12532
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12533
 
$as_echo_n "checking for GNU ld... " >&6; }
12534
 
else
12535
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12536
 
$as_echo_n "checking for non-GNU ld... " >&6; }
12537
 
fi
12538
 
if ${lt_cv_path_LD+:} false; then :
12539
 
  $as_echo_n "(cached) " >&6
12540
 
else
12541
 
  if test -z "$LD"; then
12542
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12543
 
  for ac_dir in $PATH; do
12544
 
    IFS="$lt_save_ifs"
12545
 
    test -z "$ac_dir" && ac_dir=.
12546
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12547
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
12548
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
12549
 
      # but apparently some variants of GNU ld only accept -v.
12550
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
12551
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12552
 
      *GNU* | *'with BFD'*)
12553
 
        test "$with_gnu_ld" != no && break
12554
 
        ;;
12555
 
      *)
12556
 
        test "$with_gnu_ld" != yes && break
12557
 
        ;;
12558
 
      esac
12559
 
    fi
12560
 
  done
12561
 
  IFS="$lt_save_ifs"
12562
 
else
12563
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
12564
 
fi
12565
 
fi
12566
 
 
12567
 
LD="$lt_cv_path_LD"
12568
 
if test -n "$LD"; then
12569
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12570
 
$as_echo "$LD" >&6; }
12571
 
else
12572
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12573
 
$as_echo "no" >&6; }
12574
 
fi
12575
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12576
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12577
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12578
 
if ${lt_cv_prog_gnu_ld+:} false; then :
12579
 
  $as_echo_n "(cached) " >&6
12580
 
else
12581
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12582
 
case `$LD -v 2>&1 </dev/null` in
12583
 
*GNU* | *'with BFD'*)
12584
 
  lt_cv_prog_gnu_ld=yes
12585
 
  ;;
12586
 
*)
12587
 
  lt_cv_prog_gnu_ld=no
12588
 
  ;;
12589
 
esac
12590
 
fi
12591
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12592
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12593
 
with_gnu_ld=$lt_cv_prog_gnu_ld
12594
 
 
12595
 
 
12596
 
 
12597
 
 
12598
 
 
12599
 
 
12600
 
 
12601
 
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
12602
 
      # archiving commands below assume that GNU ld is being used.
12603
 
      if test "$with_gnu_ld" = yes; then
12604
 
        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12605
 
        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12606
 
 
12607
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12608
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12609
 
 
12610
 
        # If archive_cmds runs LD, not CC, wlarc should be empty
12611
 
        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12612
 
        #     investigate it a little bit more. (MM)
12613
 
        wlarc='${wl}'
12614
 
 
12615
 
        # ancient GNU ld didn't support --whole-archive et. al.
12616
 
        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12617
 
          $GREP 'no-whole-archive' > /dev/null; then
12618
 
          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12619
 
        else
12620
 
          whole_archive_flag_spec_CXX=
12621
 
        fi
12622
 
      else
12623
 
        with_gnu_ld=no
12624
 
        wlarc=
12625
 
 
12626
 
        # A generic and very simple default shared library creation
12627
 
        # command for GNU C++ for the case where it uses the native
12628
 
        # linker, instead of GNU ld.  If possible, this setting should
12629
 
        # overridden to take advantage of the native linker features on
12630
 
        # the platform it is being used on.
12631
 
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12632
 
      fi
12633
 
 
12634
 
      # Commands to make compiler produce verbose output that lists
12635
 
      # what "hidden" libraries, object files and flags are used when
12636
 
      # linking a shared library.
12637
 
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12638
 
 
12639
 
    else
12640
 
      GXX=no
12641
 
      with_gnu_ld=no
12642
 
      wlarc=
12643
 
    fi
12644
 
 
12645
 
    # PORTME: fill in a description of your system's C++ link characteristics
12646
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12647
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12648
 
    ld_shlibs_CXX=yes
12649
 
    case $host_os in
12650
 
      aix3*)
12651
 
        # FIXME: insert proper C++ library support
12652
 
        ld_shlibs_CXX=no
12653
 
        ;;
12654
 
      aix[4-9]*)
12655
 
        if test "$host_cpu" = ia64; then
12656
 
          # On IA64, the linker does run time linking by default, so we don't
12657
 
          # have to do anything special.
12658
 
          aix_use_runtimelinking=no
12659
 
          exp_sym_flag='-Bexport'
12660
 
          no_entry_flag=""
12661
 
        else
12662
 
          aix_use_runtimelinking=no
12663
 
 
12664
 
          # Test if we are trying to use run time linking or normal
12665
 
          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12666
 
          # need to do runtime linking.
12667
 
          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12668
 
            for ld_flag in $LDFLAGS; do
12669
 
              case $ld_flag in
12670
 
              *-brtl*)
12671
 
                aix_use_runtimelinking=yes
12672
 
                break
12673
 
                ;;
12674
 
              esac
12675
 
            done
12676
 
            ;;
12677
 
          esac
12678
 
 
12679
 
          exp_sym_flag='-bexport'
12680
 
          no_entry_flag='-bnoentry'
12681
 
        fi
12682
 
 
12683
 
        # When large executables or shared objects are built, AIX ld can
12684
 
        # have problems creating the table of contents.  If linking a library
12685
 
        # or program results in "error TOC overflow" add -mminimal-toc to
12686
 
        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12687
 
        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12688
 
 
12689
 
        archive_cmds_CXX=''
12690
 
        hardcode_direct_CXX=yes
12691
 
        hardcode_direct_absolute_CXX=yes
12692
 
        hardcode_libdir_separator_CXX=':'
12693
 
        link_all_deplibs_CXX=yes
12694
 
        file_list_spec_CXX='${wl}-f,'
12695
 
 
12696
 
        if test "$GXX" = yes; then
12697
 
          case $host_os in aix4.[012]|aix4.[012].*)
12698
 
          # We only want to do this on AIX 4.2 and lower, the check
12699
 
          # below for broken collect2 doesn't work under 4.3+
12700
 
          collect2name=`${CC} -print-prog-name=collect2`
12701
 
          if test -f "$collect2name" &&
12702
 
             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12703
 
          then
12704
 
            # We have reworked collect2
12705
 
            :
12706
 
          else
12707
 
            # We have old collect2
12708
 
            hardcode_direct_CXX=unsupported
12709
 
            # It fails to find uninstalled libraries when the uninstalled
12710
 
            # path is not listed in the libpath.  Setting hardcode_minus_L
12711
 
            # to unsupported forces relinking
12712
 
            hardcode_minus_L_CXX=yes
12713
 
            hardcode_libdir_flag_spec_CXX='-L$libdir'
12714
 
            hardcode_libdir_separator_CXX=
12715
 
          fi
12716
 
          esac
12717
 
          shared_flag='-shared'
12718
 
          if test "$aix_use_runtimelinking" = yes; then
12719
 
            shared_flag="$shared_flag "'${wl}-G'
12720
 
          fi
12721
 
        else
12722
 
          # not using gcc
12723
 
          if test "$host_cpu" = ia64; then
12724
 
          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12725
 
          # chokes on -Wl,-G. The following line is correct:
12726
 
          shared_flag='-G'
12727
 
          else
12728
 
            if test "$aix_use_runtimelinking" = yes; then
12729
 
              shared_flag='${wl}-G'
12730
 
            else
12731
 
              shared_flag='${wl}-bM:SRE'
12732
 
            fi
12733
 
          fi
12734
 
        fi
12735
 
 
12736
 
        export_dynamic_flag_spec_CXX='${wl}-bexpall'
12737
 
        # It seems that -bexpall does not export symbols beginning with
12738
 
        # underscore (_), so it is better to generate a list of symbols to
12739
 
        # export.
12740
 
        always_export_symbols_CXX=yes
12741
 
        if test "$aix_use_runtimelinking" = yes; then
12742
 
          # Warning - without using the other runtime loading flags (-brtl),
12743
 
          # -berok will link without error, but may produce a broken library.
12744
 
          allow_undefined_flag_CXX='-berok'
12745
 
          # Determine the default libpath from the value encoded in an empty
12746
 
          # executable.
12747
 
          if test "${lt_cv_aix_libpath+set}" = set; then
12748
 
  aix_libpath=$lt_cv_aix_libpath
12749
 
else
12750
 
  if ${lt_cv_aix_libpath__CXX+:} false; then :
12751
 
  $as_echo_n "(cached) " >&6
12752
 
else
12753
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12754
 
/* end confdefs.h.  */
12755
 
 
12756
 
int
12757
 
main ()
12758
 
{
12759
 
 
12760
 
  ;
12761
 
  return 0;
12762
 
}
12763
 
_ACEOF
12764
 
if ac_fn_cxx_try_link "$LINENO"; then :
12765
 
 
12766
 
  lt_aix_libpath_sed='
12767
 
      /Import File Strings/,/^$/ {
12768
 
          /^0/ {
12769
 
              s/^0  *\([^ ]*\) *$/\1/
12770
 
              p
12771
 
          }
12772
 
      }'
12773
 
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12774
 
  # Check for a 64-bit object if we didn't find anything.
12775
 
  if test -z "$lt_cv_aix_libpath__CXX"; then
12776
 
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12777
 
  fi
12778
 
fi
12779
 
rm -f core conftest.err conftest.$ac_objext \
12780
 
    conftest$ac_exeext conftest.$ac_ext
12781
 
  if test -z "$lt_cv_aix_libpath__CXX"; then
12782
 
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12783
 
  fi
12784
 
 
12785
 
fi
12786
 
 
12787
 
  aix_libpath=$lt_cv_aix_libpath__CXX
12788
 
fi
12789
 
 
12790
 
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12791
 
 
12792
 
          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12793
 
        else
12794
 
          if test "$host_cpu" = ia64; then
12795
 
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12796
 
            allow_undefined_flag_CXX="-z nodefs"
12797
 
            archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12798
 
          else
12799
 
            # Determine the default libpath from the value encoded in an
12800
 
            # empty executable.
12801
 
            if test "${lt_cv_aix_libpath+set}" = set; then
12802
 
  aix_libpath=$lt_cv_aix_libpath
12803
 
else
12804
 
  if ${lt_cv_aix_libpath__CXX+:} false; then :
12805
 
  $as_echo_n "(cached) " >&6
12806
 
else
12807
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12808
 
/* end confdefs.h.  */
12809
 
 
12810
 
int
12811
 
main ()
12812
 
{
12813
 
 
12814
 
  ;
12815
 
  return 0;
12816
 
}
12817
 
_ACEOF
12818
 
if ac_fn_cxx_try_link "$LINENO"; then :
12819
 
 
12820
 
  lt_aix_libpath_sed='
12821
 
      /Import File Strings/,/^$/ {
12822
 
          /^0/ {
12823
 
              s/^0  *\([^ ]*\) *$/\1/
12824
 
              p
12825
 
          }
12826
 
      }'
12827
 
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12828
 
  # Check for a 64-bit object if we didn't find anything.
12829
 
  if test -z "$lt_cv_aix_libpath__CXX"; then
12830
 
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12831
 
  fi
12832
 
fi
12833
 
rm -f core conftest.err conftest.$ac_objext \
12834
 
    conftest$ac_exeext conftest.$ac_ext
12835
 
  if test -z "$lt_cv_aix_libpath__CXX"; then
12836
 
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12837
 
  fi
12838
 
 
12839
 
fi
12840
 
 
12841
 
  aix_libpath=$lt_cv_aix_libpath__CXX
12842
 
fi
12843
 
 
12844
 
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12845
 
            # Warning - without using the other run time loading flags,
12846
 
            # -berok will link without error, but may produce a broken library.
12847
 
            no_undefined_flag_CXX=' ${wl}-bernotok'
12848
 
            allow_undefined_flag_CXX=' ${wl}-berok'
12849
 
            if test "$with_gnu_ld" = yes; then
12850
 
              # We only use this code for GNU lds that support --whole-archive.
12851
 
              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12852
 
            else
12853
 
              # Exported symbols can be pulled into shared objects from archives
12854
 
              whole_archive_flag_spec_CXX='$convenience'
12855
 
            fi
12856
 
            archive_cmds_need_lc_CXX=yes
12857
 
            # This is similar to how AIX traditionally builds its shared
12858
 
            # libraries.
12859
 
            archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12860
 
          fi
12861
 
        fi
12862
 
        ;;
12863
 
 
12864
 
      beos*)
12865
 
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12866
 
          allow_undefined_flag_CXX=unsupported
12867
 
          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12868
 
          # support --undefined.  This deserves some investigation.  FIXME
12869
 
          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12870
 
        else
12871
 
          ld_shlibs_CXX=no
12872
 
        fi
12873
 
        ;;
12874
 
 
12875
 
      chorus*)
12876
 
        case $cc_basename in
12877
 
          *)
12878
 
          # FIXME: insert proper C++ library support
12879
 
          ld_shlibs_CXX=no
12880
 
          ;;
12881
 
        esac
12882
 
        ;;
12883
 
 
12884
 
      cygwin* | mingw* | pw32* | cegcc*)
12885
 
        case $GXX,$cc_basename in
12886
 
        ,cl* | no,cl*)
12887
 
          # Native MSVC
12888
 
          # hardcode_libdir_flag_spec is actually meaningless, as there is
12889
 
          # no search path for DLLs.
12890
 
          hardcode_libdir_flag_spec_CXX=' '
12891
 
          allow_undefined_flag_CXX=unsupported
12892
 
          always_export_symbols_CXX=yes
12893
 
          file_list_spec_CXX='@'
12894
 
          # Tell ltmain to make .lib files, not .a files.
12895
 
          libext=lib
12896
 
          # Tell ltmain to make .dll files, not .so files.
12897
 
          shrext_cmds=".dll"
12898
 
          # FIXME: Setting linknames here is a bad hack.
12899
 
          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12900
 
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12901
 
              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12902
 
            else
12903
 
              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12904
 
            fi~
12905
 
            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12906
 
            linknames='
12907
 
          # The linker will not automatically build a static lib if we build a DLL.
12908
 
          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12909
 
          enable_shared_with_static_runtimes_CXX=yes
12910
 
          # Don't use ranlib
12911
 
          old_postinstall_cmds_CXX='chmod 644 $oldlib'
12912
 
          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12913
 
            lt_tool_outputfile="@TOOL_OUTPUT@"~
12914
 
            case $lt_outputfile in
12915
 
              *.exe|*.EXE) ;;
12916
 
              *)
12917
 
                lt_outputfile="$lt_outputfile.exe"
12918
 
                lt_tool_outputfile="$lt_tool_outputfile.exe"
12919
 
                ;;
12920
 
            esac~
12921
 
            func_to_tool_file "$lt_outputfile"~
12922
 
            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12923
 
              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12924
 
              $RM "$lt_outputfile.manifest";
12925
 
            fi'
12926
 
          ;;
12927
 
        *)
12928
 
          # g++
12929
 
          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12930
 
          # as there is no search path for DLLs.
12931
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
12932
 
          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12933
 
          allow_undefined_flag_CXX=unsupported
12934
 
          always_export_symbols_CXX=no
12935
 
          enable_shared_with_static_runtimes_CXX=yes
12936
 
 
12937
 
          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12938
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12939
 
            # If the export-symbols file already is a .def file (1st line
12940
 
            # is EXPORTS), use it as is; otherwise, prepend...
12941
 
            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12942
 
              cp $export_symbols $output_objdir/$soname.def;
12943
 
            else
12944
 
              echo EXPORTS > $output_objdir/$soname.def;
12945
 
              cat $export_symbols >> $output_objdir/$soname.def;
12946
 
            fi~
12947
 
            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12948
 
          else
12949
 
            ld_shlibs_CXX=no
12950
 
          fi
12951
 
          ;;
12952
 
        esac
12953
 
        ;;
12954
 
      darwin* | rhapsody*)
12955
 
 
12956
 
 
12957
 
  archive_cmds_need_lc_CXX=no
12958
 
  hardcode_direct_CXX=no
12959
 
  hardcode_automatic_CXX=yes
12960
 
  hardcode_shlibpath_var_CXX=unsupported
12961
 
  if test "$lt_cv_ld_force_load" = "yes"; then
12962
 
    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12963
 
  else
12964
 
    whole_archive_flag_spec_CXX=''
12965
 
  fi
12966
 
  link_all_deplibs_CXX=yes
12967
 
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12968
 
  case $cc_basename in
12969
 
     ifort*) _lt_dar_can_shared=yes ;;
12970
 
     *) _lt_dar_can_shared=$GCC ;;
12971
 
  esac
12972
 
  if test "$_lt_dar_can_shared" = "yes"; then
12973
 
    output_verbose_link_cmd=func_echo_all
12974
 
    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12975
 
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12976
 
    archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12977
 
    module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12978
 
       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12979
 
      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12980
 
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12981
 
    fi
12982
 
 
12983
 
  else
12984
 
  ld_shlibs_CXX=no
12985
 
  fi
12986
 
 
12987
 
        ;;
12988
 
 
12989
 
      dgux*)
12990
 
        case $cc_basename in
12991
 
          ec++*)
12992
 
            # FIXME: insert proper C++ library support
12993
 
            ld_shlibs_CXX=no
12994
 
            ;;
12995
 
          ghcx*)
12996
 
            # Green Hills C++ Compiler
12997
 
            # FIXME: insert proper C++ library support
12998
 
            ld_shlibs_CXX=no
12999
 
            ;;
13000
 
          *)
13001
 
            # FIXME: insert proper C++ library support
13002
 
            ld_shlibs_CXX=no
13003
 
            ;;
13004
 
        esac
13005
 
        ;;
13006
 
 
13007
 
      freebsd[12]*)
13008
 
        # C++ shared libraries reported to be fairly broken before
13009
 
        # switch to ELF
13010
 
        ld_shlibs_CXX=no
13011
 
        ;;
13012
 
 
13013
 
      freebsd-elf*)
13014
 
        archive_cmds_need_lc_CXX=no
13015
 
        ;;
13016
 
 
13017
 
      freebsd* | dragonfly*)
13018
 
        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13019
 
        # conventions
13020
 
        ld_shlibs_CXX=yes
13021
 
        ;;
13022
 
 
13023
 
      gnu*)
13024
 
        ;;
13025
 
 
13026
 
      haiku*)
13027
 
        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13028
 
        link_all_deplibs_CXX=yes
13029
 
        ;;
13030
 
 
13031
 
      hpux9*)
13032
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13033
 
        hardcode_libdir_separator_CXX=:
13034
 
        export_dynamic_flag_spec_CXX='${wl}-E'
13035
 
        hardcode_direct_CXX=yes
13036
 
        hardcode_minus_L_CXX=yes # Not in the search PATH,
13037
 
                                             # but as the default
13038
 
                                             # location of the library.
13039
 
 
13040
 
        case $cc_basename in
13041
 
          CC*)
13042
 
            # FIXME: insert proper C++ library support
13043
 
            ld_shlibs_CXX=no
13044
 
            ;;
13045
 
          aCC*)
13046
 
            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13047
 
            # Commands to make compiler produce verbose output that lists
13048
 
            # what "hidden" libraries, object files and flags are used when
13049
 
            # linking a shared library.
13050
 
            #
13051
 
            # There doesn't appear to be a way to prevent this compiler from
13052
 
            # explicitly linking system object files so we need to strip them
13053
 
            # from the output so that they don't get included in the library
13054
 
            # dependencies.
13055
 
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13056
 
            ;;
13057
 
          *)
13058
 
            if test "$GXX" = yes; then
13059
 
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13060
 
            else
13061
 
              # FIXME: insert proper C++ library support
13062
 
              ld_shlibs_CXX=no
13063
 
            fi
13064
 
            ;;
13065
 
        esac
13066
 
        ;;
13067
 
 
13068
 
      hpux10*|hpux11*)
13069
 
        if test $with_gnu_ld = no; then
13070
 
          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13071
 
          hardcode_libdir_separator_CXX=:
13072
 
 
13073
 
          case $host_cpu in
13074
 
            hppa*64*|ia64*)
13075
 
              ;;
13076
 
            *)
13077
 
              export_dynamic_flag_spec_CXX='${wl}-E'
13078
 
              ;;
13079
 
          esac
13080
 
        fi
13081
 
        case $host_cpu in
13082
 
          hppa*64*|ia64*)
13083
 
            hardcode_direct_CXX=no
13084
 
            hardcode_shlibpath_var_CXX=no
13085
 
            ;;
13086
 
          *)
13087
 
            hardcode_direct_CXX=yes
13088
 
            hardcode_direct_absolute_CXX=yes
13089
 
            hardcode_minus_L_CXX=yes # Not in the search PATH,
13090
 
                                                 # but as the default
13091
 
                                                 # location of the library.
13092
 
            ;;
13093
 
        esac
13094
 
 
13095
 
        case $cc_basename in
13096
 
          CC*)
13097
 
            # FIXME: insert proper C++ library support
13098
 
            ld_shlibs_CXX=no
13099
 
            ;;
13100
 
          aCC*)
13101
 
            case $host_cpu in
13102
 
              hppa*64*)
13103
 
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13104
 
                ;;
13105
 
              ia64*)
13106
 
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13107
 
                ;;
13108
 
              *)
13109
 
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13110
 
                ;;
13111
 
            esac
13112
 
            # Commands to make compiler produce verbose output that lists
13113
 
            # what "hidden" libraries, object files and flags are used when
13114
 
            # linking a shared library.
13115
 
            #
13116
 
            # There doesn't appear to be a way to prevent this compiler from
13117
 
            # explicitly linking system object files so we need to strip them
13118
 
            # from the output so that they don't get included in the library
13119
 
            # dependencies.
13120
 
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13121
 
            ;;
13122
 
          *)
13123
 
            if test "$GXX" = yes; then
13124
 
              if test $with_gnu_ld = no; then
13125
 
                case $host_cpu in
13126
 
                  hppa*64*)
13127
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13128
 
                    ;;
13129
 
                  ia64*)
13130
 
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13131
 
                    ;;
13132
 
                  *)
13133
 
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13134
 
                    ;;
13135
 
                esac
13136
 
              fi
13137
 
            else
13138
 
              # FIXME: insert proper C++ library support
13139
 
              ld_shlibs_CXX=no
13140
 
            fi
13141
 
            ;;
13142
 
        esac
13143
 
        ;;
13144
 
 
13145
 
      interix[3-9]*)
13146
 
        hardcode_direct_CXX=no
13147
 
        hardcode_shlibpath_var_CXX=no
13148
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13149
 
        export_dynamic_flag_spec_CXX='${wl}-E'
13150
 
        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13151
 
        # Instead, shared libraries are loaded at an image base (0x10000000 by
13152
 
        # default) and relocated if they conflict, which is a slow very memory
13153
 
        # consuming and fragmenting process.  To avoid this, we pick a random,
13154
 
        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13155
 
        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13156
 
        archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13157
 
        archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13158
 
        ;;
13159
 
      irix5* | irix6*)
13160
 
        case $cc_basename in
13161
 
          CC*)
13162
 
            # SGI C++
13163
 
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13164
 
 
13165
 
            # Archives containing C++ object files must be created using
13166
 
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13167
 
            # necessary to make sure instantiated templates are included
13168
 
            # in the archive.
13169
 
            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13170
 
            ;;
13171
 
          *)
13172
 
            if test "$GXX" = yes; then
13173
 
              if test "$with_gnu_ld" = no; then
13174
 
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
13175
 
              else
13176
 
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13177
 
              fi
13178
 
            fi
13179
 
            link_all_deplibs_CXX=yes
13180
 
            ;;
13181
 
        esac
13182
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13183
 
        hardcode_libdir_separator_CXX=:
13184
 
        inherit_rpath_CXX=yes
13185
 
        ;;
13186
 
 
13187
 
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13188
 
        case $cc_basename in
13189
 
          KCC*)
13190
 
            # Kuck and Associates, Inc. (KAI) C++ Compiler
13191
 
 
13192
 
            # KCC will only create a shared library if the output file
13193
 
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
13194
 
            # to its proper name (with version) after linking.
13195
 
            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13196
 
            archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13197
 
            # Commands to make compiler produce verbose output that lists
13198
 
            # what "hidden" libraries, object files and flags are used when
13199
 
            # linking a shared library.
13200
 
            #
13201
 
            # There doesn't appear to be a way to prevent this compiler from
13202
 
            # explicitly linking system object files so we need to strip them
13203
 
            # from the output so that they don't get included in the library
13204
 
            # dependencies.
13205
 
            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13206
 
 
13207
 
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13208
 
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13209
 
 
13210
 
            # Archives containing C++ object files must be created using
13211
 
            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13212
 
            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13213
 
            ;;
13214
 
          icpc* | ecpc* )
13215
 
            # Intel C++
13216
 
            with_gnu_ld=yes
13217
 
            # version 8.0 and above of icpc choke on multiply defined symbols
13218
 
            # if we add $predep_objects and $postdep_objects, however 7.1 and
13219
 
            # earlier do not add the objects themselves.
13220
 
            case `$CC -V 2>&1` in
13221
 
              *"Version 7."*)
13222
 
                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13223
 
                archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13224
 
                ;;
13225
 
              *)  # Version 8.0 or newer
13226
 
                tmp_idyn=
13227
 
                case $host_cpu in
13228
 
                  ia64*) tmp_idyn=' -i_dynamic';;
13229
 
                esac
13230
 
                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13231
 
                archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13232
 
                ;;
13233
 
            esac
13234
 
            archive_cmds_need_lc_CXX=no
13235
 
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13236
 
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13237
 
            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13238
 
            ;;
13239
 
          pgCC* | pgcpp*)
13240
 
            # Portland Group C++ compiler
13241
 
            case `$CC -V` in
13242
 
            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13243
 
              prelink_cmds_CXX='tpldir=Template.dir~
13244
 
                rm -rf $tpldir~
13245
 
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13246
 
                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13247
 
              old_archive_cmds_CXX='tpldir=Template.dir~
13248
 
                rm -rf $tpldir~
13249
 
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13250
 
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13251
 
                $RANLIB $oldlib'
13252
 
              archive_cmds_CXX='tpldir=Template.dir~
13253
 
                rm -rf $tpldir~
13254
 
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13255
 
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13256
 
              archive_expsym_cmds_CXX='tpldir=Template.dir~
13257
 
                rm -rf $tpldir~
13258
 
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13259
 
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13260
 
              ;;
13261
 
            *) # Version 6 and above use weak symbols
13262
 
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13263
 
              archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13264
 
              ;;
13265
 
            esac
13266
 
 
13267
 
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13268
 
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13269
 
            whole_archive_flag_spec_CXX='${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'
13270
 
            ;;
13271
 
          cxx*)
13272
 
            # Compaq C++
13273
 
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13274
 
            archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13275
 
 
13276
 
            runpath_var=LD_RUN_PATH
13277
 
            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13278
 
            hardcode_libdir_separator_CXX=:
13279
 
 
13280
 
            # Commands to make compiler produce verbose output that lists
13281
 
            # what "hidden" libraries, object files and flags are used when
13282
 
            # linking a shared library.
13283
 
            #
13284
 
            # There doesn't appear to be a way to prevent this compiler from
13285
 
            # explicitly linking system object files so we need to strip them
13286
 
            # from the output so that they don't get included in the library
13287
 
            # dependencies.
13288
 
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13289
 
            ;;
13290
 
          xl* | mpixl* | bgxl*)
13291
 
            # IBM XL 8.0 on PPC, with GNU ld
13292
 
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13293
 
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13294
 
            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13295
 
            if test "x$supports_anon_versioning" = xyes; then
13296
 
              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13297
 
                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13298
 
                echo "local: *; };" >> $output_objdir/$libname.ver~
13299
 
                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13300
 
            fi
13301
 
            ;;
13302
 
          *)
13303
 
            case `$CC -V 2>&1 | sed 5q` in
13304
 
            *Sun\ C*)
13305
 
              # Sun C++ 5.9
13306
 
              no_undefined_flag_CXX=' -zdefs'
13307
 
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13308
 
              archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13309
 
              hardcode_libdir_flag_spec_CXX='-R$libdir'
13310
 
              whole_archive_flag_spec_CXX='${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'
13311
 
              compiler_needs_object_CXX=yes
13312
 
 
13313
 
              # Not sure whether something based on
13314
 
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13315
 
              # would be better.
13316
 
              output_verbose_link_cmd='func_echo_all'
13317
 
 
13318
 
              # Archives containing C++ object files must be created using
13319
 
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13320
 
              # necessary to make sure instantiated templates are included
13321
 
              # in the archive.
13322
 
              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13323
 
              ;;
13324
 
            esac
13325
 
            ;;
13326
 
        esac
13327
 
        ;;
13328
 
 
13329
 
      lynxos*)
13330
 
        # FIXME: insert proper C++ library support
13331
 
        ld_shlibs_CXX=no
13332
 
        ;;
13333
 
 
13334
 
      m88k*)
13335
 
        # FIXME: insert proper C++ library support
13336
 
        ld_shlibs_CXX=no
13337
 
        ;;
13338
 
 
13339
 
      mvs*)
13340
 
        case $cc_basename in
13341
 
          cxx*)
13342
 
            # FIXME: insert proper C++ library support
13343
 
            ld_shlibs_CXX=no
13344
 
            ;;
13345
 
          *)
13346
 
            # FIXME: insert proper C++ library support
13347
 
            ld_shlibs_CXX=no
13348
 
            ;;
13349
 
        esac
13350
 
        ;;
13351
 
 
13352
 
      netbsd*)
13353
 
        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13354
 
          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13355
 
          wlarc=
13356
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
13357
 
          hardcode_direct_CXX=yes
13358
 
          hardcode_shlibpath_var_CXX=no
13359
 
        fi
13360
 
        # Workaround some broken pre-1.5 toolchains
13361
 
        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13362
 
        ;;
13363
 
 
13364
 
      *nto* | *qnx*)
13365
 
        ld_shlibs_CXX=yes
13366
 
        ;;
13367
 
 
13368
 
      openbsd2*)
13369
 
        # C++ shared libraries are fairly broken
13370
 
        ld_shlibs_CXX=no
13371
 
        ;;
13372
 
 
13373
 
      openbsd*)
13374
 
        if test -f /usr/libexec/ld.so; then
13375
 
          hardcode_direct_CXX=yes
13376
 
          hardcode_shlibpath_var_CXX=no
13377
 
          hardcode_direct_absolute_CXX=yes
13378
 
          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13379
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13380
 
          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13381
 
            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13382
 
            export_dynamic_flag_spec_CXX='${wl}-E'
13383
 
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13384
 
          fi
13385
 
          output_verbose_link_cmd=func_echo_all
13386
 
        else
13387
 
          ld_shlibs_CXX=no
13388
 
        fi
13389
 
        ;;
13390
 
 
13391
 
      osf3* | osf4* | osf5*)
13392
 
        case $cc_basename in
13393
 
          KCC*)
13394
 
            # Kuck and Associates, Inc. (KAI) C++ Compiler
13395
 
 
13396
 
            # KCC will only create a shared library if the output file
13397
 
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
13398
 
            # to its proper name (with version) after linking.
13399
 
            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13400
 
 
13401
 
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13402
 
            hardcode_libdir_separator_CXX=:
13403
 
 
13404
 
            # Archives containing C++ object files must be created using
13405
 
            # the KAI C++ compiler.
13406
 
            case $host in
13407
 
              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13408
 
              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13409
 
            esac
13410
 
            ;;
13411
 
          RCC*)
13412
 
            # Rational C++ 2.4.1
13413
 
            # FIXME: insert proper C++ library support
13414
 
            ld_shlibs_CXX=no
13415
 
            ;;
13416
 
          cxx*)
13417
 
            case $host in
13418
 
              osf3*)
13419
 
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13420
 
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13421
 
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13422
 
                ;;
13423
 
              *)
13424
 
                allow_undefined_flag_CXX=' -expect_unresolved \*'
13425
 
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13426
 
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13427
 
                  echo "-hidden">> $lib.exp~
13428
 
                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13429
 
                  $RM $lib.exp'
13430
 
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13431
 
                ;;
13432
 
            esac
13433
 
 
13434
 
            hardcode_libdir_separator_CXX=:
13435
 
 
13436
 
            # Commands to make compiler produce verbose output that lists
13437
 
            # what "hidden" libraries, object files and flags are used when
13438
 
            # linking a shared library.
13439
 
            #
13440
 
            # There doesn't appear to be a way to prevent this compiler from
13441
 
            # explicitly linking system object files so we need to strip them
13442
 
            # from the output so that they don't get included in the library
13443
 
            # dependencies.
13444
 
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13445
 
            ;;
13446
 
          *)
13447
 
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13448
 
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13449
 
              case $host in
13450
 
                osf3*)
13451
 
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13452
 
                  ;;
13453
 
                *)
13454
 
                  archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13455
 
                  ;;
13456
 
              esac
13457
 
 
13458
 
              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13459
 
              hardcode_libdir_separator_CXX=:
13460
 
 
13461
 
              # Commands to make compiler produce verbose output that lists
13462
 
              # what "hidden" libraries, object files and flags are used when
13463
 
              # linking a shared library.
13464
 
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13465
 
 
13466
 
            else
13467
 
              # FIXME: insert proper C++ library support
13468
 
              ld_shlibs_CXX=no
13469
 
            fi
13470
 
            ;;
13471
 
        esac
13472
 
        ;;
13473
 
 
13474
 
      psos*)
13475
 
        # FIXME: insert proper C++ library support
13476
 
        ld_shlibs_CXX=no
13477
 
        ;;
13478
 
 
13479
 
      sunos4*)
13480
 
        case $cc_basename in
13481
 
          CC*)
13482
 
            # Sun C++ 4.x
13483
 
            # FIXME: insert proper C++ library support
13484
 
            ld_shlibs_CXX=no
13485
 
            ;;
13486
 
          lcc*)
13487
 
            # Lucid
13488
 
            # FIXME: insert proper C++ library support
13489
 
            ld_shlibs_CXX=no
13490
 
            ;;
13491
 
          *)
13492
 
            # FIXME: insert proper C++ library support
13493
 
            ld_shlibs_CXX=no
13494
 
            ;;
13495
 
        esac
13496
 
        ;;
13497
 
 
13498
 
      solaris*)
13499
 
        case $cc_basename in
13500
 
          CC* | sunCC*)
13501
 
            # Sun C++ 4.2, 5.x and Centerline C++
13502
 
            archive_cmds_need_lc_CXX=yes
13503
 
            no_undefined_flag_CXX=' -zdefs'
13504
 
            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13505
 
            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13506
 
              $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13507
 
 
13508
 
            hardcode_libdir_flag_spec_CXX='-R$libdir'
13509
 
            hardcode_shlibpath_var_CXX=no
13510
 
            case $host_os in
13511
 
              solaris2.[0-5] | solaris2.[0-5].*) ;;
13512
 
              *)
13513
 
                # The compiler driver will combine and reorder linker options,
13514
 
                # but understands `-z linker_flag'.
13515
 
                # Supported since Solaris 2.6 (maybe 2.5.1?)
13516
 
                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13517
 
                ;;
13518
 
            esac
13519
 
            link_all_deplibs_CXX=yes
13520
 
 
13521
 
            output_verbose_link_cmd='func_echo_all'
13522
 
 
13523
 
            # Archives containing C++ object files must be created using
13524
 
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13525
 
            # necessary to make sure instantiated templates are included
13526
 
            # in the archive.
13527
 
            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13528
 
            ;;
13529
 
          gcx*)
13530
 
            # Green Hills C++ Compiler
13531
 
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13532
 
 
13533
 
            # The C++ compiler must be used to create the archive.
13534
 
            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13535
 
            ;;
13536
 
          *)
13537
 
            # GNU C++ compiler with Solaris linker
13538
 
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13539
 
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13540
 
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13541
 
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13542
 
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13543
 
                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13544
 
 
13545
 
                # Commands to make compiler produce verbose output that lists
13546
 
                # what "hidden" libraries, object files and flags are used when
13547
 
                # linking a shared library.
13548
 
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13549
 
              else
13550
 
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
13551
 
                # platform.
13552
 
                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13553
 
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13554
 
                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13555
 
 
13556
 
                # Commands to make compiler produce verbose output that lists
13557
 
                # what "hidden" libraries, object files and flags are used when
13558
 
                # linking a shared library.
13559
 
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13560
 
              fi
13561
 
 
13562
 
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13563
 
              case $host_os in
13564
 
                solaris2.[0-5] | solaris2.[0-5].*) ;;
13565
 
                *)
13566
 
                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13567
 
                  ;;
13568
 
              esac
13569
 
            fi
13570
 
            ;;
13571
 
        esac
13572
 
        ;;
13573
 
 
13574
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13575
 
      no_undefined_flag_CXX='${wl}-z,text'
13576
 
      archive_cmds_need_lc_CXX=no
13577
 
      hardcode_shlibpath_var_CXX=no
13578
 
      runpath_var='LD_RUN_PATH'
13579
 
 
13580
 
      case $cc_basename in
13581
 
        CC*)
13582
 
          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13583
 
          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13584
 
          ;;
13585
 
        *)
13586
 
          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13587
 
          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13588
 
          ;;
13589
 
      esac
13590
 
      ;;
13591
 
 
13592
 
      sysv5* | sco3.2v5* | sco5v6*)
13593
 
        # Note: We can NOT use -z defs as we might desire, because we do not
13594
 
        # link with -lc, and that would cause any symbols used from libc to
13595
 
        # always be unresolved, which means just about no library would
13596
 
        # ever link correctly.  If we're not using GNU ld we use -z text
13597
 
        # though, which does catch some bad symbols but isn't as heavy-handed
13598
 
        # as -z defs.
13599
 
        no_undefined_flag_CXX='${wl}-z,text'
13600
 
        allow_undefined_flag_CXX='${wl}-z,nodefs'
13601
 
        archive_cmds_need_lc_CXX=no
13602
 
        hardcode_shlibpath_var_CXX=no
13603
 
        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13604
 
        hardcode_libdir_separator_CXX=':'
13605
 
        link_all_deplibs_CXX=yes
13606
 
        export_dynamic_flag_spec_CXX='${wl}-Bexport'
13607
 
        runpath_var='LD_RUN_PATH'
13608
 
 
13609
 
        case $cc_basename in
13610
 
          CC*)
13611
 
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13612
 
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13613
 
            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13614
 
              '"$old_archive_cmds_CXX"
13615
 
            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13616
 
              '"$reload_cmds_CXX"
13617
 
            ;;
13618
 
          *)
13619
 
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13620
 
            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13621
 
            ;;
13622
 
        esac
13623
 
      ;;
13624
 
 
13625
 
      tandem*)
13626
 
        case $cc_basename in
13627
 
          NCC*)
13628
 
            # NonStop-UX NCC 3.20
13629
 
            # FIXME: insert proper C++ library support
13630
 
            ld_shlibs_CXX=no
13631
 
            ;;
13632
 
          *)
13633
 
            # FIXME: insert proper C++ library support
13634
 
            ld_shlibs_CXX=no
13635
 
            ;;
13636
 
        esac
13637
 
        ;;
13638
 
 
13639
 
      vxworks*)
13640
 
        # FIXME: insert proper C++ library support
13641
 
        ld_shlibs_CXX=no
13642
 
        ;;
13643
 
 
13644
 
      *)
13645
 
        # FIXME: insert proper C++ library support
13646
 
        ld_shlibs_CXX=no
13647
 
        ;;
13648
 
    esac
13649
 
 
13650
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13651
 
$as_echo "$ld_shlibs_CXX" >&6; }
13652
 
    test "$ld_shlibs_CXX" = no && can_build_shared=no
13653
 
 
13654
 
    GCC_CXX="$GXX"
13655
 
    LD_CXX="$LD"
13656
 
 
13657
 
    ## CAVEAT EMPTOR:
13658
 
    ## There is no encapsulation within the following macros, do not change
13659
 
    ## the running order or otherwise move them around unless you know exactly
13660
 
    ## what you are doing...
13661
 
    # Dependencies to place before and after the object being linked:
13662
 
predep_objects_CXX=
13663
 
postdep_objects_CXX=
13664
 
predeps_CXX=
13665
 
postdeps_CXX=
13666
 
compiler_lib_search_path_CXX=
13667
 
 
13668
 
cat > conftest.$ac_ext <<_LT_EOF
13669
 
class Foo
13670
 
{
13671
 
public:
13672
 
  Foo (void) { a = 0; }
13673
 
private:
13674
 
  int a;
13675
 
};
13676
 
_LT_EOF
13677
 
 
13678
 
 
13679
 
_lt_libdeps_save_CFLAGS=$CFLAGS
13680
 
case "$CC $CFLAGS " in #(
13681
 
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13682
 
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13683
 
esac
13684
 
 
13685
 
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13686
 
  (eval $ac_compile) 2>&5
13687
 
  ac_status=$?
13688
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13689
 
  test $ac_status = 0; }; then
13690
 
  # Parse the compiler output and extract the necessary
13691
 
  # objects, libraries and library flags.
13692
 
 
13693
 
  # Sentinel used to keep track of whether or not we are before
13694
 
  # the conftest object file.
13695
 
  pre_test_object_deps_done=no
13696
 
 
13697
 
  for p in `eval "$output_verbose_link_cmd"`; do
13698
 
    case ${prev}${p} in
13699
 
 
13700
 
    -L* | -R* | -l*)
13701
 
       # Some compilers place space between "-{L,R}" and the path.
13702
 
       # Remove the space.
13703
 
       if test $p = "-L" ||
13704
 
          test $p = "-R"; then
13705
 
         prev=$p
13706
 
         continue
13707
 
       fi
13708
 
 
13709
 
       # Expand the sysroot to ease extracting the directories later.
13710
 
       if test -z "$prev"; then
13711
 
         case $p in
13712
 
         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13713
 
         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13714
 
         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13715
 
         esac
13716
 
       fi
13717
 
       case $p in
13718
 
       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13719
 
       esac
13720
 
       if test "$pre_test_object_deps_done" = no; then
13721
 
         case ${prev} in
13722
 
         -L | -R)
13723
 
           # Internal compiler library paths should come after those
13724
 
           # provided the user.  The postdeps already come after the
13725
 
           # user supplied libs so there is no need to process them.
13726
 
           if test -z "$compiler_lib_search_path_CXX"; then
13727
 
             compiler_lib_search_path_CXX="${prev}${p}"
13728
 
           else
13729
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13730
 
           fi
13731
 
           ;;
13732
 
         # The "-l" case would never come before the object being
13733
 
         # linked, so don't bother handling this case.
13734
 
         esac
13735
 
       else
13736
 
         if test -z "$postdeps_CXX"; then
13737
 
           postdeps_CXX="${prev}${p}"
13738
 
         else
13739
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13740
 
         fi
13741
 
       fi
13742
 
       prev=
13743
 
       ;;
13744
 
 
13745
 
    *.lto.$objext) ;; # Ignore GCC LTO objects
13746
 
    *.$objext)
13747
 
       # This assumes that the test object file only shows up
13748
 
       # once in the compiler output.
13749
 
       if test "$p" = "conftest.$objext"; then
13750
 
         pre_test_object_deps_done=yes
13751
 
         continue
13752
 
       fi
13753
 
 
13754
 
       if test "$pre_test_object_deps_done" = no; then
13755
 
         if test -z "$predep_objects_CXX"; then
13756
 
           predep_objects_CXX="$p"
13757
 
         else
13758
 
           predep_objects_CXX="$predep_objects_CXX $p"
13759
 
         fi
13760
 
       else
13761
 
         if test -z "$postdep_objects_CXX"; then
13762
 
           postdep_objects_CXX="$p"
13763
 
         else
13764
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
13765
 
         fi
13766
 
       fi
13767
 
       ;;
13768
 
 
13769
 
    *) ;; # Ignore the rest.
13770
 
 
13771
 
    esac
13772
 
  done
13773
 
 
13774
 
  # Clean up.
13775
 
  rm -f a.out a.exe
13776
 
else
13777
 
  echo "libtool.m4: error: problem compiling CXX test program"
13778
 
fi
13779
 
 
13780
 
$RM -f confest.$objext
13781
 
CFLAGS=$_lt_libdeps_save_CFLAGS
13782
 
 
13783
 
# PORTME: override above test on systems where it is broken
13784
 
case $host_os in
13785
 
interix[3-9]*)
13786
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13787
 
  # hack all around it, let's just trust "g++" to DTRT.
13788
 
  predep_objects_CXX=
13789
 
  postdep_objects_CXX=
13790
 
  postdeps_CXX=
13791
 
  ;;
13792
 
 
13793
 
linux*)
13794
 
  case `$CC -V 2>&1 | sed 5q` in
13795
 
  *Sun\ C*)
13796
 
    # Sun C++ 5.9
13797
 
 
13798
 
    # The more standards-conforming stlport4 library is
13799
 
    # incompatible with the Cstd library. Avoid specifying
13800
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13801
 
    # -library=stlport4 depends on it.
13802
 
    case " $CXX $CXXFLAGS " in
13803
 
    *" -library=stlport4 "*)
13804
 
      solaris_use_stlport4=yes
13805
 
      ;;
13806
 
    esac
13807
 
 
13808
 
    if test "$solaris_use_stlport4" != yes; then
13809
 
      postdeps_CXX='-library=Cstd -library=Crun'
13810
 
    fi
13811
 
    ;;
13812
 
  esac
13813
 
  ;;
13814
 
 
13815
 
solaris*)
13816
 
  case $cc_basename in
13817
 
  CC* | sunCC*)
13818
 
    # The more standards-conforming stlport4 library is
13819
 
    # incompatible with the Cstd library. Avoid specifying
13820
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13821
 
    # -library=stlport4 depends on it.
13822
 
    case " $CXX $CXXFLAGS " in
13823
 
    *" -library=stlport4 "*)
13824
 
      solaris_use_stlport4=yes
13825
 
      ;;
13826
 
    esac
13827
 
 
13828
 
    # Adding this requires a known-good setup of shared libraries for
13829
 
    # Sun compiler versions before 5.6, else PIC objects from an old
13830
 
    # archive will be linked into the output, leading to subtle bugs.
13831
 
    if test "$solaris_use_stlport4" != yes; then
13832
 
      postdeps_CXX='-library=Cstd -library=Crun'
13833
 
    fi
13834
 
    ;;
13835
 
  esac
13836
 
  ;;
13837
 
esac
13838
 
 
13839
 
 
13840
 
case " $postdeps_CXX " in
13841
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13842
 
esac
13843
 
 compiler_lib_search_dirs_CXX=
13844
 
if test -n "${compiler_lib_search_path_CXX}"; then
13845
 
 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13846
 
fi
13847
 
 
13848
 
 
13849
 
 
13850
 
 
13851
 
 
13852
 
 
13853
 
 
13854
 
 
13855
 
 
13856
 
 
13857
 
 
13858
 
 
13859
 
 
13860
 
 
13861
 
 
13862
 
 
13863
 
 
13864
 
 
13865
 
 
13866
 
 
13867
 
 
13868
 
 
13869
 
 
13870
 
 
13871
 
 
13872
 
 
13873
 
 
13874
 
 
13875
 
 
13876
 
 
13877
 
 
13878
 
    lt_prog_compiler_wl_CXX=
13879
 
lt_prog_compiler_pic_CXX=
13880
 
lt_prog_compiler_static_CXX=
13881
 
 
13882
 
 
13883
 
  # C++ specific cases for pic, static, wl, etc.
13884
 
  if test "$GXX" = yes; then
13885
 
    lt_prog_compiler_wl_CXX='-Wl,'
13886
 
    lt_prog_compiler_static_CXX='-static'
13887
 
 
13888
 
    case $host_os in
13889
 
    aix*)
13890
 
      # All AIX code is PIC.
13891
 
      if test "$host_cpu" = ia64; then
13892
 
        # AIX 5 now supports IA64 processor
13893
 
        lt_prog_compiler_static_CXX='-Bstatic'
13894
 
      fi
13895
 
      ;;
13896
 
 
13897
 
    amigaos*)
13898
 
      case $host_cpu in
13899
 
      powerpc)
13900
 
            # see comment about AmigaOS4 .so support
13901
 
            lt_prog_compiler_pic_CXX='-fPIC'
13902
 
        ;;
13903
 
      m68k)
13904
 
            # FIXME: we need at least 68020 code to build shared libraries, but
13905
 
            # adding the `-m68020' flag to GCC prevents building anything better,
13906
 
            # like `-m68040'.
13907
 
            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13908
 
        ;;
13909
 
      esac
13910
 
      ;;
13911
 
 
13912
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13913
 
      # PIC is the default for these OSes.
13914
 
      ;;
13915
 
    mingw* | cygwin* | os2* | pw32* | cegcc*)
13916
 
      # This hack is so that the source file can tell whether it is being
13917
 
      # built for inclusion in a dll (and should export symbols for example).
13918
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13919
 
      # (--disable-auto-import) libraries
13920
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13921
 
      ;;
13922
 
    darwin* | rhapsody*)
13923
 
      # PIC is the default on this platform
13924
 
      # Common symbols not allowed in MH_DYLIB files
13925
 
      lt_prog_compiler_pic_CXX='-fno-common'
13926
 
      ;;
13927
 
    *djgpp*)
13928
 
      # DJGPP does not support shared libraries at all
13929
 
      lt_prog_compiler_pic_CXX=
13930
 
      ;;
13931
 
    haiku*)
13932
 
      # PIC is the default for Haiku.
13933
 
      # The "-static" flag exists, but is broken.
13934
 
      lt_prog_compiler_static_CXX=
13935
 
      ;;
13936
 
    interix[3-9]*)
13937
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13938
 
      # Instead, we relocate shared libraries at runtime.
13939
 
      ;;
13940
 
    sysv4*MP*)
13941
 
      if test -d /usr/nec; then
13942
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
13943
 
      fi
13944
 
      ;;
13945
 
    hpux*)
13946
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13947
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13948
 
      # sets the default TLS model and affects inlining.
13949
 
      case $host_cpu in
13950
 
      hppa*64*)
13951
 
        ;;
13952
 
      *)
13953
 
        lt_prog_compiler_pic_CXX='-fPIC'
13954
 
        ;;
13955
 
      esac
13956
 
      ;;
13957
 
    *qnx* | *nto*)
13958
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
13959
 
      # it will coredump.
13960
 
      lt_prog_compiler_pic_CXX='-fPIC -shared'
13961
 
      ;;
13962
 
    *)
13963
 
      lt_prog_compiler_pic_CXX='-fPIC'
13964
 
      ;;
13965
 
    esac
13966
 
  else
13967
 
    case $host_os in
13968
 
      aix[4-9]*)
13969
 
        # All AIX code is PIC.
13970
 
        if test "$host_cpu" = ia64; then
13971
 
          # AIX 5 now supports IA64 processor
13972
 
          lt_prog_compiler_static_CXX='-Bstatic'
13973
 
        else
13974
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13975
 
        fi
13976
 
        ;;
13977
 
      chorus*)
13978
 
        case $cc_basename in
13979
 
        cxch68*)
13980
 
          # Green Hills C++ Compiler
13981
 
          # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13982
 
          ;;
13983
 
        esac
13984
 
        ;;
13985
 
      mingw* | cygwin* | os2* | pw32* | cegcc*)
13986
 
        # This hack is so that the source file can tell whether it is being
13987
 
        # built for inclusion in a dll (and should export symbols for example).
13988
 
        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13989
 
        ;;
13990
 
      dgux*)
13991
 
        case $cc_basename in
13992
 
          ec++*)
13993
 
            lt_prog_compiler_pic_CXX='-KPIC'
13994
 
            ;;
13995
 
          ghcx*)
13996
 
            # Green Hills C++ Compiler
13997
 
            lt_prog_compiler_pic_CXX='-pic'
13998
 
            ;;
13999
 
          *)
14000
 
            ;;
14001
 
        esac
14002
 
        ;;
14003
 
      freebsd* | dragonfly*)
14004
 
        # FreeBSD uses GNU C++
14005
 
        ;;
14006
 
      hpux9* | hpux10* | hpux11*)
14007
 
        case $cc_basename in
14008
 
          CC*)
14009
 
            lt_prog_compiler_wl_CXX='-Wl,'
14010
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14011
 
            if test "$host_cpu" != ia64; then
14012
 
              lt_prog_compiler_pic_CXX='+Z'
14013
 
            fi
14014
 
            ;;
14015
 
          aCC*)
14016
 
            lt_prog_compiler_wl_CXX='-Wl,'
14017
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14018
 
            case $host_cpu in
14019
 
            hppa*64*|ia64*)
14020
 
              # +Z the default
14021
 
              ;;
14022
 
            *)
14023
 
              lt_prog_compiler_pic_CXX='+Z'
14024
 
              ;;
14025
 
            esac
14026
 
            ;;
14027
 
          *)
14028
 
            ;;
14029
 
        esac
14030
 
        ;;
14031
 
      interix*)
14032
 
        # This is c89, which is MS Visual C++ (no shared libs)
14033
 
        # Anyone wants to do a port?
14034
 
        ;;
14035
 
      irix5* | irix6* | nonstopux*)
14036
 
        case $cc_basename in
14037
 
          CC*)
14038
 
            lt_prog_compiler_wl_CXX='-Wl,'
14039
 
            lt_prog_compiler_static_CXX='-non_shared'
14040
 
            # CC pic flag -KPIC is the default.
14041
 
            ;;
14042
 
          *)
14043
 
            ;;
14044
 
        esac
14045
 
        ;;
14046
 
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
14047
 
        case $cc_basename in
14048
 
          KCC*)
14049
 
            # KAI C++ Compiler
14050
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
14051
 
            lt_prog_compiler_pic_CXX='-fPIC'
14052
 
            ;;
14053
 
          ecpc* )
14054
 
            # old Intel C++ for x86_64 which still supported -KPIC.
14055
 
            lt_prog_compiler_wl_CXX='-Wl,'
14056
 
            lt_prog_compiler_pic_CXX='-KPIC'
14057
 
            lt_prog_compiler_static_CXX='-static'
14058
 
            ;;
14059
 
          icpc* )
14060
 
            # Intel C++, used to be incompatible with GCC.
14061
 
            # ICC 10 doesn't accept -KPIC any more.
14062
 
            lt_prog_compiler_wl_CXX='-Wl,'
14063
 
            lt_prog_compiler_pic_CXX='-fPIC'
14064
 
            lt_prog_compiler_static_CXX='-static'
14065
 
            ;;
14066
 
          pgCC* | pgcpp*)
14067
 
            # Portland Group C++ compiler
14068
 
            lt_prog_compiler_wl_CXX='-Wl,'
14069
 
            lt_prog_compiler_pic_CXX='-fpic'
14070
 
            lt_prog_compiler_static_CXX='-Bstatic'
14071
 
            ;;
14072
 
          cxx*)
14073
 
            # Compaq C++
14074
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
14075
 
            # Linux and Compaq Tru64 Unix objects are PIC.
14076
 
            lt_prog_compiler_pic_CXX=
14077
 
            lt_prog_compiler_static_CXX='-non_shared'
14078
 
            ;;
14079
 
          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14080
 
            # IBM XL 8.0, 9.0 on PPC and BlueGene
14081
 
            lt_prog_compiler_wl_CXX='-Wl,'
14082
 
            lt_prog_compiler_pic_CXX='-qpic'
14083
 
            lt_prog_compiler_static_CXX='-qstaticlink'
14084
 
            ;;
14085
 
          *)
14086
 
            case `$CC -V 2>&1 | sed 5q` in
14087
 
            *Sun\ C*)
14088
 
              # Sun C++ 5.9
14089
 
              lt_prog_compiler_pic_CXX='-KPIC'
14090
 
              lt_prog_compiler_static_CXX='-Bstatic'
14091
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
14092
 
              ;;
14093
 
            esac
14094
 
            ;;
14095
 
        esac
14096
 
        ;;
14097
 
      lynxos*)
14098
 
        ;;
14099
 
      m88k*)
14100
 
        ;;
14101
 
      mvs*)
14102
 
        case $cc_basename in
14103
 
          cxx*)
14104
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
14105
 
            ;;
14106
 
          *)
14107
 
            ;;
14108
 
        esac
14109
 
        ;;
14110
 
      netbsd* | netbsdelf*-gnu)
14111
 
        ;;
14112
 
      *qnx* | *nto*)
14113
 
        # QNX uses GNU C++, but need to define -shared option too, otherwise
14114
 
        # it will coredump.
14115
 
        lt_prog_compiler_pic_CXX='-fPIC -shared'
14116
 
        ;;
14117
 
      osf3* | osf4* | osf5*)
14118
 
        case $cc_basename in
14119
 
          KCC*)
14120
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
14121
 
            ;;
14122
 
          RCC*)
14123
 
            # Rational C++ 2.4.1
14124
 
            lt_prog_compiler_pic_CXX='-pic'
14125
 
            ;;
14126
 
          cxx*)
14127
 
            # Digital/Compaq C++
14128
 
            lt_prog_compiler_wl_CXX='-Wl,'
14129
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
14130
 
            # Linux and Compaq Tru64 Unix objects are PIC.
14131
 
            lt_prog_compiler_pic_CXX=
14132
 
            lt_prog_compiler_static_CXX='-non_shared'
14133
 
            ;;
14134
 
          *)
14135
 
            ;;
14136
 
        esac
14137
 
        ;;
14138
 
      psos*)
14139
 
        ;;
14140
 
      solaris*)
14141
 
        case $cc_basename in
14142
 
          CC* | sunCC*)
14143
 
            # Sun C++ 4.2, 5.x and Centerline C++
14144
 
            lt_prog_compiler_pic_CXX='-KPIC'
14145
 
            lt_prog_compiler_static_CXX='-Bstatic'
14146
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
14147
 
            ;;
14148
 
          gcx*)
14149
 
            # Green Hills C++ Compiler
14150
 
            lt_prog_compiler_pic_CXX='-PIC'
14151
 
            ;;
14152
 
          *)
14153
 
            ;;
14154
 
        esac
14155
 
        ;;
14156
 
      sunos4*)
14157
 
        case $cc_basename in
14158
 
          CC*)
14159
 
            # Sun C++ 4.x
14160
 
            lt_prog_compiler_pic_CXX='-pic'
14161
 
            lt_prog_compiler_static_CXX='-Bstatic'
14162
 
            ;;
14163
 
          lcc*)
14164
 
            # Lucid
14165
 
            lt_prog_compiler_pic_CXX='-pic'
14166
 
            ;;
14167
 
          *)
14168
 
            ;;
14169
 
        esac
14170
 
        ;;
14171
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14172
 
        case $cc_basename in
14173
 
          CC*)
14174
 
            lt_prog_compiler_wl_CXX='-Wl,'
14175
 
            lt_prog_compiler_pic_CXX='-KPIC'
14176
 
            lt_prog_compiler_static_CXX='-Bstatic'
14177
 
            ;;
14178
 
        esac
14179
 
        ;;
14180
 
      tandem*)
14181
 
        case $cc_basename in
14182
 
          NCC*)
14183
 
            # NonStop-UX NCC 3.20
14184
 
            lt_prog_compiler_pic_CXX='-KPIC'
14185
 
            ;;
14186
 
          *)
14187
 
            ;;
14188
 
        esac
14189
 
        ;;
14190
 
      vxworks*)
14191
 
        ;;
14192
 
      *)
14193
 
        lt_prog_compiler_can_build_shared_CXX=no
14194
 
        ;;
14195
 
    esac
14196
 
  fi
14197
 
 
14198
 
case $host_os in
14199
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14200
 
  *djgpp*)
14201
 
    lt_prog_compiler_pic_CXX=
14202
 
    ;;
14203
 
  *)
14204
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14205
 
    ;;
14206
 
esac
14207
 
 
14208
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14209
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14210
 
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14211
 
  $as_echo_n "(cached) " >&6
14212
 
else
14213
 
  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14214
 
fi
14215
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14216
 
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14217
 
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14218
 
 
14219
 
#
14220
 
# Check to make sure the PIC flag actually works.
14221
 
#
14222
 
if test -n "$lt_prog_compiler_pic_CXX"; then
14223
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14224
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14225
 
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14226
 
  $as_echo_n "(cached) " >&6
14227
 
else
14228
 
  lt_cv_prog_compiler_pic_works_CXX=no
14229
 
   ac_outfile=conftest.$ac_objext
14230
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14231
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14232
 
   # Insert the option either (1) after the last *FLAGS variable, or
14233
 
   # (2) before a word containing "conftest.", or (3) at the end.
14234
 
   # Note that $ac_compile itself does not contain backslashes and begins
14235
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14236
 
   # The option is referenced via a variable to avoid confusing sed.
14237
 
   lt_compile=`echo "$ac_compile" | $SED \
14238
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14239
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14240
 
   -e 's:$: $lt_compiler_flag:'`
14241
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14242
 
   (eval "$lt_compile" 2>conftest.err)
14243
 
   ac_status=$?
14244
 
   cat conftest.err >&5
14245
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14246
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14247
 
     # The compiler can only warn and ignore the option if not recognized
14248
 
     # So say no if there are warnings other than the usual output.
14249
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14250
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14251
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14252
 
       lt_cv_prog_compiler_pic_works_CXX=yes
14253
 
     fi
14254
 
   fi
14255
 
   $RM conftest*
14256
 
 
14257
 
fi
14258
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14259
 
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14260
 
 
14261
 
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14262
 
    case $lt_prog_compiler_pic_CXX in
14263
 
     "" | " "*) ;;
14264
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14265
 
     esac
14266
 
else
14267
 
    lt_prog_compiler_pic_CXX=
14268
 
     lt_prog_compiler_can_build_shared_CXX=no
14269
 
fi
14270
 
 
14271
 
fi
14272
 
 
14273
 
 
14274
 
 
14275
 
 
14276
 
 
14277
 
#
14278
 
# Check to make sure the static flag actually works.
14279
 
#
14280
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14281
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14282
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14283
 
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14284
 
  $as_echo_n "(cached) " >&6
14285
 
else
14286
 
  lt_cv_prog_compiler_static_works_CXX=no
14287
 
   save_LDFLAGS="$LDFLAGS"
14288
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14289
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14290
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14291
 
     # The linker can only warn and ignore the option if not recognized
14292
 
     # So say no if there are warnings
14293
 
     if test -s conftest.err; then
14294
 
       # Append any errors to the config.log.
14295
 
       cat conftest.err 1>&5
14296
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14297
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14298
 
       if diff conftest.exp conftest.er2 >/dev/null; then
14299
 
         lt_cv_prog_compiler_static_works_CXX=yes
14300
 
       fi
14301
 
     else
14302
 
       lt_cv_prog_compiler_static_works_CXX=yes
14303
 
     fi
14304
 
   fi
14305
 
   $RM -r conftest*
14306
 
   LDFLAGS="$save_LDFLAGS"
14307
 
 
14308
 
fi
14309
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14310
 
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14311
 
 
14312
 
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14313
 
    :
14314
 
else
14315
 
    lt_prog_compiler_static_CXX=
14316
 
fi
14317
 
 
14318
 
 
14319
 
 
14320
 
 
14321
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14322
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14323
 
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14324
 
  $as_echo_n "(cached) " >&6
14325
 
else
14326
 
  lt_cv_prog_compiler_c_o_CXX=no
14327
 
   $RM -r conftest 2>/dev/null
14328
 
   mkdir conftest
14329
 
   cd conftest
14330
 
   mkdir out
14331
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14332
 
 
14333
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14334
 
   # Insert the option either (1) after the last *FLAGS variable, or
14335
 
   # (2) before a word containing "conftest.", or (3) at the end.
14336
 
   # Note that $ac_compile itself does not contain backslashes and begins
14337
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14338
 
   lt_compile=`echo "$ac_compile" | $SED \
14339
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14340
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14341
 
   -e 's:$: $lt_compiler_flag:'`
14342
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14343
 
   (eval "$lt_compile" 2>out/conftest.err)
14344
 
   ac_status=$?
14345
 
   cat out/conftest.err >&5
14346
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14347
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14348
 
   then
14349
 
     # The compiler can only warn and ignore the option if not recognized
14350
 
     # So say no if there are warnings
14351
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14352
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14353
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14354
 
       lt_cv_prog_compiler_c_o_CXX=yes
14355
 
     fi
14356
 
   fi
14357
 
   chmod u+w . 2>&5
14358
 
   $RM conftest*
14359
 
   # SGI C++ compiler will create directory out/ii_files/ for
14360
 
   # template instantiation
14361
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14362
 
   $RM out/* && rmdir out
14363
 
   cd ..
14364
 
   $RM -r conftest
14365
 
   $RM conftest*
14366
 
 
14367
 
fi
14368
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14369
 
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14370
 
 
14371
 
 
14372
 
 
14373
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14374
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14375
 
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14376
 
  $as_echo_n "(cached) " >&6
14377
 
else
14378
 
  lt_cv_prog_compiler_c_o_CXX=no
14379
 
   $RM -r conftest 2>/dev/null
14380
 
   mkdir conftest
14381
 
   cd conftest
14382
 
   mkdir out
14383
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14384
 
 
14385
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14386
 
   # Insert the option either (1) after the last *FLAGS variable, or
14387
 
   # (2) before a word containing "conftest.", or (3) at the end.
14388
 
   # Note that $ac_compile itself does not contain backslashes and begins
14389
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14390
 
   lt_compile=`echo "$ac_compile" | $SED \
14391
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14392
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14393
 
   -e 's:$: $lt_compiler_flag:'`
14394
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14395
 
   (eval "$lt_compile" 2>out/conftest.err)
14396
 
   ac_status=$?
14397
 
   cat out/conftest.err >&5
14398
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14400
 
   then
14401
 
     # The compiler can only warn and ignore the option if not recognized
14402
 
     # So say no if there are warnings
14403
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14404
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14405
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14406
 
       lt_cv_prog_compiler_c_o_CXX=yes
14407
 
     fi
14408
 
   fi
14409
 
   chmod u+w . 2>&5
14410
 
   $RM conftest*
14411
 
   # SGI C++ compiler will create directory out/ii_files/ for
14412
 
   # template instantiation
14413
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14414
 
   $RM out/* && rmdir out
14415
 
   cd ..
14416
 
   $RM -r conftest
14417
 
   $RM conftest*
14418
 
 
14419
 
fi
14420
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14421
 
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14422
 
 
14423
 
 
14424
 
 
14425
 
 
14426
 
hard_links="nottested"
14427
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14428
 
  # do not overwrite the value of need_locks provided by the user
14429
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14430
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
14431
 
  hard_links=yes
14432
 
  $RM conftest*
14433
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14434
 
  touch conftest.a
14435
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14436
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14437
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14438
 
$as_echo "$hard_links" >&6; }
14439
 
  if test "$hard_links" = no; then
14440
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14441
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14442
 
    need_locks=warn
14443
 
  fi
14444
 
else
14445
 
  need_locks=no
14446
 
fi
14447
 
 
14448
 
 
14449
 
 
14450
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14451
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14452
 
 
14453
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14454
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14455
 
  case $host_os in
14456
 
  aix[4-9]*)
14457
 
    # If we're using GNU nm, then we don't want the "-C" option.
14458
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14459
 
    # Also, AIX nm treats weak defined symbols like other global defined
14460
 
    # symbols, whereas GNU nm marks them as "W".
14461
 
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14462
 
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14463
 
    else
14464
 
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14465
 
    fi
14466
 
    ;;
14467
 
  pw32*)
14468
 
    export_symbols_cmds_CXX="$ltdll_cmds"
14469
 
    ;;
14470
 
  cygwin* | mingw* | cegcc*)
14471
 
    case $cc_basename in
14472
 
    cl*) ;;
14473
 
    *)
14474
 
      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14475
 
      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14476
 
      ;;
14477
 
    esac
14478
 
    ;;
14479
 
  linux* | k*bsd*-gnu | gnu*)
14480
 
    link_all_deplibs_CXX=no
14481
 
    ;;
14482
 
  *)
14483
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14484
 
    ;;
14485
 
  esac
14486
 
 
14487
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14488
 
$as_echo "$ld_shlibs_CXX" >&6; }
14489
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
14490
 
 
14491
 
with_gnu_ld_CXX=$with_gnu_ld
14492
 
 
14493
 
 
14494
 
 
14495
 
 
14496
 
 
14497
 
 
14498
 
#
14499
 
# Do we need to explicitly link libc?
14500
 
#
14501
 
case "x$archive_cmds_need_lc_CXX" in
14502
 
x|xyes)
14503
 
  # Assume -lc should be added
14504
 
  archive_cmds_need_lc_CXX=yes
14505
 
 
14506
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
14507
 
    case $archive_cmds_CXX in
14508
 
    *'~'*)
14509
 
      # FIXME: we may have to deal with multi-command sequences.
14510
 
      ;;
14511
 
    '$CC '*)
14512
 
      # Test whether the compiler implicitly links with -lc since on some
14513
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14514
 
      # to ld, don't add -lc before -lgcc.
14515
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14516
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14517
 
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14518
 
  $as_echo_n "(cached) " >&6
14519
 
else
14520
 
  $RM conftest*
14521
 
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14522
 
 
14523
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14524
 
  (eval $ac_compile) 2>&5
14525
 
  ac_status=$?
14526
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14527
 
  test $ac_status = 0; } 2>conftest.err; then
14528
 
          soname=conftest
14529
 
          lib=conftest
14530
 
          libobjs=conftest.$ac_objext
14531
 
          deplibs=
14532
 
          wl=$lt_prog_compiler_wl_CXX
14533
 
          pic_flag=$lt_prog_compiler_pic_CXX
14534
 
          compiler_flags=-v
14535
 
          linker_flags=-v
14536
 
          verstring=
14537
 
          output_objdir=.
14538
 
          libname=conftest
14539
 
          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14540
 
          allow_undefined_flag_CXX=
14541
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14542
 
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14543
 
  ac_status=$?
14544
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14545
 
  test $ac_status = 0; }
14546
 
          then
14547
 
            lt_cv_archive_cmds_need_lc_CXX=no
14548
 
          else
14549
 
            lt_cv_archive_cmds_need_lc_CXX=yes
14550
 
          fi
14551
 
          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14552
 
        else
14553
 
          cat conftest.err 1>&5
14554
 
        fi
14555
 
        $RM conftest*
14556
 
 
14557
 
fi
14558
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14559
 
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14560
 
      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14561
 
      ;;
14562
 
    esac
14563
 
  fi
14564
 
  ;;
14565
 
esac
14566
 
 
14567
 
 
14568
 
 
14569
 
 
14570
 
 
14571
 
 
14572
 
 
14573
 
 
14574
 
 
14575
 
 
14576
 
 
14577
 
 
14578
 
 
14579
 
 
14580
 
 
14581
 
 
14582
 
 
14583
 
 
14584
 
 
14585
 
 
14586
 
 
14587
 
 
14588
 
 
14589
 
 
14590
 
 
14591
 
 
14592
 
 
14593
 
 
14594
 
 
14595
 
 
14596
 
 
14597
 
 
14598
 
 
14599
 
 
14600
 
 
14601
 
 
14602
 
 
14603
 
 
14604
 
 
14605
 
 
14606
 
 
14607
 
 
14608
 
 
14609
 
 
14610
 
 
14611
 
 
14612
 
 
14613
 
 
14614
 
 
14615
 
 
14616
 
 
14617
 
 
14618
 
 
14619
 
 
14620
 
 
14621
 
 
14622
 
 
14623
 
 
14624
 
 
14625
 
 
14626
 
 
14627
 
 
14628
 
 
14629
 
 
14630
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14631
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14632
 
 
14633
 
library_names_spec=
14634
 
libname_spec='lib$name'
14635
 
soname_spec=
14636
 
shrext_cmds=".so"
14637
 
postinstall_cmds=
14638
 
postuninstall_cmds=
14639
 
finish_cmds=
14640
 
finish_eval=
14641
 
shlibpath_var=
14642
 
shlibpath_overrides_runpath=unknown
14643
 
version_type=none
14644
 
dynamic_linker="$host_os ld.so"
14645
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14646
 
need_lib_prefix=unknown
14647
 
hardcode_into_libs=no
14648
 
 
14649
 
# when you set need_version to no, make sure it does not cause -set_version
14650
 
# flags to be left without arguments
14651
 
need_version=unknown
14652
 
 
14653
 
case $host_os in
14654
 
aix3*)
14655
 
  version_type=linux
14656
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14657
 
  shlibpath_var=LIBPATH
14658
 
 
14659
 
  # AIX 3 has no versioning support, so we append a major version to the name.
14660
 
  soname_spec='${libname}${release}${shared_ext}$major'
14661
 
  ;;
14662
 
 
14663
 
aix[4-9]*)
14664
 
  version_type=linux
14665
 
  need_lib_prefix=no
14666
 
  need_version=no
14667
 
  hardcode_into_libs=yes
14668
 
  if test "$host_cpu" = ia64; then
14669
 
    # AIX 5 supports IA64
14670
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14671
 
    shlibpath_var=LD_LIBRARY_PATH
14672
 
  else
14673
 
    # With GCC up to 2.95.x, collect2 would create an import file
14674
 
    # for dependence libraries.  The import file would start with
14675
 
    # the line `#! .'.  This would cause the generated library to
14676
 
    # depend on `.', always an invalid library.  This was fixed in
14677
 
    # development snapshots of GCC prior to 3.0.
14678
 
    case $host_os in
14679
 
      aix4 | aix4.[01] | aix4.[01].*)
14680
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14681
 
           echo ' yes '
14682
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14683
 
        :
14684
 
      else
14685
 
        can_build_shared=no
14686
 
      fi
14687
 
      ;;
14688
 
    esac
14689
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14690
 
    # soname into executable. Probably we can add versioning support to
14691
 
    # collect2, so additional links can be useful in future.
14692
 
    if test "$aix_use_runtimelinking" = yes; then
14693
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14694
 
      # instead of lib<name>.a to let people know that these are not
14695
 
      # typical AIX shared libraries.
14696
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14697
 
    else
14698
 
      # We preserve .a as extension for shared libraries through AIX4.2
14699
 
      # and later when we are not doing run time linking.
14700
 
      library_names_spec='${libname}${release}.a $libname.a'
14701
 
      soname_spec='${libname}${release}${shared_ext}$major'
14702
 
    fi
14703
 
    shlibpath_var=LIBPATH
14704
 
  fi
14705
 
  ;;
14706
 
 
14707
 
amigaos*)
14708
 
  case $host_cpu in
14709
 
  powerpc)
14710
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
14711
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14712
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14713
 
    ;;
14714
 
  m68k)
14715
 
    library_names_spec='$libname.ixlibrary $libname.a'
14716
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
14717
 
    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'
14718
 
    ;;
14719
 
  esac
14720
 
  ;;
14721
 
 
14722
 
beos*)
14723
 
  library_names_spec='${libname}${shared_ext}'
14724
 
  dynamic_linker="$host_os ld.so"
14725
 
  shlibpath_var=LIBRARY_PATH
14726
 
  ;;
14727
 
 
14728
 
bsdi[45]*)
14729
 
  version_type=linux
14730
 
  need_version=no
14731
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732
 
  soname_spec='${libname}${release}${shared_ext}$major'
14733
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14734
 
  shlibpath_var=LD_LIBRARY_PATH
14735
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14736
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14737
 
  # the default ld.so.conf also contains /usr/contrib/lib and
14738
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14739
 
  # libtool to hard-code these into programs
14740
 
  ;;
14741
 
 
14742
 
cygwin* | mingw* | pw32* | cegcc*)
14743
 
  version_type=windows
14744
 
  shrext_cmds=".dll"
14745
 
  need_version=no
14746
 
  need_lib_prefix=no
14747
 
 
14748
 
  case $GCC,$cc_basename in
14749
 
  yes,*)
14750
 
    # gcc
14751
 
    library_names_spec='$libname.dll.a'
14752
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14753
 
    postinstall_cmds='base_file=`basename \${file}`~
14754
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14755
 
      dldir=$destdir/`dirname \$dlpath`~
14756
 
      test -d \$dldir || mkdir -p \$dldir~
14757
 
      $install_prog $dir/$dlname \$dldir/$dlname~
14758
 
      chmod a+x \$dldir/$dlname~
14759
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14760
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14761
 
      fi'
14762
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14763
 
      dlpath=$dir/\$dldll~
14764
 
       $RM \$dlpath'
14765
 
    shlibpath_overrides_runpath=yes
14766
 
 
14767
 
    case $host_os in
14768
 
    cygwin*)
14769
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14770
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14771
 
 
14772
 
      ;;
14773
 
    mingw* | cegcc*)
14774
 
      # MinGW DLLs use traditional 'lib' prefix
14775
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14776
 
      ;;
14777
 
    pw32*)
14778
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
14779
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14780
 
      ;;
14781
 
    esac
14782
 
    dynamic_linker='Win32 ld.exe'
14783
 
    ;;
14784
 
 
14785
 
  *,cl*)
14786
 
    # Native MSVC
14787
 
    libname_spec='$name'
14788
 
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14789
 
    library_names_spec='${libname}.dll.lib'
14790
 
 
14791
 
    case $build_os in
14792
 
    mingw*)
14793
 
      sys_lib_search_path_spec=
14794
 
      lt_save_ifs=$IFS
14795
 
      IFS=';'
14796
 
      for lt_path in $LIB
14797
 
      do
14798
 
        IFS=$lt_save_ifs
14799
 
        # Let DOS variable expansion print the short 8.3 style file name.
14800
 
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14801
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14802
 
      done
14803
 
      IFS=$lt_save_ifs
14804
 
      # Convert to MSYS style.
14805
 
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14806
 
      ;;
14807
 
    cygwin*)
14808
 
      # Convert to unix form, then to dos form, then back to unix form
14809
 
      # but this time dos style (no spaces!) so that the unix form looks
14810
 
      # like /cygdrive/c/PROGRA~1:/cygdr...
14811
 
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14812
 
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14813
 
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14814
 
      ;;
14815
 
    *)
14816
 
      sys_lib_search_path_spec="$LIB"
14817
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14818
 
        # It is most probably a Windows format PATH.
14819
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14820
 
      else
14821
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14822
 
      fi
14823
 
      # FIXME: find the short name or the path components, as spaces are
14824
 
      # common. (e.g. "Program Files" -> "PROGRA~1")
14825
 
      ;;
14826
 
    esac
14827
 
 
14828
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14829
 
    postinstall_cmds='base_file=`basename \${file}`~
14830
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14831
 
      dldir=$destdir/`dirname \$dlpath`~
14832
 
      test -d \$dldir || mkdir -p \$dldir~
14833
 
      $install_prog $dir/$dlname \$dldir/$dlname'
14834
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14835
 
      dlpath=$dir/\$dldll~
14836
 
       $RM \$dlpath'
14837
 
    shlibpath_overrides_runpath=yes
14838
 
    dynamic_linker='Win32 link.exe'
14839
 
    ;;
14840
 
 
14841
 
  *)
14842
 
    # Assume MSVC wrapper
14843
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14844
 
    dynamic_linker='Win32 ld.exe'
14845
 
    ;;
14846
 
  esac
14847
 
  # FIXME: first we should search . and the directory the executable is in
14848
 
  shlibpath_var=PATH
14849
 
  ;;
14850
 
 
14851
 
darwin* | rhapsody*)
14852
 
  dynamic_linker="$host_os dyld"
14853
 
  version_type=darwin
14854
 
  need_lib_prefix=no
14855
 
  need_version=no
14856
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14857
 
  soname_spec='${libname}${release}${major}$shared_ext'
14858
 
  shlibpath_overrides_runpath=yes
14859
 
  shlibpath_var=DYLD_LIBRARY_PATH
14860
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14861
 
 
14862
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14863
 
  ;;
14864
 
 
14865
 
dgux*)
14866
 
  version_type=linux
14867
 
  need_lib_prefix=no
14868
 
  need_version=no
14869
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14870
 
  soname_spec='${libname}${release}${shared_ext}$major'
14871
 
  shlibpath_var=LD_LIBRARY_PATH
14872
 
  ;;
14873
 
 
14874
 
freebsd1*)
14875
 
  dynamic_linker=no
14876
 
  ;;
14877
 
 
14878
 
freebsd* | dragonfly*)
14879
 
  # DragonFly does not have aout.  When/if they implement a new
14880
 
  # versioning mechanism, adjust this.
14881
 
  if test -x /usr/bin/objformat; then
14882
 
    objformat=`/usr/bin/objformat`
14883
 
  else
14884
 
    case $host_os in
14885
 
    freebsd[123]*) objformat=aout ;;
14886
 
    *) objformat=elf ;;
14887
 
    esac
14888
 
  fi
14889
 
  version_type=freebsd-$objformat
14890
 
  case $version_type in
14891
 
    freebsd-elf*)
14892
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14893
 
      need_version=no
14894
 
      need_lib_prefix=no
14895
 
      ;;
14896
 
    freebsd-*)
14897
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14898
 
      need_version=yes
14899
 
      ;;
14900
 
  esac
14901
 
  shlibpath_var=LD_LIBRARY_PATH
14902
 
  case $host_os in
14903
 
  freebsd2*)
14904
 
    shlibpath_overrides_runpath=yes
14905
 
    ;;
14906
 
  freebsd3.[01]* | freebsdelf3.[01]*)
14907
 
    shlibpath_overrides_runpath=yes
14908
 
    hardcode_into_libs=yes
14909
 
    ;;
14910
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14911
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14912
 
    shlibpath_overrides_runpath=no
14913
 
    hardcode_into_libs=yes
14914
 
    ;;
14915
 
  *) # from 4.6 on, and DragonFly
14916
 
    shlibpath_overrides_runpath=yes
14917
 
    hardcode_into_libs=yes
14918
 
    ;;
14919
 
  esac
14920
 
  ;;
14921
 
 
14922
 
gnu*)
14923
 
  version_type=linux
14924
 
  need_lib_prefix=no
14925
 
  need_version=no
14926
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14927
 
  soname_spec='${libname}${release}${shared_ext}$major'
14928
 
  shlibpath_var=LD_LIBRARY_PATH
14929
 
  shlibpath_overrides_runpath=no
14930
 
  hardcode_into_libs=yes
14931
 
  ;;
14932
 
 
14933
 
haiku*)
14934
 
  version_type=linux
14935
 
  need_lib_prefix=no
14936
 
  need_version=no
14937
 
  dynamic_linker="$host_os runtime_loader"
14938
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14939
 
  soname_spec='${libname}${release}${shared_ext}$major'
14940
 
  shlibpath_var=LIBRARY_PATH
14941
 
  shlibpath_overrides_runpath=yes
14942
 
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14943
 
  hardcode_into_libs=yes
14944
 
  ;;
14945
 
 
14946
 
hpux9* | hpux10* | hpux11*)
14947
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
14948
 
  # link against other versions.
14949
 
  version_type=sunos
14950
 
  need_lib_prefix=no
14951
 
  need_version=no
14952
 
  case $host_cpu in
14953
 
  ia64*)
14954
 
    shrext_cmds='.so'
14955
 
    hardcode_into_libs=yes
14956
 
    dynamic_linker="$host_os dld.so"
14957
 
    shlibpath_var=LD_LIBRARY_PATH
14958
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14959
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14960
 
    soname_spec='${libname}${release}${shared_ext}$major'
14961
 
    if test "X$HPUX_IA64_MODE" = X32; then
14962
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14963
 
    else
14964
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14965
 
    fi
14966
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14967
 
    ;;
14968
 
  hppa*64*)
14969
 
    shrext_cmds='.sl'
14970
 
    hardcode_into_libs=yes
14971
 
    dynamic_linker="$host_os dld.sl"
14972
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14973
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14974
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14975
 
    soname_spec='${libname}${release}${shared_ext}$major'
14976
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14977
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14978
 
    ;;
14979
 
  *)
14980
 
    shrext_cmds='.sl'
14981
 
    dynamic_linker="$host_os dld.sl"
14982
 
    shlibpath_var=SHLIB_PATH
14983
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14984
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14985
 
    soname_spec='${libname}${release}${shared_ext}$major'
14986
 
    ;;
14987
 
  esac
14988
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14989
 
  postinstall_cmds='chmod 555 $lib'
14990
 
  # or fails outright, so override atomically:
14991
 
  install_override_mode=555
14992
 
  ;;
14993
 
 
14994
 
interix[3-9]*)
14995
 
  version_type=linux
14996
 
  need_lib_prefix=no
14997
 
  need_version=no
14998
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14999
 
  soname_spec='${libname}${release}${shared_ext}$major'
15000
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15001
 
  shlibpath_var=LD_LIBRARY_PATH
15002
 
  shlibpath_overrides_runpath=no
15003
 
  hardcode_into_libs=yes
15004
 
  ;;
15005
 
 
15006
 
irix5* | irix6* | nonstopux*)
15007
 
  case $host_os in
15008
 
    nonstopux*) version_type=nonstopux ;;
15009
 
    *)
15010
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
15011
 
                version_type=linux
15012
 
        else
15013
 
                version_type=irix
15014
 
        fi ;;
15015
 
  esac
15016
 
  need_lib_prefix=no
15017
 
  need_version=no
15018
 
  soname_spec='${libname}${release}${shared_ext}$major'
15019
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15020
 
  case $host_os in
15021
 
  irix5* | nonstopux*)
15022
 
    libsuff= shlibsuff=
15023
 
    ;;
15024
 
  *)
15025
 
    case $LD in # libtool.m4 will add one of these switches to LD
15026
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15027
 
      libsuff= shlibsuff= libmagic=32-bit;;
15028
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15029
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
15030
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15031
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15032
 
    *) libsuff= shlibsuff= libmagic=never-match;;
15033
 
    esac
15034
 
    ;;
15035
 
  esac
15036
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15037
 
  shlibpath_overrides_runpath=no
15038
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15039
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15040
 
  hardcode_into_libs=yes
15041
 
  ;;
15042
 
 
15043
 
# No shared lib support for Linux oldld, aout, or coff.
15044
 
linux*oldld* | linux*aout* | linux*coff*)
15045
 
  dynamic_linker=no
15046
 
  ;;
15047
 
 
15048
 
# This must be Linux ELF.
15049
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
15050
 
  version_type=linux
15051
 
  need_lib_prefix=no
15052
 
  need_version=no
15053
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15054
 
  soname_spec='${libname}${release}${shared_ext}$major'
15055
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15056
 
  shlibpath_var=LD_LIBRARY_PATH
15057
 
  shlibpath_overrides_runpath=no
15058
 
 
15059
 
  # Some binutils ld are patched to set DT_RUNPATH
15060
 
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15061
 
  $as_echo_n "(cached) " >&6
15062
 
else
15063
 
  lt_cv_shlibpath_overrides_runpath=no
15064
 
    save_LDFLAGS=$LDFLAGS
15065
 
    save_libdir=$libdir
15066
 
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15067
 
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15068
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15069
 
/* end confdefs.h.  */
15070
 
 
15071
 
int
15072
 
main ()
15073
 
{
15074
 
 
15075
 
  ;
15076
 
  return 0;
15077
 
}
15078
 
_ACEOF
15079
 
if ac_fn_cxx_try_link "$LINENO"; then :
15080
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15081
 
  lt_cv_shlibpath_overrides_runpath=yes
15082
 
fi
15083
 
fi
15084
 
rm -f core conftest.err conftest.$ac_objext \
15085
 
    conftest$ac_exeext conftest.$ac_ext
15086
 
    LDFLAGS=$save_LDFLAGS
15087
 
    libdir=$save_libdir
15088
 
 
15089
 
fi
15090
 
 
15091
 
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15092
 
 
15093
 
  # This implies no fast_install, which is unacceptable.
15094
 
  # Some rework will be needed to allow for fast_install
15095
 
  # before this can be enabled.
15096
 
  hardcode_into_libs=yes
15097
 
 
15098
 
  # Append ld.so.conf contents to the search path
15099
 
  if test -f /etc/ld.so.conf; then
15100
 
    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' ' '`
15101
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15102
 
  fi
15103
 
 
15104
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15105
 
  # powerpc, because MkLinux only supported shared libraries with the
15106
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
15107
 
  # most powerpc-linux boxes support dynamic linking these days and
15108
 
  # people can always --disable-shared, the test was removed, and we
15109
 
  # assume the GNU/Linux dynamic linker is in use.
15110
 
  dynamic_linker='GNU/Linux ld.so'
15111
 
  ;;
15112
 
 
15113
 
netbsdelf*-gnu)
15114
 
  version_type=linux
15115
 
  need_lib_prefix=no
15116
 
  need_version=no
15117
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15118
 
  soname_spec='${libname}${release}${shared_ext}$major'
15119
 
  shlibpath_var=LD_LIBRARY_PATH
15120
 
  shlibpath_overrides_runpath=no
15121
 
  hardcode_into_libs=yes
15122
 
  dynamic_linker='NetBSD ld.elf_so'
15123
 
  ;;
15124
 
 
15125
 
netbsd*)
15126
 
  version_type=sunos
15127
 
  need_lib_prefix=no
15128
 
  need_version=no
15129
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15130
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15131
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15132
 
    dynamic_linker='NetBSD (a.out) ld.so'
15133
 
  else
15134
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15135
 
    soname_spec='${libname}${release}${shared_ext}$major'
15136
 
    dynamic_linker='NetBSD ld.elf_so'
15137
 
  fi
15138
 
  shlibpath_var=LD_LIBRARY_PATH
15139
 
  shlibpath_overrides_runpath=yes
15140
 
  hardcode_into_libs=yes
15141
 
  ;;
15142
 
 
15143
 
newsos6)
15144
 
  version_type=linux
15145
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15146
 
  shlibpath_var=LD_LIBRARY_PATH
15147
 
  shlibpath_overrides_runpath=yes
15148
 
  ;;
15149
 
 
15150
 
*nto* | *qnx*)
15151
 
  version_type=qnx
15152
 
  need_lib_prefix=no
15153
 
  need_version=no
15154
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15155
 
  soname_spec='${libname}${release}${shared_ext}$major'
15156
 
  shlibpath_var=LD_LIBRARY_PATH
15157
 
  shlibpath_overrides_runpath=no
15158
 
  hardcode_into_libs=yes
15159
 
  dynamic_linker='ldqnx.so'
15160
 
  ;;
15161
 
 
15162
 
openbsd*)
15163
 
  version_type=sunos
15164
 
  sys_lib_dlsearch_path_spec="/usr/lib"
15165
 
  need_lib_prefix=no
15166
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15167
 
  case $host_os in
15168
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
15169
 
    *)                          need_version=no  ;;
15170
 
  esac
15171
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15172
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15173
 
  shlibpath_var=LD_LIBRARY_PATH
15174
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15175
 
    case $host_os in
15176
 
      openbsd2.[89] | openbsd2.[89].*)
15177
 
        shlibpath_overrides_runpath=no
15178
 
        ;;
15179
 
      *)
15180
 
        shlibpath_overrides_runpath=yes
15181
 
        ;;
15182
 
      esac
15183
 
  else
15184
 
    shlibpath_overrides_runpath=yes
15185
 
  fi
15186
 
  ;;
15187
 
 
15188
 
os2*)
15189
 
  libname_spec='$name'
15190
 
  shrext_cmds=".dll"
15191
 
  need_lib_prefix=no
15192
 
  library_names_spec='$libname${shared_ext} $libname.a'
15193
 
  dynamic_linker='OS/2 ld.exe'
15194
 
  shlibpath_var=LIBPATH
15195
 
  ;;
15196
 
 
15197
 
osf3* | osf4* | osf5*)
15198
 
  version_type=osf
15199
 
  need_lib_prefix=no
15200
 
  need_version=no
15201
 
  soname_spec='${libname}${release}${shared_ext}$major'
15202
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15203
 
  shlibpath_var=LD_LIBRARY_PATH
15204
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15205
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15206
 
  ;;
15207
 
 
15208
 
rdos*)
15209
 
  dynamic_linker=no
15210
 
  ;;
15211
 
 
15212
 
solaris*)
15213
 
  version_type=linux
15214
 
  need_lib_prefix=no
15215
 
  need_version=no
15216
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15217
 
  soname_spec='${libname}${release}${shared_ext}$major'
15218
 
  shlibpath_var=LD_LIBRARY_PATH
15219
 
  shlibpath_overrides_runpath=yes
15220
 
  hardcode_into_libs=yes
15221
 
  # ldd complains unless libraries are executable
15222
 
  postinstall_cmds='chmod +x $lib'
15223
 
  ;;
15224
 
 
15225
 
sunos4*)
15226
 
  version_type=sunos
15227
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15228
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15229
 
  shlibpath_var=LD_LIBRARY_PATH
15230
 
  shlibpath_overrides_runpath=yes
15231
 
  if test "$with_gnu_ld" = yes; then
15232
 
    need_lib_prefix=no
15233
 
  fi
15234
 
  need_version=yes
15235
 
  ;;
15236
 
 
15237
 
sysv4 | sysv4.3*)
15238
 
  version_type=linux
15239
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15240
 
  soname_spec='${libname}${release}${shared_ext}$major'
15241
 
  shlibpath_var=LD_LIBRARY_PATH
15242
 
  case $host_vendor in
15243
 
    sni)
15244
 
      shlibpath_overrides_runpath=no
15245
 
      need_lib_prefix=no
15246
 
      runpath_var=LD_RUN_PATH
15247
 
      ;;
15248
 
    siemens)
15249
 
      need_lib_prefix=no
15250
 
      ;;
15251
 
    motorola)
15252
 
      need_lib_prefix=no
15253
 
      need_version=no
15254
 
      shlibpath_overrides_runpath=no
15255
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15256
 
      ;;
15257
 
  esac
15258
 
  ;;
15259
 
 
15260
 
sysv4*MP*)
15261
 
  if test -d /usr/nec ;then
15262
 
    version_type=linux
15263
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15264
 
    soname_spec='$libname${shared_ext}.$major'
15265
 
    shlibpath_var=LD_LIBRARY_PATH
15266
 
  fi
15267
 
  ;;
15268
 
 
15269
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15270
 
  version_type=freebsd-elf
15271
 
  need_lib_prefix=no
15272
 
  need_version=no
15273
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15274
 
  soname_spec='${libname}${release}${shared_ext}$major'
15275
 
  shlibpath_var=LD_LIBRARY_PATH
15276
 
  shlibpath_overrides_runpath=yes
15277
 
  hardcode_into_libs=yes
15278
 
  if test "$with_gnu_ld" = yes; then
15279
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15280
 
  else
15281
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15282
 
    case $host_os in
15283
 
      sco3.2v5*)
15284
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15285
 
        ;;
15286
 
    esac
15287
 
  fi
15288
 
  sys_lib_dlsearch_path_spec='/usr/lib'
15289
 
  ;;
15290
 
 
15291
 
tpf*)
15292
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15293
 
  version_type=linux
15294
 
  need_lib_prefix=no
15295
 
  need_version=no
15296
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15297
 
  shlibpath_var=LD_LIBRARY_PATH
15298
 
  shlibpath_overrides_runpath=no
15299
 
  hardcode_into_libs=yes
15300
 
  ;;
15301
 
 
15302
 
uts4*)
15303
 
  version_type=linux
15304
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15305
 
  soname_spec='${libname}${release}${shared_ext}$major'
15306
 
  shlibpath_var=LD_LIBRARY_PATH
15307
 
  ;;
15308
 
 
15309
 
*)
15310
 
  dynamic_linker=no
15311
 
  ;;
15312
 
esac
15313
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15314
 
$as_echo "$dynamic_linker" >&6; }
15315
 
test "$dynamic_linker" = no && can_build_shared=no
15316
 
 
15317
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15318
 
if test "$GCC" = yes; then
15319
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15320
 
fi
15321
 
 
15322
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15323
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15324
 
fi
15325
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15326
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15327
 
fi
15328
 
 
15329
 
 
15330
 
 
15331
 
 
15332
 
 
15333
 
 
15334
 
 
15335
 
 
15336
 
 
15337
 
 
15338
 
 
15339
 
 
15340
 
 
15341
 
 
15342
 
 
15343
 
 
15344
 
 
15345
 
 
15346
 
 
15347
 
 
15348
 
 
15349
 
 
15350
 
 
15351
 
 
15352
 
 
15353
 
 
15354
 
 
15355
 
 
15356
 
 
15357
 
 
15358
 
 
15359
 
 
15360
 
 
15361
 
 
15362
 
 
15363
 
 
15364
 
 
15365
 
 
15366
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15367
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15368
 
hardcode_action_CXX=
15369
 
if test -n "$hardcode_libdir_flag_spec_CXX" ||
15370
 
   test -n "$runpath_var_CXX" ||
15371
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
15372
 
 
15373
 
  # We can hardcode non-existent directories.
15374
 
  if test "$hardcode_direct_CXX" != no &&
15375
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15376
 
     # have to relink, otherwise we might link with an installed library
15377
 
     # when we should be linking with a yet-to-be-installed one
15378
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15379
 
     test "$hardcode_minus_L_CXX" != no; then
15380
 
    # Linking always hardcodes the temporary library directory.
15381
 
    hardcode_action_CXX=relink
15382
 
  else
15383
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15384
 
    hardcode_action_CXX=immediate
15385
 
  fi
15386
 
else
15387
 
  # We cannot hardcode anything, or else we can only hardcode existing
15388
 
  # directories.
15389
 
  hardcode_action_CXX=unsupported
15390
 
fi
15391
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15392
 
$as_echo "$hardcode_action_CXX" >&6; }
15393
 
 
15394
 
if test "$hardcode_action_CXX" = relink ||
15395
 
   test "$inherit_rpath_CXX" = yes; then
15396
 
  # Fast installation is not supported
15397
 
  enable_fast_install=no
15398
 
elif test "$shlibpath_overrides_runpath" = yes ||
15399
 
     test "$enable_shared" = no; then
15400
 
  # Fast installation is not necessary
15401
 
  enable_fast_install=needless
15402
 
fi
15403
 
 
15404
 
 
15405
 
 
15406
 
 
15407
 
 
15408
 
 
15409
 
 
15410
 
  fi # test -n "$compiler"
15411
 
 
15412
 
  CC=$lt_save_CC
15413
 
  CFLAGS=$lt_save_CFLAGS
15414
 
  LDCXX=$LD
15415
 
  LD=$lt_save_LD
15416
 
  GCC=$lt_save_GCC
15417
 
  with_gnu_ld=$lt_save_with_gnu_ld
15418
 
  lt_cv_path_LDCXX=$lt_cv_path_LD
15419
 
  lt_cv_path_LD=$lt_save_path_LD
15420
 
  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15421
 
  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15422
 
fi # test "$_lt_caught_CXX_error" != yes
15423
 
 
15424
 
ac_ext=c
15425
 
ac_cpp='$CPP $CPPFLAGS'
15426
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15427
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15428
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15429
 
 
15430
 
 
15431
 
 
15432
 
 
15433
 
 
15434
 
 
15435
 
 
15436
 
 
15437
 
 
15438
 
 
15439
 
 
15440
 
 
15441
 
 
15442
 
        ac_config_commands="$ac_config_commands libtool"
15443
 
 
15444
 
 
15445
 
 
15446
 
 
15447
 
# Only expand once:
15448
 
 
15449
 
 
15450
 
 
15451
 
ac_ext=cpp
15452
 
ac_cpp='$CXXCPP $CPPFLAGS'
15453
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15454
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15455
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15456
 
 
15457
 
 
15458
 
ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15459
 
if test "x$ac_cv_type_size_t" = xyes; then :
15460
 
 
15461
 
else
15462
 
 
15463
 
cat >>confdefs.h <<_ACEOF
15464
 
#define size_t unsigned int
15465
 
_ACEOF
15466
 
 
15467
 
fi
15468
 
 
15469
 
 
15470
 
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15471
 
# for constant arguments.  Useless!
15472
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
15473
 
$as_echo_n "checking for working alloca.h... " >&6; }
15474
 
if ${ac_cv_working_alloca_h+:} false; then :
15475
 
  $as_echo_n "(cached) " >&6
15476
 
else
15477
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15478
 
/* end confdefs.h.  */
15479
 
#include <alloca.h>
15480
 
int
15481
 
main ()
15482
 
{
15483
 
char *p = (char *) alloca (2 * sizeof (int));
15484
 
                          if (p) return 0;
15485
 
  ;
15486
 
  return 0;
15487
 
}
15488
 
_ACEOF
15489
 
if ac_fn_cxx_try_link "$LINENO"; then :
15490
 
  ac_cv_working_alloca_h=yes
15491
 
else
15492
 
  ac_cv_working_alloca_h=no
15493
 
fi
15494
 
rm -f core conftest.err conftest.$ac_objext \
15495
 
    conftest$ac_exeext conftest.$ac_ext
15496
 
fi
15497
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
15498
 
$as_echo "$ac_cv_working_alloca_h" >&6; }
15499
 
if test $ac_cv_working_alloca_h = yes; then
15500
 
 
15501
 
$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
15502
 
 
15503
 
fi
15504
 
 
15505
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
15506
 
$as_echo_n "checking for alloca... " >&6; }
15507
 
if ${ac_cv_func_alloca_works+:} false; then :
15508
 
  $as_echo_n "(cached) " >&6
15509
 
else
15510
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15511
 
/* end confdefs.h.  */
15512
 
#ifdef __GNUC__
15513
 
# define alloca __builtin_alloca
15514
 
#else
15515
 
# ifdef _MSC_VER
15516
 
#  include <malloc.h>
15517
 
#  define alloca _alloca
15518
 
# else
15519
 
#  ifdef HAVE_ALLOCA_H
15520
 
#   include <alloca.h>
15521
 
#  else
15522
 
#   ifdef _AIX
15523
 
 #pragma alloca
15524
 
#   else
15525
 
#    ifndef alloca /* predefined by HP cc +Olibcalls */
15526
 
void *alloca (size_t);
15527
 
#    endif
15528
 
#   endif
15529
 
#  endif
15530
 
# endif
15531
 
#endif
15532
 
 
15533
 
int
15534
 
main ()
15535
 
{
15536
 
char *p = (char *) alloca (1);
15537
 
                                    if (p) return 0;
15538
 
  ;
15539
 
  return 0;
15540
 
}
15541
 
_ACEOF
15542
 
if ac_fn_cxx_try_link "$LINENO"; then :
15543
 
  ac_cv_func_alloca_works=yes
15544
 
else
15545
 
  ac_cv_func_alloca_works=no
15546
 
fi
15547
 
rm -f core conftest.err conftest.$ac_objext \
15548
 
    conftest$ac_exeext conftest.$ac_ext
15549
 
fi
15550
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
15551
 
$as_echo "$ac_cv_func_alloca_works" >&6; }
15552
 
 
15553
 
if test $ac_cv_func_alloca_works = yes; then
15554
 
 
15555
 
$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
15556
 
 
15557
 
else
15558
 
  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15559
 
# that cause trouble.  Some versions do not even contain alloca or
15560
 
# contain a buggy version.  If you still want to use their alloca,
15561
 
# use ar to extract alloca.o from them instead of compiling alloca.c.
15562
 
 
15563
 
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
15564
 
 
15565
 
$as_echo "#define C_ALLOCA 1" >>confdefs.h
15566
 
 
15567
 
 
15568
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
15569
 
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
15570
 
if ${ac_cv_os_cray+:} false; then :
15571
 
  $as_echo_n "(cached) " >&6
15572
 
else
15573
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15574
 
/* end confdefs.h.  */
15575
 
#if defined CRAY && ! defined CRAY2
15576
 
webecray
15577
 
#else
15578
 
wenotbecray
15579
 
#endif
15580
 
 
15581
 
_ACEOF
15582
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15583
 
  $EGREP "webecray" >/dev/null 2>&1; then :
15584
 
  ac_cv_os_cray=yes
15585
 
else
15586
 
  ac_cv_os_cray=no
15587
 
fi
15588
 
rm -f conftest*
15589
 
 
15590
 
fi
15591
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
15592
 
$as_echo "$ac_cv_os_cray" >&6; }
15593
 
if test $ac_cv_os_cray = yes; then
15594
 
  for ac_func in _getb67 GETB67 getb67; do
15595
 
    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15596
 
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
15597
 
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15598
 
 
15599
 
cat >>confdefs.h <<_ACEOF
15600
 
#define CRAY_STACKSEG_END $ac_func
15601
 
_ACEOF
15602
 
 
15603
 
    break
15604
 
fi
15605
 
 
15606
 
  done
15607
 
fi
15608
 
 
15609
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
15610
 
$as_echo_n "checking stack direction for C alloca... " >&6; }
15611
 
if ${ac_cv_c_stack_direction+:} false; then :
15612
 
  $as_echo_n "(cached) " >&6
15613
 
else
15614
 
  if test "$cross_compiling" = yes; then :
15615
 
  ac_cv_c_stack_direction=0
15616
 
else
15617
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15618
 
/* end confdefs.h.  */
15619
 
$ac_includes_default
15620
 
int
15621
 
find_stack_direction ()
15622
 
{
15623
 
  static char *addr = 0;
15624
 
  auto char dummy;
15625
 
  if (addr == 0)
15626
 
    {
15627
 
      addr = &dummy;
15628
 
      return find_stack_direction ();
15629
 
    }
15630
 
  else
15631
 
    return (&dummy > addr) ? 1 : -1;
15632
 
}
15633
 
 
15634
 
int
15635
 
main ()
15636
 
{
15637
 
  return find_stack_direction () < 0;
15638
 
}
15639
 
_ACEOF
15640
 
if ac_fn_cxx_try_run "$LINENO"; then :
15641
 
  ac_cv_c_stack_direction=1
15642
 
else
15643
 
  ac_cv_c_stack_direction=-1
15644
 
fi
15645
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15646
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
15647
 
fi
15648
 
 
15649
 
fi
15650
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
15651
 
$as_echo "$ac_cv_c_stack_direction" >&6; }
15652
 
cat >>confdefs.h <<_ACEOF
15653
 
#define STACK_DIRECTION $ac_cv_c_stack_direction
15654
 
_ACEOF
15655
 
 
15656
 
 
15657
 
fi
15658
 
 
15659
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15660
 
$as_echo_n "checking for ANSI C header files... " >&6; }
15661
 
if ${ac_cv_header_stdc+:} false; then :
15662
 
  $as_echo_n "(cached) " >&6
15663
 
else
15664
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15665
 
/* end confdefs.h.  */
15666
 
#include <stdlib.h>
15667
 
#include <stdarg.h>
15668
 
#include <string.h>
15669
 
#include <float.h>
15670
 
 
15671
 
int
15672
 
main ()
15673
 
{
15674
 
 
15675
 
  ;
15676
 
  return 0;
15677
 
}
15678
 
_ACEOF
15679
 
if ac_fn_cxx_try_compile "$LINENO"; then :
15680
 
  ac_cv_header_stdc=yes
15681
 
else
15682
 
  ac_cv_header_stdc=no
15683
 
fi
15684
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15685
 
 
15686
 
if test $ac_cv_header_stdc = yes; then
15687
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15688
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15689
 
/* end confdefs.h.  */
15690
 
#include <string.h>
15691
 
 
15692
 
_ACEOF
15693
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15694
 
  $EGREP "memchr" >/dev/null 2>&1; then :
15695
 
 
15696
 
else
15697
 
  ac_cv_header_stdc=no
15698
 
fi
15699
 
rm -f conftest*
15700
 
 
15701
 
fi
15702
 
 
15703
 
if test $ac_cv_header_stdc = yes; then
15704
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15705
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15706
 
/* end confdefs.h.  */
15707
 
#include <stdlib.h>
15708
 
 
15709
 
_ACEOF
15710
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15711
 
  $EGREP "free" >/dev/null 2>&1; then :
15712
 
 
15713
 
else
15714
 
  ac_cv_header_stdc=no
15715
 
fi
15716
 
rm -f conftest*
15717
 
 
15718
 
fi
15719
 
 
15720
 
if test $ac_cv_header_stdc = yes; then
15721
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15722
 
  if test "$cross_compiling" = yes; then :
15723
 
  :
15724
 
else
15725
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15726
 
/* end confdefs.h.  */
15727
 
#include <ctype.h>
15728
 
#include <stdlib.h>
15729
 
#if ((' ' & 0x0FF) == 0x020)
15730
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15731
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15732
 
#else
15733
 
# define ISLOWER(c) \
15734
 
                   (('a' <= (c) && (c) <= 'i') \
15735
 
                     || ('j' <= (c) && (c) <= 'r') \
15736
 
                     || ('s' <= (c) && (c) <= 'z'))
15737
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15738
 
#endif
15739
 
 
15740
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15741
 
int
15742
 
main ()
15743
 
{
15744
 
  int i;
15745
 
  for (i = 0; i < 256; i++)
15746
 
    if (XOR (islower (i), ISLOWER (i))
15747
 
        || toupper (i) != TOUPPER (i))
15748
 
      return 2;
15749
 
  return 0;
15750
 
}
15751
 
_ACEOF
15752
 
if ac_fn_cxx_try_run "$LINENO"; then :
15753
 
 
15754
 
else
15755
 
  ac_cv_header_stdc=no
15756
 
fi
15757
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15758
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
15759
 
fi
15760
 
 
15761
 
fi
15762
 
fi
15763
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15764
 
$as_echo "$ac_cv_header_stdc" >&6; }
15765
 
if test $ac_cv_header_stdc = yes; then
15766
 
 
15767
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
15768
 
 
15769
 
fi
15770
 
 
15771
 
for ac_header in arpa/inet.h fcntl.h libintl.h limits.h malloc.h \
15772
 
        memory.h netdb.h netinet/in.h stdlib.h string.h strings.h \
15773
 
        sys/ioctl.h sys/socket.h sys/time.h unistd.h utime.h ostream
15774
 
do :
15775
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15776
 
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15777
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15778
 
  cat >>confdefs.h <<_ACEOF
15779
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15780
 
_ACEOF
15781
 
 
15782
 
fi
15783
 
 
15784
 
done
15785
 
 
15786
 
 
15787
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
15788
 
$as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
15789
 
if ${ac_cv_header_stat_broken+:} false; then :
15790
 
  $as_echo_n "(cached) " >&6
15791
 
else
15792
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15793
 
/* end confdefs.h.  */
15794
 
#include <sys/types.h>
15795
 
#include <sys/stat.h>
15796
 
 
15797
 
#if defined S_ISBLK && defined S_IFDIR
15798
 
extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
15799
 
#endif
15800
 
 
15801
 
#if defined S_ISBLK && defined S_IFCHR
15802
 
extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
15803
 
#endif
15804
 
 
15805
 
#if defined S_ISLNK && defined S_IFREG
15806
 
extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
15807
 
#endif
15808
 
 
15809
 
#if defined S_ISSOCK && defined S_IFREG
15810
 
extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
15811
 
#endif
15812
 
 
15813
 
_ACEOF
15814
 
if ac_fn_cxx_try_compile "$LINENO"; then :
15815
 
  ac_cv_header_stat_broken=no
15816
 
else
15817
 
  ac_cv_header_stat_broken=yes
15818
 
fi
15819
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15820
 
fi
15821
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
15822
 
$as_echo "$ac_cv_header_stat_broken" >&6; }
15823
 
if test $ac_cv_header_stat_broken = yes; then
15824
 
 
15825
 
$as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
15826
 
 
15827
 
fi
15828
 
 
15829
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
15830
 
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
15831
 
if ${ac_cv_header_stdbool_h+:} false; then :
15832
 
  $as_echo_n "(cached) " >&6
15833
 
else
15834
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15835
 
/* end confdefs.h.  */
15836
 
 
15837
 
#include <stdbool.h>
15838
 
#ifndef bool
15839
 
 "error: bool is not defined"
15840
 
#endif
15841
 
#ifndef false
15842
 
 "error: false is not defined"
15843
 
#endif
15844
 
#if false
15845
 
 "error: false is not 0"
15846
 
#endif
15847
 
#ifndef true
15848
 
 "error: true is not defined"
15849
 
#endif
15850
 
#if true != 1
15851
 
 "error: true is not 1"
15852
 
#endif
15853
 
#ifndef __bool_true_false_are_defined
15854
 
 "error: __bool_true_false_are_defined is not defined"
15855
 
#endif
15856
 
 
15857
 
        struct s { _Bool s: 1; _Bool t; } s;
15858
 
 
15859
 
        char a[true == 1 ? 1 : -1];
15860
 
        char b[false == 0 ? 1 : -1];
15861
 
        char c[__bool_true_false_are_defined == 1 ? 1 : -1];
15862
 
        char d[(bool) 0.5 == true ? 1 : -1];
15863
 
        /* See body of main program for 'e'.  */
15864
 
        char f[(_Bool) 0.0 == false ? 1 : -1];
15865
 
        char g[true];
15866
 
        char h[sizeof (_Bool)];
15867
 
        char i[sizeof s.t];
15868
 
        enum { j = false, k = true, l = false * true, m = true * 256 };
15869
 
        /* The following fails for
15870
 
           HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
15871
 
        _Bool n[m];
15872
 
        char o[sizeof n == m * sizeof n[0] ? 1 : -1];
15873
 
        char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
15874
 
        /* Catch a bug in an HP-UX C compiler.  See
15875
 
           http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
15876
 
           http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
15877
 
         */
15878
 
        _Bool q = true;
15879
 
        _Bool *pq = &q;
15880
 
 
15881
 
int
15882
 
main ()
15883
 
{
15884
 
 
15885
 
        bool e = &s;
15886
 
        *pq |= q;
15887
 
        *pq |= ! q;
15888
 
        /* Refer to every declared value, to avoid compiler optimizations.  */
15889
 
        return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
15890
 
                + !m + !n + !o + !p + !q + !pq);
15891
 
 
15892
 
  ;
15893
 
  return 0;
15894
 
}
15895
 
_ACEOF
15896
 
if ac_fn_cxx_try_compile "$LINENO"; then :
15897
 
  ac_cv_header_stdbool_h=yes
15898
 
else
15899
 
  ac_cv_header_stdbool_h=no
15900
 
fi
15901
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15902
 
fi
15903
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
15904
 
$as_echo "$ac_cv_header_stdbool_h" >&6; }
15905
 
ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
15906
 
if test "x$ac_cv_type__Bool" = xyes; then :
15907
 
 
15908
 
cat >>confdefs.h <<_ACEOF
15909
 
#define HAVE__BOOL 1
15910
 
_ACEOF
15911
 
 
15912
 
 
15913
 
fi
15914
 
 
15915
 
if test $ac_cv_header_stdbool_h = yes; then
15916
 
 
15917
 
$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
15918
 
 
15919
 
fi
15920
 
 
15921
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15922
 
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
15923
 
if ${ac_cv_c_const+:} false; then :
15924
 
  $as_echo_n "(cached) " >&6
15925
 
else
15926
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15927
 
/* end confdefs.h.  */
15928
 
 
15929
 
int
15930
 
main ()
15931
 
{
15932
 
/* FIXME: Include the comments suggested by Paul. */
15933
 
#ifndef __cplusplus
15934
 
  /* Ultrix mips cc rejects this.  */
15935
 
  typedef int charset[2];
15936
 
  const charset cs;
15937
 
  /* SunOS 4.1.1 cc rejects this.  */
15938
 
  char const *const *pcpcc;
15939
 
  char **ppc;
15940
 
  /* NEC SVR4.0.2 mips cc rejects this.  */
15941
 
  struct point {int x, y;};
15942
 
  static struct point const zero = {0,0};
15943
 
  /* AIX XL C 1.02.0.0 rejects this.
15944
 
     It does not let you subtract one const X* pointer from another in
15945
 
     an arm of an if-expression whose if-part is not a constant
15946
 
     expression */
15947
 
  const char *g = "string";
15948
 
  pcpcc = &g + (g ? g-g : 0);
15949
 
  /* HPUX 7.0 cc rejects these. */
15950
 
  ++pcpcc;
15951
 
  ppc = (char**) pcpcc;
15952
 
  pcpcc = (char const *const *) ppc;
15953
 
  { /* SCO 3.2v4 cc rejects this.  */
15954
 
    char *t;
15955
 
    char const *s = 0 ? (char *) 0 : (char const *) 0;
15956
 
 
15957
 
    *t++ = 0;
15958
 
    if (s) return 0;
15959
 
  }
15960
 
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
15961
 
    int x[] = {25, 17};
15962
 
    const int *foo = &x[0];
15963
 
    ++foo;
15964
 
  }
15965
 
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15966
 
    typedef const int *iptr;
15967
 
    iptr p = 0;
15968
 
    ++p;
15969
 
  }
15970
 
  { /* AIX XL C 1.02.0.0 rejects this saying
15971
 
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15972
 
    struct s { int j; const int *ap[3]; };
15973
 
    struct s *b; b->j = 5;
15974
 
  }
15975
 
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15976
 
    const int foo = 10;
15977
 
    if (!foo) return 0;
15978
 
  }
15979
 
  return !cs[0] && !zero.x;
15980
 
#endif
15981
 
 
15982
 
  ;
15983
 
  return 0;
15984
 
}
15985
 
_ACEOF
15986
 
if ac_fn_cxx_try_compile "$LINENO"; then :
15987
 
  ac_cv_c_const=yes
15988
 
else
15989
 
  ac_cv_c_const=no
15990
 
fi
15991
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15992
 
fi
15993
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15994
 
$as_echo "$ac_cv_c_const" >&6; }
15995
 
if test $ac_cv_c_const = no; then
15996
 
 
15997
 
$as_echo "#define const /**/" >>confdefs.h
15998
 
 
15999
 
fi
16000
 
 
16001
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16002
 
$as_echo_n "checking for inline... " >&6; }
16003
 
if ${ac_cv_c_inline+:} false; then :
16004
 
  $as_echo_n "(cached) " >&6
16005
 
else
16006
 
  ac_cv_c_inline=no
16007
 
for ac_kw in inline __inline__ __inline; do
16008
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16009
 
/* end confdefs.h.  */
16010
 
#ifndef __cplusplus
16011
 
typedef int foo_t;
16012
 
static $ac_kw foo_t static_foo () {return 0; }
16013
 
$ac_kw foo_t foo () {return 0; }
16014
 
#endif
16015
 
 
16016
 
_ACEOF
16017
 
if ac_fn_cxx_try_compile "$LINENO"; then :
16018
 
  ac_cv_c_inline=$ac_kw
16019
 
fi
16020
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16021
 
  test "$ac_cv_c_inline" != no && break
16022
 
done
16023
 
 
16024
 
fi
16025
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16026
 
$as_echo "$ac_cv_c_inline" >&6; }
16027
 
 
16028
 
case $ac_cv_c_inline in
16029
 
  inline | yes) ;;
16030
 
  *)
16031
 
    case $ac_cv_c_inline in
16032
 
      no) ac_val=;;
16033
 
      *) ac_val=$ac_cv_c_inline;;
16034
 
    esac
16035
 
    cat >>confdefs.h <<_ACEOF
16036
 
#ifndef __cplusplus
16037
 
#define inline $ac_val
16038
 
#endif
16039
 
_ACEOF
16040
 
    ;;
16041
 
esac
16042
 
 
16043
 
ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16044
 
if test "x$ac_cv_type_pid_t" = xyes; then :
16045
 
 
16046
 
else
16047
 
 
16048
 
cat >>confdefs.h <<_ACEOF
16049
 
#define pid_t int
16050
 
_ACEOF
16051
 
 
16052
 
fi
16053
 
 
16054
 
ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16055
 
if test "x$ac_cv_type_size_t" = xyes; then :
16056
 
 
16057
 
else
16058
 
 
16059
 
cat >>confdefs.h <<_ACEOF
16060
 
#define size_t unsigned int
16061
 
_ACEOF
16062
 
 
16063
 
fi
16064
 
 
16065
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
16066
 
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
16067
 
if ${ac_cv_header_time+:} false; then :
16068
 
  $as_echo_n "(cached) " >&6
16069
 
else
16070
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16071
 
/* end confdefs.h.  */
16072
 
#include <sys/types.h>
16073
 
#include <sys/time.h>
16074
 
#include <time.h>
16075
 
 
16076
 
int
16077
 
main ()
16078
 
{
16079
 
if ((struct tm *) 0)
16080
 
return 0;
16081
 
  ;
16082
 
  return 0;
16083
 
}
16084
 
_ACEOF
16085
 
if ac_fn_cxx_try_compile "$LINENO"; then :
16086
 
  ac_cv_header_time=yes
16087
 
else
16088
 
  ac_cv_header_time=no
16089
 
fi
16090
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16091
 
fi
16092
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
16093
 
$as_echo "$ac_cv_header_time" >&6; }
16094
 
if test $ac_cv_header_time = yes; then
16095
 
 
16096
 
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
16097
 
 
16098
 
fi
16099
 
 
16100
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
16101
 
$as_echo_n "checking for working volatile... " >&6; }
16102
 
if ${ac_cv_c_volatile+:} false; then :
16103
 
  $as_echo_n "(cached) " >&6
16104
 
else
16105
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16106
 
/* end confdefs.h.  */
16107
 
 
16108
 
int
16109
 
main ()
16110
 
{
16111
 
 
16112
 
volatile int x;
16113
 
int * volatile y = (int *) 0;
16114
 
return !x && !y;
16115
 
  ;
16116
 
  return 0;
16117
 
}
16118
 
_ACEOF
16119
 
if ac_fn_cxx_try_compile "$LINENO"; then :
16120
 
  ac_cv_c_volatile=yes
16121
 
else
16122
 
  ac_cv_c_volatile=no
16123
 
fi
16124
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16125
 
fi
16126
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
16127
 
$as_echo "$ac_cv_c_volatile" >&6; }
16128
 
if test $ac_cv_c_volatile = no; then
16129
 
 
16130
 
$as_echo "#define volatile /**/" >>confdefs.h
16131
 
 
16132
 
fi
16133
 
 
16134
 
ac_fn_cxx_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16135
 
if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
16136
 
 
16137
 
cat >>confdefs.h <<_ACEOF
16138
 
#define HAVE_PTRDIFF_T 1
16139
 
_ACEOF
16140
 
 
16141
 
 
16142
 
fi
16143
 
 
16144
 
 
16145
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
16146
 
$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
16147
 
if ${ac_cv_type_uid_t+:} false; then :
16148
 
  $as_echo_n "(cached) " >&6
16149
 
else
16150
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16151
 
/* end confdefs.h.  */
16152
 
#include <sys/types.h>
16153
 
 
16154
 
_ACEOF
16155
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16156
 
  $EGREP "uid_t" >/dev/null 2>&1; then :
16157
 
  ac_cv_type_uid_t=yes
16158
 
else
16159
 
  ac_cv_type_uid_t=no
16160
 
fi
16161
 
rm -f conftest*
16162
 
 
16163
 
fi
16164
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
16165
 
$as_echo "$ac_cv_type_uid_t" >&6; }
16166
 
if test $ac_cv_type_uid_t = no; then
16167
 
 
16168
 
$as_echo "#define uid_t int" >>confdefs.h
16169
 
 
16170
 
 
16171
 
$as_echo "#define gid_t int" >>confdefs.h
16172
 
 
16173
 
fi
16174
 
 
16175
 
for ac_header in unistd.h
16176
 
do :
16177
 
  ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
16178
 
if test "x$ac_cv_header_unistd_h" = xyes; then :
16179
 
  cat >>confdefs.h <<_ACEOF
16180
 
#define HAVE_UNISTD_H 1
16181
 
_ACEOF
16182
 
 
16183
 
fi
16184
 
 
16185
 
done
16186
 
 
16187
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5
16188
 
$as_echo_n "checking for working chown... " >&6; }
16189
 
if ${ac_cv_func_chown_works+:} false; then :
16190
 
  $as_echo_n "(cached) " >&6
16191
 
else
16192
 
  if test "$cross_compiling" = yes; then :
16193
 
  ac_cv_func_chown_works=no
16194
 
else
16195
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16196
 
/* end confdefs.h.  */
16197
 
$ac_includes_default
16198
 
#include <fcntl.h>
16199
 
 
16200
 
int
16201
 
main ()
16202
 
{
16203
 
  char *f = "conftest.chown";
16204
 
  struct stat before, after;
16205
 
 
16206
 
  if (creat (f, 0600) < 0)
16207
 
    return 1;
16208
 
  if (stat (f, &before) < 0)
16209
 
    return 1;
16210
 
  if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
16211
 
    return 1;
16212
 
  if (stat (f, &after) < 0)
16213
 
    return 1;
16214
 
  return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid);
16215
 
 
16216
 
  ;
16217
 
  return 0;
16218
 
}
16219
 
_ACEOF
16220
 
if ac_fn_cxx_try_run "$LINENO"; then :
16221
 
  ac_cv_func_chown_works=yes
16222
 
else
16223
 
  ac_cv_func_chown_works=no
16224
 
fi
16225
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16226
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
16227
 
fi
16228
 
 
16229
 
rm -f conftest.chown
16230
 
 
16231
 
fi
16232
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chown_works" >&5
16233
 
$as_echo "$ac_cv_func_chown_works" >&6; }
16234
 
if test $ac_cv_func_chown_works = yes; then
16235
 
 
16236
 
$as_echo "#define HAVE_CHOWN 1" >>confdefs.h
16237
 
 
16238
 
fi
16239
 
 
16240
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
16241
 
$as_echo_n "checking for error_at_line... " >&6; }
16242
 
if ${ac_cv_lib_error_at_line+:} false; then :
16243
 
  $as_echo_n "(cached) " >&6
16244
 
else
16245
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16246
 
/* end confdefs.h.  */
16247
 
#include <error.h>
16248
 
int
16249
 
main ()
16250
 
{
16251
 
error_at_line (0, 0, "", 0, "an error occurred");
16252
 
  ;
16253
 
  return 0;
16254
 
}
16255
 
_ACEOF
16256
 
if ac_fn_cxx_try_link "$LINENO"; then :
16257
 
  ac_cv_lib_error_at_line=yes
16258
 
else
16259
 
  ac_cv_lib_error_at_line=no
16260
 
fi
16261
 
rm -f core conftest.err conftest.$ac_objext \
16262
 
    conftest$ac_exeext conftest.$ac_ext
16263
 
fi
16264
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5
16265
 
$as_echo "$ac_cv_lib_error_at_line" >&6; }
16266
 
if test $ac_cv_lib_error_at_line = no; then
16267
 
  case " $LIBOBJS " in
16268
 
  *" error.$ac_objext "* ) ;;
16269
 
  *) LIBOBJS="$LIBOBJS error.$ac_objext"
16270
 
 ;;
16271
 
esac
16272
 
 
16273
 
fi
16274
 
 
16275
 
for ac_header in vfork.h
16276
 
do :
16277
 
  ac_fn_cxx_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
16278
 
if test "x$ac_cv_header_vfork_h" = xyes; then :
16279
 
  cat >>confdefs.h <<_ACEOF
16280
 
#define HAVE_VFORK_H 1
16281
 
_ACEOF
16282
 
 
16283
 
fi
16284
 
 
16285
 
done
16286
 
 
16287
 
for ac_func in fork vfork
16288
 
do :
16289
 
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16290
 
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
16291
 
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16292
 
  cat >>confdefs.h <<_ACEOF
16293
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16294
 
_ACEOF
16295
 
 
16296
 
fi
16297
 
done
16298
 
 
16299
 
if test "x$ac_cv_func_fork" = xyes; then
16300
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
16301
 
$as_echo_n "checking for working fork... " >&6; }
16302
 
if ${ac_cv_func_fork_works+:} false; then :
16303
 
  $as_echo_n "(cached) " >&6
16304
 
else
16305
 
  if test "$cross_compiling" = yes; then :
16306
 
  ac_cv_func_fork_works=cross
16307
 
else
16308
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16309
 
/* end confdefs.h.  */
16310
 
$ac_includes_default
16311
 
int
16312
 
main ()
16313
 
{
16314
 
 
16315
 
          /* By Ruediger Kuhlmann. */
16316
 
          return fork () < 0;
16317
 
 
16318
 
  ;
16319
 
  return 0;
16320
 
}
16321
 
_ACEOF
16322
 
if ac_fn_cxx_try_run "$LINENO"; then :
16323
 
  ac_cv_func_fork_works=yes
16324
 
else
16325
 
  ac_cv_func_fork_works=no
16326
 
fi
16327
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16328
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
16329
 
fi
16330
 
 
16331
 
fi
16332
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
16333
 
$as_echo "$ac_cv_func_fork_works" >&6; }
16334
 
 
16335
 
else
16336
 
  ac_cv_func_fork_works=$ac_cv_func_fork
16337
 
fi
16338
 
if test "x$ac_cv_func_fork_works" = xcross; then
16339
 
  case $host in
16340
 
    *-*-amigaos* | *-*-msdosdjgpp*)
16341
 
      # Override, as these systems have only a dummy fork() stub
16342
 
      ac_cv_func_fork_works=no
16343
 
      ;;
16344
 
    *)
16345
 
      ac_cv_func_fork_works=yes
16346
 
      ;;
16347
 
  esac
16348
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
16349
 
$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
16350
 
fi
16351
 
ac_cv_func_vfork_works=$ac_cv_func_vfork
16352
 
if test "x$ac_cv_func_vfork" = xyes; then
16353
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
16354
 
$as_echo_n "checking for working vfork... " >&6; }
16355
 
if ${ac_cv_func_vfork_works+:} false; then :
16356
 
  $as_echo_n "(cached) " >&6
16357
 
else
16358
 
  if test "$cross_compiling" = yes; then :
16359
 
  ac_cv_func_vfork_works=cross
16360
 
else
16361
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16362
 
/* end confdefs.h.  */
16363
 
/* Thanks to Paul Eggert for this test.  */
16364
 
$ac_includes_default
16365
 
#include <sys/wait.h>
16366
 
#ifdef HAVE_VFORK_H
16367
 
# include <vfork.h>
16368
 
#endif
16369
 
/* On some sparc systems, changes by the child to local and incoming
16370
 
   argument registers are propagated back to the parent.  The compiler
16371
 
   is told about this with #include <vfork.h>, but some compilers
16372
 
   (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
16373
 
   static variable whose address is put into a register that is
16374
 
   clobbered by the vfork.  */
16375
 
static void
16376
 
#ifdef __cplusplus
16377
 
sparc_address_test (int arg)
16378
 
# else
16379
 
sparc_address_test (arg) int arg;
16380
 
#endif
16381
 
{
16382
 
  static pid_t child;
16383
 
  if (!child) {
16384
 
    child = vfork ();
16385
 
    if (child < 0) {
16386
 
      perror ("vfork");
16387
 
      _exit(2);
16388
 
    }
16389
 
    if (!child) {
16390
 
      arg = getpid();
16391
 
      write(-1, "", 0);
16392
 
      _exit (arg);
16393
 
    }
16394
 
  }
16395
 
}
16396
 
 
16397
 
int
16398
 
main ()
16399
 
{
16400
 
  pid_t parent = getpid ();
16401
 
  pid_t child;
16402
 
 
16403
 
  sparc_address_test (0);
16404
 
 
16405
 
  child = vfork ();
16406
 
 
16407
 
  if (child == 0) {
16408
 
    /* Here is another test for sparc vfork register problems.  This
16409
 
       test uses lots of local variables, at least as many local
16410
 
       variables as main has allocated so far including compiler
16411
 
       temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
16412
 
       4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
16413
 
       reuse the register of parent for one of the local variables,
16414
 
       since it will think that parent can't possibly be used any more
16415
 
       in this routine.  Assigning to the local variable will thus
16416
 
       munge parent in the parent process.  */
16417
 
    pid_t
16418
 
      p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
16419
 
      p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
16420
 
    /* Convince the compiler that p..p7 are live; otherwise, it might
16421
 
       use the same hardware register for all 8 local variables.  */
16422
 
    if (p != p1 || p != p2 || p != p3 || p != p4
16423
 
        || p != p5 || p != p6 || p != p7)
16424
 
      _exit(1);
16425
 
 
16426
 
    /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
16427
 
       from child file descriptors.  If the child closes a descriptor
16428
 
       before it execs or exits, this munges the parent's descriptor
16429
 
       as well.  Test for this by closing stdout in the child.  */
16430
 
    _exit(close(fileno(stdout)) != 0);
16431
 
  } else {
16432
 
    int status;
16433
 
    struct stat st;
16434
 
 
16435
 
    while (wait(&status) != child)
16436
 
      ;
16437
 
    return (
16438
 
         /* Was there some problem with vforking?  */
16439
 
         child < 0
16440
 
 
16441
 
         /* Did the child fail?  (This shouldn't happen.)  */
16442
 
         || status
16443
 
 
16444
 
         /* Did the vfork/compiler bug occur?  */
16445
 
         || parent != getpid()
16446
 
 
16447
 
         /* Did the file descriptor bug occur?  */
16448
 
         || fstat(fileno(stdout), &st) != 0
16449
 
         );
16450
 
  }
16451
 
}
16452
 
_ACEOF
16453
 
if ac_fn_cxx_try_run "$LINENO"; then :
16454
 
  ac_cv_func_vfork_works=yes
16455
 
else
16456
 
  ac_cv_func_vfork_works=no
16457
 
fi
16458
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16459
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
16460
 
fi
16461
 
 
16462
 
fi
16463
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
16464
 
$as_echo "$ac_cv_func_vfork_works" >&6; }
16465
 
 
16466
 
fi;
16467
 
if test "x$ac_cv_func_fork_works" = xcross; then
16468
 
  ac_cv_func_vfork_works=$ac_cv_func_vfork
16469
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
16470
 
$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
16471
 
fi
16472
 
 
16473
 
if test "x$ac_cv_func_vfork_works" = xyes; then
16474
 
 
16475
 
$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
16476
 
 
16477
 
else
16478
 
 
16479
 
$as_echo "#define vfork fork" >>confdefs.h
16480
 
 
16481
 
fi
16482
 
if test "x$ac_cv_func_fork_works" = xyes; then
16483
 
 
16484
 
$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
16485
 
 
16486
 
fi
16487
 
 
16488
 
if test $ac_cv_c_compiler_gnu = yes; then
16489
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
16490
 
$as_echo_n "checking whether $CC needs -traditional... " >&6; }
16491
 
if ${ac_cv_prog_gcc_traditional+:} false; then :
16492
 
  $as_echo_n "(cached) " >&6
16493
 
else
16494
 
    ac_pattern="Autoconf.*'x'"
16495
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16496
 
/* end confdefs.h.  */
16497
 
#include <sgtty.h>
16498
 
Autoconf TIOCGETP
16499
 
_ACEOF
16500
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16501
 
  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
16502
 
  ac_cv_prog_gcc_traditional=yes
16503
 
else
16504
 
  ac_cv_prog_gcc_traditional=no
16505
 
fi
16506
 
rm -f conftest*
16507
 
 
16508
 
 
16509
 
  if test $ac_cv_prog_gcc_traditional = no; then
16510
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16511
 
/* end confdefs.h.  */
16512
 
#include <termio.h>
16513
 
Autoconf TCGETA
16514
 
_ACEOF
16515
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16516
 
  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
16517
 
  ac_cv_prog_gcc_traditional=yes
16518
 
fi
16519
 
rm -f conftest*
16520
 
 
16521
 
  fi
16522
 
fi
16523
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
16524
 
$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
16525
 
  if test $ac_cv_prog_gcc_traditional = yes; then
16526
 
    CC="$CC -traditional"
16527
 
  fi
16528
 
fi
16529
 
 
16530
 
for ac_header in stdlib.h
16531
 
do :
16532
 
  ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
16533
 
if test "x$ac_cv_header_stdlib_h" = xyes; then :
16534
 
  cat >>confdefs.h <<_ACEOF
16535
 
#define HAVE_STDLIB_H 1
16536
 
_ACEOF
16537
 
 
16538
 
fi
16539
 
 
16540
 
done
16541
 
 
16542
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
16543
 
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
16544
 
if ${ac_cv_func_malloc_0_nonnull+:} false; then :
16545
 
  $as_echo_n "(cached) " >&6
16546
 
else
16547
 
  if test "$cross_compiling" = yes; then :
16548
 
  ac_cv_func_malloc_0_nonnull=no
16549
 
else
16550
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16551
 
/* end confdefs.h.  */
16552
 
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
16553
 
# include <stdlib.h>
16554
 
#else
16555
 
char *malloc ();
16556
 
#endif
16557
 
 
16558
 
int
16559
 
main ()
16560
 
{
16561
 
return ! malloc (0);
16562
 
  ;
16563
 
  return 0;
16564
 
}
16565
 
_ACEOF
16566
 
if ac_fn_cxx_try_run "$LINENO"; then :
16567
 
  ac_cv_func_malloc_0_nonnull=yes
16568
 
else
16569
 
  ac_cv_func_malloc_0_nonnull=no
16570
 
fi
16571
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16572
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
16573
 
fi
16574
 
 
16575
 
fi
16576
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
16577
 
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
16578
 
if test $ac_cv_func_malloc_0_nonnull = yes; then :
16579
 
 
16580
 
$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
16581
 
 
16582
 
else
16583
 
  $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
16584
 
 
16585
 
   case " $LIBOBJS " in
16586
 
  *" malloc.$ac_objext "* ) ;;
16587
 
  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
16588
 
 ;;
16589
 
esac
16590
 
 
16591
 
 
16592
 
$as_echo "#define malloc rpl_malloc" >>confdefs.h
16593
 
 
16594
 
fi
16595
 
 
16596
 
 
16597
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
16598
 
$as_echo_n "checking for working memcmp... " >&6; }
16599
 
if ${ac_cv_func_memcmp_working+:} false; then :
16600
 
  $as_echo_n "(cached) " >&6
16601
 
else
16602
 
  if test "$cross_compiling" = yes; then :
16603
 
  ac_cv_func_memcmp_working=no
16604
 
else
16605
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16606
 
/* end confdefs.h.  */
16607
 
$ac_includes_default
16608
 
int
16609
 
main ()
16610
 
{
16611
 
 
16612
 
  /* Some versions of memcmp are not 8-bit clean.  */
16613
 
  char c0 = '\100', c1 = '\200', c2 = '\201';
16614
 
  if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
16615
 
    return 1;
16616
 
 
16617
 
  /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
16618
 
     or more and with at least one buffer not starting on a 4-byte boundary.
16619
 
     William Lewis provided this test program.   */
16620
 
  {
16621
 
    char foo[21];
16622
 
    char bar[21];
16623
 
    int i;
16624
 
    for (i = 0; i < 4; i++)
16625
 
      {
16626
 
        char *a = foo + i;
16627
 
        char *b = bar + i;
16628
 
        strcpy (a, "--------01111111");
16629
 
        strcpy (b, "--------10000000");
16630
 
        if (memcmp (a, b, 16) >= 0)
16631
 
          return 1;
16632
 
      }
16633
 
    return 0;
16634
 
  }
16635
 
 
16636
 
  ;
16637
 
  return 0;
16638
 
}
16639
 
_ACEOF
16640
 
if ac_fn_cxx_try_run "$LINENO"; then :
16641
 
  ac_cv_func_memcmp_working=yes
16642
 
else
16643
 
  ac_cv_func_memcmp_working=no
16644
 
fi
16645
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16646
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
16647
 
fi
16648
 
 
16649
 
fi
16650
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
16651
 
$as_echo "$ac_cv_func_memcmp_working" >&6; }
16652
 
test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
16653
 
  *" memcmp.$ac_objext "* ) ;;
16654
 
  *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
16655
 
 ;;
16656
 
esac
16657
 
 
16658
 
 
16659
 
for ac_header in stdlib.h
16660
 
do :
16661
 
  ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
16662
 
if test "x$ac_cv_header_stdlib_h" = xyes; then :
16663
 
  cat >>confdefs.h <<_ACEOF
16664
 
#define HAVE_STDLIB_H 1
16665
 
_ACEOF
16666
 
 
16667
 
fi
16668
 
 
16669
 
done
16670
 
 
16671
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
16672
 
$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
16673
 
if ${ac_cv_func_realloc_0_nonnull+:} false; then :
16674
 
  $as_echo_n "(cached) " >&6
16675
 
else
16676
 
  if test "$cross_compiling" = yes; then :
16677
 
  ac_cv_func_realloc_0_nonnull=no
16678
 
else
16679
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16680
 
/* end confdefs.h.  */
16681
 
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
16682
 
# include <stdlib.h>
16683
 
#else
16684
 
char *realloc ();
16685
 
#endif
16686
 
 
16687
 
int
16688
 
main ()
16689
 
{
16690
 
return ! realloc (0, 0);
16691
 
  ;
16692
 
  return 0;
16693
 
}
16694
 
_ACEOF
16695
 
if ac_fn_cxx_try_run "$LINENO"; then :
16696
 
  ac_cv_func_realloc_0_nonnull=yes
16697
 
else
16698
 
  ac_cv_func_realloc_0_nonnull=no
16699
 
fi
16700
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16701
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
16702
 
fi
16703
 
 
16704
 
fi
16705
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
16706
 
$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
16707
 
if test $ac_cv_func_realloc_0_nonnull = yes; then :
16708
 
 
16709
 
$as_echo "#define HAVE_REALLOC 1" >>confdefs.h
16710
 
 
16711
 
else
16712
 
  $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
16713
 
 
16714
 
   case " $LIBOBJS " in
16715
 
  *" realloc.$ac_objext "* ) ;;
16716
 
  *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
16717
 
 ;;
16718
 
esac
16719
 
 
16720
 
 
16721
 
$as_echo "#define realloc rpl_realloc" >>confdefs.h
16722
 
 
16723
 
fi
16724
 
 
16725
 
 
16726
 
for ac_header in sys/select.h sys/socket.h
16727
 
do :
16728
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16729
 
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16730
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16731
 
  cat >>confdefs.h <<_ACEOF
16732
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16733
 
_ACEOF
16734
 
 
16735
 
fi
16736
 
 
16737
 
done
16738
 
 
16739
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
16740
 
$as_echo_n "checking types of arguments for select... " >&6; }
16741
 
if ${ac_cv_func_select_args+:} false; then :
16742
 
  $as_echo_n "(cached) " >&6
16743
 
else
16744
 
  for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
16745
 
 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
16746
 
  for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
16747
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16748
 
/* end confdefs.h.  */
16749
 
$ac_includes_default
16750
 
#ifdef HAVE_SYS_SELECT_H
16751
 
# include <sys/select.h>
16752
 
#endif
16753
 
#ifdef HAVE_SYS_SOCKET_H
16754
 
# include <sys/socket.h>
16755
 
#endif
16756
 
 
16757
 
int
16758
 
main ()
16759
 
{
16760
 
extern int select ($ac_arg1,
16761
 
                                            $ac_arg234, $ac_arg234, $ac_arg234,
16762
 
                                            $ac_arg5);
16763
 
  ;
16764
 
  return 0;
16765
 
}
16766
 
_ACEOF
16767
 
if ac_fn_cxx_try_compile "$LINENO"; then :
16768
 
  ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
16769
 
fi
16770
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16771
 
  done
16772
 
 done
16773
 
done
16774
 
# Provide a safe default value.
16775
 
: "${ac_cv_func_select_args=int,int *,struct timeval *}"
16776
 
 
16777
 
fi
16778
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
16779
 
$as_echo "$ac_cv_func_select_args" >&6; }
16780
 
ac_save_IFS=$IFS; IFS=','
16781
 
set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
16782
 
IFS=$ac_save_IFS
16783
 
shift
16784
 
 
16785
 
cat >>confdefs.h <<_ACEOF
16786
 
#define SELECT_TYPE_ARG1 $1
16787
 
_ACEOF
16788
 
 
16789
 
 
16790
 
cat >>confdefs.h <<_ACEOF
16791
 
#define SELECT_TYPE_ARG234 ($2)
16792
 
_ACEOF
16793
 
 
16794
 
 
16795
 
cat >>confdefs.h <<_ACEOF
16796
 
#define SELECT_TYPE_ARG5 ($3)
16797
 
_ACEOF
16798
 
 
16799
 
rm -f conftest*
16800
 
 
16801
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
16802
 
$as_echo_n "checking return type of signal handlers... " >&6; }
16803
 
if ${ac_cv_type_signal+:} false; then :
16804
 
  $as_echo_n "(cached) " >&6
16805
 
else
16806
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16807
 
/* end confdefs.h.  */
16808
 
#include <sys/types.h>
16809
 
#include <signal.h>
16810
 
 
16811
 
int
16812
 
main ()
16813
 
{
16814
 
return *(signal (0, 0)) (0) == 1;
16815
 
  ;
16816
 
  return 0;
16817
 
}
16818
 
_ACEOF
16819
 
if ac_fn_cxx_try_compile "$LINENO"; then :
16820
 
  ac_cv_type_signal=int
16821
 
else
16822
 
  ac_cv_type_signal=void
16823
 
fi
16824
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16825
 
fi
16826
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
16827
 
$as_echo "$ac_cv_type_signal" >&6; }
16828
 
 
16829
 
cat >>confdefs.h <<_ACEOF
16830
 
#define RETSIGTYPE $ac_cv_type_signal
16831
 
_ACEOF
16832
 
 
16833
 
 
16834
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
16835
 
$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
16836
 
if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
16837
 
  $as_echo_n "(cached) " >&6
16838
 
else
16839
 
  rm -f conftest.sym conftest.file
16840
 
echo >conftest.file
16841
 
if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
16842
 
  if test "$cross_compiling" = yes; then :
16843
 
  ac_cv_func_lstat_dereferences_slashed_symlink=no
16844
 
else
16845
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16846
 
/* end confdefs.h.  */
16847
 
$ac_includes_default
16848
 
int
16849
 
main ()
16850
 
{
16851
 
struct stat sbuf;
16852
 
     /* Linux will dereference the symlink and fail, as required by POSIX.
16853
 
        That is better in the sense that it means we will not
16854
 
        have to compile and use the lstat wrapper.  */
16855
 
     return lstat ("conftest.sym/", &sbuf) == 0;
16856
 
  ;
16857
 
  return 0;
16858
 
}
16859
 
_ACEOF
16860
 
if ac_fn_cxx_try_run "$LINENO"; then :
16861
 
  ac_cv_func_lstat_dereferences_slashed_symlink=yes
16862
 
else
16863
 
  ac_cv_func_lstat_dereferences_slashed_symlink=no
16864
 
fi
16865
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16866
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
16867
 
fi
16868
 
 
16869
 
else
16870
 
  # If the `ln -s' command failed, then we probably don't even
16871
 
  # have an lstat function.
16872
 
  ac_cv_func_lstat_dereferences_slashed_symlink=no
16873
 
fi
16874
 
rm -f conftest.sym conftest.file
16875
 
 
16876
 
fi
16877
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
16878
 
$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
16879
 
 
16880
 
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
16881
 
 
16882
 
cat >>confdefs.h <<_ACEOF
16883
 
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
16884
 
_ACEOF
16885
 
 
16886
 
 
16887
 
if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
16888
 
  case " $LIBOBJS " in
16889
 
  *" lstat.$ac_objext "* ) ;;
16890
 
  *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
16891
 
 ;;
16892
 
esac
16893
 
 
16894
 
fi
16895
 
 
16896
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
16897
 
$as_echo_n "checking whether stat accepts an empty string... " >&6; }
16898
 
if ${ac_cv_func_stat_empty_string_bug+:} false; then :
16899
 
  $as_echo_n "(cached) " >&6
16900
 
else
16901
 
  if test "$cross_compiling" = yes; then :
16902
 
  ac_cv_func_stat_empty_string_bug=yes
16903
 
else
16904
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16905
 
/* end confdefs.h.  */
16906
 
$ac_includes_default
16907
 
int
16908
 
main ()
16909
 
{
16910
 
struct stat sbuf;
16911
 
  return stat ("", &sbuf) == 0;
16912
 
  ;
16913
 
  return 0;
16914
 
}
16915
 
_ACEOF
16916
 
if ac_fn_cxx_try_run "$LINENO"; then :
16917
 
  ac_cv_func_stat_empty_string_bug=no
16918
 
else
16919
 
  ac_cv_func_stat_empty_string_bug=yes
16920
 
fi
16921
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16922
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
16923
 
fi
16924
 
 
16925
 
fi
16926
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
16927
 
$as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
16928
 
if test $ac_cv_func_stat_empty_string_bug = yes; then
16929
 
  case " $LIBOBJS " in
16930
 
  *" stat.$ac_objext "* ) ;;
16931
 
  *) LIBOBJS="$LIBOBJS stat.$ac_objext"
16932
 
 ;;
16933
 
esac
16934
 
 
16935
 
 
16936
 
cat >>confdefs.h <<_ACEOF
16937
 
#define HAVE_STAT_EMPTY_STRING_BUG 1
16938
 
_ACEOF
16939
 
 
16940
 
fi
16941
 
 
16942
 
 
16943
 
 
16944
 
 
16945
 
  for ac_header in $ac_header_list
16946
 
do :
16947
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16948
 
ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16949
 
"
16950
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16951
 
  cat >>confdefs.h <<_ACEOF
16952
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16953
 
_ACEOF
16954
 
 
16955
 
fi
16956
 
 
16957
 
done
16958
 
 
16959
 
 
16960
 
 
16961
 
 
16962
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether utime accepts a null argument" >&5
16963
 
$as_echo_n "checking whether utime accepts a null argument... " >&6; }
16964
 
if ${ac_cv_func_utime_null+:} false; then :
16965
 
  $as_echo_n "(cached) " >&6
16966
 
else
16967
 
  rm -f conftest.data; >conftest.data
16968
 
# Sequent interprets utime(file, 0) to mean use start of epoch.  Wrong.
16969
 
if test "$cross_compiling" = yes; then :
16970
 
  ac_cv_func_utime_null='guessing yes'
16971
 
else
16972
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16973
 
/* end confdefs.h.  */
16974
 
$ac_includes_default
16975
 
               #ifdef HAVE_UTIME_H
16976
 
               # include <utime.h>
16977
 
               #endif
16978
 
int
16979
 
main ()
16980
 
{
16981
 
struct stat s, t;
16982
 
  return ! (stat ("conftest.data", &s) == 0
16983
 
            && utime ("conftest.data", 0) == 0
16984
 
            && stat ("conftest.data", &t) == 0
16985
 
            && t.st_mtime >= s.st_mtime
16986
 
            && t.st_mtime - s.st_mtime < 120);
16987
 
  ;
16988
 
  return 0;
16989
 
}
16990
 
_ACEOF
16991
 
if ac_fn_cxx_try_run "$LINENO"; then :
16992
 
  ac_cv_func_utime_null=yes
16993
 
else
16994
 
  ac_cv_func_utime_null=no
16995
 
fi
16996
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16997
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
16998
 
fi
16999
 
 
17000
 
fi
17001
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_utime_null" >&5
17002
 
$as_echo "$ac_cv_func_utime_null" >&6; }
17003
 
if test "x$ac_cv_func_utime_null" != xno; then
17004
 
  ac_cv_func_utime_null=yes
17005
 
 
17006
 
$as_echo "#define HAVE_UTIME_NULL 1" >>confdefs.h
17007
 
 
17008
 
fi
17009
 
rm -f conftest.data
17010
 
 
17011
 
for ac_func in vprintf
17012
 
do :
17013
 
  ac_fn_cxx_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
17014
 
if test "x$ac_cv_func_vprintf" = xyes; then :
17015
 
  cat >>confdefs.h <<_ACEOF
17016
 
#define HAVE_VPRINTF 1
17017
 
_ACEOF
17018
 
 
17019
 
ac_fn_cxx_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
17020
 
if test "x$ac_cv_func__doprnt" = xyes; then :
17021
 
 
17022
 
$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
17023
 
 
17024
 
fi
17025
 
 
17026
 
fi
17027
 
done
17028
 
 
17029
 
 
17030
 
for ac_func in bzero floor gethostbyname gethrtime gettimeofday \
17031
 
                inet_ntoa memset mkdir pathconf pow regcomp select setlocale socket \
17032
 
                strchr strdup strerror strrchr strstr strtol utime
17033
 
do :
17034
 
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17035
 
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
17036
 
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17037
 
  cat >>confdefs.h <<_ACEOF
17038
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17039
 
_ACEOF
17040
 
 
17041
 
fi
17042
 
done
17043
 
 
17044
 
 
17045
 
 
17046
 
 
17047
 
 
17048
 
 
17049
 
 
17050
 
 
17051
 
 
17052
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17053
 
        if test -n "$ac_tool_prefix"; then
17054
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17055
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17056
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17057
 
$as_echo_n "checking for $ac_word... " >&6; }
17058
 
if ${ac_cv_path_PKG_CONFIG+:} false; then :
17059
 
  $as_echo_n "(cached) " >&6
17060
 
else
17061
 
  case $PKG_CONFIG in
17062
 
  [\\/]* | ?:[\\/]*)
17063
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17064
 
  ;;
17065
 
  *)
17066
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17067
 
for as_dir in $PATH
17068
 
do
17069
 
  IFS=$as_save_IFS
17070
 
  test -z "$as_dir" && as_dir=.
17071
 
    for ac_exec_ext in '' $ac_executable_extensions; do
17072
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17073
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17074
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17075
 
    break 2
17076
 
  fi
17077
 
done
17078
 
  done
17079
 
IFS=$as_save_IFS
17080
 
 
17081
 
  ;;
17082
 
esac
17083
 
fi
17084
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17085
 
if test -n "$PKG_CONFIG"; then
17086
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17087
 
$as_echo "$PKG_CONFIG" >&6; }
17088
 
else
17089
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17090
 
$as_echo "no" >&6; }
17091
 
fi
17092
 
 
17093
 
 
17094
 
fi
17095
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
17096
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
17097
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
17098
 
set dummy pkg-config; ac_word=$2
17099
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17100
 
$as_echo_n "checking for $ac_word... " >&6; }
17101
 
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17102
 
  $as_echo_n "(cached) " >&6
17103
 
else
17104
 
  case $ac_pt_PKG_CONFIG in
17105
 
  [\\/]* | ?:[\\/]*)
17106
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17107
 
  ;;
17108
 
  *)
17109
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17110
 
for as_dir in $PATH
17111
 
do
17112
 
  IFS=$as_save_IFS
17113
 
  test -z "$as_dir" && as_dir=.
17114
 
    for ac_exec_ext in '' $ac_executable_extensions; do
17115
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17116
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17117
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17118
 
    break 2
17119
 
  fi
17120
 
done
17121
 
  done
17122
 
IFS=$as_save_IFS
17123
 
 
17124
 
  ;;
17125
 
esac
17126
 
fi
17127
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17128
 
if test -n "$ac_pt_PKG_CONFIG"; then
17129
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17130
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
17131
 
else
17132
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17133
 
$as_echo "no" >&6; }
17134
 
fi
17135
 
 
17136
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
17137
 
    PKG_CONFIG=""
17138
 
  else
17139
 
    case $cross_compiling:$ac_tool_warned in
17140
 
yes:)
17141
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17142
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17143
 
ac_tool_warned=yes ;;
17144
 
esac
17145
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
17146
 
  fi
17147
 
else
17148
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17149
 
fi
17150
 
 
17151
 
fi
17152
 
if test -n "$PKG_CONFIG"; then
17153
 
        _pkg_min_version=0.9.0
17154
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17155
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17156
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17157
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17158
 
$as_echo "yes" >&6; }
17159
 
        else
17160
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17161
 
$as_echo "no" >&6; }
17162
 
                PKG_CONFIG=""
17163
 
        fi
17164
 
fi
17165
 
 
17166
 
 
17167
 
UUID_MIN_VERSION=1.0
17168
 
 
17169
 
pkg_failed=no
17170
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UUID" >&5
17171
 
$as_echo_n "checking for UUID... " >&6; }
17172
 
 
17173
 
if test -n "$UUID_CFLAGS"; then
17174
 
    pkg_cv_UUID_CFLAGS="$UUID_CFLAGS"
17175
 
 elif test -n "$PKG_CONFIG"; then
17176
 
    if test -n "$PKG_CONFIG" && \
17177
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= \${UUID_MIN_VERSION}\""; } >&5
17178
 
  ($PKG_CONFIG --exists --print-errors "uuid >= ${UUID_MIN_VERSION}") 2>&5
17179
 
  ac_status=$?
17180
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17181
 
  test $ac_status = 0; }; then
17182
 
  pkg_cv_UUID_CFLAGS=`$PKG_CONFIG --cflags "uuid >= ${UUID_MIN_VERSION}" 2>/dev/null`
17183
 
                      test "x$?" != "x0" && pkg_failed=yes
17184
 
else
17185
 
  pkg_failed=yes
17186
 
fi
17187
 
 else
17188
 
    pkg_failed=untried
17189
 
fi
17190
 
if test -n "$UUID_LIBS"; then
17191
 
    pkg_cv_UUID_LIBS="$UUID_LIBS"
17192
 
 elif test -n "$PKG_CONFIG"; then
17193
 
    if test -n "$PKG_CONFIG" && \
17194
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= \${UUID_MIN_VERSION}\""; } >&5
17195
 
  ($PKG_CONFIG --exists --print-errors "uuid >= ${UUID_MIN_VERSION}") 2>&5
17196
 
  ac_status=$?
17197
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17198
 
  test $ac_status = 0; }; then
17199
 
  pkg_cv_UUID_LIBS=`$PKG_CONFIG --libs "uuid >= ${UUID_MIN_VERSION}" 2>/dev/null`
17200
 
                      test "x$?" != "x0" && pkg_failed=yes
17201
 
else
17202
 
  pkg_failed=yes
17203
 
fi
17204
 
 else
17205
 
    pkg_failed=untried
17206
 
fi
17207
 
 
17208
 
 
17209
 
 
17210
 
if test $pkg_failed = yes; then
17211
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17212
 
$as_echo "no" >&6; }
17213
 
 
17214
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17215
 
        _pkg_short_errors_supported=yes
17216
 
else
17217
 
        _pkg_short_errors_supported=no
17218
 
fi
17219
 
        if test $_pkg_short_errors_supported = yes; then
17220
 
                UUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid >= ${UUID_MIN_VERSION}" 2>&1`
17221
 
        else
17222
 
                UUID_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "uuid >= ${UUID_MIN_VERSION}" 2>&1`
17223
 
        fi
17224
 
        # Put the nasty error message in config.log where it belongs
17225
 
        echo "$UUID_PKG_ERRORS" >&5
17226
 
 
17227
 
        HAVE_UUID=false
17228
 
elif test $pkg_failed = untried; then
17229
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17230
 
$as_echo "no" >&6; }
17231
 
        HAVE_UUID=false
17232
 
else
17233
 
        UUID_CFLAGS=$pkg_cv_UUID_CFLAGS
17234
 
        UUID_LIBS=$pkg_cv_UUID_LIBS
17235
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17236
 
$as_echo "yes" >&6; }
17237
 
        HAVE_UUID=true
17238
 
fi;
17239
 
 
17240
 
LIBCRYPTO_MIN_VERSION=1.0
17241
 
 
17242
 
pkg_failed=no
17243
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCRYPTO" >&5
17244
 
$as_echo_n "checking for LIBCRYPTO... " >&6; }
17245
 
 
17246
 
if test -n "$LIBCRYPTO_CFLAGS"; then
17247
 
    pkg_cv_LIBCRYPTO_CFLAGS="$LIBCRYPTO_CFLAGS"
17248
 
 elif test -n "$PKG_CONFIG"; then
17249
 
    if test -n "$PKG_CONFIG" && \
17250
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= \${LIBCRYPTO_MIN_VERSION}\""; } >&5
17251
 
  ($PKG_CONFIG --exists --print-errors "libcrypto >= ${LIBCRYPTO_MIN_VERSION}") 2>&5
17252
 
  ac_status=$?
17253
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17254
 
  test $ac_status = 0; }; then
17255
 
  pkg_cv_LIBCRYPTO_CFLAGS=`$PKG_CONFIG --cflags "libcrypto >= ${LIBCRYPTO_MIN_VERSION}" 2>/dev/null`
17256
 
                      test "x$?" != "x0" && pkg_failed=yes
17257
 
else
17258
 
  pkg_failed=yes
17259
 
fi
17260
 
 else
17261
 
    pkg_failed=untried
17262
 
fi
17263
 
if test -n "$LIBCRYPTO_LIBS"; then
17264
 
    pkg_cv_LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS"
17265
 
 elif test -n "$PKG_CONFIG"; then
17266
 
    if test -n "$PKG_CONFIG" && \
17267
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= \${LIBCRYPTO_MIN_VERSION}\""; } >&5
17268
 
  ($PKG_CONFIG --exists --print-errors "libcrypto >= ${LIBCRYPTO_MIN_VERSION}") 2>&5
17269
 
  ac_status=$?
17270
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17271
 
  test $ac_status = 0; }; then
17272
 
  pkg_cv_LIBCRYPTO_LIBS=`$PKG_CONFIG --libs "libcrypto >= ${LIBCRYPTO_MIN_VERSION}" 2>/dev/null`
17273
 
                      test "x$?" != "x0" && pkg_failed=yes
17274
 
else
17275
 
  pkg_failed=yes
17276
 
fi
17277
 
 else
17278
 
    pkg_failed=untried
17279
 
fi
17280
 
 
17281
 
 
17282
 
 
17283
 
if test $pkg_failed = yes; then
17284
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17285
 
$as_echo "no" >&6; }
17286
 
 
17287
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17288
 
        _pkg_short_errors_supported=yes
17289
 
else
17290
 
        _pkg_short_errors_supported=no
17291
 
fi
17292
 
        if test $_pkg_short_errors_supported = yes; then
17293
 
                LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto >= ${LIBCRYPTO_MIN_VERSION}" 2>&1`
17294
 
        else
17295
 
                LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcrypto >= ${LIBCRYPTO_MIN_VERSION}" 2>&1`
17296
 
        fi
17297
 
        # Put the nasty error message in config.log where it belongs
17298
 
        echo "$LIBCRYPTO_PKG_ERRORS" >&5
17299
 
 
17300
 
        HAVE_LIBCRYPTO=false
17301
 
elif test $pkg_failed = untried; then
17302
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17303
 
$as_echo "no" >&6; }
17304
 
        HAVE_LIBCRYPTO=false
17305
 
else
17306
 
        LIBCRYPTO_CFLAGS=$pkg_cv_LIBCRYPTO_CFLAGS
17307
 
        LIBCRYPTO_LIBS=$pkg_cv_LIBCRYPTO_LIBS
17308
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17309
 
$as_echo "yes" >&6; }
17310
 
        HAVE_LIBCRYPTO=true
17311
 
fi;
17312
 
 
17313
 
ALSA_MIN_VERSION=1.0
17314
 
 
17315
 
pkg_failed=no
17316
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
17317
 
$as_echo_n "checking for ALSA... " >&6; }
17318
 
 
17319
 
if test -n "$ALSA_CFLAGS"; then
17320
 
    pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
17321
 
 elif test -n "$PKG_CONFIG"; then
17322
 
    if test -n "$PKG_CONFIG" && \
17323
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= \${ALSA_MIN_VERSION}\""; } >&5
17324
 
  ($PKG_CONFIG --exists --print-errors "alsa >= ${ALSA_MIN_VERSION}") 2>&5
17325
 
  ac_status=$?
17326
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17327
 
  test $ac_status = 0; }; then
17328
 
  pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa >= ${ALSA_MIN_VERSION}" 2>/dev/null`
17329
 
                      test "x$?" != "x0" && pkg_failed=yes
17330
 
else
17331
 
  pkg_failed=yes
17332
 
fi
17333
 
 else
17334
 
    pkg_failed=untried
17335
 
fi
17336
 
if test -n "$ALSA_LIBS"; then
17337
 
    pkg_cv_ALSA_LIBS="$ALSA_LIBS"
17338
 
 elif test -n "$PKG_CONFIG"; then
17339
 
    if test -n "$PKG_CONFIG" && \
17340
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= \${ALSA_MIN_VERSION}\""; } >&5
17341
 
  ($PKG_CONFIG --exists --print-errors "alsa >= ${ALSA_MIN_VERSION}") 2>&5
17342
 
  ac_status=$?
17343
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17344
 
  test $ac_status = 0; }; then
17345
 
  pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa >= ${ALSA_MIN_VERSION}" 2>/dev/null`
17346
 
                      test "x$?" != "x0" && pkg_failed=yes
17347
 
else
17348
 
  pkg_failed=yes
17349
 
fi
17350
 
 else
17351
 
    pkg_failed=untried
17352
 
fi
17353
 
 
17354
 
 
17355
 
 
17356
 
if test $pkg_failed = yes; then
17357
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17358
 
$as_echo "no" >&6; }
17359
 
 
17360
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17361
 
        _pkg_short_errors_supported=yes
17362
 
else
17363
 
        _pkg_short_errors_supported=no
17364
 
fi
17365
 
        if test $_pkg_short_errors_supported = yes; then
17366
 
                ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "alsa >= ${ALSA_MIN_VERSION}" 2>&1`
17367
 
        else
17368
 
                ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "alsa >= ${ALSA_MIN_VERSION}" 2>&1`
17369
 
        fi
17370
 
        # Put the nasty error message in config.log where it belongs
17371
 
        echo "$ALSA_PKG_ERRORS" >&5
17372
 
 
17373
 
        as_fn_error $? "Missing alsa development package: libasound2-dev or alsa-lib-devel" "$LINENO" 5
17374
 
elif test $pkg_failed = untried; then
17375
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17376
 
$as_echo "no" >&6; }
17377
 
        as_fn_error $? "Missing alsa development package: libasound2-dev or alsa-lib-devel" "$LINENO" 5
17378
 
else
17379
 
        ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
17380
 
        ALSA_LIBS=$pkg_cv_ALSA_LIBS
17381
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17382
 
$as_echo "yes" >&6; }
17383
 
 
17384
 
fi
17385
 
 
17386
 
LIBPULSE_MIN_VERSION=0.9.15
17387
 
 
17388
 
pkg_failed=no
17389
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSEAUDIO" >&5
17390
 
$as_echo_n "checking for PULSEAUDIO... " >&6; }
17391
 
 
17392
 
if test -n "$PULSEAUDIO_CFLAGS"; then
17393
 
    pkg_cv_PULSEAUDIO_CFLAGS="$PULSEAUDIO_CFLAGS"
17394
 
 elif test -n "$PKG_CONFIG"; then
17395
 
    if test -n "$PKG_CONFIG" && \
17396
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse >= \${LIBPULSE_MIN_VERSION}\""; } >&5
17397
 
  ($PKG_CONFIG --exists --print-errors "libpulse >= ${LIBPULSE_MIN_VERSION}") 2>&5
17398
 
  ac_status=$?
17399
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17400
 
  test $ac_status = 0; }; then
17401
 
  pkg_cv_PULSEAUDIO_CFLAGS=`$PKG_CONFIG --cflags "libpulse >= ${LIBPULSE_MIN_VERSION}" 2>/dev/null`
17402
 
                      test "x$?" != "x0" && pkg_failed=yes
17403
 
else
17404
 
  pkg_failed=yes
17405
 
fi
17406
 
 else
17407
 
    pkg_failed=untried
17408
 
fi
17409
 
if test -n "$PULSEAUDIO_LIBS"; then
17410
 
    pkg_cv_PULSEAUDIO_LIBS="$PULSEAUDIO_LIBS"
17411
 
 elif test -n "$PKG_CONFIG"; then
17412
 
    if test -n "$PKG_CONFIG" && \
17413
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse >= \${LIBPULSE_MIN_VERSION}\""; } >&5
17414
 
  ($PKG_CONFIG --exists --print-errors "libpulse >= ${LIBPULSE_MIN_VERSION}") 2>&5
17415
 
  ac_status=$?
17416
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17417
 
  test $ac_status = 0; }; then
17418
 
  pkg_cv_PULSEAUDIO_LIBS=`$PKG_CONFIG --libs "libpulse >= ${LIBPULSE_MIN_VERSION}" 2>/dev/null`
17419
 
                      test "x$?" != "x0" && pkg_failed=yes
17420
 
else
17421
 
  pkg_failed=yes
17422
 
fi
17423
 
 else
17424
 
    pkg_failed=untried
17425
 
fi
17426
 
 
17427
 
 
17428
 
 
17429
 
if test $pkg_failed = yes; then
17430
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17431
 
$as_echo "no" >&6; }
17432
 
 
17433
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17434
 
        _pkg_short_errors_supported=yes
17435
 
else
17436
 
        _pkg_short_errors_supported=no
17437
 
fi
17438
 
        if test $_pkg_short_errors_supported = yes; then
17439
 
                PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpulse >= ${LIBPULSE_MIN_VERSION}" 2>&1`
17440
 
        else
17441
 
                PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpulse >= ${LIBPULSE_MIN_VERSION}" 2>&1`
17442
 
        fi
17443
 
        # Put the nasty error message in config.log where it belongs
17444
 
        echo "$PULSEAUDIO_PKG_ERRORS" >&5
17445
 
 
17446
 
        as_fn_error $? "Missing pulseaudio development package: libpulse-dev" "$LINENO" 5
17447
 
elif test $pkg_failed = untried; then
17448
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17449
 
$as_echo "no" >&6; }
17450
 
        as_fn_error $? "Missing pulseaudio development package: libpulse-dev" "$LINENO" 5
17451
 
else
17452
 
        PULSEAUDIO_CFLAGS=$pkg_cv_PULSEAUDIO_CFLAGS
17453
 
        PULSEAUDIO_LIBS=$pkg_cv_PULSEAUDIO_LIBS
17454
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17455
 
$as_echo "yes" >&6; }
17456
 
 
17457
 
fi
17458
 
 
17459
 
LIBSAMPLERATE_MIN_VERSION=0.1.2
17460
 
 
17461
 
pkg_failed=no
17462
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SAMPLERATE" >&5
17463
 
$as_echo_n "checking for SAMPLERATE... " >&6; }
17464
 
 
17465
 
if test -n "$SAMPLERATE_CFLAGS"; then
17466
 
    pkg_cv_SAMPLERATE_CFLAGS="$SAMPLERATE_CFLAGS"
17467
 
 elif test -n "$PKG_CONFIG"; then
17468
 
    if test -n "$PKG_CONFIG" && \
17469
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate >= \${LIBSAMPLERATE_MIN_VERSION}\""; } >&5
17470
 
  ($PKG_CONFIG --exists --print-errors "samplerate >= ${LIBSAMPLERATE_MIN_VERSION}") 2>&5
17471
 
  ac_status=$?
17472
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17473
 
  test $ac_status = 0; }; then
17474
 
  pkg_cv_SAMPLERATE_CFLAGS=`$PKG_CONFIG --cflags "samplerate >= ${LIBSAMPLERATE_MIN_VERSION}" 2>/dev/null`
17475
 
                      test "x$?" != "x0" && pkg_failed=yes
17476
 
else
17477
 
  pkg_failed=yes
17478
 
fi
17479
 
 else
17480
 
    pkg_failed=untried
17481
 
fi
17482
 
if test -n "$SAMPLERATE_LIBS"; then
17483
 
    pkg_cv_SAMPLERATE_LIBS="$SAMPLERATE_LIBS"
17484
 
 elif test -n "$PKG_CONFIG"; then
17485
 
    if test -n "$PKG_CONFIG" && \
17486
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate >= \${LIBSAMPLERATE_MIN_VERSION}\""; } >&5
17487
 
  ($PKG_CONFIG --exists --print-errors "samplerate >= ${LIBSAMPLERATE_MIN_VERSION}") 2>&5
17488
 
  ac_status=$?
17489
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17490
 
  test $ac_status = 0; }; then
17491
 
  pkg_cv_SAMPLERATE_LIBS=`$PKG_CONFIG --libs "samplerate >= ${LIBSAMPLERATE_MIN_VERSION}" 2>/dev/null`
17492
 
                      test "x$?" != "x0" && pkg_failed=yes
17493
 
else
17494
 
  pkg_failed=yes
17495
 
fi
17496
 
 else
17497
 
    pkg_failed=untried
17498
 
fi
17499
 
 
17500
 
 
17501
 
 
17502
 
if test $pkg_failed = yes; then
17503
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17504
 
$as_echo "no" >&6; }
17505
 
 
17506
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17507
 
        _pkg_short_errors_supported=yes
17508
 
else
17509
 
        _pkg_short_errors_supported=no
17510
 
fi
17511
 
        if test $_pkg_short_errors_supported = yes; then
17512
 
                SAMPLERATE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "samplerate >= ${LIBSAMPLERATE_MIN_VERSION}" 2>&1`
17513
 
        else
17514
 
                SAMPLERATE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "samplerate >= ${LIBSAMPLERATE_MIN_VERSION}" 2>&1`
17515
 
        fi
17516
 
        # Put the nasty error message in config.log where it belongs
17517
 
        echo "$SAMPLERATE_PKG_ERRORS" >&5
17518
 
 
17519
 
        as_fn_error $? "Missing libsamplerate development package: libsamplerate0-dev" "$LINENO" 5
17520
 
elif test $pkg_failed = untried; then
17521
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17522
 
$as_echo "no" >&6; }
17523
 
        as_fn_error $? "Missing libsamplerate development package: libsamplerate0-dev" "$LINENO" 5
17524
 
else
17525
 
        SAMPLERATE_CFLAGS=$pkg_cv_SAMPLERATE_CFLAGS
17526
 
        SAMPLERATE_LIBS=$pkg_cv_SAMPLERATE_LIBS
17527
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17528
 
$as_echo "yes" >&6; }
17529
 
 
17530
 
fi
17531
 
 
17532
 
LIBCCGNU2_MIN_VERSION=1.3.1
17533
 
 
17534
 
pkg_failed=no
17535
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CCGNU2" >&5
17536
 
$as_echo_n "checking for CCGNU2... " >&6; }
17537
 
 
17538
 
if test -n "$CCGNU2_CFLAGS"; then
17539
 
    pkg_cv_CCGNU2_CFLAGS="$CCGNU2_CFLAGS"
17540
 
 elif test -n "$PKG_CONFIG"; then
17541
 
    if test -n "$PKG_CONFIG" && \
17542
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccgnu2 >= \${LIBCCGNU2_MIN_VERSION}\""; } >&5
17543
 
  ($PKG_CONFIG --exists --print-errors "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}") 2>&5
17544
 
  ac_status=$?
17545
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17546
 
  test $ac_status = 0; }; then
17547
 
  pkg_cv_CCGNU2_CFLAGS=`$PKG_CONFIG --cflags "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>/dev/null`
17548
 
                      test "x$?" != "x0" && pkg_failed=yes
17549
 
else
17550
 
  pkg_failed=yes
17551
 
fi
17552
 
 else
17553
 
    pkg_failed=untried
17554
 
fi
17555
 
if test -n "$CCGNU2_LIBS"; then
17556
 
    pkg_cv_CCGNU2_LIBS="$CCGNU2_LIBS"
17557
 
 elif test -n "$PKG_CONFIG"; then
17558
 
    if test -n "$PKG_CONFIG" && \
17559
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccgnu2 >= \${LIBCCGNU2_MIN_VERSION}\""; } >&5
17560
 
  ($PKG_CONFIG --exists --print-errors "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}") 2>&5
17561
 
  ac_status=$?
17562
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17563
 
  test $ac_status = 0; }; then
17564
 
  pkg_cv_CCGNU2_LIBS=`$PKG_CONFIG --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>/dev/null`
17565
 
                      test "x$?" != "x0" && pkg_failed=yes
17566
 
else
17567
 
  pkg_failed=yes
17568
 
fi
17569
 
 else
17570
 
    pkg_failed=untried
17571
 
fi
17572
 
 
17573
 
 
17574
 
 
17575
 
if test $pkg_failed = yes; then
17576
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17577
 
$as_echo "no" >&6; }
17578
 
 
17579
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17580
 
        _pkg_short_errors_supported=yes
17581
 
else
17582
 
        _pkg_short_errors_supported=no
17583
 
fi
17584
 
        if test $_pkg_short_errors_supported = yes; then
17585
 
                CCGNU2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
17586
 
        else
17587
 
                CCGNU2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
17588
 
        fi
17589
 
        # Put the nasty error message in config.log where it belongs
17590
 
        echo "$CCGNU2_PKG_ERRORS" >&5
17591
 
 
17592
 
        as_fn_error $? "Missing common cpp development package: libcommoncpp2-dev" "$LINENO" 5
17593
 
elif test $pkg_failed = untried; then
17594
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17595
 
$as_echo "no" >&6; }
17596
 
        as_fn_error $? "Missing common cpp development package: libcommoncpp2-dev" "$LINENO" 5
17597
 
else
17598
 
        CCGNU2_CFLAGS=$pkg_cv_CCGNU2_CFLAGS
17599
 
        CCGNU2_LIBS=$pkg_cv_CCGNU2_LIBS
17600
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17601
 
$as_echo "yes" >&6; }
17602
 
 
17603
 
fi
17604
 
 
17605
 
LIBCCEXT2_MIN_VERSION=1.3.1
17606
 
 
17607
 
pkg_failed=no
17608
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CCEXT2" >&5
17609
 
$as_echo_n "checking for CCEXT2... " >&6; }
17610
 
 
17611
 
if test -n "$CCEXT2_CFLAGS"; then
17612
 
    pkg_cv_CCEXT2_CFLAGS="$CCEXT2_CFLAGS"
17613
 
 elif test -n "$PKG_CONFIG"; then
17614
 
    if test -n "$PKG_CONFIG" && \
17615
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccext2 >= \${LIBCCEXT2_MIN_VERSION}\""; } >&5
17616
 
  ($PKG_CONFIG --exists --print-errors "libccext2 >= ${LIBCCEXT2_MIN_VERSION}") 2>&5
17617
 
  ac_status=$?
17618
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17619
 
  test $ac_status = 0; }; then
17620
 
  pkg_cv_CCEXT2_CFLAGS=`$PKG_CONFIG --cflags "libccext2 >= ${LIBCCEXT2_MIN_VERSION}" 2>/dev/null`
17621
 
                      test "x$?" != "x0" && pkg_failed=yes
17622
 
else
17623
 
  pkg_failed=yes
17624
 
fi
17625
 
 else
17626
 
    pkg_failed=untried
17627
 
fi
17628
 
if test -n "$CCEXT2_LIBS"; then
17629
 
    pkg_cv_CCEXT2_LIBS="$CCEXT2_LIBS"
17630
 
 elif test -n "$PKG_CONFIG"; then
17631
 
    if test -n "$PKG_CONFIG" && \
17632
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccext2 >= \${LIBCCEXT2_MIN_VERSION}\""; } >&5
17633
 
  ($PKG_CONFIG --exists --print-errors "libccext2 >= ${LIBCCEXT2_MIN_VERSION}") 2>&5
17634
 
  ac_status=$?
17635
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17636
 
  test $ac_status = 0; }; then
17637
 
  pkg_cv_CCEXT2_LIBS=`$PKG_CONFIG --libs "libccext2 >= ${LIBCCEXT2_MIN_VERSION}" 2>/dev/null`
17638
 
                      test "x$?" != "x0" && pkg_failed=yes
17639
 
else
17640
 
  pkg_failed=yes
17641
 
fi
17642
 
 else
17643
 
    pkg_failed=untried
17644
 
fi
17645
 
 
17646
 
 
17647
 
 
17648
 
if test $pkg_failed = yes; then
17649
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17650
 
$as_echo "no" >&6; }
17651
 
 
17652
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17653
 
        _pkg_short_errors_supported=yes
17654
 
else
17655
 
        _pkg_short_errors_supported=no
17656
 
fi
17657
 
        if test $_pkg_short_errors_supported = yes; then
17658
 
                CCEXT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libccext2 >= ${LIBCCEXT2_MIN_VERSION}" 2>&1`
17659
 
        else
17660
 
                CCEXT2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libccext2 >= ${LIBCCEXT2_MIN_VERSION}" 2>&1`
17661
 
        fi
17662
 
        # Put the nasty error message in config.log where it belongs
17663
 
        echo "$CCEXT2_PKG_ERRORS" >&5
17664
 
 
17665
 
        as_fn_error $? "Package requirements (libccext2 >= ${LIBCCEXT2_MIN_VERSION}) were not met:
17666
 
 
17667
 
$CCEXT2_PKG_ERRORS
17668
 
 
17669
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
17670
 
installed software in a non-standard prefix.
17671
 
 
17672
 
Alternatively, you may set the environment variables CCEXT2_CFLAGS
17673
 
and CCEXT2_LIBS to avoid the need to call pkg-config.
17674
 
See the pkg-config man page for more details." "$LINENO" 5
17675
 
elif test $pkg_failed = untried; then
17676
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17677
 
$as_echo "no" >&6; }
17678
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17679
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17680
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
17681
 
is in your PATH or set the PKG_CONFIG environment variable to the full
17682
 
path to pkg-config.
17683
 
 
17684
 
Alternatively, you may set the environment variables CCEXT2_CFLAGS
17685
 
and CCEXT2_LIBS to avoid the need to call pkg-config.
17686
 
See the pkg-config man page for more details.
17687
 
 
17688
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17689
 
See \`config.log' for more details" "$LINENO" 5; }
17690
 
else
17691
 
        CCEXT2_CFLAGS=$pkg_cv_CCEXT2_CFLAGS
17692
 
        CCEXT2_LIBS=$pkg_cv_CCEXT2_LIBS
17693
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17694
 
$as_echo "yes" >&6; }
17695
 
 
17696
 
fi
17697
 
 
17698
 
LIBCCRT_MIN_VERSION=1.3.0
17699
 
 
17700
 
pkg_failed=no
17701
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CCRTP" >&5
17702
 
$as_echo_n "checking for CCRTP... " >&6; }
17703
 
 
17704
 
if test -n "$CCRTP_CFLAGS"; then
17705
 
    pkg_cv_CCRTP_CFLAGS="$CCRTP_CFLAGS"
17706
 
 elif test -n "$PKG_CONFIG"; then
17707
 
    if test -n "$PKG_CONFIG" && \
17708
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccrtp1 >= \${LIBCCRT_MIN_VERSION}\""; } >&5
17709
 
  ($PKG_CONFIG --exists --print-errors "libccrtp1 >= ${LIBCCRT_MIN_VERSION}") 2>&5
17710
 
  ac_status=$?
17711
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17712
 
  test $ac_status = 0; }; then
17713
 
  pkg_cv_CCRTP_CFLAGS=`$PKG_CONFIG --cflags "libccrtp1 >= ${LIBCCRT_MIN_VERSION}" 2>/dev/null`
17714
 
                      test "x$?" != "x0" && pkg_failed=yes
17715
 
else
17716
 
  pkg_failed=yes
17717
 
fi
17718
 
 else
17719
 
    pkg_failed=untried
17720
 
fi
17721
 
if test -n "$CCRTP_LIBS"; then
17722
 
    pkg_cv_CCRTP_LIBS="$CCRTP_LIBS"
17723
 
 elif test -n "$PKG_CONFIG"; then
17724
 
    if test -n "$PKG_CONFIG" && \
17725
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccrtp1 >= \${LIBCCRT_MIN_VERSION}\""; } >&5
17726
 
  ($PKG_CONFIG --exists --print-errors "libccrtp1 >= ${LIBCCRT_MIN_VERSION}") 2>&5
17727
 
  ac_status=$?
17728
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17729
 
  test $ac_status = 0; }; then
17730
 
  pkg_cv_CCRTP_LIBS=`$PKG_CONFIG --libs "libccrtp1 >= ${LIBCCRT_MIN_VERSION}" 2>/dev/null`
17731
 
                      test "x$?" != "x0" && pkg_failed=yes
17732
 
else
17733
 
  pkg_failed=yes
17734
 
fi
17735
 
 else
17736
 
    pkg_failed=untried
17737
 
fi
17738
 
 
17739
 
 
17740
 
 
17741
 
if test $pkg_failed = yes; then
17742
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17743
 
$as_echo "no" >&6; }
17744
 
 
17745
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17746
 
        _pkg_short_errors_supported=yes
17747
 
else
17748
 
        _pkg_short_errors_supported=no
17749
 
fi
17750
 
        if test $_pkg_short_errors_supported = yes; then
17751
 
                CCRTP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libccrtp1 >= ${LIBCCRT_MIN_VERSION}" 2>&1`
17752
 
        else
17753
 
                CCRTP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libccrtp1 >= ${LIBCCRT_MIN_VERSION}" 2>&1`
17754
 
        fi
17755
 
        # Put the nasty error message in config.log where it belongs
17756
 
        echo "$CCRTP_PKG_ERRORS" >&5
17757
 
 
17758
 
        as_fn_error $? "Missing ccrtp development package: libccrtp-dev" "$LINENO" 5
17759
 
elif test $pkg_failed = untried; then
17760
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17761
 
$as_echo "no" >&6; }
17762
 
        as_fn_error $? "Missing ccrtp development package: libccrtp-dev" "$LINENO" 5
17763
 
else
17764
 
        CCRTP_CFLAGS=$pkg_cv_CCRTP_CFLAGS
17765
 
        CCRTP_LIBS=$pkg_cv_CCRTP_LIBS
17766
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17767
 
$as_echo "yes" >&6; }
17768
 
 
17769
 
fi
17770
 
 
17771
 
 
17772
 
pkg_failed=no
17773
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libssl" >&5
17774
 
$as_echo_n "checking for libssl... " >&6; }
17775
 
 
17776
 
if test -n "$libssl_CFLAGS"; then
17777
 
    pkg_cv_libssl_CFLAGS="$libssl_CFLAGS"
17778
 
 elif test -n "$PKG_CONFIG"; then
17779
 
    if test -n "$PKG_CONFIG" && \
17780
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libssl\""; } >&5
17781
 
  ($PKG_CONFIG --exists --print-errors "libssl") 2>&5
17782
 
  ac_status=$?
17783
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17784
 
  test $ac_status = 0; }; then
17785
 
  pkg_cv_libssl_CFLAGS=`$PKG_CONFIG --cflags "libssl" 2>/dev/null`
17786
 
                      test "x$?" != "x0" && pkg_failed=yes
17787
 
else
17788
 
  pkg_failed=yes
17789
 
fi
17790
 
 else
17791
 
    pkg_failed=untried
17792
 
fi
17793
 
if test -n "$libssl_LIBS"; then
17794
 
    pkg_cv_libssl_LIBS="$libssl_LIBS"
17795
 
 elif test -n "$PKG_CONFIG"; then
17796
 
    if test -n "$PKG_CONFIG" && \
17797
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libssl\""; } >&5
17798
 
  ($PKG_CONFIG --exists --print-errors "libssl") 2>&5
17799
 
  ac_status=$?
17800
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17801
 
  test $ac_status = 0; }; then
17802
 
  pkg_cv_libssl_LIBS=`$PKG_CONFIG --libs "libssl" 2>/dev/null`
17803
 
                      test "x$?" != "x0" && pkg_failed=yes
17804
 
else
17805
 
  pkg_failed=yes
17806
 
fi
17807
 
 else
17808
 
    pkg_failed=untried
17809
 
fi
17810
 
 
17811
 
 
17812
 
 
17813
 
if test $pkg_failed = yes; then
17814
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17815
 
$as_echo "no" >&6; }
17816
 
 
17817
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17818
 
        _pkg_short_errors_supported=yes
17819
 
else
17820
 
        _pkg_short_errors_supported=no
17821
 
fi
17822
 
        if test $_pkg_short_errors_supported = yes; then
17823
 
                libssl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libssl" 2>&1`
17824
 
        else
17825
 
                libssl_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libssl" 2>&1`
17826
 
        fi
17827
 
        # Put the nasty error message in config.log where it belongs
17828
 
        echo "$libssl_PKG_ERRORS" >&5
17829
 
 
17830
 
        as_fn_error $? "Missing ssl development package: libssl-dev" "$LINENO" 5
17831
 
elif test $pkg_failed = untried; then
17832
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17833
 
$as_echo "no" >&6; }
17834
 
        as_fn_error $? "Missing ssl development package: libssl-dev" "$LINENO" 5
17835
 
else
17836
 
        libssl_CFLAGS=$pkg_cv_libssl_CFLAGS
17837
 
        libssl_LIBS=$pkg_cv_libssl_LIBS
17838
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17839
 
$as_echo "yes" >&6; }
17840
 
 
17841
 
fi
17842
 
 
17843
 
LIBZRTPCPP_MIN_VERSION=1.3.0
17844
 
 
17845
 
pkg_failed=no
17846
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZRTPCPP" >&5
17847
 
$as_echo_n "checking for ZRTPCPP... " >&6; }
17848
 
 
17849
 
if test -n "$ZRTPCPP_CFLAGS"; then
17850
 
    pkg_cv_ZRTPCPP_CFLAGS="$ZRTPCPP_CFLAGS"
17851
 
 elif test -n "$PKG_CONFIG"; then
17852
 
    if test -n "$PKG_CONFIG" && \
17853
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzrtpcpp >= \${LIBZRTPCPP_MIN_VERSION}\""; } >&5
17854
 
  ($PKG_CONFIG --exists --print-errors "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}") 2>&5
17855
 
  ac_status=$?
17856
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17857
 
  test $ac_status = 0; }; then
17858
 
  pkg_cv_ZRTPCPP_CFLAGS=`$PKG_CONFIG --cflags "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}" 2>/dev/null`
17859
 
                      test "x$?" != "x0" && pkg_failed=yes
17860
 
else
17861
 
  pkg_failed=yes
17862
 
fi
17863
 
 else
17864
 
    pkg_failed=untried
17865
 
fi
17866
 
if test -n "$ZRTPCPP_LIBS"; then
17867
 
    pkg_cv_ZRTPCPP_LIBS="$ZRTPCPP_LIBS"
17868
 
 elif test -n "$PKG_CONFIG"; then
17869
 
    if test -n "$PKG_CONFIG" && \
17870
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzrtpcpp >= \${LIBZRTPCPP_MIN_VERSION}\""; } >&5
17871
 
  ($PKG_CONFIG --exists --print-errors "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}") 2>&5
17872
 
  ac_status=$?
17873
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17874
 
  test $ac_status = 0; }; then
17875
 
  pkg_cv_ZRTPCPP_LIBS=`$PKG_CONFIG --libs "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}" 2>/dev/null`
17876
 
                      test "x$?" != "x0" && pkg_failed=yes
17877
 
else
17878
 
  pkg_failed=yes
17879
 
fi
17880
 
 else
17881
 
    pkg_failed=untried
17882
 
fi
17883
 
 
17884
 
 
17885
 
 
17886
 
if test $pkg_failed = yes; then
17887
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17888
 
$as_echo "no" >&6; }
17889
 
 
17890
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17891
 
        _pkg_short_errors_supported=yes
17892
 
else
17893
 
        _pkg_short_errors_supported=no
17894
 
fi
17895
 
        if test $_pkg_short_errors_supported = yes; then
17896
 
                ZRTPCPP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}" 2>&1`
17897
 
        else
17898
 
                ZRTPCPP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}" 2>&1`
17899
 
        fi
17900
 
        # Put the nasty error message in config.log where it belongs
17901
 
        echo "$ZRTPCPP_PKG_ERRORS" >&5
17902
 
 
17903
 
        as_fn_error $? "Missing zrtp development package: libzrtpcpp-dev" "$LINENO" 5
17904
 
elif test $pkg_failed = untried; then
17905
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17906
 
$as_echo "no" >&6; }
17907
 
        as_fn_error $? "Missing zrtp development package: libzrtpcpp-dev" "$LINENO" 5
17908
 
else
17909
 
        ZRTPCPP_CFLAGS=$pkg_cv_ZRTPCPP_CFLAGS
17910
 
        ZRTPCPP_LIBS=$pkg_cv_ZRTPCPP_LIBS
17911
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17912
 
$as_echo "yes" >&6; }
17913
 
 
17914
 
fi
17915
 
 
17916
 
DBUS_CPP_REQUIRED_VERSION=0.6.0-pre1
17917
 
 
17918
 
pkg_failed=no
17919
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUSCPP" >&5
17920
 
$as_echo_n "checking for DBUSCPP... " >&6; }
17921
 
 
17922
 
if test -n "$DBUSCPP_CFLAGS"; then
17923
 
    pkg_cv_DBUSCPP_CFLAGS="$DBUSCPP_CFLAGS"
17924
 
 elif test -n "$PKG_CONFIG"; then
17925
 
    if test -n "$PKG_CONFIG" && \
17926
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-c++-1\""; } >&5
17927
 
  ($PKG_CONFIG --exists --print-errors "dbus-c++-1") 2>&5
17928
 
  ac_status=$?
17929
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17930
 
  test $ac_status = 0; }; then
17931
 
  pkg_cv_DBUSCPP_CFLAGS=`$PKG_CONFIG --cflags "dbus-c++-1" 2>/dev/null`
17932
 
                      test "x$?" != "x0" && pkg_failed=yes
17933
 
else
17934
 
  pkg_failed=yes
17935
 
fi
17936
 
 else
17937
 
    pkg_failed=untried
17938
 
fi
17939
 
if test -n "$DBUSCPP_LIBS"; then
17940
 
    pkg_cv_DBUSCPP_LIBS="$DBUSCPP_LIBS"
17941
 
 elif test -n "$PKG_CONFIG"; then
17942
 
    if test -n "$PKG_CONFIG" && \
17943
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-c++-1\""; } >&5
17944
 
  ($PKG_CONFIG --exists --print-errors "dbus-c++-1") 2>&5
17945
 
  ac_status=$?
17946
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17947
 
  test $ac_status = 0; }; then
17948
 
  pkg_cv_DBUSCPP_LIBS=`$PKG_CONFIG --libs "dbus-c++-1" 2>/dev/null`
17949
 
                      test "x$?" != "x0" && pkg_failed=yes
17950
 
else
17951
 
  pkg_failed=yes
17952
 
fi
17953
 
 else
17954
 
    pkg_failed=untried
17955
 
fi
17956
 
 
17957
 
 
17958
 
 
17959
 
if test $pkg_failed = yes; then
17960
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17961
 
$as_echo "no" >&6; }
17962
 
 
17963
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17964
 
        _pkg_short_errors_supported=yes
17965
 
else
17966
 
        _pkg_short_errors_supported=no
17967
 
fi
17968
 
        if test $_pkg_short_errors_supported = yes; then
17969
 
                DBUSCPP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-c++-1" 2>&1`
17970
 
        else
17971
 
                DBUSCPP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-c++-1" 2>&1`
17972
 
        fi
17973
 
        # Put the nasty error message in config.log where it belongs
17974
 
        echo "$DBUSCPP_PKG_ERRORS" >&5
17975
 
 
17976
 
        as_fn_error $? "You need the DBus-c++ libraries (version $DBUS_CPP_REQUIRED_VERSION or better)" "$LINENO" 5
17977
 
elif test $pkg_failed = untried; then
17978
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17979
 
$as_echo "no" >&6; }
17980
 
        as_fn_error $? "You need the DBus-c++ libraries (version $DBUS_CPP_REQUIRED_VERSION or better)" "$LINENO" 5
17981
 
else
17982
 
        DBUSCPP_CFLAGS=$pkg_cv_DBUSCPP_CFLAGS
17983
 
        DBUSCPP_LIBS=$pkg_cv_DBUSCPP_LIBS
17984
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17985
 
$as_echo "yes" >&6; }
17986
 
 
17987
 
fi
17988
 
 
17989
 
CXXFLAGS="${CXXFLAGS} -g -Wno-return-type -Wall -Wextra -Wnon-virtual-dtor -Weffc++ -Wfatal-errors"
17990
 
 
17991
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate_MM in -lexpat" >&5
17992
 
$as_echo_n "checking for XML_ParserCreate_MM in -lexpat... " >&6; }
17993
 
if ${ac_cv_lib_expat_XML_ParserCreate_MM+:} false; then :
17994
 
  $as_echo_n "(cached) " >&6
17995
 
else
17996
 
  ac_check_lib_save_LIBS=$LIBS
17997
 
LIBS="-lexpat  $LIBS"
17998
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17999
 
/* end confdefs.h.  */
18000
 
 
18001
 
/* Override any GCC internal prototype to avoid an error.
18002
 
   Use char because int might match the return type of a GCC
18003
 
   builtin and then its argument prototype would still apply.  */
18004
 
#ifdef __cplusplus
18005
 
extern "C"
18006
 
#endif
18007
 
char XML_ParserCreate_MM ();
18008
 
int
18009
 
main ()
18010
 
{
18011
 
return XML_ParserCreate_MM ();
18012
 
  ;
18013
 
  return 0;
18014
 
}
18015
 
_ACEOF
18016
 
if ac_fn_cxx_try_link "$LINENO"; then :
18017
 
  ac_cv_lib_expat_XML_ParserCreate_MM=yes
18018
 
else
18019
 
  ac_cv_lib_expat_XML_ParserCreate_MM=no
18020
 
fi
18021
 
rm -f core conftest.err conftest.$ac_objext \
18022
 
    conftest$ac_exeext conftest.$ac_ext
18023
 
LIBS=$ac_check_lib_save_LIBS
18024
 
fi
18025
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate_MM" >&5
18026
 
$as_echo "$ac_cv_lib_expat_XML_ParserCreate_MM" >&6; }
18027
 
if test "x$ac_cv_lib_expat_XML_ParserCreate_MM" = xyes; then :
18028
 
  for ac_header in expat.h
18029
 
do :
18030
 
  ac_fn_cxx_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
18031
 
if test "x$ac_cv_header_expat_h" = xyes; then :
18032
 
  cat >>confdefs.h <<_ACEOF
18033
 
#define HAVE_EXPAT_H 1
18034
 
_ACEOF
18035
 
 have_expat=true
18036
 
else
18037
 
  have_expat=false
18038
 
fi
18039
 
 
18040
 
done
18041
 
 
18042
 
else
18043
 
  have_expat=false
18044
 
fi
18045
 
 
18046
 
 
18047
 
test "$have_expat" = false && as_fn_error $? "libexpat development files missing" "$LINENO" 5
18048
 
 
18049
 
xml_CFLAGS=
18050
 
xml_LIBS=-lexpat
18051
 
 
18052
 
 
18053
 
 
18054
 
 
18055
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for yaml_parser_initialize in -lyaml" >&5
18056
 
$as_echo_n "checking for yaml_parser_initialize in -lyaml... " >&6; }
18057
 
if ${ac_cv_lib_yaml_yaml_parser_initialize+:} false; then :
18058
 
  $as_echo_n "(cached) " >&6
18059
 
else
18060
 
  ac_check_lib_save_LIBS=$LIBS
18061
 
LIBS="-lyaml  $LIBS"
18062
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18063
 
/* end confdefs.h.  */
18064
 
 
18065
 
/* Override any GCC internal prototype to avoid an error.
18066
 
   Use char because int might match the return type of a GCC
18067
 
   builtin and then its argument prototype would still apply.  */
18068
 
#ifdef __cplusplus
18069
 
extern "C"
18070
 
#endif
18071
 
char yaml_parser_initialize ();
18072
 
int
18073
 
main ()
18074
 
{
18075
 
return yaml_parser_initialize ();
18076
 
  ;
18077
 
  return 0;
18078
 
}
18079
 
_ACEOF
18080
 
if ac_fn_cxx_try_link "$LINENO"; then :
18081
 
  ac_cv_lib_yaml_yaml_parser_initialize=yes
18082
 
else
18083
 
  ac_cv_lib_yaml_yaml_parser_initialize=no
18084
 
fi
18085
 
rm -f core conftest.err conftest.$ac_objext \
18086
 
    conftest$ac_exeext conftest.$ac_ext
18087
 
LIBS=$ac_check_lib_save_LIBS
18088
 
fi
18089
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_yaml_yaml_parser_initialize" >&5
18090
 
$as_echo "$ac_cv_lib_yaml_yaml_parser_initialize" >&6; }
18091
 
if test "x$ac_cv_lib_yaml_yaml_parser_initialize" = xyes; then :
18092
 
  for ac_header in yaml.h
18093
 
do :
18094
 
  ac_fn_cxx_check_header_mongrel "$LINENO" "yaml.h" "ac_cv_header_yaml_h" "$ac_includes_default"
18095
 
if test "x$ac_cv_header_yaml_h" = xyes; then :
18096
 
  cat >>confdefs.h <<_ACEOF
18097
 
#define HAVE_YAML_H 1
18098
 
_ACEOF
18099
 
 have_yaml=true
18100
 
else
18101
 
  have_yaml=false
18102
 
fi
18103
 
 
18104
 
done
18105
 
 
18106
 
else
18107
 
  have_yaml=false
18108
 
fi
18109
 
 
18110
 
 
18111
 
test "$have_yaml" = "false" && as_fn_error $? "libyaml development files missing" "$LINENO" 5
18112
 
 
18113
 
yaml_CFLAGS=
18114
 
yaml_LIBS=-lyaml
18115
 
 
18116
 
 
18117
 
 
18118
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
18119
 
$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
18120
 
if ${ac_cv_lib_pthread_pthread_create+:} false; then :
18121
 
  $as_echo_n "(cached) " >&6
18122
 
else
18123
 
  ac_check_lib_save_LIBS=$LIBS
18124
 
LIBS="-lpthread  $LIBS"
18125
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18126
 
/* end confdefs.h.  */
18127
 
 
18128
 
/* Override any GCC internal prototype to avoid an error.
18129
 
   Use char because int might match the return type of a GCC
18130
 
   builtin and then its argument prototype would still apply.  */
18131
 
#ifdef __cplusplus
18132
 
extern "C"
18133
 
#endif
18134
 
char pthread_create ();
18135
 
int
18136
 
main ()
18137
 
{
18138
 
return pthread_create ();
18139
 
  ;
18140
 
  return 0;
18141
 
}
18142
 
_ACEOF
18143
 
if ac_fn_cxx_try_link "$LINENO"; then :
18144
 
  ac_cv_lib_pthread_pthread_create=yes
18145
 
else
18146
 
  ac_cv_lib_pthread_pthread_create=no
18147
 
fi
18148
 
rm -f core conftest.err conftest.$ac_objext \
18149
 
    conftest$ac_exeext conftest.$ac_ext
18150
 
LIBS=$ac_check_lib_save_LIBS
18151
 
fi
18152
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
18153
 
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
18154
 
if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
18155
 
  for ac_header in pthread.h
18156
 
do :
18157
 
  ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
18158
 
if test "x$ac_cv_header_pthread_h" = xyes; then :
18159
 
  cat >>confdefs.h <<_ACEOF
18160
 
#define HAVE_PTHREAD_H 1
18161
 
_ACEOF
18162
 
 have_pthread=true
18163
 
else
18164
 
  have_pthread=false
18165
 
fi
18166
 
 
18167
 
done
18168
 
 
18169
 
else
18170
 
  have_pthread=false
18171
 
fi
18172
 
 
18173
 
 
18174
 
test "$have_pthread" = "false" && as_fn_error $? "You need the POSIX Thread library (pthreads)" "$LINENO" 5
18175
 
 
18176
 
 
18177
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_free in -lpcre" >&5
18178
 
$as_echo_n "checking for pcre_free in -lpcre... " >&6; }
18179
 
if ${ac_cv_lib_pcre_pcre_free+:} false; then :
18180
 
  $as_echo_n "(cached) " >&6
18181
 
else
18182
 
  ac_check_lib_save_LIBS=$LIBS
18183
 
LIBS="-lpcre  $LIBS"
18184
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18185
 
/* end confdefs.h.  */
18186
 
 
18187
 
/* Override any GCC internal prototype to avoid an error.
18188
 
   Use char because int might match the return type of a GCC
18189
 
   builtin and then its argument prototype would still apply.  */
18190
 
#ifdef __cplusplus
18191
 
extern "C"
18192
 
#endif
18193
 
char pcre_free ();
18194
 
int
18195
 
main ()
18196
 
{
18197
 
return pcre_free ();
18198
 
  ;
18199
 
  return 0;
18200
 
}
18201
 
_ACEOF
18202
 
if ac_fn_cxx_try_link "$LINENO"; then :
18203
 
  ac_cv_lib_pcre_pcre_free=yes
18204
 
else
18205
 
  ac_cv_lib_pcre_pcre_free=no
18206
 
fi
18207
 
rm -f core conftest.err conftest.$ac_objext \
18208
 
    conftest$ac_exeext conftest.$ac_ext
18209
 
LIBS=$ac_check_lib_save_LIBS
18210
 
fi
18211
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_free" >&5
18212
 
$as_echo "$ac_cv_lib_pcre_pcre_free" >&6; }
18213
 
if test "x$ac_cv_lib_pcre_pcre_free" = xyes; then :
18214
 
  for ac_header in pcre.h
18215
 
do :
18216
 
  ac_fn_cxx_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
18217
 
if test "x$ac_cv_header_pcre_h" = xyes; then :
18218
 
  cat >>confdefs.h <<_ACEOF
18219
 
#define HAVE_PCRE_H 1
18220
 
_ACEOF
18221
 
 have_pcre=true
18222
 
else
18223
 
  have_pcre=false
18224
 
fi
18225
 
 
18226
 
done
18227
 
 
18228
 
else
18229
 
  have_pcre=false
18230
 
fi
18231
 
 
18232
 
 
18233
 
test "$have_pcre" = "false" && as_fn_error $? "You need the Perl-Compatible Regular Expressions library (pcre)" "$LINENO" 5
18234
 
 
18235
 
PCRE_LIBS=-lpcre
18236
 
PCRE_CFLAGS=
18237
 
 
18238
 
 
18239
 
 
18240
 
CPPUNIT_MIN_VERSION=1.12
18241
 
 
18242
 
pkg_failed=no
18243
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CPPUNIT" >&5
18244
 
$as_echo_n "checking for CPPUNIT... " >&6; }
18245
 
 
18246
 
if test -n "$CPPUNIT_CFLAGS"; then
18247
 
    pkg_cv_CPPUNIT_CFLAGS="$CPPUNIT_CFLAGS"
18248
 
 elif test -n "$PKG_CONFIG"; then
18249
 
    if test -n "$PKG_CONFIG" && \
18250
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cppunit >= \${CPPUNIT_MIN_VERSION}\""; } >&5
18251
 
  ($PKG_CONFIG --exists --print-errors "cppunit >= ${CPPUNIT_MIN_VERSION}") 2>&5
18252
 
  ac_status=$?
18253
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18254
 
  test $ac_status = 0; }; then
18255
 
  pkg_cv_CPPUNIT_CFLAGS=`$PKG_CONFIG --cflags "cppunit >= ${CPPUNIT_MIN_VERSION}" 2>/dev/null`
18256
 
                      test "x$?" != "x0" && pkg_failed=yes
18257
 
else
18258
 
  pkg_failed=yes
18259
 
fi
18260
 
 else
18261
 
    pkg_failed=untried
18262
 
fi
18263
 
if test -n "$CPPUNIT_LIBS"; then
18264
 
    pkg_cv_CPPUNIT_LIBS="$CPPUNIT_LIBS"
18265
 
 elif test -n "$PKG_CONFIG"; then
18266
 
    if test -n "$PKG_CONFIG" && \
18267
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cppunit >= \${CPPUNIT_MIN_VERSION}\""; } >&5
18268
 
  ($PKG_CONFIG --exists --print-errors "cppunit >= ${CPPUNIT_MIN_VERSION}") 2>&5
18269
 
  ac_status=$?
18270
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18271
 
  test $ac_status = 0; }; then
18272
 
  pkg_cv_CPPUNIT_LIBS=`$PKG_CONFIG --libs "cppunit >= ${CPPUNIT_MIN_VERSION}" 2>/dev/null`
18273
 
                      test "x$?" != "x0" && pkg_failed=yes
18274
 
else
18275
 
  pkg_failed=yes
18276
 
fi
18277
 
 else
18278
 
    pkg_failed=untried
18279
 
fi
18280
 
 
18281
 
 
18282
 
 
18283
 
if test $pkg_failed = yes; then
18284
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18285
 
$as_echo "no" >&6; }
18286
 
 
18287
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18288
 
        _pkg_short_errors_supported=yes
18289
 
else
18290
 
        _pkg_short_errors_supported=no
18291
 
fi
18292
 
        if test $_pkg_short_errors_supported = yes; then
18293
 
                CPPUNIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cppunit >= ${CPPUNIT_MIN_VERSION}" 2>&1`
18294
 
        else
18295
 
                CPPUNIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cppunit >= ${CPPUNIT_MIN_VERSION}" 2>&1`
18296
 
        fi
18297
 
        # Put the nasty error message in config.log where it belongs
18298
 
        echo "$CPPUNIT_PKG_ERRORS" >&5
18299
 
 
18300
 
         if test 0 = 1 ; then
18301
 
  BUILD_TEST_TRUE=
18302
 
  BUILD_TEST_FALSE='#'
18303
 
else
18304
 
  BUILD_TEST_TRUE='#'
18305
 
  BUILD_TEST_FALSE=
18306
 
fi
18307
 
 
18308
 
elif test $pkg_failed = untried; then
18309
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18310
 
$as_echo "no" >&6; }
18311
 
         if test 0 = 1 ; then
18312
 
  BUILD_TEST_TRUE=
18313
 
  BUILD_TEST_FALSE='#'
18314
 
else
18315
 
  BUILD_TEST_TRUE='#'
18316
 
  BUILD_TEST_FALSE=
18317
 
fi
18318
 
 
18319
 
else
18320
 
        CPPUNIT_CFLAGS=$pkg_cv_CPPUNIT_CFLAGS
18321
 
        CPPUNIT_LIBS=$pkg_cv_CPPUNIT_LIBS
18322
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18323
 
$as_echo "yes" >&6; }
18324
 
         if test 1 = 1 ; then
18325
 
  BUILD_TEST_TRUE=
18326
 
  BUILD_TEST_FALSE='#'
18327
 
else
18328
 
  BUILD_TEST_TRUE='#'
18329
 
  BUILD_TEST_FALSE=
18330
 
fi
18331
 
 
18332
 
fi
18333
 
 
18334
 
# check for libgsm1 (doesn't use pkg-config)
18335
 
 
18336
 
# Check whether --with-gsm was given.
18337
 
if test "${with_gsm+set}" = set; then :
18338
 
  withval=$with_gsm;
18339
 
else
18340
 
  with_gsm=yes
18341
 
fi
18342
 
 
18343
 
 
18344
 
LIBGSM=
18345
 
if test "x$with_gsm" != xno; then :
18346
 
  ac_fn_cxx_check_header_mongrel "$LINENO" "gsm/gsm.h" "ac_cv_header_gsm_gsm_h" "$ac_includes_default"
18347
 
if test "x$ac_cv_header_gsm_gsm_h" = xyes; then :
18348
 
 
18349
 
else
18350
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18351
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18352
 
as_fn_error $? "Unable to find the libgsm1 headers (you may need to install the dev package).  You may use --without-gsm to compile without gsm codec support.
18353
 
See \`config.log' for more details" "$LINENO" 5; }
18354
 
fi
18355
 
 
18356
 
 
18357
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gsm_decode in -lgsm" >&5
18358
 
$as_echo_n "checking for gsm_decode in -lgsm... " >&6; }
18359
 
if ${ac_cv_lib_gsm_gsm_decode+:} false; then :
18360
 
  $as_echo_n "(cached) " >&6
18361
 
else
18362
 
  ac_check_lib_save_LIBS=$LIBS
18363
 
LIBS="-lgsm  $LIBS"
18364
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18365
 
/* end confdefs.h.  */
18366
 
 
18367
 
/* Override any GCC internal prototype to avoid an error.
18368
 
   Use char because int might match the return type of a GCC
18369
 
   builtin and then its argument prototype would still apply.  */
18370
 
#ifdef __cplusplus
18371
 
extern "C"
18372
 
#endif
18373
 
char gsm_decode ();
18374
 
int
18375
 
main ()
18376
 
{
18377
 
return gsm_decode ();
18378
 
  ;
18379
 
  return 0;
18380
 
}
18381
 
_ACEOF
18382
 
if ac_fn_cxx_try_link "$LINENO"; then :
18383
 
  ac_cv_lib_gsm_gsm_decode=yes
18384
 
else
18385
 
  ac_cv_lib_gsm_gsm_decode=no
18386
 
fi
18387
 
rm -f core conftest.err conftest.$ac_objext \
18388
 
    conftest$ac_exeext conftest.$ac_ext
18389
 
LIBS=$ac_check_lib_save_LIBS
18390
 
fi
18391
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gsm_gsm_decode" >&5
18392
 
$as_echo "$ac_cv_lib_gsm_gsm_decode" >&6; }
18393
 
if test "x$ac_cv_lib_gsm_gsm_decode" = xyes; then :
18394
 
  cat >>confdefs.h <<_ACEOF
18395
 
#define HAVE_LIBGSM 1
18396
 
_ACEOF
18397
 
 
18398
 
  LIBS="-lgsm $LIBS"
18399
 
 
18400
 
else
18401
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18402
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18403
 
as_fn_error $? "libgsm link test failed.   You may use --without-gsm to compile without gsm codec support.
18404
 
See \`config.log' for more details" "$LINENO" 5; }
18405
 
 
18406
 
fi
18407
 
 
18408
 
 
18409
 
 
18410
 
fi
18411
 
 
18412
 
 
18413
 
cat >>confdefs.h <<_ACEOF
18414
 
#define HAVE_GSM `if test "x$with_gsm" = "xyes"; then echo 1; else echo 0; fi`
18415
 
_ACEOF
18416
 
 
18417
 
 if test "x$with_gsm" = "xyes" ; then
18418
 
  BUILD_GSM_TRUE=
18419
 
  BUILD_GSM_FALSE='#'
18420
 
else
18421
 
  BUILD_GSM_TRUE='#'
18422
 
  BUILD_GSM_FALSE=
18423
 
fi
18424
 
 
18425
 
 
18426
 
 
18427
 
# Check whether --with-speex was given.
18428
 
if test "${with_speex+set}" = set; then :
18429
 
  withval=$with_speex;
18430
 
else
18431
 
  with_speex=yes
18432
 
fi
18433
 
 
18434
 
 
18435
 
if test "x$with_speex" != xno; then :
18436
 
  ac_fn_cxx_check_header_mongrel "$LINENO" "speex/speex.h" "ac_cv_header_speex_speex_h" "$ac_includes_default"
18437
 
if test "x$ac_cv_header_speex_speex_h" = xyes; then :
18438
 
 
18439
 
else
18440
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18441
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18442
 
as_fn_error $? "Unable to find the libspeex headers (you may need to install the dev package).  You may use --without-speex to compile without speex codec support.
18443
 
See \`config.log' for more details" "$LINENO" 5; }
18444
 
fi
18445
 
 
18446
 
 
18447
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speex_decode_int in -lspeex" >&5
18448
 
$as_echo_n "checking for speex_decode_int in -lspeex... " >&6; }
18449
 
if ${ac_cv_lib_speex_speex_decode_int+:} false; then :
18450
 
  $as_echo_n "(cached) " >&6
18451
 
else
18452
 
  ac_check_lib_save_LIBS=$LIBS
18453
 
LIBS="-lspeex  $LIBS"
18454
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18455
 
/* end confdefs.h.  */
18456
 
 
18457
 
/* Override any GCC internal prototype to avoid an error.
18458
 
   Use char because int might match the return type of a GCC
18459
 
   builtin and then its argument prototype would still apply.  */
18460
 
#ifdef __cplusplus
18461
 
extern "C"
18462
 
#endif
18463
 
char speex_decode_int ();
18464
 
int
18465
 
main ()
18466
 
{
18467
 
return speex_decode_int ();
18468
 
  ;
18469
 
  return 0;
18470
 
}
18471
 
_ACEOF
18472
 
if ac_fn_cxx_try_link "$LINENO"; then :
18473
 
  ac_cv_lib_speex_speex_decode_int=yes
18474
 
else
18475
 
  ac_cv_lib_speex_speex_decode_int=no
18476
 
fi
18477
 
rm -f core conftest.err conftest.$ac_objext \
18478
 
    conftest$ac_exeext conftest.$ac_ext
18479
 
LIBS=$ac_check_lib_save_LIBS
18480
 
fi
18481
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_speex_speex_decode_int" >&5
18482
 
$as_echo "$ac_cv_lib_speex_speex_decode_int" >&6; }
18483
 
if test "x$ac_cv_lib_speex_speex_decode_int" = xyes; then :
18484
 
  cat >>confdefs.h <<_ACEOF
18485
 
#define HAVE_LIBSPEEX 1
18486
 
_ACEOF
18487
 
 
18488
 
  LIBS="-lspeex $LIBS"
18489
 
 
18490
 
else
18491
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18492
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18493
 
as_fn_error $? "libspeex link test failed.   You may use --without-speex to compile without speex codec support.
18494
 
See \`config.log' for more details" "$LINENO" 5; }
18495
 
fi
18496
 
 
18497
 
 
18498
 
fi
18499
 
 
18500
 
 
18501
 
cat >>confdefs.h <<_ACEOF
18502
 
#define HAVE_SPEEX `if test "x$with_speex" = "xyes"; then echo 1; else echo 0; fi`
18503
 
_ACEOF
18504
 
 
18505
 
 if test "x$with_speex" = "xyes" ; then
18506
 
  BUILD_SPEEX_TRUE=
18507
 
  BUILD_SPEEX_FALSE='#'
18508
 
else
18509
 
  BUILD_SPEEX_TRUE='#'
18510
 
  BUILD_SPEEX_FALSE=
18511
 
fi
18512
 
 
18513
 
 
18514
 
ac_fn_cxx_check_header_mongrel "$LINENO" "speex/speex_preprocess.h" "ac_cv_header_speex_speex_preprocess_h" "$ac_includes_default"
18515
 
if test "x$ac_cv_header_speex_speex_preprocess_h" = xyes; then :
18516
 
 
18517
 
else
18518
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18519
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18520
 
as_fn_error $? "Unable to find the libspeexdsp headers (you may need to install the libspeexdsp-dev package) used for Noise Suppression and Automatic Gain Control.
18521
 
See \`config.log' for more details" "$LINENO" 5; }
18522
 
fi
18523
 
 
18524
 
 
18525
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for speex_preprocess_run in -lspeexdsp" >&5
18526
 
$as_echo_n "checking for speex_preprocess_run in -lspeexdsp... " >&6; }
18527
 
if ${ac_cv_lib_speexdsp_speex_preprocess_run+:} false; then :
18528
 
  $as_echo_n "(cached) " >&6
18529
 
else
18530
 
  ac_check_lib_save_LIBS=$LIBS
18531
 
LIBS="-lspeexdsp  $LIBS"
18532
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18533
 
/* end confdefs.h.  */
18534
 
 
18535
 
/* Override any GCC internal prototype to avoid an error.
18536
 
   Use char because int might match the return type of a GCC
18537
 
   builtin and then its argument prototype would still apply.  */
18538
 
#ifdef __cplusplus
18539
 
extern "C"
18540
 
#endif
18541
 
char speex_preprocess_run ();
18542
 
int
18543
 
main ()
18544
 
{
18545
 
return speex_preprocess_run ();
18546
 
  ;
18547
 
  return 0;
18548
 
}
18549
 
_ACEOF
18550
 
if ac_fn_cxx_try_link "$LINENO"; then :
18551
 
  ac_cv_lib_speexdsp_speex_preprocess_run=yes
18552
 
else
18553
 
  ac_cv_lib_speexdsp_speex_preprocess_run=no
18554
 
fi
18555
 
rm -f core conftest.err conftest.$ac_objext \
18556
 
    conftest$ac_exeext conftest.$ac_ext
18557
 
LIBS=$ac_check_lib_save_LIBS
18558
 
fi
18559
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_speexdsp_speex_preprocess_run" >&5
18560
 
$as_echo "$ac_cv_lib_speexdsp_speex_preprocess_run" >&6; }
18561
 
if test "x$ac_cv_lib_speexdsp_speex_preprocess_run" = xyes; then :
18562
 
  cat >>confdefs.h <<_ACEOF
18563
 
#define HAVE_LIBSPEEXDSP 1
18564
 
_ACEOF
18565
 
 
18566
 
  LIBS="-lspeexdsp $LIBS"
18567
 
 
18568
 
fi
18569
 
 
18570
 
 
18571
 
 
18572
 
# check for libcelt
18573
 
 
18574
 
# Check whether --with-celt was given.
18575
 
if test "${with_celt+set}" = set; then :
18576
 
  withval=$with_celt;
18577
 
else
18578
 
  with_celt=yes
18579
 
fi
18580
 
 
18581
 
 
18582
 
if test "x$with_celt" != xno; then :
18583
 
 
18584
 
pkg_failed=no
18585
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CELT" >&5
18586
 
$as_echo_n "checking for CELT... " >&6; }
18587
 
 
18588
 
if test -n "$CELT_CFLAGS"; then
18589
 
    pkg_cv_CELT_CFLAGS="$CELT_CFLAGS"
18590
 
 elif test -n "$PKG_CONFIG"; then
18591
 
    if test -n "$PKG_CONFIG" && \
18592
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.9.1\""; } >&5
18593
 
  ($PKG_CONFIG --exists --print-errors "celt >= 0.9.1") 2>&5
18594
 
  ac_status=$?
18595
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18596
 
  test $ac_status = 0; }; then
18597
 
  pkg_cv_CELT_CFLAGS=`$PKG_CONFIG --cflags "celt >= 0.9.1" 2>/dev/null`
18598
 
                      test "x$?" != "x0" && pkg_failed=yes
18599
 
else
18600
 
  pkg_failed=yes
18601
 
fi
18602
 
 else
18603
 
    pkg_failed=untried
18604
 
fi
18605
 
if test -n "$CELT_LIBS"; then
18606
 
    pkg_cv_CELT_LIBS="$CELT_LIBS"
18607
 
 elif test -n "$PKG_CONFIG"; then
18608
 
    if test -n "$PKG_CONFIG" && \
18609
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.9.1\""; } >&5
18610
 
  ($PKG_CONFIG --exists --print-errors "celt >= 0.9.1") 2>&5
18611
 
  ac_status=$?
18612
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18613
 
  test $ac_status = 0; }; then
18614
 
  pkg_cv_CELT_LIBS=`$PKG_CONFIG --libs "celt >= 0.9.1" 2>/dev/null`
18615
 
                      test "x$?" != "x0" && pkg_failed=yes
18616
 
else
18617
 
  pkg_failed=yes
18618
 
fi
18619
 
 else
18620
 
    pkg_failed=untried
18621
 
fi
18622
 
 
18623
 
 
18624
 
 
18625
 
if test $pkg_failed = yes; then
18626
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18627
 
$as_echo "no" >&6; }
18628
 
 
18629
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18630
 
        _pkg_short_errors_supported=yes
18631
 
else
18632
 
        _pkg_short_errors_supported=no
18633
 
fi
18634
 
        if test $_pkg_short_errors_supported = yes; then
18635
 
                CELT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "celt >= 0.9.1" 2>&1`
18636
 
        else
18637
 
                CELT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "celt >= 0.9.1" 2>&1`
18638
 
        fi
18639
 
        # Put the nasty error message in config.log where it belongs
18640
 
        echo "$CELT_PKG_ERRORS" >&5
18641
 
 
18642
 
 
18643
 
 
18644
 
pkg_failed=no
18645
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CELT" >&5
18646
 
$as_echo_n "checking for CELT... " >&6; }
18647
 
 
18648
 
if test -n "$CELT_CFLAGS"; then
18649
 
    pkg_cv_CELT_CFLAGS="$CELT_CFLAGS"
18650
 
 elif test -n "$PKG_CONFIG"; then
18651
 
    if test -n "$PKG_CONFIG" && \
18652
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.7.1\""; } >&5
18653
 
  ($PKG_CONFIG --exists --print-errors "celt >= 0.7.1") 2>&5
18654
 
  ac_status=$?
18655
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18656
 
  test $ac_status = 0; }; then
18657
 
  pkg_cv_CELT_CFLAGS=`$PKG_CONFIG --cflags "celt >= 0.7.1" 2>/dev/null`
18658
 
                      test "x$?" != "x0" && pkg_failed=yes
18659
 
else
18660
 
  pkg_failed=yes
18661
 
fi
18662
 
 else
18663
 
    pkg_failed=untried
18664
 
fi
18665
 
if test -n "$CELT_LIBS"; then
18666
 
    pkg_cv_CELT_LIBS="$CELT_LIBS"
18667
 
 elif test -n "$PKG_CONFIG"; then
18668
 
    if test -n "$PKG_CONFIG" && \
18669
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.7.1\""; } >&5
18670
 
  ($PKG_CONFIG --exists --print-errors "celt >= 0.7.1") 2>&5
18671
 
  ac_status=$?
18672
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18673
 
  test $ac_status = 0; }; then
18674
 
  pkg_cv_CELT_LIBS=`$PKG_CONFIG --libs "celt >= 0.7.1" 2>/dev/null`
18675
 
                      test "x$?" != "x0" && pkg_failed=yes
18676
 
else
18677
 
  pkg_failed=yes
18678
 
fi
18679
 
 else
18680
 
    pkg_failed=untried
18681
 
fi
18682
 
 
18683
 
 
18684
 
 
18685
 
if test $pkg_failed = yes; then
18686
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18687
 
$as_echo "no" >&6; }
18688
 
 
18689
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18690
 
        _pkg_short_errors_supported=yes
18691
 
else
18692
 
        _pkg_short_errors_supported=no
18693
 
fi
18694
 
        if test $_pkg_short_errors_supported = yes; then
18695
 
                CELT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "celt >= 0.7.1" 2>&1`
18696
 
        else
18697
 
                CELT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "celt >= 0.7.1" 2>&1`
18698
 
        fi
18699
 
        # Put the nasty error message in config.log where it belongs
18700
 
        echo "$CELT_PKG_ERRORS" >&5
18701
 
 
18702
 
 
18703
 
                { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18704
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18705
 
as_fn_error $? "libcelt link test failed.   You may use --without-celt to compile without celt codec support.
18706
 
See \`config.log' for more details" "$LINENO" 5; }
18707
 
 
18708
 
elif test $pkg_failed = untried; then
18709
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18710
 
$as_echo "no" >&6; }
18711
 
 
18712
 
                { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18713
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18714
 
as_fn_error $? "libcelt link test failed.   You may use --without-celt to compile without celt codec support.
18715
 
See \`config.log' for more details" "$LINENO" 5; }
18716
 
 
18717
 
else
18718
 
        CELT_CFLAGS=$pkg_cv_CELT_CFLAGS
18719
 
        CELT_LIBS=$pkg_cv_CELT_LIBS
18720
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18721
 
$as_echo "yes" >&6; }
18722
 
 
18723
 
                with_celt_71=yes; { $as_echo "$as_me:${as_lineno-$LINENO}: Using celt 0.7.1" >&5
18724
 
$as_echo "$as_me: Using celt 0.7.1" >&6;}
18725
 
 
18726
 
fi
18727
 
 
18728
 
elif test $pkg_failed = untried; then
18729
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18730
 
$as_echo "no" >&6; }
18731
 
 
18732
 
 
18733
 
pkg_failed=no
18734
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CELT" >&5
18735
 
$as_echo_n "checking for CELT... " >&6; }
18736
 
 
18737
 
if test -n "$CELT_CFLAGS"; then
18738
 
    pkg_cv_CELT_CFLAGS="$CELT_CFLAGS"
18739
 
 elif test -n "$PKG_CONFIG"; then
18740
 
    if test -n "$PKG_CONFIG" && \
18741
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.7.1\""; } >&5
18742
 
  ($PKG_CONFIG --exists --print-errors "celt >= 0.7.1") 2>&5
18743
 
  ac_status=$?
18744
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18745
 
  test $ac_status = 0; }; then
18746
 
  pkg_cv_CELT_CFLAGS=`$PKG_CONFIG --cflags "celt >= 0.7.1" 2>/dev/null`
18747
 
                      test "x$?" != "x0" && pkg_failed=yes
18748
 
else
18749
 
  pkg_failed=yes
18750
 
fi
18751
 
 else
18752
 
    pkg_failed=untried
18753
 
fi
18754
 
if test -n "$CELT_LIBS"; then
18755
 
    pkg_cv_CELT_LIBS="$CELT_LIBS"
18756
 
 elif test -n "$PKG_CONFIG"; then
18757
 
    if test -n "$PKG_CONFIG" && \
18758
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.7.1\""; } >&5
18759
 
  ($PKG_CONFIG --exists --print-errors "celt >= 0.7.1") 2>&5
18760
 
  ac_status=$?
18761
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18762
 
  test $ac_status = 0; }; then
18763
 
  pkg_cv_CELT_LIBS=`$PKG_CONFIG --libs "celt >= 0.7.1" 2>/dev/null`
18764
 
                      test "x$?" != "x0" && pkg_failed=yes
18765
 
else
18766
 
  pkg_failed=yes
18767
 
fi
18768
 
 else
18769
 
    pkg_failed=untried
18770
 
fi
18771
 
 
18772
 
 
18773
 
 
18774
 
if test $pkg_failed = yes; then
18775
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18776
 
$as_echo "no" >&6; }
18777
 
 
18778
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18779
 
        _pkg_short_errors_supported=yes
18780
 
else
18781
 
        _pkg_short_errors_supported=no
18782
 
fi
18783
 
        if test $_pkg_short_errors_supported = yes; then
18784
 
                CELT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "celt >= 0.7.1" 2>&1`
18785
 
        else
18786
 
                CELT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "celt >= 0.7.1" 2>&1`
18787
 
        fi
18788
 
        # Put the nasty error message in config.log where it belongs
18789
 
        echo "$CELT_PKG_ERRORS" >&5
18790
 
 
18791
 
 
18792
 
                { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18793
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18794
 
as_fn_error $? "libcelt link test failed.   You may use --without-celt to compile without celt codec support.
18795
 
See \`config.log' for more details" "$LINENO" 5; }
18796
 
 
18797
 
elif test $pkg_failed = untried; then
18798
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18799
 
$as_echo "no" >&6; }
18800
 
 
18801
 
                { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18802
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18803
 
as_fn_error $? "libcelt link test failed.   You may use --without-celt to compile without celt codec support.
18804
 
See \`config.log' for more details" "$LINENO" 5; }
18805
 
 
18806
 
else
18807
 
        CELT_CFLAGS=$pkg_cv_CELT_CFLAGS
18808
 
        CELT_LIBS=$pkg_cv_CELT_LIBS
18809
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18810
 
$as_echo "yes" >&6; }
18811
 
 
18812
 
                with_celt_71=yes; { $as_echo "$as_me:${as_lineno-$LINENO}: Using celt 0.7.1" >&5
18813
 
$as_echo "$as_me: Using celt 0.7.1" >&6;}
18814
 
 
18815
 
fi
18816
 
 
18817
 
else
18818
 
        CELT_CFLAGS=$pkg_cv_CELT_CFLAGS
18819
 
        CELT_LIBS=$pkg_cv_CELT_LIBS
18820
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18821
 
$as_echo "yes" >&6; }
18822
 
 
18823
 
                        with_celt_91=yes; { $as_echo "$as_me:${as_lineno-$LINENO}: Using celt 0.9.1" >&5
18824
 
$as_echo "$as_me: Using celt 0.9.1" >&6;}
18825
 
 
18826
 
fi
18827
 
 
18828
 
fi
18829
 
 
18830
 
# AC_SUBST(BUILD_CELT)
18831
 
# AM_CONDITIONAL(BUILD_CELT, test "x$with_celt" = "xyes" )
18832
 
 if test "x$with_celt_91" = "xyes" ; then
18833
 
  BUILD_CELT_91_TRUE=
18834
 
  BUILD_CELT_91_FALSE='#'
18835
 
else
18836
 
  BUILD_CELT_91_TRUE='#'
18837
 
  BUILD_CELT_91_FALSE=
18838
 
fi
18839
 
 
18840
 
 if test "x$with_celt_71" = "xyes" ; then
18841
 
  BUILD_CELT_71_TRUE=
18842
 
  BUILD_CELT_71_FALSE='#'
18843
 
else
18844
 
  BUILD_CELT_71_TRUE='#'
18845
 
  BUILD_CELT_71_FALSE=
18846
 
fi
18847
 
 
18848
 
 
18849
 
 
18850
 
 
18851
 
# Check whether --with-iax2 was given.
18852
 
if test "${with_iax2+set}" = set; then :
18853
 
  withval=$with_iax2;
18854
 
else
18855
 
  with_iax2=yes
18856
 
fi
18857
 
 
18858
 
 
18859
 
 
18860
 
cat >>confdefs.h <<_ACEOF
18861
 
#define HAVE_IAX `if test "x$with_iax2" = "xyes"; then echo 1; else echo 0;fi`
18862
 
_ACEOF
18863
 
 
18864
 
 if test "x$with_iax2" = "xyes" ; then
18865
 
  USE_IAX_TRUE=
18866
 
  USE_IAX_FALSE='#'
18867
 
else
18868
 
  USE_IAX_TRUE='#'
18869
 
  USE_IAX_FALSE=
18870
 
fi
18871
 
 
18872
 
 
18873
 
 
18874
 
# Check whether --with-networkmanager was given.
18875
 
if test "${with_networkmanager+set}" = set; then :
18876
 
  withval=$with_networkmanager;
18877
 
else
18878
 
  with_networkmanager=yes
18879
 
fi
18880
 
 
18881
 
 
18882
 
 if test "x$with_networkmanager" = "xyes" ; then
18883
 
  USE_NETWORKMANAGER_TRUE=
18884
 
  USE_NETWORKMANAGER_FALSE='#'
18885
 
else
18886
 
  USE_NETWORKMANAGER_TRUE='#'
18887
 
  USE_NETWORKMANAGER_FALSE=
18888
 
fi
18889
 
 
18890
 
 
18891
 
# check for doxygen, mostly stolen from http://log4cpp.sourceforge.net/
18892
 
# ----------------------------------------------------------------------------
18893
 
 
18894
 
# Acutally perform the doxygen check
18895
 
 
18896
 
    # Check whether --enable-doxygen was given.
18897
 
if test "${enable_doxygen+set}" = set; then :
18898
 
  enableval=$enable_doxygen;
18899
 
fi
18900
 
 
18901
 
    # Check whether --enable-dot was given.
18902
 
if test "${enable_dot+set}" = set; then :
18903
 
  enableval=$enable_dot;
18904
 
fi
18905
 
 
18906
 
    if test "x$enable_doxygen" = xyes; then
18907
 
        # Extract the first word of "doxygen", so it can be a program name with args.
18908
 
set dummy doxygen; ac_word=$2
18909
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18910
 
$as_echo_n "checking for $ac_word... " >&6; }
18911
 
if ${ac_cv_path_DOXYGEN+:} false; then :
18912
 
  $as_echo_n "(cached) " >&6
18913
 
else
18914
 
  case $DOXYGEN in
18915
 
  [\\/]* | ?:[\\/]*)
18916
 
  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
18917
 
  ;;
18918
 
  *)
18919
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18920
 
for as_dir in $PATH
18921
 
do
18922
 
  IFS=$as_save_IFS
18923
 
  test -z "$as_dir" && as_dir=.
18924
 
    for ac_exec_ext in '' $ac_executable_extensions; do
18925
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18926
 
    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
18927
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18928
 
    break 2
18929
 
  fi
18930
 
done
18931
 
  done
18932
 
IFS=$as_save_IFS
18933
 
 
18934
 
  ;;
18935
 
esac
18936
 
fi
18937
 
DOXYGEN=$ac_cv_path_DOXYGEN
18938
 
if test -n "$DOXYGEN"; then
18939
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
18940
 
$as_echo "$DOXYGEN" >&6; }
18941
 
else
18942
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18943
 
$as_echo "no" >&6; }
18944
 
fi
18945
 
 
18946
 
 
18947
 
        test x$DOXYGEN = x && as_fn_error $? "could not find doxygen" "$LINENO" 5
18948
 
        # Extract the first word of "dot", so it can be a program name with args.
18949
 
set dummy dot; ac_word=$2
18950
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18951
 
$as_echo_n "checking for $ac_word... " >&6; }
18952
 
if ${ac_cv_path_DOT+:} false; then :
18953
 
  $as_echo_n "(cached) " >&6
18954
 
else
18955
 
  case $DOT in
18956
 
  [\\/]* | ?:[\\/]*)
18957
 
  ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18958
 
  ;;
18959
 
  *)
18960
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18961
 
for as_dir in $PATH
18962
 
do
18963
 
  IFS=$as_save_IFS
18964
 
  test -z "$as_dir" && as_dir=.
18965
 
    for ac_exec_ext in '' $ac_executable_extensions; do
18966
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18967
 
    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18968
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18969
 
    break 2
18970
 
  fi
18971
 
done
18972
 
  done
18973
 
IFS=$as_save_IFS
18974
 
 
18975
 
  ;;
18976
 
esac
18977
 
fi
18978
 
DOT=$ac_cv_path_DOT
18979
 
if test -n "$DOT"; then
18980
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
18981
 
$as_echo "$DOT" >&6; }
18982
 
else
18983
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18984
 
$as_echo "no" >&6; }
18985
 
fi
18986
 
 
18987
 
 
18988
 
        test x$DOT = x -a "x$enable_dot" = xyes && as_fn_error $? "could not find dot" "$LINENO" 5
18989
 
    fi
18990
 
         if test x$DOXYGEN = xyes; then
18991
 
  ENABLE_DOXYGEN_TRUE=
18992
 
  ENABLE_DOXYGEN_FALSE='#'
18993
 
else
18994
 
  ENABLE_DOXYGEN_TRUE='#'
18995
 
  ENABLE_DOXYGEN_FALSE=
18996
 
fi
18997
 
 
18998
 
 
18999
 
 
19000
 
# Go!
19001
 
cat >confcache <<\_ACEOF
19002
 
# This file is a shell script that caches the results of configure
19003
 
# tests run on this system so they can be shared between configure
19004
 
# scripts and configure runs, see configure's option --config-cache.
19005
 
# It is not useful on other systems.  If it contains results you don't
19006
 
# want to keep, you may remove or edit it.
19007
 
#
19008
 
# config.status only pays attention to the cache file if you give it
19009
 
# the --recheck option to rerun configure.
19010
 
#
19011
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
19012
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
19013
 
# following values.
19014
 
 
19015
 
_ACEOF
19016
 
 
19017
 
# The following way of writing the cache mishandles newlines in values,
19018
 
# but we know of no workaround that is simple, portable, and efficient.
19019
 
# So, we kill variables containing newlines.
19020
 
# Ultrix sh set writes to stderr and can't be redirected directly,
19021
 
# and sets the high bit in the cache file unless we assign to the vars.
19022
 
(
19023
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19024
 
    eval ac_val=\$$ac_var
19025
 
    case $ac_val in #(
19026
 
    *${as_nl}*)
19027
 
      case $ac_var in #(
19028
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19029
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19030
 
      esac
19031
 
      case $ac_var in #(
19032
 
      _ | IFS | as_nl) ;; #(
19033
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19034
 
      *) { eval $ac_var=; unset $ac_var;} ;;
19035
 
      esac ;;
19036
 
    esac
19037
 
  done
19038
 
 
19039
 
  (set) 2>&1 |
19040
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
19041
 
    *${as_nl}ac_space=\ *)
19042
 
      # `set' does not quote correctly, so add quotes: double-quote
19043
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
19044
 
      sed -n \
19045
 
        "s/'/'\\\\''/g;
19046
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19047
 
      ;; #(
19048
 
    *)
19049
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
19050
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19051
 
      ;;
19052
 
    esac |
19053
 
    sort
19054
 
) |
19055
 
  sed '
19056
 
     /^ac_cv_env_/b end
19057
 
     t clear
19058
 
     :clear
19059
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19060
 
     t end
19061
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19062
 
     :end' >>confcache
19063
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19064
 
  if test -w "$cache_file"; then
19065
 
    if test "x$cache_file" != "x/dev/null"; then
19066
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19067
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
19068
 
      if test ! -f "$cache_file" || test -h "$cache_file"; then
19069
 
        cat confcache >"$cache_file"
19070
 
      else
19071
 
        case $cache_file in #(
19072
 
        */* | ?:*)
19073
 
          mv -f confcache "$cache_file"$$ &&
19074
 
          mv -f "$cache_file"$$ "$cache_file" ;; #(
19075
 
        *)
19076
 
          mv -f confcache "$cache_file" ;;
19077
 
        esac
19078
 
      fi
19079
 
    fi
19080
 
  else
19081
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19082
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19083
 
  fi
19084
 
fi
19085
 
rm -f confcache
19086
 
 
19087
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
19088
 
# Let make expand exec_prefix.
19089
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19090
 
 
19091
 
DEFS=-DHAVE_CONFIG_H
19092
 
 
19093
 
ac_libobjs=
19094
 
ac_ltlibobjs=
19095
 
U=
19096
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19097
 
  # 1. Remove the extension, and $U if already installed.
19098
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19099
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19100
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
19101
 
  #    will be set to the directory where LIBOBJS objects are built.
19102
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19103
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19104
 
done
19105
 
LIBOBJS=$ac_libobjs
19106
 
 
19107
 
LTLIBOBJS=$ac_ltlibobjs
19108
 
 
19109
 
 
19110
 
 if test -n "$EXEEXT"; then
19111
 
  am__EXEEXT_TRUE=
19112
 
  am__EXEEXT_FALSE='#'
19113
 
else
19114
 
  am__EXEEXT_TRUE='#'
19115
 
  am__EXEEXT_FALSE=
19116
 
fi
19117
 
 
19118
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19119
 
  as_fn_error $? "conditional \"AMDEP\" was never defined.
19120
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19121
 
fi
19122
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19123
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19124
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19125
 
fi
19126
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19127
 
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19128
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19129
 
fi
19130
 
if test -z "${BUILD_TEST_TRUE}" && test -z "${BUILD_TEST_FALSE}"; then
19131
 
  as_fn_error $? "conditional \"BUILD_TEST\" was never defined.
19132
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19133
 
fi
19134
 
if test -z "${BUILD_TEST_TRUE}" && test -z "${BUILD_TEST_FALSE}"; then
19135
 
  as_fn_error $? "conditional \"BUILD_TEST\" was never defined.
19136
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19137
 
fi
19138
 
if test -z "${BUILD_GSM_TRUE}" && test -z "${BUILD_GSM_FALSE}"; then
19139
 
  as_fn_error $? "conditional \"BUILD_GSM\" was never defined.
19140
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19141
 
fi
19142
 
if test -z "${BUILD_SPEEX_TRUE}" && test -z "${BUILD_SPEEX_FALSE}"; then
19143
 
  as_fn_error $? "conditional \"BUILD_SPEEX\" was never defined.
19144
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19145
 
fi
19146
 
if test -z "${BUILD_CELT_91_TRUE}" && test -z "${BUILD_CELT_91_FALSE}"; then
19147
 
  as_fn_error $? "conditional \"BUILD_CELT_91\" was never defined.
19148
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19149
 
fi
19150
 
if test -z "${BUILD_CELT_71_TRUE}" && test -z "${BUILD_CELT_71_FALSE}"; then
19151
 
  as_fn_error $? "conditional \"BUILD_CELT_71\" was never defined.
19152
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19153
 
fi
19154
 
if test -z "${USE_IAX_TRUE}" && test -z "${USE_IAX_FALSE}"; then
19155
 
  as_fn_error $? "conditional \"USE_IAX\" was never defined.
19156
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19157
 
fi
19158
 
if test -z "${USE_NETWORKMANAGER_TRUE}" && test -z "${USE_NETWORKMANAGER_FALSE}"; then
19159
 
  as_fn_error $? "conditional \"USE_NETWORKMANAGER\" was never defined.
19160
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19161
 
fi
19162
 
if test -z "${ENABLE_DOXYGEN_TRUE}" && test -z "${ENABLE_DOXYGEN_FALSE}"; then
19163
 
  as_fn_error $? "conditional \"ENABLE_DOXYGEN\" was never defined.
19164
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19165
 
fi
19166
 
 
19167
 
: "${CONFIG_STATUS=./config.status}"
19168
 
ac_write_fail=0
19169
 
ac_clean_files_save=$ac_clean_files
19170
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19171
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19172
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19173
 
as_write_fail=0
19174
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19175
 
#! $SHELL
19176
 
# Generated by $as_me.
19177
 
# Run this file to recreate the current configuration.
19178
 
# Compiler output produced by configure, useful for debugging
19179
 
# configure, is in config.log if it exists.
19180
 
 
19181
 
debug=false
19182
 
ac_cs_recheck=false
19183
 
ac_cs_silent=false
19184
 
 
19185
 
SHELL=\${CONFIG_SHELL-$SHELL}
19186
 
export SHELL
19187
 
_ASEOF
19188
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19189
 
## -------------------- ##
19190
 
## M4sh Initialization. ##
19191
 
## -------------------- ##
19192
 
 
19193
 
# Be more Bourne compatible
19194
 
DUALCASE=1; export DUALCASE # for MKS sh
19195
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19196
 
  emulate sh
19197
 
  NULLCMD=:
19198
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19199
 
  # is contrary to our usage.  Disable this feature.
19200
 
  alias -g '${1+"$@"}'='"$@"'
19201
 
  setopt NO_GLOB_SUBST
19202
 
else
19203
 
  case `(set -o) 2>/dev/null` in #(
19204
 
  *posix*) :
19205
 
    set -o posix ;; #(
19206
 
  *) :
19207
 
     ;;
19208
 
esac
19209
 
fi
19210
 
 
19211
 
 
19212
 
as_nl='
19213
 
'
19214
 
export as_nl
19215
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
19216
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19217
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19218
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19219
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
19220
 
# but without wasting forks for bash or zsh.
19221
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
19222
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19223
 
  as_echo='print -r --'
19224
 
  as_echo_n='print -rn --'
19225
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19226
 
  as_echo='printf %s\n'
19227
 
  as_echo_n='printf %s'
19228
 
else
19229
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19230
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19231
 
    as_echo_n='/usr/ucb/echo -n'
19232
 
  else
19233
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19234
 
    as_echo_n_body='eval
19235
 
      arg=$1;
19236
 
      case $arg in #(
19237
 
      *"$as_nl"*)
19238
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
19239
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19240
 
      esac;
19241
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19242
 
    '
19243
 
    export as_echo_n_body
19244
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
19245
 
  fi
19246
 
  export as_echo_body
19247
 
  as_echo='sh -c $as_echo_body as_echo'
19248
 
fi
19249
 
 
19250
 
# The user is always right.
19251
 
if test "${PATH_SEPARATOR+set}" != set; then
19252
 
  PATH_SEPARATOR=:
19253
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19254
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19255
 
      PATH_SEPARATOR=';'
19256
 
  }
19257
 
fi
19258
 
 
19259
 
 
19260
 
# IFS
19261
 
# We need space, tab and new line, in precisely that order.  Quoting is
19262
 
# there to prevent editors from complaining about space-tab.
19263
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
19264
 
# splitting by setting IFS to empty value.)
19265
 
IFS=" ""        $as_nl"
19266
 
 
19267
 
# Find who we are.  Look in the path if we contain no directory separator.
19268
 
as_myself=
19269
 
case $0 in #((
19270
 
  *[\\/]* ) as_myself=$0 ;;
19271
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19272
 
for as_dir in $PATH
19273
 
do
19274
 
  IFS=$as_save_IFS
19275
 
  test -z "$as_dir" && as_dir=.
19276
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19277
 
  done
19278
 
IFS=$as_save_IFS
19279
 
 
19280
 
     ;;
19281
 
esac
19282
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
19283
 
# in which case we are not to be found in the path.
19284
 
if test "x$as_myself" = x; then
19285
 
  as_myself=$0
19286
 
fi
19287
 
if test ! -f "$as_myself"; then
19288
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19289
 
  exit 1
19290
 
fi
19291
 
 
19292
 
# Unset variables that we do not need and which cause bugs (e.g. in
19293
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
19294
 
# suppresses any "Segmentation fault" message there.  '((' could
19295
 
# trigger a bug in pdksh 5.2.14.
19296
 
for as_var in BASH_ENV ENV MAIL MAILPATH
19297
 
do eval test x\${$as_var+set} = xset \
19298
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19299
 
done
19300
 
PS1='$ '
19301
 
PS2='> '
19302
 
PS4='+ '
19303
 
 
19304
 
# NLS nuisances.
19305
 
LC_ALL=C
19306
 
export LC_ALL
19307
 
LANGUAGE=C
19308
 
export LANGUAGE
19309
 
 
19310
 
# CDPATH.
19311
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19312
 
 
19313
 
 
19314
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
19315
 
# ----------------------------------------
19316
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19317
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19318
 
# script with STATUS, using 1 if that was 0.
19319
 
as_fn_error ()
19320
 
{
19321
 
  as_status=$1; test $as_status -eq 0 && as_status=1
19322
 
  if test "$4"; then
19323
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19324
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19325
 
  fi
19326
 
  $as_echo "$as_me: error: $2" >&2
19327
 
  as_fn_exit $as_status
19328
 
} # as_fn_error
19329
 
 
19330
 
 
19331
 
# as_fn_set_status STATUS
19332
 
# -----------------------
19333
 
# Set $? to STATUS, without forking.
19334
 
as_fn_set_status ()
19335
 
{
19336
 
  return $1
19337
 
} # as_fn_set_status
19338
 
 
19339
 
# as_fn_exit STATUS
19340
 
# -----------------
19341
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19342
 
as_fn_exit ()
19343
 
{
19344
 
  set +e
19345
 
  as_fn_set_status $1
19346
 
  exit $1
19347
 
} # as_fn_exit
19348
 
 
19349
 
# as_fn_unset VAR
19350
 
# ---------------
19351
 
# Portably unset VAR.
19352
 
as_fn_unset ()
19353
 
{
19354
 
  { eval $1=; unset $1;}
19355
 
}
19356
 
as_unset=as_fn_unset
19357
 
# as_fn_append VAR VALUE
19358
 
# ----------------------
19359
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
19360
 
# advantage of any shell optimizations that allow amortized linear growth over
19361
 
# repeated appends, instead of the typical quadratic growth present in naive
19362
 
# implementations.
19363
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19364
 
  eval 'as_fn_append ()
19365
 
  {
19366
 
    eval $1+=\$2
19367
 
  }'
19368
 
else
19369
 
  as_fn_append ()
19370
 
  {
19371
 
    eval $1=\$$1\$2
19372
 
  }
19373
 
fi # as_fn_append
19374
 
 
19375
 
# as_fn_arith ARG...
19376
 
# ------------------
19377
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
19378
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
19379
 
# must be portable across $(()) and expr.
19380
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19381
 
  eval 'as_fn_arith ()
19382
 
  {
19383
 
    as_val=$(( $* ))
19384
 
  }'
19385
 
else
19386
 
  as_fn_arith ()
19387
 
  {
19388
 
    as_val=`expr "$@" || test $? -eq 1`
19389
 
  }
19390
 
fi # as_fn_arith
19391
 
 
19392
 
 
19393
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
19394
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
19395
 
  as_expr=expr
19396
 
else
19397
 
  as_expr=false
19398
 
fi
19399
 
 
19400
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19401
 
  as_basename=basename
19402
 
else
19403
 
  as_basename=false
19404
 
fi
19405
 
 
19406
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19407
 
  as_dirname=dirname
19408
 
else
19409
 
  as_dirname=false
19410
 
fi
19411
 
 
19412
 
as_me=`$as_basename -- "$0" ||
19413
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19414
 
         X"$0" : 'X\(//\)$' \| \
19415
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19416
 
$as_echo X/"$0" |
19417
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
19418
 
            s//\1/
19419
 
            q
19420
 
          }
19421
 
          /^X\/\(\/\/\)$/{
19422
 
            s//\1/
19423
 
            q
19424
 
          }
19425
 
          /^X\/\(\/\).*/{
19426
 
            s//\1/
19427
 
            q
19428
 
          }
19429
 
          s/.*/./; q'`
19430
 
 
19431
 
# Avoid depending upon Character Ranges.
19432
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19433
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19434
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19435
 
as_cr_digits='0123456789'
19436
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
19437
 
 
19438
 
ECHO_C= ECHO_N= ECHO_T=
19439
 
case `echo -n x` in #(((((
19440
 
-n*)
19441
 
  case `echo 'xy\c'` in
19442
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
19443
 
  xy)  ECHO_C='\c';;
19444
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
19445
 
       ECHO_T=' ';;
19446
 
  esac;;
19447
 
*)
19448
 
  ECHO_N='-n';;
19449
 
esac
19450
 
 
19451
 
rm -f conf$$ conf$$.exe conf$$.file
19452
 
if test -d conf$$.dir; then
19453
 
  rm -f conf$$.dir/conf$$.file
19454
 
else
19455
 
  rm -f conf$$.dir
19456
 
  mkdir conf$$.dir 2>/dev/null
19457
 
fi
19458
 
if (echo >conf$$.file) 2>/dev/null; then
19459
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
19460
 
    as_ln_s='ln -s'
19461
 
    # ... but there are two gotchas:
19462
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19463
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19464
 
    # In both cases, we have to default to `cp -p'.
19465
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19466
 
      as_ln_s='cp -p'
19467
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
19468
 
    as_ln_s=ln
19469
 
  else
19470
 
    as_ln_s='cp -p'
19471
 
  fi
19472
 
else
19473
 
  as_ln_s='cp -p'
19474
 
fi
19475
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19476
 
rmdir conf$$.dir 2>/dev/null
19477
 
 
19478
 
 
19479
 
# as_fn_mkdir_p
19480
 
# -------------
19481
 
# Create "$as_dir" as a directory, including parents if necessary.
19482
 
as_fn_mkdir_p ()
19483
 
{
19484
 
 
19485
 
  case $as_dir in #(
19486
 
  -*) as_dir=./$as_dir;;
19487
 
  esac
19488
 
  test -d "$as_dir" || eval $as_mkdir_p || {
19489
 
    as_dirs=
19490
 
    while :; do
19491
 
      case $as_dir in #(
19492
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19493
 
      *) as_qdir=$as_dir;;
19494
 
      esac
19495
 
      as_dirs="'$as_qdir' $as_dirs"
19496
 
      as_dir=`$as_dirname -- "$as_dir" ||
19497
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19498
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
19499
 
         X"$as_dir" : 'X\(//\)$' \| \
19500
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19501
 
$as_echo X"$as_dir" |
19502
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19503
 
            s//\1/
19504
 
            q
19505
 
          }
19506
 
          /^X\(\/\/\)[^/].*/{
19507
 
            s//\1/
19508
 
            q
19509
 
          }
19510
 
          /^X\(\/\/\)$/{
19511
 
            s//\1/
19512
 
            q
19513
 
          }
19514
 
          /^X\(\/\).*/{
19515
 
            s//\1/
19516
 
            q
19517
 
          }
19518
 
          s/.*/./; q'`
19519
 
      test -d "$as_dir" && break
19520
 
    done
19521
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
19522
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19523
 
 
19524
 
 
19525
 
} # as_fn_mkdir_p
19526
 
if mkdir -p . 2>/dev/null; then
19527
 
  as_mkdir_p='mkdir -p "$as_dir"'
19528
 
else
19529
 
  test -d ./-p && rmdir ./-p
19530
 
  as_mkdir_p=false
19531
 
fi
19532
 
 
19533
 
if test -x / >/dev/null 2>&1; then
19534
 
  as_test_x='test -x'
19535
 
else
19536
 
  if ls -dL / >/dev/null 2>&1; then
19537
 
    as_ls_L_option=L
19538
 
  else
19539
 
    as_ls_L_option=
19540
 
  fi
19541
 
  as_test_x='
19542
 
    eval sh -c '\''
19543
 
      if test -d "$1"; then
19544
 
        test -d "$1/.";
19545
 
      else
19546
 
        case $1 in #(
19547
 
        -*)set "./$1";;
19548
 
        esac;
19549
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19550
 
        ???[sx]*):;;*)false;;esac;fi
19551
 
    '\'' sh
19552
 
  '
19553
 
fi
19554
 
as_executable_p=$as_test_x
19555
 
 
19556
 
# Sed expression to map a string onto a valid CPP name.
19557
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19558
 
 
19559
 
# Sed expression to map a string onto a valid variable name.
19560
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19561
 
 
19562
 
 
19563
 
exec 6>&1
19564
 
## ----------------------------------- ##
19565
 
## Main body of $CONFIG_STATUS script. ##
19566
 
## ----------------------------------- ##
19567
 
_ASEOF
19568
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19569
 
 
19570
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19571
 
# Save the log message, to keep $0 and so on meaningful, and to
19572
 
# report actual input values of CONFIG_FILES etc. instead of their
19573
 
# values after options handling.
19574
 
ac_log="
19575
 
This file was extended by sflphone $as_me 1.0.1, which was
19576
 
generated by GNU Autoconf 2.68.  Invocation command line was
19577
 
 
19578
 
  CONFIG_FILES    = $CONFIG_FILES
19579
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
19580
 
  CONFIG_LINKS    = $CONFIG_LINKS
19581
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
19582
 
  $ $0 $@
19583
 
 
19584
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
19585
 
"
19586
 
 
19587
 
_ACEOF
19588
 
 
19589
 
case $ac_config_files in *"
19590
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
19591
 
esac
19592
 
 
19593
 
case $ac_config_headers in *"
19594
 
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19595
 
esac
19596
 
 
19597
 
 
19598
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19599
 
# Files that config.status was made for.
19600
 
config_files="$ac_config_files"
19601
 
config_headers="$ac_config_headers"
19602
 
config_commands="$ac_config_commands"
19603
 
 
19604
 
_ACEOF
19605
 
 
19606
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19607
 
ac_cs_usage="\
19608
 
\`$as_me' instantiates files and other configuration actions
19609
 
from templates according to the current configuration.  Unless the files
19610
 
and actions are specified as TAGs, all are instantiated by default.
19611
 
 
19612
 
Usage: $0 [OPTION]... [TAG]...
19613
 
 
19614
 
  -h, --help       print this help, then exit
19615
 
  -V, --version    print version number and configuration settings, then exit
19616
 
      --config     print configuration, then exit
19617
 
  -q, --quiet, --silent
19618
 
                   do not print progress messages
19619
 
  -d, --debug      don't remove temporary files
19620
 
      --recheck    update $as_me by reconfiguring in the same conditions
19621
 
      --file=FILE[:TEMPLATE]
19622
 
                   instantiate the configuration file FILE
19623
 
      --header=FILE[:TEMPLATE]
19624
 
                   instantiate the configuration header FILE
19625
 
 
19626
 
Configuration files:
19627
 
$config_files
19628
 
 
19629
 
Configuration headers:
19630
 
$config_headers
19631
 
 
19632
 
Configuration commands:
19633
 
$config_commands
19634
 
 
19635
 
Report bugs to <sflphoneteam@savoirfairelinux.com>."
19636
 
 
19637
 
_ACEOF
19638
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19639
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19640
 
ac_cs_version="\\
19641
 
sflphone config.status 1.0.1
19642
 
configured by $0, generated by GNU Autoconf 2.68,
19643
 
  with options \\"\$ac_cs_config\\"
19644
 
 
19645
 
Copyright (C) 2010 Free Software Foundation, Inc.
19646
 
This config.status script is free software; the Free Software Foundation
19647
 
gives unlimited permission to copy, distribute and modify it."
19648
 
 
19649
 
ac_pwd='$ac_pwd'
19650
 
srcdir='$srcdir'
19651
 
INSTALL='$INSTALL'
19652
 
MKDIR_P='$MKDIR_P'
19653
 
AWK='$AWK'
19654
 
test -n "\$AWK" || AWK=awk
19655
 
_ACEOF
19656
 
 
19657
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19658
 
# The default lists apply if the user does not specify any file.
19659
 
ac_need_defaults=:
19660
 
while test $# != 0
19661
 
do
19662
 
  case $1 in
19663
 
  --*=?*)
19664
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
19665
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19666
 
    ac_shift=:
19667
 
    ;;
19668
 
  --*=)
19669
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
19670
 
    ac_optarg=
19671
 
    ac_shift=:
19672
 
    ;;
19673
 
  *)
19674
 
    ac_option=$1
19675
 
    ac_optarg=$2
19676
 
    ac_shift=shift
19677
 
    ;;
19678
 
  esac
19679
 
 
19680
 
  case $ac_option in
19681
 
  # Handling of the options.
19682
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19683
 
    ac_cs_recheck=: ;;
19684
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19685
 
    $as_echo "$ac_cs_version"; exit ;;
19686
 
  --config | --confi | --conf | --con | --co | --c )
19687
 
    $as_echo "$ac_cs_config"; exit ;;
19688
 
  --debug | --debu | --deb | --de | --d | -d )
19689
 
    debug=: ;;
19690
 
  --file | --fil | --fi | --f )
19691
 
    $ac_shift
19692
 
    case $ac_optarg in
19693
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19694
 
    '') as_fn_error $? "missing file argument" ;;
19695
 
    esac
19696
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
19697
 
    ac_need_defaults=false;;
19698
 
  --header | --heade | --head | --hea )
19699
 
    $ac_shift
19700
 
    case $ac_optarg in
19701
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19702
 
    esac
19703
 
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19704
 
    ac_need_defaults=false;;
19705
 
  --he | --h)
19706
 
    # Conflict between --help and --header
19707
 
    as_fn_error $? "ambiguous option: \`$1'
19708
 
Try \`$0 --help' for more information.";;
19709
 
  --help | --hel | -h )
19710
 
    $as_echo "$ac_cs_usage"; exit ;;
19711
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19712
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
19713
 
    ac_cs_silent=: ;;
19714
 
 
19715
 
  # This is an error.
19716
 
  -*) as_fn_error $? "unrecognized option: \`$1'
19717
 
Try \`$0 --help' for more information." ;;
19718
 
 
19719
 
  *) as_fn_append ac_config_targets " $1"
19720
 
     ac_need_defaults=false ;;
19721
 
 
19722
 
  esac
19723
 
  shift
19724
 
done
19725
 
 
19726
 
ac_configure_extra_args=
19727
 
 
19728
 
if $ac_cs_silent; then
19729
 
  exec 6>/dev/null
19730
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
19731
 
fi
19732
 
 
19733
 
_ACEOF
19734
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19735
 
if \$ac_cs_recheck; then
19736
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19737
 
  shift
19738
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19739
 
  CONFIG_SHELL='$SHELL'
19740
 
  export CONFIG_SHELL
19741
 
  exec "\$@"
19742
 
fi
19743
 
 
19744
 
_ACEOF
19745
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19746
 
exec 5>>config.log
19747
 
{
19748
 
  echo
19749
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19750
 
## Running $as_me. ##
19751
 
_ASBOX
19752
 
  $as_echo "$ac_log"
19753
 
} >&5
19754
 
 
19755
 
_ACEOF
19756
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19757
 
#
19758
 
# INIT-COMMANDS
19759
 
#
19760
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19761
 
 
19762
 
 
19763
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
19764
 
# if CDPATH is set.
19765
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19766
 
 
19767
 
sed_quote_subst='$sed_quote_subst'
19768
 
double_quote_subst='$double_quote_subst'
19769
 
delay_variable_subst='$delay_variable_subst'
19770
 
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
19771
 
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
19772
 
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
19773
 
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
19774
 
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
19775
 
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
19776
 
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
19777
 
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
19778
 
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
19779
 
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
19780
 
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
19781
 
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
19782
 
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
19783
 
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
19784
 
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
19785
 
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
19786
 
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
19787
 
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
19788
 
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
19789
 
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19790
 
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19791
 
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19792
 
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19793
 
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19794
 
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19795
 
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19796
 
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19797
 
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
19798
 
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
19799
 
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
19800
 
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
19801
 
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
19802
 
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
19803
 
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
19804
 
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
19805
 
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
19806
 
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
19807
 
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
19808
 
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
19809
 
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
19810
 
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
19811
 
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
19812
 
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
19813
 
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
19814
 
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19815
 
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19816
 
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
19817
 
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
19818
 
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
19819
 
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
19820
 
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
19821
 
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
19822
 
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
19823
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
19824
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
19825
 
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"`'
19826
 
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
19827
 
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
19828
 
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
19829
 
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
19830
 
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
19831
 
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
19832
 
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
19833
 
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
19834
 
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
19835
 
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
19836
 
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
19837
 
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
19838
 
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
19839
 
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
19840
 
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
19841
 
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
19842
 
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
19843
 
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
19844
 
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19845
 
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
19846
 
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
19847
 
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
19848
 
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
19849
 
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
19850
 
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
19851
 
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19852
 
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
19853
 
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19854
 
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
19855
 
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19856
 
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
19857
 
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
19858
 
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
19859
 
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
19860
 
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
19861
 
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
19862
 
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
19863
 
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
19864
 
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
19865
 
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
19866
 
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
19867
 
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
19868
 
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
19869
 
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
19870
 
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
19871
 
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
19872
 
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
19873
 
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
19874
 
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
19875
 
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
19876
 
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
19877
 
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
19878
 
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
19879
 
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
19880
 
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
19881
 
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
19882
 
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
19883
 
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
19884
 
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
19885
 
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
19886
 
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
19887
 
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19888
 
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19889
 
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
19890
 
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
19891
 
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
19892
 
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
19893
 
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
19894
 
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
19895
 
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
19896
 
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
19897
 
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
19898
 
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
19899
 
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
19900
 
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
19901
 
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
19902
 
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
19903
 
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
19904
 
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
19905
 
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
19906
 
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
19907
 
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
19908
 
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19909
 
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19910
 
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
19911
 
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
19912
 
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
19913
 
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
19914
 
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
19915
 
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
19916
 
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
19917
 
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
19918
 
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
19919
 
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19920
 
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19921
 
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
19922
 
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19923
 
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19924
 
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19925
 
archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19926
 
module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19927
 
module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19928
 
with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
19929
 
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19930
 
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19931
 
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19932
 
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
19933
 
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
19934
 
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
19935
 
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
19936
 
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
19937
 
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
19938
 
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
19939
 
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
19940
 
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
19941
 
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
19942
 
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19943
 
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19944
 
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19945
 
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19946
 
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19947
 
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
19948
 
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
19949
 
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
19950
 
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19951
 
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19952
 
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
19953
 
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
19954
 
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
19955
 
 
19956
 
LTCC='$LTCC'
19957
 
LTCFLAGS='$LTCFLAGS'
19958
 
compiler='$compiler_DEFAULT'
19959
 
 
19960
 
# A function that is used when there is no print builtin or printf.
19961
 
func_fallback_echo ()
19962
 
{
19963
 
  eval 'cat <<_LTECHO_EOF
19964
 
\$1
19965
 
_LTECHO_EOF'
19966
 
}
19967
 
 
19968
 
# Quote evaled strings.
19969
 
for var in SHELL \
19970
 
ECHO \
19971
 
SED \
19972
 
GREP \
19973
 
EGREP \
19974
 
FGREP \
19975
 
LD \
19976
 
NM \
19977
 
LN_S \
19978
 
lt_SP2NL \
19979
 
lt_NL2SP \
19980
 
reload_flag \
19981
 
OBJDUMP \
19982
 
deplibs_check_method \
19983
 
file_magic_cmd \
19984
 
file_magic_glob \
19985
 
want_nocaseglob \
19986
 
DLLTOOL \
19987
 
sharedlib_from_linklib_cmd \
19988
 
AR \
19989
 
AR_FLAGS \
19990
 
archiver_list_spec \
19991
 
STRIP \
19992
 
RANLIB \
19993
 
CC \
19994
 
CFLAGS \
19995
 
compiler \
19996
 
lt_cv_sys_global_symbol_pipe \
19997
 
lt_cv_sys_global_symbol_to_cdecl \
19998
 
lt_cv_sys_global_symbol_to_c_name_address \
19999
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20000
 
nm_file_list_spec \
20001
 
lt_prog_compiler_no_builtin_flag \
20002
 
lt_prog_compiler_pic \
20003
 
lt_prog_compiler_wl \
20004
 
lt_prog_compiler_static \
20005
 
lt_cv_prog_compiler_c_o \
20006
 
need_locks \
20007
 
MANIFEST_TOOL \
20008
 
DSYMUTIL \
20009
 
NMEDIT \
20010
 
LIPO \
20011
 
OTOOL \
20012
 
OTOOL64 \
20013
 
shrext_cmds \
20014
 
export_dynamic_flag_spec \
20015
 
whole_archive_flag_spec \
20016
 
compiler_needs_object \
20017
 
with_gnu_ld \
20018
 
allow_undefined_flag \
20019
 
no_undefined_flag \
20020
 
hardcode_libdir_flag_spec \
20021
 
hardcode_libdir_flag_spec_ld \
20022
 
hardcode_libdir_separator \
20023
 
exclude_expsyms \
20024
 
include_expsyms \
20025
 
file_list_spec \
20026
 
variables_saved_for_relink \
20027
 
libname_spec \
20028
 
library_names_spec \
20029
 
soname_spec \
20030
 
install_override_mode \
20031
 
finish_eval \
20032
 
old_striplib \
20033
 
striplib \
20034
 
compiler_lib_search_dirs \
20035
 
predep_objects \
20036
 
postdep_objects \
20037
 
predeps \
20038
 
postdeps \
20039
 
compiler_lib_search_path \
20040
 
LD_CXX \
20041
 
reload_flag_CXX \
20042
 
compiler_CXX \
20043
 
lt_prog_compiler_no_builtin_flag_CXX \
20044
 
lt_prog_compiler_pic_CXX \
20045
 
lt_prog_compiler_wl_CXX \
20046
 
lt_prog_compiler_static_CXX \
20047
 
lt_cv_prog_compiler_c_o_CXX \
20048
 
export_dynamic_flag_spec_CXX \
20049
 
whole_archive_flag_spec_CXX \
20050
 
compiler_needs_object_CXX \
20051
 
with_gnu_ld_CXX \
20052
 
allow_undefined_flag_CXX \
20053
 
no_undefined_flag_CXX \
20054
 
hardcode_libdir_flag_spec_CXX \
20055
 
hardcode_libdir_flag_spec_ld_CXX \
20056
 
hardcode_libdir_separator_CXX \
20057
 
exclude_expsyms_CXX \
20058
 
include_expsyms_CXX \
20059
 
file_list_spec_CXX \
20060
 
compiler_lib_search_dirs_CXX \
20061
 
predep_objects_CXX \
20062
 
postdep_objects_CXX \
20063
 
predeps_CXX \
20064
 
postdeps_CXX \
20065
 
compiler_lib_search_path_CXX; do
20066
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20067
 
    *[\\\\\\\`\\"\\\$]*)
20068
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20069
 
      ;;
20070
 
    *)
20071
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20072
 
      ;;
20073
 
    esac
20074
 
done
20075
 
 
20076
 
# Double-quote double-evaled strings.
20077
 
for var in reload_cmds \
20078
 
old_postinstall_cmds \
20079
 
old_postuninstall_cmds \
20080
 
old_archive_cmds \
20081
 
extract_expsyms_cmds \
20082
 
old_archive_from_new_cmds \
20083
 
old_archive_from_expsyms_cmds \
20084
 
archive_cmds \
20085
 
archive_expsym_cmds \
20086
 
module_cmds \
20087
 
module_expsym_cmds \
20088
 
export_symbols_cmds \
20089
 
prelink_cmds \
20090
 
postlink_cmds \
20091
 
postinstall_cmds \
20092
 
postuninstall_cmds \
20093
 
finish_cmds \
20094
 
sys_lib_search_path_spec \
20095
 
sys_lib_dlsearch_path_spec \
20096
 
reload_cmds_CXX \
20097
 
old_archive_cmds_CXX \
20098
 
old_archive_from_new_cmds_CXX \
20099
 
old_archive_from_expsyms_cmds_CXX \
20100
 
archive_cmds_CXX \
20101
 
archive_expsym_cmds_CXX \
20102
 
module_cmds_CXX \
20103
 
module_expsym_cmds_CXX \
20104
 
export_symbols_cmds_CXX \
20105
 
prelink_cmds_CXX \
20106
 
postlink_cmds_CXX; do
20107
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20108
 
    *[\\\\\\\`\\"\\\$]*)
20109
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20110
 
      ;;
20111
 
    *)
20112
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20113
 
      ;;
20114
 
    esac
20115
 
done
20116
 
 
20117
 
ac_aux_dir='$ac_aux_dir'
20118
 
xsi_shell='$xsi_shell'
20119
 
lt_shell_append='$lt_shell_append'
20120
 
 
20121
 
# See if we are running on zsh, and set the options which allow our
20122
 
# commands through without removal of \ escapes INIT.
20123
 
if test -n "\${ZSH_VERSION+set}" ; then
20124
 
   setopt NO_GLOB_SUBST
20125
 
fi
20126
 
 
20127
 
 
20128
 
    PACKAGE='$PACKAGE'
20129
 
    VERSION='$VERSION'
20130
 
    TIMESTAMP='$TIMESTAMP'
20131
 
    RM='$RM'
20132
 
    ofile='$ofile'
20133
 
 
20134
 
 
20135
 
 
20136
 
 
20137
 
 
20138
 
 
20139
 
_ACEOF
20140
 
 
20141
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20142
 
 
20143
 
# Handling of arguments.
20144
 
for ac_config_target in $ac_config_targets
20145
 
do
20146
 
  case $ac_config_target in
20147
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20148
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20149
 
    "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
20150
 
    "libs/utilspp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/utilspp/Makefile" ;;
20151
 
    "libs/utilspp/singleton/Makefile") CONFIG_FILES="$CONFIG_FILES libs/utilspp/singleton/Makefile" ;;
20152
 
    "libs/iax2/Makefile") CONFIG_FILES="$CONFIG_FILES libs/iax2/Makefile" ;;
20153
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
20154
 
    "src/sip/Makefile") CONFIG_FILES="$CONFIG_FILES src/sip/Makefile" ;;
20155
 
    "src/im/Makefile") CONFIG_FILES="$CONFIG_FILES src/im/Makefile" ;;
20156
 
    "src/iax/Makefile") CONFIG_FILES="$CONFIG_FILES src/iax/Makefile" ;;
20157
 
    "src/audio/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/Makefile" ;;
20158
 
    "src/audio/audiortp/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/audiortp/Makefile" ;;
20159
 
    "src/audio/pulseaudio/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/pulseaudio/Makefile" ;;
20160
 
    "src/audio/alsa/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/alsa/Makefile" ;;
20161
 
    "src/audio/sound/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/sound/Makefile" ;;
20162
 
    "src/audio/codecs/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/codecs/Makefile" ;;
20163
 
    "src/config/Makefile") CONFIG_FILES="$CONFIG_FILES src/config/Makefile" ;;
20164
 
    "src/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/dbus/Makefile" ;;
20165
 
    "src/hooks/Makefile") CONFIG_FILES="$CONFIG_FILES src/hooks/Makefile" ;;
20166
 
    "src/history/Makefile") CONFIG_FILES="$CONFIG_FILES src/history/Makefile" ;;
20167
 
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
20168
 
    "ringtones/Makefile") CONFIG_FILES="$CONFIG_FILES ringtones/Makefile" ;;
20169
 
    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
20170
 
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20171
 
    "doc/dbus-api/Makefile") CONFIG_FILES="$CONFIG_FILES doc/dbus-api/Makefile" ;;
20172
 
    "doc/doxygen/Makefile") CONFIG_FILES="$CONFIG_FILES doc/doxygen/Makefile" ;;
20173
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20174
 
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20175
 
 
20176
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20177
 
  esac
20178
 
done
20179
 
 
20180
 
 
20181
 
# If the user did not use the arguments to specify the items to instantiate,
20182
 
# then the envvar interface is used.  Set only those that are not.
20183
 
# We use the long form for the default assignment because of an extremely
20184
 
# bizarre bug on SunOS 4.1.3.
20185
 
if $ac_need_defaults; then
20186
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20187
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20188
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20189
 
fi
20190
 
 
20191
 
# Have a temporary directory for convenience.  Make it in the build tree
20192
 
# simply because there is no reason against having it here, and in addition,
20193
 
# creating and moving files from /tmp can sometimes cause problems.
20194
 
# Hook for its removal unless debugging.
20195
 
# Note that there is a small window in which the directory will not be cleaned:
20196
 
# after its creation but before its name has been assigned to `$tmp'.
20197
 
$debug ||
20198
 
{
20199
 
  tmp= ac_tmp=
20200
 
  trap 'exit_status=$?
20201
 
  : "${ac_tmp:=$tmp}"
20202
 
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20203
 
' 0
20204
 
  trap 'as_fn_exit 1' 1 2 13 15
20205
 
}
20206
 
# Create a (secure) tmp directory for tmp files.
20207
 
 
20208
 
{
20209
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20210
 
  test -d "$tmp"
20211
 
}  ||
20212
 
{
20213
 
  tmp=./conf$$-$RANDOM
20214
 
  (umask 077 && mkdir "$tmp")
20215
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20216
 
ac_tmp=$tmp
20217
 
 
20218
 
# Set up the scripts for CONFIG_FILES section.
20219
 
# No need to generate them if there are no CONFIG_FILES.
20220
 
# This happens for instance with `./config.status config.h'.
20221
 
if test -n "$CONFIG_FILES"; then
20222
 
 
20223
 
 
20224
 
ac_cr=`echo X | tr X '\015'`
20225
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
20226
 
# But we know of no other shell where ac_cr would be empty at this
20227
 
# point, so we can use a bashism as a fallback.
20228
 
if test "x$ac_cr" = x; then
20229
 
  eval ac_cr=\$\'\\r\'
20230
 
fi
20231
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20232
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20233
 
  ac_cs_awk_cr='\\r'
20234
 
else
20235
 
  ac_cs_awk_cr=$ac_cr
20236
 
fi
20237
 
 
20238
 
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20239
 
_ACEOF
20240
 
 
20241
 
 
20242
 
{
20243
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
20244
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20245
 
  echo "_ACEOF"
20246
 
} >conf$$subs.sh ||
20247
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20248
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20249
 
ac_delim='%!_!# '
20250
 
for ac_last_try in false false false false false :; do
20251
 
  . ./conf$$subs.sh ||
20252
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20253
 
 
20254
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20255
 
  if test $ac_delim_n = $ac_delim_num; then
20256
 
    break
20257
 
  elif $ac_last_try; then
20258
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20259
 
  else
20260
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20261
 
  fi
20262
 
done
20263
 
rm -f conf$$subs.sh
20264
 
 
20265
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20266
 
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20267
 
_ACEOF
20268
 
sed -n '
20269
 
h
20270
 
s/^/S["/; s/!.*/"]=/
20271
 
p
20272
 
g
20273
 
s/^[^!]*!//
20274
 
:repl
20275
 
t repl
20276
 
s/'"$ac_delim"'$//
20277
 
t delim
20278
 
:nl
20279
 
h
20280
 
s/\(.\{148\}\)..*/\1/
20281
 
t more1
20282
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20283
 
p
20284
 
n
20285
 
b repl
20286
 
:more1
20287
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20288
 
p
20289
 
g
20290
 
s/.\{148\}//
20291
 
t nl
20292
 
:delim
20293
 
h
20294
 
s/\(.\{148\}\)..*/\1/
20295
 
t more2
20296
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
20297
 
p
20298
 
b
20299
 
:more2
20300
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20301
 
p
20302
 
g
20303
 
s/.\{148\}//
20304
 
t delim
20305
 
' <conf$$subs.awk | sed '
20306
 
/^[^""]/{
20307
 
  N
20308
 
  s/\n//
20309
 
}
20310
 
' >>$CONFIG_STATUS || ac_write_fail=1
20311
 
rm -f conf$$subs.awk
20312
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20313
 
_ACAWK
20314
 
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20315
 
  for (key in S) S_is_set[key] = 1
20316
 
  FS = ""
20317
 
 
20318
 
}
20319
 
{
20320
 
  line = $ 0
20321
 
  nfields = split(line, field, "@")
20322
 
  substed = 0
20323
 
  len = length(field[1])
20324
 
  for (i = 2; i < nfields; i++) {
20325
 
    key = field[i]
20326
 
    keylen = length(key)
20327
 
    if (S_is_set[key]) {
20328
 
      value = S[key]
20329
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20330
 
      len += length(value) + length(field[++i])
20331
 
      substed = 1
20332
 
    } else
20333
 
      len += 1 + keylen
20334
 
  }
20335
 
 
20336
 
  print line
20337
 
}
20338
 
 
20339
 
_ACAWK
20340
 
_ACEOF
20341
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20342
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20343
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20344
 
else
20345
 
  cat
20346
 
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20347
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20348
 
_ACEOF
20349
 
 
20350
 
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20351
 
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20352
 
# trailing colons and then remove the whole line if VPATH becomes empty
20353
 
# (actually we leave an empty line to preserve line numbers).
20354
 
if test "x$srcdir" = x.; then
20355
 
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
20356
 
h
20357
 
s///
20358
 
s/^/:/
20359
 
s/[      ]*$/:/
20360
 
s/:\$(srcdir):/:/g
20361
 
s/:\${srcdir}:/:/g
20362
 
s/:@srcdir@:/:/g
20363
 
s/^:*//
20364
 
s/:*$//
20365
 
x
20366
 
s/\(=[   ]*\).*/\1/
20367
 
G
20368
 
s/\n//
20369
 
s/^[^=]*=[       ]*$//
20370
 
}'
20371
 
fi
20372
 
 
20373
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20374
 
fi # test -n "$CONFIG_FILES"
20375
 
 
20376
 
# Set up the scripts for CONFIG_HEADERS section.
20377
 
# No need to generate them if there are no CONFIG_HEADERS.
20378
 
# This happens for instance with `./config.status Makefile'.
20379
 
if test -n "$CONFIG_HEADERS"; then
20380
 
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20381
 
BEGIN {
20382
 
_ACEOF
20383
 
 
20384
 
# Transform confdefs.h into an awk script `defines.awk', embedded as
20385
 
# here-document in config.status, that substitutes the proper values into
20386
 
# config.h.in to produce config.h.
20387
 
 
20388
 
# Create a delimiter string that does not exist in confdefs.h, to ease
20389
 
# handling of long lines.
20390
 
ac_delim='%!_!# '
20391
 
for ac_last_try in false false :; do
20392
 
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20393
 
  if test -z "$ac_tt"; then
20394
 
    break
20395
 
  elif $ac_last_try; then
20396
 
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20397
 
  else
20398
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20399
 
  fi
20400
 
done
20401
 
 
20402
 
# For the awk script, D is an array of macro values keyed by name,
20403
 
# likewise P contains macro parameters if any.  Preserve backslash
20404
 
# newline sequences.
20405
 
 
20406
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20407
 
sed -n '
20408
 
s/.\{148\}/&'"$ac_delim"'/g
20409
 
t rset
20410
 
:rset
20411
 
s/^[     ]*#[    ]*define[       ][      ]*/ /
20412
 
t def
20413
 
d
20414
 
:def
20415
 
s/\\$//
20416
 
t bsnl
20417
 
s/["\\]/\\&/g
20418
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
20419
 
D["\1"]=" \3"/p
20420
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
20421
 
d
20422
 
:bsnl
20423
 
s/["\\]/\\&/g
20424
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
20425
 
D["\1"]=" \3\\\\\\n"\\/p
20426
 
t cont
20427
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20428
 
t cont
20429
 
d
20430
 
:cont
20431
 
n
20432
 
s/.\{148\}/&'"$ac_delim"'/g
20433
 
t clear
20434
 
:clear
20435
 
s/\\$//
20436
 
t bsnlc
20437
 
s/["\\]/\\&/g; s/^/"/; s/$/"/p
20438
 
d
20439
 
:bsnlc
20440
 
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20441
 
b cont
20442
 
' <confdefs.h | sed '
20443
 
s/'"$ac_delim"'/"\\\
20444
 
"/g' >>$CONFIG_STATUS || ac_write_fail=1
20445
 
 
20446
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20447
 
  for (key in D) D_is_set[key] = 1
20448
 
  FS = ""
20449
 
}
20450
 
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20451
 
  line = \$ 0
20452
 
  split(line, arg, " ")
20453
 
  if (arg[1] == "#") {
20454
 
    defundef = arg[2]
20455
 
    mac1 = arg[3]
20456
 
  } else {
20457
 
    defundef = substr(arg[1], 2)
20458
 
    mac1 = arg[2]
20459
 
  }
20460
 
  split(mac1, mac2, "(") #)
20461
 
  macro = mac2[1]
20462
 
  prefix = substr(line, 1, index(line, defundef) - 1)
20463
 
  if (D_is_set[macro]) {
20464
 
    # Preserve the white space surrounding the "#".
20465
 
    print prefix "define", macro P[macro] D[macro]
20466
 
    next
20467
 
  } else {
20468
 
    # Replace #undef with comments.  This is necessary, for example,
20469
 
    # in the case of _POSIX_SOURCE, which is predefined and required
20470
 
    # on some systems where configure will not decide to define it.
20471
 
    if (defundef == "undef") {
20472
 
      print "/*", prefix defundef, macro, "*/"
20473
 
      next
20474
 
    }
20475
 
  }
20476
 
}
20477
 
{ print }
20478
 
_ACAWK
20479
 
_ACEOF
20480
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20481
 
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20482
 
fi # test -n "$CONFIG_HEADERS"
20483
 
 
20484
 
 
20485
 
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
20486
 
shift
20487
 
for ac_tag
20488
 
do
20489
 
  case $ac_tag in
20490
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
20491
 
  esac
20492
 
  case $ac_mode$ac_tag in
20493
 
  :[FHL]*:*);;
20494
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20495
 
  :[FH]-) ac_tag=-:-;;
20496
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20497
 
  esac
20498
 
  ac_save_IFS=$IFS
20499
 
  IFS=:
20500
 
  set x $ac_tag
20501
 
  IFS=$ac_save_IFS
20502
 
  shift
20503
 
  ac_file=$1
20504
 
  shift
20505
 
 
20506
 
  case $ac_mode in
20507
 
  :L) ac_source=$1;;
20508
 
  :[FH])
20509
 
    ac_file_inputs=
20510
 
    for ac_f
20511
 
    do
20512
 
      case $ac_f in
20513
 
      -) ac_f="$ac_tmp/stdin";;
20514
 
      *) # Look for the file first in the build tree, then in the source tree
20515
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
20516
 
         # because $ac_f cannot contain `:'.
20517
 
         test -f "$ac_f" ||
20518
 
           case $ac_f in
20519
 
           [\\/$]*) false;;
20520
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20521
 
           esac ||
20522
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20523
 
      esac
20524
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20525
 
      as_fn_append ac_file_inputs " '$ac_f'"
20526
 
    done
20527
 
 
20528
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
20529
 
    # use $as_me), people would be surprised to read:
20530
 
    #    /* config.h.  Generated by config.status.  */
20531
 
    configure_input='Generated from '`
20532
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20533
 
        `' by configure.'
20534
 
    if test x"$ac_file" != x-; then
20535
 
      configure_input="$ac_file.  $configure_input"
20536
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20537
 
$as_echo "$as_me: creating $ac_file" >&6;}
20538
 
    fi
20539
 
    # Neutralize special characters interpreted by sed in replacement strings.
20540
 
    case $configure_input in #(
20541
 
    *\&* | *\|* | *\\* )
20542
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
20543
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
20544
 
    *) ac_sed_conf_input=$configure_input;;
20545
 
    esac
20546
 
 
20547
 
    case $ac_tag in
20548
 
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
20549
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20550
 
    esac
20551
 
    ;;
20552
 
  esac
20553
 
 
20554
 
  ac_dir=`$as_dirname -- "$ac_file" ||
20555
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20556
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
20557
 
         X"$ac_file" : 'X\(//\)$' \| \
20558
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20559
 
$as_echo X"$ac_file" |
20560
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20561
 
            s//\1/
20562
 
            q
20563
 
          }
20564
 
          /^X\(\/\/\)[^/].*/{
20565
 
            s//\1/
20566
 
            q
20567
 
          }
20568
 
          /^X\(\/\/\)$/{
20569
 
            s//\1/
20570
 
            q
20571
 
          }
20572
 
          /^X\(\/\).*/{
20573
 
            s//\1/
20574
 
            q
20575
 
          }
20576
 
          s/.*/./; q'`
20577
 
  as_dir="$ac_dir"; as_fn_mkdir_p
20578
 
  ac_builddir=.
20579
 
 
20580
 
case "$ac_dir" in
20581
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20582
 
*)
20583
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20584
 
  # A ".." for each directory in $ac_dir_suffix.
20585
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20586
 
  case $ac_top_builddir_sub in
20587
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20588
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20589
 
  esac ;;
20590
 
esac
20591
 
ac_abs_top_builddir=$ac_pwd
20592
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
20593
 
# for backward compatibility:
20594
 
ac_top_builddir=$ac_top_build_prefix
20595
 
 
20596
 
case $srcdir in
20597
 
  .)  # We are building in place.
20598
 
    ac_srcdir=.
20599
 
    ac_top_srcdir=$ac_top_builddir_sub
20600
 
    ac_abs_top_srcdir=$ac_pwd ;;
20601
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
20602
 
    ac_srcdir=$srcdir$ac_dir_suffix;
20603
 
    ac_top_srcdir=$srcdir
20604
 
    ac_abs_top_srcdir=$srcdir ;;
20605
 
  *) # Relative name.
20606
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20607
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
20608
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20609
 
esac
20610
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20611
 
 
20612
 
 
20613
 
  case $ac_mode in
20614
 
  :F)
20615
 
  #
20616
 
  # CONFIG_FILE
20617
 
  #
20618
 
 
20619
 
  case $INSTALL in
20620
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20621
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20622
 
  esac
20623
 
  ac_MKDIR_P=$MKDIR_P
20624
 
  case $MKDIR_P in
20625
 
  [\\/$]* | ?:[\\/]* ) ;;
20626
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20627
 
  esac
20628
 
_ACEOF
20629
 
 
20630
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20631
 
# If the template does not know about datarootdir, expand it.
20632
 
# FIXME: This hack should be removed a few years after 2.60.
20633
 
ac_datarootdir_hack=; ac_datarootdir_seen=
20634
 
ac_sed_dataroot='
20635
 
/datarootdir/ {
20636
 
  p
20637
 
  q
20638
 
}
20639
 
/@datadir@/p
20640
 
/@docdir@/p
20641
 
/@infodir@/p
20642
 
/@localedir@/p
20643
 
/@mandir@/p'
20644
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20645
 
*datarootdir*) ac_datarootdir_seen=yes;;
20646
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20647
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20648
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20649
 
_ACEOF
20650
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20651
 
  ac_datarootdir_hack='
20652
 
  s&@datadir@&$datadir&g
20653
 
  s&@docdir@&$docdir&g
20654
 
  s&@infodir@&$infodir&g
20655
 
  s&@localedir@&$localedir&g
20656
 
  s&@mandir@&$mandir&g
20657
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
20658
 
esac
20659
 
_ACEOF
20660
 
 
20661
 
# Neutralize VPATH when `$srcdir' = `.'.
20662
 
# Shell code in configure.ac might set extrasub.
20663
 
# FIXME: do we really want to maintain this feature?
20664
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20665
 
ac_sed_extra="$ac_vpsub
20666
 
$extrasub
20667
 
_ACEOF
20668
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20669
 
:t
20670
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20671
 
s|@configure_input@|$ac_sed_conf_input|;t t
20672
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
20673
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
20674
 
s&@srcdir@&$ac_srcdir&;t t
20675
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
20676
 
s&@top_srcdir@&$ac_top_srcdir&;t t
20677
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20678
 
s&@builddir@&$ac_builddir&;t t
20679
 
s&@abs_builddir@&$ac_abs_builddir&;t t
20680
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20681
 
s&@INSTALL@&$ac_INSTALL&;t t
20682
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
20683
 
$ac_datarootdir_hack
20684
 
"
20685
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20686
 
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20687
 
 
20688
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20689
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20690
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
20691
 
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
20692
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20693
 
which seems to be undefined.  Please make sure it is defined" >&5
20694
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20695
 
which seems to be undefined.  Please make sure it is defined" >&2;}
20696
 
 
20697
 
  rm -f "$ac_tmp/stdin"
20698
 
  case $ac_file in
20699
 
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20700
 
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20701
 
  esac \
20702
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20703
 
 ;;
20704
 
  :H)
20705
 
  #
20706
 
  # CONFIG_HEADER
20707
 
  #
20708
 
  if test x"$ac_file" != x-; then
20709
 
    {
20710
 
      $as_echo "/* $configure_input  */" \
20711
 
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20712
 
    } >"$ac_tmp/config.h" \
20713
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20714
 
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20715
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20716
 
$as_echo "$as_me: $ac_file is unchanged" >&6;}
20717
 
    else
20718
 
      rm -f "$ac_file"
20719
 
      mv "$ac_tmp/config.h" "$ac_file" \
20720
 
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20721
 
    fi
20722
 
  else
20723
 
    $as_echo "/* $configure_input  */" \
20724
 
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20725
 
      || as_fn_error $? "could not create -" "$LINENO" 5
20726
 
  fi
20727
 
# Compute "$ac_file"'s index in $config_headers.
20728
 
_am_arg="$ac_file"
20729
 
_am_stamp_count=1
20730
 
for _am_header in $config_headers :; do
20731
 
  case $_am_header in
20732
 
    $_am_arg | $_am_arg:* )
20733
 
      break ;;
20734
 
    * )
20735
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20736
 
  esac
20737
 
done
20738
 
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20739
 
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20740
 
         X"$_am_arg" : 'X\(//\)[^/]' \| \
20741
 
         X"$_am_arg" : 'X\(//\)$' \| \
20742
 
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20743
 
$as_echo X"$_am_arg" |
20744
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20745
 
            s//\1/
20746
 
            q
20747
 
          }
20748
 
          /^X\(\/\/\)[^/].*/{
20749
 
            s//\1/
20750
 
            q
20751
 
          }
20752
 
          /^X\(\/\/\)$/{
20753
 
            s//\1/
20754
 
            q
20755
 
          }
20756
 
          /^X\(\/\).*/{
20757
 
            s//\1/
20758
 
            q
20759
 
          }
20760
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
20761
 
 ;;
20762
 
 
20763
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20764
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
20765
 
 ;;
20766
 
  esac
20767
 
 
20768
 
 
20769
 
  case $ac_file$ac_mode in
20770
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20771
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
20772
 
  # are listed without --file.  Let's play safe and only enable the eval
20773
 
  # if we detect the quoting.
20774
 
  case $CONFIG_FILES in
20775
 
  *\'*) eval set x "$CONFIG_FILES" ;;
20776
 
  *)   set x $CONFIG_FILES ;;
20777
 
  esac
20778
 
  shift
20779
 
  for mf
20780
 
  do
20781
 
    # Strip MF so we end up with the name of the file.
20782
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
20783
 
    # Check whether this is an Automake generated Makefile or not.
20784
 
    # We used to match only the files named `Makefile.in', but
20785
 
    # some people rename them; so instead we look at the file content.
20786
 
    # Grep'ing the first line is not enough: some people post-process
20787
 
    # each Makefile.in and add a new line on top of each file to say so.
20788
 
    # Grep'ing the whole file is not good either: AIX grep has a line
20789
 
    # limit of 2048, but all sed's we know have understand at least 4000.
20790
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20791
 
      dirpart=`$as_dirname -- "$mf" ||
20792
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20793
 
         X"$mf" : 'X\(//\)[^/]' \| \
20794
 
         X"$mf" : 'X\(//\)$' \| \
20795
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20796
 
$as_echo X"$mf" |
20797
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20798
 
            s//\1/
20799
 
            q
20800
 
          }
20801
 
          /^X\(\/\/\)[^/].*/{
20802
 
            s//\1/
20803
 
            q
20804
 
          }
20805
 
          /^X\(\/\/\)$/{
20806
 
            s//\1/
20807
 
            q
20808
 
          }
20809
 
          /^X\(\/\).*/{
20810
 
            s//\1/
20811
 
            q
20812
 
          }
20813
 
          s/.*/./; q'`
20814
 
    else
20815
 
      continue
20816
 
    fi
20817
 
    # Extract the definition of DEPDIR, am__include, and am__quote
20818
 
    # from the Makefile without running `make'.
20819
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20820
 
    test -z "$DEPDIR" && continue
20821
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
20822
 
    test -z "am__include" && continue
20823
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20824
 
    # When using ansi2knr, U may be empty or an underscore; expand it
20825
 
    U=`sed -n 's/^U = //p' < "$mf"`
20826
 
    # Find all dependency output files, they are included files with
20827
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
20828
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
20829
 
    # expansion.
20830
 
    for file in `sed -n "
20831
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20832
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20833
 
      # Make sure the directory exists.
20834
 
      test -f "$dirpart/$file" && continue
20835
 
      fdir=`$as_dirname -- "$file" ||
20836
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20837
 
         X"$file" : 'X\(//\)[^/]' \| \
20838
 
         X"$file" : 'X\(//\)$' \| \
20839
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20840
 
$as_echo X"$file" |
20841
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20842
 
            s//\1/
20843
 
            q
20844
 
          }
20845
 
          /^X\(\/\/\)[^/].*/{
20846
 
            s//\1/
20847
 
            q
20848
 
          }
20849
 
          /^X\(\/\/\)$/{
20850
 
            s//\1/
20851
 
            q
20852
 
          }
20853
 
          /^X\(\/\).*/{
20854
 
            s//\1/
20855
 
            q
20856
 
          }
20857
 
          s/.*/./; q'`
20858
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
20859
 
      # echo "creating $dirpart/$file"
20860
 
      echo '# dummy' > "$dirpart/$file"
20861
 
    done
20862
 
  done
20863
 
}
20864
 
 ;;
20865
 
    "libtool":C)
20866
 
 
20867
 
    # See if we are running on zsh, and set the options which allow our
20868
 
    # commands through without removal of \ escapes.
20869
 
    if test -n "${ZSH_VERSION+set}" ; then
20870
 
      setopt NO_GLOB_SUBST
20871
 
    fi
20872
 
 
20873
 
    cfgfile="${ofile}T"
20874
 
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20875
 
    $RM "$cfgfile"
20876
 
 
20877
 
    cat <<_LT_EOF >> "$cfgfile"
20878
 
#! $SHELL
20879
 
 
20880
 
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20881
 
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20882
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20883
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
20884
 
#
20885
 
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20886
 
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
20887
 
#                 Inc.
20888
 
#   Written by Gordon Matzigkeit, 1996
20889
 
#
20890
 
#   This file is part of GNU Libtool.
20891
 
#
20892
 
# GNU Libtool is free software; you can redistribute it and/or
20893
 
# modify it under the terms of the GNU General Public License as
20894
 
# published by the Free Software Foundation; either version 2 of
20895
 
# the License, or (at your option) any later version.
20896
 
#
20897
 
# As a special exception to the GNU General Public License,
20898
 
# if you distribute this file as part of a program or library that
20899
 
# is built using GNU Libtool, you may include this file under the
20900
 
# same distribution terms that you use for the rest of that program.
20901
 
#
20902
 
# GNU Libtool is distributed in the hope that it will be useful,
20903
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
20904
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20905
 
# GNU General Public License for more details.
20906
 
#
20907
 
# You should have received a copy of the GNU General Public License
20908
 
# along with GNU Libtool; see the file COPYING.  If not, a copy
20909
 
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20910
 
# obtained by writing to the Free Software Foundation, Inc.,
20911
 
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20912
 
 
20913
 
 
20914
 
# The names of the tagged configurations supported by this script.
20915
 
available_tags="CXX "
20916
 
 
20917
 
# ### BEGIN LIBTOOL CONFIG
20918
 
 
20919
 
# Which release of libtool.m4 was used?
20920
 
macro_version=$macro_version
20921
 
macro_revision=$macro_revision
20922
 
 
20923
 
# Whether or not to build shared libraries.
20924
 
build_libtool_libs=$enable_shared
20925
 
 
20926
 
# Whether or not to build static libraries.
20927
 
build_old_libs=$enable_static
20928
 
 
20929
 
# What type of objects to build.
20930
 
pic_mode=$pic_mode
20931
 
 
20932
 
# Whether or not to optimize for fast installation.
20933
 
fast_install=$enable_fast_install
20934
 
 
20935
 
# Shell to use when invoking shell scripts.
20936
 
SHELL=$lt_SHELL
20937
 
 
20938
 
# An echo program that protects backslashes.
20939
 
ECHO=$lt_ECHO
20940
 
 
20941
 
# The host system.
20942
 
host_alias=$host_alias
20943
 
host=$host
20944
 
host_os=$host_os
20945
 
 
20946
 
# The build system.
20947
 
build_alias=$build_alias
20948
 
build=$build
20949
 
build_os=$build_os
20950
 
 
20951
 
# A sed program that does not truncate output.
20952
 
SED=$lt_SED
20953
 
 
20954
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
20955
 
Xsed="\$SED -e 1s/^X//"
20956
 
 
20957
 
# A grep program that handles long lines.
20958
 
GREP=$lt_GREP
20959
 
 
20960
 
# An ERE matcher.
20961
 
EGREP=$lt_EGREP
20962
 
 
20963
 
# A literal string matcher.
20964
 
FGREP=$lt_FGREP
20965
 
 
20966
 
# A BSD- or MS-compatible name lister.
20967
 
NM=$lt_NM
20968
 
 
20969
 
# Whether we need soft or hard links.
20970
 
LN_S=$lt_LN_S
20971
 
 
20972
 
# What is the maximum length of a command?
20973
 
max_cmd_len=$max_cmd_len
20974
 
 
20975
 
# Object file suffix (normally "o").
20976
 
objext=$ac_objext
20977
 
 
20978
 
# Executable file suffix (normally "").
20979
 
exeext=$exeext
20980
 
 
20981
 
# whether the shell understands "unset".
20982
 
lt_unset=$lt_unset
20983
 
 
20984
 
# turn spaces into newlines.
20985
 
SP2NL=$lt_lt_SP2NL
20986
 
 
20987
 
# turn newlines into spaces.
20988
 
NL2SP=$lt_lt_NL2SP
20989
 
 
20990
 
# convert \$build file names to \$host format.
20991
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
20992
 
 
20993
 
# convert \$build files to toolchain format.
20994
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
20995
 
 
20996
 
# An object symbol dumper.
20997
 
OBJDUMP=$lt_OBJDUMP
20998
 
 
20999
 
# Method to check whether dependent libraries are shared objects.
21000
 
deplibs_check_method=$lt_deplibs_check_method
21001
 
 
21002
 
# Command to use when deplibs_check_method = "file_magic".
21003
 
file_magic_cmd=$lt_file_magic_cmd
21004
 
 
21005
 
# How to find potential files when deplibs_check_method = "file_magic".
21006
 
file_magic_glob=$lt_file_magic_glob
21007
 
 
21008
 
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21009
 
want_nocaseglob=$lt_want_nocaseglob
21010
 
 
21011
 
# DLL creation program.
21012
 
DLLTOOL=$lt_DLLTOOL
21013
 
 
21014
 
# Command to associate shared and link libraries.
21015
 
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21016
 
 
21017
 
# The archiver.
21018
 
AR=$lt_AR
21019
 
 
21020
 
# Flags to create an archive.
21021
 
AR_FLAGS=$lt_AR_FLAGS
21022
 
 
21023
 
# How to feed a file listing to the archiver.
21024
 
archiver_list_spec=$lt_archiver_list_spec
21025
 
 
21026
 
# A symbol stripping program.
21027
 
STRIP=$lt_STRIP
21028
 
 
21029
 
# Commands used to install an old-style archive.
21030
 
RANLIB=$lt_RANLIB
21031
 
old_postinstall_cmds=$lt_old_postinstall_cmds
21032
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
21033
 
 
21034
 
# Whether to use a lock for old archive extraction.
21035
 
lock_old_archive_extraction=$lock_old_archive_extraction
21036
 
 
21037
 
# A C compiler.
21038
 
LTCC=$lt_CC
21039
 
 
21040
 
# LTCC compiler flags.
21041
 
LTCFLAGS=$lt_CFLAGS
21042
 
 
21043
 
# Take the output of nm and produce a listing of raw symbols and C names.
21044
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21045
 
 
21046
 
# Transform the output of nm in a proper C declaration.
21047
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21048
 
 
21049
 
# Transform the output of nm in a C name address pair.
21050
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21051
 
 
21052
 
# Transform the output of nm in a C name address pair when lib prefix is needed.
21053
 
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21054
 
 
21055
 
# Specify filename containing input files for \$NM.
21056
 
nm_file_list_spec=$lt_nm_file_list_spec
21057
 
 
21058
 
# The root where to search for dependent libraries,and in which our libraries should be installed.
21059
 
lt_sysroot=$lt_sysroot
21060
 
 
21061
 
# The name of the directory that contains temporary libtool files.
21062
 
objdir=$objdir
21063
 
 
21064
 
# Used to examine libraries when file_magic_cmd begins with "file".
21065
 
MAGIC_CMD=$MAGIC_CMD
21066
 
 
21067
 
# Must we lock files when doing compilation?
21068
 
need_locks=$lt_need_locks
21069
 
 
21070
 
# Manifest tool.
21071
 
MANIFEST_TOOL=$lt_MANIFEST_TOOL
21072
 
 
21073
 
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21074
 
DSYMUTIL=$lt_DSYMUTIL
21075
 
 
21076
 
# Tool to change global to local symbols on Mac OS X.
21077
 
NMEDIT=$lt_NMEDIT
21078
 
 
21079
 
# Tool to manipulate fat objects and archives on Mac OS X.
21080
 
LIPO=$lt_LIPO
21081
 
 
21082
 
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
21083
 
OTOOL=$lt_OTOOL
21084
 
 
21085
 
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21086
 
OTOOL64=$lt_OTOOL64
21087
 
 
21088
 
# Old archive suffix (normally "a").
21089
 
libext=$libext
21090
 
 
21091
 
# Shared library suffix (normally ".so").
21092
 
shrext_cmds=$lt_shrext_cmds
21093
 
 
21094
 
# The commands to extract the exported symbol list from a shared archive.
21095
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
21096
 
 
21097
 
# Variables whose values should be saved in libtool wrapper scripts and
21098
 
# restored at link time.
21099
 
variables_saved_for_relink=$lt_variables_saved_for_relink
21100
 
 
21101
 
# Do we need the "lib" prefix for modules?
21102
 
need_lib_prefix=$need_lib_prefix
21103
 
 
21104
 
# Do we need a version for libraries?
21105
 
need_version=$need_version
21106
 
 
21107
 
# Library versioning type.
21108
 
version_type=$version_type
21109
 
 
21110
 
# Shared library runtime path variable.
21111
 
runpath_var=$runpath_var
21112
 
 
21113
 
# Shared library path variable.
21114
 
shlibpath_var=$shlibpath_var
21115
 
 
21116
 
# Is shlibpath searched before the hard-coded library search path?
21117
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21118
 
 
21119
 
# Format of library name prefix.
21120
 
libname_spec=$lt_libname_spec
21121
 
 
21122
 
# List of archive names.  First name is the real one, the rest are links.
21123
 
# The last name is the one that the linker finds with -lNAME
21124
 
library_names_spec=$lt_library_names_spec
21125
 
 
21126
 
# The coded name of the library, if different from the real name.
21127
 
soname_spec=$lt_soname_spec
21128
 
 
21129
 
# Permission mode override for installation of shared libraries.
21130
 
install_override_mode=$lt_install_override_mode
21131
 
 
21132
 
# Command to use after installation of a shared archive.
21133
 
postinstall_cmds=$lt_postinstall_cmds
21134
 
 
21135
 
# Command to use after uninstallation of a shared archive.
21136
 
postuninstall_cmds=$lt_postuninstall_cmds
21137
 
 
21138
 
# Commands used to finish a libtool library installation in a directory.
21139
 
finish_cmds=$lt_finish_cmds
21140
 
 
21141
 
# As "finish_cmds", except a single script fragment to be evaled but
21142
 
# not shown.
21143
 
finish_eval=$lt_finish_eval
21144
 
 
21145
 
# Whether we should hardcode library paths into libraries.
21146
 
hardcode_into_libs=$hardcode_into_libs
21147
 
 
21148
 
# Compile-time system search path for libraries.
21149
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21150
 
 
21151
 
# Run-time system search path for libraries.
21152
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21153
 
 
21154
 
# Whether dlopen is supported.
21155
 
dlopen_support=$enable_dlopen
21156
 
 
21157
 
# Whether dlopen of programs is supported.
21158
 
dlopen_self=$enable_dlopen_self
21159
 
 
21160
 
# Whether dlopen of statically linked programs is supported.
21161
 
dlopen_self_static=$enable_dlopen_self_static
21162
 
 
21163
 
# Commands to strip libraries.
21164
 
old_striplib=$lt_old_striplib
21165
 
striplib=$lt_striplib
21166
 
 
21167
 
 
21168
 
# The linker used to build libraries.
21169
 
LD=$lt_LD
21170
 
 
21171
 
# How to create reloadable object files.
21172
 
reload_flag=$lt_reload_flag
21173
 
reload_cmds=$lt_reload_cmds
21174
 
 
21175
 
# Commands used to build an old-style archive.
21176
 
old_archive_cmds=$lt_old_archive_cmds
21177
 
 
21178
 
# A language specific compiler.
21179
 
CC=$lt_compiler
21180
 
 
21181
 
# Is the compiler the GNU compiler?
21182
 
with_gcc=$GCC
21183
 
 
21184
 
# Compiler flag to turn off builtin functions.
21185
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21186
 
 
21187
 
# Additional compiler flags for building library objects.
21188
 
pic_flag=$lt_lt_prog_compiler_pic
21189
 
 
21190
 
# How to pass a linker flag through the compiler.
21191
 
wl=$lt_lt_prog_compiler_wl
21192
 
 
21193
 
# Compiler flag to prevent dynamic linking.
21194
 
link_static_flag=$lt_lt_prog_compiler_static
21195
 
 
21196
 
# Does compiler simultaneously support -c and -o options?
21197
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21198
 
 
21199
 
# Whether or not to add -lc for building shared libraries.
21200
 
build_libtool_need_lc=$archive_cmds_need_lc
21201
 
 
21202
 
# Whether or not to disallow shared libs when runtime libs are static.
21203
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21204
 
 
21205
 
# Compiler flag to allow reflexive dlopens.
21206
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21207
 
 
21208
 
# Compiler flag to generate shared objects directly from archives.
21209
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
21210
 
 
21211
 
# Whether the compiler copes with passing no objects directly.
21212
 
compiler_needs_object=$lt_compiler_needs_object
21213
 
 
21214
 
# Create an old-style archive from a shared archive.
21215
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21216
 
 
21217
 
# Create a temporary old-style archive to link instead of a shared archive.
21218
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21219
 
 
21220
 
# Commands used to build a shared archive.
21221
 
archive_cmds=$lt_archive_cmds
21222
 
archive_expsym_cmds=$lt_archive_expsym_cmds
21223
 
 
21224
 
# Commands used to build a loadable module if different from building
21225
 
# a shared archive.
21226
 
module_cmds=$lt_module_cmds
21227
 
module_expsym_cmds=$lt_module_expsym_cmds
21228
 
 
21229
 
# Whether we are building with GNU ld or not.
21230
 
with_gnu_ld=$lt_with_gnu_ld
21231
 
 
21232
 
# Flag that allows shared libraries with undefined symbols to be built.
21233
 
allow_undefined_flag=$lt_allow_undefined_flag
21234
 
 
21235
 
# Flag that enforces no undefined symbols.
21236
 
no_undefined_flag=$lt_no_undefined_flag
21237
 
 
21238
 
# Flag to hardcode \$libdir into a binary during linking.
21239
 
# This must work even if \$libdir does not exist
21240
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21241
 
 
21242
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
21243
 
# during linking.  This must work even if \$libdir does not exist.
21244
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21245
 
 
21246
 
# Whether we need a single "-rpath" flag with a separated argument.
21247
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
21248
 
 
21249
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21250
 
# DIR into the resulting binary.
21251
 
hardcode_direct=$hardcode_direct
21252
 
 
21253
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21254
 
# DIR into the resulting binary and the resulting library dependency is
21255
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21256
 
# library is relocated.
21257
 
hardcode_direct_absolute=$hardcode_direct_absolute
21258
 
 
21259
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21260
 
# into the resulting binary.
21261
 
hardcode_minus_L=$hardcode_minus_L
21262
 
 
21263
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21264
 
# into the resulting binary.
21265
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
21266
 
 
21267
 
# Set to "yes" if building a shared library automatically hardcodes DIR
21268
 
# into the library and all subsequent libraries and executables linked
21269
 
# against it.
21270
 
hardcode_automatic=$hardcode_automatic
21271
 
 
21272
 
# Set to yes if linker adds runtime paths of dependent libraries
21273
 
# to runtime path list.
21274
 
inherit_rpath=$inherit_rpath
21275
 
 
21276
 
# Whether libtool must link a program against all its dependency libraries.
21277
 
link_all_deplibs=$link_all_deplibs
21278
 
 
21279
 
# Set to "yes" if exported symbols are required.
21280
 
always_export_symbols=$always_export_symbols
21281
 
 
21282
 
# The commands to list exported symbols.
21283
 
export_symbols_cmds=$lt_export_symbols_cmds
21284
 
 
21285
 
# Symbols that should not be listed in the preloaded symbols.
21286
 
exclude_expsyms=$lt_exclude_expsyms
21287
 
 
21288
 
# Symbols that must always be exported.
21289
 
include_expsyms=$lt_include_expsyms
21290
 
 
21291
 
# Commands necessary for linking programs (against libraries) with templates.
21292
 
prelink_cmds=$lt_prelink_cmds
21293
 
 
21294
 
# Commands necessary for finishing linking programs.
21295
 
postlink_cmds=$lt_postlink_cmds
21296
 
 
21297
 
# Specify filename containing input files.
21298
 
file_list_spec=$lt_file_list_spec
21299
 
 
21300
 
# How to hardcode a shared library path into an executable.
21301
 
hardcode_action=$hardcode_action
21302
 
 
21303
 
# The directories searched by this compiler when creating a shared library.
21304
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21305
 
 
21306
 
# Dependencies to place before and after the objects being linked to
21307
 
# create a shared library.
21308
 
predep_objects=$lt_predep_objects
21309
 
postdep_objects=$lt_postdep_objects
21310
 
predeps=$lt_predeps
21311
 
postdeps=$lt_postdeps
21312
 
 
21313
 
# The library search path used internally by the compiler when linking
21314
 
# a shared library.
21315
 
compiler_lib_search_path=$lt_compiler_lib_search_path
21316
 
 
21317
 
# ### END LIBTOOL CONFIG
21318
 
 
21319
 
_LT_EOF
21320
 
 
21321
 
  case $host_os in
21322
 
  aix3*)
21323
 
    cat <<\_LT_EOF >> "$cfgfile"
21324
 
# AIX sometimes has problems with the GCC collect2 program.  For some
21325
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
21326
 
# vanish in a puff of smoke.
21327
 
if test "X${COLLECT_NAMES+set}" != Xset; then
21328
 
  COLLECT_NAMES=
21329
 
  export COLLECT_NAMES
21330
 
fi
21331
 
_LT_EOF
21332
 
    ;;
21333
 
  esac
21334
 
 
21335
 
 
21336
 
ltmain="$ac_aux_dir/ltmain.sh"
21337
 
 
21338
 
 
21339
 
  # We use sed instead of cat because bash on DJGPP gets confused if
21340
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
21341
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
21342
 
  # is reportedly fixed, but why not run on old versions too?
21343
 
  sed '$q' "$ltmain" >> "$cfgfile" \
21344
 
     || (rm -f "$cfgfile"; exit 1)
21345
 
 
21346
 
  if test x"$xsi_shell" = xyes; then
21347
 
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21348
 
func_dirname ()\
21349
 
{\
21350
 
\    case ${1} in\
21351
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
21352
 
\      *  ) func_dirname_result="${3}" ;;\
21353
 
\    esac\
21354
 
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21355
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
21356
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21357
 
test 0 -eq $? || _lt_function_replace_fail=:
21358
 
 
21359
 
 
21360
 
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
21361
 
func_basename ()\
21362
 
{\
21363
 
\    func_basename_result="${1##*/}"\
21364
 
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21365
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
21366
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21367
 
test 0 -eq $? || _lt_function_replace_fail=:
21368
 
 
21369
 
 
21370
 
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21371
 
func_dirname_and_basename ()\
21372
 
{\
21373
 
\    case ${1} in\
21374
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
21375
 
\      *  ) func_dirname_result="${3}" ;;\
21376
 
\    esac\
21377
 
\    func_basename_result="${1##*/}"\
21378
 
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21379
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
21380
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21381
 
test 0 -eq $? || _lt_function_replace_fail=:
21382
 
 
21383
 
 
21384
 
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21385
 
func_stripname ()\
21386
 
{\
21387
 
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21388
 
\    # positional parameters, so assign one to ordinary parameter first.\
21389
 
\    func_stripname_result=${3}\
21390
 
\    func_stripname_result=${func_stripname_result#"${1}"}\
21391
 
\    func_stripname_result=${func_stripname_result%"${2}"}\
21392
 
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21393
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
21394
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21395
 
test 0 -eq $? || _lt_function_replace_fail=:
21396
 
 
21397
 
 
21398
 
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21399
 
func_split_long_opt ()\
21400
 
{\
21401
 
\    func_split_long_opt_name=${1%%=*}\
21402
 
\    func_split_long_opt_arg=${1#*=}\
21403
 
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21404
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
21405
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21406
 
test 0 -eq $? || _lt_function_replace_fail=:
21407
 
 
21408
 
 
21409
 
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21410
 
func_split_short_opt ()\
21411
 
{\
21412
 
\    func_split_short_opt_arg=${1#??}\
21413
 
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21414
 
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21415
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
21416
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21417
 
test 0 -eq $? || _lt_function_replace_fail=:
21418
 
 
21419
 
 
21420
 
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21421
 
func_lo2o ()\
21422
 
{\
21423
 
\    case ${1} in\
21424
 
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21425
 
\      *)    func_lo2o_result=${1} ;;\
21426
 
\    esac\
21427
 
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21428
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
21429
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21430
 
test 0 -eq $? || _lt_function_replace_fail=:
21431
 
 
21432
 
 
21433
 
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
21434
 
func_xform ()\
21435
 
{\
21436
 
    func_xform_result=${1%.*}.lo\
21437
 
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21438
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
21439
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21440
 
test 0 -eq $? || _lt_function_replace_fail=:
21441
 
 
21442
 
 
21443
 
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
21444
 
func_arith ()\
21445
 
{\
21446
 
    func_arith_result=$(( $* ))\
21447
 
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21448
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
21449
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21450
 
test 0 -eq $? || _lt_function_replace_fail=:
21451
 
 
21452
 
 
21453
 
  sed -e '/^func_len ()$/,/^} # func_len /c\
21454
 
func_len ()\
21455
 
{\
21456
 
    func_len_result=${#1}\
21457
 
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21458
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
21459
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21460
 
test 0 -eq $? || _lt_function_replace_fail=:
21461
 
 
21462
 
fi
21463
 
 
21464
 
if test x"$lt_shell_append" = xyes; then
21465
 
  sed -e '/^func_append ()$/,/^} # func_append /c\
21466
 
func_append ()\
21467
 
{\
21468
 
    eval "${1}+=\\${2}"\
21469
 
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21470
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
21471
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21472
 
test 0 -eq $? || _lt_function_replace_fail=:
21473
 
 
21474
 
 
21475
 
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21476
 
func_append_quoted ()\
21477
 
{\
21478
 
\    func_quote_for_eval "${2}"\
21479
 
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21480
 
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21481
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
21482
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21483
 
test 0 -eq $? || _lt_function_replace_fail=:
21484
 
 
21485
 
 
21486
 
  # Save a `func_append' function call where possible by direct use of '+='
21487
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21488
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
21489
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21490
 
  test 0 -eq $? || _lt_function_replace_fail=:
21491
 
else
21492
 
  # Save a `func_append' function call even when '+=' is not available
21493
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21494
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
21495
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21496
 
  test 0 -eq $? || _lt_function_replace_fail=:
21497
 
fi
21498
 
 
21499
 
if test x"$_lt_function_replace_fail" = x":"; then
21500
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21501
 
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21502
 
fi
21503
 
 
21504
 
 
21505
 
   mv -f "$cfgfile" "$ofile" ||
21506
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21507
 
  chmod +x "$ofile"
21508
 
 
21509
 
 
21510
 
    cat <<_LT_EOF >> "$ofile"
21511
 
 
21512
 
# ### BEGIN LIBTOOL TAG CONFIG: CXX
21513
 
 
21514
 
# The linker used to build libraries.
21515
 
LD=$lt_LD_CXX
21516
 
 
21517
 
# How to create reloadable object files.
21518
 
reload_flag=$lt_reload_flag_CXX
21519
 
reload_cmds=$lt_reload_cmds_CXX
21520
 
 
21521
 
# Commands used to build an old-style archive.
21522
 
old_archive_cmds=$lt_old_archive_cmds_CXX
21523
 
 
21524
 
# A language specific compiler.
21525
 
CC=$lt_compiler_CXX
21526
 
 
21527
 
# Is the compiler the GNU compiler?
21528
 
with_gcc=$GCC_CXX
21529
 
 
21530
 
# Compiler flag to turn off builtin functions.
21531
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21532
 
 
21533
 
# Additional compiler flags for building library objects.
21534
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
21535
 
 
21536
 
# How to pass a linker flag through the compiler.
21537
 
wl=$lt_lt_prog_compiler_wl_CXX
21538
 
 
21539
 
# Compiler flag to prevent dynamic linking.
21540
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
21541
 
 
21542
 
# Does compiler simultaneously support -c and -o options?
21543
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21544
 
 
21545
 
# Whether or not to add -lc for building shared libraries.
21546
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
21547
 
 
21548
 
# Whether or not to disallow shared libs when runtime libs are static.
21549
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21550
 
 
21551
 
# Compiler flag to allow reflexive dlopens.
21552
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21553
 
 
21554
 
# Compiler flag to generate shared objects directly from archives.
21555
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21556
 
 
21557
 
# Whether the compiler copes with passing no objects directly.
21558
 
compiler_needs_object=$lt_compiler_needs_object_CXX
21559
 
 
21560
 
# Create an old-style archive from a shared archive.
21561
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21562
 
 
21563
 
# Create a temporary old-style archive to link instead of a shared archive.
21564
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21565
 
 
21566
 
# Commands used to build a shared archive.
21567
 
archive_cmds=$lt_archive_cmds_CXX
21568
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21569
 
 
21570
 
# Commands used to build a loadable module if different from building
21571
 
# a shared archive.
21572
 
module_cmds=$lt_module_cmds_CXX
21573
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
21574
 
 
21575
 
# Whether we are building with GNU ld or not.
21576
 
with_gnu_ld=$lt_with_gnu_ld_CXX
21577
 
 
21578
 
# Flag that allows shared libraries with undefined symbols to be built.
21579
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
21580
 
 
21581
 
# Flag that enforces no undefined symbols.
21582
 
no_undefined_flag=$lt_no_undefined_flag_CXX
21583
 
 
21584
 
# Flag to hardcode \$libdir into a binary during linking.
21585
 
# This must work even if \$libdir does not exist
21586
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21587
 
 
21588
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
21589
 
# during linking.  This must work even if \$libdir does not exist.
21590
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21591
 
 
21592
 
# Whether we need a single "-rpath" flag with a separated argument.
21593
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21594
 
 
21595
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21596
 
# DIR into the resulting binary.
21597
 
hardcode_direct=$hardcode_direct_CXX
21598
 
 
21599
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21600
 
# DIR into the resulting binary and the resulting library dependency is
21601
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21602
 
# library is relocated.
21603
 
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21604
 
 
21605
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21606
 
# into the resulting binary.
21607
 
hardcode_minus_L=$hardcode_minus_L_CXX
21608
 
 
21609
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21610
 
# into the resulting binary.
21611
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21612
 
 
21613
 
# Set to "yes" if building a shared library automatically hardcodes DIR
21614
 
# into the library and all subsequent libraries and executables linked
21615
 
# against it.
21616
 
hardcode_automatic=$hardcode_automatic_CXX
21617
 
 
21618
 
# Set to yes if linker adds runtime paths of dependent libraries
21619
 
# to runtime path list.
21620
 
inherit_rpath=$inherit_rpath_CXX
21621
 
 
21622
 
# Whether libtool must link a program against all its dependency libraries.
21623
 
link_all_deplibs=$link_all_deplibs_CXX
21624
 
 
21625
 
# Set to "yes" if exported symbols are required.
21626
 
always_export_symbols=$always_export_symbols_CXX
21627
 
 
21628
 
# The commands to list exported symbols.
21629
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
21630
 
 
21631
 
# Symbols that should not be listed in the preloaded symbols.
21632
 
exclude_expsyms=$lt_exclude_expsyms_CXX
21633
 
 
21634
 
# Symbols that must always be exported.
21635
 
include_expsyms=$lt_include_expsyms_CXX
21636
 
 
21637
 
# Commands necessary for linking programs (against libraries) with templates.
21638
 
prelink_cmds=$lt_prelink_cmds_CXX
21639
 
 
21640
 
# Commands necessary for finishing linking programs.
21641
 
postlink_cmds=$lt_postlink_cmds_CXX
21642
 
 
21643
 
# Specify filename containing input files.
21644
 
file_list_spec=$lt_file_list_spec_CXX
21645
 
 
21646
 
# How to hardcode a shared library path into an executable.
21647
 
hardcode_action=$hardcode_action_CXX
21648
 
 
21649
 
# The directories searched by this compiler when creating a shared library.
21650
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21651
 
 
21652
 
# Dependencies to place before and after the objects being linked to
21653
 
# create a shared library.
21654
 
predep_objects=$lt_predep_objects_CXX
21655
 
postdep_objects=$lt_postdep_objects_CXX
21656
 
predeps=$lt_predeps_CXX
21657
 
postdeps=$lt_postdeps_CXX
21658
 
 
21659
 
# The library search path used internally by the compiler when linking
21660
 
# a shared library.
21661
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21662
 
 
21663
 
# ### END LIBTOOL TAG CONFIG: CXX
21664
 
_LT_EOF
21665
 
 
21666
 
 ;;
21667
 
 
21668
 
  esac
21669
 
done # for ac_tag
21670
 
 
21671
 
 
21672
 
as_fn_exit 0
21673
 
_ACEOF
21674
 
ac_clean_files=$ac_clean_files_save
21675
 
 
21676
 
test $ac_write_fail = 0 ||
21677
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21678
 
 
21679
 
 
21680
 
# configure is writing to config.log, and then calls config.status.
21681
 
# config.status does its own redirection, appending to config.log.
21682
 
# Unfortunately, on DOS this fails, as config.log is still kept open
21683
 
# by configure, so config.status won't be able to write to it; its
21684
 
# output is simply discarded.  So we exec the FD to /dev/null,
21685
 
# effectively closing config.log, so it can be properly (re)opened and
21686
 
# appended to by config.status.  When coming back to configure, we
21687
 
# need to make the FD available again.
21688
 
if test "$no_create" != yes; then
21689
 
  ac_cs_success=:
21690
 
  ac_config_status_args=
21691
 
  test "$silent" = yes &&
21692
 
    ac_config_status_args="$ac_config_status_args --quiet"
21693
 
  exec 5>/dev/null
21694
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21695
 
  exec 5>>config.log
21696
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21697
 
  # would make configure fail if this is the last instruction.
21698
 
  $ac_cs_success || as_fn_exit 1
21699
 
fi
21700
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21701
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21702
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21703
 
fi
21704
 
 
21705
 
 
21706
 
 
21707
 
 
21708
 
subdirs="$subdirs libs/pjproject"
21709
 
 
21710
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: Configuration done! Please make sure that pjsip library (libs/pjproject) has already been compiled. Run \`make' to build the software." >&5
21711
 
$as_echo "$as_me: Configuration done! Please make sure that pjsip library (libs/pjproject) has already been compiled. Run \`make' to build the software." >&6;}