~ubuntu-branches/ubuntu/vivid/linphone/vivid

« back to all changes in this revision

Viewing changes to oRTP/configure

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2009-10-14 08:26:02 UTC
  • mfrom: (1.3.1 upstream) (6.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20091014082602-751618nxdjooja3l
Tags: 3.2.1-1
New upstream release 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.63 for ortp 0.16.0.
 
3
# Generated by GNU Autoconf 2.64 for ortp 0.16.1.
4
4
#
5
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
 
7
# Foundation, Inc.
 
8
#
7
9
# This configure script is free software; the Free Software Foundation
8
10
# gives unlimited permission to copy, distribute and modify it.
9
 
## --------------------- ##
10
 
## M4sh Initialization.  ##
11
 
## --------------------- ##
 
11
## -------------------- ##
 
12
## M4sh Initialization. ##
 
13
## -------------------- ##
12
14
 
13
15
# Be more Bourne compatible
14
16
DUALCASE=1; export DUALCASE # for MKS sh
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16
18
  emulate sh
17
19
  NULLCMD=:
18
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20
22
  alias -g '${1+"$@"}'='"$@"'
21
23
  setopt NO_GLOB_SUBST
22
24
else
23
 
  case `(set -o) 2>/dev/null` in
24
 
  *posix*) set -o posix ;;
 
25
  case `(set -o) 2>/dev/null` in #(
 
26
  *posix*) :
 
27
    set -o posix ;; #(
 
28
  *) :
 
29
     ;;
25
30
esac
26
 
 
27
31
fi
28
32
 
29
33
 
30
 
 
31
 
 
32
 
# PATH needs CR
33
 
# Avoid depending upon Character Ranges.
34
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
 
as_cr_digits='0123456789'
38
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
 
 
40
34
as_nl='
41
35
'
42
36
export as_nl
44
38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
39
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
41
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
42
# but without wasting forks for bash or zsh.
 
43
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
44
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
  as_echo='print -r --'
 
46
  as_echo_n='print -rn --'
 
47
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48
48
  as_echo='printf %s\n'
49
49
  as_echo_n='printf %s'
50
50
else
55
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56
56
    as_echo_n_body='eval
57
57
      arg=$1;
58
 
      case $arg in
 
58
      case $arg in #(
59
59
      *"$as_nl"*)
60
60
        expr "X$arg" : "X\\(.*\\)$as_nl";
61
61
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
78
78
  }
79
79
fi
80
80
 
81
 
# Support unset when possible.
82
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83
 
  as_unset=unset
84
 
else
85
 
  as_unset=false
86
 
fi
87
 
 
88
81
 
89
82
# IFS
90
83
# We need space, tab and new line, in precisely that order.  Quoting is
94
87
IFS=" ""        $as_nl"
95
88
 
96
89
# Find who we are.  Look in the path if we contain no directory separator.
97
 
case $0 in
 
90
case $0 in #((
98
91
  *[\\/]* ) as_myself=$0 ;;
99
92
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
93
for as_dir in $PATH
101
94
do
102
95
  IFS=$as_save_IFS
103
96
  test -z "$as_dir" && as_dir=.
104
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105
 
done
 
97
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
98
  done
106
99
IFS=$as_save_IFS
107
100
 
108
101
     ;;
114
107
fi
115
108
if test ! -f "$as_myself"; then
116
109
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
 
  { (exit 1); exit 1; }
 
110
  exit 1
118
111
fi
119
112
 
120
 
# Work around bugs in pre-3.0 UWIN ksh.
121
 
for as_var in ENV MAIL MAILPATH
122
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
113
# Unset variables that we do not need and which cause bugs (e.g. in
 
114
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
115
# suppresses any "Segmentation fault" message there.  '((' could
 
116
# trigger a bug in pdksh 5.2.14.
 
117
for as_var in BASH_ENV ENV MAIL MAILPATH
 
118
do eval test x\${$as_var+set} = xset \
 
119
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123
120
done
124
121
PS1='$ '
125
122
PS2='> '
131
128
LANGUAGE=C
132
129
export LANGUAGE
133
130
 
134
 
# Required to use basename.
135
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
136
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
137
 
  as_expr=expr
138
 
else
139
 
  as_expr=false
140
 
fi
141
 
 
142
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143
 
  as_basename=basename
144
 
else
145
 
  as_basename=false
146
 
fi
147
 
 
148
 
 
149
 
# Name of the executable.
150
 
as_me=`$as_basename -- "$0" ||
151
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152
 
         X"$0" : 'X\(//\)$' \| \
153
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154
 
$as_echo X/"$0" |
155
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
156
 
            s//\1/
157
 
            q
158
 
          }
159
 
          /^X\/\(\/\/\)$/{
160
 
            s//\1/
161
 
            q
162
 
          }
163
 
          /^X\/\(\/\).*/{
164
 
            s//\1/
165
 
            q
166
 
          }
167
 
          s/.*/./; q'`
168
 
 
169
131
# CDPATH.
170
 
$as_unset CDPATH
171
 
 
 
132
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
172
133
 
173
134
if test "x$CONFIG_SHELL" = x; then
174
 
  if (eval ":") 2>/dev/null; then
 
135
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
136
  emulate sh
 
137
  NULLCMD=:
 
138
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
139
  # is contrary to our usage.  Disable this feature.
 
140
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
141
  setopt NO_GLOB_SUBST
 
142
else
 
143
  case \`(set -o) 2>/dev/null\` in #(
 
144
  *posix*) :
 
145
    set -o posix ;; #(
 
146
  *) :
 
147
     ;;
 
148
esac
 
149
fi
 
150
"
 
151
  as_required="as_fn_return () { (exit \$1); }
 
152
as_fn_success () { as_fn_return 0; }
 
153
as_fn_failure () { as_fn_return 1; }
 
154
as_fn_ret_success () { return 0; }
 
155
as_fn_ret_failure () { return 1; }
 
156
 
 
157
exitcode=0
 
158
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
159
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
160
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
161
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
162
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
163
 
 
164
else
 
165
  exitcode=1; echo positional parameters were not saved.
 
166
fi
 
167
test x\$exitcode = x0 || exit 1"
 
168
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
169
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
170
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
171
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
172
test \$(( 1 + 1 )) = 2 || exit 1"
 
173
  if (eval "$as_required") 2>/dev/null; then :
175
174
  as_have_required=yes
176
175
else
177
176
  as_have_required=no
178
177
fi
179
 
 
180
 
  if test $as_have_required = yes &&     (eval ":
181
 
(as_func_return () {
182
 
  (exit \$1)
183
 
}
184
 
as_func_success () {
185
 
  as_func_return 0
186
 
}
187
 
as_func_failure () {
188
 
  as_func_return 1
189
 
}
190
 
as_func_ret_success () {
191
 
  return 0
192
 
}
193
 
as_func_ret_failure () {
194
 
  return 1
195
 
}
196
 
 
197
 
exitcode=0
198
 
if as_func_success; then
199
 
  :
200
 
else
201
 
  exitcode=1
202
 
  echo as_func_success failed.
203
 
fi
204
 
 
205
 
if as_func_failure; then
206
 
  exitcode=1
207
 
  echo as_func_failure succeeded.
208
 
fi
209
 
 
210
 
if as_func_ret_success; then
211
 
  :
212
 
else
213
 
  exitcode=1
214
 
  echo as_func_ret_success failed.
215
 
fi
216
 
 
217
 
if as_func_ret_failure; then
218
 
  exitcode=1
219
 
  echo as_func_ret_failure succeeded.
220
 
fi
221
 
 
222
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223
 
  :
224
 
else
225
 
  exitcode=1
226
 
  echo positional parameters were not saved.
227
 
fi
228
 
 
229
 
test \$exitcode = 0) || { (exit 1); exit 1; }
230
 
 
231
 
(
232
 
  as_lineno_1=\$LINENO
233
 
  as_lineno_2=\$LINENO
234
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236
 
") 2> /dev/null; then
237
 
  :
238
 
else
239
 
  as_candidate_shells=
240
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
178
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
179
 
 
180
else
 
181
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
182
as_found=false
241
183
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242
184
do
243
185
  IFS=$as_save_IFS
244
186
  test -z "$as_dir" && as_dir=.
245
 
  case $as_dir in
 
187
  as_found=:
 
188
  case $as_dir in #(
246
189
         /*)
247
190
           for as_base in sh bash ksh sh5; do
248
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
191
             # Try only shells that exist, to save several forks.
 
192
             as_shell=$as_dir/$as_base
 
193
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
194
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
195
  CONFIG_SHELL=$as_shell as_have_required=yes
 
196
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
197
  break 2
 
198
fi
 
199
fi
249
200
           done;;
250
201
       esac
 
202
  as_found=false
251
203
done
 
204
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
205
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
206
  CONFIG_SHELL=$SHELL as_have_required=yes
 
207
fi; }
252
208
IFS=$as_save_IFS
253
209
 
254
210
 
255
 
      for as_shell in $as_candidate_shells $SHELL; do
256
 
         # Try only shells that exist, to save several forks.
257
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
259
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260
 
  emulate sh
261
 
  NULLCMD=:
262
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263
 
  # is contrary to our usage.  Disable this feature.
264
 
  alias -g '${1+"$@"}'='"$@"'
265
 
  setopt NO_GLOB_SUBST
266
 
else
267
 
  case `(set -o) 2>/dev/null` in
268
 
  *posix*) set -o posix ;;
269
 
esac
270
 
 
271
 
fi
272
 
 
273
 
 
274
 
:
275
 
_ASEOF
276
 
}; then
277
 
  CONFIG_SHELL=$as_shell
278
 
               as_have_required=yes
279
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
280
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281
 
  emulate sh
282
 
  NULLCMD=:
283
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284
 
  # is contrary to our usage.  Disable this feature.
285
 
  alias -g '${1+"$@"}'='"$@"'
286
 
  setopt NO_GLOB_SUBST
287
 
else
288
 
  case `(set -o) 2>/dev/null` in
289
 
  *posix*) set -o posix ;;
290
 
esac
291
 
 
292
 
fi
293
 
 
294
 
 
295
 
:
296
 
(as_func_return () {
297
 
  (exit $1)
298
 
}
299
 
as_func_success () {
300
 
  as_func_return 0
301
 
}
302
 
as_func_failure () {
303
 
  as_func_return 1
304
 
}
305
 
as_func_ret_success () {
306
 
  return 0
307
 
}
308
 
as_func_ret_failure () {
309
 
  return 1
310
 
}
311
 
 
312
 
exitcode=0
313
 
if as_func_success; then
314
 
  :
315
 
else
316
 
  exitcode=1
317
 
  echo as_func_success failed.
318
 
fi
319
 
 
320
 
if as_func_failure; then
321
 
  exitcode=1
322
 
  echo as_func_failure succeeded.
323
 
fi
324
 
 
325
 
if as_func_ret_success; then
326
 
  :
327
 
else
328
 
  exitcode=1
329
 
  echo as_func_ret_success failed.
330
 
fi
331
 
 
332
 
if as_func_ret_failure; then
333
 
  exitcode=1
334
 
  echo as_func_ret_failure succeeded.
335
 
fi
336
 
 
337
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
338
 
  :
339
 
else
340
 
  exitcode=1
341
 
  echo positional parameters were not saved.
342
 
fi
343
 
 
344
 
test $exitcode = 0) || { (exit 1); exit 1; }
345
 
 
346
 
(
347
 
  as_lineno_1=$LINENO
348
 
  as_lineno_2=$LINENO
349
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
350
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351
 
 
352
 
_ASEOF
353
 
}; then
354
 
  break
355
 
fi
356
 
 
357
 
fi
358
 
 
359
 
      done
360
 
 
361
 
      if test "x$CONFIG_SHELL" != x; then
362
 
  for as_var in BASH_ENV ENV
363
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364
 
        done
 
211
      if test "x$CONFIG_SHELL" != x; then :
 
212
  # We cannot yet assume a decent shell, so we have to provide a
 
213
        # neutralization value for shells without unset; and this also
 
214
        # works around shells that cannot unset nonexistent variables.
 
215
        BASH_ENV=/dev/null
 
216
        ENV=/dev/null
 
217
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
365
218
        export CONFIG_SHELL
366
219
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367
220
fi
368
221
 
369
 
 
370
 
    if test $as_have_required = no; then
371
 
  echo This script requires a shell more modern than all the
372
 
      echo shells that I found on your system.  Please install a
373
 
      echo modern shell, or manually run the script under such a
374
 
      echo shell if you do have one.
375
 
      { (exit 1); exit 1; }
376
 
fi
377
 
 
378
 
 
379
 
fi
380
 
 
381
 
fi
382
 
 
383
 
 
384
 
 
385
 
(eval "as_func_return () {
386
 
  (exit \$1)
387
 
}
388
 
as_func_success () {
389
 
  as_func_return 0
390
 
}
391
 
as_func_failure () {
392
 
  as_func_return 1
393
 
}
394
 
as_func_ret_success () {
395
 
  return 0
396
 
}
397
 
as_func_ret_failure () {
398
 
  return 1
399
 
}
400
 
 
401
 
exitcode=0
402
 
if as_func_success; then
403
 
  :
404
 
else
405
 
  exitcode=1
406
 
  echo as_func_success failed.
407
 
fi
408
 
 
409
 
if as_func_failure; then
410
 
  exitcode=1
411
 
  echo as_func_failure succeeded.
412
 
fi
413
 
 
414
 
if as_func_ret_success; then
415
 
  :
416
 
else
417
 
  exitcode=1
418
 
  echo as_func_ret_success failed.
419
 
fi
420
 
 
421
 
if as_func_ret_failure; then
422
 
  exitcode=1
423
 
  echo as_func_ret_failure succeeded.
424
 
fi
425
 
 
426
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427
 
  :
428
 
else
429
 
  exitcode=1
430
 
  echo positional parameters were not saved.
431
 
fi
432
 
 
433
 
test \$exitcode = 0") || {
434
 
  echo No shell found that supports shell functions.
435
 
  echo Please tell bug-autoconf@gnu.org about your system,
436
 
  echo including any error possibly output before this message.
437
 
  echo This can help us improve future autoconf versions.
438
 
  echo Configuration will now proceed without shell functions.
439
 
}
440
 
 
441
 
 
442
 
 
443
 
  as_lineno_1=$LINENO
444
 
  as_lineno_2=$LINENO
445
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
446
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447
 
 
448
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
450
 
  # line-number line after each line using $LINENO; the second 'sed'
451
 
  # does the real work.  The second script uses 'N' to pair each
452
 
  # line-number line with the line containing $LINENO, and appends
453
 
  # trailing '-' during substitution so that $LINENO is not a special
454
 
  # case at line end.
455
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
457
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
222
    if test x$as_have_required = xno; then :
 
223
  $as_echo "$0: This script requires a shell more modern than all"
 
224
  $as_echo "$0: the shells that I found on your system."
 
225
  if test x${ZSH_VERSION+set} = xset ; then
 
226
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
227
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
228
  else
 
229
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
230
$0: including any error possibly output before this
 
231
$0: message. Then install a modern shell, or manually run
 
232
$0: the script under such a shell if you do have one."
 
233
  fi
 
234
  exit 1
 
235
fi
 
236
fi
 
237
fi
 
238
SHELL=${CONFIG_SHELL-/bin/sh}
 
239
export SHELL
 
240
# Unset more variables known to interfere with behavior of common tools.
 
241
CLICOLOR_FORCE= GREP_OPTIONS=
 
242
unset CLICOLOR_FORCE GREP_OPTIONS
 
243
 
 
244
## --------------------- ##
 
245
## M4sh Shell Functions. ##
 
246
## --------------------- ##
 
247
# as_fn_unset VAR
 
248
# ---------------
 
249
# Portably unset VAR.
 
250
as_fn_unset ()
 
251
{
 
252
  { eval $1=; unset $1;}
 
253
}
 
254
as_unset=as_fn_unset
 
255
 
 
256
# as_fn_set_status STATUS
 
257
# -----------------------
 
258
# Set $? to STATUS, without forking.
 
259
as_fn_set_status ()
 
260
{
 
261
  return $1
 
262
} # as_fn_set_status
 
263
 
 
264
# as_fn_exit STATUS
 
265
# -----------------
 
266
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
267
as_fn_exit ()
 
268
{
 
269
  set +e
 
270
  as_fn_set_status $1
 
271
  exit $1
 
272
} # as_fn_exit
 
273
 
 
274
# as_fn_mkdir_p
 
275
# -------------
 
276
# Create "$as_dir" as a directory, including parents if necessary.
 
277
as_fn_mkdir_p ()
 
278
{
 
279
 
 
280
  case $as_dir in #(
 
281
  -*) as_dir=./$as_dir;;
 
282
  esac
 
283
  test -d "$as_dir" || eval $as_mkdir_p || {
 
284
    as_dirs=
 
285
    while :; do
 
286
      case $as_dir in #(
 
287
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
288
      *) as_qdir=$as_dir;;
 
289
      esac
 
290
      as_dirs="'$as_qdir' $as_dirs"
 
291
      as_dir=`$as_dirname -- "$as_dir" ||
 
292
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
293
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
294
         X"$as_dir" : 'X\(//\)$' \| \
 
295
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
296
$as_echo X"$as_dir" |
 
297
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
298
            s//\1/
 
299
            q
 
300
          }
 
301
          /^X\(\/\/\)[^/].*/{
 
302
            s//\1/
 
303
            q
 
304
          }
 
305
          /^X\(\/\/\)$/{
 
306
            s//\1/
 
307
            q
 
308
          }
 
309
          /^X\(\/\).*/{
 
310
            s//\1/
 
311
            q
 
312
          }
 
313
          s/.*/./; q'`
 
314
      test -d "$as_dir" && break
 
315
    done
 
316
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
317
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
318
 
 
319
 
 
320
} # as_fn_mkdir_p
 
321
# as_fn_append VAR VALUE
 
322
# ----------------------
 
323
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
324
# advantage of any shell optimizations that allow amortized linear growth over
 
325
# repeated appends, instead of the typical quadratic growth present in naive
 
326
# implementations.
 
327
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
328
  eval 'as_fn_append ()
 
329
  {
 
330
    eval $1+=\$2
 
331
  }'
 
332
else
 
333
  as_fn_append ()
 
334
  {
 
335
    eval $1=\$$1\$2
 
336
  }
 
337
fi # as_fn_append
 
338
 
 
339
# as_fn_arith ARG...
 
340
# ------------------
 
341
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
342
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
343
# must be portable across $(()) and expr.
 
344
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
345
  eval 'as_fn_arith ()
 
346
  {
 
347
    as_val=$(( $* ))
 
348
  }'
 
349
else
 
350
  as_fn_arith ()
 
351
  {
 
352
    as_val=`expr "$@" || test $? -eq 1`
 
353
  }
 
354
fi # as_fn_arith
 
355
 
 
356
 
 
357
# as_fn_error ERROR [LINENO LOG_FD]
 
358
# ---------------------------------
 
359
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
360
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
361
# script with status $?, using 1 if that was 0.
 
362
as_fn_error ()
 
363
{
 
364
  as_status=$?; test $as_status -eq 0 && as_status=1
 
365
  if test "$3"; then
 
366
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
367
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
368
  fi
 
369
  $as_echo "$as_me: error: $1" >&2
 
370
  as_fn_exit $as_status
 
371
} # as_fn_error
 
372
 
 
373
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
374
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
375
  as_expr=expr
 
376
else
 
377
  as_expr=false
 
378
fi
 
379
 
 
380
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
381
  as_basename=basename
 
382
else
 
383
  as_basename=false
 
384
fi
 
385
 
 
386
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
387
  as_dirname=dirname
 
388
else
 
389
  as_dirname=false
 
390
fi
 
391
 
 
392
as_me=`$as_basename -- "$0" ||
 
393
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
394
         X"$0" : 'X\(//\)$' \| \
 
395
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
396
$as_echo X/"$0" |
 
397
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
398
            s//\1/
 
399
            q
 
400
          }
 
401
          /^X\/\(\/\/\)$/{
 
402
            s//\1/
 
403
            q
 
404
          }
 
405
          /^X\/\(\/\).*/{
 
406
            s//\1/
 
407
            q
 
408
          }
 
409
          s/.*/./; q'`
 
410
 
 
411
# Avoid depending upon Character Ranges.
 
412
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
413
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
414
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
415
as_cr_digits='0123456789'
 
416
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
417
 
 
418
 
 
419
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
420
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
421
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
422
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
423
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
458
424
  sed -n '
459
425
    p
460
426
    /[$]LINENO/=
471
437
      s/-\n.*//
472
438
    ' >$as_me.lineno &&
473
439
  chmod +x "$as_me.lineno" ||
474
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475
 
   { (exit 1); exit 1; }; }
 
440
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
476
441
 
477
442
  # Don't try to exec as it changes $[0], causing all sort of problems
478
443
  # (the dirname of $[0] is not the place where we might find the
482
447
  exit
483
448
}
484
449
 
485
 
 
486
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487
 
  as_dirname=dirname
488
 
else
489
 
  as_dirname=false
490
 
fi
491
 
 
492
450
ECHO_C= ECHO_N= ECHO_T=
493
 
case `echo -n x` in
 
451
case `echo -n x` in #(((((
494
452
-n*)
495
 
  case `echo 'x\c'` in
 
453
  case `echo 'xy\c'` in
496
454
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
497
 
  *)   ECHO_C='\c';;
 
455
  xy)  ECHO_C='\c';;
 
456
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
457
       ECHO_T=' ';;
498
458
  esac;;
499
459
*)
500
460
  ECHO_N='-n';;
501
461
esac
502
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
503
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
504
 
  as_expr=expr
505
 
else
506
 
  as_expr=false
507
 
fi
508
462
 
509
463
rm -f conf$$ conf$$.exe conf$$.file
510
464
if test -d conf$$.dir; then
534
488
rmdir conf$$.dir 2>/dev/null
535
489
 
536
490
if mkdir -p . 2>/dev/null; then
537
 
  as_mkdir_p=:
 
491
  as_mkdir_p='mkdir -p "$as_dir"'
538
492
else
539
493
  test -d ./-p && rmdir ./-p
540
494
  as_mkdir_p=false
553
507
      if test -d "$1"; then
554
508
        test -d "$1/.";
555
509
      else
556
 
        case $1 in
 
510
        case $1 in #(
557
511
        -*)set "./$1";;
558
512
        esac;
559
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
513
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
560
514
        ???[sx]*):;;*)false;;esac;fi
561
515
    '\'' sh
562
516
  '
571
525
 
572
526
 
573
527
 
574
 
 
575
528
# Check that we are running under the correct shell.
576
529
SHELL=${CONFIG_SHELL-/bin/sh}
577
530
 
738
691
subdirs=
739
692
MFLAGS=
740
693
MAKEFLAGS=
741
 
SHELL=${CONFIG_SHELL-/bin/sh}
742
694
 
743
695
# Identity of this package.
744
696
PACKAGE_NAME='ortp'
745
697
PACKAGE_TARNAME='ortp'
746
 
PACKAGE_VERSION='0.16.0'
747
 
PACKAGE_STRING='ortp 0.16.0'
 
698
PACKAGE_VERSION='0.16.1'
 
699
PACKAGE_STRING='ortp 0.16.1'
748
700
PACKAGE_BUGREPORT=''
 
701
PACKAGE_URL=''
749
702
 
750
703
# Factoring default headers for most tests.
751
704
ac_includes_default="\
783
736
# include <unistd.h>
784
737
#endif"
785
738
 
786
 
ac_subst_vars='LTLIBOBJS
 
739
ac_subst_vars='am__EXEEXT_FALSE
 
740
am__EXEEXT_TRUE
 
741
LTLIBOBJS
787
742
LIBOBJS
788
743
ORTPDEPS_LDFLAGS
789
744
ORTPDEPS_LIBS
797
752
SYS_GROUP
798
753
SYS_USER
799
754
EPM_PKG_EXT
 
755
BUILD_TESTS_FALSE
 
756
BUILD_TESTS_TRUE
800
757
WITH_EPM_FALSE
801
758
WITH_EPM_TRUE
802
759
EPMINSTALL
820
777
lt_ECHO
821
778
RANLIB
822
779
AR
823
 
OBJDUMP
824
780
LN_S
825
781
NM
826
782
ac_ct_DUMPBIN
831
787
GREP
832
788
SED
833
789
LIBTOOL
 
790
OBJDUMP
 
791
DLLTOOL
 
792
AS
834
793
am__fastdepCC_FALSE
835
794
am__fastdepCC_TRUE
836
795
CCDEPMODE
854
813
SET_MAKE
855
814
AWK
856
815
mkdir_p
 
816
MKDIR_P
857
817
INSTALL_STRIP_PROGRAM
858
818
STRIP
859
819
install_sh
865
825
VERSION
866
826
PACKAGE
867
827
CYGPATH_W
 
828
am__isrc
868
829
INSTALL_DATA
869
830
INSTALL_SCRIPT
870
831
INSTALL_PROGRAM
913
874
program_transform_name
914
875
prefix
915
876
exec_prefix
 
877
PACKAGE_URL
916
878
PACKAGE_BUGREPORT
917
879
PACKAGE_STRING
918
880
PACKAGE_VERSION
1057
1019
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1058
1020
    # Reject names that are not valid shell variable names.
1059
1021
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1060
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1061
 
   { (exit 1); exit 1; }; }
 
1022
      as_fn_error "invalid feature name: $ac_useropt"
1062
1023
    ac_useropt_orig=$ac_useropt
1063
1024
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064
1025
    case $ac_user_opts in
1084
1045
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1085
1046
    # Reject names that are not valid shell variable names.
1086
1047
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1087
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1088
 
   { (exit 1); exit 1; }; }
 
1048
      as_fn_error "invalid feature name: $ac_useropt"
1089
1049
    ac_useropt_orig=$ac_useropt
1090
1050
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1091
1051
    case $ac_user_opts in
1289
1249
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1290
1250
    # Reject names that are not valid shell variable names.
1291
1251
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1292
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1293
 
   { (exit 1); exit 1; }; }
 
1252
      as_fn_error "invalid package name: $ac_useropt"
1294
1253
    ac_useropt_orig=$ac_useropt
1295
1254
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1296
1255
    case $ac_user_opts in
1306
1265
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1307
1266
    # Reject names that are not valid shell variable names.
1308
1267
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1309
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1310
 
   { (exit 1); exit 1; }; }
 
1268
      as_fn_error "invalid package name: $ac_useropt"
1311
1269
    ac_useropt_orig=$ac_useropt
1312
1270
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1313
1271
    case $ac_user_opts in
1337
1295
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1338
1296
    x_libraries=$ac_optarg ;;
1339
1297
 
1340
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1341
 
Try \`$0 --help' for more information." >&2
1342
 
   { (exit 1); exit 1; }; }
 
1298
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1299
Try \`$0 --help' for more information."
1343
1300
    ;;
1344
1301
 
1345
1302
  *=*)
1346
1303
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1347
1304
    # Reject names that are not valid shell variable names.
1348
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1349
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1350
 
   { (exit 1); exit 1; }; }
 
1305
    case $ac_envvar in #(
 
1306
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1307
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1308
    esac
1351
1309
    eval $ac_envvar=\$ac_optarg
1352
1310
    export $ac_envvar ;;
1353
1311
 
1364
1322
 
1365
1323
if test -n "$ac_prev"; then
1366
1324
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1367
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1368
 
   { (exit 1); exit 1; }; }
 
1325
  as_fn_error "missing argument to $ac_option"
1369
1326
fi
1370
1327
 
1371
1328
if test -n "$ac_unrecognized_opts"; then
1372
1329
  case $enable_option_checking in
1373
1330
    no) ;;
1374
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1375
 
   { (exit 1); exit 1; }; } ;;
 
1331
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1376
1332
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1377
1333
  esac
1378
1334
fi
1395
1351
    [\\/$]* | ?:[\\/]* )  continue;;
1396
1352
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1397
1353
  esac
1398
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1399
 
   { (exit 1); exit 1; }; }
 
1354
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1400
1355
done
1401
1356
 
1402
1357
# There might be people who depend on the old broken behavior: `$host'
1426
1381
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1427
1382
ac_ls_di=`ls -di .` &&
1428
1383
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1429
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1430
 
   { (exit 1); exit 1; }; }
 
1384
  as_fn_error "working directory cannot be determined"
1431
1385
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1432
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1433
 
   { (exit 1); exit 1; }; }
 
1386
  as_fn_error "pwd does not report name of working directory"
1434
1387
 
1435
1388
 
1436
1389
# Find the source files, if location was not specified.
1469
1422
fi
1470
1423
if test ! -r "$srcdir/$ac_unique_file"; then
1471
1424
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1472
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1473
 
   { (exit 1); exit 1; }; }
 
1425
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1474
1426
fi
1475
1427
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1476
1428
ac_abs_confdir=`(
1477
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1478
 
   { (exit 1); exit 1; }; }
 
1429
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1479
1430
        pwd)`
1480
1431
# When building in place, set srcdir=.
1481
1432
if test "$ac_abs_confdir" = "$ac_pwd"; then
1501
1452
  # Omit some internal or obsolete options to make the list less imposing.
1502
1453
  # This message is too long to be a string in the A/UX 3.1 sh.
1503
1454
  cat <<_ACEOF
1504
 
\`configure' configures ortp 0.16.0 to adapt to many kinds of systems.
 
1455
\`configure' configures ortp 0.16.1 to adapt to many kinds of systems.
1505
1456
 
1506
1457
Usage: $0 [OPTION]... [VAR=VALUE]...
1507
1458
 
1572
1523
 
1573
1524
if test -n "$ac_init_help"; then
1574
1525
  case $ac_init_help in
1575
 
     short | recursive ) echo "Configuration of ortp 0.16.0:";;
 
1526
     short | recursive ) echo "Configuration of ortp 0.16.1:";;
1576
1527
   esac
1577
1528
  cat <<\_ACEOF
1578
1529
 
1618
1569
Use these variables to override the choices made by `configure' or to help
1619
1570
it to find libraries and programs with nonstandard names/locations.
1620
1571
 
 
1572
Report bugs to the package provider.
1621
1573
_ACEOF
1622
1574
ac_status=$?
1623
1575
fi
1680
1632
test -n "$ac_init_help" && exit $ac_status
1681
1633
if $ac_init_version; then
1682
1634
  cat <<\_ACEOF
1683
 
ortp configure 0.16.0
1684
 
generated by GNU Autoconf 2.63
 
1635
ortp configure 0.16.1
 
1636
generated by GNU Autoconf 2.64
1685
1637
 
1686
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1687
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1638
Copyright (C) 2009 Free Software Foundation, Inc.
1688
1639
This configure script is free software; the Free Software Foundation
1689
1640
gives unlimited permission to copy, distribute and modify it.
1690
1641
_ACEOF
1691
1642
  exit
1692
1643
fi
 
1644
 
 
1645
## ------------------------ ##
 
1646
## Autoconf initialization. ##
 
1647
## ------------------------ ##
 
1648
 
 
1649
# ac_fn_c_try_compile LINENO
 
1650
# --------------------------
 
1651
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1652
ac_fn_c_try_compile ()
 
1653
{
 
1654
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1655
  rm -f conftest.$ac_objext
 
1656
  if { { ac_try="$ac_compile"
 
1657
case "(($ac_try" in
 
1658
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1659
  *) ac_try_echo=$ac_try;;
 
1660
esac
 
1661
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1662
$as_echo "$ac_try_echo"; } >&5
 
1663
  (eval "$ac_compile") 2>conftest.err
 
1664
  ac_status=$?
 
1665
  if test -s conftest.err; then
 
1666
    grep -v '^ *+' conftest.err >conftest.er1
 
1667
    cat conftest.er1 >&5
 
1668
    mv -f conftest.er1 conftest.err
 
1669
  fi
 
1670
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1671
  test $ac_status = 0; } && {
 
1672
         test -z "$ac_c_werror_flag" ||
 
1673
         test ! -s conftest.err
 
1674
       } && test -s conftest.$ac_objext; then :
 
1675
  ac_retval=0
 
1676
else
 
1677
  $as_echo "$as_me: failed program was:" >&5
 
1678
sed 's/^/| /' conftest.$ac_ext >&5
 
1679
 
 
1680
        ac_retval=1
 
1681
fi
 
1682
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1683
  return $ac_retval
 
1684
 
 
1685
} # ac_fn_c_try_compile
 
1686
 
 
1687
# ac_fn_c_try_link LINENO
 
1688
# -----------------------
 
1689
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1690
ac_fn_c_try_link ()
 
1691
{
 
1692
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1693
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1694
  if { { ac_try="$ac_link"
 
1695
case "(($ac_try" in
 
1696
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1697
  *) ac_try_echo=$ac_try;;
 
1698
esac
 
1699
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1700
$as_echo "$ac_try_echo"; } >&5
 
1701
  (eval "$ac_link") 2>conftest.err
 
1702
  ac_status=$?
 
1703
  if test -s conftest.err; then
 
1704
    grep -v '^ *+' conftest.err >conftest.er1
 
1705
    cat conftest.er1 >&5
 
1706
    mv -f conftest.er1 conftest.err
 
1707
  fi
 
1708
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1709
  test $ac_status = 0; } && {
 
1710
         test -z "$ac_c_werror_flag" ||
 
1711
         test ! -s conftest.err
 
1712
       } && test -s conftest$ac_exeext && {
 
1713
         test "$cross_compiling" = yes ||
 
1714
         $as_test_x conftest$ac_exeext
 
1715
       }; then :
 
1716
  ac_retval=0
 
1717
else
 
1718
  $as_echo "$as_me: failed program was:" >&5
 
1719
sed 's/^/| /' conftest.$ac_ext >&5
 
1720
 
 
1721
        ac_retval=1
 
1722
fi
 
1723
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1724
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1725
  # interfere with the next link command; also delete a directory that is
 
1726
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1727
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1728
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1729
  return $ac_retval
 
1730
 
 
1731
} # ac_fn_c_try_link
 
1732
 
 
1733
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1734
# -------------------------------------------------------
 
1735
# Tests whether HEADER exists and can be compiled using the include files in
 
1736
# INCLUDES, setting the cache variable VAR accordingly.
 
1737
ac_fn_c_check_header_compile ()
 
1738
{
 
1739
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1740
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1741
$as_echo_n "checking for $2... " >&6; }
 
1742
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1743
  $as_echo_n "(cached) " >&6
 
1744
else
 
1745
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1746
/* end confdefs.h.  */
 
1747
$4
 
1748
#include <$2>
 
1749
_ACEOF
 
1750
if ac_fn_c_try_compile "$LINENO"; then :
 
1751
  eval "$3=yes"
 
1752
else
 
1753
  eval "$3=no"
 
1754
fi
 
1755
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1756
fi
 
1757
eval ac_res=\$$3
 
1758
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1759
$as_echo "$ac_res" >&6; }
 
1760
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1761
 
 
1762
} # ac_fn_c_check_header_compile
 
1763
 
 
1764
# ac_fn_c_try_cpp LINENO
 
1765
# ----------------------
 
1766
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1767
ac_fn_c_try_cpp ()
 
1768
{
 
1769
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1770
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
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_cpp conftest.$ac_ext") 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; } >/dev/null && {
 
1786
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1787
         test ! -s conftest.err
 
1788
       }; then :
 
1789
  ac_retval=0
 
1790
else
 
1791
  $as_echo "$as_me: failed program was:" >&5
 
1792
sed 's/^/| /' conftest.$ac_ext >&5
 
1793
 
 
1794
    ac_retval=1
 
1795
fi
 
1796
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1797
  return $ac_retval
 
1798
 
 
1799
} # ac_fn_c_try_cpp
 
1800
 
 
1801
# ac_fn_c_try_run LINENO
 
1802
# ----------------------
 
1803
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1804
# that executables *can* be run.
 
1805
ac_fn_c_try_run ()
 
1806
{
 
1807
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1808
  if { { ac_try="$ac_link"
 
1809
case "(($ac_try" in
 
1810
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1811
  *) ac_try_echo=$ac_try;;
 
1812
esac
 
1813
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1814
$as_echo "$ac_try_echo"; } >&5
 
1815
  (eval "$ac_link") 2>&5
 
1816
  ac_status=$?
 
1817
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1818
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1819
  { { case "(($ac_try" in
 
1820
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1821
  *) ac_try_echo=$ac_try;;
 
1822
esac
 
1823
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1824
$as_echo "$ac_try_echo"; } >&5
 
1825
  (eval "$ac_try") 2>&5
 
1826
  ac_status=$?
 
1827
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1828
  test $ac_status = 0; }; }; then :
 
1829
  ac_retval=0
 
1830
else
 
1831
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1832
       $as_echo "$as_me: failed program was:" >&5
 
1833
sed 's/^/| /' conftest.$ac_ext >&5
 
1834
 
 
1835
       ac_retval=$ac_status
 
1836
fi
 
1837
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1838
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1839
  return $ac_retval
 
1840
 
 
1841
} # ac_fn_c_try_run
 
1842
 
 
1843
# ac_fn_c_check_func LINENO FUNC VAR
 
1844
# ----------------------------------
 
1845
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1846
ac_fn_c_check_func ()
 
1847
{
 
1848
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1849
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1850
$as_echo_n "checking for $2... " >&6; }
 
1851
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1852
  $as_echo_n "(cached) " >&6
 
1853
else
 
1854
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1855
/* end confdefs.h.  */
 
1856
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1857
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1858
#define $2 innocuous_$2
 
1859
 
 
1860
/* System header to define __stub macros and hopefully few prototypes,
 
1861
    which can conflict with char $2 (); below.
 
1862
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1863
    <limits.h> exists even on freestanding compilers.  */
 
1864
 
 
1865
#ifdef __STDC__
 
1866
# include <limits.h>
 
1867
#else
 
1868
# include <assert.h>
 
1869
#endif
 
1870
 
 
1871
#undef $2
 
1872
 
 
1873
/* Override any GCC internal prototype to avoid an error.
 
1874
   Use char because int might match the return type of a GCC
 
1875
   builtin and then its argument prototype would still apply.  */
 
1876
#ifdef __cplusplus
 
1877
extern "C"
 
1878
#endif
 
1879
char $2 ();
 
1880
/* The GNU C library defines this for functions which it implements
 
1881
    to always fail with ENOSYS.  Some functions are actually named
 
1882
    something starting with __ and the normal name is an alias.  */
 
1883
#if defined __stub_$2 || defined __stub___$2
 
1884
choke me
 
1885
#endif
 
1886
 
 
1887
int
 
1888
main ()
 
1889
{
 
1890
return $2 ();
 
1891
  ;
 
1892
  return 0;
 
1893
}
 
1894
_ACEOF
 
1895
if ac_fn_c_try_link "$LINENO"; then :
 
1896
  eval "$3=yes"
 
1897
else
 
1898
  eval "$3=no"
 
1899
fi
 
1900
rm -f core conftest.err conftest.$ac_objext \
 
1901
    conftest$ac_exeext conftest.$ac_ext
 
1902
fi
 
1903
eval ac_res=\$$3
 
1904
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1905
$as_echo "$ac_res" >&6; }
 
1906
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1907
 
 
1908
} # ac_fn_c_check_func
 
1909
 
 
1910
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1911
# -------------------------------------------------------
 
1912
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1913
# the include files in INCLUDES and setting the cache variable VAR
 
1914
# accordingly.
 
1915
ac_fn_c_check_header_mongrel ()
 
1916
{
 
1917
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1918
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1919
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1920
$as_echo_n "checking for $2... " >&6; }
 
1921
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1922
  $as_echo_n "(cached) " >&6
 
1923
fi
 
1924
eval ac_res=\$$3
 
1925
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1926
$as_echo "$ac_res" >&6; }
 
1927
else
 
1928
  # Is the header compilable?
 
1929
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1930
$as_echo_n "checking $2 usability... " >&6; }
 
1931
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1932
/* end confdefs.h.  */
 
1933
$4
 
1934
#include <$2>
 
1935
_ACEOF
 
1936
if ac_fn_c_try_compile "$LINENO"; then :
 
1937
  ac_header_compiler=yes
 
1938
else
 
1939
  ac_header_compiler=no
 
1940
fi
 
1941
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1943
$as_echo "$ac_header_compiler" >&6; }
 
1944
 
 
1945
# Is the header present?
 
1946
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1947
$as_echo_n "checking $2 presence... " >&6; }
 
1948
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1949
/* end confdefs.h.  */
 
1950
#include <$2>
 
1951
_ACEOF
 
1952
if ac_fn_c_try_cpp "$LINENO"; then :
 
1953
  ac_header_preproc=yes
 
1954
else
 
1955
  ac_header_preproc=no
 
1956
fi
 
1957
rm -f conftest.err conftest.$ac_ext
 
1958
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1959
$as_echo "$ac_header_preproc" >&6; }
 
1960
 
 
1961
# So?  What about this header?
 
1962
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1963
  yes:no: )
 
1964
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1965
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1966
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1967
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1968
    ;;
 
1969
  no:yes:* )
 
1970
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1971
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1972
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1973
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1974
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1975
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1976
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1977
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1978
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1979
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1980
    ;;
 
1981
esac
 
1982
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1983
$as_echo_n "checking for $2... " >&6; }
 
1984
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1985
  $as_echo_n "(cached) " >&6
 
1986
else
 
1987
  eval "$3=\$ac_header_compiler"
 
1988
fi
 
1989
eval ac_res=\$$3
 
1990
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1991
$as_echo "$ac_res" >&6; }
 
1992
fi
 
1993
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1994
 
 
1995
} # ac_fn_c_check_header_mongrel
1693
1996
cat >config.log <<_ACEOF
1694
1997
This file contains any messages produced by compilers while
1695
1998
running configure, to aid debugging if configure makes a mistake.
1696
1999
 
1697
 
It was created by ortp $as_me 0.16.0, which was
1698
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
2000
It was created by ortp $as_me 0.16.1, which was
 
2001
generated by GNU Autoconf 2.64.  Invocation command line was
1699
2002
 
1700
2003
  $ $0 $@
1701
2004
 
1731
2034
do
1732
2035
  IFS=$as_save_IFS
1733
2036
  test -z "$as_dir" && as_dir=.
1734
 
  $as_echo "PATH: $as_dir"
1735
 
done
 
2037
    $as_echo "PATH: $as_dir"
 
2038
  done
1736
2039
IFS=$as_save_IFS
1737
2040
 
1738
2041
} >&5
1769
2072
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1770
2073
    esac
1771
2074
    case $ac_pass in
1772
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2075
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1773
2076
    2)
1774
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2077
      as_fn_append ac_configure_args1 " '$ac_arg'"
1775
2078
      if test $ac_must_keep_next = true; then
1776
2079
        ac_must_keep_next=false # Got value, back to normal.
1777
2080
      else
1787
2090
          -* ) ac_must_keep_next=true ;;
1788
2091
        esac
1789
2092
      fi
1790
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2093
      as_fn_append ac_configure_args " '$ac_arg'"
1791
2094
      ;;
1792
2095
    esac
1793
2096
  done
1794
2097
done
1795
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1796
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2098
{ ac_configure_args0=; unset ac_configure_args0;}
 
2099
{ ac_configure_args1=; unset ac_configure_args1;}
1797
2100
 
1798
2101
# When interrupted or exit'd, cleanup temporary files, and complete
1799
2102
# config.log.  We remove comments because anyway the quotes in there
1818
2121
    case $ac_val in #(
1819
2122
    *${as_nl}*)
1820
2123
      case $ac_var in #(
1821
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2124
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1822
2125
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1823
2126
      esac
1824
2127
      case $ac_var in #(
1825
2128
      _ | IFS | as_nl) ;; #(
1826
2129
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1827
 
      *) $as_unset $ac_var ;;
 
2130
      *) { eval $ac_var=; unset $ac_var;} ;;
1828
2131
      esac ;;
1829
2132
    esac
1830
2133
  done
1896
2199
    exit $exit_status
1897
2200
' 0
1898
2201
for ac_signal in 1 2 13 15; do
1899
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2202
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1900
2203
done
1901
2204
ac_signal=0
1902
2205
 
1903
2206
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1904
2207
rm -f -r conftest* confdefs.h
1905
2208
 
 
2209
$as_echo "/* confdefs.h */" > confdefs.h
 
2210
 
1906
2211
# Predefined preprocessor variables.
1907
2212
 
1908
2213
cat >>confdefs.h <<_ACEOF
1909
2214
#define PACKAGE_NAME "$PACKAGE_NAME"
1910
2215
_ACEOF
1911
2216
 
1912
 
 
1913
2217
cat >>confdefs.h <<_ACEOF
1914
2218
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1915
2219
_ACEOF
1916
2220
 
1917
 
 
1918
2221
cat >>confdefs.h <<_ACEOF
1919
2222
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1920
2223
_ACEOF
1921
2224
 
1922
 
 
1923
2225
cat >>confdefs.h <<_ACEOF
1924
2226
#define PACKAGE_STRING "$PACKAGE_STRING"
1925
2227
_ACEOF
1926
2228
 
1927
 
 
1928
2229
cat >>confdefs.h <<_ACEOF
1929
2230
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1930
2231
_ACEOF
1931
2232
 
 
2233
cat >>confdefs.h <<_ACEOF
 
2234
#define PACKAGE_URL "$PACKAGE_URL"
 
2235
_ACEOF
 
2236
 
1932
2237
 
1933
2238
# Let the site file select an alternate cache file if it wants to.
1934
2239
# Prefer an explicitly selected file to automatically selected ones.
1947
2252
do
1948
2253
  test "x$ac_site_file" = xNONE && continue
1949
2254
  if test -r "$ac_site_file"; then
1950
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2255
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1951
2256
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1952
2257
    sed 's/^/| /' "$ac_site_file" >&5
1953
2258
    . "$ac_site_file"
1958
2263
  # Some versions of bash will fail to source /dev/null (special
1959
2264
  # files actually), so we avoid doing that.
1960
2265
  if test -f "$cache_file"; then
1961
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2266
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1962
2267
$as_echo "$as_me: loading cache $cache_file" >&6;}
1963
2268
    case $cache_file in
1964
2269
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1966
2271
    esac
1967
2272
  fi
1968
2273
else
1969
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2274
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1970
2275
$as_echo "$as_me: creating cache $cache_file" >&6;}
1971
2276
  >$cache_file
1972
2277
fi
1981
2286
  eval ac_new_val=\$ac_env_${ac_var}_value
1982
2287
  case $ac_old_set,$ac_new_set in
1983
2288
    set,)
1984
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2289
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1985
2290
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1986
2291
      ac_cache_corrupted=: ;;
1987
2292
    ,set)
1988
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2293
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1989
2294
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1990
2295
      ac_cache_corrupted=: ;;
1991
2296
    ,);;
1995
2300
        ac_old_val_w=`echo x $ac_old_val`
1996
2301
        ac_new_val_w=`echo x $ac_new_val`
1997
2302
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1998
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2303
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1999
2304
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2000
2305
          ac_cache_corrupted=:
2001
2306
        else
2002
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2307
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2003
2308
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2004
2309
          eval $ac_var=\$ac_old_val
2005
2310
        fi
2006
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2311
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2007
2312
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2008
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2313
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2009
2314
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2010
2315
      fi;;
2011
2316
  esac
2017
2322
    esac
2018
2323
    case " $ac_configure_args " in
2019
2324
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2020
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2325
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2021
2326
    esac
2022
2327
  fi
2023
2328
done
2024
2329
if $ac_cache_corrupted; then
2025
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2330
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2026
2331
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2027
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2332
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2028
2333
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2029
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2030
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2031
 
   { (exit 1); exit 1; }; }
 
2334
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2032
2335
fi
2033
 
 
2034
 
 
2035
 
 
2036
 
 
2037
 
 
2038
 
 
2039
 
 
2040
 
 
2041
 
 
2042
 
 
2043
 
 
2044
 
 
2045
 
 
2046
 
 
2047
 
 
2048
 
 
2049
 
 
2050
 
 
2051
 
 
2052
 
 
2053
 
 
2054
 
 
2055
 
 
2056
 
 
 
2336
## -------------------- ##
 
2337
## Main body of script. ##
 
2338
## -------------------- ##
2057
2339
 
2058
2340
ac_ext=c
2059
2341
ac_cpp='$CPP $CPPFLAGS'
2064
2346
 
2065
2347
ac_aux_dir=
2066
2348
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2067
 
  if test -f "$ac_dir/install-sh"; then
2068
 
    ac_aux_dir=$ac_dir
2069
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2070
 
    break
2071
 
  elif test -f "$ac_dir/install.sh"; then
2072
 
    ac_aux_dir=$ac_dir
2073
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2074
 
    break
2075
 
  elif test -f "$ac_dir/shtool"; then
2076
 
    ac_aux_dir=$ac_dir
2077
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2078
 
    break
2079
 
  fi
 
2349
  for ac_t in install-sh install.sh shtool; do
 
2350
    if test -f "$ac_dir/$ac_t"; then
 
2351
      ac_aux_dir=$ac_dir
 
2352
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2353
      break 2
 
2354
    fi
 
2355
  done
2080
2356
done
2081
2357
if test -z "$ac_aux_dir"; then
2082
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2083
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2084
 
   { (exit 1); exit 1; }; }
 
2358
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2085
2359
fi
2086
2360
 
2087
2361
# These three variables are undocumented and unsupported,
2095
2369
 
2096
2370
# Make sure we can run config.sub.
2097
2371
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2098
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2099
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2100
 
   { (exit 1); exit 1; }; }
 
2372
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2101
2373
 
2102
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
2374
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2103
2375
$as_echo_n "checking build system type... " >&6; }
2104
 
if test "${ac_cv_build+set}" = set; then
 
2376
if test "${ac_cv_build+set}" = set; then :
2105
2377
  $as_echo_n "(cached) " >&6
2106
2378
else
2107
2379
  ac_build_alias=$build_alias
2108
2380
test "x$ac_build_alias" = x &&
2109
2381
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2110
2382
test "x$ac_build_alias" = x &&
2111
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2112
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2113
 
   { (exit 1); exit 1; }; }
 
2383
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2114
2384
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2115
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2116
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2117
 
   { (exit 1); exit 1; }; }
 
2385
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2118
2386
 
2119
2387
fi
2120
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2388
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2121
2389
$as_echo "$ac_cv_build" >&6; }
2122
2390
case $ac_cv_build in
2123
2391
*-*-*) ;;
2124
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2125
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2126
 
   { (exit 1); exit 1; }; };;
 
2392
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2127
2393
esac
2128
2394
build=$ac_cv_build
2129
2395
ac_save_IFS=$IFS; IFS='-'
2139
2405
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2140
2406
 
2141
2407
 
2142
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
2408
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2143
2409
$as_echo_n "checking host system type... " >&6; }
2144
 
if test "${ac_cv_host+set}" = set; then
 
2410
if test "${ac_cv_host+set}" = set; then :
2145
2411
  $as_echo_n "(cached) " >&6
2146
2412
else
2147
2413
  if test "x$host_alias" = x; then
2148
2414
  ac_cv_host=$ac_cv_build
2149
2415
else
2150
2416
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2151
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2152
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2153
 
   { (exit 1); exit 1; }; }
 
2417
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2154
2418
fi
2155
2419
 
2156
2420
fi
2157
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2158
2422
$as_echo "$ac_cv_host" >&6; }
2159
2423
case $ac_cv_host in
2160
2424
*-*-*) ;;
2161
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2162
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2163
 
   { (exit 1); exit 1; }; };;
 
2425
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2164
2426
esac
2165
2427
host=$ac_cv_host
2166
2428
ac_save_IFS=$IFS; IFS='-'
2176
2438
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2177
2439
 
2178
2440
 
2179
 
{ $as_echo "$as_me:$LINENO: checking target system type" >&5
 
2441
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2180
2442
$as_echo_n "checking target system type... " >&6; }
2181
 
if test "${ac_cv_target+set}" = set; then
 
2443
if test "${ac_cv_target+set}" = set; then :
2182
2444
  $as_echo_n "(cached) " >&6
2183
2445
else
2184
2446
  if test "x$target_alias" = x; then
2185
2447
  ac_cv_target=$ac_cv_host
2186
2448
else
2187
2449
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2188
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2189
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2190
 
   { (exit 1); exit 1; }; }
 
2450
    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2191
2451
fi
2192
2452
 
2193
2453
fi
2194
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 
2454
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2195
2455
$as_echo "$ac_cv_target" >&6; }
2196
2456
case $ac_cv_target in
2197
2457
*-*-*) ;;
2198
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2199
 
$as_echo "$as_me: error: invalid value of canonical target" >&2;}
2200
 
   { (exit 1); exit 1; }; };;
 
2458
*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2201
2459
esac
2202
2460
target=$ac_cv_target
2203
2461
ac_save_IFS=$IFS; IFS='-'
2220
2478
    NONENONEs,x,x, &&
2221
2479
  program_prefix=${target_alias}-
2222
2480
 
 
2481
 
2223
2482
ORTP_MAJOR_VERSION=$(echo $PACKAGE_VERSION | cut -d. -f1)
2224
2483
ORTP_MINOR_VERSION=$(echo $PACKAGE_VERSION | cut -d. -f2)
2225
2484
ORTP_MICRO_VERSION=$(echo $PACKAGE_VERSION | cut -d. -f3)
2242
2501
 
2243
2502
PACKAGE=ortp
2244
2503
 
2245
 
am__api_version="1.9"
 
2504
am__api_version='1.11'
 
2505
 
2246
2506
# Find a good install program.  We prefer a C program (faster),
2247
2507
# so one script is as good as another.  But avoid the broken or
2248
2508
# incompatible versions:
2257
2517
# OS/2's system install, which has a completely different semantic
2258
2518
# ./install, which can be erroneously created by make from ./install.sh.
2259
2519
# Reject install programs that cannot install multiple files.
2260
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2520
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2261
2521
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2262
2522
if test -z "$INSTALL"; then
2263
 
if test "${ac_cv_path_install+set}" = set; then
 
2523
if test "${ac_cv_path_install+set}" = set; then :
2264
2524
  $as_echo_n "(cached) " >&6
2265
2525
else
2266
2526
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2268
2528
do
2269
2529
  IFS=$as_save_IFS
2270
2530
  test -z "$as_dir" && as_dir=.
2271
 
  # Account for people who put trailing slashes in PATH elements.
2272
 
case $as_dir/ in
2273
 
  ./ | .// | /cC/* | \
 
2531
    # Account for people who put trailing slashes in PATH elements.
 
2532
case $as_dir/ in #((
 
2533
  ./ | .// | /[cC]/* | \
2274
2534
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2275
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2535
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2276
2536
  /usr/ucb/* ) ;;
2277
2537
  *)
2278
2538
    # OSF1 and SCO ODT 3.0 have their own names for install.
2309
2569
    ;;
2310
2570
esac
2311
2571
 
2312
 
done
 
2572
  done
2313
2573
IFS=$as_save_IFS
2314
2574
 
2315
2575
rm -rf conftest.one conftest.two conftest.dir
2325
2585
    INSTALL=$ac_install_sh
2326
2586
  fi
2327
2587
fi
2328
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2588
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2329
2589
$as_echo "$INSTALL" >&6; }
2330
2590
 
2331
2591
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2336
2596
 
2337
2597
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2338
2598
 
2339
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2599
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2340
2600
$as_echo_n "checking whether build environment is sane... " >&6; }
2341
2601
# Just in case
2342
2602
sleep 1
2343
2603
echo timestamp > conftest.file
 
2604
# Reject unsafe characters in $srcdir or the absolute working directory
 
2605
# name.  Accept space and tab only in the latter.
 
2606
am_lf='
 
2607
'
 
2608
case `pwd` in
 
2609
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2610
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2611
esac
 
2612
case $srcdir in
 
2613
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2614
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2615
esac
 
2616
 
2344
2617
# Do `set' in a subshell so we don't clobber the current shell's
2345
2618
# arguments.  Must try -L first in case configure is actually a
2346
2619
# symlink; some systems play weird games with the mod time of symlinks
2347
2620
# (eg FreeBSD returns the mod time of the symlink's containing
2348
2621
# directory).
2349
2622
if (
2350
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2623
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2351
2624
   if test "$*" = "X"; then
2352
2625
      # -L didn't work.
2353
 
      set X `ls -t $srcdir/configure conftest.file`
 
2626
      set X `ls -t "$srcdir/configure" conftest.file`
2354
2627
   fi
2355
2628
   rm -f conftest.file
2356
2629
   if test "$*" != "X $srcdir/configure conftest.file" \
2360
2633
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2361
2634
      # broken ls alias from the environment.  This has actually
2362
2635
      # happened.  Such a system could not be considered "sane".
2363
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2364
 
alias in your environment" >&5
2365
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2366
 
alias in your environment" >&2;}
2367
 
   { (exit 1); exit 1; }; }
 
2636
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2637
alias in your environment" "$LINENO" 5
2368
2638
   fi
2369
2639
 
2370
2640
   test "$2" = conftest.file
2373
2643
   # Ok.
2374
2644
   :
2375
2645
else
2376
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2377
 
Check your system clock" >&5
2378
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2379
 
Check your system clock" >&2;}
2380
 
   { (exit 1); exit 1; }; }
 
2646
   as_fn_error "newly created file is older than distributed files!
 
2647
Check your system clock" "$LINENO" 5
2381
2648
fi
2382
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2649
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2383
2650
$as_echo "yes" >&6; }
2384
2651
test "$program_prefix" != NONE &&
2385
2652
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2394
2661
# expand $ac_aux_dir to an absolute path
2395
2662
am_aux_dir=`cd $ac_aux_dir && pwd`
2396
2663
 
2397
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2664
if test x"${MISSING+set}" != xset; then
 
2665
  case $am_aux_dir in
 
2666
  *\ * | *\     *)
 
2667
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2668
  *)
 
2669
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2670
  esac
 
2671
fi
2398
2672
# Use eval to expand $SHELL
2399
2673
if eval "$MISSING --run true"; then
2400
2674
  am_missing_run="$MISSING --run "
2401
2675
else
2402
2676
  am_missing_run=
2403
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2677
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2404
2678
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2405
2679
fi
2406
2680
 
2407
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2408
 
  # We used to keeping the `.' as first argument, in order to
2409
 
  # allow $(mkdir_p) to be used without argument.  As in
2410
 
  #   $(mkdir_p) $(somedir)
2411
 
  # where $(somedir) is conditionally defined.  However this is wrong
2412
 
  # for two reasons:
2413
 
  #  1. if the package is installed by a user who cannot write `.'
2414
 
  #     make install will fail,
2415
 
  #  2. the above comment should most certainly read
2416
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
2417
 
  #     so it does not work when $(somedir) is undefined and
2418
 
  #     $(DESTDIR) is not.
2419
 
  #  To support the latter case, we have to write
2420
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2421
 
  #  so the `.' trick is pointless.
2422
 
  mkdir_p='mkdir -p --'
2423
 
else
2424
 
  # On NextStep and OpenStep, the `mkdir' command does not
2425
 
  # recognize any option.  It will interpret all options as
2426
 
  # directories to create, and then abort because `.' already
2427
 
  # exists.
2428
 
  for d in ./-p ./--version;
2429
 
  do
2430
 
    test -d $d && rmdir $d
2431
 
  done
2432
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2433
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
2434
 
    mkdir_p='$(mkinstalldirs)'
2435
 
  else
2436
 
    mkdir_p='$(install_sh) -d'
2437
 
  fi
2438
 
fi
 
2681
if test x"${install_sh}" != xset; then
 
2682
  case $am_aux_dir in
 
2683
  *\ * | *\     *)
 
2684
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2685
  *)
 
2686
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2687
  esac
 
2688
fi
 
2689
 
 
2690
# Installed binaries are usually stripped using `strip' when the user
 
2691
# run `make install-strip'.  However `strip' might not be the right
 
2692
# tool to use in cross-compilation environments, therefore Automake
 
2693
# will honor the `STRIP' environment variable to overrule this program.
 
2694
if test "$cross_compiling" != no; then
 
2695
  if test -n "$ac_tool_prefix"; then
 
2696
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2697
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2699
$as_echo_n "checking for $ac_word... " >&6; }
 
2700
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2701
  $as_echo_n "(cached) " >&6
 
2702
else
 
2703
  if test -n "$STRIP"; then
 
2704
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2705
else
 
2706
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2707
for as_dir in $PATH
 
2708
do
 
2709
  IFS=$as_save_IFS
 
2710
  test -z "$as_dir" && as_dir=.
 
2711
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2712
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2713
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2714
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2715
    break 2
 
2716
  fi
 
2717
done
 
2718
  done
 
2719
IFS=$as_save_IFS
 
2720
 
 
2721
fi
 
2722
fi
 
2723
STRIP=$ac_cv_prog_STRIP
 
2724
if test -n "$STRIP"; then
 
2725
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2726
$as_echo "$STRIP" >&6; }
 
2727
else
 
2728
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2729
$as_echo "no" >&6; }
 
2730
fi
 
2731
 
 
2732
 
 
2733
fi
 
2734
if test -z "$ac_cv_prog_STRIP"; then
 
2735
  ac_ct_STRIP=$STRIP
 
2736
  # Extract the first word of "strip", so it can be a program name with args.
 
2737
set dummy strip; ac_word=$2
 
2738
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2739
$as_echo_n "checking for $ac_word... " >&6; }
 
2740
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2741
  $as_echo_n "(cached) " >&6
 
2742
else
 
2743
  if test -n "$ac_ct_STRIP"; then
 
2744
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2745
else
 
2746
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2747
for as_dir in $PATH
 
2748
do
 
2749
  IFS=$as_save_IFS
 
2750
  test -z "$as_dir" && as_dir=.
 
2751
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2752
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2753
    ac_cv_prog_ac_ct_STRIP="strip"
 
2754
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2755
    break 2
 
2756
  fi
 
2757
done
 
2758
  done
 
2759
IFS=$as_save_IFS
 
2760
 
 
2761
fi
 
2762
fi
 
2763
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2764
if test -n "$ac_ct_STRIP"; then
 
2765
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2766
$as_echo "$ac_ct_STRIP" >&6; }
 
2767
else
 
2768
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2769
$as_echo "no" >&6; }
 
2770
fi
 
2771
 
 
2772
  if test "x$ac_ct_STRIP" = x; then
 
2773
    STRIP=":"
 
2774
  else
 
2775
    case $cross_compiling:$ac_tool_warned in
 
2776
yes:)
 
2777
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2778
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2779
ac_tool_warned=yes ;;
 
2780
esac
 
2781
    STRIP=$ac_ct_STRIP
 
2782
  fi
 
2783
else
 
2784
  STRIP="$ac_cv_prog_STRIP"
 
2785
fi
 
2786
 
 
2787
fi
 
2788
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2789
 
 
2790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2791
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2792
if test -z "$MKDIR_P"; then
 
2793
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2794
  $as_echo_n "(cached) " >&6
 
2795
else
 
2796
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2797
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2798
do
 
2799
  IFS=$as_save_IFS
 
2800
  test -z "$as_dir" && as_dir=.
 
2801
    for ac_prog in mkdir gmkdir; do
 
2802
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2803
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2804
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2805
             'mkdir (GNU coreutils) '* | \
 
2806
             'mkdir (coreutils) '* | \
 
2807
             'mkdir (fileutils) '4.1*)
 
2808
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2809
               break 3;;
 
2810
           esac
 
2811
         done
 
2812
       done
 
2813
  done
 
2814
IFS=$as_save_IFS
 
2815
 
 
2816
fi
 
2817
 
 
2818
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2819
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2820
  else
 
2821
    # As a last resort, use the slow shell script.  Don't cache a
 
2822
    # value for MKDIR_P within a source directory, because that will
 
2823
    # break other packages using the cache if that directory is
 
2824
    # removed, or if the value is a relative name.
 
2825
    test -d ./--version && rmdir ./--version
 
2826
    MKDIR_P="$ac_install_sh -d"
 
2827
  fi
 
2828
fi
 
2829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2830
$as_echo "$MKDIR_P" >&6; }
 
2831
 
 
2832
mkdir_p="$MKDIR_P"
 
2833
case $mkdir_p in
 
2834
  [\\/$]* | ?:[\\/]*) ;;
 
2835
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2836
esac
2439
2837
 
2440
2838
for ac_prog in gawk mawk nawk awk
2441
2839
do
2442
2840
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2443
2841
set dummy $ac_prog; ac_word=$2
2444
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2842
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2445
2843
$as_echo_n "checking for $ac_word... " >&6; }
2446
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2844
if test "${ac_cv_prog_AWK+set}" = set; then :
2447
2845
  $as_echo_n "(cached) " >&6
2448
2846
else
2449
2847
  if test -n "$AWK"; then
2454
2852
do
2455
2853
  IFS=$as_save_IFS
2456
2854
  test -z "$as_dir" && as_dir=.
2457
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2855
    for ac_exec_ext in '' $ac_executable_extensions; do
2458
2856
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2459
2857
    ac_cv_prog_AWK="$ac_prog"
2460
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2858
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2461
2859
    break 2
2462
2860
  fi
2463
2861
done
2464
 
done
 
2862
  done
2465
2863
IFS=$as_save_IFS
2466
2864
 
2467
2865
fi
2468
2866
fi
2469
2867
AWK=$ac_cv_prog_AWK
2470
2868
if test -n "$AWK"; then
2471
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2869
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2472
2870
$as_echo "$AWK" >&6; }
2473
2871
else
2474
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2872
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2475
2873
$as_echo "no" >&6; }
2476
2874
fi
2477
2875
 
2479
2877
  test -n "$AWK" && break
2480
2878
done
2481
2879
 
2482
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2483
2881
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2484
2882
set x ${MAKE-make}
2485
2883
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2486
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2884
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2487
2885
  $as_echo_n "(cached) " >&6
2488
2886
else
2489
2887
  cat >conftest.make <<\_ACEOF
2501
2899
rm -f conftest.make
2502
2900
fi
2503
2901
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2504
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2902
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2505
2903
$as_echo "yes" >&6; }
2506
2904
  SET_MAKE=
2507
2905
else
2508
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2906
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2509
2907
$as_echo "no" >&6; }
2510
2908
  SET_MAKE="MAKE=${MAKE-make}"
2511
2909
fi
2519
2917
fi
2520
2918
rmdir .tst 2>/dev/null
2521
2919
 
2522
 
# test to see if srcdir already configured
2523
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2524
 
   test -f $srcdir/config.status; then
2525
 
  { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2526
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2527
 
   { (exit 1); exit 1; }; }
 
2920
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2921
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2922
  # is not polluted with repeated "-I."
 
2923
  am__isrc=' -I$(srcdir)'
 
2924
  # test to see if srcdir already configured
 
2925
  if test -f $srcdir/config.status; then
 
2926
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2927
  fi
2528
2928
fi
2529
2929
 
2530
2930
# test whether we have cygpath
2539
2939
 
2540
2940
# Define the identity of the package.
2541
2941
 PACKAGE='ortp'
2542
 
 VERSION='0.16.0'
 
2942
 VERSION='0.16.1'
2543
2943
 
2544
2944
 
2545
2945
cat >>confdefs.h <<_ACEOF
2567
2967
 
2568
2968
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2569
2969
 
2570
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2571
 
 
2572
 
# Installed binaries are usually stripped using `strip' when the user
2573
 
# run `make install-strip'.  However `strip' might not be the right
2574
 
# tool to use in cross-compilation environments, therefore Automake
2575
 
# will honor the `STRIP' environment variable to overrule this program.
2576
 
if test "$cross_compiling" != no; then
2577
 
  if test -n "$ac_tool_prefix"; then
2578
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2579
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2580
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2581
 
$as_echo_n "checking for $ac_word... " >&6; }
2582
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2583
 
  $as_echo_n "(cached) " >&6
2584
 
else
2585
 
  if test -n "$STRIP"; then
2586
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2587
 
else
2588
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2589
 
for as_dir in $PATH
2590
 
do
2591
 
  IFS=$as_save_IFS
2592
 
  test -z "$as_dir" && as_dir=.
2593
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2594
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2595
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2596
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2597
 
    break 2
2598
 
  fi
2599
 
done
2600
 
done
2601
 
IFS=$as_save_IFS
2602
 
 
2603
 
fi
2604
 
fi
2605
 
STRIP=$ac_cv_prog_STRIP
2606
 
if test -n "$STRIP"; then
2607
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2608
 
$as_echo "$STRIP" >&6; }
2609
 
else
2610
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2611
 
$as_echo "no" >&6; }
2612
 
fi
2613
 
 
2614
 
 
2615
 
fi
2616
 
if test -z "$ac_cv_prog_STRIP"; then
2617
 
  ac_ct_STRIP=$STRIP
2618
 
  # Extract the first word of "strip", so it can be a program name with args.
2619
 
set dummy strip; ac_word=$2
2620
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2621
 
$as_echo_n "checking for $ac_word... " >&6; }
2622
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2623
 
  $as_echo_n "(cached) " >&6
2624
 
else
2625
 
  if test -n "$ac_ct_STRIP"; then
2626
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2627
 
else
2628
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2629
 
for as_dir in $PATH
2630
 
do
2631
 
  IFS=$as_save_IFS
2632
 
  test -z "$as_dir" && as_dir=.
2633
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2634
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2635
 
    ac_cv_prog_ac_ct_STRIP="strip"
2636
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2637
 
    break 2
2638
 
  fi
2639
 
done
2640
 
done
2641
 
IFS=$as_save_IFS
2642
 
 
2643
 
fi
2644
 
fi
2645
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2646
 
if test -n "$ac_ct_STRIP"; then
2647
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2648
 
$as_echo "$ac_ct_STRIP" >&6; }
2649
 
else
2650
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2651
 
$as_echo "no" >&6; }
2652
 
fi
2653
 
 
2654
 
  if test "x$ac_ct_STRIP" = x; then
2655
 
    STRIP=":"
2656
 
  else
2657
 
    case $cross_compiling:$ac_tool_warned in
2658
 
yes:)
2659
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2660
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2661
 
ac_tool_warned=yes ;;
2662
 
esac
2663
 
    STRIP=$ac_ct_STRIP
2664
 
  fi
2665
 
else
2666
 
  STRIP="$ac_cv_prog_STRIP"
2667
 
fi
2668
 
 
2669
 
fi
2670
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2671
 
 
2672
2970
# We need awk for the "check" target.  The system "awk" is bad on
2673
2971
# some platforms.
2674
2972
# Always define AMTAR for backward compatibility.
2676
2974
AMTAR=${AMTAR-"${am_missing_run}tar"}
2677
2975
 
2678
2976
 
2679
 
{ $as_echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
 
2977
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2680
2978
$as_echo_n "checking how to create a ustar tar archive... " >&6; }
2681
2979
# Loop over all known methods to create a tar archive until one works.
2682
2980
_am_tools='gnutar plaintar pax cpio none'
2749
3047
done
2750
3048
rm -rf conftest.dir
2751
3049
 
2752
 
if test "${am_cv_prog_tar_ustar+set}" = set; then
 
3050
if test "${am_cv_prog_tar_ustar+set}" = set; then :
2753
3051
  $as_echo_n "(cached) " >&6
2754
3052
else
2755
3053
  am_cv_prog_tar_ustar=$_am_tool
2756
3054
fi
2757
3055
 
2758
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
 
3056
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2759
3057
$as_echo "$am_cv_prog_tar_ustar" >&6; }
2760
3058
 
2761
3059
 
2787
3085
 
2788
3086
 
2789
3087
 
2790
 
{ $as_echo "$as_me:$LINENO: checking warning make an error on compilation" >&5
 
3088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking warning make an error on compilation" >&5
2791
3089
$as_echo_n "checking warning make an error on compilation... " >&6; }
2792
3090
# Check whether --enable-strict was given.
2793
 
if test "${enable_strict+set}" = set; then
 
3091
if test "${enable_strict+set}" = set; then :
2794
3092
  enableval=$enable_strict; wall_werror=$enableval
2795
3093
else
2796
3094
  wall_werror=yes
2799
3097
 
2800
3098
 
2801
3099
# Check whether --enable-perf was given.
2802
 
if test "${enable_perf+set}" = set; then
 
3100
if test "${enable_perf+set}" = set; then :
2803
3101
  enableval=$enable_perf; perf=$enableval
2804
3102
else
2805
3103
  perf=no
2810
3108
ORTP_DEFS=
2811
3109
 
2812
3110
# Check whether --enable-ipv6 was given.
2813
 
if test "${enable_ipv6+set}" = set; then
 
3111
if test "${enable_ipv6+set}" = set; then :
2814
3112
  enableval=$enable_ipv6; case "${enableval}" in
2815
3113
        yes)  ipv6=true;;
2816
3114
        no)   ipv6=false;;
2817
 
        *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-ipv6" >&5
2818
 
$as_echo "$as_me: error: bad value ${enableval} for --enable-ipv6" >&2;}
2819
 
   { (exit 1); exit 1; }; } ;;
 
3115
        *) as_fn_error "bad value ${enableval} for --enable-ipv6" "$LINENO" 5 ;;
2820
3116
      esac
2821
3117
else
2822
3118
  ipv6=true
2827
3123
fi
2828
3124
 
2829
3125
# Check whether --enable-mode64bit was given.
2830
 
if test "${enable_mode64bit+set}" = set; then
 
3126
if test "${enable_mode64bit+set}" = set; then :
2831
3127
  enableval=$enable_mode64bit; case "${enableval}" in
2832
3128
                                yes) mode64bit_enabled=yes;;
2833
3129
                                no) mode64bit_enabled=no;;
2834
 
                                *) { { $as_echo "$as_me:$LINENO: error: \"Bad value for --enable-mode64bit\"" >&5
2835
 
$as_echo "$as_me: error: \"Bad value for --enable-mode64bit\"" >&2;}
2836
 
   { (exit 1); exit 1; }; };;
 
3130
                                *) as_fn_error "\"Bad value for --enable-mode64bit\"" "$LINENO" 5;;
2837
3131
                        esac
2838
3132
else
2839
3133
  mode64bit_enabled=no
2841
3135
 
2842
3136
 
2843
3137
# Check whether --enable-debug was given.
2844
 
if test "${enable_debug+set}" = set; then
 
3138
if test "${enable_debug+set}" = set; then :
2845
3139
  enableval=$enable_debug; case "${enableval}" in
2846
3140
                                yes) debug_enabled=yes;;
2847
3141
                                no) debug_enabled=no;;
2848
 
                                *) { { $as_echo "$as_me:$LINENO: error: \"Bad value for --enable-debug\"" >&5
2849
 
$as_echo "$as_me: error: \"Bad value for --enable-debug\"" >&2;}
2850
 
   { (exit 1); exit 1; }; };;
 
3142
                                *) as_fn_error "\"Bad value for --enable-debug\"" "$LINENO" 5;;
2851
3143
                        esac
2852
3144
else
2853
3145
  debug_enabled=no
2863
3155
        *hpux*)
2864
3156
                hpux_host=yes
2865
3157
 
2866
 
cat >>confdefs.h <<\_ACEOF
2867
 
#define NOCONNECT 1
2868
 
_ACEOF
 
3158
$as_echo "#define NOCONNECT 1" >>confdefs.h
2869
3159
 
2870
3160
                CFLAGS="$CFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506L"
2871
3161
                LIBS="$LIBS -lxnet"
2872
3162
                ;;
2873
3163
        *freebsd*)
2874
3164
 
2875
 
cat >>confdefs.h <<\_ACEOF
2876
 
#define NOCONNECT 1
2877
 
_ACEOF
 
3165
$as_echo "#define NOCONNECT 1" >>confdefs.h
2878
3166
 
2879
3167
                PTHREAD_LDFLAGS="-pthread"
2880
3168
                ;;
 
3169
        *mingw*)
 
3170
                CFLAGS="$CFLAGS -D_WIN32_WINNT=0x0501 -DORTP_STATIC"
 
3171
                LIBS="$LIBS -lws2_32 -liphlpapi -lwinmm"
 
3172
                build_tests=no
 
3173
                ;;
2881
3174
esac
2882
3175
 
2883
3176
ac_ext=c
2888
3181
if test -n "$ac_tool_prefix"; then
2889
3182
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2890
3183
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2891
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3184
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2892
3185
$as_echo_n "checking for $ac_word... " >&6; }
2893
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3186
if test "${ac_cv_prog_CC+set}" = set; then :
2894
3187
  $as_echo_n "(cached) " >&6
2895
3188
else
2896
3189
  if test -n "$CC"; then
2901
3194
do
2902
3195
  IFS=$as_save_IFS
2903
3196
  test -z "$as_dir" && as_dir=.
2904
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3197
    for ac_exec_ext in '' $ac_executable_extensions; do
2905
3198
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2906
3199
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2907
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3200
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2908
3201
    break 2
2909
3202
  fi
2910
3203
done
2911
 
done
 
3204
  done
2912
3205
IFS=$as_save_IFS
2913
3206
 
2914
3207
fi
2915
3208
fi
2916
3209
CC=$ac_cv_prog_CC
2917
3210
if test -n "$CC"; then
2918
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3211
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2919
3212
$as_echo "$CC" >&6; }
2920
3213
else
2921
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3214
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2922
3215
$as_echo "no" >&6; }
2923
3216
fi
2924
3217
 
2928
3221
  ac_ct_CC=$CC
2929
3222
  # Extract the first word of "gcc", so it can be a program name with args.
2930
3223
set dummy gcc; ac_word=$2
2931
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3224
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2932
3225
$as_echo_n "checking for $ac_word... " >&6; }
2933
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3226
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2934
3227
  $as_echo_n "(cached) " >&6
2935
3228
else
2936
3229
  if test -n "$ac_ct_CC"; then
2941
3234
do
2942
3235
  IFS=$as_save_IFS
2943
3236
  test -z "$as_dir" && as_dir=.
2944
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3237
    for ac_exec_ext in '' $ac_executable_extensions; do
2945
3238
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2946
3239
    ac_cv_prog_ac_ct_CC="gcc"
2947
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3240
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2948
3241
    break 2
2949
3242
  fi
2950
3243
done
2951
 
done
 
3244
  done
2952
3245
IFS=$as_save_IFS
2953
3246
 
2954
3247
fi
2955
3248
fi
2956
3249
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2957
3250
if test -n "$ac_ct_CC"; then
2958
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3251
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2959
3252
$as_echo "$ac_ct_CC" >&6; }
2960
3253
else
2961
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3254
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2962
3255
$as_echo "no" >&6; }
2963
3256
fi
2964
3257
 
2967
3260
  else
2968
3261
    case $cross_compiling:$ac_tool_warned in
2969
3262
yes:)
2970
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3263
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2971
3264
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2972
3265
ac_tool_warned=yes ;;
2973
3266
esac
2981
3274
          if test -n "$ac_tool_prefix"; then
2982
3275
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2983
3276
set dummy ${ac_tool_prefix}cc; ac_word=$2
2984
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3277
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2985
3278
$as_echo_n "checking for $ac_word... " >&6; }
2986
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3279
if test "${ac_cv_prog_CC+set}" = set; then :
2987
3280
  $as_echo_n "(cached) " >&6
2988
3281
else
2989
3282
  if test -n "$CC"; then
2994
3287
do
2995
3288
  IFS=$as_save_IFS
2996
3289
  test -z "$as_dir" && as_dir=.
2997
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3290
    for ac_exec_ext in '' $ac_executable_extensions; do
2998
3291
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2999
3292
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3000
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3293
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3001
3294
    break 2
3002
3295
  fi
3003
3296
done
3004
 
done
 
3297
  done
3005
3298
IFS=$as_save_IFS
3006
3299
 
3007
3300
fi
3008
3301
fi
3009
3302
CC=$ac_cv_prog_CC
3010
3303
if test -n "$CC"; then
3011
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3304
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3012
3305
$as_echo "$CC" >&6; }
3013
3306
else
3014
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3307
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3015
3308
$as_echo "no" >&6; }
3016
3309
fi
3017
3310
 
3021
3314
if test -z "$CC"; then
3022
3315
  # Extract the first word of "cc", so it can be a program name with args.
3023
3316
set dummy cc; ac_word=$2
3024
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3317
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3025
3318
$as_echo_n "checking for $ac_word... " >&6; }
3026
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3319
if test "${ac_cv_prog_CC+set}" = set; then :
3027
3320
  $as_echo_n "(cached) " >&6
3028
3321
else
3029
3322
  if test -n "$CC"; then
3035
3328
do
3036
3329
  IFS=$as_save_IFS
3037
3330
  test -z "$as_dir" && as_dir=.
3038
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3331
    for ac_exec_ext in '' $ac_executable_extensions; do
3039
3332
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3040
3333
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3041
3334
       ac_prog_rejected=yes
3042
3335
       continue
3043
3336
     fi
3044
3337
    ac_cv_prog_CC="cc"
3045
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3338
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3046
3339
    break 2
3047
3340
  fi
3048
3341
done
3049
 
done
 
3342
  done
3050
3343
IFS=$as_save_IFS
3051
3344
 
3052
3345
if test $ac_prog_rejected = yes; then
3065
3358
fi
3066
3359
CC=$ac_cv_prog_CC
3067
3360
if test -n "$CC"; then
3068
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3361
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3069
3362
$as_echo "$CC" >&6; }
3070
3363
else
3071
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3364
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3072
3365
$as_echo "no" >&6; }
3073
3366
fi
3074
3367
 
3080
3373
  do
3081
3374
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3082
3375
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3083
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3376
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3084
3377
$as_echo_n "checking for $ac_word... " >&6; }
3085
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3378
if test "${ac_cv_prog_CC+set}" = set; then :
3086
3379
  $as_echo_n "(cached) " >&6
3087
3380
else
3088
3381
  if test -n "$CC"; then
3093
3386
do
3094
3387
  IFS=$as_save_IFS
3095
3388
  test -z "$as_dir" && as_dir=.
3096
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3389
    for ac_exec_ext in '' $ac_executable_extensions; do
3097
3390
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3098
3391
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3099
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3392
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3100
3393
    break 2
3101
3394
  fi
3102
3395
done
3103
 
done
 
3396
  done
3104
3397
IFS=$as_save_IFS
3105
3398
 
3106
3399
fi
3107
3400
fi
3108
3401
CC=$ac_cv_prog_CC
3109
3402
if test -n "$CC"; then
3110
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3403
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3111
3404
$as_echo "$CC" >&6; }
3112
3405
else
3113
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3406
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114
3407
$as_echo "no" >&6; }
3115
3408
fi
3116
3409
 
3124
3417
do
3125
3418
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3126
3419
set dummy $ac_prog; ac_word=$2
3127
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3128
3421
$as_echo_n "checking for $ac_word... " >&6; }
3129
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3422
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3130
3423
  $as_echo_n "(cached) " >&6
3131
3424
else
3132
3425
  if test -n "$ac_ct_CC"; then
3137
3430
do
3138
3431
  IFS=$as_save_IFS
3139
3432
  test -z "$as_dir" && as_dir=.
3140
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3433
    for ac_exec_ext in '' $ac_executable_extensions; do
3141
3434
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3142
3435
    ac_cv_prog_ac_ct_CC="$ac_prog"
3143
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3436
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3144
3437
    break 2
3145
3438
  fi
3146
3439
done
3147
 
done
 
3440
  done
3148
3441
IFS=$as_save_IFS
3149
3442
 
3150
3443
fi
3151
3444
fi
3152
3445
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3153
3446
if test -n "$ac_ct_CC"; then
3154
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3447
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3155
3448
$as_echo "$ac_ct_CC" >&6; }
3156
3449
else
3157
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3450
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3158
3451
$as_echo "no" >&6; }
3159
3452
fi
3160
3453
 
3167
3460
  else
3168
3461
    case $cross_compiling:$ac_tool_warned in
3169
3462
yes:)
3170
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3463
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3171
3464
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3172
3465
ac_tool_warned=yes ;;
3173
3466
esac
3178
3471
fi
3179
3472
 
3180
3473
 
3181
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3474
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3182
3475
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3183
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3184
 
See \`config.log' for more details." >&5
3185
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3186
 
See \`config.log' for more details." >&2;}
3187
 
   { (exit 1); exit 1; }; }; }
 
3476
as_fn_error "no acceptable C compiler found in \$PATH
 
3477
See \`config.log' for more details." "$LINENO" 5; }
3188
3478
 
3189
3479
# Provide some information about the compiler.
3190
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3480
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3191
3481
set X $ac_compile
3192
3482
ac_compiler=$2
3193
 
{ (ac_try="$ac_compiler --version >&5"
3194
 
case "(($ac_try" in
3195
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3196
 
  *) ac_try_echo=$ac_try;;
3197
 
esac
3198
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3199
 
$as_echo "$ac_try_echo") >&5
3200
 
  (eval "$ac_compiler --version >&5") 2>&5
3201
 
  ac_status=$?
3202
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203
 
  (exit $ac_status); }
3204
 
{ (ac_try="$ac_compiler -v >&5"
3205
 
case "(($ac_try" in
3206
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3207
 
  *) ac_try_echo=$ac_try;;
3208
 
esac
3209
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3210
 
$as_echo "$ac_try_echo") >&5
3211
 
  (eval "$ac_compiler -v >&5") 2>&5
3212
 
  ac_status=$?
3213
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214
 
  (exit $ac_status); }
3215
 
{ (ac_try="$ac_compiler -V >&5"
3216
 
case "(($ac_try" in
3217
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3218
 
  *) ac_try_echo=$ac_try;;
3219
 
esac
3220
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3221
 
$as_echo "$ac_try_echo") >&5
3222
 
  (eval "$ac_compiler -V >&5") 2>&5
3223
 
  ac_status=$?
3224
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225
 
  (exit $ac_status); }
 
3483
for ac_option in --version -v -V -qversion; do
 
3484
  { { ac_try="$ac_compiler $ac_option >&5"
 
3485
case "(($ac_try" in
 
3486
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3487
  *) ac_try_echo=$ac_try;;
 
3488
esac
 
3489
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3490
$as_echo "$ac_try_echo"; } >&5
 
3491
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3492
  ac_status=$?
 
3493
  if test -s conftest.err; then
 
3494
    sed '10a\
 
3495
... rest of stderr output deleted ...
 
3496
         10q' conftest.err >conftest.er1
 
3497
    cat conftest.er1 >&5
 
3498
    rm -f conftest.er1 conftest.err
 
3499
  fi
 
3500
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3501
  test $ac_status = 0; }
 
3502
done
3226
3503
 
3227
 
cat >conftest.$ac_ext <<_ACEOF
3228
 
/* confdefs.h.  */
3229
 
_ACEOF
3230
 
cat confdefs.h >>conftest.$ac_ext
3231
 
cat >>conftest.$ac_ext <<_ACEOF
 
3504
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3232
3505
/* end confdefs.h.  */
3233
 
 
 
3506
#include <stdio.h>
3234
3507
int
3235
3508
main ()
3236
3509
{
 
3510
FILE *f = fopen ("conftest.out", "w");
 
3511
 return ferror (f) || fclose (f) != 0;
3237
3512
 
3238
3513
  ;
3239
3514
  return 0;
3240
3515
}
3241
3516
_ACEOF
3242
3517
ac_clean_files_save=$ac_clean_files
3243
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3518
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3244
3519
# Try to create an executable without -o first, disregard a.out.
3245
3520
# It will help us diagnose broken compilers, and finding out an intuition
3246
3521
# of exeext.
3247
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3522
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3248
3523
$as_echo_n "checking for C compiler default output file name... " >&6; }
3249
3524
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3250
3525
 
3261
3536
done
3262
3537
rm -f $ac_rmfiles
3263
3538
 
3264
 
if { (ac_try="$ac_link_default"
 
3539
if { { ac_try="$ac_link_default"
3265
3540
case "(($ac_try" in
3266
3541
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3267
3542
  *) ac_try_echo=$ac_try;;
3268
3543
esac
3269
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3270
 
$as_echo "$ac_try_echo") >&5
 
3544
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3545
$as_echo "$ac_try_echo"; } >&5
3271
3546
  (eval "$ac_link_default") 2>&5
3272
3547
  ac_status=$?
3273
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274
 
  (exit $ac_status); }; then
 
3548
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3549
  test $ac_status = 0; }; then :
3275
3550
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3276
3551
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3277
3552
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3288
3563
        # certainly right.
3289
3564
        break;;
3290
3565
    *.* )
3291
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3566
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3292
3567
        then :; else
3293
3568
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3294
3569
        fi
3307
3582
else
3308
3583
  ac_file=''
3309
3584
fi
3310
 
 
3311
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3585
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3312
3586
$as_echo "$ac_file" >&6; }
3313
 
if test -z "$ac_file"; then
 
3587
if test -z "$ac_file"; then :
3314
3588
  $as_echo "$as_me: failed program was:" >&5
3315
3589
sed 's/^/| /' conftest.$ac_ext >&5
3316
3590
 
3317
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3591
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3318
3592
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3319
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3320
 
See \`config.log' for more details." >&5
3321
 
$as_echo "$as_me: error: C compiler cannot create executables
3322
 
See \`config.log' for more details." >&2;}
3323
 
   { (exit 77); exit 77; }; }; }
 
3593
{ as_fn_set_status 77
 
3594
as_fn_error "C compiler cannot create executables
 
3595
See \`config.log' for more details." "$LINENO" 5; }; }
3324
3596
fi
3325
 
 
3326
3597
ac_exeext=$ac_cv_exeext
3327
3598
 
3328
3599
# Check that the compiler produces executables we can run.  If not, either
3329
3600
# the compiler is broken, or we cross compile.
3330
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3331
3602
$as_echo_n "checking whether the C compiler works... " >&6; }
3332
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3333
3603
# If not cross compiling, check that we can run a simple program.
3334
3604
if test "$cross_compiling" != yes; then
3335
3605
  if { ac_try='./$ac_file'
3336
 
  { (case "(($ac_try" in
 
3606
  { { case "(($ac_try" in
3337
3607
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3338
3608
  *) ac_try_echo=$ac_try;;
3339
3609
esac
3340
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3341
 
$as_echo "$ac_try_echo") >&5
 
3610
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3611
$as_echo "$ac_try_echo"; } >&5
3342
3612
  (eval "$ac_try") 2>&5
3343
3613
  ac_status=$?
3344
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345
 
  (exit $ac_status); }; }; then
 
3614
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3615
  test $ac_status = 0; }; }; then
3346
3616
    cross_compiling=no
3347
3617
  else
3348
3618
    if test "$cross_compiling" = maybe; then
3349
3619
        cross_compiling=yes
3350
3620
    else
3351
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3621
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3352
3622
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3353
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3354
 
If you meant to cross compile, use \`--host'.
3355
 
See \`config.log' for more details." >&5
3356
 
$as_echo "$as_me: error: cannot run C compiled programs.
3357
 
If you meant to cross compile, use \`--host'.
3358
 
See \`config.log' for more details." >&2;}
3359
 
   { (exit 1); exit 1; }; }; }
 
3623
as_fn_error "cannot run C compiled programs.
 
3624
If you meant to cross compile, use \`--host'.
 
3625
See \`config.log' for more details." "$LINENO" 5; }
3360
3626
    fi
3361
3627
  fi
3362
3628
fi
3363
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3364
3630
$as_echo "yes" >&6; }
3365
3631
 
3366
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3632
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3367
3633
ac_clean_files=$ac_clean_files_save
3368
3634
# Check that the compiler produces executables we can run.  If not, either
3369
3635
# the compiler is broken, or we cross compile.
3370
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3636
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3371
3637
$as_echo_n "checking whether we are cross compiling... " >&6; }
3372
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3373
3639
$as_echo "$cross_compiling" >&6; }
3374
3640
 
3375
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3641
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3376
3642
$as_echo_n "checking for suffix of executables... " >&6; }
3377
 
if { (ac_try="$ac_link"
 
3643
if { { ac_try="$ac_link"
3378
3644
case "(($ac_try" in
3379
3645
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3380
3646
  *) ac_try_echo=$ac_try;;
3381
3647
esac
3382
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3383
 
$as_echo "$ac_try_echo") >&5
 
3648
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3649
$as_echo "$ac_try_echo"; } >&5
3384
3650
  (eval "$ac_link") 2>&5
3385
3651
  ac_status=$?
3386
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387
 
  (exit $ac_status); }; then
 
3652
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3653
  test $ac_status = 0; }; then :
3388
3654
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3389
3655
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3390
3656
# work properly (i.e., refer to `conftest.exe'), while it won't with
3399
3665
  esac
3400
3666
done
3401
3667
else
3402
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3668
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3403
3669
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3404
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3405
 
See \`config.log' for more details." >&5
3406
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3407
 
See \`config.log' for more details." >&2;}
3408
 
   { (exit 1); exit 1; }; }; }
 
3670
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3671
See \`config.log' for more details." "$LINENO" 5; }
3409
3672
fi
3410
 
 
3411
3673
rm -f conftest$ac_cv_exeext
3412
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3413
3675
$as_echo "$ac_cv_exeext" >&6; }
3414
3676
 
3415
3677
rm -f conftest.$ac_ext
3416
3678
EXEEXT=$ac_cv_exeext
3417
3679
ac_exeext=$EXEEXT
3418
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3419
3681
$as_echo_n "checking for suffix of object files... " >&6; }
3420
 
if test "${ac_cv_objext+set}" = set; then
 
3682
if test "${ac_cv_objext+set}" = set; then :
3421
3683
  $as_echo_n "(cached) " >&6
3422
3684
else
3423
 
  cat >conftest.$ac_ext <<_ACEOF
3424
 
/* confdefs.h.  */
3425
 
_ACEOF
3426
 
cat confdefs.h >>conftest.$ac_ext
3427
 
cat >>conftest.$ac_ext <<_ACEOF
 
3685
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428
3686
/* end confdefs.h.  */
3429
3687
 
3430
3688
int
3436
3694
}
3437
3695
_ACEOF
3438
3696
rm -f conftest.o conftest.obj
3439
 
if { (ac_try="$ac_compile"
 
3697
if { { ac_try="$ac_compile"
3440
3698
case "(($ac_try" in
3441
3699
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3442
3700
  *) ac_try_echo=$ac_try;;
3443
3701
esac
3444
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3445
 
$as_echo "$ac_try_echo") >&5
 
3702
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3703
$as_echo "$ac_try_echo"; } >&5
3446
3704
  (eval "$ac_compile") 2>&5
3447
3705
  ac_status=$?
3448
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449
 
  (exit $ac_status); }; then
 
3706
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3707
  test $ac_status = 0; }; then :
3450
3708
  for ac_file in conftest.o conftest.obj conftest.*; do
3451
3709
  test -f "$ac_file" || continue;
3452
3710
  case $ac_file in
3459
3717
  $as_echo "$as_me: failed program was:" >&5
3460
3718
sed 's/^/| /' conftest.$ac_ext >&5
3461
3719
 
3462
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3720
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3463
3721
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3464
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3465
 
See \`config.log' for more details." >&5
3466
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3467
 
See \`config.log' for more details." >&2;}
3468
 
   { (exit 1); exit 1; }; }; }
 
3722
as_fn_error "cannot compute suffix of object files: cannot compile
 
3723
See \`config.log' for more details." "$LINENO" 5; }
3469
3724
fi
3470
 
 
3471
3725
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3472
3726
fi
3473
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3474
3728
$as_echo "$ac_cv_objext" >&6; }
3475
3729
OBJEXT=$ac_cv_objext
3476
3730
ac_objext=$OBJEXT
3477
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3478
3732
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3479
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3733
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3480
3734
  $as_echo_n "(cached) " >&6
3481
3735
else
3482
 
  cat >conftest.$ac_ext <<_ACEOF
3483
 
/* confdefs.h.  */
3484
 
_ACEOF
3485
 
cat confdefs.h >>conftest.$ac_ext
3486
 
cat >>conftest.$ac_ext <<_ACEOF
 
3736
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3487
3737
/* end confdefs.h.  */
3488
3738
 
3489
3739
int
3497
3747
  return 0;
3498
3748
}
3499
3749
_ACEOF
3500
 
rm -f conftest.$ac_objext
3501
 
if { (ac_try="$ac_compile"
3502
 
case "(($ac_try" in
3503
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3504
 
  *) ac_try_echo=$ac_try;;
3505
 
esac
3506
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3507
 
$as_echo "$ac_try_echo") >&5
3508
 
  (eval "$ac_compile") 2>conftest.er1
3509
 
  ac_status=$?
3510
 
  grep -v '^ *+' conftest.er1 >conftest.err
3511
 
  rm -f conftest.er1
3512
 
  cat conftest.err >&5
3513
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514
 
  (exit $ac_status); } && {
3515
 
         test -z "$ac_c_werror_flag" ||
3516
 
         test ! -s conftest.err
3517
 
       } && test -s conftest.$ac_objext; then
 
3750
if ac_fn_c_try_compile "$LINENO"; then :
3518
3751
  ac_compiler_gnu=yes
3519
3752
else
3520
 
  $as_echo "$as_me: failed program was:" >&5
3521
 
sed 's/^/| /' conftest.$ac_ext >&5
3522
 
 
3523
 
        ac_compiler_gnu=no
 
3753
  ac_compiler_gnu=no
3524
3754
fi
3525
 
 
3526
3755
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3527
3756
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3528
3757
 
3529
3758
fi
3530
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3759
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3531
3760
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3532
3761
if test $ac_compiler_gnu = yes; then
3533
3762
  GCC=yes
3536
3765
fi
3537
3766
ac_test_CFLAGS=${CFLAGS+set}
3538
3767
ac_save_CFLAGS=$CFLAGS
3539
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3768
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3540
3769
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3541
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3770
if test "${ac_cv_prog_cc_g+set}" = set; then :
3542
3771
  $as_echo_n "(cached) " >&6
3543
3772
else
3544
3773
  ac_save_c_werror_flag=$ac_c_werror_flag
3545
3774
   ac_c_werror_flag=yes
3546
3775
   ac_cv_prog_cc_g=no
3547
3776
   CFLAGS="-g"
3548
 
   cat >conftest.$ac_ext <<_ACEOF
3549
 
/* confdefs.h.  */
3550
 
_ACEOF
3551
 
cat confdefs.h >>conftest.$ac_ext
3552
 
cat >>conftest.$ac_ext <<_ACEOF
 
3777
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3553
3778
/* end confdefs.h.  */
3554
3779
 
3555
3780
int
3560
3785
  return 0;
3561
3786
}
3562
3787
_ACEOF
3563
 
rm -f conftest.$ac_objext
3564
 
if { (ac_try="$ac_compile"
3565
 
case "(($ac_try" in
3566
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3567
 
  *) ac_try_echo=$ac_try;;
3568
 
esac
3569
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3570
 
$as_echo "$ac_try_echo") >&5
3571
 
  (eval "$ac_compile") 2>conftest.er1
3572
 
  ac_status=$?
3573
 
  grep -v '^ *+' conftest.er1 >conftest.err
3574
 
  rm -f conftest.er1
3575
 
  cat conftest.err >&5
3576
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577
 
  (exit $ac_status); } && {
3578
 
         test -z "$ac_c_werror_flag" ||
3579
 
         test ! -s conftest.err
3580
 
       } && test -s conftest.$ac_objext; then
 
3788
if ac_fn_c_try_compile "$LINENO"; then :
3581
3789
  ac_cv_prog_cc_g=yes
3582
3790
else
3583
 
  $as_echo "$as_me: failed program was:" >&5
3584
 
sed 's/^/| /' conftest.$ac_ext >&5
3585
 
 
3586
 
        CFLAGS=""
3587
 
      cat >conftest.$ac_ext <<_ACEOF
3588
 
/* confdefs.h.  */
3589
 
_ACEOF
3590
 
cat confdefs.h >>conftest.$ac_ext
3591
 
cat >>conftest.$ac_ext <<_ACEOF
 
3791
  CFLAGS=""
 
3792
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3592
3793
/* end confdefs.h.  */
3593
3794
 
3594
3795
int
3599
3800
  return 0;
3600
3801
}
3601
3802
_ACEOF
3602
 
rm -f conftest.$ac_objext
3603
 
if { (ac_try="$ac_compile"
3604
 
case "(($ac_try" in
3605
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3606
 
  *) ac_try_echo=$ac_try;;
3607
 
esac
3608
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3609
 
$as_echo "$ac_try_echo") >&5
3610
 
  (eval "$ac_compile") 2>conftest.er1
3611
 
  ac_status=$?
3612
 
  grep -v '^ *+' conftest.er1 >conftest.err
3613
 
  rm -f conftest.er1
3614
 
  cat conftest.err >&5
3615
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3616
 
  (exit $ac_status); } && {
3617
 
         test -z "$ac_c_werror_flag" ||
3618
 
         test ! -s conftest.err
3619
 
       } && test -s conftest.$ac_objext; then
3620
 
  :
 
3803
if ac_fn_c_try_compile "$LINENO"; then :
 
3804
 
3621
3805
else
3622
 
  $as_echo "$as_me: failed program was:" >&5
3623
 
sed 's/^/| /' conftest.$ac_ext >&5
3624
 
 
3625
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3806
  ac_c_werror_flag=$ac_save_c_werror_flag
3626
3807
         CFLAGS="-g"
3627
 
         cat >conftest.$ac_ext <<_ACEOF
3628
 
/* confdefs.h.  */
3629
 
_ACEOF
3630
 
cat confdefs.h >>conftest.$ac_ext
3631
 
cat >>conftest.$ac_ext <<_ACEOF
 
3808
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3632
3809
/* end confdefs.h.  */
3633
3810
 
3634
3811
int
3639
3816
  return 0;
3640
3817
}
3641
3818
_ACEOF
3642
 
rm -f conftest.$ac_objext
3643
 
if { (ac_try="$ac_compile"
3644
 
case "(($ac_try" in
3645
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3646
 
  *) ac_try_echo=$ac_try;;
3647
 
esac
3648
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3649
 
$as_echo "$ac_try_echo") >&5
3650
 
  (eval "$ac_compile") 2>conftest.er1
3651
 
  ac_status=$?
3652
 
  grep -v '^ *+' conftest.er1 >conftest.err
3653
 
  rm -f conftest.er1
3654
 
  cat conftest.err >&5
3655
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656
 
  (exit $ac_status); } && {
3657
 
         test -z "$ac_c_werror_flag" ||
3658
 
         test ! -s conftest.err
3659
 
       } && test -s conftest.$ac_objext; then
 
3819
if ac_fn_c_try_compile "$LINENO"; then :
3660
3820
  ac_cv_prog_cc_g=yes
3661
 
else
3662
 
  $as_echo "$as_me: failed program was:" >&5
3663
 
sed 's/^/| /' conftest.$ac_ext >&5
3664
 
 
3665
 
 
3666
 
fi
3667
 
 
3668
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3669
 
fi
3670
 
 
3671
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3672
 
fi
3673
 
 
 
3821
fi
 
3822
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3823
fi
 
3824
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3825
fi
3674
3826
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3675
3827
   ac_c_werror_flag=$ac_save_c_werror_flag
3676
3828
fi
3677
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3678
3830
$as_echo "$ac_cv_prog_cc_g" >&6; }
3679
3831
if test "$ac_test_CFLAGS" = set; then
3680
3832
  CFLAGS=$ac_save_CFLAGS
3691
3843
    CFLAGS=
3692
3844
  fi
3693
3845
fi
3694
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3846
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3695
3847
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3696
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3848
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3697
3849
  $as_echo_n "(cached) " >&6
3698
3850
else
3699
3851
  ac_cv_prog_cc_c89=no
3700
3852
ac_save_CC=$CC
3701
 
cat >conftest.$ac_ext <<_ACEOF
3702
 
/* confdefs.h.  */
3703
 
_ACEOF
3704
 
cat confdefs.h >>conftest.$ac_ext
3705
 
cat >>conftest.$ac_ext <<_ACEOF
 
3853
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3706
3854
/* end confdefs.h.  */
3707
3855
#include <stdarg.h>
3708
3856
#include <stdio.h>
3759
3907
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3760
3908
do
3761
3909
  CC="$ac_save_CC $ac_arg"
3762
 
  rm -f conftest.$ac_objext
3763
 
if { (ac_try="$ac_compile"
3764
 
case "(($ac_try" in
3765
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3766
 
  *) ac_try_echo=$ac_try;;
3767
 
esac
3768
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3769
 
$as_echo "$ac_try_echo") >&5
3770
 
  (eval "$ac_compile") 2>conftest.er1
3771
 
  ac_status=$?
3772
 
  grep -v '^ *+' conftest.er1 >conftest.err
3773
 
  rm -f conftest.er1
3774
 
  cat conftest.err >&5
3775
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776
 
  (exit $ac_status); } && {
3777
 
         test -z "$ac_c_werror_flag" ||
3778
 
         test ! -s conftest.err
3779
 
       } && test -s conftest.$ac_objext; then
 
3910
  if ac_fn_c_try_compile "$LINENO"; then :
3780
3911
  ac_cv_prog_cc_c89=$ac_arg
3781
 
else
3782
 
  $as_echo "$as_me: failed program was:" >&5
3783
 
sed 's/^/| /' conftest.$ac_ext >&5
3784
 
 
3785
 
 
3786
3912
fi
3787
 
 
3788
3913
rm -f core conftest.err conftest.$ac_objext
3789
3914
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3790
3915
done
3795
3920
# AC_CACHE_VAL
3796
3921
case "x$ac_cv_prog_cc_c89" in
3797
3922
  x)
3798
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3923
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3799
3924
$as_echo "none needed" >&6; } ;;
3800
3925
  xno)
3801
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3926
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3802
3927
$as_echo "unsupported" >&6; } ;;
3803
3928
  *)
3804
3929
    CC="$CC $ac_cv_prog_cc_c89"
3805
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3930
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3806
3931
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3807
3932
esac
 
3933
if test "x$ac_cv_prog_cc_c89" != xno; then :
3808
3934
 
 
3935
fi
3809
3936
 
3810
3937
ac_ext=c
3811
3938
ac_cpp='$CPP $CPPFLAGS'
3820
3947
am_make=${MAKE-make}
3821
3948
cat > confinc << 'END'
3822
3949
am__doit:
3823
 
        @echo done
 
3950
        @echo this is the am__doit target
3824
3951
.PHONY: am__doit
3825
3952
END
3826
3953
# If we don't find an include directive, just comment out the code.
3827
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3954
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3828
3955
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3829
3956
am__include="#"
3830
3957
am__quote=
3831
3958
_am_result=none
3832
3959
# First try GNU make style include.
3833
3960
echo "include confinc" > confmf
3834
 
# We grep out `Entering directory' and `Leaving directory'
3835
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3836
 
# In particular we don't look at `^make:' because GNU make might
3837
 
# be invoked under some other name (usually "gmake"), in which
3838
 
# case it prints its new name instead of `make'.
3839
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3840
 
   am__include=include
3841
 
   am__quote=
3842
 
   _am_result=GNU
3843
 
fi
 
3961
# Ignore all kinds of additional output from `make'.
 
3962
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3963
*the\ am__doit\ target*)
 
3964
  am__include=include
 
3965
  am__quote=
 
3966
  _am_result=GNU
 
3967
  ;;
 
3968
esac
3844
3969
# Now try BSD make style include.
3845
3970
if test "$am__include" = "#"; then
3846
3971
   echo '.include "confinc"' > confmf
3847
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3848
 
      am__include=.include
3849
 
      am__quote="\""
3850
 
      _am_result=BSD
3851
 
   fi
 
3972
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3973
   *the\ am__doit\ target*)
 
3974
     am__include=.include
 
3975
     am__quote="\""
 
3976
     _am_result=BSD
 
3977
     ;;
 
3978
   esac
3852
3979
fi
3853
3980
 
3854
3981
 
3855
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3982
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3856
3983
$as_echo "$_am_result" >&6; }
3857
3984
rm -f confinc confmf
3858
3985
 
3859
3986
# Check whether --enable-dependency-tracking was given.
3860
 
if test "${enable_dependency_tracking+set}" = set; then
 
3987
if test "${enable_dependency_tracking+set}" = set; then :
3861
3988
  enableval=$enable_dependency_tracking;
3862
3989
fi
3863
3990
 
3865
3992
  am_depcomp="$ac_aux_dir/depcomp"
3866
3993
  AMDEPBACKSLASH='\'
3867
3994
fi
3868
 
 
3869
 
 
3870
 
if test "x$enable_dependency_tracking" != xno; then
 
3995
 if test "x$enable_dependency_tracking" != xno; then
3871
3996
  AMDEP_TRUE=
3872
3997
  AMDEP_FALSE='#'
3873
3998
else
3877
4002
 
3878
4003
 
3879
4004
 
3880
 
 
3881
4005
depcc="$CC"   am_compiler_list=
3882
4006
 
3883
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4007
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3884
4008
$as_echo_n "checking dependency style of $depcc... " >&6; }
3885
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
4009
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3886
4010
  $as_echo_n "(cached) " >&6
3887
4011
else
3888
4012
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3908
4032
  if test "$am_compiler_list" = ""; then
3909
4033
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3910
4034
  fi
 
4035
  am__universal=false
 
4036
  case " $depcc " in #(
 
4037
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4038
     esac
 
4039
 
3911
4040
  for depmode in $am_compiler_list; do
3912
4041
    # Setup a source with many dependencies, because some compilers
3913
4042
    # like to wrap large dependency lists on column 80 (with \), and
3925
4054
    done
3926
4055
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3927
4056
 
 
4057
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4058
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4059
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4060
    # versions had trouble with output in subdirs
 
4061
    am__obj=sub/conftest.${OBJEXT-o}
 
4062
    am__minus_obj="-o $am__obj"
3928
4063
    case $depmode in
 
4064
    gcc)
 
4065
      # This depmode causes a compiler race in universal mode.
 
4066
      test "$am__universal" = false || continue
 
4067
      ;;
3929
4068
    nosideeffect)
3930
4069
      # after this tag, mechanisms are not by side-effect, so they'll
3931
4070
      # only be used when explicitly requested
3935
4074
        break
3936
4075
      fi
3937
4076
      ;;
 
4077
    msvisualcpp | msvcmsys)
 
4078
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4079
      # not run yet.  These depmodes are late enough in the game, and
 
4080
      # so weak that their functioning should not be impacted.
 
4081
      am__obj=conftest.${OBJEXT-o}
 
4082
      am__minus_obj=
 
4083
      ;;
3938
4084
    none) break ;;
3939
4085
    esac
3940
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3941
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3942
 
    # handle `-M -o', and we need to detect this.
3943
4086
    if depmode=$depmode \
3944
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4087
       source=sub/conftest.c object=$am__obj \
3945
4088
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3946
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4089
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3947
4090
         >/dev/null 2>conftest.err &&
 
4091
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3948
4092
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3949
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4093
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3950
4094
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3951
4095
      # icc doesn't choke on unknown options, it will just issue warnings
3952
4096
      # or remarks (even with -Werror).  So we grep stderr for any message
3970
4114
fi
3971
4115
 
3972
4116
fi
3973
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3974
4118
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3975
4119
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3976
4120
 
3977
 
 
3978
 
 
3979
 
if
 
4121
 if
3980
4122
  test "x$enable_dependency_tracking" != xno \
3981
4123
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3982
4124
  am__fastdepCC_TRUE=
3987
4129
fi
3988
4130
 
3989
4131
 
 
4132
enable_win32_dll=yes
 
4133
 
 
4134
case $host in
 
4135
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
 
4136
  if test -n "$ac_tool_prefix"; then
 
4137
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
 
4138
set dummy ${ac_tool_prefix}as; ac_word=$2
 
4139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4140
$as_echo_n "checking for $ac_word... " >&6; }
 
4141
if test "${ac_cv_prog_AS+set}" = set; then :
 
4142
  $as_echo_n "(cached) " >&6
 
4143
else
 
4144
  if test -n "$AS"; then
 
4145
  ac_cv_prog_AS="$AS" # Let the user override the test.
 
4146
else
 
4147
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4148
for as_dir in $PATH
 
4149
do
 
4150
  IFS=$as_save_IFS
 
4151
  test -z "$as_dir" && as_dir=.
 
4152
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4153
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4154
    ac_cv_prog_AS="${ac_tool_prefix}as"
 
4155
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4156
    break 2
 
4157
  fi
 
4158
done
 
4159
  done
 
4160
IFS=$as_save_IFS
 
4161
 
 
4162
fi
 
4163
fi
 
4164
AS=$ac_cv_prog_AS
 
4165
if test -n "$AS"; then
 
4166
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
 
4167
$as_echo "$AS" >&6; }
 
4168
else
 
4169
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4170
$as_echo "no" >&6; }
 
4171
fi
 
4172
 
 
4173
 
 
4174
fi
 
4175
if test -z "$ac_cv_prog_AS"; then
 
4176
  ac_ct_AS=$AS
 
4177
  # Extract the first word of "as", so it can be a program name with args.
 
4178
set dummy as; ac_word=$2
 
4179
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4180
$as_echo_n "checking for $ac_word... " >&6; }
 
4181
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
 
4182
  $as_echo_n "(cached) " >&6
 
4183
else
 
4184
  if test -n "$ac_ct_AS"; then
 
4185
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
 
4186
else
 
4187
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4188
for as_dir in $PATH
 
4189
do
 
4190
  IFS=$as_save_IFS
 
4191
  test -z "$as_dir" && as_dir=.
 
4192
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4193
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4194
    ac_cv_prog_ac_ct_AS="as"
 
4195
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4196
    break 2
 
4197
  fi
 
4198
done
 
4199
  done
 
4200
IFS=$as_save_IFS
 
4201
 
 
4202
fi
 
4203
fi
 
4204
ac_ct_AS=$ac_cv_prog_ac_ct_AS
 
4205
if test -n "$ac_ct_AS"; then
 
4206
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
 
4207
$as_echo "$ac_ct_AS" >&6; }
 
4208
else
 
4209
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4210
$as_echo "no" >&6; }
 
4211
fi
 
4212
 
 
4213
  if test "x$ac_ct_AS" = x; then
 
4214
    AS="false"
 
4215
  else
 
4216
    case $cross_compiling:$ac_tool_warned in
 
4217
yes:)
 
4218
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4219
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4220
ac_tool_warned=yes ;;
 
4221
esac
 
4222
    AS=$ac_ct_AS
 
4223
  fi
 
4224
else
 
4225
  AS="$ac_cv_prog_AS"
 
4226
fi
 
4227
 
 
4228
  if test -n "$ac_tool_prefix"; then
 
4229
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
4230
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
4231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4232
$as_echo_n "checking for $ac_word... " >&6; }
 
4233
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
 
4234
  $as_echo_n "(cached) " >&6
 
4235
else
 
4236
  if test -n "$DLLTOOL"; then
 
4237
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
4238
else
 
4239
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4240
for as_dir in $PATH
 
4241
do
 
4242
  IFS=$as_save_IFS
 
4243
  test -z "$as_dir" && as_dir=.
 
4244
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4245
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4246
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
4247
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4248
    break 2
 
4249
  fi
 
4250
done
 
4251
  done
 
4252
IFS=$as_save_IFS
 
4253
 
 
4254
fi
 
4255
fi
 
4256
DLLTOOL=$ac_cv_prog_DLLTOOL
 
4257
if test -n "$DLLTOOL"; then
 
4258
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
4259
$as_echo "$DLLTOOL" >&6; }
 
4260
else
 
4261
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4262
$as_echo "no" >&6; }
 
4263
fi
 
4264
 
 
4265
 
 
4266
fi
 
4267
if test -z "$ac_cv_prog_DLLTOOL"; then
 
4268
  ac_ct_DLLTOOL=$DLLTOOL
 
4269
  # Extract the first word of "dlltool", so it can be a program name with args.
 
4270
set dummy dlltool; ac_word=$2
 
4271
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4272
$as_echo_n "checking for $ac_word... " >&6; }
 
4273
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
 
4274
  $as_echo_n "(cached) " >&6
 
4275
else
 
4276
  if test -n "$ac_ct_DLLTOOL"; then
 
4277
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
4278
else
 
4279
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4280
for as_dir in $PATH
 
4281
do
 
4282
  IFS=$as_save_IFS
 
4283
  test -z "$as_dir" && as_dir=.
 
4284
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4285
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4286
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
4287
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4288
    break 2
 
4289
  fi
 
4290
done
 
4291
  done
 
4292
IFS=$as_save_IFS
 
4293
 
 
4294
fi
 
4295
fi
 
4296
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
4297
if test -n "$ac_ct_DLLTOOL"; then
 
4298
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
4299
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
4300
else
 
4301
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4302
$as_echo "no" >&6; }
 
4303
fi
 
4304
 
 
4305
  if test "x$ac_ct_DLLTOOL" = x; then
 
4306
    DLLTOOL="false"
 
4307
  else
 
4308
    case $cross_compiling:$ac_tool_warned in
 
4309
yes:)
 
4310
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4311
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4312
ac_tool_warned=yes ;;
 
4313
esac
 
4314
    DLLTOOL=$ac_ct_DLLTOOL
 
4315
  fi
 
4316
else
 
4317
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
4318
fi
 
4319
 
 
4320
  if test -n "$ac_tool_prefix"; then
 
4321
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
4322
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
4323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4324
$as_echo_n "checking for $ac_word... " >&6; }
 
4325
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
4326
  $as_echo_n "(cached) " >&6
 
4327
else
 
4328
  if test -n "$OBJDUMP"; then
 
4329
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
4330
else
 
4331
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4332
for as_dir in $PATH
 
4333
do
 
4334
  IFS=$as_save_IFS
 
4335
  test -z "$as_dir" && as_dir=.
 
4336
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4337
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4338
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
4339
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4340
    break 2
 
4341
  fi
 
4342
done
 
4343
  done
 
4344
IFS=$as_save_IFS
 
4345
 
 
4346
fi
 
4347
fi
 
4348
OBJDUMP=$ac_cv_prog_OBJDUMP
 
4349
if test -n "$OBJDUMP"; then
 
4350
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
4351
$as_echo "$OBJDUMP" >&6; }
 
4352
else
 
4353
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4354
$as_echo "no" >&6; }
 
4355
fi
 
4356
 
 
4357
 
 
4358
fi
 
4359
if test -z "$ac_cv_prog_OBJDUMP"; then
 
4360
  ac_ct_OBJDUMP=$OBJDUMP
 
4361
  # Extract the first word of "objdump", so it can be a program name with args.
 
4362
set dummy objdump; ac_word=$2
 
4363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4364
$as_echo_n "checking for $ac_word... " >&6; }
 
4365
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
4366
  $as_echo_n "(cached) " >&6
 
4367
else
 
4368
  if test -n "$ac_ct_OBJDUMP"; then
 
4369
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
4370
else
 
4371
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4372
for as_dir in $PATH
 
4373
do
 
4374
  IFS=$as_save_IFS
 
4375
  test -z "$as_dir" && as_dir=.
 
4376
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4377
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4378
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
4379
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4380
    break 2
 
4381
  fi
 
4382
done
 
4383
  done
 
4384
IFS=$as_save_IFS
 
4385
 
 
4386
fi
 
4387
fi
 
4388
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
4389
if test -n "$ac_ct_OBJDUMP"; then
 
4390
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
4391
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
4392
else
 
4393
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4394
$as_echo "no" >&6; }
 
4395
fi
 
4396
 
 
4397
  if test "x$ac_ct_OBJDUMP" = x; then
 
4398
    OBJDUMP="false"
 
4399
  else
 
4400
    case $cross_compiling:$ac_tool_warned in
 
4401
yes:)
 
4402
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4403
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4404
ac_tool_warned=yes ;;
 
4405
esac
 
4406
    OBJDUMP=$ac_ct_OBJDUMP
 
4407
  fi
 
4408
else
 
4409
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
4410
fi
 
4411
 
 
4412
  ;;
 
4413
esac
 
4414
 
 
4415
test -z "$AS" && AS=as
 
4416
 
 
4417
 
 
4418
 
 
4419
 
 
4420
 
 
4421
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
4422
 
 
4423
 
 
4424
 
 
4425
 
 
4426
 
 
4427
test -z "$OBJDUMP" && OBJDUMP=objdump
 
4428
 
 
4429
 
 
4430
 
 
4431
 
 
4432
 
 
4433
 
 
4434
 
3990
4435
case `pwd` in
3991
4436
  *\ * | *\     *)
3992
 
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
4437
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3993
4438
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3994
4439
esac
3995
4440
 
4012
4457
 
4013
4458
ltmain="$ac_aux_dir/ltmain.sh"
4014
4459
 
4015
 
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4016
4461
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4017
 
if test "${ac_cv_path_SED+set}" = set; then
 
4462
if test "${ac_cv_path_SED+set}" = set; then :
4018
4463
  $as_echo_n "(cached) " >&6
4019
4464
else
4020
4465
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4022
4467
       ac_script="$ac_script$as_nl$ac_script"
4023
4468
     done
4024
4469
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4025
 
     $as_unset ac_script || ac_script=
 
4470
     { ac_script=; unset ac_script;}
4026
4471
     if test -z "$SED"; then
4027
4472
  ac_path_SED_found=false
4028
4473
  # Loop through the user's path and test for each of PROGNAME-LIST
4031
4476
do
4032
4477
  IFS=$as_save_IFS
4033
4478
  test -z "$as_dir" && as_dir=.
4034
 
  for ac_prog in sed gsed; do
 
4479
    for ac_prog in sed gsed; do
4035
4480
    for ac_exec_ext in '' $ac_executable_extensions; do
4036
4481
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4037
4482
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4051
4496
    $as_echo '' >> "conftest.nl"
4052
4497
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4053
4498
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4054
 
    ac_count=`expr $ac_count + 1`
 
4499
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4055
4500
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4056
4501
      # Best one so far, save it but keep looking for a better one
4057
4502
      ac_cv_path_SED="$ac_path_SED"
4066
4511
      $ac_path_SED_found && break 3
4067
4512
    done
4068
4513
  done
4069
 
done
 
4514
  done
4070
4515
IFS=$as_save_IFS
4071
4516
  if test -z "$ac_cv_path_SED"; then
4072
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4073
 
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4074
 
   { (exit 1); exit 1; }; }
 
4517
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4075
4518
  fi
4076
4519
else
4077
4520
  ac_cv_path_SED=$SED
4078
4521
fi
4079
4522
 
4080
4523
fi
4081
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
4524
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4082
4525
$as_echo "$ac_cv_path_SED" >&6; }
4083
4526
 SED="$ac_cv_path_SED"
4084
4527
  rm -f conftest.sed
4096
4539
 
4097
4540
 
4098
4541
 
4099
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4542
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4100
4543
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4101
 
if test "${ac_cv_path_GREP+set}" = set; then
 
4544
if test "${ac_cv_path_GREP+set}" = set; then :
4102
4545
  $as_echo_n "(cached) " >&6
4103
4546
else
4104
4547
  if test -z "$GREP"; then
4109
4552
do
4110
4553
  IFS=$as_save_IFS
4111
4554
  test -z "$as_dir" && as_dir=.
4112
 
  for ac_prog in grep ggrep; do
 
4555
    for ac_prog in grep ggrep; do
4113
4556
    for ac_exec_ext in '' $ac_executable_extensions; do
4114
4557
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4115
4558
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4129
4572
    $as_echo 'GREP' >> "conftest.nl"
4130
4573
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4131
4574
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4132
 
    ac_count=`expr $ac_count + 1`
 
4575
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4133
4576
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4134
4577
      # Best one so far, save it but keep looking for a better one
4135
4578
      ac_cv_path_GREP="$ac_path_GREP"
4144
4587
      $ac_path_GREP_found && break 3
4145
4588
    done
4146
4589
  done
4147
 
done
 
4590
  done
4148
4591
IFS=$as_save_IFS
4149
4592
  if test -z "$ac_cv_path_GREP"; then
4150
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4151
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4152
 
   { (exit 1); exit 1; }; }
 
4593
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4153
4594
  fi
4154
4595
else
4155
4596
  ac_cv_path_GREP=$GREP
4156
4597
fi
4157
4598
 
4158
4599
fi
4159
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4160
4601
$as_echo "$ac_cv_path_GREP" >&6; }
4161
4602
 GREP="$ac_cv_path_GREP"
4162
4603
 
4163
4604
 
4164
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4165
4606
$as_echo_n "checking for egrep... " >&6; }
4166
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
4607
if test "${ac_cv_path_EGREP+set}" = set; then :
4167
4608
  $as_echo_n "(cached) " >&6
4168
4609
else
4169
4610
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4177
4618
do
4178
4619
  IFS=$as_save_IFS
4179
4620
  test -z "$as_dir" && as_dir=.
4180
 
  for ac_prog in egrep; do
 
4621
    for ac_prog in egrep; do
4181
4622
    for ac_exec_ext in '' $ac_executable_extensions; do
4182
4623
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4183
4624
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4197
4638
    $as_echo 'EGREP' >> "conftest.nl"
4198
4639
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4199
4640
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4200
 
    ac_count=`expr $ac_count + 1`
 
4641
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4201
4642
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4202
4643
      # Best one so far, save it but keep looking for a better one
4203
4644
      ac_cv_path_EGREP="$ac_path_EGREP"
4212
4653
      $ac_path_EGREP_found && break 3
4213
4654
    done
4214
4655
  done
4215
 
done
 
4656
  done
4216
4657
IFS=$as_save_IFS
4217
4658
  if test -z "$ac_cv_path_EGREP"; then
4218
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4219
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4220
 
   { (exit 1); exit 1; }; }
 
4659
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4221
4660
  fi
4222
4661
else
4223
4662
  ac_cv_path_EGREP=$EGREP
4225
4664
 
4226
4665
   fi
4227
4666
fi
4228
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4667
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4229
4668
$as_echo "$ac_cv_path_EGREP" >&6; }
4230
4669
 EGREP="$ac_cv_path_EGREP"
4231
4670
 
4232
4671
 
4233
 
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
4672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4234
4673
$as_echo_n "checking for fgrep... " >&6; }
4235
 
if test "${ac_cv_path_FGREP+set}" = set; then
 
4674
if test "${ac_cv_path_FGREP+set}" = set; then :
4236
4675
  $as_echo_n "(cached) " >&6
4237
4676
else
4238
4677
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4246
4685
do
4247
4686
  IFS=$as_save_IFS
4248
4687
  test -z "$as_dir" && as_dir=.
4249
 
  for ac_prog in fgrep; do
 
4688
    for ac_prog in fgrep; do
4250
4689
    for ac_exec_ext in '' $ac_executable_extensions; do
4251
4690
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4252
4691
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4266
4705
    $as_echo 'FGREP' >> "conftest.nl"
4267
4706
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4268
4707
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4269
 
    ac_count=`expr $ac_count + 1`
 
4708
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4270
4709
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4271
4710
      # Best one so far, save it but keep looking for a better one
4272
4711
      ac_cv_path_FGREP="$ac_path_FGREP"
4281
4720
      $ac_path_FGREP_found && break 3
4282
4721
    done
4283
4722
  done
4284
 
done
 
4723
  done
4285
4724
IFS=$as_save_IFS
4286
4725
  if test -z "$ac_cv_path_FGREP"; then
4287
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4288
 
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4289
 
   { (exit 1); exit 1; }; }
 
4726
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4290
4727
  fi
4291
4728
else
4292
4729
  ac_cv_path_FGREP=$FGREP
4294
4731
 
4295
4732
   fi
4296
4733
fi
4297
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
4734
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4298
4735
$as_echo "$ac_cv_path_FGREP" >&6; }
4299
4736
 FGREP="$ac_cv_path_FGREP"
4300
4737
 
4320
4757
 
4321
4758
 
4322
4759
# Check whether --with-gnu-ld was given.
4323
 
if test "${with_gnu_ld+set}" = set; then
 
4760
if test "${with_gnu_ld+set}" = set; then :
4324
4761
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4325
4762
else
4326
4763
  with_gnu_ld=no
4329
4766
ac_prog=ld
4330
4767
if test "$GCC" = yes; then
4331
4768
  # Check if gcc -print-prog-name=ld gives a path.
4332
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4769
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4333
4770
$as_echo_n "checking for ld used by $CC... " >&6; }
4334
4771
  case $host in
4335
4772
  *-*-mingw*)
4359
4796
    ;;
4360
4797
  esac
4361
4798
elif test "$with_gnu_ld" = yes; then
4362
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4799
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4363
4800
$as_echo_n "checking for GNU ld... " >&6; }
4364
4801
else
4365
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4802
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4366
4803
$as_echo_n "checking for non-GNU ld... " >&6; }
4367
4804
fi
4368
 
if test "${lt_cv_path_LD+set}" = set; then
 
4805
if test "${lt_cv_path_LD+set}" = set; then :
4369
4806
  $as_echo_n "(cached) " >&6
4370
4807
else
4371
4808
  if test -z "$LD"; then
4396
4833
 
4397
4834
LD="$lt_cv_path_LD"
4398
4835
if test -n "$LD"; then
4399
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
4836
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4400
4837
$as_echo "$LD" >&6; }
4401
4838
else
4402
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4839
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4403
4840
$as_echo "no" >&6; }
4404
4841
fi
4405
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4406
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4407
 
   { (exit 1); exit 1; }; }
4408
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4842
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
4843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4409
4844
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4410
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
4845
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4411
4846
  $as_echo_n "(cached) " >&6
4412
4847
else
4413
4848
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4420
4855
  ;;
4421
4856
esac
4422
4857
fi
4423
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4858
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4424
4859
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4425
4860
with_gnu_ld=$lt_cv_prog_gnu_ld
4426
4861
 
4432
4867
 
4433
4868
 
4434
4869
 
4435
 
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
4870
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4436
4871
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4437
 
if test "${lt_cv_path_NM+set}" = set; then
 
4872
if test "${lt_cv_path_NM+set}" = set; then :
4438
4873
  $as_echo_n "(cached) " >&6
4439
4874
else
4440
4875
  if test -n "$NM"; then
4481
4916
  : ${lt_cv_path_NM=no}
4482
4917
fi
4483
4918
fi
4484
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4485
4920
$as_echo "$lt_cv_path_NM" >&6; }
4486
4921
if test "$lt_cv_path_NM" != "no"; then
4487
4922
  NM="$lt_cv_path_NM"
4492
4927
  do
4493
4928
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4494
4929
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4495
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4930
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4496
4931
$as_echo_n "checking for $ac_word... " >&6; }
4497
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
4932
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4498
4933
  $as_echo_n "(cached) " >&6
4499
4934
else
4500
4935
  if test -n "$DUMPBIN"; then
4505
4940
do
4506
4941
  IFS=$as_save_IFS
4507
4942
  test -z "$as_dir" && as_dir=.
4508
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4943
    for ac_exec_ext in '' $ac_executable_extensions; do
4509
4944
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4510
4945
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4511
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4946
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4512
4947
    break 2
4513
4948
  fi
4514
4949
done
4515
 
done
 
4950
  done
4516
4951
IFS=$as_save_IFS
4517
4952
 
4518
4953
fi
4519
4954
fi
4520
4955
DUMPBIN=$ac_cv_prog_DUMPBIN
4521
4956
if test -n "$DUMPBIN"; then
4522
 
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
4957
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4523
4958
$as_echo "$DUMPBIN" >&6; }
4524
4959
else
4525
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4960
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4526
4961
$as_echo "no" >&6; }
4527
4962
fi
4528
4963
 
4536
4971
do
4537
4972
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4538
4973
set dummy $ac_prog; ac_word=$2
4539
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4974
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4540
4975
$as_echo_n "checking for $ac_word... " >&6; }
4541
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
4976
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4542
4977
  $as_echo_n "(cached) " >&6
4543
4978
else
4544
4979
  if test -n "$ac_ct_DUMPBIN"; then
4549
4984
do
4550
4985
  IFS=$as_save_IFS
4551
4986
  test -z "$as_dir" && as_dir=.
4552
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4987
    for ac_exec_ext in '' $ac_executable_extensions; do
4553
4988
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4554
4989
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4555
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4990
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4556
4991
    break 2
4557
4992
  fi
4558
4993
done
4559
 
done
 
4994
  done
4560
4995
IFS=$as_save_IFS
4561
4996
 
4562
4997
fi
4563
4998
fi
4564
4999
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4565
5000
if test -n "$ac_ct_DUMPBIN"; then
4566
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
5001
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4567
5002
$as_echo "$ac_ct_DUMPBIN" >&6; }
4568
5003
else
4569
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5004
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4570
5005
$as_echo "no" >&6; }
4571
5006
fi
4572
5007
 
4579
5014
  else
4580
5015
    case $cross_compiling:$ac_tool_warned in
4581
5016
yes:)
4582
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5017
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4583
5018
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4584
5019
ac_tool_warned=yes ;;
4585
5020
esac
4599
5034
 
4600
5035
 
4601
5036
 
4602
 
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
5037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4603
5038
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4604
 
if test "${lt_cv_nm_interface+set}" = set; then
 
5039
if test "${lt_cv_nm_interface+set}" = set; then :
4605
5040
  $as_echo_n "(cached) " >&6
4606
5041
else
4607
5042
  lt_cv_nm_interface="BSD nm"
4608
5043
  echo "int some_variable = 0;" > conftest.$ac_ext
4609
 
  (eval echo "\"\$as_me:4609: $ac_compile\"" >&5)
 
5044
  (eval echo "\"\$as_me:5044: $ac_compile\"" >&5)
4610
5045
  (eval "$ac_compile" 2>conftest.err)
4611
5046
  cat conftest.err >&5
4612
 
  (eval echo "\"\$as_me:4612: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5047
  (eval echo "\"\$as_me:5047: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4613
5048
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4614
5049
  cat conftest.err >&5
4615
 
  (eval echo "\"\$as_me:4615: output\"" >&5)
 
5050
  (eval echo "\"\$as_me:5050: output\"" >&5)
4616
5051
  cat conftest.out >&5
4617
5052
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4618
5053
    lt_cv_nm_interface="MS dumpbin"
4619
5054
  fi
4620
5055
  rm -f conftest*
4621
5056
fi
4622
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
5057
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4623
5058
$as_echo "$lt_cv_nm_interface" >&6; }
4624
5059
 
4625
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
5060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4626
5061
$as_echo_n "checking whether ln -s works... " >&6; }
4627
5062
LN_S=$as_ln_s
4628
5063
if test "$LN_S" = "ln -s"; then
4629
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5064
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4630
5065
$as_echo "yes" >&6; }
4631
5066
else
4632
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
5067
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4633
5068
$as_echo "no, using $LN_S" >&6; }
4634
5069
fi
4635
5070
 
4636
5071
# find the maximum length of command line arguments
4637
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
5072
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4638
5073
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4639
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
5074
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4640
5075
  $as_echo_n "(cached) " >&6
4641
5076
else
4642
5077
    i=0
4754
5189
fi
4755
5190
 
4756
5191
if test -n $lt_cv_sys_max_cmd_len ; then
4757
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
5192
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4758
5193
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4759
5194
else
4760
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
5195
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4761
5196
$as_echo "none" >&6; }
4762
5197
fi
4763
5198
max_cmd_len=$lt_cv_sys_max_cmd_len
4771
5206
: ${MV="mv -f"}
4772
5207
: ${RM="rm -f"}
4773
5208
 
4774
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
5209
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4775
5210
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4776
5211
# Try some XSI features
4777
5212
xsi_shell=no
4781
5216
    && eval 'test $(( 1 + 1 )) -eq 2 \
4782
5217
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4783
5218
  && xsi_shell=yes
4784
 
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
5219
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4785
5220
$as_echo "$xsi_shell" >&6; }
4786
5221
 
4787
5222
 
4788
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
5223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4789
5224
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4790
5225
lt_shell_append=no
4791
5226
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4792
5227
    >/dev/null 2>&1 \
4793
5228
  && lt_shell_append=yes
4794
 
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
5229
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4795
5230
$as_echo "$lt_shell_append" >&6; }
4796
5231
 
4797
5232
 
4826
5261
 
4827
5262
 
4828
5263
 
4829
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
5264
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4830
5265
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4831
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
5266
if test "${lt_cv_ld_reload_flag+set}" = set; then :
4832
5267
  $as_echo_n "(cached) " >&6
4833
5268
else
4834
5269
  lt_cv_ld_reload_flag='-r'
4835
5270
fi
4836
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
5271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4837
5272
$as_echo "$lt_cv_ld_reload_flag" >&6; }
4838
5273
reload_flag=$lt_cv_ld_reload_flag
4839
5274
case $reload_flag in
4862
5297
if test -n "$ac_tool_prefix"; then
4863
5298
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4864
5299
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4865
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5300
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4866
5301
$as_echo_n "checking for $ac_word... " >&6; }
4867
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
5302
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4868
5303
  $as_echo_n "(cached) " >&6
4869
5304
else
4870
5305
  if test -n "$OBJDUMP"; then
4875
5310
do
4876
5311
  IFS=$as_save_IFS
4877
5312
  test -z "$as_dir" && as_dir=.
4878
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5313
    for ac_exec_ext in '' $ac_executable_extensions; do
4879
5314
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4880
5315
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4881
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5316
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4882
5317
    break 2
4883
5318
  fi
4884
5319
done
4885
 
done
 
5320
  done
4886
5321
IFS=$as_save_IFS
4887
5322
 
4888
5323
fi
4889
5324
fi
4890
5325
OBJDUMP=$ac_cv_prog_OBJDUMP
4891
5326
if test -n "$OBJDUMP"; then
4892
 
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
5327
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4893
5328
$as_echo "$OBJDUMP" >&6; }
4894
5329
else
4895
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5330
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4896
5331
$as_echo "no" >&6; }
4897
5332
fi
4898
5333
 
4902
5337
  ac_ct_OBJDUMP=$OBJDUMP
4903
5338
  # Extract the first word of "objdump", so it can be a program name with args.
4904
5339
set dummy objdump; ac_word=$2
4905
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5340
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4906
5341
$as_echo_n "checking for $ac_word... " >&6; }
4907
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
5342
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4908
5343
  $as_echo_n "(cached) " >&6
4909
5344
else
4910
5345
  if test -n "$ac_ct_OBJDUMP"; then
4915
5350
do
4916
5351
  IFS=$as_save_IFS
4917
5352
  test -z "$as_dir" && as_dir=.
4918
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5353
    for ac_exec_ext in '' $ac_executable_extensions; do
4919
5354
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4920
5355
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4921
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5356
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922
5357
    break 2
4923
5358
  fi
4924
5359
done
4925
 
done
 
5360
  done
4926
5361
IFS=$as_save_IFS
4927
5362
 
4928
5363
fi
4929
5364
fi
4930
5365
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4931
5366
if test -n "$ac_ct_OBJDUMP"; then
4932
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
5367
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4933
5368
$as_echo "$ac_ct_OBJDUMP" >&6; }
4934
5369
else
4935
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5370
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936
5371
$as_echo "no" >&6; }
4937
5372
fi
4938
5373
 
4941
5376
  else
4942
5377
    case $cross_compiling:$ac_tool_warned in
4943
5378
yes:)
4944
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5379
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4945
5380
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4946
5381
ac_tool_warned=yes ;;
4947
5382
esac
4958
5393
 
4959
5394
 
4960
5395
 
4961
 
 
4962
 
 
4963
 
 
4964
 
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
5396
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4965
5397
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4966
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
5398
if test "${lt_cv_deplibs_check_method+set}" = set; then :
4967
5399
  $as_echo_n "(cached) " >&6
4968
5400
else
4969
5401
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5157
5589
esac
5158
5590
 
5159
5591
fi
5160
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
5592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5161
5593
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5162
5594
file_magic_cmd=$lt_cv_file_magic_cmd
5163
5595
deplibs_check_method=$lt_cv_deplibs_check_method
5177
5609
if test -n "$ac_tool_prefix"; then
5178
5610
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5179
5611
set dummy ${ac_tool_prefix}ar; ac_word=$2
5180
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5612
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5181
5613
$as_echo_n "checking for $ac_word... " >&6; }
5182
 
if test "${ac_cv_prog_AR+set}" = set; then
 
5614
if test "${ac_cv_prog_AR+set}" = set; then :
5183
5615
  $as_echo_n "(cached) " >&6
5184
5616
else
5185
5617
  if test -n "$AR"; then
5190
5622
do
5191
5623
  IFS=$as_save_IFS
5192
5624
  test -z "$as_dir" && as_dir=.
5193
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5625
    for ac_exec_ext in '' $ac_executable_extensions; do
5194
5626
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5195
5627
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5196
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5628
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5197
5629
    break 2
5198
5630
  fi
5199
5631
done
5200
 
done
 
5632
  done
5201
5633
IFS=$as_save_IFS
5202
5634
 
5203
5635
fi
5204
5636
fi
5205
5637
AR=$ac_cv_prog_AR
5206
5638
if test -n "$AR"; then
5207
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
5639
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5208
5640
$as_echo "$AR" >&6; }
5209
5641
else
5210
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5642
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211
5643
$as_echo "no" >&6; }
5212
5644
fi
5213
5645
 
5217
5649
  ac_ct_AR=$AR
5218
5650
  # Extract the first word of "ar", so it can be a program name with args.
5219
5651
set dummy ar; ac_word=$2
5220
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5652
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5221
5653
$as_echo_n "checking for $ac_word... " >&6; }
5222
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
5654
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5223
5655
  $as_echo_n "(cached) " >&6
5224
5656
else
5225
5657
  if test -n "$ac_ct_AR"; then
5230
5662
do
5231
5663
  IFS=$as_save_IFS
5232
5664
  test -z "$as_dir" && as_dir=.
5233
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5665
    for ac_exec_ext in '' $ac_executable_extensions; do
5234
5666
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5235
5667
    ac_cv_prog_ac_ct_AR="ar"
5236
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5668
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5237
5669
    break 2
5238
5670
  fi
5239
5671
done
5240
 
done
 
5672
  done
5241
5673
IFS=$as_save_IFS
5242
5674
 
5243
5675
fi
5244
5676
fi
5245
5677
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5246
5678
if test -n "$ac_ct_AR"; then
5247
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
5679
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5248
5680
$as_echo "$ac_ct_AR" >&6; }
5249
5681
else
5250
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5682
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5251
5683
$as_echo "no" >&6; }
5252
5684
fi
5253
5685
 
5256
5688
  else
5257
5689
    case $cross_compiling:$ac_tool_warned in
5258
5690
yes:)
5259
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5691
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5260
5692
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5261
5693
ac_tool_warned=yes ;;
5262
5694
esac
5282
5714
if test -n "$ac_tool_prefix"; then
5283
5715
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5284
5716
set dummy ${ac_tool_prefix}strip; ac_word=$2
5285
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5717
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5286
5718
$as_echo_n "checking for $ac_word... " >&6; }
5287
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
5719
if test "${ac_cv_prog_STRIP+set}" = set; then :
5288
5720
  $as_echo_n "(cached) " >&6
5289
5721
else
5290
5722
  if test -n "$STRIP"; then
5295
5727
do
5296
5728
  IFS=$as_save_IFS
5297
5729
  test -z "$as_dir" && as_dir=.
5298
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5730
    for ac_exec_ext in '' $ac_executable_extensions; do
5299
5731
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5300
5732
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5301
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5733
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5302
5734
    break 2
5303
5735
  fi
5304
5736
done
5305
 
done
 
5737
  done
5306
5738
IFS=$as_save_IFS
5307
5739
 
5308
5740
fi
5309
5741
fi
5310
5742
STRIP=$ac_cv_prog_STRIP
5311
5743
if test -n "$STRIP"; then
5312
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
5744
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5313
5745
$as_echo "$STRIP" >&6; }
5314
5746
else
5315
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5747
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5316
5748
$as_echo "no" >&6; }
5317
5749
fi
5318
5750
 
5322
5754
  ac_ct_STRIP=$STRIP
5323
5755
  # Extract the first word of "strip", so it can be a program name with args.
5324
5756
set dummy strip; ac_word=$2
5325
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5757
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5326
5758
$as_echo_n "checking for $ac_word... " >&6; }
5327
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
5759
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5328
5760
  $as_echo_n "(cached) " >&6
5329
5761
else
5330
5762
  if test -n "$ac_ct_STRIP"; then
5335
5767
do
5336
5768
  IFS=$as_save_IFS
5337
5769
  test -z "$as_dir" && as_dir=.
5338
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5770
    for ac_exec_ext in '' $ac_executable_extensions; do
5339
5771
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5340
5772
    ac_cv_prog_ac_ct_STRIP="strip"
5341
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5773
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5342
5774
    break 2
5343
5775
  fi
5344
5776
done
5345
 
done
 
5777
  done
5346
5778
IFS=$as_save_IFS
5347
5779
 
5348
5780
fi
5349
5781
fi
5350
5782
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5351
5783
if test -n "$ac_ct_STRIP"; then
5352
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
5784
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5353
5785
$as_echo "$ac_ct_STRIP" >&6; }
5354
5786
else
5355
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5787
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5356
5788
$as_echo "no" >&6; }
5357
5789
fi
5358
5790
 
5361
5793
  else
5362
5794
    case $cross_compiling:$ac_tool_warned in
5363
5795
yes:)
5364
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5796
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5365
5797
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5366
5798
ac_tool_warned=yes ;;
5367
5799
esac
5381
5813
if test -n "$ac_tool_prefix"; then
5382
5814
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5383
5815
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5384
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5816
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5385
5817
$as_echo_n "checking for $ac_word... " >&6; }
5386
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
5818
if test "${ac_cv_prog_RANLIB+set}" = set; then :
5387
5819
  $as_echo_n "(cached) " >&6
5388
5820
else
5389
5821
  if test -n "$RANLIB"; then
5394
5826
do
5395
5827
  IFS=$as_save_IFS
5396
5828
  test -z "$as_dir" && as_dir=.
5397
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5829
    for ac_exec_ext in '' $ac_executable_extensions; do
5398
5830
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5399
5831
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5400
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5832
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5401
5833
    break 2
5402
5834
  fi
5403
5835
done
5404
 
done
 
5836
  done
5405
5837
IFS=$as_save_IFS
5406
5838
 
5407
5839
fi
5408
5840
fi
5409
5841
RANLIB=$ac_cv_prog_RANLIB
5410
5842
if test -n "$RANLIB"; then
5411
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
5843
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5412
5844
$as_echo "$RANLIB" >&6; }
5413
5845
else
5414
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5846
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5415
5847
$as_echo "no" >&6; }
5416
5848
fi
5417
5849
 
5421
5853
  ac_ct_RANLIB=$RANLIB
5422
5854
  # Extract the first word of "ranlib", so it can be a program name with args.
5423
5855
set dummy ranlib; ac_word=$2
5424
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5856
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5425
5857
$as_echo_n "checking for $ac_word... " >&6; }
5426
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
5858
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5427
5859
  $as_echo_n "(cached) " >&6
5428
5860
else
5429
5861
  if test -n "$ac_ct_RANLIB"; then
5434
5866
do
5435
5867
  IFS=$as_save_IFS
5436
5868
  test -z "$as_dir" && as_dir=.
5437
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5869
    for ac_exec_ext in '' $ac_executable_extensions; do
5438
5870
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5439
5871
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5440
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5872
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5441
5873
    break 2
5442
5874
  fi
5443
5875
done
5444
 
done
 
5876
  done
5445
5877
IFS=$as_save_IFS
5446
5878
 
5447
5879
fi
5448
5880
fi
5449
5881
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5450
5882
if test -n "$ac_ct_RANLIB"; then
5451
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
5883
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5452
5884
$as_echo "$ac_ct_RANLIB" >&6; }
5453
5885
else
5454
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5886
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5455
5887
$as_echo "no" >&6; }
5456
5888
fi
5457
5889
 
5460
5892
  else
5461
5893
    case $cross_compiling:$ac_tool_warned in
5462
5894
yes:)
5463
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5895
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5464
5896
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5465
5897
ac_tool_warned=yes ;;
5466
5898
esac
5538
5970
 
5539
5971
 
5540
5972
# Check for command to grab the raw symbol name followed by C symbol from nm.
5541
 
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
5973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5542
5974
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5543
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
5975
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5544
5976
  $as_echo_n "(cached) " >&6
5545
5977
else
5546
5978
 
5656
6088
int main(){nm_test_var='a';nm_test_func();return(0);}
5657
6089
_LT_EOF
5658
6090
 
5659
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6091
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5660
6092
  (eval $ac_compile) 2>&5
5661
6093
  ac_status=$?
5662
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5663
 
  (exit $ac_status); }; then
 
6094
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6095
  test $ac_status = 0; }; then
5664
6096
    # Now try to grab the symbols.
5665
6097
    nlist=conftest.nm
5666
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
6098
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5667
6099
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5668
6100
  ac_status=$?
5669
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5670
 
  (exit $ac_status); } && test -s "$nlist"; then
 
6101
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6102
  test $ac_status = 0; } && test -s "$nlist"; then
5671
6103
      # Try sorting and uniquifying the output.
5672
6104
      if sort "$nlist" | uniq > "$nlist"T; then
5673
6105
        mv -f "$nlist"T "$nlist"
5720
6152
          lt_save_CFLAGS="$CFLAGS"
5721
6153
          LIBS="conftstm.$ac_objext"
5722
6154
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5723
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6155
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5724
6156
  (eval $ac_link) 2>&5
5725
6157
  ac_status=$?
5726
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5727
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
6158
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6159
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5728
6160
            pipe_works=yes
5729
6161
          fi
5730
6162
          LIBS="$lt_save_LIBS"
5758
6190
  lt_cv_sys_global_symbol_to_cdecl=
5759
6191
fi
5760
6192
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5761
 
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
6193
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5762
6194
$as_echo "failed" >&6; }
5763
6195
else
5764
 
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
6196
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5765
6197
$as_echo "ok" >&6; }
5766
6198
fi
5767
6199
 
5788
6220
 
5789
6221
 
5790
6222
# Check whether --enable-libtool-lock was given.
5791
 
if test "${enable_libtool_lock+set}" = set; then
 
6223
if test "${enable_libtool_lock+set}" = set; then :
5792
6224
  enableval=$enable_libtool_lock;
5793
6225
fi
5794
6226
 
5800
6232
ia64-*-hpux*)
5801
6233
  # Find out which ABI we are using.
5802
6234
  echo 'int i;' > conftest.$ac_ext
5803
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6235
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5804
6236
  (eval $ac_compile) 2>&5
5805
6237
  ac_status=$?
5806
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5807
 
  (exit $ac_status); }; then
 
6238
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6239
  test $ac_status = 0; }; then
5808
6240
    case `/usr/bin/file conftest.$ac_objext` in
5809
6241
      *ELF-32*)
5810
6242
        HPUX_IA64_MODE="32"
5818
6250
  ;;
5819
6251
*-*-irix6*)
5820
6252
  # Find out which ABI we are using.
5821
 
  echo '#line 5821 "configure"' > conftest.$ac_ext
5822
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6253
  echo '#line 6253 "configure"' > conftest.$ac_ext
 
6254
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5823
6255
  (eval $ac_compile) 2>&5
5824
6256
  ac_status=$?
5825
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826
 
  (exit $ac_status); }; then
 
6257
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6258
  test $ac_status = 0; }; then
5827
6259
    if test "$lt_cv_prog_gnu_ld" = yes; then
5828
6260
      case `/usr/bin/file conftest.$ac_objext` in
5829
6261
        *32-bit*)
5857
6289
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5858
6290
  # Find out which ABI we are using.
5859
6291
  echo 'int i;' > conftest.$ac_ext
5860
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6292
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5861
6293
  (eval $ac_compile) 2>&5
5862
6294
  ac_status=$?
5863
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864
 
  (exit $ac_status); }; then
 
6295
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6296
  test $ac_status = 0; }; then
5865
6297
    case `/usr/bin/file conftest.o` in
5866
6298
      *32-bit*)
5867
6299
        case $host in
5910
6342
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5911
6343
  SAVE_CFLAGS="$CFLAGS"
5912
6344
  CFLAGS="$CFLAGS -belf"
5913
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
6345
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5914
6346
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5915
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
6347
if test "${lt_cv_cc_needs_belf+set}" = set; then :
5916
6348
  $as_echo_n "(cached) " >&6
5917
6349
else
5918
6350
  ac_ext=c
5921
6353
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5922
6354
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5923
6355
 
5924
 
     cat >conftest.$ac_ext <<_ACEOF
5925
 
/* confdefs.h.  */
5926
 
_ACEOF
5927
 
cat confdefs.h >>conftest.$ac_ext
5928
 
cat >>conftest.$ac_ext <<_ACEOF
 
6356
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5929
6357
/* end confdefs.h.  */
5930
6358
 
5931
6359
int
5936
6364
  return 0;
5937
6365
}
5938
6366
_ACEOF
5939
 
rm -f conftest.$ac_objext conftest$ac_exeext
5940
 
if { (ac_try="$ac_link"
5941
 
case "(($ac_try" in
5942
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5943
 
  *) ac_try_echo=$ac_try;;
5944
 
esac
5945
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5946
 
$as_echo "$ac_try_echo") >&5
5947
 
  (eval "$ac_link") 2>conftest.er1
5948
 
  ac_status=$?
5949
 
  grep -v '^ *+' conftest.er1 >conftest.err
5950
 
  rm -f conftest.er1
5951
 
  cat conftest.err >&5
5952
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5953
 
  (exit $ac_status); } && {
5954
 
         test -z "$ac_c_werror_flag" ||
5955
 
         test ! -s conftest.err
5956
 
       } && test -s conftest$ac_exeext && {
5957
 
         test "$cross_compiling" = yes ||
5958
 
         $as_test_x conftest$ac_exeext
5959
 
       }; then
 
6367
if ac_fn_c_try_link "$LINENO"; then :
5960
6368
  lt_cv_cc_needs_belf=yes
5961
6369
else
5962
 
  $as_echo "$as_me: failed program was:" >&5
5963
 
sed 's/^/| /' conftest.$ac_ext >&5
5964
 
 
5965
 
        lt_cv_cc_needs_belf=no
 
6370
  lt_cv_cc_needs_belf=no
5966
6371
fi
5967
 
 
5968
 
rm -rf conftest.dSYM
5969
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5970
 
      conftest$ac_exeext conftest.$ac_ext
 
6372
rm -f core conftest.err conftest.$ac_objext \
 
6373
    conftest$ac_exeext conftest.$ac_ext
5971
6374
     ac_ext=c
5972
6375
ac_cpp='$CPP $CPPFLAGS'
5973
6376
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5975
6378
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5976
6379
 
5977
6380
fi
5978
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
6381
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5979
6382
$as_echo "$lt_cv_cc_needs_belf" >&6; }
5980
6383
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5981
6384
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5985
6388
sparc*-*solaris*)
5986
6389
  # Find out which ABI we are using.
5987
6390
  echo 'int i;' > conftest.$ac_ext
5988
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6391
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5989
6392
  (eval $ac_compile) 2>&5
5990
6393
  ac_status=$?
5991
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992
 
  (exit $ac_status); }; then
 
6394
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6395
  test $ac_status = 0; }; then
5993
6396
    case `/usr/bin/file conftest.o` in
5994
6397
    *64-bit*)
5995
6398
      case $lt_cv_prog_gnu_ld in
6015
6418
    if test -n "$ac_tool_prefix"; then
6016
6419
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6017
6420
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6018
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6421
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6019
6422
$as_echo_n "checking for $ac_word... " >&6; }
6020
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
6423
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6021
6424
  $as_echo_n "(cached) " >&6
6022
6425
else
6023
6426
  if test -n "$DSYMUTIL"; then
6028
6431
do
6029
6432
  IFS=$as_save_IFS
6030
6433
  test -z "$as_dir" && as_dir=.
6031
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6434
    for ac_exec_ext in '' $ac_executable_extensions; do
6032
6435
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6033
6436
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6034
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6437
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6035
6438
    break 2
6036
6439
  fi
6037
6440
done
6038
 
done
 
6441
  done
6039
6442
IFS=$as_save_IFS
6040
6443
 
6041
6444
fi
6042
6445
fi
6043
6446
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6044
6447
if test -n "$DSYMUTIL"; then
6045
 
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
6448
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6046
6449
$as_echo "$DSYMUTIL" >&6; }
6047
6450
else
6048
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6451
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6049
6452
$as_echo "no" >&6; }
6050
6453
fi
6051
6454
 
6055
6458
  ac_ct_DSYMUTIL=$DSYMUTIL
6056
6459
  # Extract the first word of "dsymutil", so it can be a program name with args.
6057
6460
set dummy dsymutil; ac_word=$2
6058
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6059
6462
$as_echo_n "checking for $ac_word... " >&6; }
6060
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
6463
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6061
6464
  $as_echo_n "(cached) " >&6
6062
6465
else
6063
6466
  if test -n "$ac_ct_DSYMUTIL"; then
6068
6471
do
6069
6472
  IFS=$as_save_IFS
6070
6473
  test -z "$as_dir" && as_dir=.
6071
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6474
    for ac_exec_ext in '' $ac_executable_extensions; do
6072
6475
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6073
6476
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6074
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6477
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6075
6478
    break 2
6076
6479
  fi
6077
6480
done
6078
 
done
 
6481
  done
6079
6482
IFS=$as_save_IFS
6080
6483
 
6081
6484
fi
6082
6485
fi
6083
6486
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6084
6487
if test -n "$ac_ct_DSYMUTIL"; then
6085
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
6488
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6086
6489
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6087
6490
else
6088
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6491
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6089
6492
$as_echo "no" >&6; }
6090
6493
fi
6091
6494
 
6094
6497
  else
6095
6498
    case $cross_compiling:$ac_tool_warned in
6096
6499
yes:)
6097
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6500
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6098
6501
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6099
6502
ac_tool_warned=yes ;;
6100
6503
esac
6107
6510
    if test -n "$ac_tool_prefix"; then
6108
6511
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6109
6512
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6110
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6513
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6111
6514
$as_echo_n "checking for $ac_word... " >&6; }
6112
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
6515
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6113
6516
  $as_echo_n "(cached) " >&6
6114
6517
else
6115
6518
  if test -n "$NMEDIT"; then
6120
6523
do
6121
6524
  IFS=$as_save_IFS
6122
6525
  test -z "$as_dir" && as_dir=.
6123
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6526
    for ac_exec_ext in '' $ac_executable_extensions; do
6124
6527
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6125
6528
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6126
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6529
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6127
6530
    break 2
6128
6531
  fi
6129
6532
done
6130
 
done
 
6533
  done
6131
6534
IFS=$as_save_IFS
6132
6535
 
6133
6536
fi
6134
6537
fi
6135
6538
NMEDIT=$ac_cv_prog_NMEDIT
6136
6539
if test -n "$NMEDIT"; then
6137
 
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
6540
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6138
6541
$as_echo "$NMEDIT" >&6; }
6139
6542
else
6140
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6543
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6141
6544
$as_echo "no" >&6; }
6142
6545
fi
6143
6546
 
6147
6550
  ac_ct_NMEDIT=$NMEDIT
6148
6551
  # Extract the first word of "nmedit", so it can be a program name with args.
6149
6552
set dummy nmedit; ac_word=$2
6150
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6151
6554
$as_echo_n "checking for $ac_word... " >&6; }
6152
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
6555
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6153
6556
  $as_echo_n "(cached) " >&6
6154
6557
else
6155
6558
  if test -n "$ac_ct_NMEDIT"; then
6160
6563
do
6161
6564
  IFS=$as_save_IFS
6162
6565
  test -z "$as_dir" && as_dir=.
6163
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6566
    for ac_exec_ext in '' $ac_executable_extensions; do
6164
6567
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6165
6568
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6166
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6569
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6167
6570
    break 2
6168
6571
  fi
6169
6572
done
6170
 
done
 
6573
  done
6171
6574
IFS=$as_save_IFS
6172
6575
 
6173
6576
fi
6174
6577
fi
6175
6578
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6176
6579
if test -n "$ac_ct_NMEDIT"; then
6177
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
6580
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6178
6581
$as_echo "$ac_ct_NMEDIT" >&6; }
6179
6582
else
6180
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6583
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6181
6584
$as_echo "no" >&6; }
6182
6585
fi
6183
6586
 
6186
6589
  else
6187
6590
    case $cross_compiling:$ac_tool_warned in
6188
6591
yes:)
6189
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6592
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6190
6593
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6191
6594
ac_tool_warned=yes ;;
6192
6595
esac
6199
6602
    if test -n "$ac_tool_prefix"; then
6200
6603
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6201
6604
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6202
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6203
6606
$as_echo_n "checking for $ac_word... " >&6; }
6204
 
if test "${ac_cv_prog_LIPO+set}" = set; then
 
6607
if test "${ac_cv_prog_LIPO+set}" = set; then :
6205
6608
  $as_echo_n "(cached) " >&6
6206
6609
else
6207
6610
  if test -n "$LIPO"; then
6212
6615
do
6213
6616
  IFS=$as_save_IFS
6214
6617
  test -z "$as_dir" && as_dir=.
6215
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6618
    for ac_exec_ext in '' $ac_executable_extensions; do
6216
6619
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6217
6620
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6218
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6621
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6219
6622
    break 2
6220
6623
  fi
6221
6624
done
6222
 
done
 
6625
  done
6223
6626
IFS=$as_save_IFS
6224
6627
 
6225
6628
fi
6226
6629
fi
6227
6630
LIPO=$ac_cv_prog_LIPO
6228
6631
if test -n "$LIPO"; then
6229
 
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
6632
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6230
6633
$as_echo "$LIPO" >&6; }
6231
6634
else
6232
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6635
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6233
6636
$as_echo "no" >&6; }
6234
6637
fi
6235
6638
 
6239
6642
  ac_ct_LIPO=$LIPO
6240
6643
  # Extract the first word of "lipo", so it can be a program name with args.
6241
6644
set dummy lipo; ac_word=$2
6242
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6243
6646
$as_echo_n "checking for $ac_word... " >&6; }
6244
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
6647
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6245
6648
  $as_echo_n "(cached) " >&6
6246
6649
else
6247
6650
  if test -n "$ac_ct_LIPO"; then
6252
6655
do
6253
6656
  IFS=$as_save_IFS
6254
6657
  test -z "$as_dir" && as_dir=.
6255
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6658
    for ac_exec_ext in '' $ac_executable_extensions; do
6256
6659
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6257
6660
    ac_cv_prog_ac_ct_LIPO="lipo"
6258
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6661
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6259
6662
    break 2
6260
6663
  fi
6261
6664
done
6262
 
done
 
6665
  done
6263
6666
IFS=$as_save_IFS
6264
6667
 
6265
6668
fi
6266
6669
fi
6267
6670
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6268
6671
if test -n "$ac_ct_LIPO"; then
6269
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
6672
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6270
6673
$as_echo "$ac_ct_LIPO" >&6; }
6271
6674
else
6272
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6675
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6273
6676
$as_echo "no" >&6; }
6274
6677
fi
6275
6678
 
6278
6681
  else
6279
6682
    case $cross_compiling:$ac_tool_warned in
6280
6683
yes:)
6281
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6684
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6282
6685
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6283
6686
ac_tool_warned=yes ;;
6284
6687
esac
6291
6694
    if test -n "$ac_tool_prefix"; then
6292
6695
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6293
6696
set dummy ${ac_tool_prefix}otool; ac_word=$2
6294
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6295
6698
$as_echo_n "checking for $ac_word... " >&6; }
6296
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
6699
if test "${ac_cv_prog_OTOOL+set}" = set; then :
6297
6700
  $as_echo_n "(cached) " >&6
6298
6701
else
6299
6702
  if test -n "$OTOOL"; then
6304
6707
do
6305
6708
  IFS=$as_save_IFS
6306
6709
  test -z "$as_dir" && as_dir=.
6307
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6710
    for ac_exec_ext in '' $ac_executable_extensions; do
6308
6711
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6309
6712
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6310
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6713
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6311
6714
    break 2
6312
6715
  fi
6313
6716
done
6314
 
done
 
6717
  done
6315
6718
IFS=$as_save_IFS
6316
6719
 
6317
6720
fi
6318
6721
fi
6319
6722
OTOOL=$ac_cv_prog_OTOOL
6320
6723
if test -n "$OTOOL"; then
6321
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
6724
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6322
6725
$as_echo "$OTOOL" >&6; }
6323
6726
else
6324
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6727
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6325
6728
$as_echo "no" >&6; }
6326
6729
fi
6327
6730
 
6331
6734
  ac_ct_OTOOL=$OTOOL
6332
6735
  # Extract the first word of "otool", so it can be a program name with args.
6333
6736
set dummy otool; ac_word=$2
6334
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6737
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6335
6738
$as_echo_n "checking for $ac_word... " >&6; }
6336
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
6739
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6337
6740
  $as_echo_n "(cached) " >&6
6338
6741
else
6339
6742
  if test -n "$ac_ct_OTOOL"; then
6344
6747
do
6345
6748
  IFS=$as_save_IFS
6346
6749
  test -z "$as_dir" && as_dir=.
6347
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6750
    for ac_exec_ext in '' $ac_executable_extensions; do
6348
6751
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6349
6752
    ac_cv_prog_ac_ct_OTOOL="otool"
6350
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6753
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6351
6754
    break 2
6352
6755
  fi
6353
6756
done
6354
 
done
 
6757
  done
6355
6758
IFS=$as_save_IFS
6356
6759
 
6357
6760
fi
6358
6761
fi
6359
6762
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6360
6763
if test -n "$ac_ct_OTOOL"; then
6361
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
6764
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6362
6765
$as_echo "$ac_ct_OTOOL" >&6; }
6363
6766
else
6364
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6767
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6365
6768
$as_echo "no" >&6; }
6366
6769
fi
6367
6770
 
6370
6773
  else
6371
6774
    case $cross_compiling:$ac_tool_warned in
6372
6775
yes:)
6373
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6776
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6374
6777
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6375
6778
ac_tool_warned=yes ;;
6376
6779
esac
6383
6786
    if test -n "$ac_tool_prefix"; then
6384
6787
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6385
6788
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6386
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6789
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6387
6790
$as_echo_n "checking for $ac_word... " >&6; }
6388
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
6791
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6389
6792
  $as_echo_n "(cached) " >&6
6390
6793
else
6391
6794
  if test -n "$OTOOL64"; then
6396
6799
do
6397
6800
  IFS=$as_save_IFS
6398
6801
  test -z "$as_dir" && as_dir=.
6399
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6802
    for ac_exec_ext in '' $ac_executable_extensions; do
6400
6803
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6401
6804
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6402
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6805
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6403
6806
    break 2
6404
6807
  fi
6405
6808
done
6406
 
done
 
6809
  done
6407
6810
IFS=$as_save_IFS
6408
6811
 
6409
6812
fi
6410
6813
fi
6411
6814
OTOOL64=$ac_cv_prog_OTOOL64
6412
6815
if test -n "$OTOOL64"; then
6413
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
6816
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6414
6817
$as_echo "$OTOOL64" >&6; }
6415
6818
else
6416
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6819
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6417
6820
$as_echo "no" >&6; }
6418
6821
fi
6419
6822
 
6423
6826
  ac_ct_OTOOL64=$OTOOL64
6424
6827
  # Extract the first word of "otool64", so it can be a program name with args.
6425
6828
set dummy otool64; ac_word=$2
6426
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6427
6830
$as_echo_n "checking for $ac_word... " >&6; }
6428
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
6831
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6429
6832
  $as_echo_n "(cached) " >&6
6430
6833
else
6431
6834
  if test -n "$ac_ct_OTOOL64"; then
6436
6839
do
6437
6840
  IFS=$as_save_IFS
6438
6841
  test -z "$as_dir" && as_dir=.
6439
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6842
    for ac_exec_ext in '' $ac_executable_extensions; do
6440
6843
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6441
6844
    ac_cv_prog_ac_ct_OTOOL64="otool64"
6442
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6845
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6443
6846
    break 2
6444
6847
  fi
6445
6848
done
6446
 
done
 
6849
  done
6447
6850
IFS=$as_save_IFS
6448
6851
 
6449
6852
fi
6450
6853
fi
6451
6854
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6452
6855
if test -n "$ac_ct_OTOOL64"; then
6453
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
6856
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6454
6857
$as_echo "$ac_ct_OTOOL64" >&6; }
6455
6858
else
6456
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6859
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6457
6860
$as_echo "no" >&6; }
6458
6861
fi
6459
6862
 
6462
6865
  else
6463
6866
    case $cross_compiling:$ac_tool_warned in
6464
6867
yes:)
6465
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6868
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6466
6869
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6467
6870
ac_tool_warned=yes ;;
6468
6871
esac
6498
6901
 
6499
6902
 
6500
6903
 
6501
 
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
6904
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6502
6905
$as_echo_n "checking for -single_module linker flag... " >&6; }
6503
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
6906
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6504
6907
  $as_echo_n "(cached) " >&6
6505
6908
else
6506
6909
  lt_cv_apple_cc_single_mod=no
6525
6928
        rm -f conftest.*
6526
6929
      fi
6527
6930
fi
6528
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
6931
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6529
6932
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6530
 
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
6933
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6531
6934
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6532
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
6935
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6533
6936
  $as_echo_n "(cached) " >&6
6534
6937
else
6535
6938
  lt_cv_ld_exported_symbols_list=no
6536
6939
      save_LDFLAGS=$LDFLAGS
6537
6940
      echo "_main" > conftest.sym
6538
6941
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6539
 
      cat >conftest.$ac_ext <<_ACEOF
6540
 
/* confdefs.h.  */
6541
 
_ACEOF
6542
 
cat confdefs.h >>conftest.$ac_ext
6543
 
cat >>conftest.$ac_ext <<_ACEOF
 
6942
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6544
6943
/* end confdefs.h.  */
6545
6944
 
6546
6945
int
6551
6950
  return 0;
6552
6951
}
6553
6952
_ACEOF
6554
 
rm -f conftest.$ac_objext conftest$ac_exeext
6555
 
if { (ac_try="$ac_link"
6556
 
case "(($ac_try" in
6557
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6558
 
  *) ac_try_echo=$ac_try;;
6559
 
esac
6560
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6561
 
$as_echo "$ac_try_echo") >&5
6562
 
  (eval "$ac_link") 2>conftest.er1
6563
 
  ac_status=$?
6564
 
  grep -v '^ *+' conftest.er1 >conftest.err
6565
 
  rm -f conftest.er1
6566
 
  cat conftest.err >&5
6567
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568
 
  (exit $ac_status); } && {
6569
 
         test -z "$ac_c_werror_flag" ||
6570
 
         test ! -s conftest.err
6571
 
       } && test -s conftest$ac_exeext && {
6572
 
         test "$cross_compiling" = yes ||
6573
 
         $as_test_x conftest$ac_exeext
6574
 
       }; then
 
6953
if ac_fn_c_try_link "$LINENO"; then :
6575
6954
  lt_cv_ld_exported_symbols_list=yes
6576
6955
else
6577
 
  $as_echo "$as_me: failed program was:" >&5
6578
 
sed 's/^/| /' conftest.$ac_ext >&5
6579
 
 
6580
 
        lt_cv_ld_exported_symbols_list=no
 
6956
  lt_cv_ld_exported_symbols_list=no
6581
6957
fi
6582
 
 
6583
 
rm -rf conftest.dSYM
6584
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6585
 
      conftest$ac_exeext conftest.$ac_ext
 
6958
rm -f core conftest.err conftest.$ac_objext \
 
6959
    conftest$ac_exeext conftest.$ac_ext
6586
6960
        LDFLAGS="$save_LDFLAGS"
6587
6961
 
6588
6962
fi
6589
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
6963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6590
6964
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6591
6965
    case $host_os in
6592
6966
    rhapsody* | darwin1.[012])
6628
7002
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6629
7003
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6630
7004
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6631
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
7005
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6632
7006
$as_echo_n "checking how to run the C preprocessor... " >&6; }
6633
7007
# On Suns, sometimes $CPP names a directory.
6634
7008
if test -n "$CPP" && test -d "$CPP"; then
6635
7009
  CPP=
6636
7010
fi
6637
7011
if test -z "$CPP"; then
6638
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
7012
  if test "${ac_cv_prog_CPP+set}" = set; then :
6639
7013
  $as_echo_n "(cached) " >&6
6640
7014
else
6641
7015
      # Double quotes because CPP needs to be expanded
6650
7024
  # <limits.h> exists even on freestanding compilers.
6651
7025
  # On the NeXT, cc -E runs the code through the compiler's parser,
6652
7026
  # not just through cpp. "Syntax error" is here to catch this case.
6653
 
  cat >conftest.$ac_ext <<_ACEOF
6654
 
/* confdefs.h.  */
6655
 
_ACEOF
6656
 
cat confdefs.h >>conftest.$ac_ext
6657
 
cat >>conftest.$ac_ext <<_ACEOF
 
7027
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6658
7028
/* end confdefs.h.  */
6659
7029
#ifdef __STDC__
6660
7030
# include <limits.h>
6663
7033
#endif
6664
7034
                     Syntax error
6665
7035
_ACEOF
6666
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6667
 
case "(($ac_try" in
6668
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6669
 
  *) ac_try_echo=$ac_try;;
6670
 
esac
6671
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6672
 
$as_echo "$ac_try_echo") >&5
6673
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6674
 
  ac_status=$?
6675
 
  grep -v '^ *+' conftest.er1 >conftest.err
6676
 
  rm -f conftest.er1
6677
 
  cat conftest.err >&5
6678
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6679
 
  (exit $ac_status); } >/dev/null && {
6680
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6681
 
         test ! -s conftest.err
6682
 
       }; then
6683
 
  :
 
7036
if ac_fn_c_try_cpp "$LINENO"; then :
 
7037
 
6684
7038
else
6685
 
  $as_echo "$as_me: failed program was:" >&5
6686
 
sed 's/^/| /' conftest.$ac_ext >&5
6687
 
 
6688
7039
  # Broken: fails on valid input.
6689
7040
continue
6690
7041
fi
6691
 
 
6692
7042
rm -f conftest.err conftest.$ac_ext
6693
7043
 
6694
7044
  # OK, works on sane cases.  Now check whether nonexistent headers
6695
7045
  # can be detected and how.
6696
 
  cat >conftest.$ac_ext <<_ACEOF
6697
 
/* confdefs.h.  */
6698
 
_ACEOF
6699
 
cat confdefs.h >>conftest.$ac_ext
6700
 
cat >>conftest.$ac_ext <<_ACEOF
 
7046
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6701
7047
/* end confdefs.h.  */
6702
7048
#include <ac_nonexistent.h>
6703
7049
_ACEOF
6704
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6705
 
case "(($ac_try" in
6706
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6707
 
  *) ac_try_echo=$ac_try;;
6708
 
esac
6709
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6710
 
$as_echo "$ac_try_echo") >&5
6711
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6712
 
  ac_status=$?
6713
 
  grep -v '^ *+' conftest.er1 >conftest.err
6714
 
  rm -f conftest.er1
6715
 
  cat conftest.err >&5
6716
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717
 
  (exit $ac_status); } >/dev/null && {
6718
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6719
 
         test ! -s conftest.err
6720
 
       }; then
 
7050
if ac_fn_c_try_cpp "$LINENO"; then :
6721
7051
  # Broken: success on invalid input.
6722
7052
continue
6723
7053
else
6724
 
  $as_echo "$as_me: failed program was:" >&5
6725
 
sed 's/^/| /' conftest.$ac_ext >&5
6726
 
 
6727
7054
  # Passes both tests.
6728
7055
ac_preproc_ok=:
6729
7056
break
6730
7057
fi
6731
 
 
6732
7058
rm -f conftest.err conftest.$ac_ext
6733
7059
 
6734
7060
done
6735
7061
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6736
7062
rm -f conftest.err conftest.$ac_ext
6737
 
if $ac_preproc_ok; then
 
7063
if $ac_preproc_ok; then :
6738
7064
  break
6739
7065
fi
6740
7066
 
6746
7072
else
6747
7073
  ac_cv_prog_CPP=$CPP
6748
7074
fi
6749
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
7075
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6750
7076
$as_echo "$CPP" >&6; }
6751
7077
ac_preproc_ok=false
6752
7078
for ac_c_preproc_warn_flag in '' yes
6757
7083
  # <limits.h> exists even on freestanding compilers.
6758
7084
  # On the NeXT, cc -E runs the code through the compiler's parser,
6759
7085
  # not just through cpp. "Syntax error" is here to catch this case.
6760
 
  cat >conftest.$ac_ext <<_ACEOF
6761
 
/* confdefs.h.  */
6762
 
_ACEOF
6763
 
cat confdefs.h >>conftest.$ac_ext
6764
 
cat >>conftest.$ac_ext <<_ACEOF
 
7086
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6765
7087
/* end confdefs.h.  */
6766
7088
#ifdef __STDC__
6767
7089
# include <limits.h>
6770
7092
#endif
6771
7093
                     Syntax error
6772
7094
_ACEOF
6773
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6774
 
case "(($ac_try" in
6775
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6776
 
  *) ac_try_echo=$ac_try;;
6777
 
esac
6778
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6779
 
$as_echo "$ac_try_echo") >&5
6780
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6781
 
  ac_status=$?
6782
 
  grep -v '^ *+' conftest.er1 >conftest.err
6783
 
  rm -f conftest.er1
6784
 
  cat conftest.err >&5
6785
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786
 
  (exit $ac_status); } >/dev/null && {
6787
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6788
 
         test ! -s conftest.err
6789
 
       }; then
6790
 
  :
 
7095
if ac_fn_c_try_cpp "$LINENO"; then :
 
7096
 
6791
7097
else
6792
 
  $as_echo "$as_me: failed program was:" >&5
6793
 
sed 's/^/| /' conftest.$ac_ext >&5
6794
 
 
6795
7098
  # Broken: fails on valid input.
6796
7099
continue
6797
7100
fi
6798
 
 
6799
7101
rm -f conftest.err conftest.$ac_ext
6800
7102
 
6801
7103
  # OK, works on sane cases.  Now check whether nonexistent headers
6802
7104
  # can be detected and how.
6803
 
  cat >conftest.$ac_ext <<_ACEOF
6804
 
/* confdefs.h.  */
6805
 
_ACEOF
6806
 
cat confdefs.h >>conftest.$ac_ext
6807
 
cat >>conftest.$ac_ext <<_ACEOF
 
7105
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6808
7106
/* end confdefs.h.  */
6809
7107
#include <ac_nonexistent.h>
6810
7108
_ACEOF
6811
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6812
 
case "(($ac_try" in
6813
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6814
 
  *) ac_try_echo=$ac_try;;
6815
 
esac
6816
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6817
 
$as_echo "$ac_try_echo") >&5
6818
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6819
 
  ac_status=$?
6820
 
  grep -v '^ *+' conftest.er1 >conftest.err
6821
 
  rm -f conftest.er1
6822
 
  cat conftest.err >&5
6823
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6824
 
  (exit $ac_status); } >/dev/null && {
6825
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6826
 
         test ! -s conftest.err
6827
 
       }; then
 
7109
if ac_fn_c_try_cpp "$LINENO"; then :
6828
7110
  # Broken: success on invalid input.
6829
7111
continue
6830
7112
else
6831
 
  $as_echo "$as_me: failed program was:" >&5
6832
 
sed 's/^/| /' conftest.$ac_ext >&5
6833
 
 
6834
7113
  # Passes both tests.
6835
7114
ac_preproc_ok=:
6836
7115
break
6837
7116
fi
6838
 
 
6839
7117
rm -f conftest.err conftest.$ac_ext
6840
7118
 
6841
7119
done
6842
7120
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6843
7121
rm -f conftest.err conftest.$ac_ext
6844
 
if $ac_preproc_ok; then
6845
 
  :
 
7122
if $ac_preproc_ok; then :
 
7123
 
6846
7124
else
6847
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
7125
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6848
7126
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6849
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6850
 
See \`config.log' for more details." >&5
6851
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6852
 
See \`config.log' for more details." >&2;}
6853
 
   { (exit 1); exit 1; }; }; }
 
7127
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
7128
See \`config.log' for more details." "$LINENO" 5; }
6854
7129
fi
6855
7130
 
6856
7131
ac_ext=c
6860
7135
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6861
7136
 
6862
7137
 
6863
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
7138
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6864
7139
$as_echo_n "checking for ANSI C header files... " >&6; }
6865
 
if test "${ac_cv_header_stdc+set}" = set; then
 
7140
if test "${ac_cv_header_stdc+set}" = set; then :
6866
7141
  $as_echo_n "(cached) " >&6
6867
7142
else
6868
 
  cat >conftest.$ac_ext <<_ACEOF
6869
 
/* confdefs.h.  */
6870
 
_ACEOF
6871
 
cat confdefs.h >>conftest.$ac_ext
6872
 
cat >>conftest.$ac_ext <<_ACEOF
 
7143
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6873
7144
/* end confdefs.h.  */
6874
7145
#include <stdlib.h>
6875
7146
#include <stdarg.h>
6884
7155
  return 0;
6885
7156
}
6886
7157
_ACEOF
6887
 
rm -f conftest.$ac_objext
6888
 
if { (ac_try="$ac_compile"
6889
 
case "(($ac_try" in
6890
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6891
 
  *) ac_try_echo=$ac_try;;
6892
 
esac
6893
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6894
 
$as_echo "$ac_try_echo") >&5
6895
 
  (eval "$ac_compile") 2>conftest.er1
6896
 
  ac_status=$?
6897
 
  grep -v '^ *+' conftest.er1 >conftest.err
6898
 
  rm -f conftest.er1
6899
 
  cat conftest.err >&5
6900
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901
 
  (exit $ac_status); } && {
6902
 
         test -z "$ac_c_werror_flag" ||
6903
 
         test ! -s conftest.err
6904
 
       } && test -s conftest.$ac_objext; then
 
7158
if ac_fn_c_try_compile "$LINENO"; then :
6905
7159
  ac_cv_header_stdc=yes
6906
7160
else
6907
 
  $as_echo "$as_me: failed program was:" >&5
6908
 
sed 's/^/| /' conftest.$ac_ext >&5
6909
 
 
6910
 
        ac_cv_header_stdc=no
 
7161
  ac_cv_header_stdc=no
6911
7162
fi
6912
 
 
6913
7163
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6914
7164
 
6915
7165
if test $ac_cv_header_stdc = yes; then
6916
7166
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6917
 
  cat >conftest.$ac_ext <<_ACEOF
6918
 
/* confdefs.h.  */
6919
 
_ACEOF
6920
 
cat confdefs.h >>conftest.$ac_ext
6921
 
cat >>conftest.$ac_ext <<_ACEOF
 
7167
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6922
7168
/* end confdefs.h.  */
6923
7169
#include <string.h>
6924
7170
 
6925
7171
_ACEOF
6926
7172
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6927
 
  $EGREP "memchr" >/dev/null 2>&1; then
6928
 
  :
 
7173
  $EGREP "memchr" >/dev/null 2>&1; then :
 
7174
 
6929
7175
else
6930
7176
  ac_cv_header_stdc=no
6931
7177
fi
6935
7181
 
6936
7182
if test $ac_cv_header_stdc = yes; then
6937
7183
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6938
 
  cat >conftest.$ac_ext <<_ACEOF
6939
 
/* confdefs.h.  */
6940
 
_ACEOF
6941
 
cat confdefs.h >>conftest.$ac_ext
6942
 
cat >>conftest.$ac_ext <<_ACEOF
 
7184
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6943
7185
/* end confdefs.h.  */
6944
7186
#include <stdlib.h>
6945
7187
 
6946
7188
_ACEOF
6947
7189
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6948
 
  $EGREP "free" >/dev/null 2>&1; then
6949
 
  :
 
7190
  $EGREP "free" >/dev/null 2>&1; then :
 
7191
 
6950
7192
else
6951
7193
  ac_cv_header_stdc=no
6952
7194
fi
6956
7198
 
6957
7199
if test $ac_cv_header_stdc = yes; then
6958
7200
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6959
 
  if test "$cross_compiling" = yes; then
 
7201
  if test "$cross_compiling" = yes; then :
6960
7202
  :
6961
7203
else
6962
 
  cat >conftest.$ac_ext <<_ACEOF
6963
 
/* confdefs.h.  */
6964
 
_ACEOF
6965
 
cat confdefs.h >>conftest.$ac_ext
6966
 
cat >>conftest.$ac_ext <<_ACEOF
 
7204
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6967
7205
/* end confdefs.h.  */
6968
7206
#include <ctype.h>
6969
7207
#include <stdlib.h>
6990
7228
  return 0;
6991
7229
}
6992
7230
_ACEOF
6993
 
rm -f conftest$ac_exeext
6994
 
if { (ac_try="$ac_link"
6995
 
case "(($ac_try" in
6996
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6997
 
  *) ac_try_echo=$ac_try;;
6998
 
esac
6999
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7000
 
$as_echo "$ac_try_echo") >&5
7001
 
  (eval "$ac_link") 2>&5
7002
 
  ac_status=$?
7003
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7004
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7005
 
  { (case "(($ac_try" in
7006
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7007
 
  *) ac_try_echo=$ac_try;;
7008
 
esac
7009
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7010
 
$as_echo "$ac_try_echo") >&5
7011
 
  (eval "$ac_try") 2>&5
7012
 
  ac_status=$?
7013
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7014
 
  (exit $ac_status); }; }; then
7015
 
  :
 
7231
if ac_fn_c_try_run "$LINENO"; then :
 
7232
 
7016
7233
else
7017
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
7018
 
$as_echo "$as_me: failed program was:" >&5
7019
 
sed 's/^/| /' conftest.$ac_ext >&5
7020
 
 
7021
 
( exit $ac_status )
7022
 
ac_cv_header_stdc=no
7023
 
fi
7024
 
rm -rf conftest.dSYM
7025
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7026
 
fi
7027
 
 
7028
 
 
7029
 
fi
7030
 
fi
7031
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
7234
  ac_cv_header_stdc=no
 
7235
fi
 
7236
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
7237
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
7238
fi
 
7239
 
 
7240
fi
 
7241
fi
 
7242
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7032
7243
$as_echo "$ac_cv_header_stdc" >&6; }
7033
7244
if test $ac_cv_header_stdc = yes; then
7034
7245
 
7035
 
cat >>confdefs.h <<\_ACEOF
7036
 
#define STDC_HEADERS 1
7037
 
_ACEOF
 
7246
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7038
7247
 
7039
7248
fi
7040
7249
 
7041
7250
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7042
 
 
7043
 
 
7044
 
 
7045
 
 
7046
 
 
7047
 
 
7048
 
 
7049
 
 
7050
 
 
7051
7251
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7052
7252
                  inttypes.h stdint.h unistd.h
7053
 
do
7054
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7055
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7056
 
$as_echo_n "checking for $ac_header... " >&6; }
7057
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7058
 
  $as_echo_n "(cached) " >&6
7059
 
else
7060
 
  cat >conftest.$ac_ext <<_ACEOF
7061
 
/* confdefs.h.  */
7062
 
_ACEOF
7063
 
cat confdefs.h >>conftest.$ac_ext
7064
 
cat >>conftest.$ac_ext <<_ACEOF
7065
 
/* end confdefs.h.  */
7066
 
$ac_includes_default
7067
 
 
7068
 
#include <$ac_header>
7069
 
_ACEOF
7070
 
rm -f conftest.$ac_objext
7071
 
if { (ac_try="$ac_compile"
7072
 
case "(($ac_try" in
7073
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7074
 
  *) ac_try_echo=$ac_try;;
7075
 
esac
7076
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7077
 
$as_echo "$ac_try_echo") >&5
7078
 
  (eval "$ac_compile") 2>conftest.er1
7079
 
  ac_status=$?
7080
 
  grep -v '^ *+' conftest.er1 >conftest.err
7081
 
  rm -f conftest.er1
7082
 
  cat conftest.err >&5
7083
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7084
 
  (exit $ac_status); } && {
7085
 
         test -z "$ac_c_werror_flag" ||
7086
 
         test ! -s conftest.err
7087
 
       } && test -s conftest.$ac_objext; then
7088
 
  eval "$as_ac_Header=yes"
7089
 
else
7090
 
  $as_echo "$as_me: failed program was:" >&5
7091
 
sed 's/^/| /' conftest.$ac_ext >&5
7092
 
 
7093
 
        eval "$as_ac_Header=no"
7094
 
fi
7095
 
 
7096
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7097
 
fi
7098
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7099
 
                 $as_echo "$as_val"'`
7100
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7101
 
$as_echo "$ac_res" >&6; }
7102
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7103
 
                 $as_echo "$as_val"'`
7104
 
   if test "x$as_val" = x""yes; then
 
7253
do :
 
7254
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7255
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
7256
"
 
7257
eval as_val=\$$as_ac_Header
 
7258
   if test "x$as_val" = x""yes; then :
7105
7259
  cat >>confdefs.h <<_ACEOF
7106
7260
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7107
7261
_ACEOF
7111
7265
done
7112
7266
 
7113
7267
 
7114
 
 
7115
7268
for ac_header in dlfcn.h
7116
 
do
7117
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7118
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7119
 
$as_echo_n "checking for $ac_header... " >&6; }
7120
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7121
 
  $as_echo_n "(cached) " >&6
7122
 
else
7123
 
  cat >conftest.$ac_ext <<_ACEOF
7124
 
/* confdefs.h.  */
7125
 
_ACEOF
7126
 
cat confdefs.h >>conftest.$ac_ext
7127
 
cat >>conftest.$ac_ext <<_ACEOF
7128
 
/* end confdefs.h.  */
7129
 
$ac_includes_default
7130
 
 
7131
 
#include <$ac_header>
7132
 
_ACEOF
7133
 
rm -f conftest.$ac_objext
7134
 
if { (ac_try="$ac_compile"
7135
 
case "(($ac_try" in
7136
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7137
 
  *) ac_try_echo=$ac_try;;
7138
 
esac
7139
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7140
 
$as_echo "$ac_try_echo") >&5
7141
 
  (eval "$ac_compile") 2>conftest.er1
7142
 
  ac_status=$?
7143
 
  grep -v '^ *+' conftest.er1 >conftest.err
7144
 
  rm -f conftest.er1
7145
 
  cat conftest.err >&5
7146
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7147
 
  (exit $ac_status); } && {
7148
 
         test -z "$ac_c_werror_flag" ||
7149
 
         test ! -s conftest.err
7150
 
       } && test -s conftest.$ac_objext; then
7151
 
  eval "$as_ac_Header=yes"
7152
 
else
7153
 
  $as_echo "$as_me: failed program was:" >&5
7154
 
sed 's/^/| /' conftest.$ac_ext >&5
7155
 
 
7156
 
        eval "$as_ac_Header=no"
7157
 
fi
7158
 
 
7159
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7160
 
fi
7161
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7162
 
                 $as_echo "$as_val"'`
7163
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7164
 
$as_echo "$ac_res" >&6; }
7165
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7166
 
                 $as_echo "$as_val"'`
7167
 
   if test "x$as_val" = x""yes; then
 
7269
do :
 
7270
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7271
"
 
7272
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7168
7273
  cat >>confdefs.h <<_ACEOF
7169
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7274
#define HAVE_DLFCN_H 1
7170
7275
_ACEOF
7171
7276
 
7172
7277
fi
7182
7287
        enable_dlopen=no
7183
7288
 
7184
7289
 
7185
 
  enable_win32_dll=no
7186
 
 
7187
7290
 
7188
7291
            # Check whether --enable-shared was given.
7189
 
if test "${enable_shared+set}" = set; then
 
7292
if test "${enable_shared+set}" = set; then :
7190
7293
  enableval=$enable_shared; p=${PACKAGE-default}
7191
7294
    case $enableval in
7192
7295
    yes) enable_shared=yes ;;
7217
7320
 
7218
7321
 
7219
7322
  # Check whether --enable-static was given.
7220
 
if test "${enable_static+set}" = set; then
 
7323
if test "${enable_static+set}" = set; then :
7221
7324
  enableval=$enable_static; p=${PACKAGE-default}
7222
7325
    case $enableval in
7223
7326
    yes) enable_static=yes ;;
7249
7352
 
7250
7353
 
7251
7354
# Check whether --with-pic was given.
7252
 
if test "${with_pic+set}" = set; then
 
7355
if test "${with_pic+set}" = set; then :
7253
7356
  withval=$with_pic; pic_mode="$withval"
7254
7357
else
7255
7358
  pic_mode=default
7265
7368
 
7266
7369
 
7267
7370
  # Check whether --enable-fast-install was given.
7268
 
if test "${enable_fast_install+set}" = set; then
 
7371
if test "${enable_fast_install+set}" = set; then :
7269
7372
  enableval=$enable_fast_install; p=${PACKAGE-default}
7270
7373
    case $enableval in
7271
7374
    yes) enable_fast_install=yes ;;
7346
7449
   setopt NO_GLOB_SUBST
7347
7450
fi
7348
7451
 
7349
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
7452
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7350
7453
$as_echo_n "checking for objdir... " >&6; }
7351
 
if test "${lt_cv_objdir+set}" = set; then
 
7454
if test "${lt_cv_objdir+set}" = set; then :
7352
7455
  $as_echo_n "(cached) " >&6
7353
7456
else
7354
7457
  rm -f .libs 2>/dev/null
7361
7464
fi
7362
7465
rmdir .libs 2>/dev/null
7363
7466
fi
7364
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7467
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7365
7468
$as_echo "$lt_cv_objdir" >&6; }
7366
7469
objdir=$lt_cv_objdir
7367
7470
 
7454
7557
case $deplibs_check_method in
7455
7558
file_magic*)
7456
7559
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7457
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7560
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7458
7561
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7459
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7562
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7460
7563
  $as_echo_n "(cached) " >&6
7461
7564
else
7462
7565
  case $MAGIC_CMD in
7507
7610
 
7508
7611
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7509
7612
if test -n "$MAGIC_CMD"; then
7510
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7613
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7511
7614
$as_echo "$MAGIC_CMD" >&6; }
7512
7615
else
7513
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7616
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7514
7617
$as_echo "no" >&6; }
7515
7618
fi
7516
7619
 
7520
7623
 
7521
7624
if test -z "$lt_cv_path_MAGIC_CMD"; then
7522
7625
  if test -n "$ac_tool_prefix"; then
7523
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
7626
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7524
7627
$as_echo_n "checking for file... " >&6; }
7525
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7628
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7526
7629
  $as_echo_n "(cached) " >&6
7527
7630
else
7528
7631
  case $MAGIC_CMD in
7573
7676
 
7574
7677
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7575
7678
if test -n "$MAGIC_CMD"; then
7576
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7679
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7577
7680
$as_echo "$MAGIC_CMD" >&6; }
7578
7681
else
7579
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7682
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7580
7683
$as_echo "no" >&6; }
7581
7684
fi
7582
7685
 
7653
7756
if test "$GCC" = yes; then
7654
7757
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7655
7758
 
7656
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7759
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7657
7760
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7658
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
7761
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7659
7762
  $as_echo_n "(cached) " >&6
7660
7763
else
7661
7764
  lt_cv_prog_compiler_rtti_exceptions=no
7671
7774
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7672
7775
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7673
7776
   -e 's:$: $lt_compiler_flag:'`
7674
 
   (eval echo "\"\$as_me:7674: $lt_compile\"" >&5)
 
7777
   (eval echo "\"\$as_me:7777: $lt_compile\"" >&5)
7675
7778
   (eval "$lt_compile" 2>conftest.err)
7676
7779
   ac_status=$?
7677
7780
   cat conftest.err >&5
7678
 
   echo "$as_me:7678: \$? = $ac_status" >&5
 
7781
   echo "$as_me:7781: \$? = $ac_status" >&5
7679
7782
   if (exit $ac_status) && test -s "$ac_outfile"; then
7680
7783
     # The compiler can only warn and ignore the option if not recognized
7681
7784
     # So say no if there are warnings other than the usual output.
7688
7791
   $RM conftest*
7689
7792
 
7690
7793
fi
7691
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7794
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7692
7795
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7693
7796
 
7694
7797
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7708
7811
lt_prog_compiler_pic=
7709
7812
lt_prog_compiler_static=
7710
7813
 
7711
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7712
7815
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7713
7816
 
7714
7817
  if test "$GCC" = yes; then
7980
8083
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7981
8084
    ;;
7982
8085
esac
7983
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
8086
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7984
8087
$as_echo "$lt_prog_compiler_pic" >&6; }
7985
8088
 
7986
8089
 
7992
8095
# Check to make sure the PIC flag actually works.
7993
8096
#
7994
8097
if test -n "$lt_prog_compiler_pic"; then
7995
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8098
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7996
8099
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7997
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
8100
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7998
8101
  $as_echo_n "(cached) " >&6
7999
8102
else
8000
8103
  lt_cv_prog_compiler_pic_works=no
8010
8113
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8011
8114
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8012
8115
   -e 's:$: $lt_compiler_flag:'`
8013
 
   (eval echo "\"\$as_me:8013: $lt_compile\"" >&5)
 
8116
   (eval echo "\"\$as_me:8116: $lt_compile\"" >&5)
8014
8117
   (eval "$lt_compile" 2>conftest.err)
8015
8118
   ac_status=$?
8016
8119
   cat conftest.err >&5
8017
 
   echo "$as_me:8017: \$? = $ac_status" >&5
 
8120
   echo "$as_me:8120: \$? = $ac_status" >&5
8018
8121
   if (exit $ac_status) && test -s "$ac_outfile"; then
8019
8122
     # The compiler can only warn and ignore the option if not recognized
8020
8123
     # So say no if there are warnings other than the usual output.
8027
8130
   $RM conftest*
8028
8131
 
8029
8132
fi
8030
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
8133
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8031
8134
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8032
8135
 
8033
8136
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8051
8154
# Check to make sure the static flag actually works.
8052
8155
#
8053
8156
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8054
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8055
8158
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8056
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
8159
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8057
8160
  $as_echo_n "(cached) " >&6
8058
8161
else
8059
8162
  lt_cv_prog_compiler_static_works=no
8079
8182
   LDFLAGS="$save_LDFLAGS"
8080
8183
 
8081
8184
fi
8082
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
8185
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8083
8186
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8084
8187
 
8085
8188
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8094
8197
 
8095
8198
 
8096
8199
 
8097
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8200
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8098
8201
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8099
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8202
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8100
8203
  $as_echo_n "(cached) " >&6
8101
8204
else
8102
8205
  lt_cv_prog_compiler_c_o=no
8115
8218
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8116
8219
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8117
8220
   -e 's:$: $lt_compiler_flag:'`
8118
 
   (eval echo "\"\$as_me:8118: $lt_compile\"" >&5)
 
8221
   (eval echo "\"\$as_me:8221: $lt_compile\"" >&5)
8119
8222
   (eval "$lt_compile" 2>out/conftest.err)
8120
8223
   ac_status=$?
8121
8224
   cat out/conftest.err >&5
8122
 
   echo "$as_me:8122: \$? = $ac_status" >&5
 
8225
   echo "$as_me:8225: \$? = $ac_status" >&5
8123
8226
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8124
8227
   then
8125
8228
     # The compiler can only warn and ignore the option if not recognized
8141
8244
   $RM conftest*
8142
8245
 
8143
8246
fi
8144
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8247
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8145
8248
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8146
8249
 
8147
8250
 
8149
8252
 
8150
8253
 
8151
8254
 
8152
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8255
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8153
8256
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8154
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8257
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8155
8258
  $as_echo_n "(cached) " >&6
8156
8259
else
8157
8260
  lt_cv_prog_compiler_c_o=no
8170
8273
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8171
8274
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8172
8275
   -e 's:$: $lt_compiler_flag:'`
8173
 
   (eval echo "\"\$as_me:8173: $lt_compile\"" >&5)
 
8276
   (eval echo "\"\$as_me:8276: $lt_compile\"" >&5)
8174
8277
   (eval "$lt_compile" 2>out/conftest.err)
8175
8278
   ac_status=$?
8176
8279
   cat out/conftest.err >&5
8177
 
   echo "$as_me:8177: \$? = $ac_status" >&5
 
8280
   echo "$as_me:8280: \$? = $ac_status" >&5
8178
8281
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8179
8282
   then
8180
8283
     # The compiler can only warn and ignore the option if not recognized
8196
8299
   $RM conftest*
8197
8300
 
8198
8301
fi
8199
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8302
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8200
8303
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8201
8304
 
8202
8305
 
8205
8308
hard_links="nottested"
8206
8309
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8207
8310
  # do not overwrite the value of need_locks provided by the user
8208
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8311
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8209
8312
$as_echo_n "checking if we can lock with hard links... " >&6; }
8210
8313
  hard_links=yes
8211
8314
  $RM conftest*
8213
8316
  touch conftest.a
8214
8317
  ln conftest.a conftest.b 2>&5 || hard_links=no
8215
8318
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8216
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
8319
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8217
8320
$as_echo "$hard_links" >&6; }
8218
8321
  if test "$hard_links" = no; then
8219
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8322
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8220
8323
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8221
8324
    need_locks=warn
8222
8325
  fi
8229
8332
 
8230
8333
 
8231
8334
 
8232
 
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8335
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8233
8336
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8234
8337
 
8235
8338
  runpath_var=
8675
8778
        allow_undefined_flag='-berok'
8676
8779
        # Determine the default libpath from the value encoded in an
8677
8780
        # empty executable.
8678
 
        cat >conftest.$ac_ext <<_ACEOF
8679
 
/* confdefs.h.  */
8680
 
_ACEOF
8681
 
cat confdefs.h >>conftest.$ac_ext
8682
 
cat >>conftest.$ac_ext <<_ACEOF
 
8781
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8683
8782
/* end confdefs.h.  */
8684
8783
 
8685
8784
int
8690
8789
  return 0;
8691
8790
}
8692
8791
_ACEOF
8693
 
rm -f conftest.$ac_objext conftest$ac_exeext
8694
 
if { (ac_try="$ac_link"
8695
 
case "(($ac_try" in
8696
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8697
 
  *) ac_try_echo=$ac_try;;
8698
 
esac
8699
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8700
 
$as_echo "$ac_try_echo") >&5
8701
 
  (eval "$ac_link") 2>conftest.er1
8702
 
  ac_status=$?
8703
 
  grep -v '^ *+' conftest.er1 >conftest.err
8704
 
  rm -f conftest.er1
8705
 
  cat conftest.err >&5
8706
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8707
 
  (exit $ac_status); } && {
8708
 
         test -z "$ac_c_werror_flag" ||
8709
 
         test ! -s conftest.err
8710
 
       } && test -s conftest$ac_exeext && {
8711
 
         test "$cross_compiling" = yes ||
8712
 
         $as_test_x conftest$ac_exeext
8713
 
       }; then
 
8792
if ac_fn_c_try_link "$LINENO"; then :
8714
8793
 
8715
8794
lt_aix_libpath_sed='
8716
8795
    /Import File Strings/,/^$/ {
8724
8803
if test -z "$aix_libpath"; then
8725
8804
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8726
8805
fi
8727
 
else
8728
 
  $as_echo "$as_me: failed program was:" >&5
8729
 
sed 's/^/| /' conftest.$ac_ext >&5
8730
 
 
8731
 
 
8732
8806
fi
8733
 
 
8734
 
rm -rf conftest.dSYM
8735
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8736
 
      conftest$ac_exeext conftest.$ac_ext
 
8807
rm -f core conftest.err conftest.$ac_objext \
 
8808
    conftest$ac_exeext conftest.$ac_ext
8737
8809
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8738
8810
 
8739
8811
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8746
8818
        else
8747
8819
         # Determine the default libpath from the value encoded in an
8748
8820
         # empty executable.
8749
 
         cat >conftest.$ac_ext <<_ACEOF
8750
 
/* confdefs.h.  */
8751
 
_ACEOF
8752
 
cat confdefs.h >>conftest.$ac_ext
8753
 
cat >>conftest.$ac_ext <<_ACEOF
 
8821
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8754
8822
/* end confdefs.h.  */
8755
8823
 
8756
8824
int
8761
8829
  return 0;
8762
8830
}
8763
8831
_ACEOF
8764
 
rm -f conftest.$ac_objext conftest$ac_exeext
8765
 
if { (ac_try="$ac_link"
8766
 
case "(($ac_try" in
8767
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8768
 
  *) ac_try_echo=$ac_try;;
8769
 
esac
8770
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8771
 
$as_echo "$ac_try_echo") >&5
8772
 
  (eval "$ac_link") 2>conftest.er1
8773
 
  ac_status=$?
8774
 
  grep -v '^ *+' conftest.er1 >conftest.err
8775
 
  rm -f conftest.er1
8776
 
  cat conftest.err >&5
8777
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8778
 
  (exit $ac_status); } && {
8779
 
         test -z "$ac_c_werror_flag" ||
8780
 
         test ! -s conftest.err
8781
 
       } && test -s conftest$ac_exeext && {
8782
 
         test "$cross_compiling" = yes ||
8783
 
         $as_test_x conftest$ac_exeext
8784
 
       }; then
 
8832
if ac_fn_c_try_link "$LINENO"; then :
8785
8833
 
8786
8834
lt_aix_libpath_sed='
8787
8835
    /Import File Strings/,/^$/ {
8795
8843
if test -z "$aix_libpath"; then
8796
8844
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8797
8845
fi
8798
 
else
8799
 
  $as_echo "$as_me: failed program was:" >&5
8800
 
sed 's/^/| /' conftest.$ac_ext >&5
8801
 
 
8802
 
 
8803
8846
fi
8804
 
 
8805
 
rm -rf conftest.dSYM
8806
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8807
 
      conftest$ac_exeext conftest.$ac_ext
 
8847
rm -f core conftest.err conftest.$ac_objext \
 
8848
    conftest$ac_exeext conftest.$ac_ext
8808
8849
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8809
8850
 
8810
8851
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9016
9057
        # implicitly export all symbols.
9017
9058
        save_LDFLAGS="$LDFLAGS"
9018
9059
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9019
 
        cat >conftest.$ac_ext <<_ACEOF
 
9060
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9061
/* end confdefs.h.  */
9020
9062
int foo(void) {}
9021
9063
_ACEOF
9022
 
rm -f conftest.$ac_objext conftest$ac_exeext
9023
 
if { (ac_try="$ac_link"
9024
 
case "(($ac_try" in
9025
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9026
 
  *) ac_try_echo=$ac_try;;
9027
 
esac
9028
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9029
 
$as_echo "$ac_try_echo") >&5
9030
 
  (eval "$ac_link") 2>conftest.er1
9031
 
  ac_status=$?
9032
 
  grep -v '^ *+' conftest.er1 >conftest.err
9033
 
  rm -f conftest.er1
9034
 
  cat conftest.err >&5
9035
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036
 
  (exit $ac_status); } && {
9037
 
         test -z "$ac_c_werror_flag" ||
9038
 
         test ! -s conftest.err
9039
 
       } && test -s conftest$ac_exeext && {
9040
 
         test "$cross_compiling" = yes ||
9041
 
         $as_test_x conftest$ac_exeext
9042
 
       }; then
 
9064
if ac_fn_c_try_link "$LINENO"; then :
9043
9065
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9044
9066
 
9045
 
else
9046
 
  $as_echo "$as_me: failed program was:" >&5
9047
 
sed 's/^/| /' conftest.$ac_ext >&5
9048
 
 
9049
 
 
9050
9067
fi
9051
 
 
9052
 
rm -rf conftest.dSYM
9053
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9054
 
      conftest$ac_exeext conftest.$ac_ext
 
9068
rm -f core conftest.err conftest.$ac_objext \
 
9069
    conftest$ac_exeext conftest.$ac_ext
9055
9070
        LDFLAGS="$save_LDFLAGS"
9056
9071
      else
9057
9072
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9307
9322
    fi
9308
9323
  fi
9309
9324
 
9310
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9325
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9311
9326
$as_echo "$ld_shlibs" >&6; }
9312
9327
test "$ld_shlibs" = no && can_build_shared=no
9313
9328
 
9344
9359
      # Test whether the compiler implicitly links with -lc since on some
9345
9360
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9346
9361
      # to ld, don't add -lc before -lgcc.
9347
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
9362
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9348
9363
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9349
9364
      $RM conftest*
9350
9365
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9351
9366
 
9352
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
9367
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9353
9368
  (eval $ac_compile) 2>&5
9354
9369
  ac_status=$?
9355
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9356
 
  (exit $ac_status); } 2>conftest.err; then
 
9370
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9371
  test $ac_status = 0; } 2>conftest.err; then
9357
9372
        soname=conftest
9358
9373
        lib=conftest
9359
9374
        libobjs=conftest.$ac_objext
9367
9382
        libname=conftest
9368
9383
        lt_save_allow_undefined_flag=$allow_undefined_flag
9369
9384
        allow_undefined_flag=
9370
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
9385
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9371
9386
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9372
9387
  ac_status=$?
9373
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9374
 
  (exit $ac_status); }
 
9388
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9389
  test $ac_status = 0; }
9375
9390
        then
9376
9391
          archive_cmds_need_lc=no
9377
9392
        else
9382
9397
        cat conftest.err 1>&5
9383
9398
      fi
9384
9399
      $RM conftest*
9385
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
9400
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9386
9401
$as_echo "$archive_cmds_need_lc" >&6; }
9387
9402
      ;;
9388
9403
    esac
9546
9561
 
9547
9562
 
9548
9563
 
9549
 
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9564
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9550
9565
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9551
9566
 
9552
9567
if test "$GCC" = yes; then
9968
9983
  save_libdir=$libdir
9969
9984
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9970
9985
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9971
 
  cat >conftest.$ac_ext <<_ACEOF
9972
 
/* confdefs.h.  */
9973
 
_ACEOF
9974
 
cat confdefs.h >>conftest.$ac_ext
9975
 
cat >>conftest.$ac_ext <<_ACEOF
 
9986
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9976
9987
/* end confdefs.h.  */
9977
9988
 
9978
9989
int
9983
9994
  return 0;
9984
9995
}
9985
9996
_ACEOF
9986
 
rm -f conftest.$ac_objext conftest$ac_exeext
9987
 
if { (ac_try="$ac_link"
9988
 
case "(($ac_try" in
9989
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9990
 
  *) ac_try_echo=$ac_try;;
9991
 
esac
9992
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9993
 
$as_echo "$ac_try_echo") >&5
9994
 
  (eval "$ac_link") 2>conftest.er1
9995
 
  ac_status=$?
9996
 
  grep -v '^ *+' conftest.er1 >conftest.err
9997
 
  rm -f conftest.er1
9998
 
  cat conftest.err >&5
9999
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10000
 
  (exit $ac_status); } && {
10001
 
         test -z "$ac_c_werror_flag" ||
10002
 
         test ! -s conftest.err
10003
 
       } && test -s conftest$ac_exeext && {
10004
 
         test "$cross_compiling" = yes ||
10005
 
         $as_test_x conftest$ac_exeext
10006
 
       }; then
10007
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
9997
if ac_fn_c_try_link "$LINENO"; then :
 
9998
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10008
9999
  shlibpath_overrides_runpath=yes
10009
10000
fi
10010
 
 
10011
 
else
10012
 
  $as_echo "$as_me: failed program was:" >&5
10013
 
sed 's/^/| /' conftest.$ac_ext >&5
10014
 
 
10015
 
 
10016
10001
fi
10017
 
 
10018
 
rm -rf conftest.dSYM
10019
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10020
 
      conftest$ac_exeext conftest.$ac_ext
 
10002
rm -f core conftest.err conftest.$ac_objext \
 
10003
    conftest$ac_exeext conftest.$ac_ext
10021
10004
  LDFLAGS=$save_LDFLAGS
10022
10005
  libdir=$save_libdir
10023
10006
 
10241
10224
  dynamic_linker=no
10242
10225
  ;;
10243
10226
esac
10244
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
10227
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10245
10228
$as_echo "$dynamic_linker" >&6; }
10246
10229
test "$dynamic_linker" = no && can_build_shared=no
10247
10230
 
10343
10326
 
10344
10327
 
10345
10328
 
10346
 
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
10329
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10347
10330
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10348
10331
hardcode_action=
10349
10332
if test -n "$hardcode_libdir_flag_spec" ||
10368
10351
  # directories.
10369
10352
  hardcode_action=unsupported
10370
10353
fi
10371
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
10354
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10372
10355
$as_echo "$hardcode_action" >&6; }
10373
10356
 
10374
10357
if test "$hardcode_action" = relink ||
10413
10396
 
10414
10397
  darwin*)
10415
10398
  # if libdl is installed we need to link against it
10416
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10399
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10417
10400
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10418
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
10401
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10419
10402
  $as_echo_n "(cached) " >&6
10420
10403
else
10421
10404
  ac_check_lib_save_LIBS=$LIBS
10422
10405
LIBS="-ldl  $LIBS"
10423
 
cat >conftest.$ac_ext <<_ACEOF
10424
 
/* confdefs.h.  */
10425
 
_ACEOF
10426
 
cat confdefs.h >>conftest.$ac_ext
10427
 
cat >>conftest.$ac_ext <<_ACEOF
 
10406
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10428
10407
/* end confdefs.h.  */
10429
10408
 
10430
10409
/* Override any GCC internal prototype to avoid an error.
10442
10421
  return 0;
10443
10422
}
10444
10423
_ACEOF
10445
 
rm -f conftest.$ac_objext conftest$ac_exeext
10446
 
if { (ac_try="$ac_link"
10447
 
case "(($ac_try" in
10448
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10449
 
  *) ac_try_echo=$ac_try;;
10450
 
esac
10451
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10452
 
$as_echo "$ac_try_echo") >&5
10453
 
  (eval "$ac_link") 2>conftest.er1
10454
 
  ac_status=$?
10455
 
  grep -v '^ *+' conftest.er1 >conftest.err
10456
 
  rm -f conftest.er1
10457
 
  cat conftest.err >&5
10458
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459
 
  (exit $ac_status); } && {
10460
 
         test -z "$ac_c_werror_flag" ||
10461
 
         test ! -s conftest.err
10462
 
       } && test -s conftest$ac_exeext && {
10463
 
         test "$cross_compiling" = yes ||
10464
 
         $as_test_x conftest$ac_exeext
10465
 
       }; then
 
10424
if ac_fn_c_try_link "$LINENO"; then :
10466
10425
  ac_cv_lib_dl_dlopen=yes
10467
10426
else
10468
 
  $as_echo "$as_me: failed program was:" >&5
10469
 
sed 's/^/| /' conftest.$ac_ext >&5
10470
 
 
10471
 
        ac_cv_lib_dl_dlopen=no
 
10427
  ac_cv_lib_dl_dlopen=no
10472
10428
fi
10473
 
 
10474
 
rm -rf conftest.dSYM
10475
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10476
 
      conftest$ac_exeext conftest.$ac_ext
 
10429
rm -f core conftest.err conftest.$ac_objext \
 
10430
    conftest$ac_exeext conftest.$ac_ext
10477
10431
LIBS=$ac_check_lib_save_LIBS
10478
10432
fi
10479
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10433
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10480
10434
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10481
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
10435
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10482
10436
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10483
10437
else
10484
10438
 
10491
10445
    ;;
10492
10446
 
10493
10447
  *)
10494
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10495
 
$as_echo_n "checking for shl_load... " >&6; }
10496
 
if test "${ac_cv_func_shl_load+set}" = set; then
10497
 
  $as_echo_n "(cached) " >&6
10498
 
else
10499
 
  cat >conftest.$ac_ext <<_ACEOF
10500
 
/* confdefs.h.  */
10501
 
_ACEOF
10502
 
cat confdefs.h >>conftest.$ac_ext
10503
 
cat >>conftest.$ac_ext <<_ACEOF
10504
 
/* end confdefs.h.  */
10505
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10506
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10507
 
#define shl_load innocuous_shl_load
10508
 
 
10509
 
/* System header to define __stub macros and hopefully few prototypes,
10510
 
    which can conflict with char shl_load (); below.
10511
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10512
 
    <limits.h> exists even on freestanding compilers.  */
10513
 
 
10514
 
#ifdef __STDC__
10515
 
# include <limits.h>
10516
 
#else
10517
 
# include <assert.h>
10518
 
#endif
10519
 
 
10520
 
#undef shl_load
10521
 
 
10522
 
/* Override any GCC internal prototype to avoid an error.
10523
 
   Use char because int might match the return type of a GCC
10524
 
   builtin and then its argument prototype would still apply.  */
10525
 
#ifdef __cplusplus
10526
 
extern "C"
10527
 
#endif
10528
 
char shl_load ();
10529
 
/* The GNU C library defines this for functions which it implements
10530
 
    to always fail with ENOSYS.  Some functions are actually named
10531
 
    something starting with __ and the normal name is an alias.  */
10532
 
#if defined __stub_shl_load || defined __stub___shl_load
10533
 
choke me
10534
 
#endif
10535
 
 
10536
 
int
10537
 
main ()
10538
 
{
10539
 
return shl_load ();
10540
 
  ;
10541
 
  return 0;
10542
 
}
10543
 
_ACEOF
10544
 
rm -f conftest.$ac_objext conftest$ac_exeext
10545
 
if { (ac_try="$ac_link"
10546
 
case "(($ac_try" in
10547
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10548
 
  *) ac_try_echo=$ac_try;;
10549
 
esac
10550
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10551
 
$as_echo "$ac_try_echo") >&5
10552
 
  (eval "$ac_link") 2>conftest.er1
10553
 
  ac_status=$?
10554
 
  grep -v '^ *+' conftest.er1 >conftest.err
10555
 
  rm -f conftest.er1
10556
 
  cat conftest.err >&5
10557
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558
 
  (exit $ac_status); } && {
10559
 
         test -z "$ac_c_werror_flag" ||
10560
 
         test ! -s conftest.err
10561
 
       } && test -s conftest$ac_exeext && {
10562
 
         test "$cross_compiling" = yes ||
10563
 
         $as_test_x conftest$ac_exeext
10564
 
       }; then
10565
 
  ac_cv_func_shl_load=yes
10566
 
else
10567
 
  $as_echo "$as_me: failed program was:" >&5
10568
 
sed 's/^/| /' conftest.$ac_ext >&5
10569
 
 
10570
 
        ac_cv_func_shl_load=no
10571
 
fi
10572
 
 
10573
 
rm -rf conftest.dSYM
10574
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10575
 
      conftest$ac_exeext conftest.$ac_ext
10576
 
fi
10577
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10578
 
$as_echo "$ac_cv_func_shl_load" >&6; }
10579
 
if test "x$ac_cv_func_shl_load" = x""yes; then
 
10448
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
10449
if test "x$ac_cv_func_shl_load" = x""yes; then :
10580
10450
  lt_cv_dlopen="shl_load"
10581
10451
else
10582
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10452
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10583
10453
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10584
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
10454
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10585
10455
  $as_echo_n "(cached) " >&6
10586
10456
else
10587
10457
  ac_check_lib_save_LIBS=$LIBS
10588
10458
LIBS="-ldld  $LIBS"
10589
 
cat >conftest.$ac_ext <<_ACEOF
10590
 
/* confdefs.h.  */
10591
 
_ACEOF
10592
 
cat confdefs.h >>conftest.$ac_ext
10593
 
cat >>conftest.$ac_ext <<_ACEOF
 
10459
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10594
10460
/* end confdefs.h.  */
10595
10461
 
10596
10462
/* Override any GCC internal prototype to avoid an error.
10608
10474
  return 0;
10609
10475
}
10610
10476
_ACEOF
10611
 
rm -f conftest.$ac_objext conftest$ac_exeext
10612
 
if { (ac_try="$ac_link"
10613
 
case "(($ac_try" in
10614
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10615
 
  *) ac_try_echo=$ac_try;;
10616
 
esac
10617
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10618
 
$as_echo "$ac_try_echo") >&5
10619
 
  (eval "$ac_link") 2>conftest.er1
10620
 
  ac_status=$?
10621
 
  grep -v '^ *+' conftest.er1 >conftest.err
10622
 
  rm -f conftest.er1
10623
 
  cat conftest.err >&5
10624
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10625
 
  (exit $ac_status); } && {
10626
 
         test -z "$ac_c_werror_flag" ||
10627
 
         test ! -s conftest.err
10628
 
       } && test -s conftest$ac_exeext && {
10629
 
         test "$cross_compiling" = yes ||
10630
 
         $as_test_x conftest$ac_exeext
10631
 
       }; then
 
10477
if ac_fn_c_try_link "$LINENO"; then :
10632
10478
  ac_cv_lib_dld_shl_load=yes
10633
10479
else
10634
 
  $as_echo "$as_me: failed program was:" >&5
10635
 
sed 's/^/| /' conftest.$ac_ext >&5
10636
 
 
10637
 
        ac_cv_lib_dld_shl_load=no
 
10480
  ac_cv_lib_dld_shl_load=no
10638
10481
fi
10639
 
 
10640
 
rm -rf conftest.dSYM
10641
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10642
 
      conftest$ac_exeext conftest.$ac_ext
 
10482
rm -f core conftest.err conftest.$ac_objext \
 
10483
    conftest$ac_exeext conftest.$ac_ext
10643
10484
LIBS=$ac_check_lib_save_LIBS
10644
10485
fi
10645
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
10486
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10646
10487
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10647
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
10488
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10648
10489
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10649
10490
else
10650
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10651
 
$as_echo_n "checking for dlopen... " >&6; }
10652
 
if test "${ac_cv_func_dlopen+set}" = set; then
10653
 
  $as_echo_n "(cached) " >&6
10654
 
else
10655
 
  cat >conftest.$ac_ext <<_ACEOF
10656
 
/* confdefs.h.  */
10657
 
_ACEOF
10658
 
cat confdefs.h >>conftest.$ac_ext
10659
 
cat >>conftest.$ac_ext <<_ACEOF
10660
 
/* end confdefs.h.  */
10661
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10662
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10663
 
#define dlopen innocuous_dlopen
10664
 
 
10665
 
/* System header to define __stub macros and hopefully few prototypes,
10666
 
    which can conflict with char dlopen (); below.
10667
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10668
 
    <limits.h> exists even on freestanding compilers.  */
10669
 
 
10670
 
#ifdef __STDC__
10671
 
# include <limits.h>
10672
 
#else
10673
 
# include <assert.h>
10674
 
#endif
10675
 
 
10676
 
#undef dlopen
10677
 
 
10678
 
/* Override any GCC internal prototype to avoid an error.
10679
 
   Use char because int might match the return type of a GCC
10680
 
   builtin and then its argument prototype would still apply.  */
10681
 
#ifdef __cplusplus
10682
 
extern "C"
10683
 
#endif
10684
 
char dlopen ();
10685
 
/* The GNU C library defines this for functions which it implements
10686
 
    to always fail with ENOSYS.  Some functions are actually named
10687
 
    something starting with __ and the normal name is an alias.  */
10688
 
#if defined __stub_dlopen || defined __stub___dlopen
10689
 
choke me
10690
 
#endif
10691
 
 
10692
 
int
10693
 
main ()
10694
 
{
10695
 
return dlopen ();
10696
 
  ;
10697
 
  return 0;
10698
 
}
10699
 
_ACEOF
10700
 
rm -f conftest.$ac_objext conftest$ac_exeext
10701
 
if { (ac_try="$ac_link"
10702
 
case "(($ac_try" in
10703
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10704
 
  *) ac_try_echo=$ac_try;;
10705
 
esac
10706
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10707
 
$as_echo "$ac_try_echo") >&5
10708
 
  (eval "$ac_link") 2>conftest.er1
10709
 
  ac_status=$?
10710
 
  grep -v '^ *+' conftest.er1 >conftest.err
10711
 
  rm -f conftest.er1
10712
 
  cat conftest.err >&5
10713
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714
 
  (exit $ac_status); } && {
10715
 
         test -z "$ac_c_werror_flag" ||
10716
 
         test ! -s conftest.err
10717
 
       } && test -s conftest$ac_exeext && {
10718
 
         test "$cross_compiling" = yes ||
10719
 
         $as_test_x conftest$ac_exeext
10720
 
       }; then
10721
 
  ac_cv_func_dlopen=yes
10722
 
else
10723
 
  $as_echo "$as_me: failed program was:" >&5
10724
 
sed 's/^/| /' conftest.$ac_ext >&5
10725
 
 
10726
 
        ac_cv_func_dlopen=no
10727
 
fi
10728
 
 
10729
 
rm -rf conftest.dSYM
10730
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10731
 
      conftest$ac_exeext conftest.$ac_ext
10732
 
fi
10733
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10734
 
$as_echo "$ac_cv_func_dlopen" >&6; }
10735
 
if test "x$ac_cv_func_dlopen" = x""yes; then
 
10491
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
10492
if test "x$ac_cv_func_dlopen" = x""yes; then :
10736
10493
  lt_cv_dlopen="dlopen"
10737
10494
else
10738
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10495
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10739
10496
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10740
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
10497
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10741
10498
  $as_echo_n "(cached) " >&6
10742
10499
else
10743
10500
  ac_check_lib_save_LIBS=$LIBS
10744
10501
LIBS="-ldl  $LIBS"
10745
 
cat >conftest.$ac_ext <<_ACEOF
10746
 
/* confdefs.h.  */
10747
 
_ACEOF
10748
 
cat confdefs.h >>conftest.$ac_ext
10749
 
cat >>conftest.$ac_ext <<_ACEOF
 
10502
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10750
10503
/* end confdefs.h.  */
10751
10504
 
10752
10505
/* Override any GCC internal prototype to avoid an error.
10764
10517
  return 0;
10765
10518
}
10766
10519
_ACEOF
10767
 
rm -f conftest.$ac_objext conftest$ac_exeext
10768
 
if { (ac_try="$ac_link"
10769
 
case "(($ac_try" in
10770
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10771
 
  *) ac_try_echo=$ac_try;;
10772
 
esac
10773
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10774
 
$as_echo "$ac_try_echo") >&5
10775
 
  (eval "$ac_link") 2>conftest.er1
10776
 
  ac_status=$?
10777
 
  grep -v '^ *+' conftest.er1 >conftest.err
10778
 
  rm -f conftest.er1
10779
 
  cat conftest.err >&5
10780
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10781
 
  (exit $ac_status); } && {
10782
 
         test -z "$ac_c_werror_flag" ||
10783
 
         test ! -s conftest.err
10784
 
       } && test -s conftest$ac_exeext && {
10785
 
         test "$cross_compiling" = yes ||
10786
 
         $as_test_x conftest$ac_exeext
10787
 
       }; then
 
10520
if ac_fn_c_try_link "$LINENO"; then :
10788
10521
  ac_cv_lib_dl_dlopen=yes
10789
10522
else
10790
 
  $as_echo "$as_me: failed program was:" >&5
10791
 
sed 's/^/| /' conftest.$ac_ext >&5
10792
 
 
10793
 
        ac_cv_lib_dl_dlopen=no
 
10523
  ac_cv_lib_dl_dlopen=no
10794
10524
fi
10795
 
 
10796
 
rm -rf conftest.dSYM
10797
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10798
 
      conftest$ac_exeext conftest.$ac_ext
 
10525
rm -f core conftest.err conftest.$ac_objext \
 
10526
    conftest$ac_exeext conftest.$ac_ext
10799
10527
LIBS=$ac_check_lib_save_LIBS
10800
10528
fi
10801
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10802
10530
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10803
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
10531
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10804
10532
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10805
10533
else
10806
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10534
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10807
10535
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10808
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
10536
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10809
10537
  $as_echo_n "(cached) " >&6
10810
10538
else
10811
10539
  ac_check_lib_save_LIBS=$LIBS
10812
10540
LIBS="-lsvld  $LIBS"
10813
 
cat >conftest.$ac_ext <<_ACEOF
10814
 
/* confdefs.h.  */
10815
 
_ACEOF
10816
 
cat confdefs.h >>conftest.$ac_ext
10817
 
cat >>conftest.$ac_ext <<_ACEOF
 
10541
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10818
10542
/* end confdefs.h.  */
10819
10543
 
10820
10544
/* Override any GCC internal prototype to avoid an error.
10832
10556
  return 0;
10833
10557
}
10834
10558
_ACEOF
10835
 
rm -f conftest.$ac_objext conftest$ac_exeext
10836
 
if { (ac_try="$ac_link"
10837
 
case "(($ac_try" in
10838
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10839
 
  *) ac_try_echo=$ac_try;;
10840
 
esac
10841
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10842
 
$as_echo "$ac_try_echo") >&5
10843
 
  (eval "$ac_link") 2>conftest.er1
10844
 
  ac_status=$?
10845
 
  grep -v '^ *+' conftest.er1 >conftest.err
10846
 
  rm -f conftest.er1
10847
 
  cat conftest.err >&5
10848
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849
 
  (exit $ac_status); } && {
10850
 
         test -z "$ac_c_werror_flag" ||
10851
 
         test ! -s conftest.err
10852
 
       } && test -s conftest$ac_exeext && {
10853
 
         test "$cross_compiling" = yes ||
10854
 
         $as_test_x conftest$ac_exeext
10855
 
       }; then
 
10559
if ac_fn_c_try_link "$LINENO"; then :
10856
10560
  ac_cv_lib_svld_dlopen=yes
10857
10561
else
10858
 
  $as_echo "$as_me: failed program was:" >&5
10859
 
sed 's/^/| /' conftest.$ac_ext >&5
10860
 
 
10861
 
        ac_cv_lib_svld_dlopen=no
 
10562
  ac_cv_lib_svld_dlopen=no
10862
10563
fi
10863
 
 
10864
 
rm -rf conftest.dSYM
10865
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10866
 
      conftest$ac_exeext conftest.$ac_ext
 
10564
rm -f core conftest.err conftest.$ac_objext \
 
10565
    conftest$ac_exeext conftest.$ac_ext
10867
10566
LIBS=$ac_check_lib_save_LIBS
10868
10567
fi
10869
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10568
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10870
10569
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10871
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
10570
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10872
10571
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10873
10572
else
10874
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10573
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10875
10574
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10876
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
10575
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10877
10576
  $as_echo_n "(cached) " >&6
10878
10577
else
10879
10578
  ac_check_lib_save_LIBS=$LIBS
10880
10579
LIBS="-ldld  $LIBS"
10881
 
cat >conftest.$ac_ext <<_ACEOF
10882
 
/* confdefs.h.  */
10883
 
_ACEOF
10884
 
cat confdefs.h >>conftest.$ac_ext
10885
 
cat >>conftest.$ac_ext <<_ACEOF
 
10580
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10886
10581
/* end confdefs.h.  */
10887
10582
 
10888
10583
/* Override any GCC internal prototype to avoid an error.
10900
10595
  return 0;
10901
10596
}
10902
10597
_ACEOF
10903
 
rm -f conftest.$ac_objext conftest$ac_exeext
10904
 
if { (ac_try="$ac_link"
10905
 
case "(($ac_try" in
10906
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10907
 
  *) ac_try_echo=$ac_try;;
10908
 
esac
10909
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10910
 
$as_echo "$ac_try_echo") >&5
10911
 
  (eval "$ac_link") 2>conftest.er1
10912
 
  ac_status=$?
10913
 
  grep -v '^ *+' conftest.er1 >conftest.err
10914
 
  rm -f conftest.er1
10915
 
  cat conftest.err >&5
10916
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10917
 
  (exit $ac_status); } && {
10918
 
         test -z "$ac_c_werror_flag" ||
10919
 
         test ! -s conftest.err
10920
 
       } && test -s conftest$ac_exeext && {
10921
 
         test "$cross_compiling" = yes ||
10922
 
         $as_test_x conftest$ac_exeext
10923
 
       }; then
 
10598
if ac_fn_c_try_link "$LINENO"; then :
10924
10599
  ac_cv_lib_dld_dld_link=yes
10925
10600
else
10926
 
  $as_echo "$as_me: failed program was:" >&5
10927
 
sed 's/^/| /' conftest.$ac_ext >&5
10928
 
 
10929
 
        ac_cv_lib_dld_dld_link=no
 
10601
  ac_cv_lib_dld_dld_link=no
10930
10602
fi
10931
 
 
10932
 
rm -rf conftest.dSYM
10933
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10934
 
      conftest$ac_exeext conftest.$ac_ext
 
10603
rm -f core conftest.err conftest.$ac_objext \
 
10604
    conftest$ac_exeext conftest.$ac_ext
10935
10605
LIBS=$ac_check_lib_save_LIBS
10936
10606
fi
10937
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10938
10608
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10939
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
10609
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10940
10610
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10941
10611
fi
10942
10612
 
10975
10645
    save_LIBS="$LIBS"
10976
10646
    LIBS="$lt_cv_dlopen_libs $LIBS"
10977
10647
 
10978
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10648
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10979
10649
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10980
 
if test "${lt_cv_dlopen_self+set}" = set; then
 
10650
if test "${lt_cv_dlopen_self+set}" = set; then :
10981
10651
  $as_echo_n "(cached) " >&6
10982
10652
else
10983
10653
          if test "$cross_compiling" = yes; then :
10986
10656
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10987
10657
  lt_status=$lt_dlunknown
10988
10658
  cat > conftest.$ac_ext <<_LT_EOF
10989
 
#line 10989 "configure"
 
10659
#line 10659 "configure"
10990
10660
#include "confdefs.h"
10991
10661
 
10992
10662
#if HAVE_DLFCN_H
11045
10715
  return status;
11046
10716
}
11047
10717
_LT_EOF
11048
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10718
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11049
10719
  (eval $ac_link) 2>&5
11050
10720
  ac_status=$?
11051
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11052
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10721
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10722
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11053
10723
    (./conftest; exit; ) >&5 2>/dev/null
11054
10724
    lt_status=$?
11055
10725
    case x$lt_status in
11066
10736
 
11067
10737
 
11068
10738
fi
11069
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11070
10740
$as_echo "$lt_cv_dlopen_self" >&6; }
11071
10741
 
11072
10742
    if test "x$lt_cv_dlopen_self" = xyes; then
11073
10743
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11074
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10744
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11075
10745
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11076
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
10746
if test "${lt_cv_dlopen_self_static+set}" = set; then :
11077
10747
  $as_echo_n "(cached) " >&6
11078
10748
else
11079
10749
          if test "$cross_compiling" = yes; then :
11082
10752
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11083
10753
  lt_status=$lt_dlunknown
11084
10754
  cat > conftest.$ac_ext <<_LT_EOF
11085
 
#line 11085 "configure"
 
10755
#line 10755 "configure"
11086
10756
#include "confdefs.h"
11087
10757
 
11088
10758
#if HAVE_DLFCN_H
11141
10811
  return status;
11142
10812
}
11143
10813
_LT_EOF
11144
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10814
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11145
10815
  (eval $ac_link) 2>&5
11146
10816
  ac_status=$?
11147
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10817
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10818
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11149
10819
    (./conftest; exit; ) >&5 2>/dev/null
11150
10820
    lt_status=$?
11151
10821
    case x$lt_status in
11162
10832
 
11163
10833
 
11164
10834
fi
11165
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10835
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11166
10836
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11167
10837
    fi
11168
10838
 
11201
10871
 
11202
10872
striplib=
11203
10873
old_striplib=
11204
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
10874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11205
10875
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11206
10876
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11207
10877
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11208
10878
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11209
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10879
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11210
10880
$as_echo "yes" >&6; }
11211
10881
else
11212
10882
# FIXME - insert some real tests, host_os isn't really good enough
11215
10885
    if test -n "$STRIP" ; then
11216
10886
      striplib="$STRIP -x"
11217
10887
      old_striplib="$STRIP -S"
11218
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10888
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11219
10889
$as_echo "yes" >&6; }
11220
10890
    else
11221
 
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
10891
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11222
10892
$as_echo "no" >&6; }
11223
10893
    fi
11224
10894
    ;;
11225
10895
  *)
11226
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
10896
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11227
10897
$as_echo "no" >&6; }
11228
10898
    ;;
11229
10899
  esac
11241
10911
 
11242
10912
 
11243
10913
  # Report which library types will actually be built
11244
 
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10914
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11245
10915
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11246
 
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10916
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11247
10917
$as_echo "$can_build_shared" >&6; }
11248
10918
 
11249
 
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10919
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11250
10920
$as_echo_n "checking whether to build shared libraries... " >&6; }
11251
10921
  test "$can_build_shared" = "no" && enable_shared=no
11252
10922
 
11267
10937
    fi
11268
10938
    ;;
11269
10939
  esac
11270
 
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10940
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11271
10941
$as_echo "$enable_shared" >&6; }
11272
10942
 
11273
 
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10943
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11274
10944
$as_echo_n "checking whether to build static libraries... " >&6; }
11275
10945
  # Make sure either enable_shared or enable_static is yes.
11276
10946
  test "$enable_shared" = yes || enable_static=yes
11277
 
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
10947
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11278
10948
$as_echo "$enable_static" >&6; }
11279
10949
 
11280
10950
 
11310
10980
 
11311
10981
 
11312
10982
# Check whether --enable-shared was given.
11313
 
if test "${enable_shared+set}" = set; then
 
10983
if test "${enable_shared+set}" = set; then :
11314
10984
  enableval=$enable_shared; p=${PACKAGE-default}
11315
10985
    case $enableval in
11316
10986
    yes) enable_shared=yes ;;
11338
11008
 
11339
11009
 
11340
11010
# Check whether --enable-static was given.
11341
 
if test "${enable_static+set}" = set; then
 
11011
if test "${enable_static+set}" = set; then :
11342
11012
  enableval=$enable_static; p=${PACKAGE-default}
11343
11013
    case $enableval in
11344
11014
    yes) enable_static=yes ;;
11379
11049
 
11380
11050
build_scheduler=yes
11381
11051
 
11382
 
 
11383
11052
for ac_func in seteuid
11384
 
do
11385
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11386
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11387
 
$as_echo_n "checking for $ac_func... " >&6; }
11388
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11389
 
  $as_echo_n "(cached) " >&6
11390
 
else
11391
 
  cat >conftest.$ac_ext <<_ACEOF
11392
 
/* confdefs.h.  */
11393
 
_ACEOF
11394
 
cat confdefs.h >>conftest.$ac_ext
11395
 
cat >>conftest.$ac_ext <<_ACEOF
11396
 
/* end confdefs.h.  */
11397
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11398
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11399
 
#define $ac_func innocuous_$ac_func
11400
 
 
11401
 
/* System header to define __stub macros and hopefully few prototypes,
11402
 
    which can conflict with char $ac_func (); below.
11403
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11404
 
    <limits.h> exists even on freestanding compilers.  */
11405
 
 
11406
 
#ifdef __STDC__
11407
 
# include <limits.h>
11408
 
#else
11409
 
# include <assert.h>
11410
 
#endif
11411
 
 
11412
 
#undef $ac_func
11413
 
 
11414
 
/* Override any GCC internal prototype to avoid an error.
11415
 
   Use char because int might match the return type of a GCC
11416
 
   builtin and then its argument prototype would still apply.  */
11417
 
#ifdef __cplusplus
11418
 
extern "C"
11419
 
#endif
11420
 
char $ac_func ();
11421
 
/* The GNU C library defines this for functions which it implements
11422
 
    to always fail with ENOSYS.  Some functions are actually named
11423
 
    something starting with __ and the normal name is an alias.  */
11424
 
#if defined __stub_$ac_func || defined __stub___$ac_func
11425
 
choke me
11426
 
#endif
11427
 
 
11428
 
int
11429
 
main ()
11430
 
{
11431
 
return $ac_func ();
11432
 
  ;
11433
 
  return 0;
11434
 
}
11435
 
_ACEOF
11436
 
rm -f conftest.$ac_objext conftest$ac_exeext
11437
 
if { (ac_try="$ac_link"
11438
 
case "(($ac_try" in
11439
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11440
 
  *) ac_try_echo=$ac_try;;
11441
 
esac
11442
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11443
 
$as_echo "$ac_try_echo") >&5
11444
 
  (eval "$ac_link") 2>conftest.er1
11445
 
  ac_status=$?
11446
 
  grep -v '^ *+' conftest.er1 >conftest.err
11447
 
  rm -f conftest.er1
11448
 
  cat conftest.err >&5
11449
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11450
 
  (exit $ac_status); } && {
11451
 
         test -z "$ac_c_werror_flag" ||
11452
 
         test ! -s conftest.err
11453
 
       } && test -s conftest$ac_exeext && {
11454
 
         test "$cross_compiling" = yes ||
11455
 
         $as_test_x conftest$ac_exeext
11456
 
       }; then
11457
 
  eval "$as_ac_var=yes"
11458
 
else
11459
 
  $as_echo "$as_me: failed program was:" >&5
11460
 
sed 's/^/| /' conftest.$ac_ext >&5
11461
 
 
11462
 
        eval "$as_ac_var=no"
11463
 
fi
11464
 
 
11465
 
rm -rf conftest.dSYM
11466
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11467
 
      conftest$ac_exeext conftest.$ac_ext
11468
 
fi
11469
 
ac_res=`eval 'as_val=${'$as_ac_var'}
11470
 
                 $as_echo "$as_val"'`
11471
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11472
 
$as_echo "$ac_res" >&6; }
11473
 
as_val=`eval 'as_val=${'$as_ac_var'}
11474
 
                 $as_echo "$as_val"'`
11475
 
   if test "x$as_val" = x""yes; then
 
11053
do :
 
11054
  ac_fn_c_check_func "$LINENO" "seteuid" "ac_cv_func_seteuid"
 
11055
if test "x$ac_cv_func_seteuid" = x""yes; then :
11476
11056
  cat >>confdefs.h <<_ACEOF
11477
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
11057
#define HAVE_SETEUID 1
11478
11058
_ACEOF
11479
11059
 
11480
11060
fi
11482
11062
 
11483
11063
 
11484
11064
 
11485
 
{ $as_echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
 
11065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5
11486
11066
$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; }
11487
 
if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
 
11067
if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then :
11488
11068
  $as_echo_n "(cached) " >&6
11489
11069
else
11490
11070
  ac_check_lib_save_LIBS=$LIBS
11491
11071
LIBS="-lpthread  $LIBS"
11492
 
cat >conftest.$ac_ext <<_ACEOF
11493
 
/* confdefs.h.  */
11494
 
_ACEOF
11495
 
cat confdefs.h >>conftest.$ac_ext
11496
 
cat >>conftest.$ac_ext <<_ACEOF
 
11072
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11497
11073
/* end confdefs.h.  */
11498
11074
 
11499
11075
/* Override any GCC internal prototype to avoid an error.
11511
11087
  return 0;
11512
11088
}
11513
11089
_ACEOF
11514
 
rm -f conftest.$ac_objext conftest$ac_exeext
11515
 
if { (ac_try="$ac_link"
11516
 
case "(($ac_try" in
11517
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11518
 
  *) ac_try_echo=$ac_try;;
11519
 
esac
11520
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11521
 
$as_echo "$ac_try_echo") >&5
11522
 
  (eval "$ac_link") 2>conftest.er1
11523
 
  ac_status=$?
11524
 
  grep -v '^ *+' conftest.er1 >conftest.err
11525
 
  rm -f conftest.er1
11526
 
  cat conftest.err >&5
11527
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11528
 
  (exit $ac_status); } && {
11529
 
         test -z "$ac_c_werror_flag" ||
11530
 
         test ! -s conftest.err
11531
 
       } && test -s conftest$ac_exeext && {
11532
 
         test "$cross_compiling" = yes ||
11533
 
         $as_test_x conftest$ac_exeext
11534
 
       }; then
 
11090
if ac_fn_c_try_link "$LINENO"; then :
11535
11091
  ac_cv_lib_pthread_pthread_mutex_init=yes
11536
11092
else
11537
 
  $as_echo "$as_me: failed program was:" >&5
11538
 
sed 's/^/| /' conftest.$ac_ext >&5
11539
 
 
11540
 
        ac_cv_lib_pthread_pthread_mutex_init=no
 
11093
  ac_cv_lib_pthread_pthread_mutex_init=no
11541
11094
fi
11542
 
 
11543
 
rm -rf conftest.dSYM
11544
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11545
 
      conftest$ac_exeext conftest.$ac_ext
 
11095
rm -f core conftest.err conftest.$ac_objext \
 
11096
    conftest$ac_exeext conftest.$ac_ext
11546
11097
LIBS=$ac_check_lib_save_LIBS
11547
11098
fi
11548
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
 
11099
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
11549
11100
$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
11550
 
if test "x$ac_cv_lib_pthread_pthread_mutex_init" = x""yes; then
 
11101
if test "x$ac_cv_lib_pthread_pthread_mutex_init" = x""yes; then :
11551
11102
  pthread_enabled=yes
11552
11103
else
11553
11104
  pthread_enabled=no
11564
11115
fi
11565
11116
 
11566
11117
# Check whether --with-thread-stack-size was given.
11567
 
if test "${with_thread_stack_size+set}" = set; then
 
11118
if test "${with_thread_stack_size+set}" = set; then :
11568
11119
  withval=$with_thread_stack_size; thread_stack_size=$withval
11569
11120
else
11570
11121
  thread_stack_size=0
11579
11130
 
11580
11131
 
11581
11132
# Check whether --with-srtp was given.
11582
 
if test "${with_srtp+set}" = set; then
 
11133
if test "${with_srtp+set}" = set; then :
11583
11134
  withval=$with_srtp;  srtp_prefix=${withval}
11584
11135
else
11585
11136
   srtp_prefix=/usr
11596
11147
have_srtp=no
11597
11148
CPPFLAGS_save=$CPPFLAGS
11598
11149
CPPFLAGS=$SRTP_CFLAGS
11599
 
if test "${ac_cv_header_srtp_srtp_h+set}" = set; then
11600
 
  { $as_echo "$as_me:$LINENO: checking for srtp/srtp.h" >&5
11601
 
$as_echo_n "checking for srtp/srtp.h... " >&6; }
11602
 
if test "${ac_cv_header_srtp_srtp_h+set}" = set; then
11603
 
  $as_echo_n "(cached) " >&6
11604
 
fi
11605
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_srtp_srtp_h" >&5
11606
 
$as_echo "$ac_cv_header_srtp_srtp_h" >&6; }
11607
 
else
11608
 
  # Is the header compilable?
11609
 
{ $as_echo "$as_me:$LINENO: checking srtp/srtp.h usability" >&5
11610
 
$as_echo_n "checking srtp/srtp.h usability... " >&6; }
11611
 
cat >conftest.$ac_ext <<_ACEOF
11612
 
/* confdefs.h.  */
11613
 
_ACEOF
11614
 
cat confdefs.h >>conftest.$ac_ext
11615
 
cat >>conftest.$ac_ext <<_ACEOF
11616
 
/* end confdefs.h.  */
11617
 
$ac_includes_default
11618
 
#include <srtp/srtp.h>
11619
 
_ACEOF
11620
 
rm -f conftest.$ac_objext
11621
 
if { (ac_try="$ac_compile"
11622
 
case "(($ac_try" in
11623
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11624
 
  *) ac_try_echo=$ac_try;;
11625
 
esac
11626
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11627
 
$as_echo "$ac_try_echo") >&5
11628
 
  (eval "$ac_compile") 2>conftest.er1
11629
 
  ac_status=$?
11630
 
  grep -v '^ *+' conftest.er1 >conftest.err
11631
 
  rm -f conftest.er1
11632
 
  cat conftest.err >&5
11633
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634
 
  (exit $ac_status); } && {
11635
 
         test -z "$ac_c_werror_flag" ||
11636
 
         test ! -s conftest.err
11637
 
       } && test -s conftest.$ac_objext; then
11638
 
  ac_header_compiler=yes
11639
 
else
11640
 
  $as_echo "$as_me: failed program was:" >&5
11641
 
sed 's/^/| /' conftest.$ac_ext >&5
11642
 
 
11643
 
        ac_header_compiler=no
11644
 
fi
11645
 
 
11646
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11647
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11648
 
$as_echo "$ac_header_compiler" >&6; }
11649
 
 
11650
 
# Is the header present?
11651
 
{ $as_echo "$as_me:$LINENO: checking srtp/srtp.h presence" >&5
11652
 
$as_echo_n "checking srtp/srtp.h presence... " >&6; }
11653
 
cat >conftest.$ac_ext <<_ACEOF
11654
 
/* confdefs.h.  */
11655
 
_ACEOF
11656
 
cat confdefs.h >>conftest.$ac_ext
11657
 
cat >>conftest.$ac_ext <<_ACEOF
11658
 
/* end confdefs.h.  */
11659
 
#include <srtp/srtp.h>
11660
 
_ACEOF
11661
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
11662
 
case "(($ac_try" in
11663
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11664
 
  *) ac_try_echo=$ac_try;;
11665
 
esac
11666
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11667
 
$as_echo "$ac_try_echo") >&5
11668
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11669
 
  ac_status=$?
11670
 
  grep -v '^ *+' conftest.er1 >conftest.err
11671
 
  rm -f conftest.er1
11672
 
  cat conftest.err >&5
11673
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674
 
  (exit $ac_status); } >/dev/null && {
11675
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11676
 
         test ! -s conftest.err
11677
 
       }; then
11678
 
  ac_header_preproc=yes
11679
 
else
11680
 
  $as_echo "$as_me: failed program was:" >&5
11681
 
sed 's/^/| /' conftest.$ac_ext >&5
11682
 
 
11683
 
  ac_header_preproc=no
11684
 
fi
11685
 
 
11686
 
rm -f conftest.err conftest.$ac_ext
11687
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11688
 
$as_echo "$ac_header_preproc" >&6; }
11689
 
 
11690
 
# So?  What about this header?
11691
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11692
 
  yes:no: )
11693
 
    { $as_echo "$as_me:$LINENO: WARNING: srtp/srtp.h: accepted by the compiler, rejected by the preprocessor!" >&5
11694
 
$as_echo "$as_me: WARNING: srtp/srtp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11695
 
    { $as_echo "$as_me:$LINENO: WARNING: srtp/srtp.h: proceeding with the compiler's result" >&5
11696
 
$as_echo "$as_me: WARNING: srtp/srtp.h: proceeding with the compiler's result" >&2;}
11697
 
    ac_header_preproc=yes
11698
 
    ;;
11699
 
  no:yes:* )
11700
 
    { $as_echo "$as_me:$LINENO: WARNING: srtp/srtp.h: present but cannot be compiled" >&5
11701
 
$as_echo "$as_me: WARNING: srtp/srtp.h: present but cannot be compiled" >&2;}
11702
 
    { $as_echo "$as_me:$LINENO: WARNING: srtp/srtp.h:     check for missing prerequisite headers?" >&5
11703
 
$as_echo "$as_me: WARNING: srtp/srtp.h:     check for missing prerequisite headers?" >&2;}
11704
 
    { $as_echo "$as_me:$LINENO: WARNING: srtp/srtp.h: see the Autoconf documentation" >&5
11705
 
$as_echo "$as_me: WARNING: srtp/srtp.h: see the Autoconf documentation" >&2;}
11706
 
    { $as_echo "$as_me:$LINENO: WARNING: srtp/srtp.h:     section \"Present But Cannot Be Compiled\"" >&5
11707
 
$as_echo "$as_me: WARNING: srtp/srtp.h:     section \"Present But Cannot Be Compiled\"" >&2;}
11708
 
    { $as_echo "$as_me:$LINENO: WARNING: srtp/srtp.h: proceeding with the preprocessor's result" >&5
11709
 
$as_echo "$as_me: WARNING: srtp/srtp.h: proceeding with the preprocessor's result" >&2;}
11710
 
    { $as_echo "$as_me:$LINENO: WARNING: srtp/srtp.h: in the future, the compiler will take precedence" >&5
11711
 
$as_echo "$as_me: WARNING: srtp/srtp.h: in the future, the compiler will take precedence" >&2;}
11712
 
 
11713
 
    ;;
11714
 
esac
11715
 
{ $as_echo "$as_me:$LINENO: checking for srtp/srtp.h" >&5
11716
 
$as_echo_n "checking for srtp/srtp.h... " >&6; }
11717
 
if test "${ac_cv_header_srtp_srtp_h+set}" = set; then
11718
 
  $as_echo_n "(cached) " >&6
11719
 
else
11720
 
  ac_cv_header_srtp_srtp_h=$ac_header_preproc
11721
 
fi
11722
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_srtp_srtp_h" >&5
11723
 
$as_echo "$ac_cv_header_srtp_srtp_h" >&6; }
11724
 
 
11725
 
fi
11726
 
if test "x$ac_cv_header_srtp_srtp_h" = x""yes; then
 
11150
ac_fn_c_check_header_mongrel "$LINENO" "srtp/srtp.h" "ac_cv_header_srtp_srtp_h" "$ac_includes_default"
 
11151
if test "x$ac_cv_header_srtp_srtp_h" = x""yes; then :
11727
11152
  have_srtp_headers=yes
11728
11153
fi
11729
11154
 
11733
11158
LDFLAGS_save=$LDFLAGS
11734
11159
LDFLAGS=$SRTP_LIBS
11735
11160
LIBS_save=$LIBS
11736
 
{ $as_echo "$as_me:$LINENO: checking for srtp_init in -lsrtp" >&5
 
11161
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for srtp_init in -lsrtp" >&5
11737
11162
$as_echo_n "checking for srtp_init in -lsrtp... " >&6; }
11738
 
if test "${ac_cv_lib_srtp_srtp_init+set}" = set; then
 
11163
if test "${ac_cv_lib_srtp_srtp_init+set}" = set; then :
11739
11164
  $as_echo_n "(cached) " >&6
11740
11165
else
11741
11166
  ac_check_lib_save_LIBS=$LIBS
11742
11167
LIBS="-lsrtp  $LIBS"
11743
 
cat >conftest.$ac_ext <<_ACEOF
11744
 
/* confdefs.h.  */
11745
 
_ACEOF
11746
 
cat confdefs.h >>conftest.$ac_ext
11747
 
cat >>conftest.$ac_ext <<_ACEOF
 
11168
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11748
11169
/* end confdefs.h.  */
11749
11170
 
11750
11171
/* Override any GCC internal prototype to avoid an error.
11762
11183
  return 0;
11763
11184
}
11764
11185
_ACEOF
11765
 
rm -f conftest.$ac_objext conftest$ac_exeext
11766
 
if { (ac_try="$ac_link"
11767
 
case "(($ac_try" in
11768
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11769
 
  *) ac_try_echo=$ac_try;;
11770
 
esac
11771
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11772
 
$as_echo "$ac_try_echo") >&5
11773
 
  (eval "$ac_link") 2>conftest.er1
11774
 
  ac_status=$?
11775
 
  grep -v '^ *+' conftest.er1 >conftest.err
11776
 
  rm -f conftest.er1
11777
 
  cat conftest.err >&5
11778
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779
 
  (exit $ac_status); } && {
11780
 
         test -z "$ac_c_werror_flag" ||
11781
 
         test ! -s conftest.err
11782
 
       } && test -s conftest$ac_exeext && {
11783
 
         test "$cross_compiling" = yes ||
11784
 
         $as_test_x conftest$ac_exeext
11785
 
       }; then
 
11186
if ac_fn_c_try_link "$LINENO"; then :
11786
11187
  ac_cv_lib_srtp_srtp_init=yes
11787
11188
else
11788
 
  $as_echo "$as_me: failed program was:" >&5
11789
 
sed 's/^/| /' conftest.$ac_ext >&5
11790
 
 
11791
 
        ac_cv_lib_srtp_srtp_init=no
 
11189
  ac_cv_lib_srtp_srtp_init=no
11792
11190
fi
11793
 
 
11794
 
rm -rf conftest.dSYM
11795
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11796
 
      conftest$ac_exeext conftest.$ac_ext
 
11191
rm -f core conftest.err conftest.$ac_objext \
 
11192
    conftest$ac_exeext conftest.$ac_ext
11797
11193
LIBS=$ac_check_lib_save_LIBS
11798
11194
fi
11799
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_srtp_srtp_init" >&5
 
11195
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_srtp_srtp_init" >&5
11800
11196
$as_echo "$ac_cv_lib_srtp_srtp_init" >&6; }
11801
 
if test "x$ac_cv_lib_srtp_srtp_init" = x""yes; then
 
11197
if test "x$ac_cv_lib_srtp_srtp_init" = x""yes; then :
11802
11198
  have_srtp_lib=yes
11803
11199
fi
11804
11200
 
11808
11204
if test "$have_srtp_headers$have_srtp_lib" = "yesyes" ; then
11809
11205
        have_srtp=yes
11810
11206
 
11811
 
cat >>confdefs.h <<\_ACEOF
11812
 
#define HAVE_SRTP 1
11813
 
_ACEOF
 
11207
$as_echo "#define HAVE_SRTP 1" >>confdefs.h
11814
11208
 
11815
11209
else
11816
 
        { $as_echo "$as_me:$LINENO: Could not find libsrtp headers or lib, cryto transport disabled." >&5
 
11210
        { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find libsrtp headers or lib, cryto transport disabled." >&5
11817
11211
$as_echo "$as_me: Could not find libsrtp headers or lib, cryto transport disabled." >&6;}
11818
11212
        SRTP_CFLAGS=
11819
11213
        SRTP_LIBS=
11828
11222
fi
11829
11223
 
11830
11224
# Check whether --enable-memcheck was given.
11831
 
if test "${enable_memcheck+set}" = set; then
 
11225
if test "${enable_memcheck+set}" = set; then :
11832
11226
  enableval=$enable_memcheck; case "${enableval}" in
11833
11227
                                yes) memcheck_enabled=yes;;
11834
11228
                                no) memcheck_enabled=no;;
11835
 
                                *) { { $as_echo "$as_me:$LINENO: error: \"Bad value for --enable-memcheck\"" >&5
11836
 
$as_echo "$as_me: error: \"Bad value for --enable-memcheck\"" >&2;}
11837
 
   { (exit 1); exit 1; }; };;
 
11229
                                *) as_fn_error "\"Bad value for --enable-memcheck\"" "$LINENO" 5;;
11838
11230
                        esac
11839
11231
else
11840
11232
  memcheck_enabled=no
11844
11236
if test "$memcheck_enabled" = "yes" ; then
11845
11237
        if test "$hpux_host" = "yes" ; then
11846
11238
 
11847
 
cat >>confdefs.h <<\_ACEOF
11848
 
#define ENABLE_MEMCHECK 1
11849
 
_ACEOF
 
11239
$as_echo "#define ENABLE_MEMCHECK 1" >>confdefs.h
11850
11240
 
11851
11241
        else
11852
11242
                echo "WARNING ************ : the memory check option is only available for HPUX."
11854
11244
fi
11855
11245
 
11856
11246
# Check whether --enable-so-reuseaddr was given.
11857
 
if test "${enable_so_reuseaddr+set}" = set; then
 
11247
if test "${enable_so_reuseaddr+set}" = set; then :
11858
11248
  enableval=$enable_so_reuseaddr; case "${enableval}" in
11859
11249
                                        yes) so_reuseaddr_enabled=yes;;
11860
11250
                                        no) so_reuseaddr_enabled=no;;
11861
 
                                        *) { { $as_echo "$as_me:$LINENO: error: \"Bad value for --enable-so-reuseaddr\"" >&5
11862
 
$as_echo "$as_me: error: \"Bad value for --enable-so-reuseaddr\"" >&2;}
11863
 
   { (exit 1); exit 1; }; };;
 
11251
                                        *) as_fn_error "\"Bad value for --enable-so-reuseaddr\"" "$LINENO" 5;;
11864
11252
                                esac
11865
11253
else
11866
11254
  so_reuseaddr_enabled=yes
11869
11257
 
11870
11258
if test "$so_reuseaddr_enabled" = "yes" ; then
11871
11259
 
11872
 
cat >>confdefs.h <<\_ACEOF
11873
 
#define SO_REUSE_ADDR 1
11874
 
_ACEOF
 
11260
$as_echo "#define SO_REUSE_ADDR 1" >>confdefs.h
11875
11261
 
11876
11262
fi
11877
11263
 
11878
11264
 
11879
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
11265
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11880
11266
$as_echo_n "checking for ANSI C header files... " >&6; }
11881
 
if test "${ac_cv_header_stdc+set}" = set; then
 
11267
if test "${ac_cv_header_stdc+set}" = set; then :
11882
11268
  $as_echo_n "(cached) " >&6
11883
11269
else
11884
 
  cat >conftest.$ac_ext <<_ACEOF
11885
 
/* confdefs.h.  */
11886
 
_ACEOF
11887
 
cat confdefs.h >>conftest.$ac_ext
11888
 
cat >>conftest.$ac_ext <<_ACEOF
 
11270
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11889
11271
/* end confdefs.h.  */
11890
11272
#include <stdlib.h>
11891
11273
#include <stdarg.h>
11900
11282
  return 0;
11901
11283
}
11902
11284
_ACEOF
11903
 
rm -f conftest.$ac_objext
11904
 
if { (ac_try="$ac_compile"
11905
 
case "(($ac_try" in
11906
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11907
 
  *) ac_try_echo=$ac_try;;
11908
 
esac
11909
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11910
 
$as_echo "$ac_try_echo") >&5
11911
 
  (eval "$ac_compile") 2>conftest.er1
11912
 
  ac_status=$?
11913
 
  grep -v '^ *+' conftest.er1 >conftest.err
11914
 
  rm -f conftest.er1
11915
 
  cat conftest.err >&5
11916
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917
 
  (exit $ac_status); } && {
11918
 
         test -z "$ac_c_werror_flag" ||
11919
 
         test ! -s conftest.err
11920
 
       } && test -s conftest.$ac_objext; then
 
11285
if ac_fn_c_try_compile "$LINENO"; then :
11921
11286
  ac_cv_header_stdc=yes
11922
11287
else
11923
 
  $as_echo "$as_me: failed program was:" >&5
11924
 
sed 's/^/| /' conftest.$ac_ext >&5
11925
 
 
11926
 
        ac_cv_header_stdc=no
 
11288
  ac_cv_header_stdc=no
11927
11289
fi
11928
 
 
11929
11290
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11930
11291
 
11931
11292
if test $ac_cv_header_stdc = yes; then
11932
11293
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11933
 
  cat >conftest.$ac_ext <<_ACEOF
11934
 
/* confdefs.h.  */
11935
 
_ACEOF
11936
 
cat confdefs.h >>conftest.$ac_ext
11937
 
cat >>conftest.$ac_ext <<_ACEOF
 
11294
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11938
11295
/* end confdefs.h.  */
11939
11296
#include <string.h>
11940
11297
 
11941
11298
_ACEOF
11942
11299
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11943
 
  $EGREP "memchr" >/dev/null 2>&1; then
11944
 
  :
 
11300
  $EGREP "memchr" >/dev/null 2>&1; then :
 
11301
 
11945
11302
else
11946
11303
  ac_cv_header_stdc=no
11947
11304
fi
11951
11308
 
11952
11309
if test $ac_cv_header_stdc = yes; then
11953
11310
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11954
 
  cat >conftest.$ac_ext <<_ACEOF
11955
 
/* confdefs.h.  */
11956
 
_ACEOF
11957
 
cat confdefs.h >>conftest.$ac_ext
11958
 
cat >>conftest.$ac_ext <<_ACEOF
 
11311
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11959
11312
/* end confdefs.h.  */
11960
11313
#include <stdlib.h>
11961
11314
 
11962
11315
_ACEOF
11963
11316
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11964
 
  $EGREP "free" >/dev/null 2>&1; then
11965
 
  :
 
11317
  $EGREP "free" >/dev/null 2>&1; then :
 
11318
 
11966
11319
else
11967
11320
  ac_cv_header_stdc=no
11968
11321
fi
11972
11325
 
11973
11326
if test $ac_cv_header_stdc = yes; then
11974
11327
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11975
 
  if test "$cross_compiling" = yes; then
 
11328
  if test "$cross_compiling" = yes; then :
11976
11329
  :
11977
11330
else
11978
 
  cat >conftest.$ac_ext <<_ACEOF
11979
 
/* confdefs.h.  */
11980
 
_ACEOF
11981
 
cat confdefs.h >>conftest.$ac_ext
11982
 
cat >>conftest.$ac_ext <<_ACEOF
 
11331
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11983
11332
/* end confdefs.h.  */
11984
11333
#include <ctype.h>
11985
11334
#include <stdlib.h>
12006
11355
  return 0;
12007
11356
}
12008
11357
_ACEOF
12009
 
rm -f conftest$ac_exeext
12010
 
if { (ac_try="$ac_link"
12011
 
case "(($ac_try" in
12012
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12013
 
  *) ac_try_echo=$ac_try;;
12014
 
esac
12015
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12016
 
$as_echo "$ac_try_echo") >&5
12017
 
  (eval "$ac_link") 2>&5
12018
 
  ac_status=$?
12019
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12021
 
  { (case "(($ac_try" in
12022
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12023
 
  *) ac_try_echo=$ac_try;;
12024
 
esac
12025
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12026
 
$as_echo "$ac_try_echo") >&5
12027
 
  (eval "$ac_try") 2>&5
12028
 
  ac_status=$?
12029
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12030
 
  (exit $ac_status); }; }; then
12031
 
  :
 
11358
if ac_fn_c_try_run "$LINENO"; then :
 
11359
 
12032
11360
else
12033
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
12034
 
$as_echo "$as_me: failed program was:" >&5
12035
 
sed 's/^/| /' conftest.$ac_ext >&5
12036
 
 
12037
 
( exit $ac_status )
12038
 
ac_cv_header_stdc=no
12039
 
fi
12040
 
rm -rf conftest.dSYM
12041
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12042
 
fi
12043
 
 
12044
 
 
12045
 
fi
12046
 
fi
12047
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
11361
  ac_cv_header_stdc=no
 
11362
fi
 
11363
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
11364
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
11365
fi
 
11366
 
 
11367
fi
 
11368
fi
 
11369
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12048
11370
$as_echo "$ac_cv_header_stdc" >&6; }
12049
11371
if test $ac_cv_header_stdc = yes; then
12050
11372
 
12051
 
cat >>confdefs.h <<\_ACEOF
12052
 
#define STDC_HEADERS 1
12053
 
_ACEOF
 
11373
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
12054
11374
 
12055
11375
fi
12056
11376
 
12057
 
 
12058
 
 
12059
 
 
12060
 
 
12061
 
 
12062
 
 
12063
 
 
12064
 
 
12065
11377
for ac_header in poll.h sys/poll.h sys/uio.h fcntl.h sys/time.h unistd.h sys/audio.h linux/soundcard.h
12066
 
do
12067
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12068
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12069
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12070
 
$as_echo_n "checking for $ac_header... " >&6; }
12071
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12072
 
  $as_echo_n "(cached) " >&6
12073
 
fi
12074
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
12075
 
                 $as_echo "$as_val"'`
12076
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12077
 
$as_echo "$ac_res" >&6; }
12078
 
else
12079
 
  # Is the header compilable?
12080
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12081
 
$as_echo_n "checking $ac_header usability... " >&6; }
12082
 
cat >conftest.$ac_ext <<_ACEOF
12083
 
/* confdefs.h.  */
12084
 
_ACEOF
12085
 
cat confdefs.h >>conftest.$ac_ext
12086
 
cat >>conftest.$ac_ext <<_ACEOF
12087
 
/* end confdefs.h.  */
12088
 
$ac_includes_default
12089
 
#include <$ac_header>
12090
 
_ACEOF
12091
 
rm -f conftest.$ac_objext
12092
 
if { (ac_try="$ac_compile"
12093
 
case "(($ac_try" in
12094
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12095
 
  *) ac_try_echo=$ac_try;;
12096
 
esac
12097
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12098
 
$as_echo "$ac_try_echo") >&5
12099
 
  (eval "$ac_compile") 2>conftest.er1
12100
 
  ac_status=$?
12101
 
  grep -v '^ *+' conftest.er1 >conftest.err
12102
 
  rm -f conftest.er1
12103
 
  cat conftest.err >&5
12104
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105
 
  (exit $ac_status); } && {
12106
 
         test -z "$ac_c_werror_flag" ||
12107
 
         test ! -s conftest.err
12108
 
       } && test -s conftest.$ac_objext; then
12109
 
  ac_header_compiler=yes
12110
 
else
12111
 
  $as_echo "$as_me: failed program was:" >&5
12112
 
sed 's/^/| /' conftest.$ac_ext >&5
12113
 
 
12114
 
        ac_header_compiler=no
12115
 
fi
12116
 
 
12117
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12118
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12119
 
$as_echo "$ac_header_compiler" >&6; }
12120
 
 
12121
 
# Is the header present?
12122
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12123
 
$as_echo_n "checking $ac_header presence... " >&6; }
12124
 
cat >conftest.$ac_ext <<_ACEOF
12125
 
/* confdefs.h.  */
12126
 
_ACEOF
12127
 
cat confdefs.h >>conftest.$ac_ext
12128
 
cat >>conftest.$ac_ext <<_ACEOF
12129
 
/* end confdefs.h.  */
12130
 
#include <$ac_header>
12131
 
_ACEOF
12132
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
12133
 
case "(($ac_try" in
12134
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12135
 
  *) ac_try_echo=$ac_try;;
12136
 
esac
12137
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12138
 
$as_echo "$ac_try_echo") >&5
12139
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12140
 
  ac_status=$?
12141
 
  grep -v '^ *+' conftest.er1 >conftest.err
12142
 
  rm -f conftest.er1
12143
 
  cat conftest.err >&5
12144
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12145
 
  (exit $ac_status); } >/dev/null && {
12146
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12147
 
         test ! -s conftest.err
12148
 
       }; then
12149
 
  ac_header_preproc=yes
12150
 
else
12151
 
  $as_echo "$as_me: failed program was:" >&5
12152
 
sed 's/^/| /' conftest.$ac_ext >&5
12153
 
 
12154
 
  ac_header_preproc=no
12155
 
fi
12156
 
 
12157
 
rm -f conftest.err conftest.$ac_ext
12158
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12159
 
$as_echo "$ac_header_preproc" >&6; }
12160
 
 
12161
 
# So?  What about this header?
12162
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12163
 
  yes:no: )
12164
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12165
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12166
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12167
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12168
 
    ac_header_preproc=yes
12169
 
    ;;
12170
 
  no:yes:* )
12171
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12172
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12173
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
12174
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
12175
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12176
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12177
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
12178
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
12179
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12180
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12181
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12182
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12183
 
 
12184
 
    ;;
12185
 
esac
12186
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12187
 
$as_echo_n "checking for $ac_header... " >&6; }
12188
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12189
 
  $as_echo_n "(cached) " >&6
12190
 
else
12191
 
  eval "$as_ac_Header=\$ac_header_preproc"
12192
 
fi
12193
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
12194
 
                 $as_echo "$as_val"'`
12195
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12196
 
$as_echo "$ac_res" >&6; }
12197
 
 
12198
 
fi
12199
 
as_val=`eval 'as_val=${'$as_ac_Header'}
12200
 
                 $as_echo "$as_val"'`
12201
 
   if test "x$as_val" = x""yes; then
 
11378
do :
 
11379
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
11380
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
11381
eval as_val=\$$as_ac_Header
 
11382
   if test "x$as_val" = x""yes; then :
12202
11383
  cat >>confdefs.h <<_ACEOF
12203
11384
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12204
11385
_ACEOF
12208
11389
done
12209
11390
 
12210
11391
 
12211
 
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
11392
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12212
11393
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12213
 
if test "${ac_cv_c_const+set}" = set; then
 
11394
if test "${ac_cv_c_const+set}" = set; then :
12214
11395
  $as_echo_n "(cached) " >&6
12215
11396
else
12216
 
  cat >conftest.$ac_ext <<_ACEOF
12217
 
/* confdefs.h.  */
12218
 
_ACEOF
12219
 
cat confdefs.h >>conftest.$ac_ext
12220
 
cat >>conftest.$ac_ext <<_ACEOF
 
11397
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12221
11398
/* end confdefs.h.  */
12222
11399
 
12223
11400
int
12277
11454
  return 0;
12278
11455
}
12279
11456
_ACEOF
12280
 
rm -f conftest.$ac_objext
12281
 
if { (ac_try="$ac_compile"
12282
 
case "(($ac_try" in
12283
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12284
 
  *) ac_try_echo=$ac_try;;
12285
 
esac
12286
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12287
 
$as_echo "$ac_try_echo") >&5
12288
 
  (eval "$ac_compile") 2>conftest.er1
12289
 
  ac_status=$?
12290
 
  grep -v '^ *+' conftest.er1 >conftest.err
12291
 
  rm -f conftest.er1
12292
 
  cat conftest.err >&5
12293
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294
 
  (exit $ac_status); } && {
12295
 
         test -z "$ac_c_werror_flag" ||
12296
 
         test ! -s conftest.err
12297
 
       } && test -s conftest.$ac_objext; then
 
11457
if ac_fn_c_try_compile "$LINENO"; then :
12298
11458
  ac_cv_c_const=yes
12299
11459
else
12300
 
  $as_echo "$as_me: failed program was:" >&5
12301
 
sed 's/^/| /' conftest.$ac_ext >&5
12302
 
 
12303
 
        ac_cv_c_const=no
 
11460
  ac_cv_c_const=no
12304
11461
fi
12305
 
 
12306
11462
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12307
11463
fi
12308
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
11464
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12309
11465
$as_echo "$ac_cv_c_const" >&6; }
12310
11466
if test $ac_cv_c_const = no; then
12311
11467
 
12312
 
cat >>confdefs.h <<\_ACEOF
12313
 
#define const /**/
12314
 
_ACEOF
 
11468
$as_echo "#define const /**/" >>confdefs.h
12315
11469
 
12316
11470
fi
12317
11471
 
12318
 
{ $as_echo "$as_me:$LINENO: checking for inline" >&5
 
11472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12319
11473
$as_echo_n "checking for inline... " >&6; }
12320
 
if test "${ac_cv_c_inline+set}" = set; then
 
11474
if test "${ac_cv_c_inline+set}" = set; then :
12321
11475
  $as_echo_n "(cached) " >&6
12322
11476
else
12323
11477
  ac_cv_c_inline=no
12324
11478
for ac_kw in inline __inline__ __inline; do
12325
 
  cat >conftest.$ac_ext <<_ACEOF
12326
 
/* confdefs.h.  */
12327
 
_ACEOF
12328
 
cat confdefs.h >>conftest.$ac_ext
12329
 
cat >>conftest.$ac_ext <<_ACEOF
 
11479
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12330
11480
/* end confdefs.h.  */
12331
11481
#ifndef __cplusplus
12332
11482
typedef int foo_t;
12335
11485
#endif
12336
11486
 
12337
11487
_ACEOF
12338
 
rm -f conftest.$ac_objext
12339
 
if { (ac_try="$ac_compile"
12340
 
case "(($ac_try" in
12341
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12342
 
  *) ac_try_echo=$ac_try;;
12343
 
esac
12344
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12345
 
$as_echo "$ac_try_echo") >&5
12346
 
  (eval "$ac_compile") 2>conftest.er1
12347
 
  ac_status=$?
12348
 
  grep -v '^ *+' conftest.er1 >conftest.err
12349
 
  rm -f conftest.er1
12350
 
  cat conftest.err >&5
12351
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12352
 
  (exit $ac_status); } && {
12353
 
         test -z "$ac_c_werror_flag" ||
12354
 
         test ! -s conftest.err
12355
 
       } && test -s conftest.$ac_objext; then
 
11488
if ac_fn_c_try_compile "$LINENO"; then :
12356
11489
  ac_cv_c_inline=$ac_kw
12357
 
else
12358
 
  $as_echo "$as_me: failed program was:" >&5
12359
 
sed 's/^/| /' conftest.$ac_ext >&5
12360
 
 
12361
 
 
12362
11490
fi
12363
 
 
12364
11491
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12365
11492
  test "$ac_cv_c_inline" != no && break
12366
11493
done
12367
11494
 
12368
11495
fi
12369
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 
11496
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12370
11497
$as_echo "$ac_cv_c_inline" >&6; }
12371
11498
 
12372
 
 
12373
11499
case $ac_cv_c_inline in
12374
11500
  inline | yes) ;;
12375
11501
  *)
12385
11511
    ;;
12386
11512
esac
12387
11513
 
12388
 
{ $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
 
11514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
12389
11515
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
12390
 
if test "${ac_cv_header_time+set}" = set; then
 
11516
if test "${ac_cv_header_time+set}" = set; then :
12391
11517
  $as_echo_n "(cached) " >&6
12392
11518
else
12393
 
  cat >conftest.$ac_ext <<_ACEOF
12394
 
/* confdefs.h.  */
12395
 
_ACEOF
12396
 
cat confdefs.h >>conftest.$ac_ext
12397
 
cat >>conftest.$ac_ext <<_ACEOF
 
11519
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12398
11520
/* end confdefs.h.  */
12399
11521
#include <sys/types.h>
12400
11522
#include <sys/time.h>
12409
11531
  return 0;
12410
11532
}
12411
11533
_ACEOF
12412
 
rm -f conftest.$ac_objext
12413
 
if { (ac_try="$ac_compile"
12414
 
case "(($ac_try" in
12415
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12416
 
  *) ac_try_echo=$ac_try;;
12417
 
esac
12418
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12419
 
$as_echo "$ac_try_echo") >&5
12420
 
  (eval "$ac_compile") 2>conftest.er1
12421
 
  ac_status=$?
12422
 
  grep -v '^ *+' conftest.er1 >conftest.err
12423
 
  rm -f conftest.er1
12424
 
  cat conftest.err >&5
12425
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426
 
  (exit $ac_status); } && {
12427
 
         test -z "$ac_c_werror_flag" ||
12428
 
         test ! -s conftest.err
12429
 
       } && test -s conftest.$ac_objext; then
 
11534
if ac_fn_c_try_compile "$LINENO"; then :
12430
11535
  ac_cv_header_time=yes
12431
11536
else
12432
 
  $as_echo "$as_me: failed program was:" >&5
12433
 
sed 's/^/| /' conftest.$ac_ext >&5
12434
 
 
12435
 
        ac_cv_header_time=no
 
11537
  ac_cv_header_time=no
12436
11538
fi
12437
 
 
12438
11539
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12439
11540
fi
12440
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
 
11541
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
12441
11542
$as_echo "$ac_cv_header_time" >&6; }
12442
11543
if test $ac_cv_header_time = yes; then
12443
11544
 
12444
 
cat >>confdefs.h <<\_ACEOF
12445
 
#define TIME_WITH_SYS_TIME 1
12446
 
_ACEOF
 
11545
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
12447
11546
 
12448
11547
fi
12449
11548
 
12450
 
 
12451
 
 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 
11549
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12452
11550
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12453
 
if test "${ac_cv_c_bigendian+set}" = set; then
 
11551
if test "${ac_cv_c_bigendian+set}" = set; then :
12454
11552
  $as_echo_n "(cached) " >&6
12455
11553
else
12456
11554
  ac_cv_c_bigendian=unknown
12457
11555
    # See if we're dealing with a universal compiler.
12458
 
    cat >conftest.$ac_ext <<_ACEOF
12459
 
/* confdefs.h.  */
12460
 
_ACEOF
12461
 
cat confdefs.h >>conftest.$ac_ext
12462
 
cat >>conftest.$ac_ext <<_ACEOF
 
11556
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12463
11557
/* end confdefs.h.  */
12464
11558
#ifndef __APPLE_CC__
12465
11559
               not a universal capable compiler
12467
11561
             typedef int dummy;
12468
11562
 
12469
11563
_ACEOF
12470
 
rm -f conftest.$ac_objext
12471
 
if { (ac_try="$ac_compile"
12472
 
case "(($ac_try" in
12473
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12474
 
  *) ac_try_echo=$ac_try;;
12475
 
esac
12476
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12477
 
$as_echo "$ac_try_echo") >&5
12478
 
  (eval "$ac_compile") 2>conftest.er1
12479
 
  ac_status=$?
12480
 
  grep -v '^ *+' conftest.er1 >conftest.err
12481
 
  rm -f conftest.er1
12482
 
  cat conftest.err >&5
12483
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484
 
  (exit $ac_status); } && {
12485
 
         test -z "$ac_c_werror_flag" ||
12486
 
         test ! -s conftest.err
12487
 
       } && test -s conftest.$ac_objext; then
 
11564
if ac_fn_c_try_compile "$LINENO"; then :
12488
11565
 
12489
11566
        # Check for potential -arch flags.  It is not universal unless
12490
 
        # there are some -arch flags.  Note that *ppc* also matches
12491
 
        # ppc64.  This check is also rather less than ideal.
12492
 
        case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
12493
 
          *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
12494
 
        esac
12495
 
else
12496
 
  $as_echo "$as_me: failed program was:" >&5
12497
 
sed 's/^/| /' conftest.$ac_ext >&5
12498
 
 
12499
 
 
 
11567
        # there are at least two -arch flags with different values.
 
11568
        ac_arch=
 
11569
        ac_prev=
 
11570
        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
 
11571
         if test -n "$ac_prev"; then
 
11572
           case $ac_word in
 
11573
             i?86 | x86_64 | ppc | ppc64)
 
11574
               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
 
11575
                 ac_arch=$ac_word
 
11576
               else
 
11577
                 ac_cv_c_bigendian=universal
 
11578
                 break
 
11579
               fi
 
11580
               ;;
 
11581
           esac
 
11582
           ac_prev=
 
11583
         elif test "x$ac_word" = "x-arch"; then
 
11584
           ac_prev=arch
 
11585
         fi
 
11586
       done
12500
11587
fi
12501
 
 
12502
11588
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12503
11589
    if test $ac_cv_c_bigendian = unknown; then
12504
11590
      # See if sys/param.h defines the BYTE_ORDER macro.
12505
 
      cat >conftest.$ac_ext <<_ACEOF
12506
 
/* confdefs.h.  */
12507
 
_ACEOF
12508
 
cat confdefs.h >>conftest.$ac_ext
12509
 
cat >>conftest.$ac_ext <<_ACEOF
 
11591
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12510
11592
/* end confdefs.h.  */
12511
11593
#include <sys/types.h>
12512
11594
             #include <sys/param.h>
12524
11606
  return 0;
12525
11607
}
12526
11608
_ACEOF
12527
 
rm -f conftest.$ac_objext
12528
 
if { (ac_try="$ac_compile"
12529
 
case "(($ac_try" in
12530
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12531
 
  *) ac_try_echo=$ac_try;;
12532
 
esac
12533
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12534
 
$as_echo "$ac_try_echo") >&5
12535
 
  (eval "$ac_compile") 2>conftest.er1
12536
 
  ac_status=$?
12537
 
  grep -v '^ *+' conftest.er1 >conftest.err
12538
 
  rm -f conftest.er1
12539
 
  cat conftest.err >&5
12540
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12541
 
  (exit $ac_status); } && {
12542
 
         test -z "$ac_c_werror_flag" ||
12543
 
         test ! -s conftest.err
12544
 
       } && test -s conftest.$ac_objext; then
 
11609
if ac_fn_c_try_compile "$LINENO"; then :
12545
11610
  # It does; now see whether it defined to BIG_ENDIAN or not.
12546
 
         cat >conftest.$ac_ext <<_ACEOF
12547
 
/* confdefs.h.  */
12548
 
_ACEOF
12549
 
cat confdefs.h >>conftest.$ac_ext
12550
 
cat >>conftest.$ac_ext <<_ACEOF
 
11611
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12551
11612
/* end confdefs.h.  */
12552
11613
#include <sys/types.h>
12553
11614
                #include <sys/param.h>
12563
11624
  return 0;
12564
11625
}
12565
11626
_ACEOF
12566
 
rm -f conftest.$ac_objext
12567
 
if { (ac_try="$ac_compile"
12568
 
case "(($ac_try" in
12569
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12570
 
  *) ac_try_echo=$ac_try;;
12571
 
esac
12572
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12573
 
$as_echo "$ac_try_echo") >&5
12574
 
  (eval "$ac_compile") 2>conftest.er1
12575
 
  ac_status=$?
12576
 
  grep -v '^ *+' conftest.er1 >conftest.err
12577
 
  rm -f conftest.er1
12578
 
  cat conftest.err >&5
12579
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580
 
  (exit $ac_status); } && {
12581
 
         test -z "$ac_c_werror_flag" ||
12582
 
         test ! -s conftest.err
12583
 
       } && test -s conftest.$ac_objext; then
 
11627
if ac_fn_c_try_compile "$LINENO"; then :
12584
11628
  ac_cv_c_bigendian=yes
12585
11629
else
12586
 
  $as_echo "$as_me: failed program was:" >&5
12587
 
sed 's/^/| /' conftest.$ac_ext >&5
12588
 
 
12589
 
        ac_cv_c_bigendian=no
 
11630
  ac_cv_c_bigendian=no
12590
11631
fi
12591
 
 
12592
11632
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12593
 
else
12594
 
  $as_echo "$as_me: failed program was:" >&5
12595
 
sed 's/^/| /' conftest.$ac_ext >&5
12596
 
 
12597
 
 
12598
11633
fi
12599
 
 
12600
11634
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12601
11635
    fi
12602
11636
    if test $ac_cv_c_bigendian = unknown; then
12603
11637
      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12604
 
      cat >conftest.$ac_ext <<_ACEOF
12605
 
/* confdefs.h.  */
12606
 
_ACEOF
12607
 
cat confdefs.h >>conftest.$ac_ext
12608
 
cat >>conftest.$ac_ext <<_ACEOF
 
11638
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12609
11639
/* end confdefs.h.  */
12610
11640
#include <limits.h>
12611
11641
 
12620
11650
  return 0;
12621
11651
}
12622
11652
_ACEOF
12623
 
rm -f conftest.$ac_objext
12624
 
if { (ac_try="$ac_compile"
12625
 
case "(($ac_try" in
12626
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12627
 
  *) ac_try_echo=$ac_try;;
12628
 
esac
12629
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12630
 
$as_echo "$ac_try_echo") >&5
12631
 
  (eval "$ac_compile") 2>conftest.er1
12632
 
  ac_status=$?
12633
 
  grep -v '^ *+' conftest.er1 >conftest.err
12634
 
  rm -f conftest.er1
12635
 
  cat conftest.err >&5
12636
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12637
 
  (exit $ac_status); } && {
12638
 
         test -z "$ac_c_werror_flag" ||
12639
 
         test ! -s conftest.err
12640
 
       } && test -s conftest.$ac_objext; then
 
11653
if ac_fn_c_try_compile "$LINENO"; then :
12641
11654
  # It does; now see whether it defined to _BIG_ENDIAN or not.
12642
 
         cat >conftest.$ac_ext <<_ACEOF
12643
 
/* confdefs.h.  */
12644
 
_ACEOF
12645
 
cat confdefs.h >>conftest.$ac_ext
12646
 
cat >>conftest.$ac_ext <<_ACEOF
 
11655
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12647
11656
/* end confdefs.h.  */
12648
11657
#include <limits.h>
12649
11658
 
12658
11667
  return 0;
12659
11668
}
12660
11669
_ACEOF
12661
 
rm -f conftest.$ac_objext
12662
 
if { (ac_try="$ac_compile"
12663
 
case "(($ac_try" in
12664
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12665
 
  *) ac_try_echo=$ac_try;;
12666
 
esac
12667
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12668
 
$as_echo "$ac_try_echo") >&5
12669
 
  (eval "$ac_compile") 2>conftest.er1
12670
 
  ac_status=$?
12671
 
  grep -v '^ *+' conftest.er1 >conftest.err
12672
 
  rm -f conftest.er1
12673
 
  cat conftest.err >&5
12674
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675
 
  (exit $ac_status); } && {
12676
 
         test -z "$ac_c_werror_flag" ||
12677
 
         test ! -s conftest.err
12678
 
       } && test -s conftest.$ac_objext; then
 
11670
if ac_fn_c_try_compile "$LINENO"; then :
12679
11671
  ac_cv_c_bigendian=yes
12680
11672
else
12681
 
  $as_echo "$as_me: failed program was:" >&5
12682
 
sed 's/^/| /' conftest.$ac_ext >&5
12683
 
 
12684
 
        ac_cv_c_bigendian=no
 
11673
  ac_cv_c_bigendian=no
12685
11674
fi
12686
 
 
12687
11675
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12688
 
else
12689
 
  $as_echo "$as_me: failed program was:" >&5
12690
 
sed 's/^/| /' conftest.$ac_ext >&5
12691
 
 
12692
 
 
12693
11676
fi
12694
 
 
12695
11677
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12696
11678
    fi
12697
11679
    if test $ac_cv_c_bigendian = unknown; then
12698
11680
      # Compile a test program.
12699
 
      if test "$cross_compiling" = yes; then
 
11681
      if test "$cross_compiling" = yes; then :
12700
11682
  # Try to guess by grepping values from an object file.
12701
 
         cat >conftest.$ac_ext <<_ACEOF
12702
 
/* confdefs.h.  */
12703
 
_ACEOF
12704
 
cat confdefs.h >>conftest.$ac_ext
12705
 
cat >>conftest.$ac_ext <<_ACEOF
 
11683
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12706
11684
/* end confdefs.h.  */
12707
11685
short int ascii_mm[] =
12708
11686
                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12728
11706
  return 0;
12729
11707
}
12730
11708
_ACEOF
12731
 
rm -f conftest.$ac_objext
12732
 
if { (ac_try="$ac_compile"
12733
 
case "(($ac_try" in
12734
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12735
 
  *) ac_try_echo=$ac_try;;
12736
 
esac
12737
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12738
 
$as_echo "$ac_try_echo") >&5
12739
 
  (eval "$ac_compile") 2>conftest.er1
12740
 
  ac_status=$?
12741
 
  grep -v '^ *+' conftest.er1 >conftest.err
12742
 
  rm -f conftest.er1
12743
 
  cat conftest.err >&5
12744
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12745
 
  (exit $ac_status); } && {
12746
 
         test -z "$ac_c_werror_flag" ||
12747
 
         test ! -s conftest.err
12748
 
       } && test -s conftest.$ac_objext; then
 
11709
if ac_fn_c_try_compile "$LINENO"; then :
12749
11710
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
12750
11711
              ac_cv_c_bigendian=yes
12751
11712
            fi
12757
11718
                ac_cv_c_bigendian=unknown
12758
11719
              fi
12759
11720
            fi
12760
 
else
12761
 
  $as_echo "$as_me: failed program was:" >&5
12762
 
sed 's/^/| /' conftest.$ac_ext >&5
12763
 
 
12764
 
 
12765
11721
fi
12766
 
 
12767
11722
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12768
11723
else
12769
 
  cat >conftest.$ac_ext <<_ACEOF
12770
 
/* confdefs.h.  */
12771
 
_ACEOF
12772
 
cat confdefs.h >>conftest.$ac_ext
12773
 
cat >>conftest.$ac_ext <<_ACEOF
 
11724
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12774
11725
/* end confdefs.h.  */
12775
11726
$ac_includes_default
12776
11727
int
12790
11741
  return 0;
12791
11742
}
12792
11743
_ACEOF
12793
 
rm -f conftest$ac_exeext
12794
 
if { (ac_try="$ac_link"
12795
 
case "(($ac_try" in
12796
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12797
 
  *) ac_try_echo=$ac_try;;
12798
 
esac
12799
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12800
 
$as_echo "$ac_try_echo") >&5
12801
 
  (eval "$ac_link") 2>&5
12802
 
  ac_status=$?
12803
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12804
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12805
 
  { (case "(($ac_try" in
12806
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12807
 
  *) ac_try_echo=$ac_try;;
12808
 
esac
12809
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12810
 
$as_echo "$ac_try_echo") >&5
12811
 
  (eval "$ac_try") 2>&5
12812
 
  ac_status=$?
12813
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12814
 
  (exit $ac_status); }; }; then
 
11744
if ac_fn_c_try_run "$LINENO"; then :
12815
11745
  ac_cv_c_bigendian=no
12816
11746
else
12817
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
12818
 
$as_echo "$as_me: failed program was:" >&5
12819
 
sed 's/^/| /' conftest.$ac_ext >&5
12820
 
 
12821
 
( exit $ac_status )
12822
 
ac_cv_c_bigendian=yes
12823
 
fi
12824
 
rm -rf conftest.dSYM
12825
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12826
 
fi
12827
 
 
 
11747
  ac_cv_c_bigendian=yes
 
11748
fi
 
11749
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
11750
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
11751
fi
12828
11752
 
12829
11753
    fi
12830
11754
fi
12831
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 
11755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12832
11756
$as_echo "$ac_cv_c_bigendian" >&6; }
12833
11757
 case $ac_cv_c_bigendian in #(
12834
11758
   yes)
12835
 
     cat >>confdefs.h <<\_ACEOF
12836
 
#define WORDS_BIGENDIAN 1
12837
 
_ACEOF
 
11759
     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
12838
11760
;; #(
12839
11761
   no)
12840
11762
      ;; #(
12841
11763
   universal)
12842
11764
 
12843
 
cat >>confdefs.h <<\_ACEOF
12844
 
#define AC_APPLE_UNIVERSAL_BUILD 1
12845
 
_ACEOF
 
11765
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12846
11766
 
12847
11767
     ;; #(
12848
11768
   *)
12849
 
     { { $as_echo "$as_me:$LINENO: error: unknown endianness
12850
 
 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
12851
 
$as_echo "$as_me: error: unknown endianness
12852
 
 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
12853
 
   { (exit 1); exit 1; }; } ;;
 
11769
     as_fn_error "unknown endianness
 
11770
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12854
11771
 esac
12855
11772
 
12856
11773
if test x$ac_cv_c_bigendian = xyes ; then
12857
11774
        ORTP_DEFS="$ORTP_DEFS -DORTP_BIGENDIAN"
12858
11775
fi
12859
11776
 
12860
 
 
12861
 
 
12862
 
 
12863
11777
for ac_func in select socket strerror
12864
 
do
12865
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12866
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12867
 
$as_echo_n "checking for $ac_func... " >&6; }
12868
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12869
 
  $as_echo_n "(cached) " >&6
12870
 
else
12871
 
  cat >conftest.$ac_ext <<_ACEOF
12872
 
/* confdefs.h.  */
12873
 
_ACEOF
12874
 
cat confdefs.h >>conftest.$ac_ext
12875
 
cat >>conftest.$ac_ext <<_ACEOF
12876
 
/* end confdefs.h.  */
12877
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12878
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12879
 
#define $ac_func innocuous_$ac_func
12880
 
 
12881
 
/* System header to define __stub macros and hopefully few prototypes,
12882
 
    which can conflict with char $ac_func (); below.
12883
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12884
 
    <limits.h> exists even on freestanding compilers.  */
12885
 
 
12886
 
#ifdef __STDC__
12887
 
# include <limits.h>
12888
 
#else
12889
 
# include <assert.h>
12890
 
#endif
12891
 
 
12892
 
#undef $ac_func
12893
 
 
12894
 
/* Override any GCC internal prototype to avoid an error.
12895
 
   Use char because int might match the return type of a GCC
12896
 
   builtin and then its argument prototype would still apply.  */
12897
 
#ifdef __cplusplus
12898
 
extern "C"
12899
 
#endif
12900
 
char $ac_func ();
12901
 
/* The GNU C library defines this for functions which it implements
12902
 
    to always fail with ENOSYS.  Some functions are actually named
12903
 
    something starting with __ and the normal name is an alias.  */
12904
 
#if defined __stub_$ac_func || defined __stub___$ac_func
12905
 
choke me
12906
 
#endif
12907
 
 
12908
 
int
12909
 
main ()
12910
 
{
12911
 
return $ac_func ();
12912
 
  ;
12913
 
  return 0;
12914
 
}
12915
 
_ACEOF
12916
 
rm -f conftest.$ac_objext conftest$ac_exeext
12917
 
if { (ac_try="$ac_link"
12918
 
case "(($ac_try" in
12919
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12920
 
  *) ac_try_echo=$ac_try;;
12921
 
esac
12922
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12923
 
$as_echo "$ac_try_echo") >&5
12924
 
  (eval "$ac_link") 2>conftest.er1
12925
 
  ac_status=$?
12926
 
  grep -v '^ *+' conftest.er1 >conftest.err
12927
 
  rm -f conftest.er1
12928
 
  cat conftest.err >&5
12929
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12930
 
  (exit $ac_status); } && {
12931
 
         test -z "$ac_c_werror_flag" ||
12932
 
         test ! -s conftest.err
12933
 
       } && test -s conftest$ac_exeext && {
12934
 
         test "$cross_compiling" = yes ||
12935
 
         $as_test_x conftest$ac_exeext
12936
 
       }; then
12937
 
  eval "$as_ac_var=yes"
12938
 
else
12939
 
  $as_echo "$as_me: failed program was:" >&5
12940
 
sed 's/^/| /' conftest.$ac_ext >&5
12941
 
 
12942
 
        eval "$as_ac_var=no"
12943
 
fi
12944
 
 
12945
 
rm -rf conftest.dSYM
12946
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12947
 
      conftest$ac_exeext conftest.$ac_ext
12948
 
fi
12949
 
ac_res=`eval 'as_val=${'$as_ac_var'}
12950
 
                 $as_echo "$as_val"'`
12951
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12952
 
$as_echo "$ac_res" >&6; }
12953
 
as_val=`eval 'as_val=${'$as_ac_var'}
12954
 
                 $as_echo "$as_val"'`
12955
 
   if test "x$as_val" = x""yes; then
 
11778
do :
 
11779
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
11780
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
11781
eval as_val=\$$as_ac_var
 
11782
   if test "x$as_val" = x""yes; then :
12956
11783
  cat >>confdefs.h <<_ACEOF
12957
11784
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12958
11785
_ACEOF
12979
11806
        CFLAGS="$CFLAGS -Werror "
12980
11807
fi
12981
11808
 
12982
 
 
12983
 
 
12984
11809
for ac_header in openssl/hmac.h openssl/md5.h
12985
 
do
12986
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12987
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12988
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12989
 
$as_echo_n "checking for $ac_header... " >&6; }
12990
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12991
 
  $as_echo_n "(cached) " >&6
12992
 
fi
12993
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
12994
 
                 $as_echo "$as_val"'`
12995
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12996
 
$as_echo "$ac_res" >&6; }
12997
 
else
12998
 
  # Is the header compilable?
12999
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13000
 
$as_echo_n "checking $ac_header usability... " >&6; }
13001
 
cat >conftest.$ac_ext <<_ACEOF
13002
 
/* confdefs.h.  */
13003
 
_ACEOF
13004
 
cat confdefs.h >>conftest.$ac_ext
13005
 
cat >>conftest.$ac_ext <<_ACEOF
13006
 
/* end confdefs.h.  */
13007
 
$ac_includes_default
13008
 
#include <$ac_header>
13009
 
_ACEOF
13010
 
rm -f conftest.$ac_objext
13011
 
if { (ac_try="$ac_compile"
13012
 
case "(($ac_try" in
13013
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13014
 
  *) ac_try_echo=$ac_try;;
13015
 
esac
13016
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13017
 
$as_echo "$ac_try_echo") >&5
13018
 
  (eval "$ac_compile") 2>conftest.er1
13019
 
  ac_status=$?
13020
 
  grep -v '^ *+' conftest.er1 >conftest.err
13021
 
  rm -f conftest.er1
13022
 
  cat conftest.err >&5
13023
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13024
 
  (exit $ac_status); } && {
13025
 
         test -z "$ac_c_werror_flag" ||
13026
 
         test ! -s conftest.err
13027
 
       } && test -s conftest.$ac_objext; then
13028
 
  ac_header_compiler=yes
13029
 
else
13030
 
  $as_echo "$as_me: failed program was:" >&5
13031
 
sed 's/^/| /' conftest.$ac_ext >&5
13032
 
 
13033
 
        ac_header_compiler=no
13034
 
fi
13035
 
 
13036
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13037
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13038
 
$as_echo "$ac_header_compiler" >&6; }
13039
 
 
13040
 
# Is the header present?
13041
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13042
 
$as_echo_n "checking $ac_header presence... " >&6; }
13043
 
cat >conftest.$ac_ext <<_ACEOF
13044
 
/* confdefs.h.  */
13045
 
_ACEOF
13046
 
cat confdefs.h >>conftest.$ac_ext
13047
 
cat >>conftest.$ac_ext <<_ACEOF
13048
 
/* end confdefs.h.  */
13049
 
#include <$ac_header>
13050
 
_ACEOF
13051
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
13052
 
case "(($ac_try" in
13053
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13054
 
  *) ac_try_echo=$ac_try;;
13055
 
esac
13056
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13057
 
$as_echo "$ac_try_echo") >&5
13058
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13059
 
  ac_status=$?
13060
 
  grep -v '^ *+' conftest.er1 >conftest.err
13061
 
  rm -f conftest.er1
13062
 
  cat conftest.err >&5
13063
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064
 
  (exit $ac_status); } >/dev/null && {
13065
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13066
 
         test ! -s conftest.err
13067
 
       }; then
13068
 
  ac_header_preproc=yes
13069
 
else
13070
 
  $as_echo "$as_me: failed program was:" >&5
13071
 
sed 's/^/| /' conftest.$ac_ext >&5
13072
 
 
13073
 
  ac_header_preproc=no
13074
 
fi
13075
 
 
13076
 
rm -f conftest.err conftest.$ac_ext
13077
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13078
 
$as_echo "$ac_header_preproc" >&6; }
13079
 
 
13080
 
# So?  What about this header?
13081
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13082
 
  yes:no: )
13083
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13084
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13085
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13086
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13087
 
    ac_header_preproc=yes
13088
 
    ;;
13089
 
  no:yes:* )
13090
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13091
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13092
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
13093
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
13094
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13095
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13096
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
13097
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
13098
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13099
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13100
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13101
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13102
 
 
13103
 
    ;;
13104
 
esac
13105
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13106
 
$as_echo_n "checking for $ac_header... " >&6; }
13107
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13108
 
  $as_echo_n "(cached) " >&6
13109
 
else
13110
 
  eval "$as_ac_Header=\$ac_header_preproc"
13111
 
fi
13112
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13113
 
                 $as_echo "$as_val"'`
13114
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13115
 
$as_echo "$ac_res" >&6; }
13116
 
 
13117
 
fi
13118
 
as_val=`eval 'as_val=${'$as_ac_Header'}
13119
 
                 $as_echo "$as_val"'`
13120
 
   if test "x$as_val" = x""yes; then
 
11810
do :
 
11811
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
11812
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
11813
eval as_val=\$$as_ac_Header
 
11814
   if test "x$as_val" = x""yes; then :
13121
11815
  cat >>confdefs.h <<_ACEOF
13122
11816
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13123
11817
_ACEOF
13127
11821
done
13128
11822
 
13129
11823
 
13130
 
{ $as_echo "$as_me:$LINENO: checking for SSL_CTX_new in -lssl" >&5
 
11824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_CTX_new in -lssl" >&5
13131
11825
$as_echo_n "checking for SSL_CTX_new in -lssl... " >&6; }
13132
 
if test "${ac_cv_lib_ssl_SSL_CTX_new+set}" = set; then
 
11826
if test "${ac_cv_lib_ssl_SSL_CTX_new+set}" = set; then :
13133
11827
  $as_echo_n "(cached) " >&6
13134
11828
else
13135
11829
  ac_check_lib_save_LIBS=$LIBS
13136
11830
LIBS="-lssl  $LIBS"
13137
 
cat >conftest.$ac_ext <<_ACEOF
13138
 
/* confdefs.h.  */
13139
 
_ACEOF
13140
 
cat confdefs.h >>conftest.$ac_ext
13141
 
cat >>conftest.$ac_ext <<_ACEOF
 
11831
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13142
11832
/* end confdefs.h.  */
13143
11833
 
13144
11834
/* Override any GCC internal prototype to avoid an error.
13156
11846
  return 0;
13157
11847
}
13158
11848
_ACEOF
13159
 
rm -f conftest.$ac_objext conftest$ac_exeext
13160
 
if { (ac_try="$ac_link"
13161
 
case "(($ac_try" in
13162
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13163
 
  *) ac_try_echo=$ac_try;;
13164
 
esac
13165
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13166
 
$as_echo "$ac_try_echo") >&5
13167
 
  (eval "$ac_link") 2>conftest.er1
13168
 
  ac_status=$?
13169
 
  grep -v '^ *+' conftest.er1 >conftest.err
13170
 
  rm -f conftest.er1
13171
 
  cat conftest.err >&5
13172
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13173
 
  (exit $ac_status); } && {
13174
 
         test -z "$ac_c_werror_flag" ||
13175
 
         test ! -s conftest.err
13176
 
       } && test -s conftest$ac_exeext && {
13177
 
         test "$cross_compiling" = yes ||
13178
 
         $as_test_x conftest$ac_exeext
13179
 
       }; then
 
11849
if ac_fn_c_try_link "$LINENO"; then :
13180
11850
  ac_cv_lib_ssl_SSL_CTX_new=yes
13181
11851
else
13182
 
  $as_echo "$as_me: failed program was:" >&5
13183
 
sed 's/^/| /' conftest.$ac_ext >&5
13184
 
 
13185
 
        ac_cv_lib_ssl_SSL_CTX_new=no
 
11852
  ac_cv_lib_ssl_SSL_CTX_new=no
13186
11853
fi
13187
 
 
13188
 
rm -rf conftest.dSYM
13189
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13190
 
      conftest$ac_exeext conftest.$ac_ext
 
11854
rm -f core conftest.err conftest.$ac_objext \
 
11855
    conftest$ac_exeext conftest.$ac_ext
13191
11856
LIBS=$ac_check_lib_save_LIBS
13192
11857
fi
13193
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_CTX_new" >&5
 
11858
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_CTX_new" >&5
13194
11859
$as_echo "$ac_cv_lib_ssl_SSL_CTX_new" >&6; }
13195
 
if test "x$ac_cv_lib_ssl_SSL_CTX_new" = x""yes; then
 
11860
if test "x$ac_cv_lib_ssl_SSL_CTX_new" = x""yes; then :
13196
11861
  SSL_LIBS="-lssl"
13197
11862
fi
13198
11863
 
13199
 
{ $as_echo "$as_me:$LINENO: checking for MD5 in -lcrypto" >&5
 
11864
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5 in -lcrypto" >&5
13200
11865
$as_echo_n "checking for MD5 in -lcrypto... " >&6; }
13201
 
if test "${ac_cv_lib_crypto_MD5+set}" = set; then
 
11866
if test "${ac_cv_lib_crypto_MD5+set}" = set; then :
13202
11867
  $as_echo_n "(cached) " >&6
13203
11868
else
13204
11869
  ac_check_lib_save_LIBS=$LIBS
13205
11870
LIBS="-lcrypto  $LIBS"
13206
 
cat >conftest.$ac_ext <<_ACEOF
13207
 
/* confdefs.h.  */
13208
 
_ACEOF
13209
 
cat confdefs.h >>conftest.$ac_ext
13210
 
cat >>conftest.$ac_ext <<_ACEOF
 
11871
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13211
11872
/* end confdefs.h.  */
13212
11873
 
13213
11874
/* Override any GCC internal prototype to avoid an error.
13225
11886
  return 0;
13226
11887
}
13227
11888
_ACEOF
13228
 
rm -f conftest.$ac_objext conftest$ac_exeext
13229
 
if { (ac_try="$ac_link"
13230
 
case "(($ac_try" in
13231
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13232
 
  *) ac_try_echo=$ac_try;;
13233
 
esac
13234
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13235
 
$as_echo "$ac_try_echo") >&5
13236
 
  (eval "$ac_link") 2>conftest.er1
13237
 
  ac_status=$?
13238
 
  grep -v '^ *+' conftest.er1 >conftest.err
13239
 
  rm -f conftest.er1
13240
 
  cat conftest.err >&5
13241
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242
 
  (exit $ac_status); } && {
13243
 
         test -z "$ac_c_werror_flag" ||
13244
 
         test ! -s conftest.err
13245
 
       } && test -s conftest$ac_exeext && {
13246
 
         test "$cross_compiling" = yes ||
13247
 
         $as_test_x conftest$ac_exeext
13248
 
       }; then
 
11889
if ac_fn_c_try_link "$LINENO"; then :
13249
11890
  ac_cv_lib_crypto_MD5=yes
13250
11891
else
13251
 
  $as_echo "$as_me: failed program was:" >&5
13252
 
sed 's/^/| /' conftest.$ac_ext >&5
13253
 
 
13254
 
        ac_cv_lib_crypto_MD5=no
 
11892
  ac_cv_lib_crypto_MD5=no
13255
11893
fi
13256
 
 
13257
 
rm -rf conftest.dSYM
13258
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13259
 
      conftest$ac_exeext conftest.$ac_ext
 
11894
rm -f core conftest.err conftest.$ac_objext \
 
11895
    conftest$ac_exeext conftest.$ac_ext
13260
11896
LIBS=$ac_check_lib_save_LIBS
13261
11897
fi
13262
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_MD5" >&5
 
11898
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5" >&5
13263
11899
$as_echo "$ac_cv_lib_crypto_MD5" >&6; }
13264
 
if test "x$ac_cv_lib_crypto_MD5" = x""yes; then
 
11900
if test "x$ac_cv_lib_crypto_MD5" = x""yes; then :
13265
11901
  SSL_LIBS="$SSL_LIBS -lcrypto"
13266
11902
fi
13267
11903
 
13277
11913
 
13278
11914
# Extract the first word of "doxygen", so it can be a program name with args.
13279
11915
set dummy doxygen; ac_word=$2
13280
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11916
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13281
11917
$as_echo_n "checking for $ac_word... " >&6; }
13282
 
if test "${ac_cv_path_DOXYGEN+set}" = set; then
 
11918
if test "${ac_cv_path_DOXYGEN+set}" = set; then :
13283
11919
  $as_echo_n "(cached) " >&6
13284
11920
else
13285
11921
  case $DOXYGEN in
13292
11928
do
13293
11929
  IFS=$as_save_IFS
13294
11930
  test -z "$as_dir" && as_dir=.
13295
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11931
    for ac_exec_ext in '' $ac_executable_extensions; do
13296
11932
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13297
11933
    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
13298
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11934
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13299
11935
    break 2
13300
11936
  fi
13301
11937
done
13302
 
done
 
11938
  done
13303
11939
IFS=$as_save_IFS
13304
11940
 
13305
11941
  test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="false"
13308
11944
fi
13309
11945
DOXYGEN=$ac_cv_path_DOXYGEN
13310
11946
if test -n "$DOXYGEN"; then
13311
 
  { $as_echo "$as_me:$LINENO: result: $DOXYGEN" >&5
 
11947
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
13312
11948
$as_echo "$DOXYGEN" >&6; }
13313
11949
else
13314
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11950
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13315
11951
$as_echo "no" >&6; }
13316
11952
fi
13317
11953
 
13318
11954
 
13319
 
 
13320
 
 
13321
 
if test $DOXYGEN != false; then
 
11955
 if test $DOXYGEN != false; then
13322
11956
  HAVE_DOXYGEN_TRUE=
13323
11957
  HAVE_DOXYGEN_FALSE='#'
13324
11958
else
13331
11965
 
13332
11966
# Extract the first word of "epm", so it can be a program name with args.
13333
11967
set dummy epm; ac_word=$2
13334
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13335
11969
$as_echo_n "checking for $ac_word... " >&6; }
13336
 
if test "${ac_cv_path_EPM+set}" = set; then
 
11970
if test "${ac_cv_path_EPM+set}" = set; then :
13337
11971
  $as_echo_n "(cached) " >&6
13338
11972
else
13339
11973
  case $EPM in
13346
11980
do
13347
11981
  IFS=$as_save_IFS
13348
11982
  test -z "$as_dir" && as_dir=.
13349
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11983
    for ac_exec_ext in '' $ac_executable_extensions; do
13350
11984
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13351
11985
    ac_cv_path_EPM="$as_dir/$ac_word$ac_exec_ext"
13352
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11986
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13353
11987
    break 2
13354
11988
  fi
13355
11989
done
13356
 
done
 
11990
  done
13357
11991
IFS=$as_save_IFS
13358
11992
 
13359
11993
  test -z "$ac_cv_path_EPM" && ac_cv_path_EPM="false"
13362
11996
fi
13363
11997
EPM=$ac_cv_path_EPM
13364
11998
if test -n "$EPM"; then
13365
 
  { $as_echo "$as_me:$LINENO: result: $EPM" >&5
 
11999
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EPM" >&5
13366
12000
$as_echo "$EPM" >&6; }
13367
12001
else
13368
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12002
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13369
12003
$as_echo "no" >&6; }
13370
12004
fi
13371
12005
 
13372
12006
 
13373
12007
# Extract the first word of "mkepmlist", so it can be a program name with args.
13374
12008
set dummy mkepmlist; ac_word=$2
13375
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12009
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13376
12010
$as_echo_n "checking for $ac_word... " >&6; }
13377
 
if test "${ac_cv_path_MKEPMLIST+set}" = set; then
 
12011
if test "${ac_cv_path_MKEPMLIST+set}" = set; then :
13378
12012
  $as_echo_n "(cached) " >&6
13379
12013
else
13380
12014
  case $MKEPMLIST in
13387
12021
do
13388
12022
  IFS=$as_save_IFS
13389
12023
  test -z "$as_dir" && as_dir=.
13390
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12024
    for ac_exec_ext in '' $ac_executable_extensions; do
13391
12025
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13392
12026
    ac_cv_path_MKEPMLIST="$as_dir/$ac_word$ac_exec_ext"
13393
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12027
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13394
12028
    break 2
13395
12029
  fi
13396
12030
done
13397
 
done
 
12031
  done
13398
12032
IFS=$as_save_IFS
13399
12033
 
13400
12034
  test -z "$ac_cv_path_MKEPMLIST" && ac_cv_path_MKEPMLIST="false"
13403
12037
fi
13404
12038
MKEPMLIST=$ac_cv_path_MKEPMLIST
13405
12039
if test -n "$MKEPMLIST"; then
13406
 
  { $as_echo "$as_me:$LINENO: result: $MKEPMLIST" >&5
 
12040
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKEPMLIST" >&5
13407
12041
$as_echo "$MKEPMLIST" >&6; }
13408
12042
else
13409
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12043
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13410
12044
$as_echo "no" >&6; }
13411
12045
fi
13412
12046
 
13413
12047
 
13414
12048
# Extract the first word of "epminstall", so it can be a program name with args.
13415
12049
set dummy epminstall; ac_word=$2
13416
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12050
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13417
12051
$as_echo_n "checking for $ac_word... " >&6; }
13418
 
if test "${ac_cv_path_EPMINSTALL+set}" = set; then
 
12052
if test "${ac_cv_path_EPMINSTALL+set}" = set; then :
13419
12053
  $as_echo_n "(cached) " >&6
13420
12054
else
13421
12055
  case $EPMINSTALL in
13428
12062
do
13429
12063
  IFS=$as_save_IFS
13430
12064
  test -z "$as_dir" && as_dir=.
13431
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12065
    for ac_exec_ext in '' $ac_executable_extensions; do
13432
12066
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13433
12067
    ac_cv_path_EPMINSTALL="$as_dir/$ac_word$ac_exec_ext"
13434
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12068
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13435
12069
    break 2
13436
12070
  fi
13437
12071
done
13438
 
done
 
12072
  done
13439
12073
IFS=$as_save_IFS
13440
12074
 
13441
12075
  test -z "$ac_cv_path_EPMINSTALL" && ac_cv_path_EPMINSTALL="false"
13444
12078
fi
13445
12079
EPMINSTALL=$ac_cv_path_EPMINSTALL
13446
12080
if test -n "$EPMINSTALL"; then
13447
 
  { $as_echo "$as_me:$LINENO: result: $EPMINSTALL" >&5
 
12081
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EPMINSTALL" >&5
13448
12082
$as_echo "$EPMINSTALL" >&6; }
13449
12083
else
13450
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12084
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13451
12085
$as_echo "no" >&6; }
13452
12086
fi
13453
12087
 
13454
12088
 
13455
 
 
13456
 
 
13457
 
if test $EPM != false && test $MKEPMLIST != false && test $EPMINSTALL != false; then
 
12089
 if test $EPM != false && test $MKEPMLIST != false && test $EPMINSTALL != false; then
13458
12090
  WITH_EPM_TRUE=
13459
12091
  WITH_EPM_FALSE='#'
13460
12092
else
13462
12094
  WITH_EPM_FALSE=
13463
12095
fi
13464
12096
 
 
12097
 if test x$build_tests != xno; then
 
12098
  BUILD_TESTS_TRUE=
 
12099
  BUILD_TESTS_FALSE='#'
 
12100
else
 
12101
  BUILD_TESTS_TRUE='#'
 
12102
  BUILD_TESTS_FALSE=
 
12103
fi
13465
12104
 
13466
12105
 
13467
12106
# Preferred packaging system, as per EPM terminology
13547
12186
    case $ac_val in #(
13548
12187
    *${as_nl}*)
13549
12188
      case $ac_var in #(
13550
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
12189
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13551
12190
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13552
12191
      esac
13553
12192
      case $ac_var in #(
13554
12193
      _ | IFS | as_nl) ;; #(
13555
12194
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13556
 
      *) $as_unset $ac_var ;;
 
12195
      *) { eval $ac_var=; unset $ac_var;} ;;
13557
12196
      esac ;;
13558
12197
    esac
13559
12198
  done
13561
12200
  (set) 2>&1 |
13562
12201
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
13563
12202
    *${as_nl}ac_space=\ *)
13564
 
      # `set' does not quote correctly, so add quotes (double-quote
13565
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
12203
      # `set' does not quote correctly, so add quotes: double-quote
 
12204
      # substitution turns \\\\ into \\, and sed turns \\ into \.
13566
12205
      sed -n \
13567
12206
        "s/'/'\\\\''/g;
13568
12207
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13585
12224
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13586
12225
  if test -w "$cache_file"; then
13587
12226
    test "x$cache_file" != "x/dev/null" &&
13588
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
12227
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13589
12228
$as_echo "$as_me: updating cache $cache_file" >&6;}
13590
12229
    cat confcache >$cache_file
13591
12230
  else
13592
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
12231
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13593
12232
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13594
12233
  fi
13595
12234
fi
13609
12248
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13610
12249
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13611
12250
  #    will be set to the directory where LIBOBJS objects are built.
13612
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13613
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
12251
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
12252
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13614
12253
done
13615
12254
LIBOBJS=$ac_libobjs
13616
12255
 
13617
12256
LTLIBOBJS=$ac_ltlibobjs
13618
12257
 
13619
12258
 
 
12259
 if test -n "$EXEEXT"; then
 
12260
  am__EXEEXT_TRUE=
 
12261
  am__EXEEXT_FALSE='#'
 
12262
else
 
12263
  am__EXEEXT_TRUE='#'
 
12264
  am__EXEEXT_FALSE=
 
12265
fi
 
12266
 
13620
12267
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13621
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13622
 
Usually this means the macro was only invoked conditionally." >&5
13623
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
13624
 
Usually this means the macro was only invoked conditionally." >&2;}
13625
 
   { (exit 1); exit 1; }; }
 
12268
  as_fn_error "conditional \"AMDEP\" was never defined.
 
12269
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13626
12270
fi
13627
12271
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13628
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13629
 
Usually this means the macro was only invoked conditionally." >&5
13630
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13631
 
Usually this means the macro was only invoked conditionally." >&2;}
13632
 
   { (exit 1); exit 1; }; }
 
12272
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
12273
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13633
12274
fi
13634
12275
 
13635
12276
if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
13636
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_DOXYGEN\" was never defined.
13637
 
Usually this means the macro was only invoked conditionally." >&5
13638
 
$as_echo "$as_me: error: conditional \"HAVE_DOXYGEN\" was never defined.
13639
 
Usually this means the macro was only invoked conditionally." >&2;}
13640
 
   { (exit 1); exit 1; }; }
 
12277
  as_fn_error "conditional \"HAVE_DOXYGEN\" was never defined.
 
12278
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13641
12279
fi
13642
12280
if test -z "${WITH_EPM_TRUE}" && test -z "${WITH_EPM_FALSE}"; then
13643
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_EPM\" was never defined.
13644
 
Usually this means the macro was only invoked conditionally." >&5
13645
 
$as_echo "$as_me: error: conditional \"WITH_EPM\" was never defined.
13646
 
Usually this means the macro was only invoked conditionally." >&2;}
13647
 
   { (exit 1); exit 1; }; }
 
12281
  as_fn_error "conditional \"WITH_EPM\" was never defined.
 
12282
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
12283
fi
 
12284
if test -z "${BUILD_TESTS_TRUE}" && test -z "${BUILD_TESTS_FALSE}"; then
 
12285
  as_fn_error "conditional \"BUILD_TESTS\" was never defined.
 
12286
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13648
12287
fi
13649
12288
 
13650
12289
: ${CONFIG_STATUS=./config.status}
13651
12290
ac_write_fail=0
13652
12291
ac_clean_files_save=$ac_clean_files
13653
12292
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13654
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
12293
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13655
12294
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13656
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
12295
as_write_fail=0
 
12296
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13657
12297
#! $SHELL
13658
12298
# Generated by $as_me.
13659
12299
# Run this file to recreate the current configuration.
13663
12303
debug=false
13664
12304
ac_cs_recheck=false
13665
12305
ac_cs_silent=false
 
12306
 
13666
12307
SHELL=\${CONFIG_SHELL-$SHELL}
13667
 
_ACEOF
13668
 
 
13669
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13670
 
## --------------------- ##
13671
 
## M4sh Initialization.  ##
13672
 
## --------------------- ##
 
12308
export SHELL
 
12309
_ASEOF
 
12310
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
12311
## -------------------- ##
 
12312
## M4sh Initialization. ##
 
12313
## -------------------- ##
13673
12314
 
13674
12315
# Be more Bourne compatible
13675
12316
DUALCASE=1; export DUALCASE # for MKS sh
13676
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
12317
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13677
12318
  emulate sh
13678
12319
  NULLCMD=:
13679
12320
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13681
12322
  alias -g '${1+"$@"}'='"$@"'
13682
12323
  setopt NO_GLOB_SUBST
13683
12324
else
13684
 
  case `(set -o) 2>/dev/null` in
13685
 
  *posix*) set -o posix ;;
 
12325
  case `(set -o) 2>/dev/null` in #(
 
12326
  *posix*) :
 
12327
    set -o posix ;; #(
 
12328
  *) :
 
12329
     ;;
13686
12330
esac
13687
 
 
13688
12331
fi
13689
12332
 
13690
12333
 
13691
 
 
13692
 
 
13693
 
# PATH needs CR
13694
 
# Avoid depending upon Character Ranges.
13695
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13696
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13697
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13698
 
as_cr_digits='0123456789'
13699
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
13700
 
 
13701
12334
as_nl='
13702
12335
'
13703
12336
export as_nl
13705
12338
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13706
12339
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13707
12340
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13708
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
12341
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
12342
# but without wasting forks for bash or zsh.
 
12343
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
12344
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
12345
  as_echo='print -r --'
 
12346
  as_echo_n='print -rn --'
 
12347
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13709
12348
  as_echo='printf %s\n'
13710
12349
  as_echo_n='printf %s'
13711
12350
else
13716
12355
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13717
12356
    as_echo_n_body='eval
13718
12357
      arg=$1;
13719
 
      case $arg in
 
12358
      case $arg in #(
13720
12359
      *"$as_nl"*)
13721
12360
        expr "X$arg" : "X\\(.*\\)$as_nl";
13722
12361
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13739
12378
  }
13740
12379
fi
13741
12380
 
13742
 
# Support unset when possible.
13743
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13744
 
  as_unset=unset
13745
 
else
13746
 
  as_unset=false
13747
 
fi
13748
 
 
13749
12381
 
13750
12382
# IFS
13751
12383
# We need space, tab and new line, in precisely that order.  Quoting is
13755
12387
IFS=" ""        $as_nl"
13756
12388
 
13757
12389
# Find who we are.  Look in the path if we contain no directory separator.
13758
 
case $0 in
 
12390
case $0 in #((
13759
12391
  *[\\/]* ) as_myself=$0 ;;
13760
12392
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13761
12393
for as_dir in $PATH
13762
12394
do
13763
12395
  IFS=$as_save_IFS
13764
12396
  test -z "$as_dir" && as_dir=.
13765
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13766
 
done
 
12397
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
12398
  done
13767
12399
IFS=$as_save_IFS
13768
12400
 
13769
12401
     ;;
13775
12407
fi
13776
12408
if test ! -f "$as_myself"; then
13777
12409
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13778
 
  { (exit 1); exit 1; }
 
12410
  exit 1
13779
12411
fi
13780
12412
 
13781
 
# Work around bugs in pre-3.0 UWIN ksh.
13782
 
for as_var in ENV MAIL MAILPATH
13783
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
12413
# Unset variables that we do not need and which cause bugs (e.g. in
 
12414
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
12415
# suppresses any "Segmentation fault" message there.  '((' could
 
12416
# trigger a bug in pdksh 5.2.14.
 
12417
for as_var in BASH_ENV ENV MAIL MAILPATH
 
12418
do eval test x\${$as_var+set} = xset \
 
12419
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13784
12420
done
13785
12421
PS1='$ '
13786
12422
PS2='> '
13792
12428
LANGUAGE=C
13793
12429
export LANGUAGE
13794
12430
 
13795
 
# Required to use basename.
 
12431
# CDPATH.
 
12432
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
12433
 
 
12434
 
 
12435
# as_fn_error ERROR [LINENO LOG_FD]
 
12436
# ---------------------------------
 
12437
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
12438
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
12439
# script with status $?, using 1 if that was 0.
 
12440
as_fn_error ()
 
12441
{
 
12442
  as_status=$?; test $as_status -eq 0 && as_status=1
 
12443
  if test "$3"; then
 
12444
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
12445
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
12446
  fi
 
12447
  $as_echo "$as_me: error: $1" >&2
 
12448
  as_fn_exit $as_status
 
12449
} # as_fn_error
 
12450
 
 
12451
 
 
12452
# as_fn_set_status STATUS
 
12453
# -----------------------
 
12454
# Set $? to STATUS, without forking.
 
12455
as_fn_set_status ()
 
12456
{
 
12457
  return $1
 
12458
} # as_fn_set_status
 
12459
 
 
12460
# as_fn_exit STATUS
 
12461
# -----------------
 
12462
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
12463
as_fn_exit ()
 
12464
{
 
12465
  set +e
 
12466
  as_fn_set_status $1
 
12467
  exit $1
 
12468
} # as_fn_exit
 
12469
 
 
12470
# as_fn_unset VAR
 
12471
# ---------------
 
12472
# Portably unset VAR.
 
12473
as_fn_unset ()
 
12474
{
 
12475
  { eval $1=; unset $1;}
 
12476
}
 
12477
as_unset=as_fn_unset
 
12478
# as_fn_append VAR VALUE
 
12479
# ----------------------
 
12480
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
12481
# advantage of any shell optimizations that allow amortized linear growth over
 
12482
# repeated appends, instead of the typical quadratic growth present in naive
 
12483
# implementations.
 
12484
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
12485
  eval 'as_fn_append ()
 
12486
  {
 
12487
    eval $1+=\$2
 
12488
  }'
 
12489
else
 
12490
  as_fn_append ()
 
12491
  {
 
12492
    eval $1=\$$1\$2
 
12493
  }
 
12494
fi # as_fn_append
 
12495
 
 
12496
# as_fn_arith ARG...
 
12497
# ------------------
 
12498
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
12499
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
12500
# must be portable across $(()) and expr.
 
12501
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
12502
  eval 'as_fn_arith ()
 
12503
  {
 
12504
    as_val=$(( $* ))
 
12505
  }'
 
12506
else
 
12507
  as_fn_arith ()
 
12508
  {
 
12509
    as_val=`expr "$@" || test $? -eq 1`
 
12510
  }
 
12511
fi # as_fn_arith
 
12512
 
 
12513
 
13796
12514
if expr a : '\(a\)' >/dev/null 2>&1 &&
13797
12515
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13798
12516
  as_expr=expr
13806
12524
  as_basename=false
13807
12525
fi
13808
12526
 
 
12527
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
12528
  as_dirname=dirname
 
12529
else
 
12530
  as_dirname=false
 
12531
fi
13809
12532
 
13810
 
# Name of the executable.
13811
12533
as_me=`$as_basename -- "$0" ||
13812
12534
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13813
12535
         X"$0" : 'X\(//\)$' \| \
13827
12549
          }
13828
12550
          s/.*/./; q'`
13829
12551
 
13830
 
# CDPATH.
13831
 
$as_unset CDPATH
13832
 
 
13833
 
 
13834
 
 
13835
 
  as_lineno_1=$LINENO
13836
 
  as_lineno_2=$LINENO
13837
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
13838
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13839
 
 
13840
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13841
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
13842
 
  # line-number line after each line using $LINENO; the second 'sed'
13843
 
  # does the real work.  The second script uses 'N' to pair each
13844
 
  # line-number line with the line containing $LINENO, and appends
13845
 
  # trailing '-' during substitution so that $LINENO is not a special
13846
 
  # case at line end.
13847
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13848
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
13849
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
13850
 
  sed -n '
13851
 
    p
13852
 
    /[$]LINENO/=
13853
 
  ' <$as_myself |
13854
 
    sed '
13855
 
      s/[$]LINENO.*/&-/
13856
 
      t lineno
13857
 
      b
13858
 
      :lineno
13859
 
      N
13860
 
      :loop
13861
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13862
 
      t loop
13863
 
      s/-\n.*//
13864
 
    ' >$as_me.lineno &&
13865
 
  chmod +x "$as_me.lineno" ||
13866
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13867
 
   { (exit 1); exit 1; }; }
13868
 
 
13869
 
  # Don't try to exec as it changes $[0], causing all sort of problems
13870
 
  # (the dirname of $[0] is not the place where we might find the
13871
 
  # original and so on.  Autoconf is especially sensitive to this).
13872
 
  . "./$as_me.lineno"
13873
 
  # Exit status is that of the last command.
13874
 
  exit
13875
 
}
13876
 
 
13877
 
 
13878
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13879
 
  as_dirname=dirname
13880
 
else
13881
 
  as_dirname=false
13882
 
fi
 
12552
# Avoid depending upon Character Ranges.
 
12553
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
12554
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
12555
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
12556
as_cr_digits='0123456789'
 
12557
as_cr_alnum=$as_cr_Letters$as_cr_digits
13883
12558
 
13884
12559
ECHO_C= ECHO_N= ECHO_T=
13885
 
case `echo -n x` in
 
12560
case `echo -n x` in #(((((
13886
12561
-n*)
13887
 
  case `echo 'x\c'` in
 
12562
  case `echo 'xy\c'` in
13888
12563
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13889
 
  *)   ECHO_C='\c';;
 
12564
  xy)  ECHO_C='\c';;
 
12565
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
12566
       ECHO_T=' ';;
13890
12567
  esac;;
13891
12568
*)
13892
12569
  ECHO_N='-n';;
13893
12570
esac
13894
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
13895
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13896
 
  as_expr=expr
13897
 
else
13898
 
  as_expr=false
13899
 
fi
13900
12571
 
13901
12572
rm -f conf$$ conf$$.exe conf$$.file
13902
12573
if test -d conf$$.dir; then
13925
12596
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13926
12597
rmdir conf$$.dir 2>/dev/null
13927
12598
 
 
12599
 
 
12600
# as_fn_mkdir_p
 
12601
# -------------
 
12602
# Create "$as_dir" as a directory, including parents if necessary.
 
12603
as_fn_mkdir_p ()
 
12604
{
 
12605
 
 
12606
  case $as_dir in #(
 
12607
  -*) as_dir=./$as_dir;;
 
12608
  esac
 
12609
  test -d "$as_dir" || eval $as_mkdir_p || {
 
12610
    as_dirs=
 
12611
    while :; do
 
12612
      case $as_dir in #(
 
12613
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
12614
      *) as_qdir=$as_dir;;
 
12615
      esac
 
12616
      as_dirs="'$as_qdir' $as_dirs"
 
12617
      as_dir=`$as_dirname -- "$as_dir" ||
 
12618
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
12619
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
12620
         X"$as_dir" : 'X\(//\)$' \| \
 
12621
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
12622
$as_echo X"$as_dir" |
 
12623
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
12624
            s//\1/
 
12625
            q
 
12626
          }
 
12627
          /^X\(\/\/\)[^/].*/{
 
12628
            s//\1/
 
12629
            q
 
12630
          }
 
12631
          /^X\(\/\/\)$/{
 
12632
            s//\1/
 
12633
            q
 
12634
          }
 
12635
          /^X\(\/\).*/{
 
12636
            s//\1/
 
12637
            q
 
12638
          }
 
12639
          s/.*/./; q'`
 
12640
      test -d "$as_dir" && break
 
12641
    done
 
12642
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
12643
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
12644
 
 
12645
 
 
12646
} # as_fn_mkdir_p
13928
12647
if mkdir -p . 2>/dev/null; then
13929
 
  as_mkdir_p=:
 
12648
  as_mkdir_p='mkdir -p "$as_dir"'
13930
12649
else
13931
12650
  test -d ./-p && rmdir ./-p
13932
12651
  as_mkdir_p=false
13945
12664
      if test -d "$1"; then
13946
12665
        test -d "$1/.";
13947
12666
      else
13948
 
        case $1 in
 
12667
        case $1 in #(
13949
12668
        -*)set "./$1";;
13950
12669
        esac;
13951
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
12670
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13952
12671
        ???[sx]*):;;*)false;;esac;fi
13953
12672
    '\'' sh
13954
12673
  '
13963
12682
 
13964
12683
 
13965
12684
exec 6>&1
 
12685
## ----------------------------------- ##
 
12686
## Main body of $CONFIG_STATUS script. ##
 
12687
## ----------------------------------- ##
 
12688
_ASEOF
 
12689
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13966
12690
 
13967
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
12691
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12692
# Save the log message, to keep $0 and so on meaningful, and to
13968
12693
# report actual input values of CONFIG_FILES etc. instead of their
13969
12694
# values after options handling.
13970
12695
ac_log="
13971
 
This file was extended by ortp $as_me 0.16.0, which was
13972
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
12696
This file was extended by ortp $as_me 0.16.1, which was
 
12697
generated by GNU Autoconf 2.64.  Invocation command line was
13973
12698
 
13974
12699
  CONFIG_FILES    = $CONFIG_FILES
13975
12700
  CONFIG_HEADERS  = $CONFIG_HEADERS
14001
12726
 
14002
12727
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14003
12728
ac_cs_usage="\
14004
 
\`$as_me' instantiates files from templates according to the
14005
 
current configuration.
 
12729
\`$as_me' instantiates files and other configuration actions
 
12730
from templates according to the current configuration.  Unless the files
 
12731
and actions are specified as TAGs, all are instantiated by default.
14006
12732
 
14007
 
Usage: $0 [OPTION]... [FILE]...
 
12733
Usage: $0 [OPTION]... [TAG]...
14008
12734
 
14009
12735
  -h, --help       print this help, then exit
14010
12736
  -V, --version    print version number and configuration settings, then exit
14026
12752
Configuration commands:
14027
12753
$config_commands
14028
12754
 
14029
 
Report bugs to <bug-autoconf@gnu.org>."
 
12755
Report bugs to the package provider."
14030
12756
 
14031
12757
_ACEOF
14032
12758
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14033
12759
ac_cs_version="\\
14034
 
ortp config.status 0.16.0
14035
 
configured by $0, generated by GNU Autoconf 2.63,
 
12760
ortp config.status 0.16.1
 
12761
configured by $0, generated by GNU Autoconf 2.64,
14036
12762
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14037
12763
 
14038
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
12764
Copyright (C) 2009 Free Software Foundation, Inc.
14039
12765
This config.status script is free software; the Free Software Foundation
14040
12766
gives unlimited permission to copy, distribute and modify it."
14041
12767
 
14042
12768
ac_pwd='$ac_pwd'
14043
12769
srcdir='$srcdir'
14044
12770
INSTALL='$INSTALL'
 
12771
MKDIR_P='$MKDIR_P'
14045
12772
AWK='$AWK'
14046
12773
test -n "\$AWK" || AWK=awk
14047
12774
_ACEOF
14077
12804
    case $ac_optarg in
14078
12805
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14079
12806
    esac
14080
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
12807
    as_fn_append CONFIG_FILES " '$ac_optarg'"
14081
12808
    ac_need_defaults=false;;
14082
12809
  --header | --heade | --head | --hea )
14083
12810
    $ac_shift
14084
12811
    case $ac_optarg in
14085
12812
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14086
12813
    esac
14087
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
12814
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14088
12815
    ac_need_defaults=false;;
14089
12816
  --he | --h)
14090
12817
    # Conflict between --help and --header
14091
 
    { $as_echo "$as_me: error: ambiguous option: $1
14092
 
Try \`$0 --help' for more information." >&2
14093
 
   { (exit 1); exit 1; }; };;
 
12818
    as_fn_error "ambiguous option: \`$1'
 
12819
Try \`$0 --help' for more information.";;
14094
12820
  --help | --hel | -h )
14095
12821
    $as_echo "$ac_cs_usage"; exit ;;
14096
12822
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14098
12824
    ac_cs_silent=: ;;
14099
12825
 
14100
12826
  # This is an error.
14101
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
14102
 
Try \`$0 --help' for more information." >&2
14103
 
   { (exit 1); exit 1; }; } ;;
 
12827
  -*) as_fn_error "unrecognized option: \`$1'
 
12828
Try \`$0 --help' for more information." ;;
14104
12829
 
14105
 
  *) ac_config_targets="$ac_config_targets $1"
 
12830
  *) as_fn_append ac_config_targets " $1"
14106
12831
     ac_need_defaults=false ;;
14107
12832
 
14108
12833
  esac
14153
12878
sed_quote_subst='$sed_quote_subst'
14154
12879
double_quote_subst='$double_quote_subst'
14155
12880
delay_variable_subst='$delay_variable_subst'
 
12881
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
 
12882
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
12883
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14156
12884
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14157
12885
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14158
12886
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14181
12909
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14182
12910
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14183
12911
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14184
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14185
12912
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14186
12913
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14187
12914
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14287
13014
lt_SP2NL \
14288
13015
lt_NL2SP \
14289
13016
reload_flag \
14290
 
OBJDUMP \
14291
13017
deplibs_check_method \
14292
13018
file_magic_cmd \
14293
13019
AR \
14425
13151
    "ortp.spec") CONFIG_FILES="$CONFIG_FILES ortp.spec" ;;
14426
13152
    "ortp.doxygen") CONFIG_FILES="$CONFIG_FILES ortp.doxygen" ;;
14427
13153
 
14428
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14429
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14430
 
   { (exit 1); exit 1; }; };;
 
13154
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14431
13155
  esac
14432
13156
done
14433
13157
 
14454
13178
  trap 'exit_status=$?
14455
13179
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14456
13180
' 0
14457
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
13181
  trap 'as_fn_exit 1' 1 2 13 15
14458
13182
}
14459
13183
# Create a (secure) tmp directory for tmp files.
14460
13184
 
14465
13189
{
14466
13190
  tmp=./conf$$-$RANDOM
14467
13191
  (umask 077 && mkdir "$tmp")
14468
 
} ||
14469
 
{
14470
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
14471
 
   { (exit 1); exit 1; }
14472
 
}
 
13192
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
14473
13193
 
14474
13194
# Set up the scripts for CONFIG_FILES section.
14475
13195
# No need to generate them if there are no CONFIG_FILES.
14477
13197
if test -n "$CONFIG_FILES"; then
14478
13198
 
14479
13199
 
14480
 
ac_cr='
 
 
b"'"
 
13200
ac_cr=`echo X | tr X '\015'`
 
13201
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
13202
# But we know of no other shell where ac_cr would be empty at this
 
13203
# point, so we can use a bashism as a fallback.
 
13204
if test "x$ac_cr" = x; then
 
13205
  eval ac_cr=\$\'\\r\'
 
13206
fi
14481
13207
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14482
13208
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14483
 
  ac_cs_awk_cr='\\r'
 
13209
  ac_cs_awk_cr='\r'
14484
13210
else
14485
13211
  ac_cs_awk_cr=$ac_cr
14486
13212
fi
14494
13220
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14495
13221
  echo "_ACEOF"
14496
13222
} >conf$$subs.sh ||
14497
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14498
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14499
 
   { (exit 1); exit 1; }; }
 
13223
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14500
13224
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14501
13225
ac_delim='%!_!# '
14502
13226
for ac_last_try in false false false false false :; do
14503
13227
  . ./conf$$subs.sh ||
14504
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14505
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14506
 
   { (exit 1); exit 1; }; }
 
13228
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14507
13229
 
14508
13230
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14509
13231
  if test $ac_delim_n = $ac_delim_num; then
14510
13232
    break
14511
13233
  elif $ac_last_try; then
14512
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14513
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14514
 
   { (exit 1); exit 1; }; }
 
13234
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14515
13235
  else
14516
13236
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14517
13237
  fi
14600
13320
else
14601
13321
  cat
14602
13322
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14603
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
14604
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
14605
 
   { (exit 1); exit 1; }; }
 
13323
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
14606
13324
_ACEOF
14607
13325
 
14608
13326
# VPATH may cause trouble with some makes, so we remove $(srcdir),
14643
13361
  if test -z "$ac_t"; then
14644
13362
    break
14645
13363
  elif $ac_last_try; then
14646
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
14647
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
14648
 
   { (exit 1); exit 1; }; }
 
13364
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
14649
13365
  else
14650
13366
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14651
13367
  fi
14730
13446
_ACAWK
14731
13447
_ACEOF
14732
13448
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14733
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
14734
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
14735
 
   { (exit 1); exit 1; }; }
 
13449
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
14736
13450
fi # test -n "$CONFIG_HEADERS"
14737
13451
 
14738
13452
 
14745
13459
  esac
14746
13460
  case $ac_mode$ac_tag in
14747
13461
  :[FHL]*:*);;
14748
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
14749
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
14750
 
   { (exit 1); exit 1; }; };;
 
13462
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
14751
13463
  :[FH]-) ac_tag=-:-;;
14752
13464
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14753
13465
  esac
14775
13487
           [\\/$]*) false;;
14776
13488
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14777
13489
           esac ||
14778
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14779
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14780
 
   { (exit 1); exit 1; }; };;
 
13490
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14781
13491
      esac
14782
13492
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14783
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
13493
      as_fn_append ac_file_inputs " '$ac_f'"
14784
13494
    done
14785
13495
 
14786
13496
    # Let's still pretend it is `configure' which instantiates (i.e., don't
14791
13501
        `' by configure.'
14792
13502
    if test x"$ac_file" != x-; then
14793
13503
      configure_input="$ac_file.  $configure_input"
14794
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
13504
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14795
13505
$as_echo "$as_me: creating $ac_file" >&6;}
14796
13506
    fi
14797
13507
    # Neutralize special characters interpreted by sed in replacement strings.
14804
13514
 
14805
13515
    case $ac_tag in
14806
13516
    *:-:* | *:-) cat >"$tmp/stdin" \
14807
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14808
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14809
 
   { (exit 1); exit 1; }; } ;;
 
13517
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
14810
13518
    esac
14811
13519
    ;;
14812
13520
  esac
14834
13542
            q
14835
13543
          }
14836
13544
          s/.*/./; q'`
14837
 
  { as_dir="$ac_dir"
14838
 
  case $as_dir in #(
14839
 
  -*) as_dir=./$as_dir;;
14840
 
  esac
14841
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14842
 
    as_dirs=
14843
 
    while :; do
14844
 
      case $as_dir in #(
14845
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14846
 
      *) as_qdir=$as_dir;;
14847
 
      esac
14848
 
      as_dirs="'$as_qdir' $as_dirs"
14849
 
      as_dir=`$as_dirname -- "$as_dir" ||
14850
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14851
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
14852
 
         X"$as_dir" : 'X\(//\)$' \| \
14853
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14854
 
$as_echo X"$as_dir" |
14855
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14856
 
            s//\1/
14857
 
            q
14858
 
          }
14859
 
          /^X\(\/\/\)[^/].*/{
14860
 
            s//\1/
14861
 
            q
14862
 
          }
14863
 
          /^X\(\/\/\)$/{
14864
 
            s//\1/
14865
 
            q
14866
 
          }
14867
 
          /^X\(\/\).*/{
14868
 
            s//\1/
14869
 
            q
14870
 
          }
14871
 
          s/.*/./; q'`
14872
 
      test -d "$as_dir" && break
14873
 
    done
14874
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
14875
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14876
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14877
 
   { (exit 1); exit 1; }; }; }
 
13545
  as_dir="$ac_dir"; as_fn_mkdir_p
14878
13546
  ac_builddir=.
14879
13547
 
14880
13548
case "$ac_dir" in
14920
13588
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14921
13589
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14922
13590
  esac
 
13591
  ac_MKDIR_P=$MKDIR_P
 
13592
  case $MKDIR_P in
 
13593
  [\\/$]* | ?:[\\/]* ) ;;
 
13594
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
13595
  esac
14923
13596
_ACEOF
14924
13597
 
14925
13598
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14926
13599
# If the template does not know about datarootdir, expand it.
14927
13600
# FIXME: This hack should be removed a few years after 2.60.
14928
13601
ac_datarootdir_hack=; ac_datarootdir_seen=
14929
 
 
14930
13602
ac_sed_dataroot='
14931
13603
/datarootdir/ {
14932
13604
  p
14936
13608
/@docdir@/p
14937
13609
/@infodir@/p
14938
13610
/@localedir@/p
14939
 
/@mandir@/p
14940
 
'
 
13611
/@mandir@/p'
14941
13612
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14942
13613
*datarootdir*) ac_datarootdir_seen=yes;;
14943
13614
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14944
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
13615
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14945
13616
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14946
13617
_ACEOF
14947
13618
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14951
13622
  s&@infodir@&$infodir&g
14952
13623
  s&@localedir@&$localedir&g
14953
13624
  s&@mandir@&$mandir&g
14954
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
13625
  s&\\\${datarootdir}&$datarootdir&g' ;;
14955
13626
esac
14956
13627
_ACEOF
14957
13628
 
14976
13647
s&@abs_builddir@&$ac_abs_builddir&;t t
14977
13648
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14978
13649
s&@INSTALL@&$ac_INSTALL&;t t
 
13650
s&@MKDIR_P@&$ac_MKDIR_P&;t t
14979
13651
$ac_datarootdir_hack
14980
13652
"
14981
13653
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14982
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14983
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14984
 
   { (exit 1); exit 1; }; }
 
13654
  || as_fn_error "could not create $ac_file" "$LINENO" 5
14985
13655
 
14986
13656
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14987
13657
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14988
13658
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14989
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
13659
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14990
13660
which seems to be undefined.  Please make sure it is defined." >&5
14991
13661
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14992
13662
which seems to be undefined.  Please make sure it is defined." >&2;}
14996
13666
  -) cat "$tmp/out" && rm -f "$tmp/out";;
14997
13667
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14998
13668
  esac \
14999
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15000
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
15001
 
   { (exit 1); exit 1; }; }
 
13669
  || as_fn_error "could not create $ac_file" "$LINENO" 5
15002
13670
 ;;
15003
13671
  :H)
15004
13672
  #
15009
13677
      $as_echo "/* $configure_input  */" \
15010
13678
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15011
13679
    } >"$tmp/config.h" \
15012
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15013
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
15014
 
   { (exit 1); exit 1; }; }
 
13680
      || as_fn_error "could not create $ac_file" "$LINENO" 5
15015
13681
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15016
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
13682
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15017
13683
$as_echo "$as_me: $ac_file is unchanged" >&6;}
15018
13684
    else
15019
13685
      rm -f "$ac_file"
15020
13686
      mv "$tmp/config.h" "$ac_file" \
15021
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15022
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
15023
 
   { (exit 1); exit 1; }; }
 
13687
        || as_fn_error "could not create $ac_file" "$LINENO" 5
15024
13688
    fi
15025
13689
  else
15026
13690
    $as_echo "/* $configure_input  */" \
15027
13691
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15028
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
15029
 
$as_echo "$as_me: error: could not create -" >&2;}
15030
 
   { (exit 1); exit 1; }; }
 
13692
      || as_fn_error "could not create -" "$LINENO" 5
15031
13693
  fi
15032
13694
# Compute "$ac_file"'s index in $config_headers.
 
13695
_am_arg="$ac_file"
15033
13696
_am_stamp_count=1
15034
13697
for _am_header in $config_headers :; do
15035
13698
  case $_am_header in
15036
 
    "$ac_file" | "$ac_file":* )
 
13699
    $_am_arg | $_am_arg:* )
15037
13700
      break ;;
15038
13701
    * )
15039
13702
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15040
13703
  esac
15041
13704
done
15042
 
echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
15043
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15044
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
15045
 
         X"$ac_file" : 'X\(//\)$' \| \
15046
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15047
 
$as_echo X"$ac_file" |
 
13705
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
13706
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
13707
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
13708
         X"$_am_arg" : 'X\(//\)$' \| \
 
13709
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
13710
$as_echo X"$_am_arg" |
15048
13711
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15049
13712
            s//\1/
15050
13713
            q
15064
13727
          s/.*/./; q'`/stamp-h$_am_stamp_count
15065
13728
 ;;
15066
13729
 
15067
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
13730
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15068
13731
$as_echo "$as_me: executing $ac_file commands" >&6;}
15069
13732
 ;;
15070
13733
  esac
15071
13734
 
15072
13735
 
15073
13736
  case $ac_file$ac_mode in
15074
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
15075
 
  # Strip MF so we end up with the name of the file.
15076
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
15077
 
  # Check whether this is an Automake generated Makefile or not.
15078
 
  # We used to match only the files named `Makefile.in', but
15079
 
  # some people rename them; so instead we look at the file content.
15080
 
  # Grep'ing the first line is not enough: some people post-process
15081
 
  # each Makefile.in and add a new line on top of each file to say so.
15082
 
  # So let's grep whole file.
15083
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
15084
 
    dirpart=`$as_dirname -- "$mf" ||
 
13737
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
13738
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
13739
  # are listed without --file.  Let's play safe and only enable the eval
 
13740
  # if we detect the quoting.
 
13741
  case $CONFIG_FILES in
 
13742
  *\'*) eval set x "$CONFIG_FILES" ;;
 
13743
  *)   set x $CONFIG_FILES ;;
 
13744
  esac
 
13745
  shift
 
13746
  for mf
 
13747
  do
 
13748
    # Strip MF so we end up with the name of the file.
 
13749
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
13750
    # Check whether this is an Automake generated Makefile or not.
 
13751
    # We used to match only the files named `Makefile.in', but
 
13752
    # some people rename them; so instead we look at the file content.
 
13753
    # Grep'ing the first line is not enough: some people post-process
 
13754
    # each Makefile.in and add a new line on top of each file to say so.
 
13755
    # Grep'ing the whole file is not good either: AIX grep has a line
 
13756
    # limit of 2048, but all sed's we know have understand at least 4000.
 
13757
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
13758
      dirpart=`$as_dirname -- "$mf" ||
15085
13759
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15086
13760
         X"$mf" : 'X\(//\)[^/]' \| \
15087
13761
         X"$mf" : 'X\(//\)$' \| \
15104
13778
            q
15105
13779
          }
15106
13780
          s/.*/./; q'`
15107
 
  else
15108
 
    continue
15109
 
  fi
15110
 
  # Extract the definition of DEPDIR, am__include, and am__quote
15111
 
  # from the Makefile without running `make'.
15112
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15113
 
  test -z "$DEPDIR" && continue
15114
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
15115
 
  test -z "am__include" && continue
15116
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15117
 
  # When using ansi2knr, U may be empty or an underscore; expand it
15118
 
  U=`sed -n 's/^U = //p' < "$mf"`
15119
 
  # Find all dependency output files, they are included files with
15120
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
15121
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
15122
 
  # expansion.
15123
 
  for file in `sed -n "
15124
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15125
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15126
 
    # Make sure the directory exists.
15127
 
    test -f "$dirpart/$file" && continue
15128
 
    fdir=`$as_dirname -- "$file" ||
 
13781
    else
 
13782
      continue
 
13783
    fi
 
13784
    # Extract the definition of DEPDIR, am__include, and am__quote
 
13785
    # from the Makefile without running `make'.
 
13786
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
13787
    test -z "$DEPDIR" && continue
 
13788
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
13789
    test -z "am__include" && continue
 
13790
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
13791
    # When using ansi2knr, U may be empty or an underscore; expand it
 
13792
    U=`sed -n 's/^U = //p' < "$mf"`
 
13793
    # Find all dependency output files, they are included files with
 
13794
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
13795
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
13796
    # expansion.
 
13797
    for file in `sed -n "
 
13798
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
13799
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
13800
      # Make sure the directory exists.
 
13801
      test -f "$dirpart/$file" && continue
 
13802
      fdir=`$as_dirname -- "$file" ||
15129
13803
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15130
13804
         X"$file" : 'X\(//\)[^/]' \| \
15131
13805
         X"$file" : 'X\(//\)$' \| \
15148
13822
            q
15149
13823
          }
15150
13824
          s/.*/./; q'`
15151
 
    { as_dir=$dirpart/$fdir
15152
 
  case $as_dir in #(
15153
 
  -*) as_dir=./$as_dir;;
15154
 
  esac
15155
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
15156
 
    as_dirs=
15157
 
    while :; do
15158
 
      case $as_dir in #(
15159
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15160
 
      *) as_qdir=$as_dir;;
15161
 
      esac
15162
 
      as_dirs="'$as_qdir' $as_dirs"
15163
 
      as_dir=`$as_dirname -- "$as_dir" ||
15164
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15165
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
15166
 
         X"$as_dir" : 'X\(//\)$' \| \
15167
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15168
 
$as_echo X"$as_dir" |
15169
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15170
 
            s//\1/
15171
 
            q
15172
 
          }
15173
 
          /^X\(\/\/\)[^/].*/{
15174
 
            s//\1/
15175
 
            q
15176
 
          }
15177
 
          /^X\(\/\/\)$/{
15178
 
            s//\1/
15179
 
            q
15180
 
          }
15181
 
          /^X\(\/\).*/{
15182
 
            s//\1/
15183
 
            q
15184
 
          }
15185
 
          s/.*/./; q'`
15186
 
      test -d "$as_dir" && break
 
13825
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
13826
      # echo "creating $dirpart/$file"
 
13827
      echo '# dummy' > "$dirpart/$file"
15187
13828
    done
15188
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
15189
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15190
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
15191
 
   { (exit 1); exit 1; }; }; }
15192
 
    # echo "creating $dirpart/$file"
15193
 
    echo '# dummy' > "$dirpart/$file"
15194
13829
  done
15195
 
done
 
13830
}
15196
13831
 ;;
15197
13832
    "libtool":C)
15198
13833
 
15247
13882
 
15248
13883
# ### BEGIN LIBTOOL CONFIG
15249
13884
 
 
13885
# Assembler program.
 
13886
AS=$AS
 
13887
 
 
13888
# DLL creation program.
 
13889
DLLTOOL=$DLLTOOL
 
13890
 
 
13891
# Object dumper program.
 
13892
OBJDUMP=$OBJDUMP
 
13893
 
15250
13894
# Which release of libtool.m4 was used?
15251
13895
macro_version=$macro_version
15252
13896
macro_revision=$macro_revision
15316
13960
reload_flag=$lt_reload_flag
15317
13961
reload_cmds=$lt_reload_cmds
15318
13962
 
15319
 
# An object symbol dumper.
15320
 
OBJDUMP=$lt_OBJDUMP
15321
 
 
15322
13963
# Method to check whether dependent libraries are shared objects.
15323
13964
deplibs_check_method=$lt_deplibs_check_method
15324
13965
 
15834
14475
done # for ac_tag
15835
14476
 
15836
14477
 
15837
 
{ (exit 0); exit 0; }
 
14478
as_fn_exit 0
15838
14479
_ACEOF
15839
 
chmod +x $CONFIG_STATUS
15840
14480
ac_clean_files=$ac_clean_files_save
15841
14481
 
15842
14482
test $ac_write_fail = 0 ||
15843
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
15844
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
15845
 
   { (exit 1); exit 1; }; }
 
14483
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15846
14484
 
15847
14485
 
15848
14486
# configure is writing to config.log, and then calls config.status.
15863
14501
  exec 5>>config.log
15864
14502
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15865
14503
  # would make configure fail if this is the last instruction.
15866
 
  $ac_cs_success || { (exit 1); exit 1; }
 
14504
  $ac_cs_success || as_fn_exit $?
15867
14505
fi
15868
14506
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15869
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
14507
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15870
14508
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15871
14509
fi
15872
14510
 
15873
14511
 
15874
 
{ $as_echo "$as_me:$LINENO: WARNING: ortp-0.15.0 breaks compatibility with older releases, because value returned by rtp_session_recvm_with_ts() has
 
14512
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ortp-0.15.0 breaks compatibility with older releases, because value returned by rtp_session_recvm_with_ts() has
15875
14513
        changed. See the API documentation in doc/ for further readings." >&5
15876
14514
$as_echo "$as_me: WARNING: ortp-0.15.0 breaks compatibility with older releases, because value returned by rtp_session_recvm_with_ts() has
15877
14515
        changed. See the API documentation in doc/ for further readings." >&2;}