~ubuntu-branches/ubuntu/natty/gst-entrans/natty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2010-09-13 19:49:29 UTC
  • Revision ID: james.westby@ubuntu.com-20100913194929-qz90a14xyxln9yfz
Tags: upstream-0.10.2
ImportĀ upstreamĀ versionĀ 0.10.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# Guess values for system-dependent variables and create Makefiles.
 
3
# Generated by GNU Autoconf 2.63 for GStreamer Entrans 0.10.2.
 
4
#
 
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
7
# This configure script is free software; the Free Software Foundation
 
8
# gives unlimited permission to copy, distribute and modify it.
 
9
## --------------------- ##
 
10
## M4sh Initialization.  ##
 
11
## --------------------- ##
 
12
 
 
13
# Be more Bourne compatible
 
14
DUALCASE=1; export DUALCASE # for MKS sh
 
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
16
  emulate sh
 
17
  NULLCMD=:
 
18
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
19
  # is contrary to our usage.  Disable this feature.
 
20
  alias -g '${1+"$@"}'='"$@"'
 
21
  setopt NO_GLOB_SUBST
 
22
else
 
23
  case `(set -o) 2>/dev/null` in
 
24
  *posix*) set -o posix ;;
 
25
esac
 
26
 
 
27
fi
 
28
 
 
29
 
 
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
as_nl='
 
41
'
 
42
export as_nl
 
43
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
44
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
46
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
 
48
  as_echo='printf %s\n'
 
49
  as_echo_n='printf %s'
 
50
else
 
51
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
52
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
53
    as_echo_n='/usr/ucb/echo -n'
 
54
  else
 
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
56
    as_echo_n_body='eval
 
57
      arg=$1;
 
58
      case $arg in
 
59
      *"$as_nl"*)
 
60
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
61
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
62
      esac;
 
63
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
64
    '
 
65
    export as_echo_n_body
 
66
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
67
  fi
 
68
  export as_echo_body
 
69
  as_echo='sh -c $as_echo_body as_echo'
 
70
fi
 
71
 
 
72
# The user is always right.
 
73
if test "${PATH_SEPARATOR+set}" != set; then
 
74
  PATH_SEPARATOR=:
 
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
77
      PATH_SEPARATOR=';'
 
78
  }
 
79
fi
 
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
 
 
89
# IFS
 
90
# We need space, tab and new line, in precisely that order.  Quoting is
 
91
# there to prevent editors from complaining about space-tab.
 
92
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
93
# splitting by setting IFS to empty value.)
 
94
IFS=" ""        $as_nl"
 
95
 
 
96
# Find who we are.  Look in the path if we contain no directory separator.
 
97
case $0 in
 
98
  *[\\/]* ) as_myself=$0 ;;
 
99
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
100
for as_dir in $PATH
 
101
do
 
102
  IFS=$as_save_IFS
 
103
  test -z "$as_dir" && as_dir=.
 
104
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
105
done
 
106
IFS=$as_save_IFS
 
107
 
 
108
     ;;
 
109
esac
 
110
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
111
# in which case we are not to be found in the path.
 
112
if test "x$as_myself" = x; then
 
113
  as_myself=$0
 
114
fi
 
115
if test ! -f "$as_myself"; then
 
116
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
117
  { (exit 1); exit 1; }
 
118
fi
 
119
 
 
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
 
123
done
 
124
PS1='$ '
 
125
PS2='> '
 
126
PS4='+ '
 
127
 
 
128
# NLS nuisances.
 
129
LC_ALL=C
 
130
export LC_ALL
 
131
LANGUAGE=C
 
132
export LANGUAGE
 
133
 
 
134
# 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
# CDPATH.
 
170
$as_unset CDPATH
 
171
 
 
172
 
 
173
if test "x$CONFIG_SHELL" = x; then
 
174
  if (eval ":") 2>/dev/null; then
 
175
  as_have_required=yes
 
176
else
 
177
  as_have_required=no
 
178
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
 
241
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
242
do
 
243
  IFS=$as_save_IFS
 
244
  test -z "$as_dir" && as_dir=.
 
245
  case $as_dir in
 
246
         /*)
 
247
           for as_base in sh bash ksh sh5; do
 
248
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
249
           done;;
 
250
       esac
 
251
done
 
252
IFS=$as_save_IFS
 
253
 
 
254
 
 
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
 
365
        export CONFIG_SHELL
 
366
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
367
fi
 
368
 
 
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.  :-)
 
458
  sed -n '
 
459
    p
 
460
    /[$]LINENO/=
 
461
  ' <$as_myself |
 
462
    sed '
 
463
      s/[$]LINENO.*/&-/
 
464
      t lineno
 
465
      b
 
466
      :lineno
 
467
      N
 
468
      :loop
 
469
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
470
      t loop
 
471
      s/-\n.*//
 
472
    ' >$as_me.lineno &&
 
473
  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; }; }
 
476
 
 
477
  # Don't try to exec as it changes $[0], causing all sort of problems
 
478
  # (the dirname of $[0] is not the place where we might find the
 
479
  # original and so on.  Autoconf is especially sensitive to this).
 
480
  . "./$as_me.lineno"
 
481
  # Exit status is that of the last command.
 
482
  exit
 
483
}
 
484
 
 
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
ECHO_C= ECHO_N= ECHO_T=
 
493
case `echo -n x` in
 
494
-n*)
 
495
  case `echo 'x\c'` in
 
496
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
497
  *)   ECHO_C='\c';;
 
498
  esac;;
 
499
*)
 
500
  ECHO_N='-n';;
 
501
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
 
 
509
rm -f conf$$ conf$$.exe conf$$.file
 
510
if test -d conf$$.dir; then
 
511
  rm -f conf$$.dir/conf$$.file
 
512
else
 
513
  rm -f conf$$.dir
 
514
  mkdir conf$$.dir 2>/dev/null
 
515
fi
 
516
if (echo >conf$$.file) 2>/dev/null; then
 
517
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
518
    as_ln_s='ln -s'
 
519
    # ... but there are two gotchas:
 
520
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
521
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
522
    # In both cases, we have to default to `cp -p'.
 
523
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
524
      as_ln_s='cp -p'
 
525
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
526
    as_ln_s=ln
 
527
  else
 
528
    as_ln_s='cp -p'
 
529
  fi
 
530
else
 
531
  as_ln_s='cp -p'
 
532
fi
 
533
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
534
rmdir conf$$.dir 2>/dev/null
 
535
 
 
536
if mkdir -p . 2>/dev/null; then
 
537
  as_mkdir_p=:
 
538
else
 
539
  test -d ./-p && rmdir ./-p
 
540
  as_mkdir_p=false
 
541
fi
 
542
 
 
543
if test -x / >/dev/null 2>&1; then
 
544
  as_test_x='test -x'
 
545
else
 
546
  if ls -dL / >/dev/null 2>&1; then
 
547
    as_ls_L_option=L
 
548
  else
 
549
    as_ls_L_option=
 
550
  fi
 
551
  as_test_x='
 
552
    eval sh -c '\''
 
553
      if test -d "$1"; then
 
554
        test -d "$1/.";
 
555
      else
 
556
        case $1 in
 
557
        -*)set "./$1";;
 
558
        esac;
 
559
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
560
        ???[sx]*):;;*)false;;esac;fi
 
561
    '\'' sh
 
562
  '
 
563
fi
 
564
as_executable_p=$as_test_x
 
565
 
 
566
# Sed expression to map a string onto a valid CPP name.
 
567
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
568
 
 
569
# Sed expression to map a string onto a valid variable name.
 
570
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
571
 
 
572
 
 
573
 
 
574
 
 
575
# Check that we are running under the correct shell.
 
576
SHELL=${CONFIG_SHELL-/bin/sh}
 
577
 
 
578
case X$lt_ECHO in
 
579
X*--fallback-echo)
 
580
  # Remove one level of quotation (which was required for Make).
 
581
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
582
  ;;
 
583
esac
 
584
 
 
585
ECHO=${lt_ECHO-echo}
 
586
if test "X$1" = X--no-reexec; then
 
587
  # Discard the --no-reexec flag, and continue.
 
588
  shift
 
589
elif test "X$1" = X--fallback-echo; then
 
590
  # Avoid inline document here, it may be left over
 
591
  :
 
592
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
593
  # Yippee, $ECHO works!
 
594
  :
 
595
else
 
596
  # Restart under the correct shell.
 
597
  exec $SHELL "$0" --no-reexec ${1+"$@"}
 
598
fi
 
599
 
 
600
if test "X$1" = X--fallback-echo; then
 
601
  # used as fallback echo
 
602
  shift
 
603
  cat <<_LT_EOF
 
604
$*
 
605
_LT_EOF
 
606
  exit 0
 
607
fi
 
608
 
 
609
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
610
# if CDPATH is set.
 
611
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
612
 
 
613
if test -z "$lt_ECHO"; then
 
614
  if test "X${echo_test_string+set}" != Xset; then
 
615
    # find a string as large as possible, as long as the shell can cope with it
 
616
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
617
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
618
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
619
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
620
      then
 
621
        break
 
622
      fi
 
623
    done
 
624
  fi
 
625
 
 
626
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
627
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
628
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
629
    :
 
630
  else
 
631
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
632
    # backslashes.  This makes it impossible to quote backslashes using
 
633
    #   echo "$something" | sed 's/\\/\\\\/g'
 
634
    #
 
635
    # So, first we look for a working echo in the user's PATH.
 
636
 
 
637
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
638
    for dir in $PATH /usr/ucb; do
 
639
      IFS="$lt_save_ifs"
 
640
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
641
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
642
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
643
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
644
        ECHO="$dir/echo"
 
645
        break
 
646
      fi
 
647
    done
 
648
    IFS="$lt_save_ifs"
 
649
 
 
650
    if test "X$ECHO" = Xecho; then
 
651
      # We didn't find a better echo, so look for alternatives.
 
652
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
653
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
654
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
655
        # This shell has a builtin print -r that does the trick.
 
656
        ECHO='print -r'
 
657
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
658
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
659
        # If we have ksh, try running configure again with it.
 
660
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
661
        export ORIGINAL_CONFIG_SHELL
 
662
        CONFIG_SHELL=/bin/ksh
 
663
        export CONFIG_SHELL
 
664
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
 
665
      else
 
666
        # Try using printf.
 
667
        ECHO='printf %s\n'
 
668
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
669
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
670
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
671
          # Cool, printf works
 
672
          :
 
673
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
674
             test "X$echo_testing_string" = 'X\t' &&
 
675
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
676
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
677
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
678
          export CONFIG_SHELL
 
679
          SHELL="$CONFIG_SHELL"
 
680
          export SHELL
 
681
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
682
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
683
             test "X$echo_testing_string" = 'X\t' &&
 
684
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
685
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
686
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
687
        else
 
688
          # maybe with a smaller string...
 
689
          prev=:
 
690
 
 
691
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
692
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
693
            then
 
694
              break
 
695
            fi
 
696
            prev="$cmd"
 
697
          done
 
698
 
 
699
          if test "$prev" != 'sed 50q "$0"'; then
 
700
            echo_test_string=`eval $prev`
 
701
            export echo_test_string
 
702
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
703
          else
 
704
            # Oops.  We lost completely, so just stick with echo.
 
705
            ECHO=echo
 
706
          fi
 
707
        fi
 
708
      fi
 
709
    fi
 
710
  fi
 
711
fi
 
712
 
 
713
# Copy echo and quote the copy suitably for passing to libtool from
 
714
# the Makefile, instead of quoting the original, which is used later.
 
715
lt_ECHO=$ECHO
 
716
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
717
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
718
fi
 
719
 
 
720
 
 
721
 
 
722
 
 
723
exec 7<&0 </dev/null 6>&1
 
724
 
 
725
# Name of the host.
 
726
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
727
# so uname gets run too.
 
728
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
729
 
 
730
#
 
731
# Initializations.
 
732
#
 
733
ac_default_prefix=/usr/local
 
734
ac_clean_files=
 
735
ac_config_libobj_dir=.
 
736
LIBOBJS=
 
737
cross_compiling=no
 
738
subdirs=
 
739
MFLAGS=
 
740
MAKEFLAGS=
 
741
SHELL=${CONFIG_SHELL-/bin/sh}
 
742
 
 
743
# Identity of this package.
 
744
PACKAGE_NAME='GStreamer Entrans'
 
745
PACKAGE_TARNAME='gst-entrans'
 
746
PACKAGE_VERSION='0.10.2'
 
747
PACKAGE_STRING='GStreamer Entrans 0.10.2'
 
748
PACKAGE_BUGREPORT=''
 
749
 
 
750
ac_unique_file="tools/entrans.py"
 
751
# Factoring default headers for most tests.
 
752
ac_includes_default="\
 
753
#include <stdio.h>
 
754
#ifdef HAVE_SYS_TYPES_H
 
755
# include <sys/types.h>
 
756
#endif
 
757
#ifdef HAVE_SYS_STAT_H
 
758
# include <sys/stat.h>
 
759
#endif
 
760
#ifdef STDC_HEADERS
 
761
# include <stdlib.h>
 
762
# include <stddef.h>
 
763
#else
 
764
# ifdef HAVE_STDLIB_H
 
765
#  include <stdlib.h>
 
766
# endif
 
767
#endif
 
768
#ifdef HAVE_STRING_H
 
769
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
770
#  include <memory.h>
 
771
# endif
 
772
# include <string.h>
 
773
#endif
 
774
#ifdef HAVE_STRINGS_H
 
775
# include <strings.h>
 
776
#endif
 
777
#ifdef HAVE_INTTYPES_H
 
778
# include <inttypes.h>
 
779
#endif
 
780
#ifdef HAVE_STDINT_H
 
781
# include <stdint.h>
 
782
#endif
 
783
#ifdef HAVE_UNISTD_H
 
784
# include <unistd.h>
 
785
#endif"
 
786
 
 
787
ac_subst_vars='LTLIBOBJS
 
788
LIBOBJS
 
789
GST_PLUGIN_LDFLAGS
 
790
plugindir
 
791
GSTPB_BASE_LIBS
 
792
GSTPB_BASE_CFLAGS
 
793
HAVE_VALGRIND_FALSE
 
794
HAVE_VALGRIND_TRUE
 
795
VALGRIND_PATH
 
796
HAVE_CHECK_FALSE
 
797
HAVE_CHECK_TRUE
 
798
CHECK_LIBS
 
799
CHECK_CFLAGS
 
800
GST_CHECK_LIBS
 
801
GST_CHECK_CFLAGS
 
802
GST_CONTROLLER_LIBS
 
803
GST_CONTROLLER_CFLAGS
 
804
GST_BASE_LIBS
 
805
GST_BASE_CFLAGS
 
806
GST_MAJORMINOR
 
807
GST_OPTION_CFLAGS
 
808
DEPRECATED_CFLAGS
 
809
PROFILE_CFLAGS
 
810
GST_LIBS
 
811
GST_CFLAGS
 
812
LIBOIL_LIBS
 
813
LIBOIL_CFLAGS
 
814
HAVE_PKGCONFIG
 
815
ENABLE_PLUGIN_DOCS_FALSE
 
816
ENABLE_PLUGIN_DOCS_TRUE
 
817
pkgpyexecdir
 
818
pyexecdir
 
819
pkgpythondir
 
820
pythondir
 
821
PYTHON_PLATFORM
 
822
PYTHON_EXEC_PREFIX
 
823
PYTHON_PREFIX
 
824
PYTHON_VERSION
 
825
PYTHON
 
826
GTK_DOC_USE_LIBTOOL_FALSE
 
827
GTK_DOC_USE_LIBTOOL_TRUE
 
828
ENABLE_GTK_DOC_FALSE
 
829
ENABLE_GTK_DOC_TRUE
 
830
PKG_CONFIG
 
831
HTML_DIR
 
832
docbook2x_PROGRAM
 
833
ENABLE_DOCBOOK2X_FALSE
 
834
ENABLE_DOCBOOK2X_TRUE
 
835
HAVE_DOCBOOK2MAN
 
836
HAVE_DOCBOOK2X
 
837
DOC_PS_FALSE
 
838
DOC_PS_TRUE
 
839
DOC_PDF_FALSE
 
840
DOC_PDF_TRUE
 
841
DOC_HTML_FALSE
 
842
DOC_HTML_TRUE
 
843
ENABLE_DOCBOOK_FALSE
 
844
ENABLE_DOCBOOK_TRUE
 
845
HAVE_EPSTOPDF
 
846
HAVE_PNMTOPS
 
847
HAVE_PNGTOPNM
 
848
HAVE_FIG2DEV
 
849
HAVE_XMLLINT
 
850
HAVE_DVIPS
 
851
CAT_ENTRY_END
 
852
CAT_ENTRY_START
 
853
DOCBOOK_ROOT
 
854
XSLTPROC_FLAGS
 
855
XML_CATALOG
 
856
XSLTPROC
 
857
HAVE_PS2PDF
 
858
HAVE_JADETEX
 
859
HAVE_DOCBOOK2HTML
 
860
HAVE_DOCBOOK2PS
 
861
PERL_PATH
 
862
CPP
 
863
OTOOL64
 
864
OTOOL
 
865
LIPO
 
866
NMEDIT
 
867
DSYMUTIL
 
868
lt_ECHO
 
869
RANLIB
 
870
AR
 
871
OBJDUMP
 
872
LN_S
 
873
NM
 
874
ac_ct_DUMPBIN
 
875
DUMPBIN
 
876
LD
 
877
FGREP
 
878
EGREP
 
879
GREP
 
880
SED
 
881
LIBTOOL
 
882
am__fastdepCCAS_FALSE
 
883
am__fastdepCCAS_TRUE
 
884
CCASDEPMODE
 
885
CCAS
 
886
GST_GCOV_ENABLED_FALSE
 
887
GST_GCOV_ENABLED_TRUE
 
888
CCASFLAGS
 
889
FFLAGS
 
890
CXXFLAGS
 
891
GCOV
 
892
GCOV_LIBS
 
893
GCOV_CFLAGS
 
894
LOCALEDIR
 
895
GETTEXT_PACKAGE
 
896
POSUB
 
897
LTLIBINTL
 
898
LIBINTL
 
899
INTLLIBS
 
900
LTLIBICONV
 
901
LIBICONV
 
902
USE_NLS
 
903
host_os
 
904
host_vendor
 
905
host_cpu
 
906
host
 
907
build_os
 
908
build_vendor
 
909
build_cpu
 
910
build
 
911
am__fastdepCC_FALSE
 
912
am__fastdepCC_TRUE
 
913
CCDEPMODE
 
914
AMDEPBACKSLASH
 
915
AMDEP_FALSE
 
916
AMDEP_TRUE
 
917
am__quote
 
918
am__include
 
919
DEPDIR
 
920
OBJEXT
 
921
EXEEXT
 
922
ac_ct_CC
 
923
CPPFLAGS
 
924
LDFLAGS
 
925
CFLAGS
 
926
CC
 
927
MSGMERGE
 
928
XGETTEXT
 
929
GMSGFMT
 
930
MSGFMT
 
931
MKINSTALLDIRS
 
932
ACLOCAL_AMFLAGS
 
933
MAINT
 
934
MAINTAINER_MODE_FALSE
 
935
MAINTAINER_MODE_TRUE
 
936
PACKAGE_VERSION_RELEASE
 
937
PACKAGE_VERSION_NANO
 
938
PACKAGE_VERSION_MICRO
 
939
PACKAGE_VERSION_MINOR
 
940
PACKAGE_VERSION_MAJOR
 
941
am__untar
 
942
am__tar
 
943
AMTAR
 
944
am__leading_dot
 
945
SET_MAKE
 
946
AWK
 
947
mkdir_p
 
948
MKDIR_P
 
949
INSTALL_STRIP_PROGRAM
 
950
STRIP
 
951
install_sh
 
952
MAKEINFO
 
953
AUTOHEADER
 
954
AUTOMAKE
 
955
AUTOCONF
 
956
ACLOCAL
 
957
VERSION
 
958
PACKAGE
 
959
CYGPATH_W
 
960
am__isrc
 
961
INSTALL_DATA
 
962
INSTALL_SCRIPT
 
963
INSTALL_PROGRAM
 
964
target_alias
 
965
host_alias
 
966
build_alias
 
967
LIBS
 
968
ECHO_T
 
969
ECHO_N
 
970
ECHO_C
 
971
DEFS
 
972
mandir
 
973
localedir
 
974
libdir
 
975
psdir
 
976
pdfdir
 
977
dvidir
 
978
htmldir
 
979
infodir
 
980
docdir
 
981
oldincludedir
 
982
includedir
 
983
localstatedir
 
984
sharedstatedir
 
985
sysconfdir
 
986
datadir
 
987
datarootdir
 
988
libexecdir
 
989
sbindir
 
990
bindir
 
991
program_transform_name
 
992
prefix
 
993
exec_prefix
 
994
PACKAGE_BUGREPORT
 
995
PACKAGE_STRING
 
996
PACKAGE_VERSION
 
997
PACKAGE_TARNAME
 
998
PACKAGE_NAME
 
999
PATH_SEPARATOR
 
1000
SHELL'
 
1001
ac_subst_files=''
 
1002
ac_user_opts='
 
1003
enable_option_checking
 
1004
enable_maintainer_mode
 
1005
enable_dependency_tracking
 
1006
with_gnu_ld
 
1007
enable_rpath
 
1008
with_libiconv_prefix
 
1009
enable_nls
 
1010
with_libintl_prefix
 
1011
enable_debug
 
1012
enable_profiling
 
1013
enable_gcov
 
1014
enable_shared
 
1015
enable_static
 
1016
with_pic
 
1017
enable_fast_install
 
1018
enable_libtool_lock
 
1019
enable_docbook
 
1020
enable_docbook2x
 
1021
with_html_dir
 
1022
enable_gtk_doc
 
1023
with_check
 
1024
with_checklibname
 
1025
'
 
1026
      ac_precious_vars='build_alias
 
1027
host_alias
 
1028
target_alias
 
1029
CC
 
1030
CFLAGS
 
1031
LDFLAGS
 
1032
LIBS
 
1033
CPPFLAGS
 
1034
CCAS
 
1035
CCASFLAGS
 
1036
CPP
 
1037
PKG_CONFIG
 
1038
LIBOIL_CFLAGS
 
1039
LIBOIL_LIBS
 
1040
GST_CFLAGS
 
1041
GST_LIBS
 
1042
GST_BASE_CFLAGS
 
1043
GST_BASE_LIBS
 
1044
GST_CONTROLLER_CFLAGS
 
1045
GST_CONTROLLER_LIBS
 
1046
GST_CHECK_CFLAGS
 
1047
GST_CHECK_LIBS
 
1048
GSTPB_BASE_CFLAGS
 
1049
GSTPB_BASE_LIBS'
 
1050
 
 
1051
 
 
1052
# Initialize some variables set by options.
 
1053
ac_init_help=
 
1054
ac_init_version=false
 
1055
ac_unrecognized_opts=
 
1056
ac_unrecognized_sep=
 
1057
# The variables have the same names as the options, with
 
1058
# dashes changed to underlines.
 
1059
cache_file=/dev/null
 
1060
exec_prefix=NONE
 
1061
no_create=
 
1062
no_recursion=
 
1063
prefix=NONE
 
1064
program_prefix=NONE
 
1065
program_suffix=NONE
 
1066
program_transform_name=s,x,x,
 
1067
silent=
 
1068
site=
 
1069
srcdir=
 
1070
verbose=
 
1071
x_includes=NONE
 
1072
x_libraries=NONE
 
1073
 
 
1074
# Installation directory options.
 
1075
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
1076
# and all the variables that are supposed to be based on exec_prefix
 
1077
# by default will actually change.
 
1078
# Use braces instead of parens because sh, perl, etc. also accept them.
 
1079
# (The list follows the same order as the GNU Coding Standards.)
 
1080
bindir='${exec_prefix}/bin'
 
1081
sbindir='${exec_prefix}/sbin'
 
1082
libexecdir='${exec_prefix}/libexec'
 
1083
datarootdir='${prefix}/share'
 
1084
datadir='${datarootdir}'
 
1085
sysconfdir='${prefix}/etc'
 
1086
sharedstatedir='${prefix}/com'
 
1087
localstatedir='${prefix}/var'
 
1088
includedir='${prefix}/include'
 
1089
oldincludedir='/usr/include'
 
1090
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
1091
infodir='${datarootdir}/info'
 
1092
htmldir='${docdir}'
 
1093
dvidir='${docdir}'
 
1094
pdfdir='${docdir}'
 
1095
psdir='${docdir}'
 
1096
libdir='${exec_prefix}/lib'
 
1097
localedir='${datarootdir}/locale'
 
1098
mandir='${datarootdir}/man'
 
1099
 
 
1100
ac_prev=
 
1101
ac_dashdash=
 
1102
for ac_option
 
1103
do
 
1104
  # If the previous option needs an argument, assign it.
 
1105
  if test -n "$ac_prev"; then
 
1106
    eval $ac_prev=\$ac_option
 
1107
    ac_prev=
 
1108
    continue
 
1109
  fi
 
1110
 
 
1111
  case $ac_option in
 
1112
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1113
  *)    ac_optarg=yes ;;
 
1114
  esac
 
1115
 
 
1116
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
1117
 
 
1118
  case $ac_dashdash$ac_option in
 
1119
  --)
 
1120
    ac_dashdash=yes ;;
 
1121
 
 
1122
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
1123
    ac_prev=bindir ;;
 
1124
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
1125
    bindir=$ac_optarg ;;
 
1126
 
 
1127
  -build | --build | --buil | --bui | --bu)
 
1128
    ac_prev=build_alias ;;
 
1129
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
1130
    build_alias=$ac_optarg ;;
 
1131
 
 
1132
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
1133
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
1134
    ac_prev=cache_file ;;
 
1135
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
1136
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
1137
    cache_file=$ac_optarg ;;
 
1138
 
 
1139
  --config-cache | -C)
 
1140
    cache_file=config.cache ;;
 
1141
 
 
1142
  -datadir | --datadir | --datadi | --datad)
 
1143
    ac_prev=datadir ;;
 
1144
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
1145
    datadir=$ac_optarg ;;
 
1146
 
 
1147
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1148
  | --dataroo | --dataro | --datar)
 
1149
    ac_prev=datarootdir ;;
 
1150
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1151
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1152
    datarootdir=$ac_optarg ;;
 
1153
 
 
1154
  -disable-* | --disable-*)
 
1155
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1156
    # Reject names that are not valid shell variable names.
 
1157
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1158
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
 
1159
   { (exit 1); exit 1; }; }
 
1160
    ac_useropt_orig=$ac_useropt
 
1161
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1162
    case $ac_user_opts in
 
1163
      *"
 
1164
"enable_$ac_useropt"
 
1165
"*) ;;
 
1166
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1167
         ac_unrecognized_sep=', ';;
 
1168
    esac
 
1169
    eval enable_$ac_useropt=no ;;
 
1170
 
 
1171
  -docdir | --docdir | --docdi | --doc | --do)
 
1172
    ac_prev=docdir ;;
 
1173
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1174
    docdir=$ac_optarg ;;
 
1175
 
 
1176
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1177
    ac_prev=dvidir ;;
 
1178
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1179
    dvidir=$ac_optarg ;;
 
1180
 
 
1181
  -enable-* | --enable-*)
 
1182
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1183
    # Reject names that are not valid shell variable names.
 
1184
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1185
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
 
1186
   { (exit 1); exit 1; }; }
 
1187
    ac_useropt_orig=$ac_useropt
 
1188
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1189
    case $ac_user_opts in
 
1190
      *"
 
1191
"enable_$ac_useropt"
 
1192
"*) ;;
 
1193
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1194
         ac_unrecognized_sep=', ';;
 
1195
    esac
 
1196
    eval enable_$ac_useropt=\$ac_optarg ;;
 
1197
 
 
1198
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
1199
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
1200
  | --exec | --exe | --ex)
 
1201
    ac_prev=exec_prefix ;;
 
1202
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
1203
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
1204
  | --exec=* | --exe=* | --ex=*)
 
1205
    exec_prefix=$ac_optarg ;;
 
1206
 
 
1207
  -gas | --gas | --ga | --g)
 
1208
    # Obsolete; use --with-gas.
 
1209
    with_gas=yes ;;
 
1210
 
 
1211
  -help | --help | --hel | --he | -h)
 
1212
    ac_init_help=long ;;
 
1213
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
1214
    ac_init_help=recursive ;;
 
1215
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
1216
    ac_init_help=short ;;
 
1217
 
 
1218
  -host | --host | --hos | --ho)
 
1219
    ac_prev=host_alias ;;
 
1220
  -host=* | --host=* | --hos=* | --ho=*)
 
1221
    host_alias=$ac_optarg ;;
 
1222
 
 
1223
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1224
    ac_prev=htmldir ;;
 
1225
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1226
  | --ht=*)
 
1227
    htmldir=$ac_optarg ;;
 
1228
 
 
1229
  -includedir | --includedir | --includedi | --included | --include \
 
1230
  | --includ | --inclu | --incl | --inc)
 
1231
    ac_prev=includedir ;;
 
1232
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
1233
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
1234
    includedir=$ac_optarg ;;
 
1235
 
 
1236
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
1237
    ac_prev=infodir ;;
 
1238
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
1239
    infodir=$ac_optarg ;;
 
1240
 
 
1241
  -libdir | --libdir | --libdi | --libd)
 
1242
    ac_prev=libdir ;;
 
1243
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
1244
    libdir=$ac_optarg ;;
 
1245
 
 
1246
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1247
  | --libexe | --libex | --libe)
 
1248
    ac_prev=libexecdir ;;
 
1249
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1250
  | --libexe=* | --libex=* | --libe=*)
 
1251
    libexecdir=$ac_optarg ;;
 
1252
 
 
1253
  -localedir | --localedir | --localedi | --localed | --locale)
 
1254
    ac_prev=localedir ;;
 
1255
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1256
    localedir=$ac_optarg ;;
 
1257
 
 
1258
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1259
  | --localstate | --localstat | --localsta | --localst | --locals)
 
1260
    ac_prev=localstatedir ;;
 
1261
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1262
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1263
    localstatedir=$ac_optarg ;;
 
1264
 
 
1265
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1266
    ac_prev=mandir ;;
 
1267
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1268
    mandir=$ac_optarg ;;
 
1269
 
 
1270
  -nfp | --nfp | --nf)
 
1271
    # Obsolete; use --without-fp.
 
1272
    with_fp=no ;;
 
1273
 
 
1274
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1275
  | --no-cr | --no-c | -n)
 
1276
    no_create=yes ;;
 
1277
 
 
1278
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1279
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1280
    no_recursion=yes ;;
 
1281
 
 
1282
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1283
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1284
  | --oldin | --oldi | --old | --ol | --o)
 
1285
    ac_prev=oldincludedir ;;
 
1286
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1287
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1288
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1289
    oldincludedir=$ac_optarg ;;
 
1290
 
 
1291
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1292
    ac_prev=prefix ;;
 
1293
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1294
    prefix=$ac_optarg ;;
 
1295
 
 
1296
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1297
  | --program-pre | --program-pr | --program-p)
 
1298
    ac_prev=program_prefix ;;
 
1299
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1300
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1301
    program_prefix=$ac_optarg ;;
 
1302
 
 
1303
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1304
  | --program-suf | --program-su | --program-s)
 
1305
    ac_prev=program_suffix ;;
 
1306
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1307
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1308
    program_suffix=$ac_optarg ;;
 
1309
 
 
1310
  -program-transform-name | --program-transform-name \
 
1311
  | --program-transform-nam | --program-transform-na \
 
1312
  | --program-transform-n | --program-transform- \
 
1313
  | --program-transform | --program-transfor \
 
1314
  | --program-transfo | --program-transf \
 
1315
  | --program-trans | --program-tran \
 
1316
  | --progr-tra | --program-tr | --program-t)
 
1317
    ac_prev=program_transform_name ;;
 
1318
  -program-transform-name=* | --program-transform-name=* \
 
1319
  | --program-transform-nam=* | --program-transform-na=* \
 
1320
  | --program-transform-n=* | --program-transform-=* \
 
1321
  | --program-transform=* | --program-transfor=* \
 
1322
  | --program-transfo=* | --program-transf=* \
 
1323
  | --program-trans=* | --program-tran=* \
 
1324
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1325
    program_transform_name=$ac_optarg ;;
 
1326
 
 
1327
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1328
    ac_prev=pdfdir ;;
 
1329
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1330
    pdfdir=$ac_optarg ;;
 
1331
 
 
1332
  -psdir | --psdir | --psdi | --psd | --ps)
 
1333
    ac_prev=psdir ;;
 
1334
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1335
    psdir=$ac_optarg ;;
 
1336
 
 
1337
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1338
  | -silent | --silent | --silen | --sile | --sil)
 
1339
    silent=yes ;;
 
1340
 
 
1341
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1342
    ac_prev=sbindir ;;
 
1343
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1344
  | --sbi=* | --sb=*)
 
1345
    sbindir=$ac_optarg ;;
 
1346
 
 
1347
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1348
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1349
  | --sharedst | --shareds | --shared | --share | --shar \
 
1350
  | --sha | --sh)
 
1351
    ac_prev=sharedstatedir ;;
 
1352
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1353
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1354
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1355
  | --sha=* | --sh=*)
 
1356
    sharedstatedir=$ac_optarg ;;
 
1357
 
 
1358
  -site | --site | --sit)
 
1359
    ac_prev=site ;;
 
1360
  -site=* | --site=* | --sit=*)
 
1361
    site=$ac_optarg ;;
 
1362
 
 
1363
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1364
    ac_prev=srcdir ;;
 
1365
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1366
    srcdir=$ac_optarg ;;
 
1367
 
 
1368
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1369
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1370
    ac_prev=sysconfdir ;;
 
1371
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1372
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1373
    sysconfdir=$ac_optarg ;;
 
1374
 
 
1375
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1376
    ac_prev=target_alias ;;
 
1377
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1378
    target_alias=$ac_optarg ;;
 
1379
 
 
1380
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1381
    verbose=yes ;;
 
1382
 
 
1383
  -version | --version | --versio | --versi | --vers | -V)
 
1384
    ac_init_version=: ;;
 
1385
 
 
1386
  -with-* | --with-*)
 
1387
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1388
    # Reject names that are not valid shell variable names.
 
1389
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1390
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
 
1391
   { (exit 1); exit 1; }; }
 
1392
    ac_useropt_orig=$ac_useropt
 
1393
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1394
    case $ac_user_opts in
 
1395
      *"
 
1396
"with_$ac_useropt"
 
1397
"*) ;;
 
1398
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1399
         ac_unrecognized_sep=', ';;
 
1400
    esac
 
1401
    eval with_$ac_useropt=\$ac_optarg ;;
 
1402
 
 
1403
  -without-* | --without-*)
 
1404
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1405
    # Reject names that are not valid shell variable names.
 
1406
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1407
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
 
1408
   { (exit 1); exit 1; }; }
 
1409
    ac_useropt_orig=$ac_useropt
 
1410
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1411
    case $ac_user_opts in
 
1412
      *"
 
1413
"with_$ac_useropt"
 
1414
"*) ;;
 
1415
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1416
         ac_unrecognized_sep=', ';;
 
1417
    esac
 
1418
    eval with_$ac_useropt=no ;;
 
1419
 
 
1420
  --x)
 
1421
    # Obsolete; use --with-x.
 
1422
    with_x=yes ;;
 
1423
 
 
1424
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1425
  | --x-incl | --x-inc | --x-in | --x-i)
 
1426
    ac_prev=x_includes ;;
 
1427
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1428
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1429
    x_includes=$ac_optarg ;;
 
1430
 
 
1431
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1432
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1433
    ac_prev=x_libraries ;;
 
1434
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1435
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1436
    x_libraries=$ac_optarg ;;
 
1437
 
 
1438
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
 
1439
Try \`$0 --help' for more information." >&2
 
1440
   { (exit 1); exit 1; }; }
 
1441
    ;;
 
1442
 
 
1443
  *=*)
 
1444
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1445
    # Reject names that are not valid shell variable names.
 
1446
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 
1447
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1448
   { (exit 1); exit 1; }; }
 
1449
    eval $ac_envvar=\$ac_optarg
 
1450
    export $ac_envvar ;;
 
1451
 
 
1452
  *)
 
1453
    # FIXME: should be removed in autoconf 3.0.
 
1454
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1455
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1456
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1457
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1458
    ;;
 
1459
 
 
1460
  esac
 
1461
done
 
1462
 
 
1463
if test -n "$ac_prev"; then
 
1464
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1465
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
 
1466
   { (exit 1); exit 1; }; }
 
1467
fi
 
1468
 
 
1469
if test -n "$ac_unrecognized_opts"; then
 
1470
  case $enable_option_checking in
 
1471
    no) ;;
 
1472
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1473
   { (exit 1); exit 1; }; } ;;
 
1474
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1475
  esac
 
1476
fi
 
1477
 
 
1478
# Check all directory arguments for consistency.
 
1479
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1480
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1481
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1482
                libdir localedir mandir
 
1483
do
 
1484
  eval ac_val=\$$ac_var
 
1485
  # Remove trailing slashes.
 
1486
  case $ac_val in
 
1487
    */ )
 
1488
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1489
      eval $ac_var=\$ac_val;;
 
1490
  esac
 
1491
  # Be sure to have absolute directory names.
 
1492
  case $ac_val in
 
1493
    [\\/$]* | ?:[\\/]* )  continue;;
 
1494
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1495
  esac
 
1496
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1497
   { (exit 1); exit 1; }; }
 
1498
done
 
1499
 
 
1500
# There might be people who depend on the old broken behavior: `$host'
 
1501
# used to hold the argument of --host etc.
 
1502
# FIXME: To remove some day.
 
1503
build=$build_alias
 
1504
host=$host_alias
 
1505
target=$target_alias
 
1506
 
 
1507
# FIXME: To remove some day.
 
1508
if test "x$host_alias" != x; then
 
1509
  if test "x$build_alias" = x; then
 
1510
    cross_compiling=maybe
 
1511
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1512
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1513
  elif test "x$build_alias" != "x$host_alias"; then
 
1514
    cross_compiling=yes
 
1515
  fi
 
1516
fi
 
1517
 
 
1518
ac_tool_prefix=
 
1519
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1520
 
 
1521
test "$silent" = yes && exec 6>/dev/null
 
1522
 
 
1523
 
 
1524
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1525
ac_ls_di=`ls -di .` &&
 
1526
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1527
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
 
1528
   { (exit 1); exit 1; }; }
 
1529
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1530
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
 
1531
   { (exit 1); exit 1; }; }
 
1532
 
 
1533
 
 
1534
# Find the source files, if location was not specified.
 
1535
if test -z "$srcdir"; then
 
1536
  ac_srcdir_defaulted=yes
 
1537
  # Try the directory containing this script, then the parent directory.
 
1538
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1539
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1540
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1541
         X"$as_myself" : 'X\(//\)$' \| \
 
1542
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1543
$as_echo X"$as_myself" |
 
1544
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1545
            s//\1/
 
1546
            q
 
1547
          }
 
1548
          /^X\(\/\/\)[^/].*/{
 
1549
            s//\1/
 
1550
            q
 
1551
          }
 
1552
          /^X\(\/\/\)$/{
 
1553
            s//\1/
 
1554
            q
 
1555
          }
 
1556
          /^X\(\/\).*/{
 
1557
            s//\1/
 
1558
            q
 
1559
          }
 
1560
          s/.*/./; q'`
 
1561
  srcdir=$ac_confdir
 
1562
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1563
    srcdir=..
 
1564
  fi
 
1565
else
 
1566
  ac_srcdir_defaulted=no
 
1567
fi
 
1568
if test ! -r "$srcdir/$ac_unique_file"; then
 
1569
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1570
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1571
   { (exit 1); exit 1; }; }
 
1572
fi
 
1573
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1574
ac_abs_confdir=`(
 
1575
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
 
1576
   { (exit 1); exit 1; }; }
 
1577
        pwd)`
 
1578
# When building in place, set srcdir=.
 
1579
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1580
  srcdir=.
 
1581
fi
 
1582
# Remove unnecessary trailing slashes from srcdir.
 
1583
# Double slashes in file names in object file debugging info
 
1584
# mess up M-x gdb in Emacs.
 
1585
case $srcdir in
 
1586
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1587
esac
 
1588
for ac_var in $ac_precious_vars; do
 
1589
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1590
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1591
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1592
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1593
done
 
1594
 
 
1595
#
 
1596
# Report the --help message.
 
1597
#
 
1598
if test "$ac_init_help" = "long"; then
 
1599
  # Omit some internal or obsolete options to make the list less imposing.
 
1600
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1601
  cat <<_ACEOF
 
1602
\`configure' configures GStreamer Entrans 0.10.2 to adapt to many kinds of systems.
 
1603
 
 
1604
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1605
 
 
1606
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1607
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1608
 
 
1609
Defaults for the options are specified in brackets.
 
1610
 
 
1611
Configuration:
 
1612
  -h, --help              display this help and exit
 
1613
      --help=short        display options specific to this package
 
1614
      --help=recursive    display the short help of all the included packages
 
1615
  -V, --version           display version information and exit
 
1616
  -q, --quiet, --silent   do not print \`checking...' messages
 
1617
      --cache-file=FILE   cache test results in FILE [disabled]
 
1618
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1619
  -n, --no-create         do not create output files
 
1620
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1621
 
 
1622
Installation directories:
 
1623
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1624
                          [$ac_default_prefix]
 
1625
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1626
                          [PREFIX]
 
1627
 
 
1628
By default, \`make install' will install all the files in
 
1629
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1630
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1631
for instance \`--prefix=\$HOME'.
 
1632
 
 
1633
For better control, use the options below.
 
1634
 
 
1635
Fine tuning of the installation directories:
 
1636
  --bindir=DIR            user executables [EPREFIX/bin]
 
1637
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1638
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1639
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1640
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1641
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1642
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1643
  --includedir=DIR        C header files [PREFIX/include]
 
1644
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1645
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1646
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1647
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1648
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1649
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1650
  --docdir=DIR            documentation root [DATAROOTDIR/doc/gst-entrans]
 
1651
  --htmldir=DIR           html documentation [DOCDIR]
 
1652
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1653
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1654
  --psdir=DIR             ps documentation [DOCDIR]
 
1655
_ACEOF
 
1656
 
 
1657
  cat <<\_ACEOF
 
1658
 
 
1659
Program names:
 
1660
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1661
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1662
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1663
 
 
1664
System types:
 
1665
  --build=BUILD     configure for building on BUILD [guessed]
 
1666
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1667
_ACEOF
 
1668
fi
 
1669
 
 
1670
if test -n "$ac_init_help"; then
 
1671
  case $ac_init_help in
 
1672
     short | recursive ) echo "Configuration of GStreamer Entrans 0.10.2:";;
 
1673
   esac
 
1674
  cat <<\_ACEOF
 
1675
 
 
1676
Optional Features:
 
1677
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1678
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1679
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1680
  --enable-maintainer-mode  enable make rules and dependencies not useful
 
1681
                          (and sometimes confusing) to the casual installer
 
1682
  --disable-dependency-tracking  speeds up one-time build
 
1683
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1684
  --disable-rpath         do not hardcode runtime library paths
 
1685
  --disable-nls           do not use Native Language Support
 
1686
  --disable-debug         disable addition of -g debugging info
 
1687
  --enable-profiling      adds -pg to compiler commandline, for profiling
 
1688
  --enable-gcov           compile with coverage profiling instrumentation (gcc
 
1689
                          only)
 
1690
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1691
  --enable-static[=PKGS]  build static libraries [default=yes]
 
1692
  --enable-fast-install[=PKGS]
 
1693
                          optimize for fast installation [default=yes]
 
1694
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1695
  --enable-docbook        use docbook to build documentation default=no
 
1696
  --enable-docbook2x      build manpages using docbook2x default=no
 
1697
  --enable-gtk-doc        use gtk-doc to build documentation default=no
 
1698
 
 
1699
Optional Packages:
 
1700
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1701
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1702
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
 
1703
  --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
 
1704
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
 
1705
  --with-libintl-prefix=DIR  search for libintl in DIR/include and DIR/lib
 
1706
  --without-libintl-prefix     don't search for libintl in includedir and libdir
 
1707
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1708
                          both]
 
1709
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1710
  --with-html-dir=PATH    path to installed docs
 
1711
  --with-check=PATH       prefix where check is installed default=auto
 
1712
  --with-check-lib-name=INTL
 
1713
                          name of the PIC check library (default=check)
 
1714
 
 
1715
Some influential environment variables:
 
1716
  CC          C compiler command
 
1717
  CFLAGS      C compiler flags
 
1718
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1719
              nonstandard directory <lib dir>
 
1720
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1721
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1722
              you have headers in a nonstandard directory <include dir>
 
1723
  CCAS        assembler compiler command (defaults to CC)
 
1724
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
 
1725
  CPP         C preprocessor
 
1726
  PKG_CONFIG  path to pkg-config utility
 
1727
  LIBOIL_CFLAGS
 
1728
              C compiler flags for LIBOIL, overriding pkg-config
 
1729
  LIBOIL_LIBS linker flags for LIBOIL, overriding pkg-config
 
1730
  GST_CFLAGS  C compiler flags for GST, overriding pkg-config
 
1731
  GST_LIBS    linker flags for GST, overriding pkg-config
 
1732
  GST_BASE_CFLAGS
 
1733
              C compiler flags for GST_BASE, overriding pkg-config
 
1734
  GST_BASE_LIBS
 
1735
              linker flags for GST_BASE, overriding pkg-config
 
1736
  GST_CONTROLLER_CFLAGS
 
1737
              C compiler flags for GST_CONTROLLER, overriding pkg-config
 
1738
  GST_CONTROLLER_LIBS
 
1739
              linker flags for GST_CONTROLLER, overriding pkg-config
 
1740
  GST_CHECK_CFLAGS
 
1741
              C compiler flags for GST_CHECK, overriding pkg-config
 
1742
  GST_CHECK_LIBS
 
1743
              linker flags for GST_CHECK, overriding pkg-config
 
1744
  GSTPB_BASE_CFLAGS
 
1745
              C compiler flags for GSTPB_BASE, overriding pkg-config
 
1746
  GSTPB_BASE_LIBS
 
1747
              linker flags for GSTPB_BASE, overriding pkg-config
 
1748
 
 
1749
Use these variables to override the choices made by `configure' or to help
 
1750
it to find libraries and programs with nonstandard names/locations.
 
1751
 
 
1752
_ACEOF
 
1753
ac_status=$?
 
1754
fi
 
1755
 
 
1756
if test "$ac_init_help" = "recursive"; then
 
1757
  # If there are subdirs, report their specific --help.
 
1758
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1759
    test -d "$ac_dir" ||
 
1760
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1761
      continue
 
1762
    ac_builddir=.
 
1763
 
 
1764
case "$ac_dir" in
 
1765
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1766
*)
 
1767
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1768
  # A ".." for each directory in $ac_dir_suffix.
 
1769
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1770
  case $ac_top_builddir_sub in
 
1771
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1772
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1773
  esac ;;
 
1774
esac
 
1775
ac_abs_top_builddir=$ac_pwd
 
1776
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1777
# for backward compatibility:
 
1778
ac_top_builddir=$ac_top_build_prefix
 
1779
 
 
1780
case $srcdir in
 
1781
  .)  # We are building in place.
 
1782
    ac_srcdir=.
 
1783
    ac_top_srcdir=$ac_top_builddir_sub
 
1784
    ac_abs_top_srcdir=$ac_pwd ;;
 
1785
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1786
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1787
    ac_top_srcdir=$srcdir
 
1788
    ac_abs_top_srcdir=$srcdir ;;
 
1789
  *) # Relative name.
 
1790
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1791
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1792
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1793
esac
 
1794
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1795
 
 
1796
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1797
    # Check for guested configure.
 
1798
    if test -f "$ac_srcdir/configure.gnu"; then
 
1799
      echo &&
 
1800
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1801
    elif test -f "$ac_srcdir/configure"; then
 
1802
      echo &&
 
1803
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1804
    else
 
1805
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1806
    fi || ac_status=$?
 
1807
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1808
  done
 
1809
fi
 
1810
 
 
1811
test -n "$ac_init_help" && exit $ac_status
 
1812
if $ac_init_version; then
 
1813
  cat <<\_ACEOF
 
1814
GStreamer Entrans configure 0.10.2
 
1815
generated by GNU Autoconf 2.63
 
1816
 
 
1817
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1818
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1819
This configure script is free software; the Free Software Foundation
 
1820
gives unlimited permission to copy, distribute and modify it.
 
1821
_ACEOF
 
1822
  exit
 
1823
fi
 
1824
cat >config.log <<_ACEOF
 
1825
This file contains any messages produced by compilers while
 
1826
running configure, to aid debugging if configure makes a mistake.
 
1827
 
 
1828
It was created by GStreamer Entrans $as_me 0.10.2, which was
 
1829
generated by GNU Autoconf 2.63.  Invocation command line was
 
1830
 
 
1831
  $ $0 $@
 
1832
 
 
1833
_ACEOF
 
1834
exec 5>>config.log
 
1835
{
 
1836
cat <<_ASUNAME
 
1837
## --------- ##
 
1838
## Platform. ##
 
1839
## --------- ##
 
1840
 
 
1841
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
1842
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
1843
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
1844
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
1845
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
1846
 
 
1847
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
1848
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
1849
 
 
1850
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
1851
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
1852
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
1853
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
1854
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
1855
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
1856
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
1857
 
 
1858
_ASUNAME
 
1859
 
 
1860
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1861
for as_dir in $PATH
 
1862
do
 
1863
  IFS=$as_save_IFS
 
1864
  test -z "$as_dir" && as_dir=.
 
1865
  $as_echo "PATH: $as_dir"
 
1866
done
 
1867
IFS=$as_save_IFS
 
1868
 
 
1869
} >&5
 
1870
 
 
1871
cat >&5 <<_ACEOF
 
1872
 
 
1873
 
 
1874
## ----------- ##
 
1875
## Core tests. ##
 
1876
## ----------- ##
 
1877
 
 
1878
_ACEOF
 
1879
 
 
1880
 
 
1881
# Keep a trace of the command line.
 
1882
# Strip out --no-create and --no-recursion so they do not pile up.
 
1883
# Strip out --silent because we don't want to record it for future runs.
 
1884
# Also quote any args containing shell meta-characters.
 
1885
# Make two passes to allow for proper duplicate-argument suppression.
 
1886
ac_configure_args=
 
1887
ac_configure_args0=
 
1888
ac_configure_args1=
 
1889
ac_must_keep_next=false
 
1890
for ac_pass in 1 2
 
1891
do
 
1892
  for ac_arg
 
1893
  do
 
1894
    case $ac_arg in
 
1895
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
1896
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1897
    | -silent | --silent | --silen | --sile | --sil)
 
1898
      continue ;;
 
1899
    *\'*)
 
1900
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1901
    esac
 
1902
    case $ac_pass in
 
1903
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1904
    2)
 
1905
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1906
      if test $ac_must_keep_next = true; then
 
1907
        ac_must_keep_next=false # Got value, back to normal.
 
1908
      else
 
1909
        case $ac_arg in
 
1910
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1911
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1912
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1913
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1914
            case "$ac_configure_args0 " in
 
1915
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1916
            esac
 
1917
            ;;
 
1918
          -* ) ac_must_keep_next=true ;;
 
1919
        esac
 
1920
      fi
 
1921
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1922
      ;;
 
1923
    esac
 
1924
  done
 
1925
done
 
1926
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
1927
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1928
 
 
1929
# When interrupted or exit'd, cleanup temporary files, and complete
 
1930
# config.log.  We remove comments because anyway the quotes in there
 
1931
# would cause problems or look ugly.
 
1932
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1933
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
1934
trap 'exit_status=$?
 
1935
  # Save into config.log some information that might help in debugging.
 
1936
  {
 
1937
    echo
 
1938
 
 
1939
    cat <<\_ASBOX
 
1940
## ---------------- ##
 
1941
## Cache variables. ##
 
1942
## ---------------- ##
 
1943
_ASBOX
 
1944
    echo
 
1945
    # The following way of writing the cache mishandles newlines in values,
 
1946
(
 
1947
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1948
    eval ac_val=\$$ac_var
 
1949
    case $ac_val in #(
 
1950
    *${as_nl}*)
 
1951
      case $ac_var in #(
 
1952
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1953
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
1954
      esac
 
1955
      case $ac_var in #(
 
1956
      _ | IFS | as_nl) ;; #(
 
1957
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
1958
      *) $as_unset $ac_var ;;
 
1959
      esac ;;
 
1960
    esac
 
1961
  done
 
1962
  (set) 2>&1 |
 
1963
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1964
    *${as_nl}ac_space=\ *)
 
1965
      sed -n \
 
1966
        "s/'\''/'\''\\\\'\'''\''/g;
 
1967
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1968
      ;; #(
 
1969
    *)
 
1970
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
1971
      ;;
 
1972
    esac |
 
1973
    sort
 
1974
)
 
1975
    echo
 
1976
 
 
1977
    cat <<\_ASBOX
 
1978
## ----------------- ##
 
1979
## Output variables. ##
 
1980
## ----------------- ##
 
1981
_ASBOX
 
1982
    echo
 
1983
    for ac_var in $ac_subst_vars
 
1984
    do
 
1985
      eval ac_val=\$$ac_var
 
1986
      case $ac_val in
 
1987
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1988
      esac
 
1989
      $as_echo "$ac_var='\''$ac_val'\''"
 
1990
    done | sort
 
1991
    echo
 
1992
 
 
1993
    if test -n "$ac_subst_files"; then
 
1994
      cat <<\_ASBOX
 
1995
## ------------------- ##
 
1996
## File substitutions. ##
 
1997
## ------------------- ##
 
1998
_ASBOX
 
1999
      echo
 
2000
      for ac_var in $ac_subst_files
 
2001
      do
 
2002
        eval ac_val=\$$ac_var
 
2003
        case $ac_val in
 
2004
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2005
        esac
 
2006
        $as_echo "$ac_var='\''$ac_val'\''"
 
2007
      done | sort
 
2008
      echo
 
2009
    fi
 
2010
 
 
2011
    if test -s confdefs.h; then
 
2012
      cat <<\_ASBOX
 
2013
## ----------- ##
 
2014
## confdefs.h. ##
 
2015
## ----------- ##
 
2016
_ASBOX
 
2017
      echo
 
2018
      cat confdefs.h
 
2019
      echo
 
2020
    fi
 
2021
    test "$ac_signal" != 0 &&
 
2022
      $as_echo "$as_me: caught signal $ac_signal"
 
2023
    $as_echo "$as_me: exit $exit_status"
 
2024
  } >&5
 
2025
  rm -f core *.core core.conftest.* &&
 
2026
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
2027
    exit $exit_status
 
2028
' 0
 
2029
for ac_signal in 1 2 13 15; do
 
2030
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2031
done
 
2032
ac_signal=0
 
2033
 
 
2034
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
2035
rm -f -r conftest* confdefs.h
 
2036
 
 
2037
# Predefined preprocessor variables.
 
2038
 
 
2039
cat >>confdefs.h <<_ACEOF
 
2040
#define PACKAGE_NAME "$PACKAGE_NAME"
 
2041
_ACEOF
 
2042
 
 
2043
 
 
2044
cat >>confdefs.h <<_ACEOF
 
2045
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
2046
_ACEOF
 
2047
 
 
2048
 
 
2049
cat >>confdefs.h <<_ACEOF
 
2050
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
2051
_ACEOF
 
2052
 
 
2053
 
 
2054
cat >>confdefs.h <<_ACEOF
 
2055
#define PACKAGE_STRING "$PACKAGE_STRING"
 
2056
_ACEOF
 
2057
 
 
2058
 
 
2059
cat >>confdefs.h <<_ACEOF
 
2060
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
2061
_ACEOF
 
2062
 
 
2063
 
 
2064
# Let the site file select an alternate cache file if it wants to.
 
2065
# Prefer an explicitly selected file to automatically selected ones.
 
2066
ac_site_file1=NONE
 
2067
ac_site_file2=NONE
 
2068
if test -n "$CONFIG_SITE"; then
 
2069
  ac_site_file1=$CONFIG_SITE
 
2070
elif test "x$prefix" != xNONE; then
 
2071
  ac_site_file1=$prefix/share/config.site
 
2072
  ac_site_file2=$prefix/etc/config.site
 
2073
else
 
2074
  ac_site_file1=$ac_default_prefix/share/config.site
 
2075
  ac_site_file2=$ac_default_prefix/etc/config.site
 
2076
fi
 
2077
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2078
do
 
2079
  test "x$ac_site_file" = xNONE && continue
 
2080
  if test -r "$ac_site_file"; then
 
2081
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2082
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
2083
    sed 's/^/| /' "$ac_site_file" >&5
 
2084
    . "$ac_site_file"
 
2085
  fi
 
2086
done
 
2087
 
 
2088
if test -r "$cache_file"; then
 
2089
  # Some versions of bash will fail to source /dev/null (special
 
2090
  # files actually), so we avoid doing that.
 
2091
  if test -f "$cache_file"; then
 
2092
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2093
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
2094
    case $cache_file in
 
2095
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2096
      *)                      . "./$cache_file";;
 
2097
    esac
 
2098
  fi
 
2099
else
 
2100
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2101
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
2102
  >$cache_file
 
2103
fi
 
2104
 
 
2105
# Check that the precious variables saved in the cache have kept the same
 
2106
# value.
 
2107
ac_cache_corrupted=false
 
2108
for ac_var in $ac_precious_vars; do
 
2109
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
2110
  eval ac_new_set=\$ac_env_${ac_var}_set
 
2111
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2112
  eval ac_new_val=\$ac_env_${ac_var}_value
 
2113
  case $ac_old_set,$ac_new_set in
 
2114
    set,)
 
2115
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2116
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2117
      ac_cache_corrupted=: ;;
 
2118
    ,set)
 
2119
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2120
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2121
      ac_cache_corrupted=: ;;
 
2122
    ,);;
 
2123
    *)
 
2124
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
2125
        # differences in whitespace do not lead to failure.
 
2126
        ac_old_val_w=`echo x $ac_old_val`
 
2127
        ac_new_val_w=`echo x $ac_new_val`
 
2128
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2129
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2130
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2131
          ac_cache_corrupted=:
 
2132
        else
 
2133
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2134
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2135
          eval $ac_var=\$ac_old_val
 
2136
        fi
 
2137
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2138
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2139
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2140
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2141
      fi;;
 
2142
  esac
 
2143
  # Pass precious variables to config.status.
 
2144
  if test "$ac_new_set" = set; then
 
2145
    case $ac_new_val in
 
2146
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2147
    *) ac_arg=$ac_var=$ac_new_val ;;
 
2148
    esac
 
2149
    case " $ac_configure_args " in
 
2150
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
2151
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2152
    esac
 
2153
  fi
 
2154
done
 
2155
if $ac_cache_corrupted; then
 
2156
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2157
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2158
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2159
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2160
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
2161
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
2162
   { (exit 1); exit 1; }; }
 
2163
fi
 
2164
 
 
2165
 
 
2166
 
 
2167
 
 
2168
 
 
2169
 
 
2170
 
 
2171
 
 
2172
 
 
2173
 
 
2174
 
 
2175
 
 
2176
 
 
2177
 
 
2178
 
 
2179
 
 
2180
 
 
2181
 
 
2182
 
 
2183
 
 
2184
 
 
2185
 
 
2186
 
 
2187
 
 
2188
 
 
2189
ac_ext=c
 
2190
ac_cpp='$CPP $CPPFLAGS'
 
2191
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2192
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2193
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2194
 
 
2195
 
 
2196
 
 
2197
am__api_version='1.10'
 
2198
 
 
2199
ac_aux_dir=
 
2200
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2201
  if test -f "$ac_dir/install-sh"; then
 
2202
    ac_aux_dir=$ac_dir
 
2203
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2204
    break
 
2205
  elif test -f "$ac_dir/install.sh"; then
 
2206
    ac_aux_dir=$ac_dir
 
2207
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2208
    break
 
2209
  elif test -f "$ac_dir/shtool"; then
 
2210
    ac_aux_dir=$ac_dir
 
2211
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2212
    break
 
2213
  fi
 
2214
done
 
2215
if test -z "$ac_aux_dir"; then
 
2216
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2217
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
2218
   { (exit 1); exit 1; }; }
 
2219
fi
 
2220
 
 
2221
# These three variables are undocumented and unsupported,
 
2222
# and are intended to be withdrawn in a future Autoconf release.
 
2223
# They can cause serious problems if a builder's source tree is in a directory
 
2224
# whose full name contains unusual characters.
 
2225
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2226
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2227
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2228
 
 
2229
 
 
2230
# Find a good install program.  We prefer a C program (faster),
 
2231
# so one script is as good as another.  But avoid the broken or
 
2232
# incompatible versions:
 
2233
# SysV /etc/install, /usr/sbin/install
 
2234
# SunOS /usr/etc/install
 
2235
# IRIX /sbin/install
 
2236
# AIX /bin/install
 
2237
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2238
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2239
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2240
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2241
# OS/2's system install, which has a completely different semantic
 
2242
# ./install, which can be erroneously created by make from ./install.sh.
 
2243
# Reject install programs that cannot install multiple files.
 
2244
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2245
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
2246
if test -z "$INSTALL"; then
 
2247
if test "${ac_cv_path_install+set}" = set; then
 
2248
  $as_echo_n "(cached) " >&6
 
2249
else
 
2250
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2251
for as_dir in $PATH
 
2252
do
 
2253
  IFS=$as_save_IFS
 
2254
  test -z "$as_dir" && as_dir=.
 
2255
  # Account for people who put trailing slashes in PATH elements.
 
2256
case $as_dir/ in
 
2257
  ./ | .// | /cC/* | \
 
2258
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2259
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2260
  /usr/ucb/* ) ;;
 
2261
  *)
 
2262
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
2263
    # Don't use installbsd from OSF since it installs stuff as root
 
2264
    # by default.
 
2265
    for ac_prog in ginstall scoinst install; do
 
2266
      for ac_exec_ext in '' $ac_executable_extensions; do
 
2267
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2268
          if test $ac_prog = install &&
 
2269
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2270
            # AIX install.  It has an incompatible calling convention.
 
2271
            :
 
2272
          elif test $ac_prog = install &&
 
2273
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2274
            # program-specific install script used by HP pwplus--don't use.
 
2275
            :
 
2276
          else
 
2277
            rm -rf conftest.one conftest.two conftest.dir
 
2278
            echo one > conftest.one
 
2279
            echo two > conftest.two
 
2280
            mkdir conftest.dir
 
2281
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2282
              test -s conftest.one && test -s conftest.two &&
 
2283
              test -s conftest.dir/conftest.one &&
 
2284
              test -s conftest.dir/conftest.two
 
2285
            then
 
2286
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2287
              break 3
 
2288
            fi
 
2289
          fi
 
2290
        fi
 
2291
      done
 
2292
    done
 
2293
    ;;
 
2294
esac
 
2295
 
 
2296
done
 
2297
IFS=$as_save_IFS
 
2298
 
 
2299
rm -rf conftest.one conftest.two conftest.dir
 
2300
 
 
2301
fi
 
2302
  if test "${ac_cv_path_install+set}" = set; then
 
2303
    INSTALL=$ac_cv_path_install
 
2304
  else
 
2305
    # As a last resort, use the slow shell script.  Don't cache a
 
2306
    # value for INSTALL within a source directory, because that will
 
2307
    # break other packages using the cache if that directory is
 
2308
    # removed, or if the value is a relative name.
 
2309
    INSTALL=$ac_install_sh
 
2310
  fi
 
2311
fi
 
2312
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2313
$as_echo "$INSTALL" >&6; }
 
2314
 
 
2315
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2316
# It thinks the first close brace ends the variable substitution.
 
2317
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2318
 
 
2319
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2320
 
 
2321
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2322
 
 
2323
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2324
$as_echo_n "checking whether build environment is sane... " >&6; }
 
2325
# Just in case
 
2326
sleep 1
 
2327
echo timestamp > conftest.file
 
2328
# Do `set' in a subshell so we don't clobber the current shell's
 
2329
# arguments.  Must try -L first in case configure is actually a
 
2330
# symlink; some systems play weird games with the mod time of symlinks
 
2331
# (eg FreeBSD returns the mod time of the symlink's containing
 
2332
# directory).
 
2333
if (
 
2334
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2335
   if test "$*" = "X"; then
 
2336
      # -L didn't work.
 
2337
      set X `ls -t $srcdir/configure conftest.file`
 
2338
   fi
 
2339
   rm -f conftest.file
 
2340
   if test "$*" != "X $srcdir/configure conftest.file" \
 
2341
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
2342
 
 
2343
      # If neither matched, then we have a broken ls.  This can happen
 
2344
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2345
      # broken ls alias from the environment.  This has actually
 
2346
      # happened.  Such a system could not be considered "sane".
 
2347
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2348
alias in your environment" >&5
 
2349
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2350
alias in your environment" >&2;}
 
2351
   { (exit 1); exit 1; }; }
 
2352
   fi
 
2353
 
 
2354
   test "$2" = conftest.file
 
2355
   )
 
2356
then
 
2357
   # Ok.
 
2358
   :
 
2359
else
 
2360
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2361
Check your system clock" >&5
 
2362
$as_echo "$as_me: error: newly created file is older than distributed files!
 
2363
Check your system clock" >&2;}
 
2364
   { (exit 1); exit 1; }; }
 
2365
fi
 
2366
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2367
$as_echo "yes" >&6; }
 
2368
test "$program_prefix" != NONE &&
 
2369
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
2370
# Use a double $ so make ignores it.
 
2371
test "$program_suffix" != NONE &&
 
2372
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2373
# Double any \ or $.
 
2374
# By default was `s,x,x', remove it if useless.
 
2375
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2376
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
2377
 
 
2378
# expand $ac_aux_dir to an absolute path
 
2379
am_aux_dir=`cd $ac_aux_dir && pwd`
 
2380
 
 
2381
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2382
# Use eval to expand $SHELL
 
2383
if eval "$MISSING --run true"; then
 
2384
  am_missing_run="$MISSING --run "
 
2385
else
 
2386
  am_missing_run=
 
2387
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2388
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2389
fi
 
2390
 
 
2391
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2392
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2393
if test -z "$MKDIR_P"; then
 
2394
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2395
  $as_echo_n "(cached) " >&6
 
2396
else
 
2397
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2398
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2399
do
 
2400
  IFS=$as_save_IFS
 
2401
  test -z "$as_dir" && as_dir=.
 
2402
  for ac_prog in mkdir gmkdir; do
 
2403
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2404
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2405
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2406
             'mkdir (GNU coreutils) '* | \
 
2407
             'mkdir (coreutils) '* | \
 
2408
             'mkdir (fileutils) '4.1*)
 
2409
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2410
               break 3;;
 
2411
           esac
 
2412
         done
 
2413
       done
 
2414
done
 
2415
IFS=$as_save_IFS
 
2416
 
 
2417
fi
 
2418
 
 
2419
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2420
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2421
  else
 
2422
    # As a last resort, use the slow shell script.  Don't cache a
 
2423
    # value for MKDIR_P within a source directory, because that will
 
2424
    # break other packages using the cache if that directory is
 
2425
    # removed, or if the value is a relative name.
 
2426
    test -d ./--version && rmdir ./--version
 
2427
    MKDIR_P="$ac_install_sh -d"
 
2428
  fi
 
2429
fi
 
2430
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2431
$as_echo "$MKDIR_P" >&6; }
 
2432
 
 
2433
mkdir_p="$MKDIR_P"
 
2434
case $mkdir_p in
 
2435
  [\\/$]* | ?:[\\/]*) ;;
 
2436
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2437
esac
 
2438
 
 
2439
for ac_prog in gawk mawk nawk awk
 
2440
do
 
2441
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2442
set dummy $ac_prog; ac_word=$2
 
2443
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2444
$as_echo_n "checking for $ac_word... " >&6; }
 
2445
if test "${ac_cv_prog_AWK+set}" = set; then
 
2446
  $as_echo_n "(cached) " >&6
 
2447
else
 
2448
  if test -n "$AWK"; then
 
2449
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
2450
else
 
2451
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2452
for as_dir in $PATH
 
2453
do
 
2454
  IFS=$as_save_IFS
 
2455
  test -z "$as_dir" && as_dir=.
 
2456
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2457
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2458
    ac_cv_prog_AWK="$ac_prog"
 
2459
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2460
    break 2
 
2461
  fi
 
2462
done
 
2463
done
 
2464
IFS=$as_save_IFS
 
2465
 
 
2466
fi
 
2467
fi
 
2468
AWK=$ac_cv_prog_AWK
 
2469
if test -n "$AWK"; then
 
2470
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2471
$as_echo "$AWK" >&6; }
 
2472
else
 
2473
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2474
$as_echo "no" >&6; }
 
2475
fi
 
2476
 
 
2477
 
 
2478
  test -n "$AWK" && break
 
2479
done
 
2480
 
 
2481
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2482
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2483
set x ${MAKE-make}
 
2484
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2485
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2486
  $as_echo_n "(cached) " >&6
 
2487
else
 
2488
  cat >conftest.make <<\_ACEOF
 
2489
SHELL = /bin/sh
 
2490
all:
 
2491
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
2492
_ACEOF
 
2493
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2494
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2495
  *@@@%%%=?*=@@@%%%*)
 
2496
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2497
  *)
 
2498
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2499
esac
 
2500
rm -f conftest.make
 
2501
fi
 
2502
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2503
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2504
$as_echo "yes" >&6; }
 
2505
  SET_MAKE=
 
2506
else
 
2507
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2508
$as_echo "no" >&6; }
 
2509
  SET_MAKE="MAKE=${MAKE-make}"
 
2510
fi
 
2511
 
 
2512
rm -rf .tst 2>/dev/null
 
2513
mkdir .tst 2>/dev/null
 
2514
if test -d .tst; then
 
2515
  am__leading_dot=.
 
2516
else
 
2517
  am__leading_dot=_
 
2518
fi
 
2519
rmdir .tst 2>/dev/null
 
2520
 
 
2521
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2522
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2523
  # is not polluted with repeated "-I."
 
2524
  am__isrc=' -I$(srcdir)'
 
2525
  # test to see if srcdir already configured
 
2526
  if test -f $srcdir/config.status; then
 
2527
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2528
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2529
   { (exit 1); exit 1; }; }
 
2530
  fi
 
2531
fi
 
2532
 
 
2533
# test whether we have cygpath
 
2534
if test -z "$CYGPATH_W"; then
 
2535
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2536
    CYGPATH_W='cygpath -w'
 
2537
  else
 
2538
    CYGPATH_W=echo
 
2539
  fi
 
2540
fi
 
2541
 
 
2542
 
 
2543
# Define the identity of the package.
 
2544
 PACKAGE='gst-entrans'
 
2545
 VERSION='0.10.2'
 
2546
 
 
2547
 
 
2548
cat >>confdefs.h <<_ACEOF
 
2549
#define PACKAGE "$PACKAGE"
 
2550
_ACEOF
 
2551
 
 
2552
 
 
2553
cat >>confdefs.h <<_ACEOF
 
2554
#define VERSION "$VERSION"
 
2555
_ACEOF
 
2556
 
 
2557
# Some tools Automake needs.
 
2558
 
 
2559
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
2560
 
 
2561
 
 
2562
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
2563
 
 
2564
 
 
2565
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
2566
 
 
2567
 
 
2568
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
2569
 
 
2570
 
 
2571
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
2572
 
 
2573
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
2574
 
 
2575
# Installed binaries are usually stripped using `strip' when the user
 
2576
# run `make install-strip'.  However `strip' might not be the right
 
2577
# tool to use in cross-compilation environments, therefore Automake
 
2578
# will honor the `STRIP' environment variable to overrule this program.
 
2579
if test "$cross_compiling" != no; then
 
2580
  if test -n "$ac_tool_prefix"; then
 
2581
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2582
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2583
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2584
$as_echo_n "checking for $ac_word... " >&6; }
 
2585
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2586
  $as_echo_n "(cached) " >&6
 
2587
else
 
2588
  if test -n "$STRIP"; then
 
2589
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2590
else
 
2591
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2592
for as_dir in $PATH
 
2593
do
 
2594
  IFS=$as_save_IFS
 
2595
  test -z "$as_dir" && as_dir=.
 
2596
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2597
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2598
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2599
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2600
    break 2
 
2601
  fi
 
2602
done
 
2603
done
 
2604
IFS=$as_save_IFS
 
2605
 
 
2606
fi
 
2607
fi
 
2608
STRIP=$ac_cv_prog_STRIP
 
2609
if test -n "$STRIP"; then
 
2610
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2611
$as_echo "$STRIP" >&6; }
 
2612
else
 
2613
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2614
$as_echo "no" >&6; }
 
2615
fi
 
2616
 
 
2617
 
 
2618
fi
 
2619
if test -z "$ac_cv_prog_STRIP"; then
 
2620
  ac_ct_STRIP=$STRIP
 
2621
  # Extract the first word of "strip", so it can be a program name with args.
 
2622
set dummy strip; ac_word=$2
 
2623
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2624
$as_echo_n "checking for $ac_word... " >&6; }
 
2625
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2626
  $as_echo_n "(cached) " >&6
 
2627
else
 
2628
  if test -n "$ac_ct_STRIP"; then
 
2629
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2630
else
 
2631
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2632
for as_dir in $PATH
 
2633
do
 
2634
  IFS=$as_save_IFS
 
2635
  test -z "$as_dir" && as_dir=.
 
2636
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2637
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2638
    ac_cv_prog_ac_ct_STRIP="strip"
 
2639
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2640
    break 2
 
2641
  fi
 
2642
done
 
2643
done
 
2644
IFS=$as_save_IFS
 
2645
 
 
2646
fi
 
2647
fi
 
2648
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2649
if test -n "$ac_ct_STRIP"; then
 
2650
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2651
$as_echo "$ac_ct_STRIP" >&6; }
 
2652
else
 
2653
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2654
$as_echo "no" >&6; }
 
2655
fi
 
2656
 
 
2657
  if test "x$ac_ct_STRIP" = x; then
 
2658
    STRIP=":"
 
2659
  else
 
2660
    case $cross_compiling:$ac_tool_warned in
 
2661
yes:)
 
2662
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2663
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2664
ac_tool_warned=yes ;;
 
2665
esac
 
2666
    STRIP=$ac_ct_STRIP
 
2667
  fi
 
2668
else
 
2669
  STRIP="$ac_cv_prog_STRIP"
 
2670
fi
 
2671
 
 
2672
fi
 
2673
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2674
 
 
2675
# We need awk for the "check" target.  The system "awk" is bad on
 
2676
# some platforms.
 
2677
# Always define AMTAR for backward compatibility.
 
2678
 
 
2679
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2680
 
 
2681
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2682
 
 
2683
 
 
2684
 
 
2685
 
 
2686
 
 
2687
 
 
2688
 
 
2689
  PACKAGE_VERSION_MAJOR=$(echo 0.10.2 | cut -d'.' -f1)
 
2690
  PACKAGE_VERSION_MINOR=$(echo 0.10.2 | cut -d'.' -f2)
 
2691
  PACKAGE_VERSION_MICRO=$(echo 0.10.2 | cut -d'.' -f3)
 
2692
 
 
2693
 
 
2694
 
 
2695
 
 
2696
 
 
2697
 
 
2698
 
 
2699
  { $as_echo "$as_me:$LINENO: checking nano version" >&5
 
2700
$as_echo_n "checking nano version... " >&6; }
 
2701
 
 
2702
  NANO=$(echo 0.10.2 | cut -d'.' -f4)
 
2703
 
 
2704
  if test x"$NANO" = x || test "x$NANO" = "x0" ; then
 
2705
    { $as_echo "$as_me:$LINENO: result: 0 (release)" >&5
 
2706
$as_echo "0 (release)" >&6; }
 
2707
    NANO=0
 
2708
    PACKAGE_VERSION_RELEASE=1
 
2709
    GST_CVS="no"
 
2710
  else
 
2711
    { $as_echo "$as_me:$LINENO: result: $NANO" >&5
 
2712
$as_echo "$NANO" >&6; }
 
2713
    PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
 
2714
    GST_CVS="yes"
 
2715
  fi
 
2716
  PACKAGE_VERSION_NANO=$NANO
 
2717
 
 
2718
 
 
2719
 
 
2720
 
 
2721
 
 
2722
 
 
2723
ac_config_headers="$ac_config_headers config.h"
 
2724
 
 
2725
 
 
2726
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2727
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 
2728
    # Check whether --enable-maintainer-mode was given.
 
2729
if test "${enable_maintainer_mode+set}" = set; then
 
2730
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 
2731
else
 
2732
  USE_MAINTAINER_MODE=no
 
2733
fi
 
2734
 
 
2735
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2736
$as_echo "$USE_MAINTAINER_MODE" >&6; }
 
2737
   if test $USE_MAINTAINER_MODE = yes; then
 
2738
  MAINTAINER_MODE_TRUE=
 
2739
  MAINTAINER_MODE_FALSE='#'
 
2740
else
 
2741
  MAINTAINER_MODE_TRUE='#'
 
2742
  MAINTAINER_MODE_FALSE=
 
2743
fi
 
2744
 
 
2745
  MAINT=$MAINTAINER_MODE_TRUE
 
2746
 
 
2747
 
 
2748
 
 
2749
GST_MAJORMINOR=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR
 
2750
GST_REQUIRED=$GST_MAJORMINOR.13
 
2751
GSTPB_REQUIRED=$GST_REQUIRED
 
2752
 
 
2753
 
 
2754
cat >>confdefs.h <<\_ACEOF
 
2755
#define GST_PACKAGE_NAME PACKAGE
 
2756
_ACEOF
 
2757
 
 
2758
 
 
2759
cat >>confdefs.h <<\_ACEOF
 
2760
#define GST_PACKAGE_ORIGIN ""
 
2761
_ACEOF
 
2762
 
 
2763
 
 
2764
cat >>confdefs.h <<\_ACEOF
 
2765
#define GST_PACKAGE PACKAGE
 
2766
_ACEOF
 
2767
 
 
2768
 
 
2769
cat >>confdefs.h <<\_ACEOF
 
2770
#define GST_ORIGIN GST_PACKAGE_ORIGIN
 
2771
_ACEOF
 
2772
 
 
2773
 
 
2774
ACLOCAL_AMFLAGS="-I m4 -I common/m4"
 
2775
 
 
2776
 
 
2777
 
 
2778
 
 
2779
        MKINSTALLDIRS=
 
2780
  if test -n "$ac_aux_dir"; then
 
2781
    MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 
2782
  fi
 
2783
  if test -z "$MKINSTALLDIRS"; then
 
2784
    MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 
2785
  fi
 
2786
 
 
2787
 
 
2788
 
 
2789
 
 
2790
 
 
2791
        # Extract the first word of "msgfmt", so it can be a program name with args.
 
2792
set dummy msgfmt; ac_word=$2
 
2793
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2794
$as_echo_n "checking for $ac_word... " >&6; }
 
2795
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
2796
  $as_echo_n "(cached) " >&6
 
2797
else
 
2798
  case "$MSGFMT" in
 
2799
  /*)
 
2800
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
2801
  ;;
 
2802
  *)
 
2803
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
2804
  for ac_dir in $PATH; do
 
2805
    test -z "$ac_dir" && ac_dir=.
 
2806
    if test -f $ac_dir/$ac_word; then
 
2807
      if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
 
2808
     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
 
2809
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
 
2810
        break
 
2811
      fi
 
2812
    fi
 
2813
  done
 
2814
  IFS="$ac_save_ifs"
 
2815
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
 
2816
  ;;
 
2817
esac
 
2818
fi
 
2819
MSGFMT="$ac_cv_path_MSGFMT"
 
2820
if test "$MSGFMT" != ":"; then
 
2821
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
2822
$as_echo "$MSGFMT" >&6; }
 
2823
else
 
2824
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2825
$as_echo "no" >&6; }
 
2826
fi
 
2827
 
 
2828
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
 
2829
set dummy gmsgfmt; ac_word=$2
 
2830
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2831
$as_echo_n "checking for $ac_word... " >&6; }
 
2832
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
2833
  $as_echo_n "(cached) " >&6
 
2834
else
 
2835
  case $GMSGFMT in
 
2836
  [\\/]* | ?:[\\/]*)
 
2837
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
2838
  ;;
 
2839
  *)
 
2840
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2841
for as_dir in $PATH
 
2842
do
 
2843
  IFS=$as_save_IFS
 
2844
  test -z "$as_dir" && as_dir=.
 
2845
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2846
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2847
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
2848
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2849
    break 2
 
2850
  fi
 
2851
done
 
2852
done
 
2853
IFS=$as_save_IFS
 
2854
 
 
2855
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
2856
  ;;
 
2857
esac
 
2858
fi
 
2859
GMSGFMT=$ac_cv_path_GMSGFMT
 
2860
if test -n "$GMSGFMT"; then
 
2861
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
2862
$as_echo "$GMSGFMT" >&6; }
 
2863
else
 
2864
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2865
$as_echo "no" >&6; }
 
2866
fi
 
2867
 
 
2868
 
 
2869
 
 
2870
        # Extract the first word of "xgettext", so it can be a program name with args.
 
2871
set dummy xgettext; ac_word=$2
 
2872
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2873
$as_echo_n "checking for $ac_word... " >&6; }
 
2874
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
2875
  $as_echo_n "(cached) " >&6
 
2876
else
 
2877
  case "$XGETTEXT" in
 
2878
  /*)
 
2879
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
2880
  ;;
 
2881
  *)
 
2882
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
2883
  for ac_dir in $PATH; do
 
2884
    test -z "$ac_dir" && ac_dir=.
 
2885
    if test -f $ac_dir/$ac_word; then
 
2886
      if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 &&
 
2887
     (if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
 
2888
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
 
2889
        break
 
2890
      fi
 
2891
    fi
 
2892
  done
 
2893
  IFS="$ac_save_ifs"
 
2894
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 
2895
  ;;
 
2896
esac
 
2897
fi
 
2898
XGETTEXT="$ac_cv_path_XGETTEXT"
 
2899
if test "$XGETTEXT" != ":"; then
 
2900
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
2901
$as_echo "$XGETTEXT" >&6; }
 
2902
else
 
2903
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2904
$as_echo "no" >&6; }
 
2905
fi
 
2906
 
 
2907
    rm -f messages.po
 
2908
 
 
2909
    # Extract the first word of "msgmerge", so it can be a program name with args.
 
2910
set dummy msgmerge; ac_word=$2
 
2911
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2912
$as_echo_n "checking for $ac_word... " >&6; }
 
2913
if test "${ac_cv_path_MSGMERGE+set}" = set; then
 
2914
  $as_echo_n "(cached) " >&6
 
2915
else
 
2916
  case "$MSGMERGE" in
 
2917
  /*)
 
2918
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
2919
  ;;
 
2920
  *)
 
2921
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
2922
  for ac_dir in $PATH; do
 
2923
    test -z "$ac_dir" && ac_dir=.
 
2924
    if test -f $ac_dir/$ac_word; then
 
2925
      if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
 
2926
        ac_cv_path_MSGMERGE="$ac_dir/$ac_word"
 
2927
        break
 
2928
      fi
 
2929
    fi
 
2930
  done
 
2931
  IFS="$ac_save_ifs"
 
2932
  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
 
2933
  ;;
 
2934
esac
 
2935
fi
 
2936
MSGMERGE="$ac_cv_path_MSGMERGE"
 
2937
if test "$MSGMERGE" != ":"; then
 
2938
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
2939
$as_echo "$MSGMERGE" >&6; }
 
2940
else
 
2941
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2942
$as_echo "no" >&6; }
 
2943
fi
 
2944
 
 
2945
 
 
2946
      if test "$GMSGFMT" != ":"; then
 
2947
            if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
 
2948
       (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
 
2949
      : ;
 
2950
    else
 
2951
      GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
 
2952
      { $as_echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
 
2953
$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
 
2954
      GMSGFMT=":"
 
2955
    fi
 
2956
  fi
 
2957
 
 
2958
      if test "$XGETTEXT" != ":"; then
 
2959
            if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 &&
 
2960
       (if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
 
2961
      : ;
 
2962
    else
 
2963
      { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
2964
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
 
2965
      XGETTEXT=":"
 
2966
    fi
 
2967
        rm -f messages.po
 
2968
  fi
 
2969
 
 
2970
  ac_config_commands="$ac_config_commands default-1"
 
2971
 
 
2972
 
 
2973
 
 
2974
      if test "X$prefix" = "XNONE"; then
 
2975
    acl_final_prefix="$ac_default_prefix"
 
2976
  else
 
2977
    acl_final_prefix="$prefix"
 
2978
  fi
 
2979
  if test "X$exec_prefix" = "XNONE"; then
 
2980
    acl_final_exec_prefix='${prefix}'
 
2981
  else
 
2982
    acl_final_exec_prefix="$exec_prefix"
 
2983
  fi
 
2984
  acl_save_prefix="$prefix"
 
2985
  prefix="$acl_final_prefix"
 
2986
  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
 
2987
  prefix="$acl_save_prefix"
 
2988
 
 
2989
DEPDIR="${am__leading_dot}deps"
 
2990
 
 
2991
ac_config_commands="$ac_config_commands depfiles"
 
2992
 
 
2993
 
 
2994
am_make=${MAKE-make}
 
2995
cat > confinc << 'END'
 
2996
am__doit:
 
2997
        @echo done
 
2998
.PHONY: am__doit
 
2999
END
 
3000
# If we don't find an include directive, just comment out the code.
 
3001
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3002
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3003
am__include="#"
 
3004
am__quote=
 
3005
_am_result=none
 
3006
# First try GNU make style include.
 
3007
echo "include confinc" > confmf
 
3008
# We grep out `Entering directory' and `Leaving directory'
 
3009
# messages which can occur if `w' ends up in MAKEFLAGS.
 
3010
# In particular we don't look at `^make:' because GNU make might
 
3011
# be invoked under some other name (usually "gmake"), in which
 
3012
# case it prints its new name instead of `make'.
 
3013
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
3014
   am__include=include
 
3015
   am__quote=
 
3016
   _am_result=GNU
 
3017
fi
 
3018
# Now try BSD make style include.
 
3019
if test "$am__include" = "#"; then
 
3020
   echo '.include "confinc"' > confmf
 
3021
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
3022
      am__include=.include
 
3023
      am__quote="\""
 
3024
      _am_result=BSD
 
3025
   fi
 
3026
fi
 
3027
 
 
3028
 
 
3029
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3030
$as_echo "$_am_result" >&6; }
 
3031
rm -f confinc confmf
 
3032
 
 
3033
# Check whether --enable-dependency-tracking was given.
 
3034
if test "${enable_dependency_tracking+set}" = set; then
 
3035
  enableval=$enable_dependency_tracking;
 
3036
fi
 
3037
 
 
3038
if test "x$enable_dependency_tracking" != xno; then
 
3039
  am_depcomp="$ac_aux_dir/depcomp"
 
3040
  AMDEPBACKSLASH='\'
 
3041
fi
 
3042
 if test "x$enable_dependency_tracking" != xno; then
 
3043
  AMDEP_TRUE=
 
3044
  AMDEP_FALSE='#'
 
3045
else
 
3046
  AMDEP_TRUE='#'
 
3047
  AMDEP_FALSE=
 
3048
fi
 
3049
 
 
3050
 
 
3051
ac_ext=c
 
3052
ac_cpp='$CPP $CPPFLAGS'
 
3053
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3054
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3055
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3056
if test -n "$ac_tool_prefix"; then
 
3057
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
3058
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
3059
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3060
$as_echo_n "checking for $ac_word... " >&6; }
 
3061
if test "${ac_cv_prog_CC+set}" = set; then
 
3062
  $as_echo_n "(cached) " >&6
 
3063
else
 
3064
  if test -n "$CC"; then
 
3065
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3066
else
 
3067
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3068
for as_dir in $PATH
 
3069
do
 
3070
  IFS=$as_save_IFS
 
3071
  test -z "$as_dir" && as_dir=.
 
3072
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3073
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3074
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
3075
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3076
    break 2
 
3077
  fi
 
3078
done
 
3079
done
 
3080
IFS=$as_save_IFS
 
3081
 
 
3082
fi
 
3083
fi
 
3084
CC=$ac_cv_prog_CC
 
3085
if test -n "$CC"; then
 
3086
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3087
$as_echo "$CC" >&6; }
 
3088
else
 
3089
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3090
$as_echo "no" >&6; }
 
3091
fi
 
3092
 
 
3093
 
 
3094
fi
 
3095
if test -z "$ac_cv_prog_CC"; then
 
3096
  ac_ct_CC=$CC
 
3097
  # Extract the first word of "gcc", so it can be a program name with args.
 
3098
set dummy gcc; ac_word=$2
 
3099
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3100
$as_echo_n "checking for $ac_word... " >&6; }
 
3101
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3102
  $as_echo_n "(cached) " >&6
 
3103
else
 
3104
  if test -n "$ac_ct_CC"; then
 
3105
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3106
else
 
3107
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3108
for as_dir in $PATH
 
3109
do
 
3110
  IFS=$as_save_IFS
 
3111
  test -z "$as_dir" && as_dir=.
 
3112
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3113
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3114
    ac_cv_prog_ac_ct_CC="gcc"
 
3115
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3116
    break 2
 
3117
  fi
 
3118
done
 
3119
done
 
3120
IFS=$as_save_IFS
 
3121
 
 
3122
fi
 
3123
fi
 
3124
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3125
if test -n "$ac_ct_CC"; then
 
3126
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3127
$as_echo "$ac_ct_CC" >&6; }
 
3128
else
 
3129
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3130
$as_echo "no" >&6; }
 
3131
fi
 
3132
 
 
3133
  if test "x$ac_ct_CC" = x; then
 
3134
    CC=""
 
3135
  else
 
3136
    case $cross_compiling:$ac_tool_warned in
 
3137
yes:)
 
3138
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3139
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3140
ac_tool_warned=yes ;;
 
3141
esac
 
3142
    CC=$ac_ct_CC
 
3143
  fi
 
3144
else
 
3145
  CC="$ac_cv_prog_CC"
 
3146
fi
 
3147
 
 
3148
if test -z "$CC"; then
 
3149
          if test -n "$ac_tool_prefix"; then
 
3150
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3151
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
3152
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3153
$as_echo_n "checking for $ac_word... " >&6; }
 
3154
if test "${ac_cv_prog_CC+set}" = set; then
 
3155
  $as_echo_n "(cached) " >&6
 
3156
else
 
3157
  if test -n "$CC"; then
 
3158
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3159
else
 
3160
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3161
for as_dir in $PATH
 
3162
do
 
3163
  IFS=$as_save_IFS
 
3164
  test -z "$as_dir" && as_dir=.
 
3165
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3166
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3167
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
3168
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3169
    break 2
 
3170
  fi
 
3171
done
 
3172
done
 
3173
IFS=$as_save_IFS
 
3174
 
 
3175
fi
 
3176
fi
 
3177
CC=$ac_cv_prog_CC
 
3178
if test -n "$CC"; then
 
3179
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3180
$as_echo "$CC" >&6; }
 
3181
else
 
3182
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3183
$as_echo "no" >&6; }
 
3184
fi
 
3185
 
 
3186
 
 
3187
  fi
 
3188
fi
 
3189
if test -z "$CC"; then
 
3190
  # Extract the first word of "cc", so it can be a program name with args.
 
3191
set dummy cc; ac_word=$2
 
3192
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3193
$as_echo_n "checking for $ac_word... " >&6; }
 
3194
if test "${ac_cv_prog_CC+set}" = set; then
 
3195
  $as_echo_n "(cached) " >&6
 
3196
else
 
3197
  if test -n "$CC"; then
 
3198
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3199
else
 
3200
  ac_prog_rejected=no
 
3201
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3202
for as_dir in $PATH
 
3203
do
 
3204
  IFS=$as_save_IFS
 
3205
  test -z "$as_dir" && as_dir=.
 
3206
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3207
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3208
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
3209
       ac_prog_rejected=yes
 
3210
       continue
 
3211
     fi
 
3212
    ac_cv_prog_CC="cc"
 
3213
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3214
    break 2
 
3215
  fi
 
3216
done
 
3217
done
 
3218
IFS=$as_save_IFS
 
3219
 
 
3220
if test $ac_prog_rejected = yes; then
 
3221
  # We found a bogon in the path, so make sure we never use it.
 
3222
  set dummy $ac_cv_prog_CC
 
3223
  shift
 
3224
  if test $# != 0; then
 
3225
    # We chose a different compiler from the bogus one.
 
3226
    # However, it has the same basename, so the bogon will be chosen
 
3227
    # first if we set CC to just the basename; use the full file name.
 
3228
    shift
 
3229
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
3230
  fi
 
3231
fi
 
3232
fi
 
3233
fi
 
3234
CC=$ac_cv_prog_CC
 
3235
if test -n "$CC"; then
 
3236
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3237
$as_echo "$CC" >&6; }
 
3238
else
 
3239
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3240
$as_echo "no" >&6; }
 
3241
fi
 
3242
 
 
3243
 
 
3244
fi
 
3245
if test -z "$CC"; then
 
3246
  if test -n "$ac_tool_prefix"; then
 
3247
  for ac_prog in cl.exe
 
3248
  do
 
3249
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3250
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3251
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3252
$as_echo_n "checking for $ac_word... " >&6; }
 
3253
if test "${ac_cv_prog_CC+set}" = set; then
 
3254
  $as_echo_n "(cached) " >&6
 
3255
else
 
3256
  if test -n "$CC"; then
 
3257
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3258
else
 
3259
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3260
for as_dir in $PATH
 
3261
do
 
3262
  IFS=$as_save_IFS
 
3263
  test -z "$as_dir" && as_dir=.
 
3264
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3265
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3266
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
3267
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3268
    break 2
 
3269
  fi
 
3270
done
 
3271
done
 
3272
IFS=$as_save_IFS
 
3273
 
 
3274
fi
 
3275
fi
 
3276
CC=$ac_cv_prog_CC
 
3277
if test -n "$CC"; then
 
3278
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3279
$as_echo "$CC" >&6; }
 
3280
else
 
3281
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3282
$as_echo "no" >&6; }
 
3283
fi
 
3284
 
 
3285
 
 
3286
    test -n "$CC" && break
 
3287
  done
 
3288
fi
 
3289
if test -z "$CC"; then
 
3290
  ac_ct_CC=$CC
 
3291
  for ac_prog in cl.exe
 
3292
do
 
3293
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3294
set dummy $ac_prog; ac_word=$2
 
3295
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3296
$as_echo_n "checking for $ac_word... " >&6; }
 
3297
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3298
  $as_echo_n "(cached) " >&6
 
3299
else
 
3300
  if test -n "$ac_ct_CC"; then
 
3301
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3302
else
 
3303
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3304
for as_dir in $PATH
 
3305
do
 
3306
  IFS=$as_save_IFS
 
3307
  test -z "$as_dir" && as_dir=.
 
3308
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3309
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3310
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
3311
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3312
    break 2
 
3313
  fi
 
3314
done
 
3315
done
 
3316
IFS=$as_save_IFS
 
3317
 
 
3318
fi
 
3319
fi
 
3320
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3321
if test -n "$ac_ct_CC"; then
 
3322
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3323
$as_echo "$ac_ct_CC" >&6; }
 
3324
else
 
3325
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3326
$as_echo "no" >&6; }
 
3327
fi
 
3328
 
 
3329
 
 
3330
  test -n "$ac_ct_CC" && break
 
3331
done
 
3332
 
 
3333
  if test "x$ac_ct_CC" = x; then
 
3334
    CC=""
 
3335
  else
 
3336
    case $cross_compiling:$ac_tool_warned in
 
3337
yes:)
 
3338
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3339
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3340
ac_tool_warned=yes ;;
 
3341
esac
 
3342
    CC=$ac_ct_CC
 
3343
  fi
 
3344
fi
 
3345
 
 
3346
fi
 
3347
 
 
3348
 
 
3349
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3350
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3351
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
3352
See \`config.log' for more details." >&5
 
3353
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
 
3354
See \`config.log' for more details." >&2;}
 
3355
   { (exit 1); exit 1; }; }; }
 
3356
 
 
3357
# Provide some information about the compiler.
 
3358
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3359
set X $ac_compile
 
3360
ac_compiler=$2
 
3361
{ (ac_try="$ac_compiler --version >&5"
 
3362
case "(($ac_try" in
 
3363
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3364
  *) ac_try_echo=$ac_try;;
 
3365
esac
 
3366
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3367
$as_echo "$ac_try_echo") >&5
 
3368
  (eval "$ac_compiler --version >&5") 2>&5
 
3369
  ac_status=$?
 
3370
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3371
  (exit $ac_status); }
 
3372
{ (ac_try="$ac_compiler -v >&5"
 
3373
case "(($ac_try" in
 
3374
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3375
  *) ac_try_echo=$ac_try;;
 
3376
esac
 
3377
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3378
$as_echo "$ac_try_echo") >&5
 
3379
  (eval "$ac_compiler -v >&5") 2>&5
 
3380
  ac_status=$?
 
3381
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3382
  (exit $ac_status); }
 
3383
{ (ac_try="$ac_compiler -V >&5"
 
3384
case "(($ac_try" in
 
3385
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3386
  *) ac_try_echo=$ac_try;;
 
3387
esac
 
3388
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3389
$as_echo "$ac_try_echo") >&5
 
3390
  (eval "$ac_compiler -V >&5") 2>&5
 
3391
  ac_status=$?
 
3392
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3393
  (exit $ac_status); }
 
3394
 
 
3395
cat >conftest.$ac_ext <<_ACEOF
 
3396
/* confdefs.h.  */
 
3397
_ACEOF
 
3398
cat confdefs.h >>conftest.$ac_ext
 
3399
cat >>conftest.$ac_ext <<_ACEOF
 
3400
/* end confdefs.h.  */
 
3401
 
 
3402
int
 
3403
main ()
 
3404
{
 
3405
 
 
3406
  ;
 
3407
  return 0;
 
3408
}
 
3409
_ACEOF
 
3410
ac_clean_files_save=$ac_clean_files
 
3411
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3412
# Try to create an executable without -o first, disregard a.out.
 
3413
# It will help us diagnose broken compilers, and finding out an intuition
 
3414
# of exeext.
 
3415
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3416
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3417
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3418
 
 
3419
# The possible output files:
 
3420
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3421
 
 
3422
ac_rmfiles=
 
3423
for ac_file in $ac_files
 
3424
do
 
3425
  case $ac_file in
 
3426
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3427
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3428
  esac
 
3429
done
 
3430
rm -f $ac_rmfiles
 
3431
 
 
3432
if { (ac_try="$ac_link_default"
 
3433
case "(($ac_try" in
 
3434
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3435
  *) ac_try_echo=$ac_try;;
 
3436
esac
 
3437
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3438
$as_echo "$ac_try_echo") >&5
 
3439
  (eval "$ac_link_default") 2>&5
 
3440
  ac_status=$?
 
3441
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3442
  (exit $ac_status); }; then
 
3443
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3444
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3445
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3446
# so that the user can short-circuit this test for compilers unknown to
 
3447
# Autoconf.
 
3448
for ac_file in $ac_files ''
 
3449
do
 
3450
  test -f "$ac_file" || continue
 
3451
  case $ac_file in
 
3452
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
3453
        ;;
 
3454
    [ab].out )
 
3455
        # We found the default executable, but exeext='' is most
 
3456
        # certainly right.
 
3457
        break;;
 
3458
    *.* )
 
3459
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3460
        then :; else
 
3461
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3462
        fi
 
3463
        # We set ac_cv_exeext here because the later test for it is not
 
3464
        # safe: cross compilers may not add the suffix if given an `-o'
 
3465
        # argument, so we may need to know it at that point already.
 
3466
        # Even if this section looks crufty: it has the advantage of
 
3467
        # actually working.
 
3468
        break;;
 
3469
    * )
 
3470
        break;;
 
3471
  esac
 
3472
done
 
3473
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3474
 
 
3475
else
 
3476
  ac_file=''
 
3477
fi
 
3478
 
 
3479
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3480
$as_echo "$ac_file" >&6; }
 
3481
if test -z "$ac_file"; then
 
3482
  $as_echo "$as_me: failed program was:" >&5
 
3483
sed 's/^/| /' conftest.$ac_ext >&5
 
3484
 
 
3485
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3486
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3487
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
 
3488
See \`config.log' for more details." >&5
 
3489
$as_echo "$as_me: error: C compiler cannot create executables
 
3490
See \`config.log' for more details." >&2;}
 
3491
   { (exit 77); exit 77; }; }; }
 
3492
fi
 
3493
 
 
3494
ac_exeext=$ac_cv_exeext
 
3495
 
 
3496
# Check that the compiler produces executables we can run.  If not, either
 
3497
# the compiler is broken, or we cross compile.
 
3498
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3499
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3500
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 
3501
# If not cross compiling, check that we can run a simple program.
 
3502
if test "$cross_compiling" != yes; then
 
3503
  if { ac_try='./$ac_file'
 
3504
  { (case "(($ac_try" in
 
3505
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3506
  *) ac_try_echo=$ac_try;;
 
3507
esac
 
3508
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3509
$as_echo "$ac_try_echo") >&5
 
3510
  (eval "$ac_try") 2>&5
 
3511
  ac_status=$?
 
3512
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3513
  (exit $ac_status); }; }; then
 
3514
    cross_compiling=no
 
3515
  else
 
3516
    if test "$cross_compiling" = maybe; then
 
3517
        cross_compiling=yes
 
3518
    else
 
3519
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3520
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3521
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3522
If you meant to cross compile, use \`--host'.
 
3523
See \`config.log' for more details." >&5
 
3524
$as_echo "$as_me: error: cannot run C compiled programs.
 
3525
If you meant to cross compile, use \`--host'.
 
3526
See \`config.log' for more details." >&2;}
 
3527
   { (exit 1); exit 1; }; }; }
 
3528
    fi
 
3529
  fi
 
3530
fi
 
3531
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3532
$as_echo "yes" >&6; }
 
3533
 
 
3534
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3535
ac_clean_files=$ac_clean_files_save
 
3536
# Check that the compiler produces executables we can run.  If not, either
 
3537
# the compiler is broken, or we cross compile.
 
3538
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3539
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3540
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3541
$as_echo "$cross_compiling" >&6; }
 
3542
 
 
3543
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3544
$as_echo_n "checking for suffix of executables... " >&6; }
 
3545
if { (ac_try="$ac_link"
 
3546
case "(($ac_try" in
 
3547
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3548
  *) ac_try_echo=$ac_try;;
 
3549
esac
 
3550
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3551
$as_echo "$ac_try_echo") >&5
 
3552
  (eval "$ac_link") 2>&5
 
3553
  ac_status=$?
 
3554
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3555
  (exit $ac_status); }; then
 
3556
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
3557
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
3558
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
3559
# `rm'.
 
3560
for ac_file in conftest.exe conftest conftest.*; do
 
3561
  test -f "$ac_file" || continue
 
3562
  case $ac_file in
 
3563
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3564
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3565
          break;;
 
3566
    * ) break;;
 
3567
  esac
 
3568
done
 
3569
else
 
3570
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3571
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3572
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3573
See \`config.log' for more details." >&5
 
3574
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3575
See \`config.log' for more details." >&2;}
 
3576
   { (exit 1); exit 1; }; }; }
 
3577
fi
 
3578
 
 
3579
rm -f conftest$ac_cv_exeext
 
3580
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3581
$as_echo "$ac_cv_exeext" >&6; }
 
3582
 
 
3583
rm -f conftest.$ac_ext
 
3584
EXEEXT=$ac_cv_exeext
 
3585
ac_exeext=$EXEEXT
 
3586
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3587
$as_echo_n "checking for suffix of object files... " >&6; }
 
3588
if test "${ac_cv_objext+set}" = set; then
 
3589
  $as_echo_n "(cached) " >&6
 
3590
else
 
3591
  cat >conftest.$ac_ext <<_ACEOF
 
3592
/* confdefs.h.  */
 
3593
_ACEOF
 
3594
cat confdefs.h >>conftest.$ac_ext
 
3595
cat >>conftest.$ac_ext <<_ACEOF
 
3596
/* end confdefs.h.  */
 
3597
 
 
3598
int
 
3599
main ()
 
3600
{
 
3601
 
 
3602
  ;
 
3603
  return 0;
 
3604
}
 
3605
_ACEOF
 
3606
rm -f conftest.o conftest.obj
 
3607
if { (ac_try="$ac_compile"
 
3608
case "(($ac_try" in
 
3609
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3610
  *) ac_try_echo=$ac_try;;
 
3611
esac
 
3612
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3613
$as_echo "$ac_try_echo") >&5
 
3614
  (eval "$ac_compile") 2>&5
 
3615
  ac_status=$?
 
3616
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3617
  (exit $ac_status); }; then
 
3618
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3619
  test -f "$ac_file" || continue;
 
3620
  case $ac_file in
 
3621
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
3622
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3623
       break;;
 
3624
  esac
 
3625
done
 
3626
else
 
3627
  $as_echo "$as_me: failed program was:" >&5
 
3628
sed 's/^/| /' conftest.$ac_ext >&5
 
3629
 
 
3630
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3631
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3632
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3633
See \`config.log' for more details." >&5
 
3634
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3635
See \`config.log' for more details." >&2;}
 
3636
   { (exit 1); exit 1; }; }; }
 
3637
fi
 
3638
 
 
3639
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3640
fi
 
3641
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3642
$as_echo "$ac_cv_objext" >&6; }
 
3643
OBJEXT=$ac_cv_objext
 
3644
ac_objext=$OBJEXT
 
3645
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3646
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3647
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3648
  $as_echo_n "(cached) " >&6
 
3649
else
 
3650
  cat >conftest.$ac_ext <<_ACEOF
 
3651
/* confdefs.h.  */
 
3652
_ACEOF
 
3653
cat confdefs.h >>conftest.$ac_ext
 
3654
cat >>conftest.$ac_ext <<_ACEOF
 
3655
/* end confdefs.h.  */
 
3656
 
 
3657
int
 
3658
main ()
 
3659
{
 
3660
#ifndef __GNUC__
 
3661
       choke me
 
3662
#endif
 
3663
 
 
3664
  ;
 
3665
  return 0;
 
3666
}
 
3667
_ACEOF
 
3668
rm -f conftest.$ac_objext
 
3669
if { (ac_try="$ac_compile"
 
3670
case "(($ac_try" in
 
3671
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3672
  *) ac_try_echo=$ac_try;;
 
3673
esac
 
3674
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3675
$as_echo "$ac_try_echo") >&5
 
3676
  (eval "$ac_compile") 2>conftest.er1
 
3677
  ac_status=$?
 
3678
  grep -v '^ *+' conftest.er1 >conftest.err
 
3679
  rm -f conftest.er1
 
3680
  cat conftest.err >&5
 
3681
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3682
  (exit $ac_status); } && {
 
3683
         test -z "$ac_c_werror_flag" ||
 
3684
         test ! -s conftest.err
 
3685
       } && test -s conftest.$ac_objext; then
 
3686
  ac_compiler_gnu=yes
 
3687
else
 
3688
  $as_echo "$as_me: failed program was:" >&5
 
3689
sed 's/^/| /' conftest.$ac_ext >&5
 
3690
 
 
3691
        ac_compiler_gnu=no
 
3692
fi
 
3693
 
 
3694
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3695
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
3696
 
 
3697
fi
 
3698
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3699
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3700
if test $ac_compiler_gnu = yes; then
 
3701
  GCC=yes
 
3702
else
 
3703
  GCC=
 
3704
fi
 
3705
ac_test_CFLAGS=${CFLAGS+set}
 
3706
ac_save_CFLAGS=$CFLAGS
 
3707
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3708
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3709
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3710
  $as_echo_n "(cached) " >&6
 
3711
else
 
3712
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3713
   ac_c_werror_flag=yes
 
3714
   ac_cv_prog_cc_g=no
 
3715
   CFLAGS="-g"
 
3716
   cat >conftest.$ac_ext <<_ACEOF
 
3717
/* confdefs.h.  */
 
3718
_ACEOF
 
3719
cat confdefs.h >>conftest.$ac_ext
 
3720
cat >>conftest.$ac_ext <<_ACEOF
 
3721
/* end confdefs.h.  */
 
3722
 
 
3723
int
 
3724
main ()
 
3725
{
 
3726
 
 
3727
  ;
 
3728
  return 0;
 
3729
}
 
3730
_ACEOF
 
3731
rm -f conftest.$ac_objext
 
3732
if { (ac_try="$ac_compile"
 
3733
case "(($ac_try" in
 
3734
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3735
  *) ac_try_echo=$ac_try;;
 
3736
esac
 
3737
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3738
$as_echo "$ac_try_echo") >&5
 
3739
  (eval "$ac_compile") 2>conftest.er1
 
3740
  ac_status=$?
 
3741
  grep -v '^ *+' conftest.er1 >conftest.err
 
3742
  rm -f conftest.er1
 
3743
  cat conftest.err >&5
 
3744
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3745
  (exit $ac_status); } && {
 
3746
         test -z "$ac_c_werror_flag" ||
 
3747
         test ! -s conftest.err
 
3748
       } && test -s conftest.$ac_objext; then
 
3749
  ac_cv_prog_cc_g=yes
 
3750
else
 
3751
  $as_echo "$as_me: failed program was:" >&5
 
3752
sed 's/^/| /' conftest.$ac_ext >&5
 
3753
 
 
3754
        CFLAGS=""
 
3755
      cat >conftest.$ac_ext <<_ACEOF
 
3756
/* confdefs.h.  */
 
3757
_ACEOF
 
3758
cat confdefs.h >>conftest.$ac_ext
 
3759
cat >>conftest.$ac_ext <<_ACEOF
 
3760
/* end confdefs.h.  */
 
3761
 
 
3762
int
 
3763
main ()
 
3764
{
 
3765
 
 
3766
  ;
 
3767
  return 0;
 
3768
}
 
3769
_ACEOF
 
3770
rm -f conftest.$ac_objext
 
3771
if { (ac_try="$ac_compile"
 
3772
case "(($ac_try" in
 
3773
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3774
  *) ac_try_echo=$ac_try;;
 
3775
esac
 
3776
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3777
$as_echo "$ac_try_echo") >&5
 
3778
  (eval "$ac_compile") 2>conftest.er1
 
3779
  ac_status=$?
 
3780
  grep -v '^ *+' conftest.er1 >conftest.err
 
3781
  rm -f conftest.er1
 
3782
  cat conftest.err >&5
 
3783
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3784
  (exit $ac_status); } && {
 
3785
         test -z "$ac_c_werror_flag" ||
 
3786
         test ! -s conftest.err
 
3787
       } && test -s conftest.$ac_objext; then
 
3788
  :
 
3789
else
 
3790
  $as_echo "$as_me: failed program was:" >&5
 
3791
sed 's/^/| /' conftest.$ac_ext >&5
 
3792
 
 
3793
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3794
         CFLAGS="-g"
 
3795
         cat >conftest.$ac_ext <<_ACEOF
 
3796
/* confdefs.h.  */
 
3797
_ACEOF
 
3798
cat confdefs.h >>conftest.$ac_ext
 
3799
cat >>conftest.$ac_ext <<_ACEOF
 
3800
/* end confdefs.h.  */
 
3801
 
 
3802
int
 
3803
main ()
 
3804
{
 
3805
 
 
3806
  ;
 
3807
  return 0;
 
3808
}
 
3809
_ACEOF
 
3810
rm -f conftest.$ac_objext
 
3811
if { (ac_try="$ac_compile"
 
3812
case "(($ac_try" in
 
3813
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3814
  *) ac_try_echo=$ac_try;;
 
3815
esac
 
3816
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3817
$as_echo "$ac_try_echo") >&5
 
3818
  (eval "$ac_compile") 2>conftest.er1
 
3819
  ac_status=$?
 
3820
  grep -v '^ *+' conftest.er1 >conftest.err
 
3821
  rm -f conftest.er1
 
3822
  cat conftest.err >&5
 
3823
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3824
  (exit $ac_status); } && {
 
3825
         test -z "$ac_c_werror_flag" ||
 
3826
         test ! -s conftest.err
 
3827
       } && test -s conftest.$ac_objext; then
 
3828
  ac_cv_prog_cc_g=yes
 
3829
else
 
3830
  $as_echo "$as_me: failed program was:" >&5
 
3831
sed 's/^/| /' conftest.$ac_ext >&5
 
3832
 
 
3833
 
 
3834
fi
 
3835
 
 
3836
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3837
fi
 
3838
 
 
3839
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3840
fi
 
3841
 
 
3842
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3843
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3844
fi
 
3845
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3846
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
3847
if test "$ac_test_CFLAGS" = set; then
 
3848
  CFLAGS=$ac_save_CFLAGS
 
3849
elif test $ac_cv_prog_cc_g = yes; then
 
3850
  if test "$GCC" = yes; then
 
3851
    CFLAGS="-g -O2"
 
3852
  else
 
3853
    CFLAGS="-g"
 
3854
  fi
 
3855
else
 
3856
  if test "$GCC" = yes; then
 
3857
    CFLAGS="-O2"
 
3858
  else
 
3859
    CFLAGS=
 
3860
  fi
 
3861
fi
 
3862
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3863
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3864
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3865
  $as_echo_n "(cached) " >&6
 
3866
else
 
3867
  ac_cv_prog_cc_c89=no
 
3868
ac_save_CC=$CC
 
3869
cat >conftest.$ac_ext <<_ACEOF
 
3870
/* confdefs.h.  */
 
3871
_ACEOF
 
3872
cat confdefs.h >>conftest.$ac_ext
 
3873
cat >>conftest.$ac_ext <<_ACEOF
 
3874
/* end confdefs.h.  */
 
3875
#include <stdarg.h>
 
3876
#include <stdio.h>
 
3877
#include <sys/types.h>
 
3878
#include <sys/stat.h>
 
3879
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3880
struct buf { int x; };
 
3881
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3882
static char *e (p, i)
 
3883
     char **p;
 
3884
     int i;
 
3885
{
 
3886
  return p[i];
 
3887
}
 
3888
static char *f (char * (*g) (char **, int), char **p, ...)
 
3889
{
 
3890
  char *s;
 
3891
  va_list v;
 
3892
  va_start (v,p);
 
3893
  s = g (p, va_arg (v,int));
 
3894
  va_end (v);
 
3895
  return s;
 
3896
}
 
3897
 
 
3898
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3899
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3900
   These don't provoke an error unfortunately, instead are silently treated
 
3901
   as 'x'.  The following induces an error, until -std is added to get
 
3902
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3903
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3904
   that's true only with -std.  */
 
3905
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3906
 
 
3907
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3908
   inside strings and character constants.  */
 
3909
#define FOO(x) 'x'
 
3910
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3911
 
 
3912
int test (int i, double x);
 
3913
struct s1 {int (*f) (int a);};
 
3914
struct s2 {int (*f) (double a);};
 
3915
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3916
int argc;
 
3917
char **argv;
 
3918
int
 
3919
main ()
 
3920
{
 
3921
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3922
  ;
 
3923
  return 0;
 
3924
}
 
3925
_ACEOF
 
3926
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3927
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3928
do
 
3929
  CC="$ac_save_CC $ac_arg"
 
3930
  rm -f conftest.$ac_objext
 
3931
if { (ac_try="$ac_compile"
 
3932
case "(($ac_try" in
 
3933
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3934
  *) ac_try_echo=$ac_try;;
 
3935
esac
 
3936
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3937
$as_echo "$ac_try_echo") >&5
 
3938
  (eval "$ac_compile") 2>conftest.er1
 
3939
  ac_status=$?
 
3940
  grep -v '^ *+' conftest.er1 >conftest.err
 
3941
  rm -f conftest.er1
 
3942
  cat conftest.err >&5
 
3943
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3944
  (exit $ac_status); } && {
 
3945
         test -z "$ac_c_werror_flag" ||
 
3946
         test ! -s conftest.err
 
3947
       } && test -s conftest.$ac_objext; then
 
3948
  ac_cv_prog_cc_c89=$ac_arg
 
3949
else
 
3950
  $as_echo "$as_me: failed program was:" >&5
 
3951
sed 's/^/| /' conftest.$ac_ext >&5
 
3952
 
 
3953
 
 
3954
fi
 
3955
 
 
3956
rm -f core conftest.err conftest.$ac_objext
 
3957
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3958
done
 
3959
rm -f conftest.$ac_ext
 
3960
CC=$ac_save_CC
 
3961
 
 
3962
fi
 
3963
# AC_CACHE_VAL
 
3964
case "x$ac_cv_prog_cc_c89" in
 
3965
  x)
 
3966
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3967
$as_echo "none needed" >&6; } ;;
 
3968
  xno)
 
3969
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3970
$as_echo "unsupported" >&6; } ;;
 
3971
  *)
 
3972
    CC="$CC $ac_cv_prog_cc_c89"
 
3973
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3974
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
3975
esac
 
3976
 
 
3977
 
 
3978
ac_ext=c
 
3979
ac_cpp='$CPP $CPPFLAGS'
 
3980
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3981
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3982
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3983
 
 
3984
depcc="$CC"   am_compiler_list=
 
3985
 
 
3986
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3987
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3988
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3989
  $as_echo_n "(cached) " >&6
 
3990
else
 
3991
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3992
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3993
  # making bogus files that we don't know about and never remove.  For
 
3994
  # instance it was reported that on HP-UX the gcc test will end up
 
3995
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3996
  # in D'.
 
3997
  mkdir conftest.dir
 
3998
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3999
  # using a relative directory.
 
4000
  cp "$am_depcomp" conftest.dir
 
4001
  cd conftest.dir
 
4002
  # We will build objects and dependencies in a subdirectory because
 
4003
  # it helps to detect inapplicable dependency modes.  For instance
 
4004
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
4005
  # side effect of compilation, but ICC will put the dependencies in
 
4006
  # the current directory while Tru64 will put them in the object
 
4007
  # directory.
 
4008
  mkdir sub
 
4009
 
 
4010
  am_cv_CC_dependencies_compiler_type=none
 
4011
  if test "$am_compiler_list" = ""; then
 
4012
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
4013
  fi
 
4014
  for depmode in $am_compiler_list; do
 
4015
    # Setup a source with many dependencies, because some compilers
 
4016
    # like to wrap large dependency lists on column 80 (with \), and
 
4017
    # we should not choose a depcomp mode which is confused by this.
 
4018
    #
 
4019
    # We need to recreate these files for each test, as the compiler may
 
4020
    # overwrite some of them when testing with obscure command lines.
 
4021
    # This happens at least with the AIX C compiler.
 
4022
    : > sub/conftest.c
 
4023
    for i in 1 2 3 4 5 6; do
 
4024
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
4025
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
4026
      # Solaris 8's {/usr,}/bin/sh.
 
4027
      touch sub/conftst$i.h
 
4028
    done
 
4029
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
4030
 
 
4031
    case $depmode in
 
4032
    nosideeffect)
 
4033
      # after this tag, mechanisms are not by side-effect, so they'll
 
4034
      # only be used when explicitly requested
 
4035
      if test "x$enable_dependency_tracking" = xyes; then
 
4036
        continue
 
4037
      else
 
4038
        break
 
4039
      fi
 
4040
      ;;
 
4041
    none) break ;;
 
4042
    esac
 
4043
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4044
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4045
    # handle `-M -o', and we need to detect this.
 
4046
    if depmode=$depmode \
 
4047
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4048
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
4049
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4050
         >/dev/null 2>conftest.err &&
 
4051
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
4052
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
4053
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4054
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
4055
      # icc doesn't choke on unknown options, it will just issue warnings
 
4056
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4057
      # that says an option was ignored or not supported.
 
4058
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4059
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4060
      # The diagnosis changed in icc 8.0:
 
4061
      #   icc: Command line remark: option '-MP' not supported
 
4062
      if (grep 'ignoring option' conftest.err ||
 
4063
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
4064
        am_cv_CC_dependencies_compiler_type=$depmode
 
4065
        break
 
4066
      fi
 
4067
    fi
 
4068
  done
 
4069
 
 
4070
  cd ..
 
4071
  rm -rf conftest.dir
 
4072
else
 
4073
  am_cv_CC_dependencies_compiler_type=none
 
4074
fi
 
4075
 
 
4076
fi
 
4077
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4078
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
4079
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
4080
 
 
4081
 if
 
4082
  test "x$enable_dependency_tracking" != xno \
 
4083
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
4084
  am__fastdepCC_TRUE=
 
4085
  am__fastdepCC_FALSE='#'
 
4086
else
 
4087
  am__fastdepCC_TRUE='#'
 
4088
  am__fastdepCC_FALSE=
 
4089
fi
 
4090
 
 
4091
 
 
4092
# Make sure we can run config.sub.
 
4093
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
4094
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
4095
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
4096
   { (exit 1); exit 1; }; }
 
4097
 
 
4098
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
4099
$as_echo_n "checking build system type... " >&6; }
 
4100
if test "${ac_cv_build+set}" = set; then
 
4101
  $as_echo_n "(cached) " >&6
 
4102
else
 
4103
  ac_build_alias=$build_alias
 
4104
test "x$ac_build_alias" = x &&
 
4105
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
4106
test "x$ac_build_alias" = x &&
 
4107
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
4108
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
4109
   { (exit 1); exit 1; }; }
 
4110
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
4111
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
4112
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
4113
   { (exit 1); exit 1; }; }
 
4114
 
 
4115
fi
 
4116
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4117
$as_echo "$ac_cv_build" >&6; }
 
4118
case $ac_cv_build in
 
4119
*-*-*) ;;
 
4120
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
4121
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
 
4122
   { (exit 1); exit 1; }; };;
 
4123
esac
 
4124
build=$ac_cv_build
 
4125
ac_save_IFS=$IFS; IFS='-'
 
4126
set x $ac_cv_build
 
4127
shift
 
4128
build_cpu=$1
 
4129
build_vendor=$2
 
4130
shift; shift
 
4131
# Remember, the first character of IFS is used to create $*,
 
4132
# except with old shells:
 
4133
build_os=$*
 
4134
IFS=$ac_save_IFS
 
4135
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
4136
 
 
4137
 
 
4138
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
4139
$as_echo_n "checking host system type... " >&6; }
 
4140
if test "${ac_cv_host+set}" = set; then
 
4141
  $as_echo_n "(cached) " >&6
 
4142
else
 
4143
  if test "x$host_alias" = x; then
 
4144
  ac_cv_host=$ac_cv_build
 
4145
else
 
4146
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
4147
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
4148
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
4149
   { (exit 1); exit 1; }; }
 
4150
fi
 
4151
 
 
4152
fi
 
4153
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4154
$as_echo "$ac_cv_host" >&6; }
 
4155
case $ac_cv_host in
 
4156
*-*-*) ;;
 
4157
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
4158
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
 
4159
   { (exit 1); exit 1; }; };;
 
4160
esac
 
4161
host=$ac_cv_host
 
4162
ac_save_IFS=$IFS; IFS='-'
 
4163
set x $ac_cv_host
 
4164
shift
 
4165
host_cpu=$1
 
4166
host_vendor=$2
 
4167
shift; shift
 
4168
# Remember, the first character of IFS is used to create $*,
 
4169
# except with old shells:
 
4170
host_os=$*
 
4171
IFS=$ac_save_IFS
 
4172
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
4173
 
 
4174
 
 
4175
 
 
4176
# Check whether --with-gnu-ld was given.
 
4177
if test "${with_gnu_ld+set}" = set; then
 
4178
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
4179
else
 
4180
  with_gnu_ld=no
 
4181
fi
 
4182
 
 
4183
ac_prog=ld
 
4184
if test "$GCC" = yes; then
 
4185
  # Check if gcc -print-prog-name=ld gives a path.
 
4186
  { $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5
 
4187
$as_echo_n "checking for ld used by GCC... " >&6; }
 
4188
  case $host in
 
4189
  *-*-mingw*)
 
4190
    # gcc leaves a trailing carriage return which upsets mingw
 
4191
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
4192
  *)
 
4193
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
4194
  esac
 
4195
  case $ac_prog in
 
4196
    # Accept absolute paths.
 
4197
    [\\/]* | [A-Za-z]:[\\/]*)
 
4198
      re_direlt='/[^/][^/]*/\.\./'
 
4199
      # Canonicalize the path of ld
 
4200
      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
 
4201
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 
4202
        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
 
4203
      done
 
4204
      test -z "$LD" && LD="$ac_prog"
 
4205
      ;;
 
4206
  "")
 
4207
    # If it fails, then pretend we aren't using GCC.
 
4208
    ac_prog=ld
 
4209
    ;;
 
4210
  *)
 
4211
    # If it is relative, then search for the first ld in PATH.
 
4212
    with_gnu_ld=unknown
 
4213
    ;;
 
4214
  esac
 
4215
elif test "$with_gnu_ld" = yes; then
 
4216
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4217
$as_echo_n "checking for GNU ld... " >&6; }
 
4218
else
 
4219
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4220
$as_echo_n "checking for non-GNU ld... " >&6; }
 
4221
fi
 
4222
if test "${acl_cv_path_LD+set}" = set; then
 
4223
  $as_echo_n "(cached) " >&6
 
4224
else
 
4225
  if test -z "$LD"; then
 
4226
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
 
4227
  for ac_dir in $PATH; do
 
4228
    test -z "$ac_dir" && ac_dir=.
 
4229
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
4230
      acl_cv_path_LD="$ac_dir/$ac_prog"
 
4231
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
4232
      # but apparently some GNU ld's only accept -v.
 
4233
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
4234
      if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
 
4235
        test "$with_gnu_ld" != no && break
 
4236
      else
 
4237
        test "$with_gnu_ld" != yes && break
 
4238
      fi
 
4239
    fi
 
4240
  done
 
4241
  IFS="$ac_save_ifs"
 
4242
else
 
4243
  acl_cv_path_LD="$LD" # Let the user override the test with a path.
 
4244
fi
 
4245
fi
 
4246
 
 
4247
LD="$acl_cv_path_LD"
 
4248
if test -n "$LD"; then
 
4249
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
4250
$as_echo "$LD" >&6; }
 
4251
else
 
4252
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4253
$as_echo "no" >&6; }
 
4254
fi
 
4255
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
4256
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
4257
   { (exit 1); exit 1; }; }
 
4258
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4259
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
4260
if test "${acl_cv_prog_gnu_ld+set}" = set; then
 
4261
  $as_echo_n "(cached) " >&6
 
4262
else
 
4263
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
4264
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
 
4265
  acl_cv_prog_gnu_ld=yes
 
4266
else
 
4267
  acl_cv_prog_gnu_ld=no
 
4268
fi
 
4269
fi
 
4270
{ $as_echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
 
4271
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
 
4272
with_gnu_ld=$acl_cv_prog_gnu_ld
 
4273
 
 
4274
 
 
4275
 
 
4276
                                                { $as_echo "$as_me:$LINENO: checking for shared library run path origin" >&5
 
4277
$as_echo_n "checking for shared library run path origin... " >&6; }
 
4278
if test "${acl_cv_rpath+set}" = set; then
 
4279
  $as_echo_n "(cached) " >&6
 
4280
else
 
4281
 
 
4282
    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
 
4283
    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
 
4284
    . ./conftest.sh
 
4285
    rm -f ./conftest.sh
 
4286
    acl_cv_rpath=done
 
4287
 
 
4288
fi
 
4289
{ $as_echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
 
4290
$as_echo "$acl_cv_rpath" >&6; }
 
4291
  wl="$acl_cv_wl"
 
4292
  libext="$acl_cv_libext"
 
4293
  shlibext="$acl_cv_shlibext"
 
4294
  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
 
4295
  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
 
4296
  hardcode_direct="$acl_cv_hardcode_direct"
 
4297
  hardcode_minus_L="$acl_cv_hardcode_minus_L"
 
4298
  sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec"
 
4299
  sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec"
 
4300
    # Check whether --enable-rpath was given.
 
4301
if test "${enable_rpath+set}" = set; then
 
4302
  enableval=$enable_rpath; :
 
4303
else
 
4304
  enable_rpath=yes
 
4305
fi
 
4306
 
 
4307
 
 
4308
 
 
4309
 
 
4310
 
 
4311
 
 
4312
 
 
4313
 
 
4314
    use_additional=yes
 
4315
 
 
4316
  acl_save_prefix="$prefix"
 
4317
  prefix="$acl_final_prefix"
 
4318
  acl_save_exec_prefix="$exec_prefix"
 
4319
  exec_prefix="$acl_final_exec_prefix"
 
4320
 
 
4321
    eval additional_includedir=\"$includedir\"
 
4322
    eval additional_libdir=\"$libdir\"
 
4323
 
 
4324
  exec_prefix="$acl_save_exec_prefix"
 
4325
  prefix="$acl_save_prefix"
 
4326
 
 
4327
 
 
4328
# Check whether --with-libiconv-prefix was given.
 
4329
if test "${with_libiconv_prefix+set}" = set; then
 
4330
  withval=$with_libiconv_prefix;
 
4331
    if test "X$withval" = "Xno"; then
 
4332
      use_additional=no
 
4333
    else
 
4334
      if test "X$withval" = "X"; then
 
4335
 
 
4336
  acl_save_prefix="$prefix"
 
4337
  prefix="$acl_final_prefix"
 
4338
  acl_save_exec_prefix="$exec_prefix"
 
4339
  exec_prefix="$acl_final_exec_prefix"
 
4340
 
 
4341
          eval additional_includedir=\"$includedir\"
 
4342
          eval additional_libdir=\"$libdir\"
 
4343
 
 
4344
  exec_prefix="$acl_save_exec_prefix"
 
4345
  prefix="$acl_save_prefix"
 
4346
 
 
4347
      else
 
4348
        additional_includedir="$withval/include"
 
4349
        additional_libdir="$withval/lib"
 
4350
      fi
 
4351
    fi
 
4352
 
 
4353
fi
 
4354
 
 
4355
      LIBICONV=
 
4356
  LTLIBICONV=
 
4357
  INCICONV=
 
4358
  rpathdirs=
 
4359
  ltrpathdirs=
 
4360
  names_already_handled=
 
4361
  names_next_round='iconv '
 
4362
  while test -n "$names_next_round"; do
 
4363
    names_this_round="$names_next_round"
 
4364
    names_next_round=
 
4365
    for name in $names_this_round; do
 
4366
      already_handled=
 
4367
      for n in $names_already_handled; do
 
4368
        if test "$n" = "$name"; then
 
4369
          already_handled=yes
 
4370
          break
 
4371
        fi
 
4372
      done
 
4373
      if test -z "$already_handled"; then
 
4374
        names_already_handled="$names_already_handled $name"
 
4375
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
 
4376
        eval value=\"\$HAVE_LIB$uppername\"
 
4377
        if test -n "$value"; then
 
4378
          if test "$value" = yes; then
 
4379
            eval value=\"\$LIB$uppername\"
 
4380
            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
 
4381
            eval value=\"\$LTLIB$uppername\"
 
4382
            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
 
4383
          else
 
4384
                                    :
 
4385
          fi
 
4386
        else
 
4387
                              found_dir=
 
4388
          found_la=
 
4389
          found_so=
 
4390
          found_a=
 
4391
          if test $use_additional = yes; then
 
4392
            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
 
4393
              found_dir="$additional_libdir"
 
4394
              found_so="$additional_libdir/lib$name.$shlibext"
 
4395
              if test -f "$additional_libdir/lib$name.la"; then
 
4396
                found_la="$additional_libdir/lib$name.la"
 
4397
              fi
 
4398
            else
 
4399
              if test -f "$additional_libdir/lib$name.$libext"; then
 
4400
                found_dir="$additional_libdir"
 
4401
                found_a="$additional_libdir/lib$name.$libext"
 
4402
                if test -f "$additional_libdir/lib$name.la"; then
 
4403
                  found_la="$additional_libdir/lib$name.la"
 
4404
                fi
 
4405
              fi
 
4406
            fi
 
4407
          fi
 
4408
          if test "X$found_dir" = "X"; then
 
4409
            for x in $LDFLAGS $LTLIBICONV; do
 
4410
 
 
4411
  acl_save_prefix="$prefix"
 
4412
  prefix="$acl_final_prefix"
 
4413
  acl_save_exec_prefix="$exec_prefix"
 
4414
  exec_prefix="$acl_final_exec_prefix"
 
4415
  eval x=\"$x\"
 
4416
  exec_prefix="$acl_save_exec_prefix"
 
4417
  prefix="$acl_save_prefix"
 
4418
 
 
4419
              case "$x" in
 
4420
                -L*)
 
4421
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
4422
                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
 
4423
                    found_dir="$dir"
 
4424
                    found_so="$dir/lib$name.$shlibext"
 
4425
                    if test -f "$dir/lib$name.la"; then
 
4426
                      found_la="$dir/lib$name.la"
 
4427
                    fi
 
4428
                  else
 
4429
                    if test -f "$dir/lib$name.$libext"; then
 
4430
                      found_dir="$dir"
 
4431
                      found_a="$dir/lib$name.$libext"
 
4432
                      if test -f "$dir/lib$name.la"; then
 
4433
                        found_la="$dir/lib$name.la"
 
4434
                      fi
 
4435
                    fi
 
4436
                  fi
 
4437
                  ;;
 
4438
              esac
 
4439
              if test "X$found_dir" != "X"; then
 
4440
                break
 
4441
              fi
 
4442
            done
 
4443
          fi
 
4444
          if test "X$found_dir" != "X"; then
 
4445
                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
 
4446
            if test "X$found_so" != "X"; then
 
4447
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
 
4448
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
4449
              else
 
4450
                                                                                haveit=
 
4451
                for x in $ltrpathdirs; do
 
4452
                  if test "X$x" = "X$found_dir"; then
 
4453
                    haveit=yes
 
4454
                    break
 
4455
                  fi
 
4456
                done
 
4457
                if test -z "$haveit"; then
 
4458
                  ltrpathdirs="$ltrpathdirs $found_dir"
 
4459
                fi
 
4460
                                if test "$hardcode_direct" = yes; then
 
4461
                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
4462
                else
 
4463
                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
 
4464
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
4465
                                                            haveit=
 
4466
                    for x in $rpathdirs; do
 
4467
                      if test "X$x" = "X$found_dir"; then
 
4468
                        haveit=yes
 
4469
                        break
 
4470
                      fi
 
4471
                    done
 
4472
                    if test -z "$haveit"; then
 
4473
                      rpathdirs="$rpathdirs $found_dir"
 
4474
                    fi
 
4475
                  else
 
4476
                                                                                haveit=
 
4477
                    for x in $LDFLAGS $LIBICONV; do
 
4478
 
 
4479
  acl_save_prefix="$prefix"
 
4480
  prefix="$acl_final_prefix"
 
4481
  acl_save_exec_prefix="$exec_prefix"
 
4482
  exec_prefix="$acl_final_exec_prefix"
 
4483
  eval x=\"$x\"
 
4484
  exec_prefix="$acl_save_exec_prefix"
 
4485
  prefix="$acl_save_prefix"
 
4486
 
 
4487
                      if test "X$x" = "X-L$found_dir"; then
 
4488
                        haveit=yes
 
4489
                        break
 
4490
                      fi
 
4491
                    done
 
4492
                    if test -z "$haveit"; then
 
4493
                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
 
4494
                    fi
 
4495
                    if test "$hardcode_minus_L" != no; then
 
4496
                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
4497
                    else
 
4498
                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
 
4499
                    fi
 
4500
                  fi
 
4501
                fi
 
4502
              fi
 
4503
            else
 
4504
              if test "X$found_a" != "X"; then
 
4505
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
 
4506
              else
 
4507
                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
 
4508
              fi
 
4509
            fi
 
4510
                        additional_includedir=
 
4511
            case "$found_dir" in
 
4512
              */lib | */lib/)
 
4513
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
 
4514
                additional_includedir="$basedir/include"
 
4515
                ;;
 
4516
            esac
 
4517
            if test "X$additional_includedir" != "X"; then
 
4518
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
 
4519
                haveit=
 
4520
                if test "X$additional_includedir" = "X/usr/local/include"; then
 
4521
                  if test -n "$GCC"; then
 
4522
                    case $host_os in
 
4523
                      linux*) haveit=yes;;
 
4524
                    esac
 
4525
                  fi
 
4526
                fi
 
4527
                if test -z "$haveit"; then
 
4528
                  for x in $CPPFLAGS $INCICONV; do
 
4529
 
 
4530
  acl_save_prefix="$prefix"
 
4531
  prefix="$acl_final_prefix"
 
4532
  acl_save_exec_prefix="$exec_prefix"
 
4533
  exec_prefix="$acl_final_exec_prefix"
 
4534
  eval x=\"$x\"
 
4535
  exec_prefix="$acl_save_exec_prefix"
 
4536
  prefix="$acl_save_prefix"
 
4537
 
 
4538
                    if test "X$x" = "X-I$additional_includedir"; then
 
4539
                      haveit=yes
 
4540
                      break
 
4541
                    fi
 
4542
                  done
 
4543
                  if test -z "$haveit"; then
 
4544
                    if test -d "$additional_includedir"; then
 
4545
                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
 
4546
                    fi
 
4547
                  fi
 
4548
                fi
 
4549
              fi
 
4550
            fi
 
4551
                        if test -n "$found_la"; then
 
4552
                                                        save_libdir="$libdir"
 
4553
              case "$found_la" in
 
4554
                */* | *\\*) . "$found_la" ;;
 
4555
                *) . "./$found_la" ;;
 
4556
              esac
 
4557
              libdir="$save_libdir"
 
4558
                            for dep in $dependency_libs; do
 
4559
                case "$dep" in
 
4560
                  -L*)
 
4561
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
4562
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
 
4563
                      haveit=
 
4564
                      if test "X$additional_libdir" = "X/usr/local/lib"; then
 
4565
                        if test -n "$GCC"; then
 
4566
                          case $host_os in
 
4567
                            linux*) haveit=yes;;
 
4568
                          esac
 
4569
                        fi
 
4570
                      fi
 
4571
                      if test -z "$haveit"; then
 
4572
                        haveit=
 
4573
                        for x in $LDFLAGS $LIBICONV; do
 
4574
 
 
4575
  acl_save_prefix="$prefix"
 
4576
  prefix="$acl_final_prefix"
 
4577
  acl_save_exec_prefix="$exec_prefix"
 
4578
  exec_prefix="$acl_final_exec_prefix"
 
4579
  eval x=\"$x\"
 
4580
  exec_prefix="$acl_save_exec_prefix"
 
4581
  prefix="$acl_save_prefix"
 
4582
 
 
4583
                          if test "X$x" = "X-L$additional_libdir"; then
 
4584
                            haveit=yes
 
4585
                            break
 
4586
                          fi
 
4587
                        done
 
4588
                        if test -z "$haveit"; then
 
4589
                          if test -d "$additional_libdir"; then
 
4590
                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
 
4591
                          fi
 
4592
                        fi
 
4593
                        haveit=
 
4594
                        for x in $LDFLAGS $LTLIBICONV; do
 
4595
 
 
4596
  acl_save_prefix="$prefix"
 
4597
  prefix="$acl_final_prefix"
 
4598
  acl_save_exec_prefix="$exec_prefix"
 
4599
  exec_prefix="$acl_final_exec_prefix"
 
4600
  eval x=\"$x\"
 
4601
  exec_prefix="$acl_save_exec_prefix"
 
4602
  prefix="$acl_save_prefix"
 
4603
 
 
4604
                          if test "X$x" = "X-L$additional_libdir"; then
 
4605
                            haveit=yes
 
4606
                            break
 
4607
                          fi
 
4608
                        done
 
4609
                        if test -z "$haveit"; then
 
4610
                          if test -d "$additional_libdir"; then
 
4611
                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
 
4612
                          fi
 
4613
                        fi
 
4614
                      fi
 
4615
                    fi
 
4616
                    ;;
 
4617
                  -R*)
 
4618
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
4619
                    if test "$enable_rpath" != no; then
 
4620
                                                                  haveit=
 
4621
                      for x in $rpathdirs; do
 
4622
                        if test "X$x" = "X$dir"; then
 
4623
                          haveit=yes
 
4624
                          break
 
4625
                        fi
 
4626
                      done
 
4627
                      if test -z "$haveit"; then
 
4628
                        rpathdirs="$rpathdirs $dir"
 
4629
                      fi
 
4630
                                                                  haveit=
 
4631
                      for x in $ltrpathdirs; do
 
4632
                        if test "X$x" = "X$dir"; then
 
4633
                          haveit=yes
 
4634
                          break
 
4635
                        fi
 
4636
                      done
 
4637
                      if test -z "$haveit"; then
 
4638
                        ltrpathdirs="$ltrpathdirs $dir"
 
4639
                      fi
 
4640
                    fi
 
4641
                    ;;
 
4642
                  -l*)
 
4643
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
4644
                    ;;
 
4645
                  *.la)
 
4646
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
4647
                    ;;
 
4648
                  *)
 
4649
                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
 
4650
                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
 
4651
                    ;;
 
4652
                esac
 
4653
              done
 
4654
            fi
 
4655
          else
 
4656
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
 
4657
            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
 
4658
          fi
 
4659
        fi
 
4660
      fi
 
4661
    done
 
4662
  done
 
4663
  if test "X$rpathdirs" != "X"; then
 
4664
    if test -n "$hardcode_libdir_separator"; then
 
4665
                        alldirs=
 
4666
      for found_dir in $rpathdirs; do
 
4667
        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
 
4668
      done
 
4669
            acl_save_libdir="$libdir"
 
4670
      libdir="$alldirs"
 
4671
      eval flag=\"$hardcode_libdir_flag_spec\"
 
4672
      libdir="$acl_save_libdir"
 
4673
      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
 
4674
    else
 
4675
            for found_dir in $rpathdirs; do
 
4676
        acl_save_libdir="$libdir"
 
4677
        libdir="$found_dir"
 
4678
        eval flag=\"$hardcode_libdir_flag_spec\"
 
4679
        libdir="$acl_save_libdir"
 
4680
        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
 
4681
      done
 
4682
    fi
 
4683
  fi
 
4684
  if test "X$ltrpathdirs" != "X"; then
 
4685
            for found_dir in $ltrpathdirs; do
 
4686
      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
 
4687
    done
 
4688
  fi
 
4689
 
 
4690
 
 
4691
 
 
4692
 
 
4693
 
 
4694
 
 
4695
 
 
4696
 
 
4697
 
 
4698
 
 
4699
 
 
4700
 
 
4701
 
 
4702
 
 
4703
 
 
4704
 
 
4705
 
 
4706
 
 
4707
  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
4708
$as_echo_n "checking whether NLS is requested... " >&6; }
 
4709
    # Check whether --enable-nls was given.
 
4710
if test "${enable_nls+set}" = set; then
 
4711
  enableval=$enable_nls; USE_NLS=$enableval
 
4712
else
 
4713
  USE_NLS=yes
 
4714
fi
 
4715
 
 
4716
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
4717
$as_echo "$USE_NLS" >&6; }
 
4718
 
 
4719
 
 
4720
 
 
4721
  LIBINTL=
 
4722
  LTLIBINTL=
 
4723
  POSUB=
 
4724
 
 
4725
    if test "$USE_NLS" = "yes"; then
 
4726
    gt_use_preinstalled_gnugettext=no
 
4727
 
 
4728
 
 
4729
 
 
4730
 
 
4731
 
 
4732
 
 
4733
        { $as_echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
 
4734
$as_echo_n "checking for GNU gettext in libc... " >&6; }
 
4735
if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
 
4736
  $as_echo_n "(cached) " >&6
 
4737
else
 
4738
  cat >conftest.$ac_ext <<_ACEOF
 
4739
/* confdefs.h.  */
 
4740
_ACEOF
 
4741
cat confdefs.h >>conftest.$ac_ext
 
4742
cat >>conftest.$ac_ext <<_ACEOF
 
4743
/* end confdefs.h.  */
 
4744
#include <libintl.h>
 
4745
extern int _nl_msg_cat_cntr;
 
4746
extern int *_nl_domain_bindings;
 
4747
int
 
4748
main ()
 
4749
{
 
4750
bindtextdomain ("", "");
 
4751
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
 
4752
  ;
 
4753
  return 0;
 
4754
}
 
4755
_ACEOF
 
4756
rm -f conftest.$ac_objext conftest$ac_exeext
 
4757
if { (ac_try="$ac_link"
 
4758
case "(($ac_try" in
 
4759
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4760
  *) ac_try_echo=$ac_try;;
 
4761
esac
 
4762
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4763
$as_echo "$ac_try_echo") >&5
 
4764
  (eval "$ac_link") 2>conftest.er1
 
4765
  ac_status=$?
 
4766
  grep -v '^ *+' conftest.er1 >conftest.err
 
4767
  rm -f conftest.er1
 
4768
  cat conftest.err >&5
 
4769
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4770
  (exit $ac_status); } && {
 
4771
         test -z "$ac_c_werror_flag" ||
 
4772
         test ! -s conftest.err
 
4773
       } && test -s conftest$ac_exeext && {
 
4774
         test "$cross_compiling" = yes ||
 
4775
         $as_test_x conftest$ac_exeext
 
4776
       }; then
 
4777
  gt_cv_func_gnugettext1_libc=yes
 
4778
else
 
4779
  $as_echo "$as_me: failed program was:" >&5
 
4780
sed 's/^/| /' conftest.$ac_ext >&5
 
4781
 
 
4782
        gt_cv_func_gnugettext1_libc=no
 
4783
fi
 
4784
 
 
4785
rm -rf conftest.dSYM
 
4786
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
4787
      conftest$ac_exeext conftest.$ac_ext
 
4788
fi
 
4789
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
 
4790
$as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
 
4791
 
 
4792
        if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
 
4793
 
 
4794
 
 
4795
 
 
4796
 
 
4797
 
 
4798
          am_save_CPPFLAGS="$CPPFLAGS"
 
4799
 
 
4800
  for element in $INCICONV; do
 
4801
    haveit=
 
4802
    for x in $CPPFLAGS; do
 
4803
 
 
4804
  acl_save_prefix="$prefix"
 
4805
  prefix="$acl_final_prefix"
 
4806
  acl_save_exec_prefix="$exec_prefix"
 
4807
  exec_prefix="$acl_final_exec_prefix"
 
4808
  eval x=\"$x\"
 
4809
  exec_prefix="$acl_save_exec_prefix"
 
4810
  prefix="$acl_save_prefix"
 
4811
 
 
4812
      if test "X$x" = "X$element"; then
 
4813
        haveit=yes
 
4814
        break
 
4815
      fi
 
4816
    done
 
4817
    if test -z "$haveit"; then
 
4818
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
4819
    fi
 
4820
  done
 
4821
 
 
4822
 
 
4823
  { $as_echo "$as_me:$LINENO: checking for iconv" >&5
 
4824
$as_echo_n "checking for iconv... " >&6; }
 
4825
if test "${am_cv_func_iconv+set}" = set; then
 
4826
  $as_echo_n "(cached) " >&6
 
4827
else
 
4828
 
 
4829
    am_cv_func_iconv="no, consider installing GNU libiconv"
 
4830
    am_cv_lib_iconv=no
 
4831
    cat >conftest.$ac_ext <<_ACEOF
 
4832
/* confdefs.h.  */
 
4833
_ACEOF
 
4834
cat confdefs.h >>conftest.$ac_ext
 
4835
cat >>conftest.$ac_ext <<_ACEOF
 
4836
/* end confdefs.h.  */
 
4837
#include <stdlib.h>
 
4838
#include <iconv.h>
 
4839
int
 
4840
main ()
 
4841
{
 
4842
iconv_t cd = iconv_open("","");
 
4843
       iconv(cd,NULL,NULL,NULL,NULL);
 
4844
       iconv_close(cd);
 
4845
  ;
 
4846
  return 0;
 
4847
}
 
4848
_ACEOF
 
4849
rm -f conftest.$ac_objext conftest$ac_exeext
 
4850
if { (ac_try="$ac_link"
 
4851
case "(($ac_try" in
 
4852
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4853
  *) ac_try_echo=$ac_try;;
 
4854
esac
 
4855
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4856
$as_echo "$ac_try_echo") >&5
 
4857
  (eval "$ac_link") 2>conftest.er1
 
4858
  ac_status=$?
 
4859
  grep -v '^ *+' conftest.er1 >conftest.err
 
4860
  rm -f conftest.er1
 
4861
  cat conftest.err >&5
 
4862
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4863
  (exit $ac_status); } && {
 
4864
         test -z "$ac_c_werror_flag" ||
 
4865
         test ! -s conftest.err
 
4866
       } && test -s conftest$ac_exeext && {
 
4867
         test "$cross_compiling" = yes ||
 
4868
         $as_test_x conftest$ac_exeext
 
4869
       }; then
 
4870
  am_cv_func_iconv=yes
 
4871
else
 
4872
  $as_echo "$as_me: failed program was:" >&5
 
4873
sed 's/^/| /' conftest.$ac_ext >&5
 
4874
 
 
4875
 
 
4876
fi
 
4877
 
 
4878
rm -rf conftest.dSYM
 
4879
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
4880
      conftest$ac_exeext conftest.$ac_ext
 
4881
    if test "$am_cv_func_iconv" != yes; then
 
4882
      am_save_LIBS="$LIBS"
 
4883
      LIBS="$LIBS $LIBICONV"
 
4884
      cat >conftest.$ac_ext <<_ACEOF
 
4885
/* confdefs.h.  */
 
4886
_ACEOF
 
4887
cat confdefs.h >>conftest.$ac_ext
 
4888
cat >>conftest.$ac_ext <<_ACEOF
 
4889
/* end confdefs.h.  */
 
4890
#include <stdlib.h>
 
4891
#include <iconv.h>
 
4892
int
 
4893
main ()
 
4894
{
 
4895
iconv_t cd = iconv_open("","");
 
4896
         iconv(cd,NULL,NULL,NULL,NULL);
 
4897
         iconv_close(cd);
 
4898
  ;
 
4899
  return 0;
 
4900
}
 
4901
_ACEOF
 
4902
rm -f conftest.$ac_objext conftest$ac_exeext
 
4903
if { (ac_try="$ac_link"
 
4904
case "(($ac_try" in
 
4905
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4906
  *) ac_try_echo=$ac_try;;
 
4907
esac
 
4908
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4909
$as_echo "$ac_try_echo") >&5
 
4910
  (eval "$ac_link") 2>conftest.er1
 
4911
  ac_status=$?
 
4912
  grep -v '^ *+' conftest.er1 >conftest.err
 
4913
  rm -f conftest.er1
 
4914
  cat conftest.err >&5
 
4915
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4916
  (exit $ac_status); } && {
 
4917
         test -z "$ac_c_werror_flag" ||
 
4918
         test ! -s conftest.err
 
4919
       } && test -s conftest$ac_exeext && {
 
4920
         test "$cross_compiling" = yes ||
 
4921
         $as_test_x conftest$ac_exeext
 
4922
       }; then
 
4923
  am_cv_lib_iconv=yes
 
4924
        am_cv_func_iconv=yes
 
4925
else
 
4926
  $as_echo "$as_me: failed program was:" >&5
 
4927
sed 's/^/| /' conftest.$ac_ext >&5
 
4928
 
 
4929
 
 
4930
fi
 
4931
 
 
4932
rm -rf conftest.dSYM
 
4933
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
4934
      conftest$ac_exeext conftest.$ac_ext
 
4935
      LIBS="$am_save_LIBS"
 
4936
    fi
 
4937
 
 
4938
fi
 
4939
{ $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
 
4940
$as_echo "$am_cv_func_iconv" >&6; }
 
4941
  if test "$am_cv_func_iconv" = yes; then
 
4942
 
 
4943
cat >>confdefs.h <<\_ACEOF
 
4944
#define HAVE_ICONV 1
 
4945
_ACEOF
 
4946
 
 
4947
  fi
 
4948
  if test "$am_cv_lib_iconv" = yes; then
 
4949
    { $as_echo "$as_me:$LINENO: checking how to link with libiconv" >&5
 
4950
$as_echo_n "checking how to link with libiconv... " >&6; }
 
4951
    { $as_echo "$as_me:$LINENO: result: $LIBICONV" >&5
 
4952
$as_echo "$LIBICONV" >&6; }
 
4953
  else
 
4954
            CPPFLAGS="$am_save_CPPFLAGS"
 
4955
    LIBICONV=
 
4956
    LTLIBICONV=
 
4957
  fi
 
4958
 
 
4959
 
 
4960
 
 
4961
 
 
4962
 
 
4963
 
 
4964
    use_additional=yes
 
4965
 
 
4966
  acl_save_prefix="$prefix"
 
4967
  prefix="$acl_final_prefix"
 
4968
  acl_save_exec_prefix="$exec_prefix"
 
4969
  exec_prefix="$acl_final_exec_prefix"
 
4970
 
 
4971
    eval additional_includedir=\"$includedir\"
 
4972
    eval additional_libdir=\"$libdir\"
 
4973
 
 
4974
  exec_prefix="$acl_save_exec_prefix"
 
4975
  prefix="$acl_save_prefix"
 
4976
 
 
4977
 
 
4978
# Check whether --with-libintl-prefix was given.
 
4979
if test "${with_libintl_prefix+set}" = set; then
 
4980
  withval=$with_libintl_prefix;
 
4981
    if test "X$withval" = "Xno"; then
 
4982
      use_additional=no
 
4983
    else
 
4984
      if test "X$withval" = "X"; then
 
4985
 
 
4986
  acl_save_prefix="$prefix"
 
4987
  prefix="$acl_final_prefix"
 
4988
  acl_save_exec_prefix="$exec_prefix"
 
4989
  exec_prefix="$acl_final_exec_prefix"
 
4990
 
 
4991
          eval additional_includedir=\"$includedir\"
 
4992
          eval additional_libdir=\"$libdir\"
 
4993
 
 
4994
  exec_prefix="$acl_save_exec_prefix"
 
4995
  prefix="$acl_save_prefix"
 
4996
 
 
4997
      else
 
4998
        additional_includedir="$withval/include"
 
4999
        additional_libdir="$withval/lib"
 
5000
      fi
 
5001
    fi
 
5002
 
 
5003
fi
 
5004
 
 
5005
      LIBINTL=
 
5006
  LTLIBINTL=
 
5007
  INCINTL=
 
5008
  rpathdirs=
 
5009
  ltrpathdirs=
 
5010
  names_already_handled=
 
5011
  names_next_round='intl '
 
5012
  while test -n "$names_next_round"; do
 
5013
    names_this_round="$names_next_round"
 
5014
    names_next_round=
 
5015
    for name in $names_this_round; do
 
5016
      already_handled=
 
5017
      for n in $names_already_handled; do
 
5018
        if test "$n" = "$name"; then
 
5019
          already_handled=yes
 
5020
          break
 
5021
        fi
 
5022
      done
 
5023
      if test -z "$already_handled"; then
 
5024
        names_already_handled="$names_already_handled $name"
 
5025
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
 
5026
        eval value=\"\$HAVE_LIB$uppername\"
 
5027
        if test -n "$value"; then
 
5028
          if test "$value" = yes; then
 
5029
            eval value=\"\$LIB$uppername\"
 
5030
            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
 
5031
            eval value=\"\$LTLIB$uppername\"
 
5032
            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
 
5033
          else
 
5034
                                    :
 
5035
          fi
 
5036
        else
 
5037
                              found_dir=
 
5038
          found_la=
 
5039
          found_so=
 
5040
          found_a=
 
5041
          if test $use_additional = yes; then
 
5042
            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
 
5043
              found_dir="$additional_libdir"
 
5044
              found_so="$additional_libdir/lib$name.$shlibext"
 
5045
              if test -f "$additional_libdir/lib$name.la"; then
 
5046
                found_la="$additional_libdir/lib$name.la"
 
5047
              fi
 
5048
            else
 
5049
              if test -f "$additional_libdir/lib$name.$libext"; then
 
5050
                found_dir="$additional_libdir"
 
5051
                found_a="$additional_libdir/lib$name.$libext"
 
5052
                if test -f "$additional_libdir/lib$name.la"; then
 
5053
                  found_la="$additional_libdir/lib$name.la"
 
5054
                fi
 
5055
              fi
 
5056
            fi
 
5057
          fi
 
5058
          if test "X$found_dir" = "X"; then
 
5059
            for x in $LDFLAGS $LTLIBINTL; do
 
5060
 
 
5061
  acl_save_prefix="$prefix"
 
5062
  prefix="$acl_final_prefix"
 
5063
  acl_save_exec_prefix="$exec_prefix"
 
5064
  exec_prefix="$acl_final_exec_prefix"
 
5065
  eval x=\"$x\"
 
5066
  exec_prefix="$acl_save_exec_prefix"
 
5067
  prefix="$acl_save_prefix"
 
5068
 
 
5069
              case "$x" in
 
5070
                -L*)
 
5071
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
5072
                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
 
5073
                    found_dir="$dir"
 
5074
                    found_so="$dir/lib$name.$shlibext"
 
5075
                    if test -f "$dir/lib$name.la"; then
 
5076
                      found_la="$dir/lib$name.la"
 
5077
                    fi
 
5078
                  else
 
5079
                    if test -f "$dir/lib$name.$libext"; then
 
5080
                      found_dir="$dir"
 
5081
                      found_a="$dir/lib$name.$libext"
 
5082
                      if test -f "$dir/lib$name.la"; then
 
5083
                        found_la="$dir/lib$name.la"
 
5084
                      fi
 
5085
                    fi
 
5086
                  fi
 
5087
                  ;;
 
5088
              esac
 
5089
              if test "X$found_dir" != "X"; then
 
5090
                break
 
5091
              fi
 
5092
            done
 
5093
          fi
 
5094
          if test "X$found_dir" != "X"; then
 
5095
                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
 
5096
            if test "X$found_so" != "X"; then
 
5097
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
 
5098
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
5099
              else
 
5100
                                                                                haveit=
 
5101
                for x in $ltrpathdirs; do
 
5102
                  if test "X$x" = "X$found_dir"; then
 
5103
                    haveit=yes
 
5104
                    break
 
5105
                  fi
 
5106
                done
 
5107
                if test -z "$haveit"; then
 
5108
                  ltrpathdirs="$ltrpathdirs $found_dir"
 
5109
                fi
 
5110
                                if test "$hardcode_direct" = yes; then
 
5111
                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
5112
                else
 
5113
                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
 
5114
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
5115
                                                            haveit=
 
5116
                    for x in $rpathdirs; do
 
5117
                      if test "X$x" = "X$found_dir"; then
 
5118
                        haveit=yes
 
5119
                        break
 
5120
                      fi
 
5121
                    done
 
5122
                    if test -z "$haveit"; then
 
5123
                      rpathdirs="$rpathdirs $found_dir"
 
5124
                    fi
 
5125
                  else
 
5126
                                                                                haveit=
 
5127
                    for x in $LDFLAGS $LIBINTL; do
 
5128
 
 
5129
  acl_save_prefix="$prefix"
 
5130
  prefix="$acl_final_prefix"
 
5131
  acl_save_exec_prefix="$exec_prefix"
 
5132
  exec_prefix="$acl_final_exec_prefix"
 
5133
  eval x=\"$x\"
 
5134
  exec_prefix="$acl_save_exec_prefix"
 
5135
  prefix="$acl_save_prefix"
 
5136
 
 
5137
                      if test "X$x" = "X-L$found_dir"; then
 
5138
                        haveit=yes
 
5139
                        break
 
5140
                      fi
 
5141
                    done
 
5142
                    if test -z "$haveit"; then
 
5143
                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
 
5144
                    fi
 
5145
                    if test "$hardcode_minus_L" != no; then
 
5146
                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
5147
                    else
 
5148
                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
 
5149
                    fi
 
5150
                  fi
 
5151
                fi
 
5152
              fi
 
5153
            else
 
5154
              if test "X$found_a" != "X"; then
 
5155
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
 
5156
              else
 
5157
                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
 
5158
              fi
 
5159
            fi
 
5160
                        additional_includedir=
 
5161
            case "$found_dir" in
 
5162
              */lib | */lib/)
 
5163
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
 
5164
                additional_includedir="$basedir/include"
 
5165
                ;;
 
5166
            esac
 
5167
            if test "X$additional_includedir" != "X"; then
 
5168
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
 
5169
                haveit=
 
5170
                if test "X$additional_includedir" = "X/usr/local/include"; then
 
5171
                  if test -n "$GCC"; then
 
5172
                    case $host_os in
 
5173
                      linux*) haveit=yes;;
 
5174
                    esac
 
5175
                  fi
 
5176
                fi
 
5177
                if test -z "$haveit"; then
 
5178
                  for x in $CPPFLAGS $INCINTL; do
 
5179
 
 
5180
  acl_save_prefix="$prefix"
 
5181
  prefix="$acl_final_prefix"
 
5182
  acl_save_exec_prefix="$exec_prefix"
 
5183
  exec_prefix="$acl_final_exec_prefix"
 
5184
  eval x=\"$x\"
 
5185
  exec_prefix="$acl_save_exec_prefix"
 
5186
  prefix="$acl_save_prefix"
 
5187
 
 
5188
                    if test "X$x" = "X-I$additional_includedir"; then
 
5189
                      haveit=yes
 
5190
                      break
 
5191
                    fi
 
5192
                  done
 
5193
                  if test -z "$haveit"; then
 
5194
                    if test -d "$additional_includedir"; then
 
5195
                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
 
5196
                    fi
 
5197
                  fi
 
5198
                fi
 
5199
              fi
 
5200
            fi
 
5201
                        if test -n "$found_la"; then
 
5202
                                                        save_libdir="$libdir"
 
5203
              case "$found_la" in
 
5204
                */* | *\\*) . "$found_la" ;;
 
5205
                *) . "./$found_la" ;;
 
5206
              esac
 
5207
              libdir="$save_libdir"
 
5208
                            for dep in $dependency_libs; do
 
5209
                case "$dep" in
 
5210
                  -L*)
 
5211
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
5212
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
 
5213
                      haveit=
 
5214
                      if test "X$additional_libdir" = "X/usr/local/lib"; then
 
5215
                        if test -n "$GCC"; then
 
5216
                          case $host_os in
 
5217
                            linux*) haveit=yes;;
 
5218
                          esac
 
5219
                        fi
 
5220
                      fi
 
5221
                      if test -z "$haveit"; then
 
5222
                        haveit=
 
5223
                        for x in $LDFLAGS $LIBINTL; do
 
5224
 
 
5225
  acl_save_prefix="$prefix"
 
5226
  prefix="$acl_final_prefix"
 
5227
  acl_save_exec_prefix="$exec_prefix"
 
5228
  exec_prefix="$acl_final_exec_prefix"
 
5229
  eval x=\"$x\"
 
5230
  exec_prefix="$acl_save_exec_prefix"
 
5231
  prefix="$acl_save_prefix"
 
5232
 
 
5233
                          if test "X$x" = "X-L$additional_libdir"; then
 
5234
                            haveit=yes
 
5235
                            break
 
5236
                          fi
 
5237
                        done
 
5238
                        if test -z "$haveit"; then
 
5239
                          if test -d "$additional_libdir"; then
 
5240
                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
 
5241
                          fi
 
5242
                        fi
 
5243
                        haveit=
 
5244
                        for x in $LDFLAGS $LTLIBINTL; do
 
5245
 
 
5246
  acl_save_prefix="$prefix"
 
5247
  prefix="$acl_final_prefix"
 
5248
  acl_save_exec_prefix="$exec_prefix"
 
5249
  exec_prefix="$acl_final_exec_prefix"
 
5250
  eval x=\"$x\"
 
5251
  exec_prefix="$acl_save_exec_prefix"
 
5252
  prefix="$acl_save_prefix"
 
5253
 
 
5254
                          if test "X$x" = "X-L$additional_libdir"; then
 
5255
                            haveit=yes
 
5256
                            break
 
5257
                          fi
 
5258
                        done
 
5259
                        if test -z "$haveit"; then
 
5260
                          if test -d "$additional_libdir"; then
 
5261
                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
 
5262
                          fi
 
5263
                        fi
 
5264
                      fi
 
5265
                    fi
 
5266
                    ;;
 
5267
                  -R*)
 
5268
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
5269
                    if test "$enable_rpath" != no; then
 
5270
                                                                  haveit=
 
5271
                      for x in $rpathdirs; do
 
5272
                        if test "X$x" = "X$dir"; then
 
5273
                          haveit=yes
 
5274
                          break
 
5275
                        fi
 
5276
                      done
 
5277
                      if test -z "$haveit"; then
 
5278
                        rpathdirs="$rpathdirs $dir"
 
5279
                      fi
 
5280
                                                                  haveit=
 
5281
                      for x in $ltrpathdirs; do
 
5282
                        if test "X$x" = "X$dir"; then
 
5283
                          haveit=yes
 
5284
                          break
 
5285
                        fi
 
5286
                      done
 
5287
                      if test -z "$haveit"; then
 
5288
                        ltrpathdirs="$ltrpathdirs $dir"
 
5289
                      fi
 
5290
                    fi
 
5291
                    ;;
 
5292
                  -l*)
 
5293
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
5294
                    ;;
 
5295
                  *.la)
 
5296
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
5297
                    ;;
 
5298
                  *)
 
5299
                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
 
5300
                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
 
5301
                    ;;
 
5302
                esac
 
5303
              done
 
5304
            fi
 
5305
          else
 
5306
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
 
5307
            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
 
5308
          fi
 
5309
        fi
 
5310
      fi
 
5311
    done
 
5312
  done
 
5313
  if test "X$rpathdirs" != "X"; then
 
5314
    if test -n "$hardcode_libdir_separator"; then
 
5315
                        alldirs=
 
5316
      for found_dir in $rpathdirs; do
 
5317
        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
 
5318
      done
 
5319
            acl_save_libdir="$libdir"
 
5320
      libdir="$alldirs"
 
5321
      eval flag=\"$hardcode_libdir_flag_spec\"
 
5322
      libdir="$acl_save_libdir"
 
5323
      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
 
5324
    else
 
5325
            for found_dir in $rpathdirs; do
 
5326
        acl_save_libdir="$libdir"
 
5327
        libdir="$found_dir"
 
5328
        eval flag=\"$hardcode_libdir_flag_spec\"
 
5329
        libdir="$acl_save_libdir"
 
5330
        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
 
5331
      done
 
5332
    fi
 
5333
  fi
 
5334
  if test "X$ltrpathdirs" != "X"; then
 
5335
            for found_dir in $ltrpathdirs; do
 
5336
      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
 
5337
    done
 
5338
  fi
 
5339
 
 
5340
          { $as_echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
 
5341
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
 
5342
if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
 
5343
  $as_echo_n "(cached) " >&6
 
5344
else
 
5345
  gt_save_CPPFLAGS="$CPPFLAGS"
 
5346
            CPPFLAGS="$CPPFLAGS $INCINTL"
 
5347
            gt_save_LIBS="$LIBS"
 
5348
            LIBS="$LIBS $LIBINTL"
 
5349
                        cat >conftest.$ac_ext <<_ACEOF
 
5350
/* confdefs.h.  */
 
5351
_ACEOF
 
5352
cat confdefs.h >>conftest.$ac_ext
 
5353
cat >>conftest.$ac_ext <<_ACEOF
 
5354
/* end confdefs.h.  */
 
5355
#include <libintl.h>
 
5356
extern int _nl_msg_cat_cntr;
 
5357
extern
 
5358
#ifdef __cplusplus
 
5359
"C"
 
5360
#endif
 
5361
const char *_nl_expand_alias ();
 
5362
int
 
5363
main ()
 
5364
{
 
5365
bindtextdomain ("", "");
 
5366
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
 
5367
  ;
 
5368
  return 0;
 
5369
}
 
5370
_ACEOF
 
5371
rm -f conftest.$ac_objext conftest$ac_exeext
 
5372
if { (ac_try="$ac_link"
 
5373
case "(($ac_try" in
 
5374
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5375
  *) ac_try_echo=$ac_try;;
 
5376
esac
 
5377
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5378
$as_echo "$ac_try_echo") >&5
 
5379
  (eval "$ac_link") 2>conftest.er1
 
5380
  ac_status=$?
 
5381
  grep -v '^ *+' conftest.er1 >conftest.err
 
5382
  rm -f conftest.er1
 
5383
  cat conftest.err >&5
 
5384
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5385
  (exit $ac_status); } && {
 
5386
         test -z "$ac_c_werror_flag" ||
 
5387
         test ! -s conftest.err
 
5388
       } && test -s conftest$ac_exeext && {
 
5389
         test "$cross_compiling" = yes ||
 
5390
         $as_test_x conftest$ac_exeext
 
5391
       }; then
 
5392
  gt_cv_func_gnugettext1_libintl=yes
 
5393
else
 
5394
  $as_echo "$as_me: failed program was:" >&5
 
5395
sed 's/^/| /' conftest.$ac_ext >&5
 
5396
 
 
5397
        gt_cv_func_gnugettext1_libintl=no
 
5398
fi
 
5399
 
 
5400
rm -rf conftest.dSYM
 
5401
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5402
      conftest$ac_exeext conftest.$ac_ext
 
5403
                        if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
 
5404
              LIBS="$LIBS $LIBICONV"
 
5405
              cat >conftest.$ac_ext <<_ACEOF
 
5406
/* confdefs.h.  */
 
5407
_ACEOF
 
5408
cat confdefs.h >>conftest.$ac_ext
 
5409
cat >>conftest.$ac_ext <<_ACEOF
 
5410
/* end confdefs.h.  */
 
5411
#include <libintl.h>
 
5412
extern int _nl_msg_cat_cntr;
 
5413
extern
 
5414
#ifdef __cplusplus
 
5415
"C"
 
5416
#endif
 
5417
const char *_nl_expand_alias ();
 
5418
int
 
5419
main ()
 
5420
{
 
5421
bindtextdomain ("", "");
 
5422
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
 
5423
  ;
 
5424
  return 0;
 
5425
}
 
5426
_ACEOF
 
5427
rm -f conftest.$ac_objext conftest$ac_exeext
 
5428
if { (ac_try="$ac_link"
 
5429
case "(($ac_try" in
 
5430
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5431
  *) ac_try_echo=$ac_try;;
 
5432
esac
 
5433
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5434
$as_echo "$ac_try_echo") >&5
 
5435
  (eval "$ac_link") 2>conftest.er1
 
5436
  ac_status=$?
 
5437
  grep -v '^ *+' conftest.er1 >conftest.err
 
5438
  rm -f conftest.er1
 
5439
  cat conftest.err >&5
 
5440
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5441
  (exit $ac_status); } && {
 
5442
         test -z "$ac_c_werror_flag" ||
 
5443
         test ! -s conftest.err
 
5444
       } && test -s conftest$ac_exeext && {
 
5445
         test "$cross_compiling" = yes ||
 
5446
         $as_test_x conftest$ac_exeext
 
5447
       }; then
 
5448
  LIBINTL="$LIBINTL $LIBICONV"
 
5449
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
 
5450
                gt_cv_func_gnugettext1_libintl=yes
 
5451
 
 
5452
else
 
5453
  $as_echo "$as_me: failed program was:" >&5
 
5454
sed 's/^/| /' conftest.$ac_ext >&5
 
5455
 
 
5456
 
 
5457
fi
 
5458
 
 
5459
rm -rf conftest.dSYM
 
5460
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5461
      conftest$ac_exeext conftest.$ac_ext
 
5462
            fi
 
5463
            CPPFLAGS="$gt_save_CPPFLAGS"
 
5464
            LIBS="$gt_save_LIBS"
 
5465
fi
 
5466
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
 
5467
$as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
 
5468
        fi
 
5469
 
 
5470
                                        if test "$gt_cv_func_gnugettext1_libc" = "yes" \
 
5471
           || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
 
5472
                && test "$PACKAGE" != gettext; }; then
 
5473
          gt_use_preinstalled_gnugettext=yes
 
5474
        else
 
5475
                    LIBINTL=
 
5476
          LTLIBINTL=
 
5477
          INCINTL=
 
5478
        fi
 
5479
 
 
5480
 
 
5481
 
 
5482
    if test "$gt_use_preinstalled_gnugettext" = "yes" \
 
5483
       || test "$nls_cv_use_gnu_gettext" = "yes"; then
 
5484
 
 
5485
cat >>confdefs.h <<\_ACEOF
 
5486
#define ENABLE_NLS 1
 
5487
_ACEOF
 
5488
 
 
5489
    else
 
5490
      USE_NLS=no
 
5491
    fi
 
5492
  fi
 
5493
 
 
5494
  if test "$USE_NLS" = "yes"; then
 
5495
 
 
5496
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
 
5497
      if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
 
5498
        { $as_echo "$as_me:$LINENO: checking how to link with libintl" >&5
 
5499
$as_echo_n "checking how to link with libintl... " >&6; }
 
5500
        { $as_echo "$as_me:$LINENO: result: $LIBINTL" >&5
 
5501
$as_echo "$LIBINTL" >&6; }
 
5502
 
 
5503
  for element in $INCINTL; do
 
5504
    haveit=
 
5505
    for x in $CPPFLAGS; do
 
5506
 
 
5507
  acl_save_prefix="$prefix"
 
5508
  prefix="$acl_final_prefix"
 
5509
  acl_save_exec_prefix="$exec_prefix"
 
5510
  exec_prefix="$acl_final_exec_prefix"
 
5511
  eval x=\"$x\"
 
5512
  exec_prefix="$acl_save_exec_prefix"
 
5513
  prefix="$acl_save_prefix"
 
5514
 
 
5515
      if test "X$x" = "X$element"; then
 
5516
        haveit=yes
 
5517
        break
 
5518
      fi
 
5519
    done
 
5520
    if test -z "$haveit"; then
 
5521
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
5522
    fi
 
5523
  done
 
5524
 
 
5525
      fi
 
5526
 
 
5527
 
 
5528
cat >>confdefs.h <<\_ACEOF
 
5529
#define HAVE_GETTEXT 1
 
5530
_ACEOF
 
5531
 
 
5532
 
 
5533
cat >>confdefs.h <<\_ACEOF
 
5534
#define HAVE_DCGETTEXT 1
 
5535
_ACEOF
 
5536
 
 
5537
    fi
 
5538
 
 
5539
        POSUB=po
 
5540
  fi
 
5541
 
 
5542
 
 
5543
 
 
5544
    INTLLIBS="$LIBINTL"
 
5545
 
 
5546
 
 
5547
 
 
5548
 
 
5549
 
 
5550
 
 
5551
 
 
5552
  GETTEXT_PACKAGE=gst-entrans-$GST_MAJORMINOR
 
5553
 
 
5554
 
 
5555
cat >>confdefs.h <<_ACEOF
 
5556
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 
5557
_ACEOF
 
5558
 
 
5559
 
 
5560
 
 
5561
  EXP_VAR=LOCALEDIR
 
5562
  FROM_VAR=$datadir/locale
 
5563
 
 
5564
    prefix_save=$prefix
 
5565
  exec_prefix_save=$exec_prefix
 
5566
 
 
5567
    if test "x$prefix" = "xNONE"; then
 
5568
    prefix="$ac_default_prefix"
 
5569
  fi
 
5570
    if test "x$exec_prefix" = "xNONE"; then
 
5571
    exec_prefix=$prefix
 
5572
  fi
 
5573
 
 
5574
  full_var="$FROM_VAR"
 
5575
    while true; do
 
5576
    new_full_var="`eval echo $full_var`"
 
5577
    if test "x$new_full_var" = "x$full_var"; then break; fi
 
5578
    full_var=$new_full_var
 
5579
  done
 
5580
 
 
5581
    full_var=$new_full_var
 
5582
  LOCALEDIR="$full_var"
 
5583
 
 
5584
 
 
5585
    prefix=$prefix_save
 
5586
  exec_prefix=$exec_prefix_save
 
5587
 
 
5588
 
 
5589
cat >>confdefs.h <<_ACEOF
 
5590
#define LOCALEDIR "$LOCALEDIR"
 
5591
_ACEOF
 
5592
 
 
5593
 
 
5594
 
 
5595
 
 
5596
 
 
5597
    # Check whether --enable-debug was given.
 
5598
if test "${enable_debug+set}" = set; then
 
5599
  enableval=$enable_debug;
 
5600
      case "${enableval}" in
 
5601
        yes) USE_DEBUG=yes ;;
 
5602
        no)  USE_DEBUG=no ;;
 
5603
        *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
 
5604
$as_echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
 
5605
   { (exit 1); exit 1; }; } ;;
 
5606
      esac
 
5607
 
 
5608
else
 
5609
  USE_DEBUG=yes
 
5610
fi
 
5611
 
 
5612
 
 
5613
  # Check whether --enable-profiling was given.
 
5614
if test "${enable_profiling+set}" = set; then
 
5615
  enableval=$enable_profiling;
 
5616
      case "${enableval}" in
 
5617
        yes) USE_PROFILING=yes ;;
 
5618
        no)  USE_PROFILING=no ;;
 
5619
        *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-profiling" >&5
 
5620
$as_echo "$as_me: error: bad value ${enableval} for --enable-profiling" >&2;}
 
5621
   { (exit 1); exit 1; }; } ;;
 
5622
      esac
 
5623
 
 
5624
else
 
5625
  USE_PROFILING=no
 
5626
fi
 
5627
 
 
5628
 
 
5629
  # Check whether --enable-gcov was given.
 
5630
if test "${enable_gcov+set}" = set; then
 
5631
  enableval=$enable_gcov; enable_gcov=$enableval
 
5632
else
 
5633
  enable_gcov=no
 
5634
fi
 
5635
 
 
5636
  if test x$enable_gcov = xyes ; then
 
5637
    if test "x$GCC" != "xyes"
 
5638
    then
 
5639
      { { $as_echo "$as_me:$LINENO: error: gcov only works if gcc is used" >&5
 
5640
$as_echo "$as_me: error: gcov only works if gcc is used" >&2;}
 
5641
   { (exit 1); exit 1; }; }
 
5642
    fi
 
5643
 
 
5644
 
 
5645
  { $as_echo "$as_me:$LINENO: checking to see if compiler understands \"-fprofile-arcs\"" >&5
 
5646
$as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; }
 
5647
 
 
5648
  save_CFLAGS="$CFLAGS"
 
5649
  CFLAGS="$CFLAGS "-fprofile-arcs""
 
5650
 
 
5651
  cat >conftest.$ac_ext <<_ACEOF
 
5652
/* confdefs.h.  */
 
5653
_ACEOF
 
5654
cat confdefs.h >>conftest.$ac_ext
 
5655
cat >>conftest.$ac_ext <<_ACEOF
 
5656
/* end confdefs.h.  */
 
5657
 
 
5658
int
 
5659
main ()
 
5660
{
 
5661
 
 
5662
  ;
 
5663
  return 0;
 
5664
}
 
5665
_ACEOF
 
5666
rm -f conftest.$ac_objext
 
5667
if { (ac_try="$ac_compile"
 
5668
case "(($ac_try" in
 
5669
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5670
  *) ac_try_echo=$ac_try;;
 
5671
esac
 
5672
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5673
$as_echo "$ac_try_echo") >&5
 
5674
  (eval "$ac_compile") 2>conftest.er1
 
5675
  ac_status=$?
 
5676
  grep -v '^ *+' conftest.er1 >conftest.err
 
5677
  rm -f conftest.er1
 
5678
  cat conftest.err >&5
 
5679
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5680
  (exit $ac_status); } && {
 
5681
         test -z "$ac_c_werror_flag" ||
 
5682
         test ! -s conftest.err
 
5683
       } && test -s conftest.$ac_objext; then
 
5684
  flag_ok=yes
 
5685
else
 
5686
  $as_echo "$as_me: failed program was:" >&5
 
5687
sed 's/^/| /' conftest.$ac_ext >&5
 
5688
 
 
5689
        flag_ok=no
 
5690
fi
 
5691
 
 
5692
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5693
  CFLAGS="$save_CFLAGS"
 
5694
 
 
5695
  if test "X$flag_ok" = Xyes ; then
 
5696
    GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs"
 
5697
    true
 
5698
  else
 
5699
    true
 
5700
    true
 
5701
  fi
 
5702
  { $as_echo "$as_me:$LINENO: result: $flag_ok" >&5
 
5703
$as_echo "$flag_ok" >&6; }
 
5704
 
 
5705
 
 
5706
  { $as_echo "$as_me:$LINENO: checking to see if compiler understands \"-ftest-coverage\"" >&5
 
5707
$as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; }
 
5708
 
 
5709
  save_CFLAGS="$CFLAGS"
 
5710
  CFLAGS="$CFLAGS "-ftest-coverage""
 
5711
 
 
5712
  cat >conftest.$ac_ext <<_ACEOF
 
5713
/* confdefs.h.  */
 
5714
_ACEOF
 
5715
cat confdefs.h >>conftest.$ac_ext
 
5716
cat >>conftest.$ac_ext <<_ACEOF
 
5717
/* end confdefs.h.  */
 
5718
 
 
5719
int
 
5720
main ()
 
5721
{
 
5722
 
 
5723
  ;
 
5724
  return 0;
 
5725
}
 
5726
_ACEOF
 
5727
rm -f conftest.$ac_objext
 
5728
if { (ac_try="$ac_compile"
 
5729
case "(($ac_try" in
 
5730
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5731
  *) ac_try_echo=$ac_try;;
 
5732
esac
 
5733
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5734
$as_echo "$ac_try_echo") >&5
 
5735
  (eval "$ac_compile") 2>conftest.er1
 
5736
  ac_status=$?
 
5737
  grep -v '^ *+' conftest.er1 >conftest.err
 
5738
  rm -f conftest.er1
 
5739
  cat conftest.err >&5
 
5740
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5741
  (exit $ac_status); } && {
 
5742
         test -z "$ac_c_werror_flag" ||
 
5743
         test ! -s conftest.err
 
5744
       } && test -s conftest.$ac_objext; then
 
5745
  flag_ok=yes
 
5746
else
 
5747
  $as_echo "$as_me: failed program was:" >&5
 
5748
sed 's/^/| /' conftest.$ac_ext >&5
 
5749
 
 
5750
        flag_ok=no
 
5751
fi
 
5752
 
 
5753
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5754
  CFLAGS="$save_CFLAGS"
 
5755
 
 
5756
  if test "X$flag_ok" = Xyes ; then
 
5757
    GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage"
 
5758
    true
 
5759
  else
 
5760
    true
 
5761
    true
 
5762
  fi
 
5763
  { $as_echo "$as_me:$LINENO: result: $flag_ok" >&5
 
5764
$as_echo "$flag_ok" >&6; }
 
5765
 
 
5766
        GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O0-9*//g'`
 
5767
                GCOV_LIBS=-lgcov
 
5768
 
 
5769
 
 
5770
    GCOV=`echo $CC | sed s/gcc/gcov/g`
 
5771
 
 
5772
 
 
5773
    GST_GCOV_ENABLED=yes
 
5774
 
 
5775
cat >>confdefs.h <<_ACEOF
 
5776
#define GST_GCOV_ENABLED 1
 
5777
_ACEOF
 
5778
 
 
5779
        if test "x$GST_GCOV_ENABLED" = "xyes"
 
5780
    then
 
5781
      CFLAGS="-O0"
 
5782
 
 
5783
      CXXFLAGS="-O0"
 
5784
 
 
5785
      FFLAGS="-O0"
 
5786
 
 
5787
      CCASFLAGS="-O0"
 
5788
 
 
5789
      { $as_echo "$as_me:$LINENO: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5
 
5790
$as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;}
 
5791
    fi
 
5792
  fi
 
5793
   if test x$enable_gcov = xyes; then
 
5794
  GST_GCOV_ENABLED_TRUE=
 
5795
  GST_GCOV_ENABLED_FALSE='#'
 
5796
else
 
5797
  GST_GCOV_ENABLED_TRUE='#'
 
5798
  GST_GCOV_ENABLED_FALSE=
 
5799
fi
 
5800
 
 
5801
 
 
5802
 
 
5803
ac_ext=c
 
5804
ac_cpp='$CPP $CPPFLAGS'
 
5805
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5806
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5807
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5808
if test -n "$ac_tool_prefix"; then
 
5809
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
5810
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
5811
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5812
$as_echo_n "checking for $ac_word... " >&6; }
 
5813
if test "${ac_cv_prog_CC+set}" = set; then
 
5814
  $as_echo_n "(cached) " >&6
 
5815
else
 
5816
  if test -n "$CC"; then
 
5817
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
5818
else
 
5819
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5820
for as_dir in $PATH
 
5821
do
 
5822
  IFS=$as_save_IFS
 
5823
  test -z "$as_dir" && as_dir=.
 
5824
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5825
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5826
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
5827
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5828
    break 2
 
5829
  fi
 
5830
done
 
5831
done
 
5832
IFS=$as_save_IFS
 
5833
 
 
5834
fi
 
5835
fi
 
5836
CC=$ac_cv_prog_CC
 
5837
if test -n "$CC"; then
 
5838
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
5839
$as_echo "$CC" >&6; }
 
5840
else
 
5841
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5842
$as_echo "no" >&6; }
 
5843
fi
 
5844
 
 
5845
 
 
5846
fi
 
5847
if test -z "$ac_cv_prog_CC"; then
 
5848
  ac_ct_CC=$CC
 
5849
  # Extract the first word of "gcc", so it can be a program name with args.
 
5850
set dummy gcc; ac_word=$2
 
5851
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5852
$as_echo_n "checking for $ac_word... " >&6; }
 
5853
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
5854
  $as_echo_n "(cached) " >&6
 
5855
else
 
5856
  if test -n "$ac_ct_CC"; then
 
5857
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
5858
else
 
5859
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5860
for as_dir in $PATH
 
5861
do
 
5862
  IFS=$as_save_IFS
 
5863
  test -z "$as_dir" && as_dir=.
 
5864
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5865
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5866
    ac_cv_prog_ac_ct_CC="gcc"
 
5867
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5868
    break 2
 
5869
  fi
 
5870
done
 
5871
done
 
5872
IFS=$as_save_IFS
 
5873
 
 
5874
fi
 
5875
fi
 
5876
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
5877
if test -n "$ac_ct_CC"; then
 
5878
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
5879
$as_echo "$ac_ct_CC" >&6; }
 
5880
else
 
5881
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5882
$as_echo "no" >&6; }
 
5883
fi
 
5884
 
 
5885
  if test "x$ac_ct_CC" = x; then
 
5886
    CC=""
 
5887
  else
 
5888
    case $cross_compiling:$ac_tool_warned in
 
5889
yes:)
 
5890
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5891
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5892
ac_tool_warned=yes ;;
 
5893
esac
 
5894
    CC=$ac_ct_CC
 
5895
  fi
 
5896
else
 
5897
  CC="$ac_cv_prog_CC"
 
5898
fi
 
5899
 
 
5900
if test -z "$CC"; then
 
5901
          if test -n "$ac_tool_prefix"; then
 
5902
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
5903
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
5904
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5905
$as_echo_n "checking for $ac_word... " >&6; }
 
5906
if test "${ac_cv_prog_CC+set}" = set; then
 
5907
  $as_echo_n "(cached) " >&6
 
5908
else
 
5909
  if test -n "$CC"; then
 
5910
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
5911
else
 
5912
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5913
for as_dir in $PATH
 
5914
do
 
5915
  IFS=$as_save_IFS
 
5916
  test -z "$as_dir" && as_dir=.
 
5917
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5918
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5919
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
5920
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5921
    break 2
 
5922
  fi
 
5923
done
 
5924
done
 
5925
IFS=$as_save_IFS
 
5926
 
 
5927
fi
 
5928
fi
 
5929
CC=$ac_cv_prog_CC
 
5930
if test -n "$CC"; then
 
5931
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
5932
$as_echo "$CC" >&6; }
 
5933
else
 
5934
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5935
$as_echo "no" >&6; }
 
5936
fi
 
5937
 
 
5938
 
 
5939
  fi
 
5940
fi
 
5941
if test -z "$CC"; then
 
5942
  # Extract the first word of "cc", so it can be a program name with args.
 
5943
set dummy cc; ac_word=$2
 
5944
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5945
$as_echo_n "checking for $ac_word... " >&6; }
 
5946
if test "${ac_cv_prog_CC+set}" = set; then
 
5947
  $as_echo_n "(cached) " >&6
 
5948
else
 
5949
  if test -n "$CC"; then
 
5950
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
5951
else
 
5952
  ac_prog_rejected=no
 
5953
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5954
for as_dir in $PATH
 
5955
do
 
5956
  IFS=$as_save_IFS
 
5957
  test -z "$as_dir" && as_dir=.
 
5958
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5959
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5960
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
5961
       ac_prog_rejected=yes
 
5962
       continue
 
5963
     fi
 
5964
    ac_cv_prog_CC="cc"
 
5965
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5966
    break 2
 
5967
  fi
 
5968
done
 
5969
done
 
5970
IFS=$as_save_IFS
 
5971
 
 
5972
if test $ac_prog_rejected = yes; then
 
5973
  # We found a bogon in the path, so make sure we never use it.
 
5974
  set dummy $ac_cv_prog_CC
 
5975
  shift
 
5976
  if test $# != 0; then
 
5977
    # We chose a different compiler from the bogus one.
 
5978
    # However, it has the same basename, so the bogon will be chosen
 
5979
    # first if we set CC to just the basename; use the full file name.
 
5980
    shift
 
5981
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
5982
  fi
 
5983
fi
 
5984
fi
 
5985
fi
 
5986
CC=$ac_cv_prog_CC
 
5987
if test -n "$CC"; then
 
5988
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
5989
$as_echo "$CC" >&6; }
 
5990
else
 
5991
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5992
$as_echo "no" >&6; }
 
5993
fi
 
5994
 
 
5995
 
 
5996
fi
 
5997
if test -z "$CC"; then
 
5998
  if test -n "$ac_tool_prefix"; then
 
5999
  for ac_prog in cl.exe
 
6000
  do
 
6001
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6002
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6003
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6004
$as_echo_n "checking for $ac_word... " >&6; }
 
6005
if test "${ac_cv_prog_CC+set}" = set; then
 
6006
  $as_echo_n "(cached) " >&6
 
6007
else
 
6008
  if test -n "$CC"; then
 
6009
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
6010
else
 
6011
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6012
for as_dir in $PATH
 
6013
do
 
6014
  IFS=$as_save_IFS
 
6015
  test -z "$as_dir" && as_dir=.
 
6016
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6017
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6018
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
6019
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6020
    break 2
 
6021
  fi
 
6022
done
 
6023
done
 
6024
IFS=$as_save_IFS
 
6025
 
 
6026
fi
 
6027
fi
 
6028
CC=$ac_cv_prog_CC
 
6029
if test -n "$CC"; then
 
6030
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
6031
$as_echo "$CC" >&6; }
 
6032
else
 
6033
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6034
$as_echo "no" >&6; }
 
6035
fi
 
6036
 
 
6037
 
 
6038
    test -n "$CC" && break
 
6039
  done
 
6040
fi
 
6041
if test -z "$CC"; then
 
6042
  ac_ct_CC=$CC
 
6043
  for ac_prog in cl.exe
 
6044
do
 
6045
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6046
set dummy $ac_prog; ac_word=$2
 
6047
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6048
$as_echo_n "checking for $ac_word... " >&6; }
 
6049
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
6050
  $as_echo_n "(cached) " >&6
 
6051
else
 
6052
  if test -n "$ac_ct_CC"; then
 
6053
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
6054
else
 
6055
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6056
for as_dir in $PATH
 
6057
do
 
6058
  IFS=$as_save_IFS
 
6059
  test -z "$as_dir" && as_dir=.
 
6060
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6061
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6062
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
6063
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6064
    break 2
 
6065
  fi
 
6066
done
 
6067
done
 
6068
IFS=$as_save_IFS
 
6069
 
 
6070
fi
 
6071
fi
 
6072
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
6073
if test -n "$ac_ct_CC"; then
 
6074
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
6075
$as_echo "$ac_ct_CC" >&6; }
 
6076
else
 
6077
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6078
$as_echo "no" >&6; }
 
6079
fi
 
6080
 
 
6081
 
 
6082
  test -n "$ac_ct_CC" && break
 
6083
done
 
6084
 
 
6085
  if test "x$ac_ct_CC" = x; then
 
6086
    CC=""
 
6087
  else
 
6088
    case $cross_compiling:$ac_tool_warned in
 
6089
yes:)
 
6090
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6091
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6092
ac_tool_warned=yes ;;
 
6093
esac
 
6094
    CC=$ac_ct_CC
 
6095
  fi
 
6096
fi
 
6097
 
 
6098
fi
 
6099
 
 
6100
 
 
6101
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
6102
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
6103
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
6104
See \`config.log' for more details." >&5
 
6105
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
 
6106
See \`config.log' for more details." >&2;}
 
6107
   { (exit 1); exit 1; }; }; }
 
6108
 
 
6109
# Provide some information about the compiler.
 
6110
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
6111
set X $ac_compile
 
6112
ac_compiler=$2
 
6113
{ (ac_try="$ac_compiler --version >&5"
 
6114
case "(($ac_try" in
 
6115
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6116
  *) ac_try_echo=$ac_try;;
 
6117
esac
 
6118
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6119
$as_echo "$ac_try_echo") >&5
 
6120
  (eval "$ac_compiler --version >&5") 2>&5
 
6121
  ac_status=$?
 
6122
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6123
  (exit $ac_status); }
 
6124
{ (ac_try="$ac_compiler -v >&5"
 
6125
case "(($ac_try" in
 
6126
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6127
  *) ac_try_echo=$ac_try;;
 
6128
esac
 
6129
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6130
$as_echo "$ac_try_echo") >&5
 
6131
  (eval "$ac_compiler -v >&5") 2>&5
 
6132
  ac_status=$?
 
6133
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6134
  (exit $ac_status); }
 
6135
{ (ac_try="$ac_compiler -V >&5"
 
6136
case "(($ac_try" in
 
6137
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6138
  *) ac_try_echo=$ac_try;;
 
6139
esac
 
6140
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6141
$as_echo "$ac_try_echo") >&5
 
6142
  (eval "$ac_compiler -V >&5") 2>&5
 
6143
  ac_status=$?
 
6144
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6145
  (exit $ac_status); }
 
6146
 
 
6147
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
6148
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
6149
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
6150
  $as_echo_n "(cached) " >&6
 
6151
else
 
6152
  cat >conftest.$ac_ext <<_ACEOF
 
6153
/* confdefs.h.  */
 
6154
_ACEOF
 
6155
cat confdefs.h >>conftest.$ac_ext
 
6156
cat >>conftest.$ac_ext <<_ACEOF
 
6157
/* end confdefs.h.  */
 
6158
 
 
6159
int
 
6160
main ()
 
6161
{
 
6162
#ifndef __GNUC__
 
6163
       choke me
 
6164
#endif
 
6165
 
 
6166
  ;
 
6167
  return 0;
 
6168
}
 
6169
_ACEOF
 
6170
rm -f conftest.$ac_objext
 
6171
if { (ac_try="$ac_compile"
 
6172
case "(($ac_try" in
 
6173
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6174
  *) ac_try_echo=$ac_try;;
 
6175
esac
 
6176
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6177
$as_echo "$ac_try_echo") >&5
 
6178
  (eval "$ac_compile") 2>conftest.er1
 
6179
  ac_status=$?
 
6180
  grep -v '^ *+' conftest.er1 >conftest.err
 
6181
  rm -f conftest.er1
 
6182
  cat conftest.err >&5
 
6183
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6184
  (exit $ac_status); } && {
 
6185
         test -z "$ac_c_werror_flag" ||
 
6186
         test ! -s conftest.err
 
6187
       } && test -s conftest.$ac_objext; then
 
6188
  ac_compiler_gnu=yes
 
6189
else
 
6190
  $as_echo "$as_me: failed program was:" >&5
 
6191
sed 's/^/| /' conftest.$ac_ext >&5
 
6192
 
 
6193
        ac_compiler_gnu=no
 
6194
fi
 
6195
 
 
6196
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6197
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
6198
 
 
6199
fi
 
6200
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
6201
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
6202
if test $ac_compiler_gnu = yes; then
 
6203
  GCC=yes
 
6204
else
 
6205
  GCC=
 
6206
fi
 
6207
ac_test_CFLAGS=${CFLAGS+set}
 
6208
ac_save_CFLAGS=$CFLAGS
 
6209
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
6210
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
6211
if test "${ac_cv_prog_cc_g+set}" = set; then
 
6212
  $as_echo_n "(cached) " >&6
 
6213
else
 
6214
  ac_save_c_werror_flag=$ac_c_werror_flag
 
6215
   ac_c_werror_flag=yes
 
6216
   ac_cv_prog_cc_g=no
 
6217
   CFLAGS="-g"
 
6218
   cat >conftest.$ac_ext <<_ACEOF
 
6219
/* confdefs.h.  */
 
6220
_ACEOF
 
6221
cat confdefs.h >>conftest.$ac_ext
 
6222
cat >>conftest.$ac_ext <<_ACEOF
 
6223
/* end confdefs.h.  */
 
6224
 
 
6225
int
 
6226
main ()
 
6227
{
 
6228
 
 
6229
  ;
 
6230
  return 0;
 
6231
}
 
6232
_ACEOF
 
6233
rm -f conftest.$ac_objext
 
6234
if { (ac_try="$ac_compile"
 
6235
case "(($ac_try" in
 
6236
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6237
  *) ac_try_echo=$ac_try;;
 
6238
esac
 
6239
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6240
$as_echo "$ac_try_echo") >&5
 
6241
  (eval "$ac_compile") 2>conftest.er1
 
6242
  ac_status=$?
 
6243
  grep -v '^ *+' conftest.er1 >conftest.err
 
6244
  rm -f conftest.er1
 
6245
  cat conftest.err >&5
 
6246
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6247
  (exit $ac_status); } && {
 
6248
         test -z "$ac_c_werror_flag" ||
 
6249
         test ! -s conftest.err
 
6250
       } && test -s conftest.$ac_objext; then
 
6251
  ac_cv_prog_cc_g=yes
 
6252
else
 
6253
  $as_echo "$as_me: failed program was:" >&5
 
6254
sed 's/^/| /' conftest.$ac_ext >&5
 
6255
 
 
6256
        CFLAGS=""
 
6257
      cat >conftest.$ac_ext <<_ACEOF
 
6258
/* confdefs.h.  */
 
6259
_ACEOF
 
6260
cat confdefs.h >>conftest.$ac_ext
 
6261
cat >>conftest.$ac_ext <<_ACEOF
 
6262
/* end confdefs.h.  */
 
6263
 
 
6264
int
 
6265
main ()
 
6266
{
 
6267
 
 
6268
  ;
 
6269
  return 0;
 
6270
}
 
6271
_ACEOF
 
6272
rm -f conftest.$ac_objext
 
6273
if { (ac_try="$ac_compile"
 
6274
case "(($ac_try" in
 
6275
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6276
  *) ac_try_echo=$ac_try;;
 
6277
esac
 
6278
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6279
$as_echo "$ac_try_echo") >&5
 
6280
  (eval "$ac_compile") 2>conftest.er1
 
6281
  ac_status=$?
 
6282
  grep -v '^ *+' conftest.er1 >conftest.err
 
6283
  rm -f conftest.er1
 
6284
  cat conftest.err >&5
 
6285
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6286
  (exit $ac_status); } && {
 
6287
         test -z "$ac_c_werror_flag" ||
 
6288
         test ! -s conftest.err
 
6289
       } && test -s conftest.$ac_objext; then
 
6290
  :
 
6291
else
 
6292
  $as_echo "$as_me: failed program was:" >&5
 
6293
sed 's/^/| /' conftest.$ac_ext >&5
 
6294
 
 
6295
        ac_c_werror_flag=$ac_save_c_werror_flag
 
6296
         CFLAGS="-g"
 
6297
         cat >conftest.$ac_ext <<_ACEOF
 
6298
/* confdefs.h.  */
 
6299
_ACEOF
 
6300
cat confdefs.h >>conftest.$ac_ext
 
6301
cat >>conftest.$ac_ext <<_ACEOF
 
6302
/* end confdefs.h.  */
 
6303
 
 
6304
int
 
6305
main ()
 
6306
{
 
6307
 
 
6308
  ;
 
6309
  return 0;
 
6310
}
 
6311
_ACEOF
 
6312
rm -f conftest.$ac_objext
 
6313
if { (ac_try="$ac_compile"
 
6314
case "(($ac_try" in
 
6315
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6316
  *) ac_try_echo=$ac_try;;
 
6317
esac
 
6318
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6319
$as_echo "$ac_try_echo") >&5
 
6320
  (eval "$ac_compile") 2>conftest.er1
 
6321
  ac_status=$?
 
6322
  grep -v '^ *+' conftest.er1 >conftest.err
 
6323
  rm -f conftest.er1
 
6324
  cat conftest.err >&5
 
6325
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6326
  (exit $ac_status); } && {
 
6327
         test -z "$ac_c_werror_flag" ||
 
6328
         test ! -s conftest.err
 
6329
       } && test -s conftest.$ac_objext; then
 
6330
  ac_cv_prog_cc_g=yes
 
6331
else
 
6332
  $as_echo "$as_me: failed program was:" >&5
 
6333
sed 's/^/| /' conftest.$ac_ext >&5
 
6334
 
 
6335
 
 
6336
fi
 
6337
 
 
6338
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6339
fi
 
6340
 
 
6341
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6342
fi
 
6343
 
 
6344
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6345
   ac_c_werror_flag=$ac_save_c_werror_flag
 
6346
fi
 
6347
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
6348
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
6349
if test "$ac_test_CFLAGS" = set; then
 
6350
  CFLAGS=$ac_save_CFLAGS
 
6351
elif test $ac_cv_prog_cc_g = yes; then
 
6352
  if test "$GCC" = yes; then
 
6353
    CFLAGS="-g -O2"
 
6354
  else
 
6355
    CFLAGS="-g"
 
6356
  fi
 
6357
else
 
6358
  if test "$GCC" = yes; then
 
6359
    CFLAGS="-O2"
 
6360
  else
 
6361
    CFLAGS=
 
6362
  fi
 
6363
fi
 
6364
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
6365
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
6366
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
6367
  $as_echo_n "(cached) " >&6
 
6368
else
 
6369
  ac_cv_prog_cc_c89=no
 
6370
ac_save_CC=$CC
 
6371
cat >conftest.$ac_ext <<_ACEOF
 
6372
/* confdefs.h.  */
 
6373
_ACEOF
 
6374
cat confdefs.h >>conftest.$ac_ext
 
6375
cat >>conftest.$ac_ext <<_ACEOF
 
6376
/* end confdefs.h.  */
 
6377
#include <stdarg.h>
 
6378
#include <stdio.h>
 
6379
#include <sys/types.h>
 
6380
#include <sys/stat.h>
 
6381
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
6382
struct buf { int x; };
 
6383
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
6384
static char *e (p, i)
 
6385
     char **p;
 
6386
     int i;
 
6387
{
 
6388
  return p[i];
 
6389
}
 
6390
static char *f (char * (*g) (char **, int), char **p, ...)
 
6391
{
 
6392
  char *s;
 
6393
  va_list v;
 
6394
  va_start (v,p);
 
6395
  s = g (p, va_arg (v,int));
 
6396
  va_end (v);
 
6397
  return s;
 
6398
}
 
6399
 
 
6400
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
6401
   function prototypes and stuff, but not '\xHH' hex character constants.
 
6402
   These don't provoke an error unfortunately, instead are silently treated
 
6403
   as 'x'.  The following induces an error, until -std is added to get
 
6404
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
6405
   array size at least.  It's necessary to write '\x00'==0 to get something
 
6406
   that's true only with -std.  */
 
6407
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
6408
 
 
6409
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
6410
   inside strings and character constants.  */
 
6411
#define FOO(x) 'x'
 
6412
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
6413
 
 
6414
int test (int i, double x);
 
6415
struct s1 {int (*f) (int a);};
 
6416
struct s2 {int (*f) (double a);};
 
6417
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
6418
int argc;
 
6419
char **argv;
 
6420
int
 
6421
main ()
 
6422
{
 
6423
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
6424
  ;
 
6425
  return 0;
 
6426
}
 
6427
_ACEOF
 
6428
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
6429
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
6430
do
 
6431
  CC="$ac_save_CC $ac_arg"
 
6432
  rm -f conftest.$ac_objext
 
6433
if { (ac_try="$ac_compile"
 
6434
case "(($ac_try" in
 
6435
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6436
  *) ac_try_echo=$ac_try;;
 
6437
esac
 
6438
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6439
$as_echo "$ac_try_echo") >&5
 
6440
  (eval "$ac_compile") 2>conftest.er1
 
6441
  ac_status=$?
 
6442
  grep -v '^ *+' conftest.er1 >conftest.err
 
6443
  rm -f conftest.er1
 
6444
  cat conftest.err >&5
 
6445
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6446
  (exit $ac_status); } && {
 
6447
         test -z "$ac_c_werror_flag" ||
 
6448
         test ! -s conftest.err
 
6449
       } && test -s conftest.$ac_objext; then
 
6450
  ac_cv_prog_cc_c89=$ac_arg
 
6451
else
 
6452
  $as_echo "$as_me: failed program was:" >&5
 
6453
sed 's/^/| /' conftest.$ac_ext >&5
 
6454
 
 
6455
 
 
6456
fi
 
6457
 
 
6458
rm -f core conftest.err conftest.$ac_objext
 
6459
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
6460
done
 
6461
rm -f conftest.$ac_ext
 
6462
CC=$ac_save_CC
 
6463
 
 
6464
fi
 
6465
# AC_CACHE_VAL
 
6466
case "x$ac_cv_prog_cc_c89" in
 
6467
  x)
 
6468
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
6469
$as_echo "none needed" >&6; } ;;
 
6470
  xno)
 
6471
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
6472
$as_echo "unsupported" >&6; } ;;
 
6473
  *)
 
6474
    CC="$CC $ac_cv_prog_cc_c89"
 
6475
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
6476
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
6477
esac
 
6478
 
 
6479
 
 
6480
ac_ext=c
 
6481
ac_cpp='$CPP $CPPFLAGS'
 
6482
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6483
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6484
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6485
 
 
6486
depcc="$CC"   am_compiler_list=
 
6487
 
 
6488
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
6489
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
6490
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
6491
  $as_echo_n "(cached) " >&6
 
6492
else
 
6493
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
6494
  # We make a subdir and do the tests there.  Otherwise we can end up
 
6495
  # making bogus files that we don't know about and never remove.  For
 
6496
  # instance it was reported that on HP-UX the gcc test will end up
 
6497
  # making a dummy file named `D' -- because `-MD' means `put the output
 
6498
  # in D'.
 
6499
  mkdir conftest.dir
 
6500
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
6501
  # using a relative directory.
 
6502
  cp "$am_depcomp" conftest.dir
 
6503
  cd conftest.dir
 
6504
  # We will build objects and dependencies in a subdirectory because
 
6505
  # it helps to detect inapplicable dependency modes.  For instance
 
6506
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
6507
  # side effect of compilation, but ICC will put the dependencies in
 
6508
  # the current directory while Tru64 will put them in the object
 
6509
  # directory.
 
6510
  mkdir sub
 
6511
 
 
6512
  am_cv_CC_dependencies_compiler_type=none
 
6513
  if test "$am_compiler_list" = ""; then
 
6514
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
6515
  fi
 
6516
  for depmode in $am_compiler_list; do
 
6517
    # Setup a source with many dependencies, because some compilers
 
6518
    # like to wrap large dependency lists on column 80 (with \), and
 
6519
    # we should not choose a depcomp mode which is confused by this.
 
6520
    #
 
6521
    # We need to recreate these files for each test, as the compiler may
 
6522
    # overwrite some of them when testing with obscure command lines.
 
6523
    # This happens at least with the AIX C compiler.
 
6524
    : > sub/conftest.c
 
6525
    for i in 1 2 3 4 5 6; do
 
6526
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
6527
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
6528
      # Solaris 8's {/usr,}/bin/sh.
 
6529
      touch sub/conftst$i.h
 
6530
    done
 
6531
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
6532
 
 
6533
    case $depmode in
 
6534
    nosideeffect)
 
6535
      # after this tag, mechanisms are not by side-effect, so they'll
 
6536
      # only be used when explicitly requested
 
6537
      if test "x$enable_dependency_tracking" = xyes; then
 
6538
        continue
 
6539
      else
 
6540
        break
 
6541
      fi
 
6542
      ;;
 
6543
    none) break ;;
 
6544
    esac
 
6545
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
6546
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
6547
    # handle `-M -o', and we need to detect this.
 
6548
    if depmode=$depmode \
 
6549
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
6550
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
6551
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
6552
         >/dev/null 2>conftest.err &&
 
6553
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
6554
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
6555
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
6556
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
6557
      # icc doesn't choke on unknown options, it will just issue warnings
 
6558
      # or remarks (even with -Werror).  So we grep stderr for any message
 
6559
      # that says an option was ignored or not supported.
 
6560
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
6561
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
6562
      # The diagnosis changed in icc 8.0:
 
6563
      #   icc: Command line remark: option '-MP' not supported
 
6564
      if (grep 'ignoring option' conftest.err ||
 
6565
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
6566
        am_cv_CC_dependencies_compiler_type=$depmode
 
6567
        break
 
6568
      fi
 
6569
    fi
 
6570
  done
 
6571
 
 
6572
  cd ..
 
6573
  rm -rf conftest.dir
 
6574
else
 
6575
  am_cv_CC_dependencies_compiler_type=none
 
6576
fi
 
6577
 
 
6578
fi
 
6579
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
6580
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
6581
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
6582
 
 
6583
 if
 
6584
  test "x$enable_dependency_tracking" != xno \
 
6585
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
6586
  am__fastdepCC_TRUE=
 
6587
  am__fastdepCC_FALSE='#'
 
6588
else
 
6589
  am__fastdepCC_TRUE='#'
 
6590
  am__fastdepCC_FALSE=
 
6591
fi
 
6592
 
 
6593
 
 
6594
# By default we simply use the C compiler to build assembly code.
 
6595
 
 
6596
test "${CCAS+set}" = set || CCAS=$CC
 
6597
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
 
6598
 
 
6599
 
 
6600
 
 
6601
depcc="$CCAS"   am_compiler_list=
 
6602
 
 
6603
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
6604
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
6605
if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then
 
6606
  $as_echo_n "(cached) " >&6
 
6607
else
 
6608
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
6609
  # We make a subdir and do the tests there.  Otherwise we can end up
 
6610
  # making bogus files that we don't know about and never remove.  For
 
6611
  # instance it was reported that on HP-UX the gcc test will end up
 
6612
  # making a dummy file named `D' -- because `-MD' means `put the output
 
6613
  # in D'.
 
6614
  mkdir conftest.dir
 
6615
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
6616
  # using a relative directory.
 
6617
  cp "$am_depcomp" conftest.dir
 
6618
  cd conftest.dir
 
6619
  # We will build objects and dependencies in a subdirectory because
 
6620
  # it helps to detect inapplicable dependency modes.  For instance
 
6621
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
6622
  # side effect of compilation, but ICC will put the dependencies in
 
6623
  # the current directory while Tru64 will put them in the object
 
6624
  # directory.
 
6625
  mkdir sub
 
6626
 
 
6627
  am_cv_CCAS_dependencies_compiler_type=none
 
6628
  if test "$am_compiler_list" = ""; then
 
6629
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
6630
  fi
 
6631
  for depmode in $am_compiler_list; do
 
6632
    # Setup a source with many dependencies, because some compilers
 
6633
    # like to wrap large dependency lists on column 80 (with \), and
 
6634
    # we should not choose a depcomp mode which is confused by this.
 
6635
    #
 
6636
    # We need to recreate these files for each test, as the compiler may
 
6637
    # overwrite some of them when testing with obscure command lines.
 
6638
    # This happens at least with the AIX C compiler.
 
6639
    : > sub/conftest.c
 
6640
    for i in 1 2 3 4 5 6; do
 
6641
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
6642
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
6643
      # Solaris 8's {/usr,}/bin/sh.
 
6644
      touch sub/conftst$i.h
 
6645
    done
 
6646
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
6647
 
 
6648
    case $depmode in
 
6649
    nosideeffect)
 
6650
      # after this tag, mechanisms are not by side-effect, so they'll
 
6651
      # only be used when explicitly requested
 
6652
      if test "x$enable_dependency_tracking" = xyes; then
 
6653
        continue
 
6654
      else
 
6655
        break
 
6656
      fi
 
6657
      ;;
 
6658
    none) break ;;
 
6659
    esac
 
6660
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
6661
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
6662
    # handle `-M -o', and we need to detect this.
 
6663
    if depmode=$depmode \
 
6664
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
6665
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
6666
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
6667
         >/dev/null 2>conftest.err &&
 
6668
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
6669
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
6670
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
6671
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
6672
      # icc doesn't choke on unknown options, it will just issue warnings
 
6673
      # or remarks (even with -Werror).  So we grep stderr for any message
 
6674
      # that says an option was ignored or not supported.
 
6675
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
6676
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
6677
      # The diagnosis changed in icc 8.0:
 
6678
      #   icc: Command line remark: option '-MP' not supported
 
6679
      if (grep 'ignoring option' conftest.err ||
 
6680
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
6681
        am_cv_CCAS_dependencies_compiler_type=$depmode
 
6682
        break
 
6683
      fi
 
6684
    fi
 
6685
  done
 
6686
 
 
6687
  cd ..
 
6688
  rm -rf conftest.dir
 
6689
else
 
6690
  am_cv_CCAS_dependencies_compiler_type=none
 
6691
fi
 
6692
 
 
6693
fi
 
6694
{ $as_echo "$as_me:$LINENO: result: $am_cv_CCAS_dependencies_compiler_type" >&5
 
6695
$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
 
6696
CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
 
6697
 
 
6698
 if
 
6699
  test "x$enable_dependency_tracking" != xno \
 
6700
  && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
 
6701
  am__fastdepCCAS_TRUE=
 
6702
  am__fastdepCCAS_FALSE='#'
 
6703
else
 
6704
  am__fastdepCCAS_TRUE='#'
 
6705
  am__fastdepCCAS_FALSE=
 
6706
fi
 
6707
 
 
6708
 
 
6709
case `pwd` in
 
6710
  *\ * | *\     *)
 
6711
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
6712
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
6713
esac
 
6714
 
 
6715
 
 
6716
 
 
6717
macro_version='2.2.6'
 
6718
macro_revision='1.3012'
 
6719
 
 
6720
 
 
6721
 
 
6722
 
 
6723
 
 
6724
 
 
6725
 
 
6726
 
 
6727
 
 
6728
 
 
6729
 
 
6730
 
 
6731
 
 
6732
ltmain="$ac_aux_dir/ltmain.sh"
 
6733
 
 
6734
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
6735
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
6736
if test "${ac_cv_path_SED+set}" = set; then
 
6737
  $as_echo_n "(cached) " >&6
 
6738
else
 
6739
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
6740
     for ac_i in 1 2 3 4 5 6 7; do
 
6741
       ac_script="$ac_script$as_nl$ac_script"
 
6742
     done
 
6743
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
6744
     $as_unset ac_script || ac_script=
 
6745
     if test -z "$SED"; then
 
6746
  ac_path_SED_found=false
 
6747
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6748
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6749
for as_dir in $PATH
 
6750
do
 
6751
  IFS=$as_save_IFS
 
6752
  test -z "$as_dir" && as_dir=.
 
6753
  for ac_prog in sed gsed; do
 
6754
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6755
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
6756
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
6757
# Check for GNU ac_path_SED and select it if it is found.
 
6758
  # Check for GNU $ac_path_SED
 
6759
case `"$ac_path_SED" --version 2>&1` in
 
6760
*GNU*)
 
6761
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
6762
*)
 
6763
  ac_count=0
 
6764
  $as_echo_n 0123456789 >"conftest.in"
 
6765
  while :
 
6766
  do
 
6767
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
6768
    mv "conftest.tmp" "conftest.in"
 
6769
    cp "conftest.in" "conftest.nl"
 
6770
    $as_echo '' >> "conftest.nl"
 
6771
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
6772
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
6773
    ac_count=`expr $ac_count + 1`
 
6774
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
6775
      # Best one so far, save it but keep looking for a better one
 
6776
      ac_cv_path_SED="$ac_path_SED"
 
6777
      ac_path_SED_max=$ac_count
 
6778
    fi
 
6779
    # 10*(2^10) chars as input seems more than enough
 
6780
    test $ac_count -gt 10 && break
 
6781
  done
 
6782
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
6783
esac
 
6784
 
 
6785
      $ac_path_SED_found && break 3
 
6786
    done
 
6787
  done
 
6788
done
 
6789
IFS=$as_save_IFS
 
6790
  if test -z "$ac_cv_path_SED"; then
 
6791
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
 
6792
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
 
6793
   { (exit 1); exit 1; }; }
 
6794
  fi
 
6795
else
 
6796
  ac_cv_path_SED=$SED
 
6797
fi
 
6798
 
 
6799
fi
 
6800
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
6801
$as_echo "$ac_cv_path_SED" >&6; }
 
6802
 SED="$ac_cv_path_SED"
 
6803
  rm -f conftest.sed
 
6804
 
 
6805
test -z "$SED" && SED=sed
 
6806
Xsed="$SED -e 1s/^X//"
 
6807
 
 
6808
 
 
6809
 
 
6810
 
 
6811
 
 
6812
 
 
6813
 
 
6814
 
 
6815
 
 
6816
 
 
6817
 
 
6818
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
6819
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
6820
if test "${ac_cv_path_GREP+set}" = set; then
 
6821
  $as_echo_n "(cached) " >&6
 
6822
else
 
6823
  if test -z "$GREP"; then
 
6824
  ac_path_GREP_found=false
 
6825
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6826
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6827
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
6828
do
 
6829
  IFS=$as_save_IFS
 
6830
  test -z "$as_dir" && as_dir=.
 
6831
  for ac_prog in grep ggrep; do
 
6832
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6833
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
6834
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
6835
# Check for GNU ac_path_GREP and select it if it is found.
 
6836
  # Check for GNU $ac_path_GREP
 
6837
case `"$ac_path_GREP" --version 2>&1` in
 
6838
*GNU*)
 
6839
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
6840
*)
 
6841
  ac_count=0
 
6842
  $as_echo_n 0123456789 >"conftest.in"
 
6843
  while :
 
6844
  do
 
6845
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
6846
    mv "conftest.tmp" "conftest.in"
 
6847
    cp "conftest.in" "conftest.nl"
 
6848
    $as_echo 'GREP' >> "conftest.nl"
 
6849
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
6850
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
6851
    ac_count=`expr $ac_count + 1`
 
6852
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
6853
      # Best one so far, save it but keep looking for a better one
 
6854
      ac_cv_path_GREP="$ac_path_GREP"
 
6855
      ac_path_GREP_max=$ac_count
 
6856
    fi
 
6857
    # 10*(2^10) chars as input seems more than enough
 
6858
    test $ac_count -gt 10 && break
 
6859
  done
 
6860
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
6861
esac
 
6862
 
 
6863
      $ac_path_GREP_found && break 3
 
6864
    done
 
6865
  done
 
6866
done
 
6867
IFS=$as_save_IFS
 
6868
  if test -z "$ac_cv_path_GREP"; then
 
6869
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
6870
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
6871
   { (exit 1); exit 1; }; }
 
6872
  fi
 
6873
else
 
6874
  ac_cv_path_GREP=$GREP
 
6875
fi
 
6876
 
 
6877
fi
 
6878
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
6879
$as_echo "$ac_cv_path_GREP" >&6; }
 
6880
 GREP="$ac_cv_path_GREP"
 
6881
 
 
6882
 
 
6883
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
6884
$as_echo_n "checking for egrep... " >&6; }
 
6885
if test "${ac_cv_path_EGREP+set}" = set; then
 
6886
  $as_echo_n "(cached) " >&6
 
6887
else
 
6888
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
6889
   then ac_cv_path_EGREP="$GREP -E"
 
6890
   else
 
6891
     if test -z "$EGREP"; then
 
6892
  ac_path_EGREP_found=false
 
6893
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6894
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6895
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
6896
do
 
6897
  IFS=$as_save_IFS
 
6898
  test -z "$as_dir" && as_dir=.
 
6899
  for ac_prog in egrep; do
 
6900
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6901
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
6902
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
6903
# Check for GNU ac_path_EGREP and select it if it is found.
 
6904
  # Check for GNU $ac_path_EGREP
 
6905
case `"$ac_path_EGREP" --version 2>&1` in
 
6906
*GNU*)
 
6907
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
6908
*)
 
6909
  ac_count=0
 
6910
  $as_echo_n 0123456789 >"conftest.in"
 
6911
  while :
 
6912
  do
 
6913
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
6914
    mv "conftest.tmp" "conftest.in"
 
6915
    cp "conftest.in" "conftest.nl"
 
6916
    $as_echo 'EGREP' >> "conftest.nl"
 
6917
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
6918
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
6919
    ac_count=`expr $ac_count + 1`
 
6920
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
6921
      # Best one so far, save it but keep looking for a better one
 
6922
      ac_cv_path_EGREP="$ac_path_EGREP"
 
6923
      ac_path_EGREP_max=$ac_count
 
6924
    fi
 
6925
    # 10*(2^10) chars as input seems more than enough
 
6926
    test $ac_count -gt 10 && break
 
6927
  done
 
6928
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
6929
esac
 
6930
 
 
6931
      $ac_path_EGREP_found && break 3
 
6932
    done
 
6933
  done
 
6934
done
 
6935
IFS=$as_save_IFS
 
6936
  if test -z "$ac_cv_path_EGREP"; then
 
6937
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
6938
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
6939
   { (exit 1); exit 1; }; }
 
6940
  fi
 
6941
else
 
6942
  ac_cv_path_EGREP=$EGREP
 
6943
fi
 
6944
 
 
6945
   fi
 
6946
fi
 
6947
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
6948
$as_echo "$ac_cv_path_EGREP" >&6; }
 
6949
 EGREP="$ac_cv_path_EGREP"
 
6950
 
 
6951
 
 
6952
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
6953
$as_echo_n "checking for fgrep... " >&6; }
 
6954
if test "${ac_cv_path_FGREP+set}" = set; then
 
6955
  $as_echo_n "(cached) " >&6
 
6956
else
 
6957
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
6958
   then ac_cv_path_FGREP="$GREP -F"
 
6959
   else
 
6960
     if test -z "$FGREP"; then
 
6961
  ac_path_FGREP_found=false
 
6962
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6963
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6964
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
6965
do
 
6966
  IFS=$as_save_IFS
 
6967
  test -z "$as_dir" && as_dir=.
 
6968
  for ac_prog in fgrep; do
 
6969
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6970
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
6971
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
6972
# Check for GNU ac_path_FGREP and select it if it is found.
 
6973
  # Check for GNU $ac_path_FGREP
 
6974
case `"$ac_path_FGREP" --version 2>&1` in
 
6975
*GNU*)
 
6976
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
6977
*)
 
6978
  ac_count=0
 
6979
  $as_echo_n 0123456789 >"conftest.in"
 
6980
  while :
 
6981
  do
 
6982
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
6983
    mv "conftest.tmp" "conftest.in"
 
6984
    cp "conftest.in" "conftest.nl"
 
6985
    $as_echo 'FGREP' >> "conftest.nl"
 
6986
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
6987
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
6988
    ac_count=`expr $ac_count + 1`
 
6989
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
6990
      # Best one so far, save it but keep looking for a better one
 
6991
      ac_cv_path_FGREP="$ac_path_FGREP"
 
6992
      ac_path_FGREP_max=$ac_count
 
6993
    fi
 
6994
    # 10*(2^10) chars as input seems more than enough
 
6995
    test $ac_count -gt 10 && break
 
6996
  done
 
6997
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
6998
esac
 
6999
 
 
7000
      $ac_path_FGREP_found && break 3
 
7001
    done
 
7002
  done
 
7003
done
 
7004
IFS=$as_save_IFS
 
7005
  if test -z "$ac_cv_path_FGREP"; then
 
7006
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
7007
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
7008
   { (exit 1); exit 1; }; }
 
7009
  fi
 
7010
else
 
7011
  ac_cv_path_FGREP=$FGREP
 
7012
fi
 
7013
 
 
7014
   fi
 
7015
fi
 
7016
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
7017
$as_echo "$ac_cv_path_FGREP" >&6; }
 
7018
 FGREP="$ac_cv_path_FGREP"
 
7019
 
 
7020
 
 
7021
test -z "$GREP" && GREP=grep
 
7022
 
 
7023
 
 
7024
 
 
7025
 
 
7026
 
 
7027
 
 
7028
 
 
7029
 
 
7030
 
 
7031
 
 
7032
 
 
7033
 
 
7034
 
 
7035
 
 
7036
 
 
7037
 
 
7038
 
 
7039
 
 
7040
 
 
7041
# Check whether --with-gnu-ld was given.
 
7042
if test "${with_gnu_ld+set}" = set; then
 
7043
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
7044
else
 
7045
  with_gnu_ld=no
 
7046
fi
 
7047
 
 
7048
ac_prog=ld
 
7049
if test "$GCC" = yes; then
 
7050
  # Check if gcc -print-prog-name=ld gives a path.
 
7051
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
7052
$as_echo_n "checking for ld used by $CC... " >&6; }
 
7053
  case $host in
 
7054
  *-*-mingw*)
 
7055
    # gcc leaves a trailing carriage return which upsets mingw
 
7056
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
7057
  *)
 
7058
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
7059
  esac
 
7060
  case $ac_prog in
 
7061
    # Accept absolute paths.
 
7062
    [\\/]* | ?:[\\/]*)
 
7063
      re_direlt='/[^/][^/]*/\.\./'
 
7064
      # Canonicalize the pathname of ld
 
7065
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
7066
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
7067
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
7068
      done
 
7069
      test -z "$LD" && LD="$ac_prog"
 
7070
      ;;
 
7071
  "")
 
7072
    # If it fails, then pretend we aren't using GCC.
 
7073
    ac_prog=ld
 
7074
    ;;
 
7075
  *)
 
7076
    # If it is relative, then search for the first ld in PATH.
 
7077
    with_gnu_ld=unknown
 
7078
    ;;
 
7079
  esac
 
7080
elif test "$with_gnu_ld" = yes; then
 
7081
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
7082
$as_echo_n "checking for GNU ld... " >&6; }
 
7083
else
 
7084
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
7085
$as_echo_n "checking for non-GNU ld... " >&6; }
 
7086
fi
 
7087
if test "${lt_cv_path_LD+set}" = set; then
 
7088
  $as_echo_n "(cached) " >&6
 
7089
else
 
7090
  if test -z "$LD"; then
 
7091
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7092
  for ac_dir in $PATH; do
 
7093
    IFS="$lt_save_ifs"
 
7094
    test -z "$ac_dir" && ac_dir=.
 
7095
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
7096
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
7097
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
7098
      # but apparently some variants of GNU ld only accept -v.
 
7099
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
7100
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
7101
      *GNU* | *'with BFD'*)
 
7102
        test "$with_gnu_ld" != no && break
 
7103
        ;;
 
7104
      *)
 
7105
        test "$with_gnu_ld" != yes && break
 
7106
        ;;
 
7107
      esac
 
7108
    fi
 
7109
  done
 
7110
  IFS="$lt_save_ifs"
 
7111
else
 
7112
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
7113
fi
 
7114
fi
 
7115
 
 
7116
LD="$lt_cv_path_LD"
 
7117
if test -n "$LD"; then
 
7118
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
7119
$as_echo "$LD" >&6; }
 
7120
else
 
7121
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7122
$as_echo "no" >&6; }
 
7123
fi
 
7124
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
7125
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
7126
   { (exit 1); exit 1; }; }
 
7127
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
7128
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
7129
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
7130
  $as_echo_n "(cached) " >&6
 
7131
else
 
7132
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
7133
case `$LD -v 2>&1 </dev/null` in
 
7134
*GNU* | *'with BFD'*)
 
7135
  lt_cv_prog_gnu_ld=yes
 
7136
  ;;
 
7137
*)
 
7138
  lt_cv_prog_gnu_ld=no
 
7139
  ;;
 
7140
esac
 
7141
fi
 
7142
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
7143
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
7144
with_gnu_ld=$lt_cv_prog_gnu_ld
 
7145
 
 
7146
 
 
7147
 
 
7148
 
 
7149
 
 
7150
 
 
7151
 
 
7152
 
 
7153
 
 
7154
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
7155
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
7156
if test "${lt_cv_path_NM+set}" = set; then
 
7157
  $as_echo_n "(cached) " >&6
 
7158
else
 
7159
  if test -n "$NM"; then
 
7160
  # Let the user override the test.
 
7161
  lt_cv_path_NM="$NM"
 
7162
else
 
7163
  lt_nm_to_check="${ac_tool_prefix}nm"
 
7164
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
7165
    lt_nm_to_check="$lt_nm_to_check nm"
 
7166
  fi
 
7167
  for lt_tmp_nm in $lt_nm_to_check; do
 
7168
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7169
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
7170
      IFS="$lt_save_ifs"
 
7171
      test -z "$ac_dir" && ac_dir=.
 
7172
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
7173
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
7174
        # Check to see if the nm accepts a BSD-compat flag.
 
7175
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
7176
        #   nm: unknown option "B" ignored
 
7177
        # Tru64's nm complains that /dev/null is an invalid object file
 
7178
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
7179
        */dev/null* | *'Invalid file or object type'*)
 
7180
          lt_cv_path_NM="$tmp_nm -B"
 
7181
          break
 
7182
          ;;
 
7183
        *)
 
7184
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
7185
          */dev/null*)
 
7186
            lt_cv_path_NM="$tmp_nm -p"
 
7187
            break
 
7188
            ;;
 
7189
          *)
 
7190
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
7191
            continue # so that we can try to find one that supports BSD flags
 
7192
            ;;
 
7193
          esac
 
7194
          ;;
 
7195
        esac
 
7196
      fi
 
7197
    done
 
7198
    IFS="$lt_save_ifs"
 
7199
  done
 
7200
  : ${lt_cv_path_NM=no}
 
7201
fi
 
7202
fi
 
7203
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
7204
$as_echo "$lt_cv_path_NM" >&6; }
 
7205
if test "$lt_cv_path_NM" != "no"; then
 
7206
  NM="$lt_cv_path_NM"
 
7207
else
 
7208
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
7209
  if test -n "$ac_tool_prefix"; then
 
7210
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
7211
  do
 
7212
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
7213
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
7214
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7215
$as_echo_n "checking for $ac_word... " >&6; }
 
7216
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
7217
  $as_echo_n "(cached) " >&6
 
7218
else
 
7219
  if test -n "$DUMPBIN"; then
 
7220
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
7221
else
 
7222
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7223
for as_dir in $PATH
 
7224
do
 
7225
  IFS=$as_save_IFS
 
7226
  test -z "$as_dir" && as_dir=.
 
7227
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7228
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7229
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
7230
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7231
    break 2
 
7232
  fi
 
7233
done
 
7234
done
 
7235
IFS=$as_save_IFS
 
7236
 
 
7237
fi
 
7238
fi
 
7239
DUMPBIN=$ac_cv_prog_DUMPBIN
 
7240
if test -n "$DUMPBIN"; then
 
7241
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
7242
$as_echo "$DUMPBIN" >&6; }
 
7243
else
 
7244
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7245
$as_echo "no" >&6; }
 
7246
fi
 
7247
 
 
7248
 
 
7249
    test -n "$DUMPBIN" && break
 
7250
  done
 
7251
fi
 
7252
if test -z "$DUMPBIN"; then
 
7253
  ac_ct_DUMPBIN=$DUMPBIN
 
7254
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
7255
do
 
7256
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
7257
set dummy $ac_prog; ac_word=$2
 
7258
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7259
$as_echo_n "checking for $ac_word... " >&6; }
 
7260
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
7261
  $as_echo_n "(cached) " >&6
 
7262
else
 
7263
  if test -n "$ac_ct_DUMPBIN"; then
 
7264
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
7265
else
 
7266
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7267
for as_dir in $PATH
 
7268
do
 
7269
  IFS=$as_save_IFS
 
7270
  test -z "$as_dir" && as_dir=.
 
7271
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7272
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7273
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
7274
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7275
    break 2
 
7276
  fi
 
7277
done
 
7278
done
 
7279
IFS=$as_save_IFS
 
7280
 
 
7281
fi
 
7282
fi
 
7283
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
7284
if test -n "$ac_ct_DUMPBIN"; then
 
7285
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
7286
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
7287
else
 
7288
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7289
$as_echo "no" >&6; }
 
7290
fi
 
7291
 
 
7292
 
 
7293
  test -n "$ac_ct_DUMPBIN" && break
 
7294
done
 
7295
 
 
7296
  if test "x$ac_ct_DUMPBIN" = x; then
 
7297
    DUMPBIN=":"
 
7298
  else
 
7299
    case $cross_compiling:$ac_tool_warned in
 
7300
yes:)
 
7301
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7302
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7303
ac_tool_warned=yes ;;
 
7304
esac
 
7305
    DUMPBIN=$ac_ct_DUMPBIN
 
7306
  fi
 
7307
fi
 
7308
 
 
7309
 
 
7310
  if test "$DUMPBIN" != ":"; then
 
7311
    NM="$DUMPBIN"
 
7312
  fi
 
7313
fi
 
7314
test -z "$NM" && NM=nm
 
7315
 
 
7316
 
 
7317
 
 
7318
 
 
7319
 
 
7320
 
 
7321
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
7322
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
7323
if test "${lt_cv_nm_interface+set}" = set; then
 
7324
  $as_echo_n "(cached) " >&6
 
7325
else
 
7326
  lt_cv_nm_interface="BSD nm"
 
7327
  echo "int some_variable = 0;" > conftest.$ac_ext
 
7328
  (eval echo "\"\$as_me:7328: $ac_compile\"" >&5)
 
7329
  (eval "$ac_compile" 2>conftest.err)
 
7330
  cat conftest.err >&5
 
7331
  (eval echo "\"\$as_me:7331: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
7332
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
7333
  cat conftest.err >&5
 
7334
  (eval echo "\"\$as_me:7334: output\"" >&5)
 
7335
  cat conftest.out >&5
 
7336
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
7337
    lt_cv_nm_interface="MS dumpbin"
 
7338
  fi
 
7339
  rm -f conftest*
 
7340
fi
 
7341
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
7342
$as_echo "$lt_cv_nm_interface" >&6; }
 
7343
 
 
7344
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
7345
$as_echo_n "checking whether ln -s works... " >&6; }
 
7346
LN_S=$as_ln_s
 
7347
if test "$LN_S" = "ln -s"; then
 
7348
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
7349
$as_echo "yes" >&6; }
 
7350
else
 
7351
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
7352
$as_echo "no, using $LN_S" >&6; }
 
7353
fi
 
7354
 
 
7355
# find the maximum length of command line arguments
 
7356
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
7357
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
7358
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
7359
  $as_echo_n "(cached) " >&6
 
7360
else
 
7361
    i=0
 
7362
  teststring="ABCD"
 
7363
 
 
7364
  case $build_os in
 
7365
  msdosdjgpp*)
 
7366
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
7367
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
7368
    # during glob expansion).  Even if it were fixed, the result of this
 
7369
    # check would be larger than it should be.
 
7370
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
7371
    ;;
 
7372
 
 
7373
  gnu*)
 
7374
    # Under GNU Hurd, this test is not required because there is
 
7375
    # no limit to the length of command line arguments.
 
7376
    # Libtool will interpret -1 as no limit whatsoever
 
7377
    lt_cv_sys_max_cmd_len=-1;
 
7378
    ;;
 
7379
 
 
7380
  cygwin* | mingw* | cegcc*)
 
7381
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
7382
    # about 5 minutes as the teststring grows exponentially.
 
7383
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
7384
    # you end up with a "frozen" computer, even though with patience
 
7385
    # the test eventually succeeds (with a max line length of 256k).
 
7386
    # Instead, let's just punt: use the minimum linelength reported by
 
7387
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
7388
    lt_cv_sys_max_cmd_len=8192;
 
7389
    ;;
 
7390
 
 
7391
  amigaos*)
 
7392
    # On AmigaOS with pdksh, this test takes hours, literally.
 
7393
    # So we just punt and use a minimum line length of 8192.
 
7394
    lt_cv_sys_max_cmd_len=8192;
 
7395
    ;;
 
7396
 
 
7397
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
7398
    # This has been around since 386BSD, at least.  Likely further.
 
7399
    if test -x /sbin/sysctl; then
 
7400
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
7401
    elif test -x /usr/sbin/sysctl; then
 
7402
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
7403
    else
 
7404
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
7405
    fi
 
7406
    # And add a safety zone
 
7407
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
7408
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
7409
    ;;
 
7410
 
 
7411
  interix*)
 
7412
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
7413
    lt_cv_sys_max_cmd_len=196608
 
7414
    ;;
 
7415
 
 
7416
  osf*)
 
7417
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
7418
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
7419
    # nice to cause kernel panics so lets avoid the loop below.
 
7420
    # First set a reasonable default.
 
7421
    lt_cv_sys_max_cmd_len=16384
 
7422
    #
 
7423
    if test -x /sbin/sysconfig; then
 
7424
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
7425
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
7426
      esac
 
7427
    fi
 
7428
    ;;
 
7429
  sco3.2v5*)
 
7430
    lt_cv_sys_max_cmd_len=102400
 
7431
    ;;
 
7432
  sysv5* | sco5v6* | sysv4.2uw2*)
 
7433
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
7434
    if test -n "$kargmax"; then
 
7435
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
7436
    else
 
7437
      lt_cv_sys_max_cmd_len=32768
 
7438
    fi
 
7439
    ;;
 
7440
  *)
 
7441
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
7442
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
7443
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
7444
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
7445
    else
 
7446
      # Make teststring a little bigger before we do anything with it.
 
7447
      # a 1K string should be a reasonable start.
 
7448
      for i in 1 2 3 4 5 6 7 8 ; do
 
7449
        teststring=$teststring$teststring
 
7450
      done
 
7451
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
7452
      # If test is not a shell built-in, we'll probably end up computing a
 
7453
      # maximum length that is only half of the actual maximum length, but
 
7454
      # we can't tell.
 
7455
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
7456
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
7457
              test $i != 17 # 1/2 MB should be enough
 
7458
      do
 
7459
        i=`expr $i + 1`
 
7460
        teststring=$teststring$teststring
 
7461
      done
 
7462
      # Only check the string length outside the loop.
 
7463
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
7464
      teststring=
 
7465
      # Add a significant safety factor because C++ compilers can tack on
 
7466
      # massive amounts of additional arguments before passing them to the
 
7467
      # linker.  It appears as though 1/2 is a usable value.
 
7468
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
7469
    fi
 
7470
    ;;
 
7471
  esac
 
7472
 
 
7473
fi
 
7474
 
 
7475
if test -n $lt_cv_sys_max_cmd_len ; then
 
7476
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
7477
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
7478
else
 
7479
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
7480
$as_echo "none" >&6; }
 
7481
fi
 
7482
max_cmd_len=$lt_cv_sys_max_cmd_len
 
7483
 
 
7484
 
 
7485
 
 
7486
 
 
7487
 
 
7488
 
 
7489
: ${CP="cp -f"}
 
7490
: ${MV="mv -f"}
 
7491
: ${RM="rm -f"}
 
7492
 
 
7493
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
7494
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
7495
# Try some XSI features
 
7496
xsi_shell=no
 
7497
( _lt_dummy="a/b/c"
 
7498
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
7499
      = c,a/b,, \
 
7500
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
7501
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
7502
  && xsi_shell=yes
 
7503
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
7504
$as_echo "$xsi_shell" >&6; }
 
7505
 
 
7506
 
 
7507
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
7508
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
7509
lt_shell_append=no
 
7510
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
7511
    >/dev/null 2>&1 \
 
7512
  && lt_shell_append=yes
 
7513
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
7514
$as_echo "$lt_shell_append" >&6; }
 
7515
 
 
7516
 
 
7517
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
7518
  lt_unset=unset
 
7519
else
 
7520
  lt_unset=false
 
7521
fi
 
7522
 
 
7523
 
 
7524
 
 
7525
 
 
7526
 
 
7527
# test EBCDIC or ASCII
 
7528
case `echo X|tr X '\101'` in
 
7529
 A) # ASCII based system
 
7530
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
7531
  lt_SP2NL='tr \040 \012'
 
7532
  lt_NL2SP='tr \015\012 \040\040'
 
7533
  ;;
 
7534
 *) # EBCDIC based system
 
7535
  lt_SP2NL='tr \100 \n'
 
7536
  lt_NL2SP='tr \r\n \100\100'
 
7537
  ;;
 
7538
esac
 
7539
 
 
7540
 
 
7541
 
 
7542
 
 
7543
 
 
7544
 
 
7545
 
 
7546
 
 
7547
 
 
7548
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
7549
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
7550
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
7551
  $as_echo_n "(cached) " >&6
 
7552
else
 
7553
  lt_cv_ld_reload_flag='-r'
 
7554
fi
 
7555
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
7556
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
7557
reload_flag=$lt_cv_ld_reload_flag
 
7558
case $reload_flag in
 
7559
"" | " "*) ;;
 
7560
*) reload_flag=" $reload_flag" ;;
 
7561
esac
 
7562
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
7563
case $host_os in
 
7564
  darwin*)
 
7565
    if test "$GCC" = yes; then
 
7566
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
7567
    else
 
7568
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
7569
    fi
 
7570
    ;;
 
7571
esac
 
7572
 
 
7573
 
 
7574
 
 
7575
 
 
7576
 
 
7577
 
 
7578
 
 
7579
 
 
7580
 
 
7581
if test -n "$ac_tool_prefix"; then
 
7582
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
7583
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
7584
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7585
$as_echo_n "checking for $ac_word... " >&6; }
 
7586
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
7587
  $as_echo_n "(cached) " >&6
 
7588
else
 
7589
  if test -n "$OBJDUMP"; then
 
7590
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
7591
else
 
7592
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7593
for as_dir in $PATH
 
7594
do
 
7595
  IFS=$as_save_IFS
 
7596
  test -z "$as_dir" && as_dir=.
 
7597
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7598
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7599
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
7600
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7601
    break 2
 
7602
  fi
 
7603
done
 
7604
done
 
7605
IFS=$as_save_IFS
 
7606
 
 
7607
fi
 
7608
fi
 
7609
OBJDUMP=$ac_cv_prog_OBJDUMP
 
7610
if test -n "$OBJDUMP"; then
 
7611
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
7612
$as_echo "$OBJDUMP" >&6; }
 
7613
else
 
7614
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7615
$as_echo "no" >&6; }
 
7616
fi
 
7617
 
 
7618
 
 
7619
fi
 
7620
if test -z "$ac_cv_prog_OBJDUMP"; then
 
7621
  ac_ct_OBJDUMP=$OBJDUMP
 
7622
  # Extract the first word of "objdump", so it can be a program name with args.
 
7623
set dummy objdump; ac_word=$2
 
7624
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7625
$as_echo_n "checking for $ac_word... " >&6; }
 
7626
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
7627
  $as_echo_n "(cached) " >&6
 
7628
else
 
7629
  if test -n "$ac_ct_OBJDUMP"; then
 
7630
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
7631
else
 
7632
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7633
for as_dir in $PATH
 
7634
do
 
7635
  IFS=$as_save_IFS
 
7636
  test -z "$as_dir" && as_dir=.
 
7637
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7638
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7639
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
7640
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7641
    break 2
 
7642
  fi
 
7643
done
 
7644
done
 
7645
IFS=$as_save_IFS
 
7646
 
 
7647
fi
 
7648
fi
 
7649
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
7650
if test -n "$ac_ct_OBJDUMP"; then
 
7651
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
7652
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
7653
else
 
7654
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7655
$as_echo "no" >&6; }
 
7656
fi
 
7657
 
 
7658
  if test "x$ac_ct_OBJDUMP" = x; then
 
7659
    OBJDUMP="false"
 
7660
  else
 
7661
    case $cross_compiling:$ac_tool_warned in
 
7662
yes:)
 
7663
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7664
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7665
ac_tool_warned=yes ;;
 
7666
esac
 
7667
    OBJDUMP=$ac_ct_OBJDUMP
 
7668
  fi
 
7669
else
 
7670
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
7671
fi
 
7672
 
 
7673
test -z "$OBJDUMP" && OBJDUMP=objdump
 
7674
 
 
7675
 
 
7676
 
 
7677
 
 
7678
 
 
7679
 
 
7680
 
 
7681
 
 
7682
 
 
7683
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
7684
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
7685
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
7686
  $as_echo_n "(cached) " >&6
 
7687
else
 
7688
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
7689
lt_cv_file_magic_test_file=
 
7690
lt_cv_deplibs_check_method='unknown'
 
7691
# Need to set the preceding variable on all platforms that support
 
7692
# interlibrary dependencies.
 
7693
# 'none' -- dependencies not supported.
 
7694
# `unknown' -- same as none, but documents that we really don't know.
 
7695
# 'pass_all' -- all dependencies passed with no checks.
 
7696
# 'test_compile' -- check by making test program.
 
7697
# 'file_magic [[regex]]' -- check by looking for files in library path
 
7698
# which responds to the $file_magic_cmd with a given extended regex.
 
7699
# If you have `file' or equivalent on your system and you're not sure
 
7700
# whether `pass_all' will *always* work, you probably want this one.
 
7701
 
 
7702
case $host_os in
 
7703
aix[4-9]*)
 
7704
  lt_cv_deplibs_check_method=pass_all
 
7705
  ;;
 
7706
 
 
7707
beos*)
 
7708
  lt_cv_deplibs_check_method=pass_all
 
7709
  ;;
 
7710
 
 
7711
bsdi[45]*)
 
7712
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
7713
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
7714
  lt_cv_file_magic_test_file=/shlib/libc.so
 
7715
  ;;
 
7716
 
 
7717
cygwin*)
 
7718
  # func_win32_libid is a shell function defined in ltmain.sh
 
7719
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
7720
  lt_cv_file_magic_cmd='func_win32_libid'
 
7721
  ;;
 
7722
 
 
7723
mingw* | pw32*)
 
7724
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
7725
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
7726
  # unless we find 'file', for example because we are cross-compiling.
 
7727
  if ( file / ) >/dev/null 2>&1; then
 
7728
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
7729
    lt_cv_file_magic_cmd='func_win32_libid'
 
7730
  else
 
7731
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
7732
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
7733
  fi
 
7734
  ;;
 
7735
 
 
7736
cegcc)
 
7737
  # use the weaker test based on 'objdump'. See mingw*.
 
7738
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
7739
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
7740
  ;;
 
7741
 
 
7742
darwin* | rhapsody*)
 
7743
  lt_cv_deplibs_check_method=pass_all
 
7744
  ;;
 
7745
 
 
7746
freebsd* | dragonfly*)
 
7747
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
7748
    case $host_cpu in
 
7749
    i*86 )
 
7750
      # Not sure whether the presence of OpenBSD here was a mistake.
 
7751
      # Let's accept both of them until this is cleared up.
 
7752
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
7753
      lt_cv_file_magic_cmd=/usr/bin/file
 
7754
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
7755
      ;;
 
7756
    esac
 
7757
  else
 
7758
    lt_cv_deplibs_check_method=pass_all
 
7759
  fi
 
7760
  ;;
 
7761
 
 
7762
gnu*)
 
7763
  lt_cv_deplibs_check_method=pass_all
 
7764
  ;;
 
7765
 
 
7766
hpux10.20* | hpux11*)
 
7767
  lt_cv_file_magic_cmd=/usr/bin/file
 
7768
  case $host_cpu in
 
7769
  ia64*)
 
7770
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
7771
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
7772
    ;;
 
7773
  hppa*64*)
 
7774
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 
7775
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
7776
    ;;
 
7777
  *)
 
7778
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
7779
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
7780
    ;;
 
7781
  esac
 
7782
  ;;
 
7783
 
 
7784
interix[3-9]*)
 
7785
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
7786
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
7787
  ;;
 
7788
 
 
7789
irix5* | irix6* | nonstopux*)
 
7790
  case $LD in
 
7791
  *-32|*"-32 ") libmagic=32-bit;;
 
7792
  *-n32|*"-n32 ") libmagic=N32;;
 
7793
  *-64|*"-64 ") libmagic=64-bit;;
 
7794
  *) libmagic=never-match;;
 
7795
  esac
 
7796
  lt_cv_deplibs_check_method=pass_all
 
7797
  ;;
 
7798
 
 
7799
# This must be Linux ELF.
 
7800
linux* | k*bsd*-gnu)
 
7801
  lt_cv_deplibs_check_method=pass_all
 
7802
  ;;
 
7803
 
 
7804
netbsd* | netbsdelf*-gnu)
 
7805
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
7806
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
7807
  else
 
7808
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
7809
  fi
 
7810
  ;;
 
7811
 
 
7812
newos6*)
 
7813
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
7814
  lt_cv_file_magic_cmd=/usr/bin/file
 
7815
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
7816
  ;;
 
7817
 
 
7818
*nto* | *qnx*)
 
7819
  lt_cv_deplibs_check_method=pass_all
 
7820
  ;;
 
7821
 
 
7822
openbsd*)
 
7823
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
7824
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
7825
  else
 
7826
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
7827
  fi
 
7828
  ;;
 
7829
 
 
7830
osf3* | osf4* | osf5*)
 
7831
  lt_cv_deplibs_check_method=pass_all
 
7832
  ;;
 
7833
 
 
7834
rdos*)
 
7835
  lt_cv_deplibs_check_method=pass_all
 
7836
  ;;
 
7837
 
 
7838
solaris*)
 
7839
  lt_cv_deplibs_check_method=pass_all
 
7840
  ;;
 
7841
 
 
7842
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
7843
  lt_cv_deplibs_check_method=pass_all
 
7844
  ;;
 
7845
 
 
7846
sysv4 | sysv4.3*)
 
7847
  case $host_vendor in
 
7848
  motorola)
 
7849
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
 
7850
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
7851
    ;;
 
7852
  ncr)
 
7853
    lt_cv_deplibs_check_method=pass_all
 
7854
    ;;
 
7855
  sequent)
 
7856
    lt_cv_file_magic_cmd='/bin/file'
 
7857
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
7858
    ;;
 
7859
  sni)
 
7860
    lt_cv_file_magic_cmd='/bin/file'
 
7861
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
7862
    lt_cv_file_magic_test_file=/lib/libc.so
 
7863
    ;;
 
7864
  siemens)
 
7865
    lt_cv_deplibs_check_method=pass_all
 
7866
    ;;
 
7867
  pc)
 
7868
    lt_cv_deplibs_check_method=pass_all
 
7869
    ;;
 
7870
  esac
 
7871
  ;;
 
7872
 
 
7873
tpf*)
 
7874
  lt_cv_deplibs_check_method=pass_all
 
7875
  ;;
 
7876
esac
 
7877
 
 
7878
fi
 
7879
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
7880
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
7881
file_magic_cmd=$lt_cv_file_magic_cmd
 
7882
deplibs_check_method=$lt_cv_deplibs_check_method
 
7883
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
7884
 
 
7885
 
 
7886
 
 
7887
 
 
7888
 
 
7889
 
 
7890
 
 
7891
 
 
7892
 
 
7893
 
 
7894
 
 
7895
 
 
7896
if test -n "$ac_tool_prefix"; then
 
7897
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
7898
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
7899
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7900
$as_echo_n "checking for $ac_word... " >&6; }
 
7901
if test "${ac_cv_prog_AR+set}" = set; then
 
7902
  $as_echo_n "(cached) " >&6
 
7903
else
 
7904
  if test -n "$AR"; then
 
7905
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
7906
else
 
7907
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7908
for as_dir in $PATH
 
7909
do
 
7910
  IFS=$as_save_IFS
 
7911
  test -z "$as_dir" && as_dir=.
 
7912
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7913
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7914
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
7915
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7916
    break 2
 
7917
  fi
 
7918
done
 
7919
done
 
7920
IFS=$as_save_IFS
 
7921
 
 
7922
fi
 
7923
fi
 
7924
AR=$ac_cv_prog_AR
 
7925
if test -n "$AR"; then
 
7926
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
7927
$as_echo "$AR" >&6; }
 
7928
else
 
7929
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7930
$as_echo "no" >&6; }
 
7931
fi
 
7932
 
 
7933
 
 
7934
fi
 
7935
if test -z "$ac_cv_prog_AR"; then
 
7936
  ac_ct_AR=$AR
 
7937
  # Extract the first word of "ar", so it can be a program name with args.
 
7938
set dummy ar; ac_word=$2
 
7939
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7940
$as_echo_n "checking for $ac_word... " >&6; }
 
7941
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
7942
  $as_echo_n "(cached) " >&6
 
7943
else
 
7944
  if test -n "$ac_ct_AR"; then
 
7945
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
7946
else
 
7947
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7948
for as_dir in $PATH
 
7949
do
 
7950
  IFS=$as_save_IFS
 
7951
  test -z "$as_dir" && as_dir=.
 
7952
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7953
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7954
    ac_cv_prog_ac_ct_AR="ar"
 
7955
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7956
    break 2
 
7957
  fi
 
7958
done
 
7959
done
 
7960
IFS=$as_save_IFS
 
7961
 
 
7962
fi
 
7963
fi
 
7964
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
7965
if test -n "$ac_ct_AR"; then
 
7966
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
7967
$as_echo "$ac_ct_AR" >&6; }
 
7968
else
 
7969
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7970
$as_echo "no" >&6; }
 
7971
fi
 
7972
 
 
7973
  if test "x$ac_ct_AR" = x; then
 
7974
    AR="false"
 
7975
  else
 
7976
    case $cross_compiling:$ac_tool_warned in
 
7977
yes:)
 
7978
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7979
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7980
ac_tool_warned=yes ;;
 
7981
esac
 
7982
    AR=$ac_ct_AR
 
7983
  fi
 
7984
else
 
7985
  AR="$ac_cv_prog_AR"
 
7986
fi
 
7987
 
 
7988
test -z "$AR" && AR=ar
 
7989
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
7990
 
 
7991
 
 
7992
 
 
7993
 
 
7994
 
 
7995
 
 
7996
 
 
7997
 
 
7998
 
 
7999
 
 
8000
 
 
8001
if test -n "$ac_tool_prefix"; then
 
8002
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
8003
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
8004
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8005
$as_echo_n "checking for $ac_word... " >&6; }
 
8006
if test "${ac_cv_prog_STRIP+set}" = set; then
 
8007
  $as_echo_n "(cached) " >&6
 
8008
else
 
8009
  if test -n "$STRIP"; then
 
8010
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
8011
else
 
8012
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8013
for as_dir in $PATH
 
8014
do
 
8015
  IFS=$as_save_IFS
 
8016
  test -z "$as_dir" && as_dir=.
 
8017
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8018
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8019
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
8020
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8021
    break 2
 
8022
  fi
 
8023
done
 
8024
done
 
8025
IFS=$as_save_IFS
 
8026
 
 
8027
fi
 
8028
fi
 
8029
STRIP=$ac_cv_prog_STRIP
 
8030
if test -n "$STRIP"; then
 
8031
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
8032
$as_echo "$STRIP" >&6; }
 
8033
else
 
8034
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8035
$as_echo "no" >&6; }
 
8036
fi
 
8037
 
 
8038
 
 
8039
fi
 
8040
if test -z "$ac_cv_prog_STRIP"; then
 
8041
  ac_ct_STRIP=$STRIP
 
8042
  # Extract the first word of "strip", so it can be a program name with args.
 
8043
set dummy strip; ac_word=$2
 
8044
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8045
$as_echo_n "checking for $ac_word... " >&6; }
 
8046
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
8047
  $as_echo_n "(cached) " >&6
 
8048
else
 
8049
  if test -n "$ac_ct_STRIP"; then
 
8050
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
8051
else
 
8052
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8053
for as_dir in $PATH
 
8054
do
 
8055
  IFS=$as_save_IFS
 
8056
  test -z "$as_dir" && as_dir=.
 
8057
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8058
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8059
    ac_cv_prog_ac_ct_STRIP="strip"
 
8060
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8061
    break 2
 
8062
  fi
 
8063
done
 
8064
done
 
8065
IFS=$as_save_IFS
 
8066
 
 
8067
fi
 
8068
fi
 
8069
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
8070
if test -n "$ac_ct_STRIP"; then
 
8071
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
8072
$as_echo "$ac_ct_STRIP" >&6; }
 
8073
else
 
8074
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8075
$as_echo "no" >&6; }
 
8076
fi
 
8077
 
 
8078
  if test "x$ac_ct_STRIP" = x; then
 
8079
    STRIP=":"
 
8080
  else
 
8081
    case $cross_compiling:$ac_tool_warned in
 
8082
yes:)
 
8083
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8084
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8085
ac_tool_warned=yes ;;
 
8086
esac
 
8087
    STRIP=$ac_ct_STRIP
 
8088
  fi
 
8089
else
 
8090
  STRIP="$ac_cv_prog_STRIP"
 
8091
fi
 
8092
 
 
8093
test -z "$STRIP" && STRIP=:
 
8094
 
 
8095
 
 
8096
 
 
8097
 
 
8098
 
 
8099
 
 
8100
if test -n "$ac_tool_prefix"; then
 
8101
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
8102
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
8103
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8104
$as_echo_n "checking for $ac_word... " >&6; }
 
8105
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
8106
  $as_echo_n "(cached) " >&6
 
8107
else
 
8108
  if test -n "$RANLIB"; then
 
8109
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
8110
else
 
8111
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8112
for as_dir in $PATH
 
8113
do
 
8114
  IFS=$as_save_IFS
 
8115
  test -z "$as_dir" && as_dir=.
 
8116
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8117
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8118
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
8119
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8120
    break 2
 
8121
  fi
 
8122
done
 
8123
done
 
8124
IFS=$as_save_IFS
 
8125
 
 
8126
fi
 
8127
fi
 
8128
RANLIB=$ac_cv_prog_RANLIB
 
8129
if test -n "$RANLIB"; then
 
8130
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
8131
$as_echo "$RANLIB" >&6; }
 
8132
else
 
8133
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8134
$as_echo "no" >&6; }
 
8135
fi
 
8136
 
 
8137
 
 
8138
fi
 
8139
if test -z "$ac_cv_prog_RANLIB"; then
 
8140
  ac_ct_RANLIB=$RANLIB
 
8141
  # Extract the first word of "ranlib", so it can be a program name with args.
 
8142
set dummy ranlib; ac_word=$2
 
8143
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8144
$as_echo_n "checking for $ac_word... " >&6; }
 
8145
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
8146
  $as_echo_n "(cached) " >&6
 
8147
else
 
8148
  if test -n "$ac_ct_RANLIB"; then
 
8149
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
8150
else
 
8151
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8152
for as_dir in $PATH
 
8153
do
 
8154
  IFS=$as_save_IFS
 
8155
  test -z "$as_dir" && as_dir=.
 
8156
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8157
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8158
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
8159
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8160
    break 2
 
8161
  fi
 
8162
done
 
8163
done
 
8164
IFS=$as_save_IFS
 
8165
 
 
8166
fi
 
8167
fi
 
8168
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
8169
if test -n "$ac_ct_RANLIB"; then
 
8170
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
8171
$as_echo "$ac_ct_RANLIB" >&6; }
 
8172
else
 
8173
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8174
$as_echo "no" >&6; }
 
8175
fi
 
8176
 
 
8177
  if test "x$ac_ct_RANLIB" = x; then
 
8178
    RANLIB=":"
 
8179
  else
 
8180
    case $cross_compiling:$ac_tool_warned in
 
8181
yes:)
 
8182
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8183
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8184
ac_tool_warned=yes ;;
 
8185
esac
 
8186
    RANLIB=$ac_ct_RANLIB
 
8187
  fi
 
8188
else
 
8189
  RANLIB="$ac_cv_prog_RANLIB"
 
8190
fi
 
8191
 
 
8192
test -z "$RANLIB" && RANLIB=:
 
8193
 
 
8194
 
 
8195
 
 
8196
 
 
8197
 
 
8198
 
 
8199
# Determine commands to create old-style static archives.
 
8200
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
8201
old_postinstall_cmds='chmod 644 $oldlib'
 
8202
old_postuninstall_cmds=
 
8203
 
 
8204
if test -n "$RANLIB"; then
 
8205
  case $host_os in
 
8206
  openbsd*)
 
8207
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
8208
    ;;
 
8209
  *)
 
8210
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
8211
    ;;
 
8212
  esac
 
8213
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
8214
fi
 
8215
 
 
8216
 
 
8217
 
 
8218
 
 
8219
 
 
8220
 
 
8221
 
 
8222
 
 
8223
 
 
8224
 
 
8225
 
 
8226
 
 
8227
 
 
8228
 
 
8229
 
 
8230
 
 
8231
 
 
8232
 
 
8233
 
 
8234
 
 
8235
 
 
8236
 
 
8237
 
 
8238
 
 
8239
 
 
8240
 
 
8241
 
 
8242
 
 
8243
 
 
8244
 
 
8245
 
 
8246
 
 
8247
 
 
8248
 
 
8249
# If no C compiler was specified, use CC.
 
8250
LTCC=${LTCC-"$CC"}
 
8251
 
 
8252
# If no C compiler flags were specified, use CFLAGS.
 
8253
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
8254
 
 
8255
# Allow CC to be a program name with arguments.
 
8256
compiler=$CC
 
8257
 
 
8258
 
 
8259
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
8260
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
8261
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
8262
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
8263
  $as_echo_n "(cached) " >&6
 
8264
else
 
8265
 
 
8266
# These are sane defaults that work on at least a few old systems.
 
8267
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
8268
 
 
8269
# Character class describing NM global symbol codes.
 
8270
symcode='[BCDEGRST]'
 
8271
 
 
8272
# Regexp to match symbols that can be accessed directly from C.
 
8273
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
8274
 
 
8275
# Define system-specific variables.
 
8276
case $host_os in
 
8277
aix*)
 
8278
  symcode='[BCDT]'
 
8279
  ;;
 
8280
cygwin* | mingw* | pw32* | cegcc*)
 
8281
  symcode='[ABCDGISTW]'
 
8282
  ;;
 
8283
hpux*)
 
8284
  if test "$host_cpu" = ia64; then
 
8285
    symcode='[ABCDEGRST]'
 
8286
  fi
 
8287
  ;;
 
8288
irix* | nonstopux*)
 
8289
  symcode='[BCDEGRST]'
 
8290
  ;;
 
8291
osf*)
 
8292
  symcode='[BCDEGQRST]'
 
8293
  ;;
 
8294
solaris*)
 
8295
  symcode='[BDRT]'
 
8296
  ;;
 
8297
sco3.2v5*)
 
8298
  symcode='[DT]'
 
8299
  ;;
 
8300
sysv4.2uw2*)
 
8301
  symcode='[DT]'
 
8302
  ;;
 
8303
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
8304
  symcode='[ABDT]'
 
8305
  ;;
 
8306
sysv4)
 
8307
  symcode='[DFNSTU]'
 
8308
  ;;
 
8309
esac
 
8310
 
 
8311
# If we're using GNU nm, then use its standard symbol codes.
 
8312
case `$NM -V 2>&1` in
 
8313
*GNU* | *'with BFD'*)
 
8314
  symcode='[ABCDGIRSTW]' ;;
 
8315
esac
 
8316
 
 
8317
# Transform an extracted symbol line into a proper C declaration.
 
8318
# Some systems (esp. on ia64) link data and code symbols differently,
 
8319
# so use this general approach.
 
8320
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
8321
 
 
8322
# Transform an extracted symbol line into symbol name and symbol address
 
8323
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
8324
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
8325
 
 
8326
# Handle CRLF in mingw tool chain
 
8327
opt_cr=
 
8328
case $build_os in
 
8329
mingw*)
 
8330
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
8331
  ;;
 
8332
esac
 
8333
 
 
8334
# Try without a prefix underscore, then with it.
 
8335
for ac_symprfx in "" "_"; do
 
8336
 
 
8337
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
8338
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
8339
 
 
8340
  # Write the raw and C identifiers.
 
8341
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
8342
    # Fake it for dumpbin and say T for any non-static function
 
8343
    # and D for any global variable.
 
8344
    # Also find C++ and __fastcall symbols from MSVC++,
 
8345
    # which start with @ or ?.
 
8346
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
8347
"     {last_section=section; section=\$ 3};"\
 
8348
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
8349
"     \$ 0!~/External *\|/{next};"\
 
8350
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
8351
"     {if(hide[section]) next};"\
 
8352
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
8353
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
8354
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
8355
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
8356
"     ' prfx=^$ac_symprfx"
 
8357
  else
 
8358
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
8359
  fi
 
8360
 
 
8361
  # Check to see that the pipe works correctly.
 
8362
  pipe_works=no
 
8363
 
 
8364
  rm -f conftest*
 
8365
  cat > conftest.$ac_ext <<_LT_EOF
 
8366
#ifdef __cplusplus
 
8367
extern "C" {
 
8368
#endif
 
8369
char nm_test_var;
 
8370
void nm_test_func(void);
 
8371
void nm_test_func(void){}
 
8372
#ifdef __cplusplus
 
8373
}
 
8374
#endif
 
8375
int main(){nm_test_var='a';nm_test_func();return(0);}
 
8376
_LT_EOF
 
8377
 
 
8378
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
8379
  (eval $ac_compile) 2>&5
 
8380
  ac_status=$?
 
8381
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8382
  (exit $ac_status); }; then
 
8383
    # Now try to grab the symbols.
 
8384
    nlist=conftest.nm
 
8385
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
8386
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
8387
  ac_status=$?
 
8388
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8389
  (exit $ac_status); } && test -s "$nlist"; then
 
8390
      # Try sorting and uniquifying the output.
 
8391
      if sort "$nlist" | uniq > "$nlist"T; then
 
8392
        mv -f "$nlist"T "$nlist"
 
8393
      else
 
8394
        rm -f "$nlist"T
 
8395
      fi
 
8396
 
 
8397
      # Make sure that we snagged all the symbols we need.
 
8398
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
8399
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
8400
          cat <<_LT_EOF > conftest.$ac_ext
 
8401
#ifdef __cplusplus
 
8402
extern "C" {
 
8403
#endif
 
8404
 
 
8405
_LT_EOF
 
8406
          # Now generate the symbol file.
 
8407
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
8408
 
 
8409
          cat <<_LT_EOF >> conftest.$ac_ext
 
8410
 
 
8411
/* The mapping between symbol names and symbols.  */
 
8412
const struct {
 
8413
  const char *name;
 
8414
  void       *address;
 
8415
}
 
8416
lt__PROGRAM__LTX_preloaded_symbols[] =
 
8417
{
 
8418
  { "@PROGRAM@", (void *) 0 },
 
8419
_LT_EOF
 
8420
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
8421
          cat <<\_LT_EOF >> conftest.$ac_ext
 
8422
  {0, (void *) 0}
 
8423
};
 
8424
 
 
8425
/* This works around a problem in FreeBSD linker */
 
8426
#ifdef FREEBSD_WORKAROUND
 
8427
static const void *lt_preloaded_setup() {
 
8428
  return lt__PROGRAM__LTX_preloaded_symbols;
 
8429
}
 
8430
#endif
 
8431
 
 
8432
#ifdef __cplusplus
 
8433
}
 
8434
#endif
 
8435
_LT_EOF
 
8436
          # Now try linking the two files.
 
8437
          mv conftest.$ac_objext conftstm.$ac_objext
 
8438
          lt_save_LIBS="$LIBS"
 
8439
          lt_save_CFLAGS="$CFLAGS"
 
8440
          LIBS="conftstm.$ac_objext"
 
8441
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
8442
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
8443
  (eval $ac_link) 2>&5
 
8444
  ac_status=$?
 
8445
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8446
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
8447
            pipe_works=yes
 
8448
          fi
 
8449
          LIBS="$lt_save_LIBS"
 
8450
          CFLAGS="$lt_save_CFLAGS"
 
8451
        else
 
8452
          echo "cannot find nm_test_func in $nlist" >&5
 
8453
        fi
 
8454
      else
 
8455
        echo "cannot find nm_test_var in $nlist" >&5
 
8456
      fi
 
8457
    else
 
8458
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
8459
    fi
 
8460
  else
 
8461
    echo "$progname: failed program was:" >&5
 
8462
    cat conftest.$ac_ext >&5
 
8463
  fi
 
8464
  rm -rf conftest* conftst*
 
8465
 
 
8466
  # Do not use the global_symbol_pipe unless it works.
 
8467
  if test "$pipe_works" = yes; then
 
8468
    break
 
8469
  else
 
8470
    lt_cv_sys_global_symbol_pipe=
 
8471
  fi
 
8472
done
 
8473
 
 
8474
fi
 
8475
 
 
8476
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
8477
  lt_cv_sys_global_symbol_to_cdecl=
 
8478
fi
 
8479
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
8480
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
8481
$as_echo "failed" >&6; }
 
8482
else
 
8483
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
8484
$as_echo "ok" >&6; }
 
8485
fi
 
8486
 
 
8487
 
 
8488
 
 
8489
 
 
8490
 
 
8491
 
 
8492
 
 
8493
 
 
8494
 
 
8495
 
 
8496
 
 
8497
 
 
8498
 
 
8499
 
 
8500
 
 
8501
 
 
8502
 
 
8503
 
 
8504
 
 
8505
 
 
8506
 
 
8507
 
 
8508
# Check whether --enable-libtool-lock was given.
 
8509
if test "${enable_libtool_lock+set}" = set; then
 
8510
  enableval=$enable_libtool_lock;
 
8511
fi
 
8512
 
 
8513
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
8514
 
 
8515
# Some flags need to be propagated to the compiler or linker for good
 
8516
# libtool support.
 
8517
case $host in
 
8518
ia64-*-hpux*)
 
8519
  # Find out which ABI we are using.
 
8520
  echo 'int i;' > conftest.$ac_ext
 
8521
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
8522
  (eval $ac_compile) 2>&5
 
8523
  ac_status=$?
 
8524
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8525
  (exit $ac_status); }; then
 
8526
    case `/usr/bin/file conftest.$ac_objext` in
 
8527
      *ELF-32*)
 
8528
        HPUX_IA64_MODE="32"
 
8529
        ;;
 
8530
      *ELF-64*)
 
8531
        HPUX_IA64_MODE="64"
 
8532
        ;;
 
8533
    esac
 
8534
  fi
 
8535
  rm -rf conftest*
 
8536
  ;;
 
8537
*-*-irix6*)
 
8538
  # Find out which ABI we are using.
 
8539
  echo '#line 8539 "configure"' > conftest.$ac_ext
 
8540
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
8541
  (eval $ac_compile) 2>&5
 
8542
  ac_status=$?
 
8543
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8544
  (exit $ac_status); }; then
 
8545
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
8546
      case `/usr/bin/file conftest.$ac_objext` in
 
8547
        *32-bit*)
 
8548
          LD="${LD-ld} -melf32bsmip"
 
8549
          ;;
 
8550
        *N32*)
 
8551
          LD="${LD-ld} -melf32bmipn32"
 
8552
          ;;
 
8553
        *64-bit*)
 
8554
          LD="${LD-ld} -melf64bmip"
 
8555
        ;;
 
8556
      esac
 
8557
    else
 
8558
      case `/usr/bin/file conftest.$ac_objext` in
 
8559
        *32-bit*)
 
8560
          LD="${LD-ld} -32"
 
8561
          ;;
 
8562
        *N32*)
 
8563
          LD="${LD-ld} -n32"
 
8564
          ;;
 
8565
        *64-bit*)
 
8566
          LD="${LD-ld} -64"
 
8567
          ;;
 
8568
      esac
 
8569
    fi
 
8570
  fi
 
8571
  rm -rf conftest*
 
8572
  ;;
 
8573
 
 
8574
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
8575
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
8576
  # Find out which ABI we are using.
 
8577
  echo 'int i;' > conftest.$ac_ext
 
8578
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
8579
  (eval $ac_compile) 2>&5
 
8580
  ac_status=$?
 
8581
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8582
  (exit $ac_status); }; then
 
8583
    case `/usr/bin/file conftest.o` in
 
8584
      *32-bit*)
 
8585
        case $host in
 
8586
          x86_64-*kfreebsd*-gnu)
 
8587
            LD="${LD-ld} -m elf_i386_fbsd"
 
8588
            ;;
 
8589
          x86_64-*linux*)
 
8590
            LD="${LD-ld} -m elf_i386"
 
8591
            ;;
 
8592
          ppc64-*linux*|powerpc64-*linux*)
 
8593
            LD="${LD-ld} -m elf32ppclinux"
 
8594
            ;;
 
8595
          s390x-*linux*)
 
8596
            LD="${LD-ld} -m elf_s390"
 
8597
            ;;
 
8598
          sparc64-*linux*)
 
8599
            LD="${LD-ld} -m elf32_sparc"
 
8600
            ;;
 
8601
        esac
 
8602
        ;;
 
8603
      *64-bit*)
 
8604
        case $host in
 
8605
          x86_64-*kfreebsd*-gnu)
 
8606
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
8607
            ;;
 
8608
          x86_64-*linux*)
 
8609
            LD="${LD-ld} -m elf_x86_64"
 
8610
            ;;
 
8611
          ppc*-*linux*|powerpc*-*linux*)
 
8612
            LD="${LD-ld} -m elf64ppc"
 
8613
            ;;
 
8614
          s390*-*linux*|s390*-*tpf*)
 
8615
            LD="${LD-ld} -m elf64_s390"
 
8616
            ;;
 
8617
          sparc*-*linux*)
 
8618
            LD="${LD-ld} -m elf64_sparc"
 
8619
            ;;
 
8620
        esac
 
8621
        ;;
 
8622
    esac
 
8623
  fi
 
8624
  rm -rf conftest*
 
8625
  ;;
 
8626
 
 
8627
*-*-sco3.2v5*)
 
8628
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
8629
  SAVE_CFLAGS="$CFLAGS"
 
8630
  CFLAGS="$CFLAGS -belf"
 
8631
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
8632
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
8633
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
8634
  $as_echo_n "(cached) " >&6
 
8635
else
 
8636
  ac_ext=c
 
8637
ac_cpp='$CPP $CPPFLAGS'
 
8638
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8639
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8640
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8641
 
 
8642
     cat >conftest.$ac_ext <<_ACEOF
 
8643
/* confdefs.h.  */
 
8644
_ACEOF
 
8645
cat confdefs.h >>conftest.$ac_ext
 
8646
cat >>conftest.$ac_ext <<_ACEOF
 
8647
/* end confdefs.h.  */
 
8648
 
 
8649
int
 
8650
main ()
 
8651
{
 
8652
 
 
8653
  ;
 
8654
  return 0;
 
8655
}
 
8656
_ACEOF
 
8657
rm -f conftest.$ac_objext conftest$ac_exeext
 
8658
if { (ac_try="$ac_link"
 
8659
case "(($ac_try" in
 
8660
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8661
  *) ac_try_echo=$ac_try;;
 
8662
esac
 
8663
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8664
$as_echo "$ac_try_echo") >&5
 
8665
  (eval "$ac_link") 2>conftest.er1
 
8666
  ac_status=$?
 
8667
  grep -v '^ *+' conftest.er1 >conftest.err
 
8668
  rm -f conftest.er1
 
8669
  cat conftest.err >&5
 
8670
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8671
  (exit $ac_status); } && {
 
8672
         test -z "$ac_c_werror_flag" ||
 
8673
         test ! -s conftest.err
 
8674
       } && test -s conftest$ac_exeext && {
 
8675
         test "$cross_compiling" = yes ||
 
8676
         $as_test_x conftest$ac_exeext
 
8677
       }; then
 
8678
  lt_cv_cc_needs_belf=yes
 
8679
else
 
8680
  $as_echo "$as_me: failed program was:" >&5
 
8681
sed 's/^/| /' conftest.$ac_ext >&5
 
8682
 
 
8683
        lt_cv_cc_needs_belf=no
 
8684
fi
 
8685
 
 
8686
rm -rf conftest.dSYM
 
8687
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8688
      conftest$ac_exeext conftest.$ac_ext
 
8689
     ac_ext=c
 
8690
ac_cpp='$CPP $CPPFLAGS'
 
8691
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8692
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8693
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8694
 
 
8695
fi
 
8696
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
8697
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
8698
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
8699
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
8700
    CFLAGS="$SAVE_CFLAGS"
 
8701
  fi
 
8702
  ;;
 
8703
sparc*-*solaris*)
 
8704
  # Find out which ABI we are using.
 
8705
  echo 'int i;' > conftest.$ac_ext
 
8706
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
8707
  (eval $ac_compile) 2>&5
 
8708
  ac_status=$?
 
8709
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8710
  (exit $ac_status); }; then
 
8711
    case `/usr/bin/file conftest.o` in
 
8712
    *64-bit*)
 
8713
      case $lt_cv_prog_gnu_ld in
 
8714
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
8715
      *)
 
8716
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
8717
          LD="${LD-ld} -64"
 
8718
        fi
 
8719
        ;;
 
8720
      esac
 
8721
      ;;
 
8722
    esac
 
8723
  fi
 
8724
  rm -rf conftest*
 
8725
  ;;
 
8726
esac
 
8727
 
 
8728
need_locks="$enable_libtool_lock"
 
8729
 
 
8730
 
 
8731
  case $host_os in
 
8732
    rhapsody* | darwin*)
 
8733
    if test -n "$ac_tool_prefix"; then
 
8734
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
8735
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
8736
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8737
$as_echo_n "checking for $ac_word... " >&6; }
 
8738
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
8739
  $as_echo_n "(cached) " >&6
 
8740
else
 
8741
  if test -n "$DSYMUTIL"; then
 
8742
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
8743
else
 
8744
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8745
for as_dir in $PATH
 
8746
do
 
8747
  IFS=$as_save_IFS
 
8748
  test -z "$as_dir" && as_dir=.
 
8749
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8750
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8751
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
8752
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8753
    break 2
 
8754
  fi
 
8755
done
 
8756
done
 
8757
IFS=$as_save_IFS
 
8758
 
 
8759
fi
 
8760
fi
 
8761
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
8762
if test -n "$DSYMUTIL"; then
 
8763
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
8764
$as_echo "$DSYMUTIL" >&6; }
 
8765
else
 
8766
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8767
$as_echo "no" >&6; }
 
8768
fi
 
8769
 
 
8770
 
 
8771
fi
 
8772
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
8773
  ac_ct_DSYMUTIL=$DSYMUTIL
 
8774
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
8775
set dummy dsymutil; ac_word=$2
 
8776
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8777
$as_echo_n "checking for $ac_word... " >&6; }
 
8778
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
8779
  $as_echo_n "(cached) " >&6
 
8780
else
 
8781
  if test -n "$ac_ct_DSYMUTIL"; then
 
8782
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
8783
else
 
8784
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8785
for as_dir in $PATH
 
8786
do
 
8787
  IFS=$as_save_IFS
 
8788
  test -z "$as_dir" && as_dir=.
 
8789
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8790
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8791
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
8792
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8793
    break 2
 
8794
  fi
 
8795
done
 
8796
done
 
8797
IFS=$as_save_IFS
 
8798
 
 
8799
fi
 
8800
fi
 
8801
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
8802
if test -n "$ac_ct_DSYMUTIL"; then
 
8803
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
8804
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
8805
else
 
8806
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8807
$as_echo "no" >&6; }
 
8808
fi
 
8809
 
 
8810
  if test "x$ac_ct_DSYMUTIL" = x; then
 
8811
    DSYMUTIL=":"
 
8812
  else
 
8813
    case $cross_compiling:$ac_tool_warned in
 
8814
yes:)
 
8815
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8816
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8817
ac_tool_warned=yes ;;
 
8818
esac
 
8819
    DSYMUTIL=$ac_ct_DSYMUTIL
 
8820
  fi
 
8821
else
 
8822
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
8823
fi
 
8824
 
 
8825
    if test -n "$ac_tool_prefix"; then
 
8826
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
8827
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
8828
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8829
$as_echo_n "checking for $ac_word... " >&6; }
 
8830
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
8831
  $as_echo_n "(cached) " >&6
 
8832
else
 
8833
  if test -n "$NMEDIT"; then
 
8834
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
8835
else
 
8836
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8837
for as_dir in $PATH
 
8838
do
 
8839
  IFS=$as_save_IFS
 
8840
  test -z "$as_dir" && as_dir=.
 
8841
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8842
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8843
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
8844
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8845
    break 2
 
8846
  fi
 
8847
done
 
8848
done
 
8849
IFS=$as_save_IFS
 
8850
 
 
8851
fi
 
8852
fi
 
8853
NMEDIT=$ac_cv_prog_NMEDIT
 
8854
if test -n "$NMEDIT"; then
 
8855
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
8856
$as_echo "$NMEDIT" >&6; }
 
8857
else
 
8858
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8859
$as_echo "no" >&6; }
 
8860
fi
 
8861
 
 
8862
 
 
8863
fi
 
8864
if test -z "$ac_cv_prog_NMEDIT"; then
 
8865
  ac_ct_NMEDIT=$NMEDIT
 
8866
  # Extract the first word of "nmedit", so it can be a program name with args.
 
8867
set dummy nmedit; ac_word=$2
 
8868
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8869
$as_echo_n "checking for $ac_word... " >&6; }
 
8870
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
8871
  $as_echo_n "(cached) " >&6
 
8872
else
 
8873
  if test -n "$ac_ct_NMEDIT"; then
 
8874
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
8875
else
 
8876
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8877
for as_dir in $PATH
 
8878
do
 
8879
  IFS=$as_save_IFS
 
8880
  test -z "$as_dir" && as_dir=.
 
8881
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8882
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8883
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
8884
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8885
    break 2
 
8886
  fi
 
8887
done
 
8888
done
 
8889
IFS=$as_save_IFS
 
8890
 
 
8891
fi
 
8892
fi
 
8893
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
8894
if test -n "$ac_ct_NMEDIT"; then
 
8895
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
8896
$as_echo "$ac_ct_NMEDIT" >&6; }
 
8897
else
 
8898
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8899
$as_echo "no" >&6; }
 
8900
fi
 
8901
 
 
8902
  if test "x$ac_ct_NMEDIT" = x; then
 
8903
    NMEDIT=":"
 
8904
  else
 
8905
    case $cross_compiling:$ac_tool_warned in
 
8906
yes:)
 
8907
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8908
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8909
ac_tool_warned=yes ;;
 
8910
esac
 
8911
    NMEDIT=$ac_ct_NMEDIT
 
8912
  fi
 
8913
else
 
8914
  NMEDIT="$ac_cv_prog_NMEDIT"
 
8915
fi
 
8916
 
 
8917
    if test -n "$ac_tool_prefix"; then
 
8918
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
8919
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
8920
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8921
$as_echo_n "checking for $ac_word... " >&6; }
 
8922
if test "${ac_cv_prog_LIPO+set}" = set; then
 
8923
  $as_echo_n "(cached) " >&6
 
8924
else
 
8925
  if test -n "$LIPO"; then
 
8926
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
8927
else
 
8928
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8929
for as_dir in $PATH
 
8930
do
 
8931
  IFS=$as_save_IFS
 
8932
  test -z "$as_dir" && as_dir=.
 
8933
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8934
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8935
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
8936
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8937
    break 2
 
8938
  fi
 
8939
done
 
8940
done
 
8941
IFS=$as_save_IFS
 
8942
 
 
8943
fi
 
8944
fi
 
8945
LIPO=$ac_cv_prog_LIPO
 
8946
if test -n "$LIPO"; then
 
8947
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
8948
$as_echo "$LIPO" >&6; }
 
8949
else
 
8950
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8951
$as_echo "no" >&6; }
 
8952
fi
 
8953
 
 
8954
 
 
8955
fi
 
8956
if test -z "$ac_cv_prog_LIPO"; then
 
8957
  ac_ct_LIPO=$LIPO
 
8958
  # Extract the first word of "lipo", so it can be a program name with args.
 
8959
set dummy lipo; ac_word=$2
 
8960
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8961
$as_echo_n "checking for $ac_word... " >&6; }
 
8962
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
8963
  $as_echo_n "(cached) " >&6
 
8964
else
 
8965
  if test -n "$ac_ct_LIPO"; then
 
8966
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
8967
else
 
8968
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8969
for as_dir in $PATH
 
8970
do
 
8971
  IFS=$as_save_IFS
 
8972
  test -z "$as_dir" && as_dir=.
 
8973
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8974
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8975
    ac_cv_prog_ac_ct_LIPO="lipo"
 
8976
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8977
    break 2
 
8978
  fi
 
8979
done
 
8980
done
 
8981
IFS=$as_save_IFS
 
8982
 
 
8983
fi
 
8984
fi
 
8985
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
8986
if test -n "$ac_ct_LIPO"; then
 
8987
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
8988
$as_echo "$ac_ct_LIPO" >&6; }
 
8989
else
 
8990
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8991
$as_echo "no" >&6; }
 
8992
fi
 
8993
 
 
8994
  if test "x$ac_ct_LIPO" = x; then
 
8995
    LIPO=":"
 
8996
  else
 
8997
    case $cross_compiling:$ac_tool_warned in
 
8998
yes:)
 
8999
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9000
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9001
ac_tool_warned=yes ;;
 
9002
esac
 
9003
    LIPO=$ac_ct_LIPO
 
9004
  fi
 
9005
else
 
9006
  LIPO="$ac_cv_prog_LIPO"
 
9007
fi
 
9008
 
 
9009
    if test -n "$ac_tool_prefix"; then
 
9010
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
9011
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
9012
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9013
$as_echo_n "checking for $ac_word... " >&6; }
 
9014
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
9015
  $as_echo_n "(cached) " >&6
 
9016
else
 
9017
  if test -n "$OTOOL"; then
 
9018
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
9019
else
 
9020
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9021
for as_dir in $PATH
 
9022
do
 
9023
  IFS=$as_save_IFS
 
9024
  test -z "$as_dir" && as_dir=.
 
9025
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9026
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9027
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
9028
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9029
    break 2
 
9030
  fi
 
9031
done
 
9032
done
 
9033
IFS=$as_save_IFS
 
9034
 
 
9035
fi
 
9036
fi
 
9037
OTOOL=$ac_cv_prog_OTOOL
 
9038
if test -n "$OTOOL"; then
 
9039
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
9040
$as_echo "$OTOOL" >&6; }
 
9041
else
 
9042
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9043
$as_echo "no" >&6; }
 
9044
fi
 
9045
 
 
9046
 
 
9047
fi
 
9048
if test -z "$ac_cv_prog_OTOOL"; then
 
9049
  ac_ct_OTOOL=$OTOOL
 
9050
  # Extract the first word of "otool", so it can be a program name with args.
 
9051
set dummy otool; ac_word=$2
 
9052
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9053
$as_echo_n "checking for $ac_word... " >&6; }
 
9054
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
9055
  $as_echo_n "(cached) " >&6
 
9056
else
 
9057
  if test -n "$ac_ct_OTOOL"; then
 
9058
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
9059
else
 
9060
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9061
for as_dir in $PATH
 
9062
do
 
9063
  IFS=$as_save_IFS
 
9064
  test -z "$as_dir" && as_dir=.
 
9065
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9066
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9067
    ac_cv_prog_ac_ct_OTOOL="otool"
 
9068
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9069
    break 2
 
9070
  fi
 
9071
done
 
9072
done
 
9073
IFS=$as_save_IFS
 
9074
 
 
9075
fi
 
9076
fi
 
9077
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
9078
if test -n "$ac_ct_OTOOL"; then
 
9079
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
9080
$as_echo "$ac_ct_OTOOL" >&6; }
 
9081
else
 
9082
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9083
$as_echo "no" >&6; }
 
9084
fi
 
9085
 
 
9086
  if test "x$ac_ct_OTOOL" = x; then
 
9087
    OTOOL=":"
 
9088
  else
 
9089
    case $cross_compiling:$ac_tool_warned in
 
9090
yes:)
 
9091
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9092
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9093
ac_tool_warned=yes ;;
 
9094
esac
 
9095
    OTOOL=$ac_ct_OTOOL
 
9096
  fi
 
9097
else
 
9098
  OTOOL="$ac_cv_prog_OTOOL"
 
9099
fi
 
9100
 
 
9101
    if test -n "$ac_tool_prefix"; then
 
9102
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
9103
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
9104
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9105
$as_echo_n "checking for $ac_word... " >&6; }
 
9106
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
9107
  $as_echo_n "(cached) " >&6
 
9108
else
 
9109
  if test -n "$OTOOL64"; then
 
9110
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
9111
else
 
9112
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9113
for as_dir in $PATH
 
9114
do
 
9115
  IFS=$as_save_IFS
 
9116
  test -z "$as_dir" && as_dir=.
 
9117
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9118
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9119
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
9120
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9121
    break 2
 
9122
  fi
 
9123
done
 
9124
done
 
9125
IFS=$as_save_IFS
 
9126
 
 
9127
fi
 
9128
fi
 
9129
OTOOL64=$ac_cv_prog_OTOOL64
 
9130
if test -n "$OTOOL64"; then
 
9131
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
9132
$as_echo "$OTOOL64" >&6; }
 
9133
else
 
9134
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9135
$as_echo "no" >&6; }
 
9136
fi
 
9137
 
 
9138
 
 
9139
fi
 
9140
if test -z "$ac_cv_prog_OTOOL64"; then
 
9141
  ac_ct_OTOOL64=$OTOOL64
 
9142
  # Extract the first word of "otool64", so it can be a program name with args.
 
9143
set dummy otool64; ac_word=$2
 
9144
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9145
$as_echo_n "checking for $ac_word... " >&6; }
 
9146
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
9147
  $as_echo_n "(cached) " >&6
 
9148
else
 
9149
  if test -n "$ac_ct_OTOOL64"; then
 
9150
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
9151
else
 
9152
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9153
for as_dir in $PATH
 
9154
do
 
9155
  IFS=$as_save_IFS
 
9156
  test -z "$as_dir" && as_dir=.
 
9157
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9158
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9159
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
9160
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9161
    break 2
 
9162
  fi
 
9163
done
 
9164
done
 
9165
IFS=$as_save_IFS
 
9166
 
 
9167
fi
 
9168
fi
 
9169
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
9170
if test -n "$ac_ct_OTOOL64"; then
 
9171
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
9172
$as_echo "$ac_ct_OTOOL64" >&6; }
 
9173
else
 
9174
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9175
$as_echo "no" >&6; }
 
9176
fi
 
9177
 
 
9178
  if test "x$ac_ct_OTOOL64" = x; then
 
9179
    OTOOL64=":"
 
9180
  else
 
9181
    case $cross_compiling:$ac_tool_warned in
 
9182
yes:)
 
9183
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9184
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9185
ac_tool_warned=yes ;;
 
9186
esac
 
9187
    OTOOL64=$ac_ct_OTOOL64
 
9188
  fi
 
9189
else
 
9190
  OTOOL64="$ac_cv_prog_OTOOL64"
 
9191
fi
 
9192
 
 
9193
 
 
9194
 
 
9195
 
 
9196
 
 
9197
 
 
9198
 
 
9199
 
 
9200
 
 
9201
 
 
9202
 
 
9203
 
 
9204
 
 
9205
 
 
9206
 
 
9207
 
 
9208
 
 
9209
 
 
9210
 
 
9211
 
 
9212
 
 
9213
 
 
9214
 
 
9215
 
 
9216
 
 
9217
 
 
9218
 
 
9219
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
9220
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
9221
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
9222
  $as_echo_n "(cached) " >&6
 
9223
else
 
9224
  lt_cv_apple_cc_single_mod=no
 
9225
      if test -z "${LT_MULTI_MODULE}"; then
 
9226
        # By default we will add the -single_module flag. You can override
 
9227
        # by either setting the environment variable LT_MULTI_MODULE
 
9228
        # non-empty at configure time, or by adding -multi_module to the
 
9229
        # link flags.
 
9230
        rm -rf libconftest.dylib*
 
9231
        echo "int foo(void){return 1;}" > conftest.c
 
9232
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
9233
-dynamiclib -Wl,-single_module conftest.c" >&5
 
9234
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
9235
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
9236
        _lt_result=$?
 
9237
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
9238
          lt_cv_apple_cc_single_mod=yes
 
9239
        else
 
9240
          cat conftest.err >&5
 
9241
        fi
 
9242
        rm -rf libconftest.dylib*
 
9243
        rm -f conftest.*
 
9244
      fi
 
9245
fi
 
9246
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
9247
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
9248
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
9249
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
9250
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
9251
  $as_echo_n "(cached) " >&6
 
9252
else
 
9253
  lt_cv_ld_exported_symbols_list=no
 
9254
      save_LDFLAGS=$LDFLAGS
 
9255
      echo "_main" > conftest.sym
 
9256
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
9257
      cat >conftest.$ac_ext <<_ACEOF
 
9258
/* confdefs.h.  */
 
9259
_ACEOF
 
9260
cat confdefs.h >>conftest.$ac_ext
 
9261
cat >>conftest.$ac_ext <<_ACEOF
 
9262
/* end confdefs.h.  */
 
9263
 
 
9264
int
 
9265
main ()
 
9266
{
 
9267
 
 
9268
  ;
 
9269
  return 0;
 
9270
}
 
9271
_ACEOF
 
9272
rm -f conftest.$ac_objext conftest$ac_exeext
 
9273
if { (ac_try="$ac_link"
 
9274
case "(($ac_try" in
 
9275
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9276
  *) ac_try_echo=$ac_try;;
 
9277
esac
 
9278
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9279
$as_echo "$ac_try_echo") >&5
 
9280
  (eval "$ac_link") 2>conftest.er1
 
9281
  ac_status=$?
 
9282
  grep -v '^ *+' conftest.er1 >conftest.err
 
9283
  rm -f conftest.er1
 
9284
  cat conftest.err >&5
 
9285
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9286
  (exit $ac_status); } && {
 
9287
         test -z "$ac_c_werror_flag" ||
 
9288
         test ! -s conftest.err
 
9289
       } && test -s conftest$ac_exeext && {
 
9290
         test "$cross_compiling" = yes ||
 
9291
         $as_test_x conftest$ac_exeext
 
9292
       }; then
 
9293
  lt_cv_ld_exported_symbols_list=yes
 
9294
else
 
9295
  $as_echo "$as_me: failed program was:" >&5
 
9296
sed 's/^/| /' conftest.$ac_ext >&5
 
9297
 
 
9298
        lt_cv_ld_exported_symbols_list=no
 
9299
fi
 
9300
 
 
9301
rm -rf conftest.dSYM
 
9302
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9303
      conftest$ac_exeext conftest.$ac_ext
 
9304
        LDFLAGS="$save_LDFLAGS"
 
9305
 
 
9306
fi
 
9307
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
9308
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
9309
    case $host_os in
 
9310
    rhapsody* | darwin1.[012])
 
9311
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
9312
    darwin1.*)
 
9313
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9314
    darwin*) # darwin 5.x on
 
9315
      # if running on 10.5 or later, the deployment target defaults
 
9316
      # to the OS version, if on x86, and 10.4, the deployment
 
9317
      # target defaults to 10.4. Don't you love it?
 
9318
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
9319
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
9320
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9321
        10.[012]*)
 
9322
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9323
        10.*)
 
9324
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9325
      esac
 
9326
    ;;
 
9327
  esac
 
9328
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
9329
      _lt_dar_single_mod='$single_module'
 
9330
    fi
 
9331
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
9332
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
9333
    else
 
9334
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
9335
    fi
 
9336
    if test "$DSYMUTIL" != ":"; then
 
9337
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
9338
    else
 
9339
      _lt_dsymutil=
 
9340
    fi
 
9341
    ;;
 
9342
  esac
 
9343
 
 
9344
ac_ext=c
 
9345
ac_cpp='$CPP $CPPFLAGS'
 
9346
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
9347
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
9348
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
9349
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
9350
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
9351
# On Suns, sometimes $CPP names a directory.
 
9352
if test -n "$CPP" && test -d "$CPP"; then
 
9353
  CPP=
 
9354
fi
 
9355
if test -z "$CPP"; then
 
9356
  if test "${ac_cv_prog_CPP+set}" = set; then
 
9357
  $as_echo_n "(cached) " >&6
 
9358
else
 
9359
      # Double quotes because CPP needs to be expanded
 
9360
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
9361
    do
 
9362
      ac_preproc_ok=false
 
9363
for ac_c_preproc_warn_flag in '' yes
 
9364
do
 
9365
  # Use a header file that comes with gcc, so configuring glibc
 
9366
  # with a fresh cross-compiler works.
 
9367
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
9368
  # <limits.h> exists even on freestanding compilers.
 
9369
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
9370
  # not just through cpp. "Syntax error" is here to catch this case.
 
9371
  cat >conftest.$ac_ext <<_ACEOF
 
9372
/* confdefs.h.  */
 
9373
_ACEOF
 
9374
cat confdefs.h >>conftest.$ac_ext
 
9375
cat >>conftest.$ac_ext <<_ACEOF
 
9376
/* end confdefs.h.  */
 
9377
#ifdef __STDC__
 
9378
# include <limits.h>
 
9379
#else
 
9380
# include <assert.h>
 
9381
#endif
 
9382
                     Syntax error
 
9383
_ACEOF
 
9384
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
9385
case "(($ac_try" in
 
9386
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9387
  *) ac_try_echo=$ac_try;;
 
9388
esac
 
9389
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9390
$as_echo "$ac_try_echo") >&5
 
9391
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
9392
  ac_status=$?
 
9393
  grep -v '^ *+' conftest.er1 >conftest.err
 
9394
  rm -f conftest.er1
 
9395
  cat conftest.err >&5
 
9396
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9397
  (exit $ac_status); } >/dev/null && {
 
9398
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
9399
         test ! -s conftest.err
 
9400
       }; then
 
9401
  :
 
9402
else
 
9403
  $as_echo "$as_me: failed program was:" >&5
 
9404
sed 's/^/| /' conftest.$ac_ext >&5
 
9405
 
 
9406
  # Broken: fails on valid input.
 
9407
continue
 
9408
fi
 
9409
 
 
9410
rm -f conftest.err conftest.$ac_ext
 
9411
 
 
9412
  # OK, works on sane cases.  Now check whether nonexistent headers
 
9413
  # can be detected and how.
 
9414
  cat >conftest.$ac_ext <<_ACEOF
 
9415
/* confdefs.h.  */
 
9416
_ACEOF
 
9417
cat confdefs.h >>conftest.$ac_ext
 
9418
cat >>conftest.$ac_ext <<_ACEOF
 
9419
/* end confdefs.h.  */
 
9420
#include <ac_nonexistent.h>
 
9421
_ACEOF
 
9422
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
9423
case "(($ac_try" in
 
9424
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9425
  *) ac_try_echo=$ac_try;;
 
9426
esac
 
9427
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9428
$as_echo "$ac_try_echo") >&5
 
9429
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
9430
  ac_status=$?
 
9431
  grep -v '^ *+' conftest.er1 >conftest.err
 
9432
  rm -f conftest.er1
 
9433
  cat conftest.err >&5
 
9434
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9435
  (exit $ac_status); } >/dev/null && {
 
9436
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
9437
         test ! -s conftest.err
 
9438
       }; then
 
9439
  # Broken: success on invalid input.
 
9440
continue
 
9441
else
 
9442
  $as_echo "$as_me: failed program was:" >&5
 
9443
sed 's/^/| /' conftest.$ac_ext >&5
 
9444
 
 
9445
  # Passes both tests.
 
9446
ac_preproc_ok=:
 
9447
break
 
9448
fi
 
9449
 
 
9450
rm -f conftest.err conftest.$ac_ext
 
9451
 
 
9452
done
 
9453
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
9454
rm -f conftest.err conftest.$ac_ext
 
9455
if $ac_preproc_ok; then
 
9456
  break
 
9457
fi
 
9458
 
 
9459
    done
 
9460
    ac_cv_prog_CPP=$CPP
 
9461
 
 
9462
fi
 
9463
  CPP=$ac_cv_prog_CPP
 
9464
else
 
9465
  ac_cv_prog_CPP=$CPP
 
9466
fi
 
9467
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
9468
$as_echo "$CPP" >&6; }
 
9469
ac_preproc_ok=false
 
9470
for ac_c_preproc_warn_flag in '' yes
 
9471
do
 
9472
  # Use a header file that comes with gcc, so configuring glibc
 
9473
  # with a fresh cross-compiler works.
 
9474
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
9475
  # <limits.h> exists even on freestanding compilers.
 
9476
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
9477
  # not just through cpp. "Syntax error" is here to catch this case.
 
9478
  cat >conftest.$ac_ext <<_ACEOF
 
9479
/* confdefs.h.  */
 
9480
_ACEOF
 
9481
cat confdefs.h >>conftest.$ac_ext
 
9482
cat >>conftest.$ac_ext <<_ACEOF
 
9483
/* end confdefs.h.  */
 
9484
#ifdef __STDC__
 
9485
# include <limits.h>
 
9486
#else
 
9487
# include <assert.h>
 
9488
#endif
 
9489
                     Syntax error
 
9490
_ACEOF
 
9491
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
9492
case "(($ac_try" in
 
9493
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9494
  *) ac_try_echo=$ac_try;;
 
9495
esac
 
9496
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9497
$as_echo "$ac_try_echo") >&5
 
9498
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
9499
  ac_status=$?
 
9500
  grep -v '^ *+' conftest.er1 >conftest.err
 
9501
  rm -f conftest.er1
 
9502
  cat conftest.err >&5
 
9503
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9504
  (exit $ac_status); } >/dev/null && {
 
9505
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
9506
         test ! -s conftest.err
 
9507
       }; then
 
9508
  :
 
9509
else
 
9510
  $as_echo "$as_me: failed program was:" >&5
 
9511
sed 's/^/| /' conftest.$ac_ext >&5
 
9512
 
 
9513
  # Broken: fails on valid input.
 
9514
continue
 
9515
fi
 
9516
 
 
9517
rm -f conftest.err conftest.$ac_ext
 
9518
 
 
9519
  # OK, works on sane cases.  Now check whether nonexistent headers
 
9520
  # can be detected and how.
 
9521
  cat >conftest.$ac_ext <<_ACEOF
 
9522
/* confdefs.h.  */
 
9523
_ACEOF
 
9524
cat confdefs.h >>conftest.$ac_ext
 
9525
cat >>conftest.$ac_ext <<_ACEOF
 
9526
/* end confdefs.h.  */
 
9527
#include <ac_nonexistent.h>
 
9528
_ACEOF
 
9529
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
9530
case "(($ac_try" in
 
9531
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9532
  *) ac_try_echo=$ac_try;;
 
9533
esac
 
9534
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9535
$as_echo "$ac_try_echo") >&5
 
9536
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
9537
  ac_status=$?
 
9538
  grep -v '^ *+' conftest.er1 >conftest.err
 
9539
  rm -f conftest.er1
 
9540
  cat conftest.err >&5
 
9541
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9542
  (exit $ac_status); } >/dev/null && {
 
9543
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
9544
         test ! -s conftest.err
 
9545
       }; then
 
9546
  # Broken: success on invalid input.
 
9547
continue
 
9548
else
 
9549
  $as_echo "$as_me: failed program was:" >&5
 
9550
sed 's/^/| /' conftest.$ac_ext >&5
 
9551
 
 
9552
  # Passes both tests.
 
9553
ac_preproc_ok=:
 
9554
break
 
9555
fi
 
9556
 
 
9557
rm -f conftest.err conftest.$ac_ext
 
9558
 
 
9559
done
 
9560
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
9561
rm -f conftest.err conftest.$ac_ext
 
9562
if $ac_preproc_ok; then
 
9563
  :
 
9564
else
 
9565
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
9566
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
9567
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
9568
See \`config.log' for more details." >&5
 
9569
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
9570
See \`config.log' for more details." >&2;}
 
9571
   { (exit 1); exit 1; }; }; }
 
9572
fi
 
9573
 
 
9574
ac_ext=c
 
9575
ac_cpp='$CPP $CPPFLAGS'
 
9576
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
9577
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
9578
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
9579
 
 
9580
 
 
9581
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
9582
$as_echo_n "checking for ANSI C header files... " >&6; }
 
9583
if test "${ac_cv_header_stdc+set}" = set; then
 
9584
  $as_echo_n "(cached) " >&6
 
9585
else
 
9586
  cat >conftest.$ac_ext <<_ACEOF
 
9587
/* confdefs.h.  */
 
9588
_ACEOF
 
9589
cat confdefs.h >>conftest.$ac_ext
 
9590
cat >>conftest.$ac_ext <<_ACEOF
 
9591
/* end confdefs.h.  */
 
9592
#include <stdlib.h>
 
9593
#include <stdarg.h>
 
9594
#include <string.h>
 
9595
#include <float.h>
 
9596
 
 
9597
int
 
9598
main ()
 
9599
{
 
9600
 
 
9601
  ;
 
9602
  return 0;
 
9603
}
 
9604
_ACEOF
 
9605
rm -f conftest.$ac_objext
 
9606
if { (ac_try="$ac_compile"
 
9607
case "(($ac_try" in
 
9608
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9609
  *) ac_try_echo=$ac_try;;
 
9610
esac
 
9611
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9612
$as_echo "$ac_try_echo") >&5
 
9613
  (eval "$ac_compile") 2>conftest.er1
 
9614
  ac_status=$?
 
9615
  grep -v '^ *+' conftest.er1 >conftest.err
 
9616
  rm -f conftest.er1
 
9617
  cat conftest.err >&5
 
9618
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9619
  (exit $ac_status); } && {
 
9620
         test -z "$ac_c_werror_flag" ||
 
9621
         test ! -s conftest.err
 
9622
       } && test -s conftest.$ac_objext; then
 
9623
  ac_cv_header_stdc=yes
 
9624
else
 
9625
  $as_echo "$as_me: failed program was:" >&5
 
9626
sed 's/^/| /' conftest.$ac_ext >&5
 
9627
 
 
9628
        ac_cv_header_stdc=no
 
9629
fi
 
9630
 
 
9631
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9632
 
 
9633
if test $ac_cv_header_stdc = yes; then
 
9634
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
9635
  cat >conftest.$ac_ext <<_ACEOF
 
9636
/* confdefs.h.  */
 
9637
_ACEOF
 
9638
cat confdefs.h >>conftest.$ac_ext
 
9639
cat >>conftest.$ac_ext <<_ACEOF
 
9640
/* end confdefs.h.  */
 
9641
#include <string.h>
 
9642
 
 
9643
_ACEOF
 
9644
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
9645
  $EGREP "memchr" >/dev/null 2>&1; then
 
9646
  :
 
9647
else
 
9648
  ac_cv_header_stdc=no
 
9649
fi
 
9650
rm -f conftest*
 
9651
 
 
9652
fi
 
9653
 
 
9654
if test $ac_cv_header_stdc = yes; then
 
9655
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
9656
  cat >conftest.$ac_ext <<_ACEOF
 
9657
/* confdefs.h.  */
 
9658
_ACEOF
 
9659
cat confdefs.h >>conftest.$ac_ext
 
9660
cat >>conftest.$ac_ext <<_ACEOF
 
9661
/* end confdefs.h.  */
 
9662
#include <stdlib.h>
 
9663
 
 
9664
_ACEOF
 
9665
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
9666
  $EGREP "free" >/dev/null 2>&1; then
 
9667
  :
 
9668
else
 
9669
  ac_cv_header_stdc=no
 
9670
fi
 
9671
rm -f conftest*
 
9672
 
 
9673
fi
 
9674
 
 
9675
if test $ac_cv_header_stdc = yes; then
 
9676
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
9677
  if test "$cross_compiling" = yes; then
 
9678
  :
 
9679
else
 
9680
  cat >conftest.$ac_ext <<_ACEOF
 
9681
/* confdefs.h.  */
 
9682
_ACEOF
 
9683
cat confdefs.h >>conftest.$ac_ext
 
9684
cat >>conftest.$ac_ext <<_ACEOF
 
9685
/* end confdefs.h.  */
 
9686
#include <ctype.h>
 
9687
#include <stdlib.h>
 
9688
#if ((' ' & 0x0FF) == 0x020)
 
9689
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
9690
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
9691
#else
 
9692
# define ISLOWER(c) \
 
9693
                   (('a' <= (c) && (c) <= 'i') \
 
9694
                     || ('j' <= (c) && (c) <= 'r') \
 
9695
                     || ('s' <= (c) && (c) <= 'z'))
 
9696
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
9697
#endif
 
9698
 
 
9699
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
9700
int
 
9701
main ()
 
9702
{
 
9703
  int i;
 
9704
  for (i = 0; i < 256; i++)
 
9705
    if (XOR (islower (i), ISLOWER (i))
 
9706
        || toupper (i) != TOUPPER (i))
 
9707
      return 2;
 
9708
  return 0;
 
9709
}
 
9710
_ACEOF
 
9711
rm -f conftest$ac_exeext
 
9712
if { (ac_try="$ac_link"
 
9713
case "(($ac_try" in
 
9714
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9715
  *) ac_try_echo=$ac_try;;
 
9716
esac
 
9717
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9718
$as_echo "$ac_try_echo") >&5
 
9719
  (eval "$ac_link") 2>&5
 
9720
  ac_status=$?
 
9721
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9722
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
9723
  { (case "(($ac_try" in
 
9724
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9725
  *) ac_try_echo=$ac_try;;
 
9726
esac
 
9727
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9728
$as_echo "$ac_try_echo") >&5
 
9729
  (eval "$ac_try") 2>&5
 
9730
  ac_status=$?
 
9731
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9732
  (exit $ac_status); }; }; then
 
9733
  :
 
9734
else
 
9735
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
9736
$as_echo "$as_me: failed program was:" >&5
 
9737
sed 's/^/| /' conftest.$ac_ext >&5
 
9738
 
 
9739
( exit $ac_status )
 
9740
ac_cv_header_stdc=no
 
9741
fi
 
9742
rm -rf conftest.dSYM
 
9743
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
9744
fi
 
9745
 
 
9746
 
 
9747
fi
 
9748
fi
 
9749
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
9750
$as_echo "$ac_cv_header_stdc" >&6; }
 
9751
if test $ac_cv_header_stdc = yes; then
 
9752
 
 
9753
cat >>confdefs.h <<\_ACEOF
 
9754
#define STDC_HEADERS 1
 
9755
_ACEOF
 
9756
 
 
9757
fi
 
9758
 
 
9759
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
9760
 
 
9761
 
 
9762
 
 
9763
 
 
9764
 
 
9765
 
 
9766
 
 
9767
 
 
9768
 
 
9769
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
9770
                  inttypes.h stdint.h unistd.h
 
9771
do
 
9772
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
9773
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
9774
$as_echo_n "checking for $ac_header... " >&6; }
 
9775
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
9776
  $as_echo_n "(cached) " >&6
 
9777
else
 
9778
  cat >conftest.$ac_ext <<_ACEOF
 
9779
/* confdefs.h.  */
 
9780
_ACEOF
 
9781
cat confdefs.h >>conftest.$ac_ext
 
9782
cat >>conftest.$ac_ext <<_ACEOF
 
9783
/* end confdefs.h.  */
 
9784
$ac_includes_default
 
9785
 
 
9786
#include <$ac_header>
 
9787
_ACEOF
 
9788
rm -f conftest.$ac_objext
 
9789
if { (ac_try="$ac_compile"
 
9790
case "(($ac_try" in
 
9791
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9792
  *) ac_try_echo=$ac_try;;
 
9793
esac
 
9794
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9795
$as_echo "$ac_try_echo") >&5
 
9796
  (eval "$ac_compile") 2>conftest.er1
 
9797
  ac_status=$?
 
9798
  grep -v '^ *+' conftest.er1 >conftest.err
 
9799
  rm -f conftest.er1
 
9800
  cat conftest.err >&5
 
9801
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9802
  (exit $ac_status); } && {
 
9803
         test -z "$ac_c_werror_flag" ||
 
9804
         test ! -s conftest.err
 
9805
       } && test -s conftest.$ac_objext; then
 
9806
  eval "$as_ac_Header=yes"
 
9807
else
 
9808
  $as_echo "$as_me: failed program was:" >&5
 
9809
sed 's/^/| /' conftest.$ac_ext >&5
 
9810
 
 
9811
        eval "$as_ac_Header=no"
 
9812
fi
 
9813
 
 
9814
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9815
fi
 
9816
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
9817
                 $as_echo "$as_val"'`
 
9818
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
9819
$as_echo "$ac_res" >&6; }
 
9820
as_val=`eval 'as_val=${'$as_ac_Header'}
 
9821
                 $as_echo "$as_val"'`
 
9822
   if test "x$as_val" = x""yes; then
 
9823
  cat >>confdefs.h <<_ACEOF
 
9824
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
9825
_ACEOF
 
9826
 
 
9827
fi
 
9828
 
 
9829
done
 
9830
 
 
9831
 
 
9832
 
 
9833
for ac_header in dlfcn.h
 
9834
do
 
9835
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
9836
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
9837
$as_echo_n "checking for $ac_header... " >&6; }
 
9838
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
9839
  $as_echo_n "(cached) " >&6
 
9840
else
 
9841
  cat >conftest.$ac_ext <<_ACEOF
 
9842
/* confdefs.h.  */
 
9843
_ACEOF
 
9844
cat confdefs.h >>conftest.$ac_ext
 
9845
cat >>conftest.$ac_ext <<_ACEOF
 
9846
/* end confdefs.h.  */
 
9847
$ac_includes_default
 
9848
 
 
9849
#include <$ac_header>
 
9850
_ACEOF
 
9851
rm -f conftest.$ac_objext
 
9852
if { (ac_try="$ac_compile"
 
9853
case "(($ac_try" in
 
9854
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9855
  *) ac_try_echo=$ac_try;;
 
9856
esac
 
9857
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9858
$as_echo "$ac_try_echo") >&5
 
9859
  (eval "$ac_compile") 2>conftest.er1
 
9860
  ac_status=$?
 
9861
  grep -v '^ *+' conftest.er1 >conftest.err
 
9862
  rm -f conftest.er1
 
9863
  cat conftest.err >&5
 
9864
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9865
  (exit $ac_status); } && {
 
9866
         test -z "$ac_c_werror_flag" ||
 
9867
         test ! -s conftest.err
 
9868
       } && test -s conftest.$ac_objext; then
 
9869
  eval "$as_ac_Header=yes"
 
9870
else
 
9871
  $as_echo "$as_me: failed program was:" >&5
 
9872
sed 's/^/| /' conftest.$ac_ext >&5
 
9873
 
 
9874
        eval "$as_ac_Header=no"
 
9875
fi
 
9876
 
 
9877
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9878
fi
 
9879
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
9880
                 $as_echo "$as_val"'`
 
9881
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
9882
$as_echo "$ac_res" >&6; }
 
9883
as_val=`eval 'as_val=${'$as_ac_Header'}
 
9884
                 $as_echo "$as_val"'`
 
9885
   if test "x$as_val" = x""yes; then
 
9886
  cat >>confdefs.h <<_ACEOF
 
9887
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
9888
_ACEOF
 
9889
 
 
9890
fi
 
9891
 
 
9892
done
 
9893
 
 
9894
 
 
9895
 
 
9896
# Set options
 
9897
 
 
9898
 
 
9899
 
 
9900
        enable_dlopen=no
 
9901
 
 
9902
 
 
9903
  enable_win32_dll=no
 
9904
 
 
9905
 
 
9906
            # Check whether --enable-shared was given.
 
9907
if test "${enable_shared+set}" = set; then
 
9908
  enableval=$enable_shared; p=${PACKAGE-default}
 
9909
    case $enableval in
 
9910
    yes) enable_shared=yes ;;
 
9911
    no) enable_shared=no ;;
 
9912
    *)
 
9913
      enable_shared=no
 
9914
      # Look at the argument we got.  We use all the common list separators.
 
9915
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9916
      for pkg in $enableval; do
 
9917
        IFS="$lt_save_ifs"
 
9918
        if test "X$pkg" = "X$p"; then
 
9919
          enable_shared=yes
 
9920
        fi
 
9921
      done
 
9922
      IFS="$lt_save_ifs"
 
9923
      ;;
 
9924
    esac
 
9925
else
 
9926
  enable_shared=yes
 
9927
fi
 
9928
 
 
9929
 
 
9930
 
 
9931
 
 
9932
 
 
9933
 
 
9934
 
 
9935
 
 
9936
 
 
9937
  # Check whether --enable-static was given.
 
9938
if test "${enable_static+set}" = set; then
 
9939
  enableval=$enable_static; p=${PACKAGE-default}
 
9940
    case $enableval in
 
9941
    yes) enable_static=yes ;;
 
9942
    no) enable_static=no ;;
 
9943
    *)
 
9944
     enable_static=no
 
9945
      # Look at the argument we got.  We use all the common list separators.
 
9946
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9947
      for pkg in $enableval; do
 
9948
        IFS="$lt_save_ifs"
 
9949
        if test "X$pkg" = "X$p"; then
 
9950
          enable_static=yes
 
9951
        fi
 
9952
      done
 
9953
      IFS="$lt_save_ifs"
 
9954
      ;;
 
9955
    esac
 
9956
else
 
9957
  enable_static=yes
 
9958
fi
 
9959
 
 
9960
 
 
9961
 
 
9962
 
 
9963
 
 
9964
 
 
9965
 
 
9966
 
 
9967
 
 
9968
 
 
9969
# Check whether --with-pic was given.
 
9970
if test "${with_pic+set}" = set; then
 
9971
  withval=$with_pic; pic_mode="$withval"
 
9972
else
 
9973
  pic_mode=default
 
9974
fi
 
9975
 
 
9976
 
 
9977
test -z "$pic_mode" && pic_mode=default
 
9978
 
 
9979
 
 
9980
 
 
9981
 
 
9982
 
 
9983
 
 
9984
 
 
9985
  # Check whether --enable-fast-install was given.
 
9986
if test "${enable_fast_install+set}" = set; then
 
9987
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
9988
    case $enableval in
 
9989
    yes) enable_fast_install=yes ;;
 
9990
    no) enable_fast_install=no ;;
 
9991
    *)
 
9992
      enable_fast_install=no
 
9993
      # Look at the argument we got.  We use all the common list separators.
 
9994
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9995
      for pkg in $enableval; do
 
9996
        IFS="$lt_save_ifs"
 
9997
        if test "X$pkg" = "X$p"; then
 
9998
          enable_fast_install=yes
 
9999
        fi
 
10000
      done
 
10001
      IFS="$lt_save_ifs"
 
10002
      ;;
 
10003
    esac
 
10004
else
 
10005
  enable_fast_install=yes
 
10006
fi
 
10007
 
 
10008
 
 
10009
 
 
10010
 
 
10011
 
 
10012
 
 
10013
 
 
10014
 
 
10015
 
 
10016
 
 
10017
 
 
10018
# This can be used to rebuild libtool when needed
 
10019
LIBTOOL_DEPS="$ltmain"
 
10020
 
 
10021
# Always use our own libtool.
 
10022
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
10023
 
 
10024
 
 
10025
 
 
10026
 
 
10027
 
 
10028
 
 
10029
 
 
10030
 
 
10031
 
 
10032
 
 
10033
 
 
10034
 
 
10035
 
 
10036
 
 
10037
 
 
10038
 
 
10039
 
 
10040
 
 
10041
 
 
10042
 
 
10043
 
 
10044
 
 
10045
 
 
10046
 
 
10047
 
 
10048
test -z "$LN_S" && LN_S="ln -s"
 
10049
 
 
10050
 
 
10051
 
 
10052
 
 
10053
 
 
10054
 
 
10055
 
 
10056
 
 
10057
 
 
10058
 
 
10059
 
 
10060
 
 
10061
 
 
10062
 
 
10063
if test -n "${ZSH_VERSION+set}" ; then
 
10064
   setopt NO_GLOB_SUBST
 
10065
fi
 
10066
 
 
10067
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
10068
$as_echo_n "checking for objdir... " >&6; }
 
10069
if test "${lt_cv_objdir+set}" = set; then
 
10070
  $as_echo_n "(cached) " >&6
 
10071
else
 
10072
  rm -f .libs 2>/dev/null
 
10073
mkdir .libs 2>/dev/null
 
10074
if test -d .libs; then
 
10075
  lt_cv_objdir=.libs
 
10076
else
 
10077
  # MS-DOS does not allow filenames that begin with a dot.
 
10078
  lt_cv_objdir=_libs
 
10079
fi
 
10080
rmdir .libs 2>/dev/null
 
10081
fi
 
10082
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
10083
$as_echo "$lt_cv_objdir" >&6; }
 
10084
objdir=$lt_cv_objdir
 
10085
 
 
10086
 
 
10087
 
 
10088
 
 
10089
 
 
10090
cat >>confdefs.h <<_ACEOF
 
10091
#define LT_OBJDIR "$lt_cv_objdir/"
 
10092
_ACEOF
 
10093
 
 
10094
 
 
10095
 
 
10096
 
 
10097
 
 
10098
 
 
10099
 
 
10100
 
 
10101
 
 
10102
 
 
10103
 
 
10104
 
 
10105
 
 
10106
 
 
10107
 
 
10108
 
 
10109
 
 
10110
case $host_os in
 
10111
aix3*)
 
10112
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
10113
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
10114
  # vanish in a puff of smoke.
 
10115
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
10116
    COLLECT_NAMES=
 
10117
    export COLLECT_NAMES
 
10118
  fi
 
10119
  ;;
 
10120
esac
 
10121
 
 
10122
# Sed substitution that helps us do robust quoting.  It backslashifies
 
10123
# metacharacters that are still active within double-quoted strings.
 
10124
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
10125
 
 
10126
# Same as above, but do not quote variable references.
 
10127
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
10128
 
 
10129
# Sed substitution to delay expansion of an escaped shell variable in a
 
10130
# double_quote_subst'ed string.
 
10131
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
10132
 
 
10133
# Sed substitution to delay expansion of an escaped single quote.
 
10134
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
10135
 
 
10136
# Sed substitution to avoid accidental globbing in evaled expressions
 
10137
no_glob_subst='s/\*/\\\*/g'
 
10138
 
 
10139
# Global variables:
 
10140
ofile=libtool
 
10141
can_build_shared=yes
 
10142
 
 
10143
# All known linkers require a `.a' archive for static linking (except MSVC,
 
10144
# which needs '.lib').
 
10145
libext=a
 
10146
 
 
10147
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
10148
 
 
10149
old_CC="$CC"
 
10150
old_CFLAGS="$CFLAGS"
 
10151
 
 
10152
# Set sane defaults for various variables
 
10153
test -z "$CC" && CC=cc
 
10154
test -z "$LTCC" && LTCC=$CC
 
10155
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
10156
test -z "$LD" && LD=ld
 
10157
test -z "$ac_objext" && ac_objext=o
 
10158
 
 
10159
for cc_temp in $compiler""; do
 
10160
  case $cc_temp in
 
10161
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
10162
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
10163
    \-*) ;;
 
10164
    *) break;;
 
10165
  esac
 
10166
done
 
10167
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
10168
 
 
10169
 
 
10170
# Only perform the check for file, if the check method requires it
 
10171
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
10172
case $deplibs_check_method in
 
10173
file_magic*)
 
10174
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
10175
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
10176
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
10177
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
10178
  $as_echo_n "(cached) " >&6
 
10179
else
 
10180
  case $MAGIC_CMD in
 
10181
[\\/*] |  ?:[\\/]*)
 
10182
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
10183
  ;;
 
10184
*)
 
10185
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
10186
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
10187
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
10188
  for ac_dir in $ac_dummy; do
 
10189
    IFS="$lt_save_ifs"
 
10190
    test -z "$ac_dir" && ac_dir=.
 
10191
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
10192
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
10193
      if test -n "$file_magic_test_file"; then
 
10194
        case $deplibs_check_method in
 
10195
        "file_magic "*)
 
10196
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
10197
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10198
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
10199
            $EGREP "$file_magic_regex" > /dev/null; then
 
10200
            :
 
10201
          else
 
10202
            cat <<_LT_EOF 1>&2
 
10203
 
 
10204
*** Warning: the command libtool uses to detect shared libraries,
 
10205
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
10206
*** The result is that libtool may fail to recognize shared libraries
 
10207
*** as such.  This will affect the creation of libtool libraries that
 
10208
*** depend on shared libraries, but programs linked with such libtool
 
10209
*** libraries will work regardless of this problem.  Nevertheless, you
 
10210
*** may want to report the problem to your system manager and/or to
 
10211
*** bug-libtool@gnu.org
 
10212
 
 
10213
_LT_EOF
 
10214
          fi ;;
 
10215
        esac
 
10216
      fi
 
10217
      break
 
10218
    fi
 
10219
  done
 
10220
  IFS="$lt_save_ifs"
 
10221
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
10222
  ;;
 
10223
esac
 
10224
fi
 
10225
 
 
10226
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10227
if test -n "$MAGIC_CMD"; then
 
10228
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
10229
$as_echo "$MAGIC_CMD" >&6; }
 
10230
else
 
10231
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10232
$as_echo "no" >&6; }
 
10233
fi
 
10234
 
 
10235
 
 
10236
 
 
10237
 
 
10238
 
 
10239
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
10240
  if test -n "$ac_tool_prefix"; then
 
10241
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
10242
$as_echo_n "checking for file... " >&6; }
 
10243
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
10244
  $as_echo_n "(cached) " >&6
 
10245
else
 
10246
  case $MAGIC_CMD in
 
10247
[\\/*] |  ?:[\\/]*)
 
10248
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
10249
  ;;
 
10250
*)
 
10251
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
10252
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
10253
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
10254
  for ac_dir in $ac_dummy; do
 
10255
    IFS="$lt_save_ifs"
 
10256
    test -z "$ac_dir" && ac_dir=.
 
10257
    if test -f $ac_dir/file; then
 
10258
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
10259
      if test -n "$file_magic_test_file"; then
 
10260
        case $deplibs_check_method in
 
10261
        "file_magic "*)
 
10262
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
10263
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10264
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
10265
            $EGREP "$file_magic_regex" > /dev/null; then
 
10266
            :
 
10267
          else
 
10268
            cat <<_LT_EOF 1>&2
 
10269
 
 
10270
*** Warning: the command libtool uses to detect shared libraries,
 
10271
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
10272
*** The result is that libtool may fail to recognize shared libraries
 
10273
*** as such.  This will affect the creation of libtool libraries that
 
10274
*** depend on shared libraries, but programs linked with such libtool
 
10275
*** libraries will work regardless of this problem.  Nevertheless, you
 
10276
*** may want to report the problem to your system manager and/or to
 
10277
*** bug-libtool@gnu.org
 
10278
 
 
10279
_LT_EOF
 
10280
          fi ;;
 
10281
        esac
 
10282
      fi
 
10283
      break
 
10284
    fi
 
10285
  done
 
10286
  IFS="$lt_save_ifs"
 
10287
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
10288
  ;;
 
10289
esac
 
10290
fi
 
10291
 
 
10292
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10293
if test -n "$MAGIC_CMD"; then
 
10294
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
10295
$as_echo "$MAGIC_CMD" >&6; }
 
10296
else
 
10297
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10298
$as_echo "no" >&6; }
 
10299
fi
 
10300
 
 
10301
 
 
10302
  else
 
10303
    MAGIC_CMD=:
 
10304
  fi
 
10305
fi
 
10306
 
 
10307
  fi
 
10308
  ;;
 
10309
esac
 
10310
 
 
10311
# Use C for the default configuration in the libtool script
 
10312
 
 
10313
lt_save_CC="$CC"
 
10314
ac_ext=c
 
10315
ac_cpp='$CPP $CPPFLAGS'
 
10316
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10317
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10318
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
10319
 
 
10320
 
 
10321
# Source file extension for C test sources.
 
10322
ac_ext=c
 
10323
 
 
10324
# Object file extension for compiled C test sources.
 
10325
objext=o
 
10326
objext=$objext
 
10327
 
 
10328
# Code to be used in simple compile tests
 
10329
lt_simple_compile_test_code="int some_variable = 0;"
 
10330
 
 
10331
# Code to be used in simple link tests
 
10332
lt_simple_link_test_code='int main(){return(0);}'
 
10333
 
 
10334
 
 
10335
 
 
10336
 
 
10337
 
 
10338
 
 
10339
 
 
10340
# If no C compiler was specified, use CC.
 
10341
LTCC=${LTCC-"$CC"}
 
10342
 
 
10343
# If no C compiler flags were specified, use CFLAGS.
 
10344
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
10345
 
 
10346
# Allow CC to be a program name with arguments.
 
10347
compiler=$CC
 
10348
 
 
10349
# Save the default compiler, since it gets overwritten when the other
 
10350
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
10351
compiler_DEFAULT=$CC
 
10352
 
 
10353
# save warnings/boilerplate of simple test code
 
10354
ac_outfile=conftest.$ac_objext
 
10355
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
10356
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
10357
_lt_compiler_boilerplate=`cat conftest.err`
 
10358
$RM conftest*
 
10359
 
 
10360
ac_outfile=conftest.$ac_objext
 
10361
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
10362
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
10363
_lt_linker_boilerplate=`cat conftest.err`
 
10364
$RM -r conftest*
 
10365
 
 
10366
 
 
10367
if test -n "$compiler"; then
 
10368
 
 
10369
lt_prog_compiler_no_builtin_flag=
 
10370
 
 
10371
if test "$GCC" = yes; then
 
10372
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
10373
 
 
10374
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
10375
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
10376
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
10377
  $as_echo_n "(cached) " >&6
 
10378
else
 
10379
  lt_cv_prog_compiler_rtti_exceptions=no
 
10380
   ac_outfile=conftest.$ac_objext
 
10381
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10382
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
10383
   # Insert the option either (1) after the last *FLAGS variable, or
 
10384
   # (2) before a word containing "conftest.", or (3) at the end.
 
10385
   # Note that $ac_compile itself does not contain backslashes and begins
 
10386
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10387
   # The option is referenced via a variable to avoid confusing sed.
 
10388
   lt_compile=`echo "$ac_compile" | $SED \
 
10389
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10390
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10391
   -e 's:$: $lt_compiler_flag:'`
 
10392
   (eval echo "\"\$as_me:10392: $lt_compile\"" >&5)
 
10393
   (eval "$lt_compile" 2>conftest.err)
 
10394
   ac_status=$?
 
10395
   cat conftest.err >&5
 
10396
   echo "$as_me:10396: \$? = $ac_status" >&5
 
10397
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
10398
     # The compiler can only warn and ignore the option if not recognized
 
10399
     # So say no if there are warnings other than the usual output.
 
10400
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
10401
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10402
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
10403
       lt_cv_prog_compiler_rtti_exceptions=yes
 
10404
     fi
 
10405
   fi
 
10406
   $RM conftest*
 
10407
 
 
10408
fi
 
10409
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
10410
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
10411
 
 
10412
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
10413
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
10414
else
 
10415
    :
 
10416
fi
 
10417
 
 
10418
fi
 
10419
 
 
10420
 
 
10421
 
 
10422
 
 
10423
 
 
10424
 
 
10425
  lt_prog_compiler_wl=
 
10426
lt_prog_compiler_pic=
 
10427
lt_prog_compiler_static=
 
10428
 
 
10429
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
10430
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
10431
 
 
10432
  if test "$GCC" = yes; then
 
10433
    lt_prog_compiler_wl='-Wl,'
 
10434
    lt_prog_compiler_static='-static'
 
10435
 
 
10436
    case $host_os in
 
10437
      aix*)
 
10438
      # All AIX code is PIC.
 
10439
      if test "$host_cpu" = ia64; then
 
10440
        # AIX 5 now supports IA64 processor
 
10441
        lt_prog_compiler_static='-Bstatic'
 
10442
      fi
 
10443
      ;;
 
10444
 
 
10445
    amigaos*)
 
10446
      case $host_cpu in
 
10447
      powerpc)
 
10448
            # see comment about AmigaOS4 .so support
 
10449
            lt_prog_compiler_pic='-fPIC'
 
10450
        ;;
 
10451
      m68k)
 
10452
            # FIXME: we need at least 68020 code to build shared libraries, but
 
10453
            # adding the `-m68020' flag to GCC prevents building anything better,
 
10454
            # like `-m68040'.
 
10455
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
10456
        ;;
 
10457
      esac
 
10458
      ;;
 
10459
 
 
10460
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
10461
      # PIC is the default for these OSes.
 
10462
      ;;
 
10463
 
 
10464
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
10465
      # This hack is so that the source file can tell whether it is being
 
10466
      # built for inclusion in a dll (and should export symbols for example).
 
10467
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
10468
      # (--disable-auto-import) libraries
 
10469
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
10470
      ;;
 
10471
 
 
10472
    darwin* | rhapsody*)
 
10473
      # PIC is the default on this platform
 
10474
      # Common symbols not allowed in MH_DYLIB files
 
10475
      lt_prog_compiler_pic='-fno-common'
 
10476
      ;;
 
10477
 
 
10478
    hpux*)
 
10479
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
10480
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
10481
      # sets the default TLS model and affects inlining.
 
10482
      case $host_cpu in
 
10483
      hppa*64*)
 
10484
        # +Z the default
 
10485
        ;;
 
10486
      *)
 
10487
        lt_prog_compiler_pic='-fPIC'
 
10488
        ;;
 
10489
      esac
 
10490
      ;;
 
10491
 
 
10492
    interix[3-9]*)
 
10493
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
10494
      # Instead, we relocate shared libraries at runtime.
 
10495
      ;;
 
10496
 
 
10497
    msdosdjgpp*)
 
10498
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
10499
      # on systems that don't support them.
 
10500
      lt_prog_compiler_can_build_shared=no
 
10501
      enable_shared=no
 
10502
      ;;
 
10503
 
 
10504
    *nto* | *qnx*)
 
10505
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
10506
      # it will coredump.
 
10507
      lt_prog_compiler_pic='-fPIC -shared'
 
10508
      ;;
 
10509
 
 
10510
    sysv4*MP*)
 
10511
      if test -d /usr/nec; then
 
10512
        lt_prog_compiler_pic=-Kconform_pic
 
10513
      fi
 
10514
      ;;
 
10515
 
 
10516
    *)
 
10517
      lt_prog_compiler_pic='-fPIC'
 
10518
      ;;
 
10519
    esac
 
10520
  else
 
10521
    # PORTME Check for flag to pass linker flags through the system compiler.
 
10522
    case $host_os in
 
10523
    aix*)
 
10524
      lt_prog_compiler_wl='-Wl,'
 
10525
      if test "$host_cpu" = ia64; then
 
10526
        # AIX 5 now supports IA64 processor
 
10527
        lt_prog_compiler_static='-Bstatic'
 
10528
      else
 
10529
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
10530
      fi
 
10531
      ;;
 
10532
 
 
10533
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
10534
      # This hack is so that the source file can tell whether it is being
 
10535
      # built for inclusion in a dll (and should export symbols for example).
 
10536
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
10537
      ;;
 
10538
 
 
10539
    hpux9* | hpux10* | hpux11*)
 
10540
      lt_prog_compiler_wl='-Wl,'
 
10541
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
10542
      # not for PA HP-UX.
 
10543
      case $host_cpu in
 
10544
      hppa*64*|ia64*)
 
10545
        # +Z the default
 
10546
        ;;
 
10547
      *)
 
10548
        lt_prog_compiler_pic='+Z'
 
10549
        ;;
 
10550
      esac
 
10551
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
10552
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
10553
      ;;
 
10554
 
 
10555
    irix5* | irix6* | nonstopux*)
 
10556
      lt_prog_compiler_wl='-Wl,'
 
10557
      # PIC (with -KPIC) is the default.
 
10558
      lt_prog_compiler_static='-non_shared'
 
10559
      ;;
 
10560
 
 
10561
    linux* | k*bsd*-gnu)
 
10562
      case $cc_basename in
 
10563
      # old Intel for x86_64 which still supported -KPIC.
 
10564
      ecc*)
 
10565
        lt_prog_compiler_wl='-Wl,'
 
10566
        lt_prog_compiler_pic='-KPIC'
 
10567
        lt_prog_compiler_static='-static'
 
10568
        ;;
 
10569
      # icc used to be incompatible with GCC.
 
10570
      # ICC 10 doesn't accept -KPIC any more.
 
10571
      icc* | ifort*)
 
10572
        lt_prog_compiler_wl='-Wl,'
 
10573
        lt_prog_compiler_pic='-fPIC'
 
10574
        lt_prog_compiler_static='-static'
 
10575
        ;;
 
10576
      # Lahey Fortran 8.1.
 
10577
      lf95*)
 
10578
        lt_prog_compiler_wl='-Wl,'
 
10579
        lt_prog_compiler_pic='--shared'
 
10580
        lt_prog_compiler_static='--static'
 
10581
        ;;
 
10582
      pgcc* | pgf77* | pgf90* | pgf95*)
 
10583
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
10584
        # which looks to be a dead project)
 
10585
        lt_prog_compiler_wl='-Wl,'
 
10586
        lt_prog_compiler_pic='-fpic'
 
10587
        lt_prog_compiler_static='-Bstatic'
 
10588
        ;;
 
10589
      ccc*)
 
10590
        lt_prog_compiler_wl='-Wl,'
 
10591
        # All Alpha code is PIC.
 
10592
        lt_prog_compiler_static='-non_shared'
 
10593
        ;;
 
10594
      xl*)
 
10595
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
10596
        lt_prog_compiler_wl='-Wl,'
 
10597
        lt_prog_compiler_pic='-qpic'
 
10598
        lt_prog_compiler_static='-qstaticlink'
 
10599
        ;;
 
10600
      *)
 
10601
        case `$CC -V 2>&1 | sed 5q` in
 
10602
        *Sun\ C*)
 
10603
          # Sun C 5.9
 
10604
          lt_prog_compiler_pic='-KPIC'
 
10605
          lt_prog_compiler_static='-Bstatic'
 
10606
          lt_prog_compiler_wl='-Wl,'
 
10607
          ;;
 
10608
        *Sun\ F*)
 
10609
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
10610
          lt_prog_compiler_pic='-KPIC'
 
10611
          lt_prog_compiler_static='-Bstatic'
 
10612
          lt_prog_compiler_wl=''
 
10613
          ;;
 
10614
        esac
 
10615
        ;;
 
10616
      esac
 
10617
      ;;
 
10618
 
 
10619
    newsos6)
 
10620
      lt_prog_compiler_pic='-KPIC'
 
10621
      lt_prog_compiler_static='-Bstatic'
 
10622
      ;;
 
10623
 
 
10624
    *nto* | *qnx*)
 
10625
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
10626
      # it will coredump.
 
10627
      lt_prog_compiler_pic='-fPIC -shared'
 
10628
      ;;
 
10629
 
 
10630
    osf3* | osf4* | osf5*)
 
10631
      lt_prog_compiler_wl='-Wl,'
 
10632
      # All OSF/1 code is PIC.
 
10633
      lt_prog_compiler_static='-non_shared'
 
10634
      ;;
 
10635
 
 
10636
    rdos*)
 
10637
      lt_prog_compiler_static='-non_shared'
 
10638
      ;;
 
10639
 
 
10640
    solaris*)
 
10641
      lt_prog_compiler_pic='-KPIC'
 
10642
      lt_prog_compiler_static='-Bstatic'
 
10643
      case $cc_basename in
 
10644
      f77* | f90* | f95*)
 
10645
        lt_prog_compiler_wl='-Qoption ld ';;
 
10646
      *)
 
10647
        lt_prog_compiler_wl='-Wl,';;
 
10648
      esac
 
10649
      ;;
 
10650
 
 
10651
    sunos4*)
 
10652
      lt_prog_compiler_wl='-Qoption ld '
 
10653
      lt_prog_compiler_pic='-PIC'
 
10654
      lt_prog_compiler_static='-Bstatic'
 
10655
      ;;
 
10656
 
 
10657
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
10658
      lt_prog_compiler_wl='-Wl,'
 
10659
      lt_prog_compiler_pic='-KPIC'
 
10660
      lt_prog_compiler_static='-Bstatic'
 
10661
      ;;
 
10662
 
 
10663
    sysv4*MP*)
 
10664
      if test -d /usr/nec ;then
 
10665
        lt_prog_compiler_pic='-Kconform_pic'
 
10666
        lt_prog_compiler_static='-Bstatic'
 
10667
      fi
 
10668
      ;;
 
10669
 
 
10670
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
10671
      lt_prog_compiler_wl='-Wl,'
 
10672
      lt_prog_compiler_pic='-KPIC'
 
10673
      lt_prog_compiler_static='-Bstatic'
 
10674
      ;;
 
10675
 
 
10676
    unicos*)
 
10677
      lt_prog_compiler_wl='-Wl,'
 
10678
      lt_prog_compiler_can_build_shared=no
 
10679
      ;;
 
10680
 
 
10681
    uts4*)
 
10682
      lt_prog_compiler_pic='-pic'
 
10683
      lt_prog_compiler_static='-Bstatic'
 
10684
      ;;
 
10685
 
 
10686
    *)
 
10687
      lt_prog_compiler_can_build_shared=no
 
10688
      ;;
 
10689
    esac
 
10690
  fi
 
10691
 
 
10692
case $host_os in
 
10693
  # For platforms which do not support PIC, -DPIC is meaningless:
 
10694
  *djgpp*)
 
10695
    lt_prog_compiler_pic=
 
10696
    ;;
 
10697
  *)
 
10698
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
10699
    ;;
 
10700
esac
 
10701
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
10702
$as_echo "$lt_prog_compiler_pic" >&6; }
 
10703
 
 
10704
 
 
10705
 
 
10706
 
 
10707
 
 
10708
 
 
10709
#
 
10710
# Check to make sure the PIC flag actually works.
 
10711
#
 
10712
if test -n "$lt_prog_compiler_pic"; then
 
10713
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
10714
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
10715
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
10716
  $as_echo_n "(cached) " >&6
 
10717
else
 
10718
  lt_cv_prog_compiler_pic_works=no
 
10719
   ac_outfile=conftest.$ac_objext
 
10720
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10721
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
10722
   # Insert the option either (1) after the last *FLAGS variable, or
 
10723
   # (2) before a word containing "conftest.", or (3) at the end.
 
10724
   # Note that $ac_compile itself does not contain backslashes and begins
 
10725
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10726
   # The option is referenced via a variable to avoid confusing sed.
 
10727
   lt_compile=`echo "$ac_compile" | $SED \
 
10728
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10729
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10730
   -e 's:$: $lt_compiler_flag:'`
 
10731
   (eval echo "\"\$as_me:10731: $lt_compile\"" >&5)
 
10732
   (eval "$lt_compile" 2>conftest.err)
 
10733
   ac_status=$?
 
10734
   cat conftest.err >&5
 
10735
   echo "$as_me:10735: \$? = $ac_status" >&5
 
10736
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
10737
     # The compiler can only warn and ignore the option if not recognized
 
10738
     # So say no if there are warnings other than the usual output.
 
10739
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
10740
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10741
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
10742
       lt_cv_prog_compiler_pic_works=yes
 
10743
     fi
 
10744
   fi
 
10745
   $RM conftest*
 
10746
 
 
10747
fi
 
10748
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
10749
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
10750
 
 
10751
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
10752
    case $lt_prog_compiler_pic in
 
10753
     "" | " "*) ;;
 
10754
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
10755
     esac
 
10756
else
 
10757
    lt_prog_compiler_pic=
 
10758
     lt_prog_compiler_can_build_shared=no
 
10759
fi
 
10760
 
 
10761
fi
 
10762
 
 
10763
 
 
10764
 
 
10765
 
 
10766
 
 
10767
 
 
10768
#
 
10769
# Check to make sure the static flag actually works.
 
10770
#
 
10771
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
10772
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
10773
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
10774
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
10775
  $as_echo_n "(cached) " >&6
 
10776
else
 
10777
  lt_cv_prog_compiler_static_works=no
 
10778
   save_LDFLAGS="$LDFLAGS"
 
10779
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
10780
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
10781
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
10782
     # The linker can only warn and ignore the option if not recognized
 
10783
     # So say no if there are warnings
 
10784
     if test -s conftest.err; then
 
10785
       # Append any errors to the config.log.
 
10786
       cat conftest.err 1>&5
 
10787
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
10788
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10789
       if diff conftest.exp conftest.er2 >/dev/null; then
 
10790
         lt_cv_prog_compiler_static_works=yes
 
10791
       fi
 
10792
     else
 
10793
       lt_cv_prog_compiler_static_works=yes
 
10794
     fi
 
10795
   fi
 
10796
   $RM -r conftest*
 
10797
   LDFLAGS="$save_LDFLAGS"
 
10798
 
 
10799
fi
 
10800
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
10801
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
10802
 
 
10803
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
10804
    :
 
10805
else
 
10806
    lt_prog_compiler_static=
 
10807
fi
 
10808
 
 
10809
 
 
10810
 
 
10811
 
 
10812
 
 
10813
 
 
10814
 
 
10815
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
10816
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
10817
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
10818
  $as_echo_n "(cached) " >&6
 
10819
else
 
10820
  lt_cv_prog_compiler_c_o=no
 
10821
   $RM -r conftest 2>/dev/null
 
10822
   mkdir conftest
 
10823
   cd conftest
 
10824
   mkdir out
 
10825
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10826
 
 
10827
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
10828
   # Insert the option either (1) after the last *FLAGS variable, or
 
10829
   # (2) before a word containing "conftest.", or (3) at the end.
 
10830
   # Note that $ac_compile itself does not contain backslashes and begins
 
10831
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10832
   lt_compile=`echo "$ac_compile" | $SED \
 
10833
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10834
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10835
   -e 's:$: $lt_compiler_flag:'`
 
10836
   (eval echo "\"\$as_me:10836: $lt_compile\"" >&5)
 
10837
   (eval "$lt_compile" 2>out/conftest.err)
 
10838
   ac_status=$?
 
10839
   cat out/conftest.err >&5
 
10840
   echo "$as_me:10840: \$? = $ac_status" >&5
 
10841
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
10842
   then
 
10843
     # The compiler can only warn and ignore the option if not recognized
 
10844
     # So say no if there are warnings
 
10845
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
10846
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
10847
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
10848
       lt_cv_prog_compiler_c_o=yes
 
10849
     fi
 
10850
   fi
 
10851
   chmod u+w . 2>&5
 
10852
   $RM conftest*
 
10853
   # SGI C++ compiler will create directory out/ii_files/ for
 
10854
   # template instantiation
 
10855
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
10856
   $RM out/* && rmdir out
 
10857
   cd ..
 
10858
   $RM -r conftest
 
10859
   $RM conftest*
 
10860
 
 
10861
fi
 
10862
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
10863
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
10864
 
 
10865
 
 
10866
 
 
10867
 
 
10868
 
 
10869
 
 
10870
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
10871
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
10872
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
10873
  $as_echo_n "(cached) " >&6
 
10874
else
 
10875
  lt_cv_prog_compiler_c_o=no
 
10876
   $RM -r conftest 2>/dev/null
 
10877
   mkdir conftest
 
10878
   cd conftest
 
10879
   mkdir out
 
10880
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10881
 
 
10882
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
10883
   # Insert the option either (1) after the last *FLAGS variable, or
 
10884
   # (2) before a word containing "conftest.", or (3) at the end.
 
10885
   # Note that $ac_compile itself does not contain backslashes and begins
 
10886
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10887
   lt_compile=`echo "$ac_compile" | $SED \
 
10888
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10889
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10890
   -e 's:$: $lt_compiler_flag:'`
 
10891
   (eval echo "\"\$as_me:10891: $lt_compile\"" >&5)
 
10892
   (eval "$lt_compile" 2>out/conftest.err)
 
10893
   ac_status=$?
 
10894
   cat out/conftest.err >&5
 
10895
   echo "$as_me:10895: \$? = $ac_status" >&5
 
10896
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
10897
   then
 
10898
     # The compiler can only warn and ignore the option if not recognized
 
10899
     # So say no if there are warnings
 
10900
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
10901
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
10902
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
10903
       lt_cv_prog_compiler_c_o=yes
 
10904
     fi
 
10905
   fi
 
10906
   chmod u+w . 2>&5
 
10907
   $RM conftest*
 
10908
   # SGI C++ compiler will create directory out/ii_files/ for
 
10909
   # template instantiation
 
10910
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
10911
   $RM out/* && rmdir out
 
10912
   cd ..
 
10913
   $RM -r conftest
 
10914
   $RM conftest*
 
10915
 
 
10916
fi
 
10917
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
10918
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
10919
 
 
10920
 
 
10921
 
 
10922
 
 
10923
hard_links="nottested"
 
10924
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
10925
  # do not overwrite the value of need_locks provided by the user
 
10926
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
10927
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
10928
  hard_links=yes
 
10929
  $RM conftest*
 
10930
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
10931
  touch conftest.a
 
10932
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
10933
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
10934
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
10935
$as_echo "$hard_links" >&6; }
 
10936
  if test "$hard_links" = no; then
 
10937
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
10938
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
10939
    need_locks=warn
 
10940
  fi
 
10941
else
 
10942
  need_locks=no
 
10943
fi
 
10944
 
 
10945
 
 
10946
 
 
10947
 
 
10948
 
 
10949
 
 
10950
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
10951
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
10952
 
 
10953
  runpath_var=
 
10954
  allow_undefined_flag=
 
10955
  always_export_symbols=no
 
10956
  archive_cmds=
 
10957
  archive_expsym_cmds=
 
10958
  compiler_needs_object=no
 
10959
  enable_shared_with_static_runtimes=no
 
10960
  export_dynamic_flag_spec=
 
10961
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
10962
  hardcode_automatic=no
 
10963
  hardcode_direct=no
 
10964
  hardcode_direct_absolute=no
 
10965
  hardcode_libdir_flag_spec=
 
10966
  hardcode_libdir_flag_spec_ld=
 
10967
  hardcode_libdir_separator=
 
10968
  hardcode_minus_L=no
 
10969
  hardcode_shlibpath_var=unsupported
 
10970
  inherit_rpath=no
 
10971
  link_all_deplibs=unknown
 
10972
  module_cmds=
 
10973
  module_expsym_cmds=
 
10974
  old_archive_from_new_cmds=
 
10975
  old_archive_from_expsyms_cmds=
 
10976
  thread_safe_flag_spec=
 
10977
  whole_archive_flag_spec=
 
10978
  # include_expsyms should be a list of space-separated symbols to be *always*
 
10979
  # included in the symbol list
 
10980
  include_expsyms=
 
10981
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
10982
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
10983
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
10984
  # as well as any symbol that contains `d'.
 
10985
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
10986
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
10987
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
10988
  # the symbol is explicitly referenced.  Since portable code cannot
 
10989
  # rely on this symbol name, it's probably fine to never include it in
 
10990
  # preloaded symbol tables.
 
10991
  # Exclude shared library initialization/finalization symbols.
 
10992
  extract_expsyms_cmds=
 
10993
 
 
10994
  case $host_os in
 
10995
  cygwin* | mingw* | pw32* | cegcc*)
 
10996
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
10997
    # When not using gcc, we currently assume that we are using
 
10998
    # Microsoft Visual C++.
 
10999
    if test "$GCC" != yes; then
 
11000
      with_gnu_ld=no
 
11001
    fi
 
11002
    ;;
 
11003
  interix*)
 
11004
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
11005
    with_gnu_ld=yes
 
11006
    ;;
 
11007
  openbsd*)
 
11008
    with_gnu_ld=no
 
11009
    ;;
 
11010
  esac
 
11011
 
 
11012
  ld_shlibs=yes
 
11013
  if test "$with_gnu_ld" = yes; then
 
11014
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
11015
    wlarc='${wl}'
 
11016
 
 
11017
    # Set some defaults for GNU ld with shared library support. These
 
11018
    # are reset later if shared libraries are not supported. Putting them
 
11019
    # here allows them to be overridden if necessary.
 
11020
    runpath_var=LD_RUN_PATH
 
11021
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11022
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
11023
    # ancient GNU ld didn't support --whole-archive et. al.
 
11024
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
11025
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
11026
    else
 
11027
      whole_archive_flag_spec=
 
11028
    fi
 
11029
    supports_anon_versioning=no
 
11030
    case `$LD -v 2>&1` in
 
11031
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
11032
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
11033
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
11034
      *\ 2.11.*) ;; # other 2.11 versions
 
11035
      *) supports_anon_versioning=yes ;;
 
11036
    esac
 
11037
 
 
11038
    # See if GNU ld supports shared libraries.
 
11039
    case $host_os in
 
11040
    aix[3-9]*)
 
11041
      # On AIX/PPC, the GNU linker is very broken
 
11042
      if test "$host_cpu" != ia64; then
 
11043
        ld_shlibs=no
 
11044
        cat <<_LT_EOF 1>&2
 
11045
 
 
11046
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
11047
*** to be unable to reliably create shared libraries on AIX.
 
11048
*** Therefore, libtool is disabling shared libraries support.  If you
 
11049
*** really care for shared libraries, you may want to modify your PATH
 
11050
*** so that a non-GNU linker is found, and then restart.
 
11051
 
 
11052
_LT_EOF
 
11053
      fi
 
11054
      ;;
 
11055
 
 
11056
    amigaos*)
 
11057
      case $host_cpu in
 
11058
      powerpc)
 
11059
            # see comment about AmigaOS4 .so support
 
11060
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11061
            archive_expsym_cmds=''
 
11062
        ;;
 
11063
      m68k)
 
11064
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
11065
            hardcode_libdir_flag_spec='-L$libdir'
 
11066
            hardcode_minus_L=yes
 
11067
        ;;
 
11068
      esac
 
11069
      ;;
 
11070
 
 
11071
    beos*)
 
11072
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
11073
        allow_undefined_flag=unsupported
 
11074
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
11075
        # support --undefined.  This deserves some investigation.  FIXME
 
11076
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11077
      else
 
11078
        ld_shlibs=no
 
11079
      fi
 
11080
      ;;
 
11081
 
 
11082
    cygwin* | mingw* | pw32* | cegcc*)
 
11083
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
11084
      # as there is no search path for DLLs.
 
11085
      hardcode_libdir_flag_spec='-L$libdir'
 
11086
      allow_undefined_flag=unsupported
 
11087
      always_export_symbols=no
 
11088
      enable_shared_with_static_runtimes=yes
 
11089
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
11090
 
 
11091
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
11092
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
11093
        # If the export-symbols file already is a .def file (1st line
 
11094
        # is EXPORTS), use it as is; otherwise, prepend...
 
11095
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
11096
          cp $export_symbols $output_objdir/$soname.def;
 
11097
        else
 
11098
          echo EXPORTS > $output_objdir/$soname.def;
 
11099
          cat $export_symbols >> $output_objdir/$soname.def;
 
11100
        fi~
 
11101
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
11102
      else
 
11103
        ld_shlibs=no
 
11104
      fi
 
11105
      ;;
 
11106
 
 
11107
    interix[3-9]*)
 
11108
      hardcode_direct=no
 
11109
      hardcode_shlibpath_var=no
 
11110
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
11111
      export_dynamic_flag_spec='${wl}-E'
 
11112
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
11113
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
11114
      # default) and relocated if they conflict, which is a slow very memory
 
11115
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
11116
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
11117
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
11118
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
11119
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
11120
      ;;
 
11121
 
 
11122
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
11123
      tmp_diet=no
 
11124
      if test "$host_os" = linux-dietlibc; then
 
11125
        case $cc_basename in
 
11126
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
11127
        esac
 
11128
      fi
 
11129
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
11130
         && test "$tmp_diet" = no
 
11131
      then
 
11132
        tmp_addflag=
 
11133
        tmp_sharedflag='-shared'
 
11134
        case $cc_basename,$host_cpu in
 
11135
        pgcc*)                          # Portland Group C compiler
 
11136
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
11137
          tmp_addflag=' $pic_flag'
 
11138
          ;;
 
11139
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
11140
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
11141
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
11142
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
11143
          tmp_addflag=' -i_dynamic' ;;
 
11144
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
11145
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
11146
        ifc* | ifort*)                  # Intel Fortran compiler
 
11147
          tmp_addflag=' -nofor_main' ;;
 
11148
        lf95*)                          # Lahey Fortran 8.1
 
11149
          whole_archive_flag_spec=
 
11150
          tmp_sharedflag='--shared' ;;
 
11151
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
11152
          tmp_sharedflag='-qmkshrobj'
 
11153
          tmp_addflag= ;;
 
11154
        esac
 
11155
        case `$CC -V 2>&1 | sed 5q` in
 
11156
        *Sun\ C*)                       # Sun C 5.9
 
11157
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
11158
          compiler_needs_object=yes
 
11159
          tmp_sharedflag='-G' ;;
 
11160
        *Sun\ F*)                       # Sun Fortran 8.3
 
11161
          tmp_sharedflag='-G' ;;
 
11162
        esac
 
11163
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11164
 
 
11165
        if test "x$supports_anon_versioning" = xyes; then
 
11166
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
11167
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
11168
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
11169
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
11170
        fi
 
11171
 
 
11172
        case $cc_basename in
 
11173
        xlf*)
 
11174
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
11175
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
11176
          hardcode_libdir_flag_spec=
 
11177
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
11178
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
11179
          if test "x$supports_anon_versioning" = xyes; then
 
11180
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
11181
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
11182
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
11183
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
11184
          fi
 
11185
          ;;
 
11186
        esac
 
11187
      else
 
11188
        ld_shlibs=no
 
11189
      fi
 
11190
      ;;
 
11191
 
 
11192
    netbsd* | netbsdelf*-gnu)
 
11193
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
11194
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
11195
        wlarc=
 
11196
      else
 
11197
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11198
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11199
      fi
 
11200
      ;;
 
11201
 
 
11202
    solaris*)
 
11203
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
11204
        ld_shlibs=no
 
11205
        cat <<_LT_EOF 1>&2
 
11206
 
 
11207
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
11208
*** create shared libraries on Solaris systems.  Therefore, libtool
 
11209
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
11210
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
11211
*** your PATH or compiler configuration so that the native linker is
 
11212
*** used, and then restart.
 
11213
 
 
11214
_LT_EOF
 
11215
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
11216
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11217
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11218
      else
 
11219
        ld_shlibs=no
 
11220
      fi
 
11221
      ;;
 
11222
 
 
11223
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
11224
      case `$LD -v 2>&1` in
 
11225
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
11226
        ld_shlibs=no
 
11227
        cat <<_LT_EOF 1>&2
 
11228
 
 
11229
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
11230
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
11231
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
11232
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
11233
*** your PATH or compiler configuration so that the native linker is
 
11234
*** used, and then restart.
 
11235
 
 
11236
_LT_EOF
 
11237
        ;;
 
11238
        *)
 
11239
          # For security reasons, it is highly recommended that you always
 
11240
          # use absolute paths for naming shared libraries, and exclude the
 
11241
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
11242
          # requires that you compile everything twice, which is a pain.
 
11243
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
11244
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11245
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11246
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11247
          else
 
11248
            ld_shlibs=no
 
11249
          fi
 
11250
        ;;
 
11251
      esac
 
11252
      ;;
 
11253
 
 
11254
    sunos4*)
 
11255
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
11256
      wlarc=
 
11257
      hardcode_direct=yes
 
11258
      hardcode_shlibpath_var=no
 
11259
      ;;
 
11260
 
 
11261
    *)
 
11262
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
11263
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11264
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11265
      else
 
11266
        ld_shlibs=no
 
11267
      fi
 
11268
      ;;
 
11269
    esac
 
11270
 
 
11271
    if test "$ld_shlibs" = no; then
 
11272
      runpath_var=
 
11273
      hardcode_libdir_flag_spec=
 
11274
      export_dynamic_flag_spec=
 
11275
      whole_archive_flag_spec=
 
11276
    fi
 
11277
  else
 
11278
    # PORTME fill in a description of your system's linker (not GNU ld)
 
11279
    case $host_os in
 
11280
    aix3*)
 
11281
      allow_undefined_flag=unsupported
 
11282
      always_export_symbols=yes
 
11283
      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
 
11284
      # Note: this linker hardcodes the directories in LIBPATH if there
 
11285
      # are no directories specified by -L.
 
11286
      hardcode_minus_L=yes
 
11287
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
11288
        # Neither direct hardcoding nor static linking is supported with a
 
11289
        # broken collect2.
 
11290
        hardcode_direct=unsupported
 
11291
      fi
 
11292
      ;;
 
11293
 
 
11294
    aix[4-9]*)
 
11295
      if test "$host_cpu" = ia64; then
 
11296
        # On IA64, the linker does run time linking by default, so we don't
 
11297
        # have to do anything special.
 
11298
        aix_use_runtimelinking=no
 
11299
        exp_sym_flag='-Bexport'
 
11300
        no_entry_flag=""
 
11301
      else
 
11302
        # If we're using GNU nm, then we don't want the "-C" option.
 
11303
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
11304
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
11305
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
11306
        else
 
11307
          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
11308
        fi
 
11309
        aix_use_runtimelinking=no
 
11310
 
 
11311
        # Test if we are trying to use run time linking or normal
 
11312
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
11313
        # need to do runtime linking.
 
11314
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
11315
          for ld_flag in $LDFLAGS; do
 
11316
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
11317
            aix_use_runtimelinking=yes
 
11318
            break
 
11319
          fi
 
11320
          done
 
11321
          ;;
 
11322
        esac
 
11323
 
 
11324
        exp_sym_flag='-bexport'
 
11325
        no_entry_flag='-bnoentry'
 
11326
      fi
 
11327
 
 
11328
      # When large executables or shared objects are built, AIX ld can
 
11329
      # have problems creating the table of contents.  If linking a library
 
11330
      # or program results in "error TOC overflow" add -mminimal-toc to
 
11331
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
11332
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
11333
 
 
11334
      archive_cmds=''
 
11335
      hardcode_direct=yes
 
11336
      hardcode_direct_absolute=yes
 
11337
      hardcode_libdir_separator=':'
 
11338
      link_all_deplibs=yes
 
11339
      file_list_spec='${wl}-f,'
 
11340
 
 
11341
      if test "$GCC" = yes; then
 
11342
        case $host_os in aix4.[012]|aix4.[012].*)
 
11343
        # We only want to do this on AIX 4.2 and lower, the check
 
11344
        # below for broken collect2 doesn't work under 4.3+
 
11345
          collect2name=`${CC} -print-prog-name=collect2`
 
11346
          if test -f "$collect2name" &&
 
11347
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
11348
          then
 
11349
          # We have reworked collect2
 
11350
          :
 
11351
          else
 
11352
          # We have old collect2
 
11353
          hardcode_direct=unsupported
 
11354
          # It fails to find uninstalled libraries when the uninstalled
 
11355
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
11356
          # to unsupported forces relinking
 
11357
          hardcode_minus_L=yes
 
11358
          hardcode_libdir_flag_spec='-L$libdir'
 
11359
          hardcode_libdir_separator=
 
11360
          fi
 
11361
          ;;
 
11362
        esac
 
11363
        shared_flag='-shared'
 
11364
        if test "$aix_use_runtimelinking" = yes; then
 
11365
          shared_flag="$shared_flag "'${wl}-G'
 
11366
        fi
 
11367
        link_all_deplibs=no
 
11368
      else
 
11369
        # not using gcc
 
11370
        if test "$host_cpu" = ia64; then
 
11371
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
11372
        # chokes on -Wl,-G. The following line is correct:
 
11373
          shared_flag='-G'
 
11374
        else
 
11375
          if test "$aix_use_runtimelinking" = yes; then
 
11376
            shared_flag='${wl}-G'
 
11377
          else
 
11378
            shared_flag='${wl}-bM:SRE'
 
11379
          fi
 
11380
        fi
 
11381
      fi
 
11382
 
 
11383
      export_dynamic_flag_spec='${wl}-bexpall'
 
11384
      # It seems that -bexpall does not export symbols beginning with
 
11385
      # underscore (_), so it is better to generate a list of symbols to export.
 
11386
      always_export_symbols=yes
 
11387
      if test "$aix_use_runtimelinking" = yes; then
 
11388
        # Warning - without using the other runtime loading flags (-brtl),
 
11389
        # -berok will link without error, but may produce a broken library.
 
11390
        allow_undefined_flag='-berok'
 
11391
        # Determine the default libpath from the value encoded in an
 
11392
        # empty executable.
 
11393
        cat >conftest.$ac_ext <<_ACEOF
 
11394
/* confdefs.h.  */
 
11395
_ACEOF
 
11396
cat confdefs.h >>conftest.$ac_ext
 
11397
cat >>conftest.$ac_ext <<_ACEOF
 
11398
/* end confdefs.h.  */
 
11399
 
 
11400
int
 
11401
main ()
 
11402
{
 
11403
 
 
11404
  ;
 
11405
  return 0;
 
11406
}
 
11407
_ACEOF
 
11408
rm -f conftest.$ac_objext conftest$ac_exeext
 
11409
if { (ac_try="$ac_link"
 
11410
case "(($ac_try" in
 
11411
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11412
  *) ac_try_echo=$ac_try;;
 
11413
esac
 
11414
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11415
$as_echo "$ac_try_echo") >&5
 
11416
  (eval "$ac_link") 2>conftest.er1
 
11417
  ac_status=$?
 
11418
  grep -v '^ *+' conftest.er1 >conftest.err
 
11419
  rm -f conftest.er1
 
11420
  cat conftest.err >&5
 
11421
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11422
  (exit $ac_status); } && {
 
11423
         test -z "$ac_c_werror_flag" ||
 
11424
         test ! -s conftest.err
 
11425
       } && test -s conftest$ac_exeext && {
 
11426
         test "$cross_compiling" = yes ||
 
11427
         $as_test_x conftest$ac_exeext
 
11428
       }; then
 
11429
 
 
11430
lt_aix_libpath_sed='
 
11431
    /Import File Strings/,/^$/ {
 
11432
        /^0/ {
 
11433
            s/^0  *\(.*\)$/\1/
 
11434
            p
 
11435
        }
 
11436
    }'
 
11437
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11438
# Check for a 64-bit object if we didn't find anything.
 
11439
if test -z "$aix_libpath"; then
 
11440
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11441
fi
 
11442
else
 
11443
  $as_echo "$as_me: failed program was:" >&5
 
11444
sed 's/^/| /' conftest.$ac_ext >&5
 
11445
 
 
11446
 
 
11447
fi
 
11448
 
 
11449
rm -rf conftest.dSYM
 
11450
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11451
      conftest$ac_exeext conftest.$ac_ext
 
11452
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
11453
 
 
11454
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
11455
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
11456
      else
 
11457
        if test "$host_cpu" = ia64; then
 
11458
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
11459
          allow_undefined_flag="-z nodefs"
 
11460
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
 
11461
        else
 
11462
         # Determine the default libpath from the value encoded in an
 
11463
         # empty executable.
 
11464
         cat >conftest.$ac_ext <<_ACEOF
 
11465
/* confdefs.h.  */
 
11466
_ACEOF
 
11467
cat confdefs.h >>conftest.$ac_ext
 
11468
cat >>conftest.$ac_ext <<_ACEOF
 
11469
/* end confdefs.h.  */
 
11470
 
 
11471
int
 
11472
main ()
 
11473
{
 
11474
 
 
11475
  ;
 
11476
  return 0;
 
11477
}
 
11478
_ACEOF
 
11479
rm -f conftest.$ac_objext conftest$ac_exeext
 
11480
if { (ac_try="$ac_link"
 
11481
case "(($ac_try" in
 
11482
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11483
  *) ac_try_echo=$ac_try;;
 
11484
esac
 
11485
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11486
$as_echo "$ac_try_echo") >&5
 
11487
  (eval "$ac_link") 2>conftest.er1
 
11488
  ac_status=$?
 
11489
  grep -v '^ *+' conftest.er1 >conftest.err
 
11490
  rm -f conftest.er1
 
11491
  cat conftest.err >&5
 
11492
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11493
  (exit $ac_status); } && {
 
11494
         test -z "$ac_c_werror_flag" ||
 
11495
         test ! -s conftest.err
 
11496
       } && test -s conftest$ac_exeext && {
 
11497
         test "$cross_compiling" = yes ||
 
11498
         $as_test_x conftest$ac_exeext
 
11499
       }; then
 
11500
 
 
11501
lt_aix_libpath_sed='
 
11502
    /Import File Strings/,/^$/ {
 
11503
        /^0/ {
 
11504
            s/^0  *\(.*\)$/\1/
 
11505
            p
 
11506
        }
 
11507
    }'
 
11508
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11509
# Check for a 64-bit object if we didn't find anything.
 
11510
if test -z "$aix_libpath"; then
 
11511
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11512
fi
 
11513
else
 
11514
  $as_echo "$as_me: failed program was:" >&5
 
11515
sed 's/^/| /' conftest.$ac_ext >&5
 
11516
 
 
11517
 
 
11518
fi
 
11519
 
 
11520
rm -rf conftest.dSYM
 
11521
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11522
      conftest$ac_exeext conftest.$ac_ext
 
11523
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
11524
 
 
11525
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
11526
          # Warning - without using the other run time loading flags,
 
11527
          # -berok will link without error, but may produce a broken library.
 
11528
          no_undefined_flag=' ${wl}-bernotok'
 
11529
          allow_undefined_flag=' ${wl}-berok'
 
11530
          # Exported symbols can be pulled into shared objects from archives
 
11531
          whole_archive_flag_spec='$convenience'
 
11532
          archive_cmds_need_lc=yes
 
11533
          # This is similar to how AIX traditionally builds its shared libraries.
 
11534
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
11535
        fi
 
11536
      fi
 
11537
      ;;
 
11538
 
 
11539
    amigaos*)
 
11540
      case $host_cpu in
 
11541
      powerpc)
 
11542
            # see comment about AmigaOS4 .so support
 
11543
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11544
            archive_expsym_cmds=''
 
11545
        ;;
 
11546
      m68k)
 
11547
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
11548
            hardcode_libdir_flag_spec='-L$libdir'
 
11549
            hardcode_minus_L=yes
 
11550
        ;;
 
11551
      esac
 
11552
      ;;
 
11553
 
 
11554
    bsdi[45]*)
 
11555
      export_dynamic_flag_spec=-rdynamic
 
11556
      ;;
 
11557
 
 
11558
    cygwin* | mingw* | pw32* | cegcc*)
 
11559
      # When not using gcc, we currently assume that we are using
 
11560
      # Microsoft Visual C++.
 
11561
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
11562
      # no search path for DLLs.
 
11563
      hardcode_libdir_flag_spec=' '
 
11564
      allow_undefined_flag=unsupported
 
11565
      # Tell ltmain to make .lib files, not .a files.
 
11566
      libext=lib
 
11567
      # Tell ltmain to make .dll files, not .so files.
 
11568
      shrext_cmds=".dll"
 
11569
      # FIXME: Setting linknames here is a bad hack.
 
11570
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
11571
      # The linker will automatically build a .lib file if we build a DLL.
 
11572
      old_archive_from_new_cmds='true'
 
11573
      # FIXME: Should let the user specify the lib program.
 
11574
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
11575
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
11576
      enable_shared_with_static_runtimes=yes
 
11577
      ;;
 
11578
 
 
11579
    darwin* | rhapsody*)
 
11580
 
 
11581
 
 
11582
  archive_cmds_need_lc=no
 
11583
  hardcode_direct=no
 
11584
  hardcode_automatic=yes
 
11585
  hardcode_shlibpath_var=unsupported
 
11586
  whole_archive_flag_spec=''
 
11587
  link_all_deplibs=yes
 
11588
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
11589
  case $cc_basename in
 
11590
     ifort*) _lt_dar_can_shared=yes ;;
 
11591
     *) _lt_dar_can_shared=$GCC ;;
 
11592
  esac
 
11593
  if test "$_lt_dar_can_shared" = "yes"; then
 
11594
    output_verbose_link_cmd=echo
 
11595
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
11596
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
11597
    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
11598
    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
11599
 
 
11600
  else
 
11601
  ld_shlibs=no
 
11602
  fi
 
11603
 
 
11604
      ;;
 
11605
 
 
11606
    dgux*)
 
11607
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11608
      hardcode_libdir_flag_spec='-L$libdir'
 
11609
      hardcode_shlibpath_var=no
 
11610
      ;;
 
11611
 
 
11612
    freebsd1*)
 
11613
      ld_shlibs=no
 
11614
      ;;
 
11615
 
 
11616
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
11617
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
11618
    # does not break anything, and helps significantly (at the cost of a little
 
11619
    # extra space).
 
11620
    freebsd2.2*)
 
11621
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
11622
      hardcode_libdir_flag_spec='-R$libdir'
 
11623
      hardcode_direct=yes
 
11624
      hardcode_shlibpath_var=no
 
11625
      ;;
 
11626
 
 
11627
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
11628
    freebsd2*)
 
11629
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
11630
      hardcode_direct=yes
 
11631
      hardcode_minus_L=yes
 
11632
      hardcode_shlibpath_var=no
 
11633
      ;;
 
11634
 
 
11635
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
11636
    freebsd* | dragonfly*)
 
11637
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
11638
      hardcode_libdir_flag_spec='-R$libdir'
 
11639
      hardcode_direct=yes
 
11640
      hardcode_shlibpath_var=no
 
11641
      ;;
 
11642
 
 
11643
    hpux9*)
 
11644
      if test "$GCC" = yes; then
 
11645
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
11646
      else
 
11647
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
11648
      fi
 
11649
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11650
      hardcode_libdir_separator=:
 
11651
      hardcode_direct=yes
 
11652
 
 
11653
      # hardcode_minus_L: Not really in the search PATH,
 
11654
      # but as the default location of the library.
 
11655
      hardcode_minus_L=yes
 
11656
      export_dynamic_flag_spec='${wl}-E'
 
11657
      ;;
 
11658
 
 
11659
    hpux10*)
 
11660
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
11661
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11662
      else
 
11663
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
11664
      fi
 
11665
      if test "$with_gnu_ld" = no; then
 
11666
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11667
        hardcode_libdir_flag_spec_ld='+b $libdir'
 
11668
        hardcode_libdir_separator=:
 
11669
        hardcode_direct=yes
 
11670
        hardcode_direct_absolute=yes
 
11671
        export_dynamic_flag_spec='${wl}-E'
 
11672
        # hardcode_minus_L: Not really in the search PATH,
 
11673
        # but as the default location of the library.
 
11674
        hardcode_minus_L=yes
 
11675
      fi
 
11676
      ;;
 
11677
 
 
11678
    hpux11*)
 
11679
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
11680
        case $host_cpu in
 
11681
        hppa*64*)
 
11682
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11683
          ;;
 
11684
        ia64*)
 
11685
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
11686
          ;;
 
11687
        *)
 
11688
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11689
          ;;
 
11690
        esac
 
11691
      else
 
11692
        case $host_cpu in
 
11693
        hppa*64*)
 
11694
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11695
          ;;
 
11696
        ia64*)
 
11697
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
11698
          ;;
 
11699
        *)
 
11700
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11701
          ;;
 
11702
        esac
 
11703
      fi
 
11704
      if test "$with_gnu_ld" = no; then
 
11705
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11706
        hardcode_libdir_separator=:
 
11707
 
 
11708
        case $host_cpu in
 
11709
        hppa*64*|ia64*)
 
11710
          hardcode_direct=no
 
11711
          hardcode_shlibpath_var=no
 
11712
          ;;
 
11713
        *)
 
11714
          hardcode_direct=yes
 
11715
          hardcode_direct_absolute=yes
 
11716
          export_dynamic_flag_spec='${wl}-E'
 
11717
 
 
11718
          # hardcode_minus_L: Not really in the search PATH,
 
11719
          # but as the default location of the library.
 
11720
          hardcode_minus_L=yes
 
11721
          ;;
 
11722
        esac
 
11723
      fi
 
11724
      ;;
 
11725
 
 
11726
    irix5* | irix6* | nonstopux*)
 
11727
      if test "$GCC" = yes; then
 
11728
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
11729
        # Try to use the -exported_symbol ld option, if it does not
 
11730
        # work, assume that -exports_file does not work either and
 
11731
        # implicitly export all symbols.
 
11732
        save_LDFLAGS="$LDFLAGS"
 
11733
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
11734
        cat >conftest.$ac_ext <<_ACEOF
 
11735
int foo(void) {}
 
11736
_ACEOF
 
11737
rm -f conftest.$ac_objext conftest$ac_exeext
 
11738
if { (ac_try="$ac_link"
 
11739
case "(($ac_try" in
 
11740
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11741
  *) ac_try_echo=$ac_try;;
 
11742
esac
 
11743
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11744
$as_echo "$ac_try_echo") >&5
 
11745
  (eval "$ac_link") 2>conftest.er1
 
11746
  ac_status=$?
 
11747
  grep -v '^ *+' conftest.er1 >conftest.err
 
11748
  rm -f conftest.er1
 
11749
  cat conftest.err >&5
 
11750
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11751
  (exit $ac_status); } && {
 
11752
         test -z "$ac_c_werror_flag" ||
 
11753
         test ! -s conftest.err
 
11754
       } && test -s conftest$ac_exeext && {
 
11755
         test "$cross_compiling" = yes ||
 
11756
         $as_test_x conftest$ac_exeext
 
11757
       }; then
 
11758
  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'
 
11759
 
 
11760
else
 
11761
  $as_echo "$as_me: failed program was:" >&5
 
11762
sed 's/^/| /' conftest.$ac_ext >&5
 
11763
 
 
11764
 
 
11765
fi
 
11766
 
 
11767
rm -rf conftest.dSYM
 
11768
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11769
      conftest$ac_exeext conftest.$ac_ext
 
11770
        LDFLAGS="$save_LDFLAGS"
 
11771
      else
 
11772
        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'
 
11773
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 
11774
      fi
 
11775
      archive_cmds_need_lc='no'
 
11776
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11777
      hardcode_libdir_separator=:
 
11778
      inherit_rpath=yes
 
11779
      link_all_deplibs=yes
 
11780
      ;;
 
11781
 
 
11782
    netbsd* | netbsdelf*-gnu)
 
11783
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
11784
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
11785
      else
 
11786
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
11787
      fi
 
11788
      hardcode_libdir_flag_spec='-R$libdir'
 
11789
      hardcode_direct=yes
 
11790
      hardcode_shlibpath_var=no
 
11791
      ;;
 
11792
 
 
11793
    newsos6)
 
11794
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11795
      hardcode_direct=yes
 
11796
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11797
      hardcode_libdir_separator=:
 
11798
      hardcode_shlibpath_var=no
 
11799
      ;;
 
11800
 
 
11801
    *nto* | *qnx*)
 
11802
      ;;
 
11803
 
 
11804
    openbsd*)
 
11805
      if test -f /usr/libexec/ld.so; then
 
11806
        hardcode_direct=yes
 
11807
        hardcode_shlibpath_var=no
 
11808
        hardcode_direct_absolute=yes
 
11809
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11810
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11811
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
11812
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
11813
          export_dynamic_flag_spec='${wl}-E'
 
11814
        else
 
11815
          case $host_os in
 
11816
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
11817
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
11818
             hardcode_libdir_flag_spec='-R$libdir'
 
11819
             ;;
 
11820
           *)
 
11821
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11822
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
11823
             ;;
 
11824
          esac
 
11825
        fi
 
11826
      else
 
11827
        ld_shlibs=no
 
11828
      fi
 
11829
      ;;
 
11830
 
 
11831
    os2*)
 
11832
      hardcode_libdir_flag_spec='-L$libdir'
 
11833
      hardcode_minus_L=yes
 
11834
      allow_undefined_flag=unsupported
 
11835
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 
11836
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
11837
      ;;
 
11838
 
 
11839
    osf3*)
 
11840
      if test "$GCC" = yes; then
 
11841
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
11842
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
11843
      else
 
11844
        allow_undefined_flag=' -expect_unresolved \*'
 
11845
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
11846
      fi
 
11847
      archive_cmds_need_lc='no'
 
11848
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11849
      hardcode_libdir_separator=:
 
11850
      ;;
 
11851
 
 
11852
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
11853
      if test "$GCC" = yes; then
 
11854
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
11855
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
11856
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11857
      else
 
11858
        allow_undefined_flag=' -expect_unresolved \*'
 
11859
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
11860
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
 
11861
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
11862
 
 
11863
        # Both c and cxx compiler support -rpath directly
 
11864
        hardcode_libdir_flag_spec='-rpath $libdir'
 
11865
      fi
 
11866
      archive_cmds_need_lc='no'
 
11867
      hardcode_libdir_separator=:
 
11868
      ;;
 
11869
 
 
11870
    solaris*)
 
11871
      no_undefined_flag=' -z defs'
 
11872
      if test "$GCC" = yes; then
 
11873
        wlarc='${wl}'
 
11874
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11875
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
11876
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
11877
      else
 
11878
        case `$CC -V 2>&1` in
 
11879
        *"Compilers 5.0"*)
 
11880
          wlarc=''
 
11881
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11882
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
11883
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
11884
          ;;
 
11885
        *)
 
11886
          wlarc='${wl}'
 
11887
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
11888
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
11889
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
11890
          ;;
 
11891
        esac
 
11892
      fi
 
11893
      hardcode_libdir_flag_spec='-R$libdir'
 
11894
      hardcode_shlibpath_var=no
 
11895
      case $host_os in
 
11896
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
11897
      *)
 
11898
        # The compiler driver will combine and reorder linker options,
 
11899
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
11900
        # but is careful enough not to reorder.
 
11901
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
11902
        if test "$GCC" = yes; then
 
11903
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
11904
        else
 
11905
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
11906
        fi
 
11907
        ;;
 
11908
      esac
 
11909
      link_all_deplibs=yes
 
11910
      ;;
 
11911
 
 
11912
    sunos4*)
 
11913
      if test "x$host_vendor" = xsequent; then
 
11914
        # Use $CC to link under sequent, because it throws in some extra .o
 
11915
        # files that make .init and .fini sections work.
 
11916
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
11917
      else
 
11918
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
11919
      fi
 
11920
      hardcode_libdir_flag_spec='-L$libdir'
 
11921
      hardcode_direct=yes
 
11922
      hardcode_minus_L=yes
 
11923
      hardcode_shlibpath_var=no
 
11924
      ;;
 
11925
 
 
11926
    sysv4)
 
11927
      case $host_vendor in
 
11928
        sni)
 
11929
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11930
          hardcode_direct=yes # is this really true???
 
11931
        ;;
 
11932
        siemens)
 
11933
          ## LD is ld it makes a PLAMLIB
 
11934
          ## CC just makes a GrossModule.
 
11935
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
11936
          reload_cmds='$CC -r -o $output$reload_objs'
 
11937
          hardcode_direct=no
 
11938
        ;;
 
11939
        motorola)
 
11940
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11941
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
11942
        ;;
 
11943
      esac
 
11944
      runpath_var='LD_RUN_PATH'
 
11945
      hardcode_shlibpath_var=no
 
11946
      ;;
 
11947
 
 
11948
    sysv4.3*)
 
11949
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11950
      hardcode_shlibpath_var=no
 
11951
      export_dynamic_flag_spec='-Bexport'
 
11952
      ;;
 
11953
 
 
11954
    sysv4*MP*)
 
11955
      if test -d /usr/nec; then
 
11956
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11957
        hardcode_shlibpath_var=no
 
11958
        runpath_var=LD_RUN_PATH
 
11959
        hardcode_runpath_var=yes
 
11960
        ld_shlibs=yes
 
11961
      fi
 
11962
      ;;
 
11963
 
 
11964
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
11965
      no_undefined_flag='${wl}-z,text'
 
11966
      archive_cmds_need_lc=no
 
11967
      hardcode_shlibpath_var=no
 
11968
      runpath_var='LD_RUN_PATH'
 
11969
 
 
11970
      if test "$GCC" = yes; then
 
11971
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11972
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11973
      else
 
11974
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11975
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11976
      fi
 
11977
      ;;
 
11978
 
 
11979
    sysv5* | sco3.2v5* | sco5v6*)
 
11980
      # Note: We can NOT use -z defs as we might desire, because we do not
 
11981
      # link with -lc, and that would cause any symbols used from libc to
 
11982
      # always be unresolved, which means just about no library would
 
11983
      # ever link correctly.  If we're not using GNU ld we use -z text
 
11984
      # though, which does catch some bad symbols but isn't as heavy-handed
 
11985
      # as -z defs.
 
11986
      no_undefined_flag='${wl}-z,text'
 
11987
      allow_undefined_flag='${wl}-z,nodefs'
 
11988
      archive_cmds_need_lc=no
 
11989
      hardcode_shlibpath_var=no
 
11990
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
11991
      hardcode_libdir_separator=':'
 
11992
      link_all_deplibs=yes
 
11993
      export_dynamic_flag_spec='${wl}-Bexport'
 
11994
      runpath_var='LD_RUN_PATH'
 
11995
 
 
11996
      if test "$GCC" = yes; then
 
11997
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11998
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11999
      else
 
12000
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12001
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12002
      fi
 
12003
      ;;
 
12004
 
 
12005
    uts4*)
 
12006
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
12007
      hardcode_libdir_flag_spec='-L$libdir'
 
12008
      hardcode_shlibpath_var=no
 
12009
      ;;
 
12010
 
 
12011
    *)
 
12012
      ld_shlibs=no
 
12013
      ;;
 
12014
    esac
 
12015
 
 
12016
    if test x$host_vendor = xsni; then
 
12017
      case $host in
 
12018
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
12019
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
12020
        ;;
 
12021
      esac
 
12022
    fi
 
12023
  fi
 
12024
 
 
12025
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
12026
$as_echo "$ld_shlibs" >&6; }
 
12027
test "$ld_shlibs" = no && can_build_shared=no
 
12028
 
 
12029
with_gnu_ld=$with_gnu_ld
 
12030
 
 
12031
 
 
12032
 
 
12033
 
 
12034
 
 
12035
 
 
12036
 
 
12037
 
 
12038
 
 
12039
 
 
12040
 
 
12041
 
 
12042
 
 
12043
 
 
12044
 
 
12045
#
 
12046
# Do we need to explicitly link libc?
 
12047
#
 
12048
case "x$archive_cmds_need_lc" in
 
12049
x|xyes)
 
12050
  # Assume -lc should be added
 
12051
  archive_cmds_need_lc=yes
 
12052
 
 
12053
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
12054
    case $archive_cmds in
 
12055
    *'~'*)
 
12056
      # FIXME: we may have to deal with multi-command sequences.
 
12057
      ;;
 
12058
    '$CC '*)
 
12059
      # Test whether the compiler implicitly links with -lc since on some
 
12060
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
12061
      # to ld, don't add -lc before -lgcc.
 
12062
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
12063
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
12064
      $RM conftest*
 
12065
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12066
 
 
12067
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
12068
  (eval $ac_compile) 2>&5
 
12069
  ac_status=$?
 
12070
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12071
  (exit $ac_status); } 2>conftest.err; then
 
12072
        soname=conftest
 
12073
        lib=conftest
 
12074
        libobjs=conftest.$ac_objext
 
12075
        deplibs=
 
12076
        wl=$lt_prog_compiler_wl
 
12077
        pic_flag=$lt_prog_compiler_pic
 
12078
        compiler_flags=-v
 
12079
        linker_flags=-v
 
12080
        verstring=
 
12081
        output_objdir=.
 
12082
        libname=conftest
 
12083
        lt_save_allow_undefined_flag=$allow_undefined_flag
 
12084
        allow_undefined_flag=
 
12085
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
12086
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
12087
  ac_status=$?
 
12088
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12089
  (exit $ac_status); }
 
12090
        then
 
12091
          archive_cmds_need_lc=no
 
12092
        else
 
12093
          archive_cmds_need_lc=yes
 
12094
        fi
 
12095
        allow_undefined_flag=$lt_save_allow_undefined_flag
 
12096
      else
 
12097
        cat conftest.err 1>&5
 
12098
      fi
 
12099
      $RM conftest*
 
12100
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
12101
$as_echo "$archive_cmds_need_lc" >&6; }
 
12102
      ;;
 
12103
    esac
 
12104
  fi
 
12105
  ;;
 
12106
esac
 
12107
 
 
12108
 
 
12109
 
 
12110
 
 
12111
 
 
12112
 
 
12113
 
 
12114
 
 
12115
 
 
12116
 
 
12117
 
 
12118
 
 
12119
 
 
12120
 
 
12121
 
 
12122
 
 
12123
 
 
12124
 
 
12125
 
 
12126
 
 
12127
 
 
12128
 
 
12129
 
 
12130
 
 
12131
 
 
12132
 
 
12133
 
 
12134
 
 
12135
 
 
12136
 
 
12137
 
 
12138
 
 
12139
 
 
12140
 
 
12141
 
 
12142
 
 
12143
 
 
12144
 
 
12145
 
 
12146
 
 
12147
 
 
12148
 
 
12149
 
 
12150
 
 
12151
 
 
12152
 
 
12153
 
 
12154
 
 
12155
 
 
12156
 
 
12157
 
 
12158
 
 
12159
 
 
12160
 
 
12161
 
 
12162
 
 
12163
 
 
12164
 
 
12165
 
 
12166
 
 
12167
 
 
12168
 
 
12169
 
 
12170
 
 
12171
 
 
12172
 
 
12173
 
 
12174
 
 
12175
 
 
12176
 
 
12177
 
 
12178
 
 
12179
 
 
12180
 
 
12181
 
 
12182
 
 
12183
 
 
12184
 
 
12185
 
 
12186
 
 
12187
 
 
12188
 
 
12189
 
 
12190
 
 
12191
 
 
12192
 
 
12193
 
 
12194
 
 
12195
 
 
12196
 
 
12197
 
 
12198
 
 
12199
 
 
12200
 
 
12201
 
 
12202
 
 
12203
 
 
12204
 
 
12205
 
 
12206
 
 
12207
 
 
12208
 
 
12209
 
 
12210
 
 
12211
 
 
12212
 
 
12213
 
 
12214
 
 
12215
 
 
12216
 
 
12217
 
 
12218
 
 
12219
 
 
12220
 
 
12221
 
 
12222
 
 
12223
 
 
12224
 
 
12225
 
 
12226
 
 
12227
 
 
12228
 
 
12229
 
 
12230
 
 
12231
 
 
12232
 
 
12233
 
 
12234
 
 
12235
 
 
12236
 
 
12237
 
 
12238
 
 
12239
 
 
12240
 
 
12241
 
 
12242
 
 
12243
 
 
12244
 
 
12245
 
 
12246
 
 
12247
 
 
12248
 
 
12249
 
 
12250
 
 
12251
 
 
12252
 
 
12253
 
 
12254
 
 
12255
 
 
12256
 
 
12257
 
 
12258
 
 
12259
 
 
12260
 
 
12261
 
 
12262
 
 
12263
 
 
12264
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
12265
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
12266
 
 
12267
if test "$GCC" = yes; then
 
12268
  case $host_os in
 
12269
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
12270
    *) lt_awk_arg="/^libraries:/" ;;
 
12271
  esac
 
12272
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
12273
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
12274
    # if the path contains ";" then we assume it to be the separator
 
12275
    # otherwise default to the standard path separator (i.e. ":") - it is
 
12276
    # assumed that no part of a normal pathname contains ";" but that should
 
12277
    # okay in the real world where ";" in dirpaths is itself problematic.
 
12278
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
12279
  else
 
12280
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
12281
  fi
 
12282
  # Ok, now we have the path, separated by spaces, we can step through it
 
12283
  # and add multilib dir if necessary.
 
12284
  lt_tmp_lt_search_path_spec=
 
12285
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
12286
  for lt_sys_path in $lt_search_path_spec; do
 
12287
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
12288
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
12289
    else
 
12290
      test -d "$lt_sys_path" && \
 
12291
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
12292
    fi
 
12293
  done
 
12294
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
12295
BEGIN {RS=" "; FS="/|\n";} {
 
12296
  lt_foo="";
 
12297
  lt_count=0;
 
12298
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
12299
    if ($lt_i != "" && $lt_i != ".") {
 
12300
      if ($lt_i == "..") {
 
12301
        lt_count++;
 
12302
      } else {
 
12303
        if (lt_count == 0) {
 
12304
          lt_foo="/" $lt_i lt_foo;
 
12305
        } else {
 
12306
          lt_count--;
 
12307
        }
 
12308
      }
 
12309
    }
 
12310
  }
 
12311
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
12312
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
12313
}'`
 
12314
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
12315
else
 
12316
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
12317
fi
 
12318
library_names_spec=
 
12319
libname_spec='lib$name'
 
12320
soname_spec=
 
12321
shrext_cmds=".so"
 
12322
postinstall_cmds=
 
12323
postuninstall_cmds=
 
12324
finish_cmds=
 
12325
finish_eval=
 
12326
shlibpath_var=
 
12327
shlibpath_overrides_runpath=unknown
 
12328
version_type=none
 
12329
dynamic_linker="$host_os ld.so"
 
12330
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
12331
need_lib_prefix=unknown
 
12332
hardcode_into_libs=no
 
12333
 
 
12334
# when you set need_version to no, make sure it does not cause -set_version
 
12335
# flags to be left without arguments
 
12336
need_version=unknown
 
12337
 
 
12338
case $host_os in
 
12339
aix3*)
 
12340
  version_type=linux
 
12341
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
12342
  shlibpath_var=LIBPATH
 
12343
 
 
12344
  # AIX 3 has no versioning support, so we append a major version to the name.
 
12345
  soname_spec='${libname}${release}${shared_ext}$major'
 
12346
  ;;
 
12347
 
 
12348
aix[4-9]*)
 
12349
  version_type=linux
 
12350
  need_lib_prefix=no
 
12351
  need_version=no
 
12352
  hardcode_into_libs=yes
 
12353
  if test "$host_cpu" = ia64; then
 
12354
    # AIX 5 supports IA64
 
12355
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
12356
    shlibpath_var=LD_LIBRARY_PATH
 
12357
  else
 
12358
    # With GCC up to 2.95.x, collect2 would create an import file
 
12359
    # for dependence libraries.  The import file would start with
 
12360
    # the line `#! .'.  This would cause the generated library to
 
12361
    # depend on `.', always an invalid library.  This was fixed in
 
12362
    # development snapshots of GCC prior to 3.0.
 
12363
    case $host_os in
 
12364
      aix4 | aix4.[01] | aix4.[01].*)
 
12365
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
12366
           echo ' yes '
 
12367
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
12368
        :
 
12369
      else
 
12370
        can_build_shared=no
 
12371
      fi
 
12372
      ;;
 
12373
    esac
 
12374
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
12375
    # soname into executable. Probably we can add versioning support to
 
12376
    # collect2, so additional links can be useful in future.
 
12377
    if test "$aix_use_runtimelinking" = yes; then
 
12378
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
12379
      # instead of lib<name>.a to let people know that these are not
 
12380
      # typical AIX shared libraries.
 
12381
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12382
    else
 
12383
      # We preserve .a as extension for shared libraries through AIX4.2
 
12384
      # and later when we are not doing run time linking.
 
12385
      library_names_spec='${libname}${release}.a $libname.a'
 
12386
      soname_spec='${libname}${release}${shared_ext}$major'
 
12387
    fi
 
12388
    shlibpath_var=LIBPATH
 
12389
  fi
 
12390
  ;;
 
12391
 
 
12392
amigaos*)
 
12393
  case $host_cpu in
 
12394
  powerpc)
 
12395
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
12396
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
12397
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12398
    ;;
 
12399
  m68k)
 
12400
    library_names_spec='$libname.ixlibrary $libname.a'
 
12401
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
12402
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
12403
    ;;
 
12404
  esac
 
12405
  ;;
 
12406
 
 
12407
beos*)
 
12408
  library_names_spec='${libname}${shared_ext}'
 
12409
  dynamic_linker="$host_os ld.so"
 
12410
  shlibpath_var=LIBRARY_PATH
 
12411
  ;;
 
12412
 
 
12413
bsdi[45]*)
 
12414
  version_type=linux
 
12415
  need_version=no
 
12416
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12417
  soname_spec='${libname}${release}${shared_ext}$major'
 
12418
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
12419
  shlibpath_var=LD_LIBRARY_PATH
 
12420
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
12421
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
12422
  # the default ld.so.conf also contains /usr/contrib/lib and
 
12423
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
12424
  # libtool to hard-code these into programs
 
12425
  ;;
 
12426
 
 
12427
cygwin* | mingw* | pw32* | cegcc*)
 
12428
  version_type=windows
 
12429
  shrext_cmds=".dll"
 
12430
  need_version=no
 
12431
  need_lib_prefix=no
 
12432
 
 
12433
  case $GCC,$host_os in
 
12434
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
12435
    library_names_spec='$libname.dll.a'
 
12436
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
12437
    postinstall_cmds='base_file=`basename \${file}`~
 
12438
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
12439
      dldir=$destdir/`dirname \$dlpath`~
 
12440
      test -d \$dldir || mkdir -p \$dldir~
 
12441
      $install_prog $dir/$dlname \$dldir/$dlname~
 
12442
      chmod a+x \$dldir/$dlname~
 
12443
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
12444
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
12445
      fi'
 
12446
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
12447
      dlpath=$dir/\$dldll~
 
12448
       $RM \$dlpath'
 
12449
    shlibpath_overrides_runpath=yes
 
12450
 
 
12451
    case $host_os in
 
12452
    cygwin*)
 
12453
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
12454
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
12455
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
12456
      ;;
 
12457
    mingw* | cegcc*)
 
12458
      # MinGW DLLs use traditional 'lib' prefix
 
12459
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
12460
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
12461
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
12462
        # It is most probably a Windows format PATH printed by
 
12463
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
12464
        # path with ; separators, and with drive letters. We can handle the
 
12465
        # drive letters (cygwin fileutils understands them), so leave them,
 
12466
        # especially as we might pass files found there to a mingw objdump,
 
12467
        # which wouldn't understand a cygwinified path. Ahh.
 
12468
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
12469
      else
 
12470
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
12471
      fi
 
12472
      ;;
 
12473
    pw32*)
 
12474
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
12475
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
12476
      ;;
 
12477
    esac
 
12478
    ;;
 
12479
 
 
12480
  *)
 
12481
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
12482
    ;;
 
12483
  esac
 
12484
  dynamic_linker='Win32 ld.exe'
 
12485
  # FIXME: first we should search . and the directory the executable is in
 
12486
  shlibpath_var=PATH
 
12487
  ;;
 
12488
 
 
12489
darwin* | rhapsody*)
 
12490
  dynamic_linker="$host_os dyld"
 
12491
  version_type=darwin
 
12492
  need_lib_prefix=no
 
12493
  need_version=no
 
12494
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
12495
  soname_spec='${libname}${release}${major}$shared_ext'
 
12496
  shlibpath_overrides_runpath=yes
 
12497
  shlibpath_var=DYLD_LIBRARY_PATH
 
12498
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
12499
 
 
12500
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
12501
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
12502
  ;;
 
12503
 
 
12504
dgux*)
 
12505
  version_type=linux
 
12506
  need_lib_prefix=no
 
12507
  need_version=no
 
12508
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
12509
  soname_spec='${libname}${release}${shared_ext}$major'
 
12510
  shlibpath_var=LD_LIBRARY_PATH
 
12511
  ;;
 
12512
 
 
12513
freebsd1*)
 
12514
  dynamic_linker=no
 
12515
  ;;
 
12516
 
 
12517
freebsd* | dragonfly*)
 
12518
  # DragonFly does not have aout.  When/if they implement a new
 
12519
  # versioning mechanism, adjust this.
 
12520
  if test -x /usr/bin/objformat; then
 
12521
    objformat=`/usr/bin/objformat`
 
12522
  else
 
12523
    case $host_os in
 
12524
    freebsd[123]*) objformat=aout ;;
 
12525
    *) objformat=elf ;;
 
12526
    esac
 
12527
  fi
 
12528
  version_type=freebsd-$objformat
 
12529
  case $version_type in
 
12530
    freebsd-elf*)
 
12531
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12532
      need_version=no
 
12533
      need_lib_prefix=no
 
12534
      ;;
 
12535
    freebsd-*)
 
12536
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
12537
      need_version=yes
 
12538
      ;;
 
12539
  esac
 
12540
  shlibpath_var=LD_LIBRARY_PATH
 
12541
  case $host_os in
 
12542
  freebsd2*)
 
12543
    shlibpath_overrides_runpath=yes
 
12544
    ;;
 
12545
  freebsd3.[01]* | freebsdelf3.[01]*)
 
12546
    shlibpath_overrides_runpath=yes
 
12547
    hardcode_into_libs=yes
 
12548
    ;;
 
12549
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
12550
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
12551
    shlibpath_overrides_runpath=no
 
12552
    hardcode_into_libs=yes
 
12553
    ;;
 
12554
  *) # from 4.6 on, and DragonFly
 
12555
    shlibpath_overrides_runpath=yes
 
12556
    hardcode_into_libs=yes
 
12557
    ;;
 
12558
  esac
 
12559
  ;;
 
12560
 
 
12561
gnu*)
 
12562
  version_type=linux
 
12563
  need_lib_prefix=no
 
12564
  need_version=no
 
12565
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
12566
  soname_spec='${libname}${release}${shared_ext}$major'
 
12567
  shlibpath_var=LD_LIBRARY_PATH
 
12568
  hardcode_into_libs=yes
 
12569
  ;;
 
12570
 
 
12571
hpux9* | hpux10* | hpux11*)
 
12572
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
12573
  # link against other versions.
 
12574
  version_type=sunos
 
12575
  need_lib_prefix=no
 
12576
  need_version=no
 
12577
  case $host_cpu in
 
12578
  ia64*)
 
12579
    shrext_cmds='.so'
 
12580
    hardcode_into_libs=yes
 
12581
    dynamic_linker="$host_os dld.so"
 
12582
    shlibpath_var=LD_LIBRARY_PATH
 
12583
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
12584
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12585
    soname_spec='${libname}${release}${shared_ext}$major'
 
12586
    if test "X$HPUX_IA64_MODE" = X32; then
 
12587
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
12588
    else
 
12589
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
12590
    fi
 
12591
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
12592
    ;;
 
12593
  hppa*64*)
 
12594
    shrext_cmds='.sl'
 
12595
    hardcode_into_libs=yes
 
12596
    dynamic_linker="$host_os dld.sl"
 
12597
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
12598
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
12599
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12600
    soname_spec='${libname}${release}${shared_ext}$major'
 
12601
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
12602
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
12603
    ;;
 
12604
  *)
 
12605
    shrext_cmds='.sl'
 
12606
    dynamic_linker="$host_os dld.sl"
 
12607
    shlibpath_var=SHLIB_PATH
 
12608
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
12609
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12610
    soname_spec='${libname}${release}${shared_ext}$major'
 
12611
    ;;
 
12612
  esac
 
12613
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
12614
  postinstall_cmds='chmod 555 $lib'
 
12615
  ;;
 
12616
 
 
12617
interix[3-9]*)
 
12618
  version_type=linux
 
12619
  need_lib_prefix=no
 
12620
  need_version=no
 
12621
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12622
  soname_spec='${libname}${release}${shared_ext}$major'
 
12623
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
12624
  shlibpath_var=LD_LIBRARY_PATH
 
12625
  shlibpath_overrides_runpath=no
 
12626
  hardcode_into_libs=yes
 
12627
  ;;
 
12628
 
 
12629
irix5* | irix6* | nonstopux*)
 
12630
  case $host_os in
 
12631
    nonstopux*) version_type=nonstopux ;;
 
12632
    *)
 
12633
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
12634
                version_type=linux
 
12635
        else
 
12636
                version_type=irix
 
12637
        fi ;;
 
12638
  esac
 
12639
  need_lib_prefix=no
 
12640
  need_version=no
 
12641
  soname_spec='${libname}${release}${shared_ext}$major'
 
12642
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12643
  case $host_os in
 
12644
  irix5* | nonstopux*)
 
12645
    libsuff= shlibsuff=
 
12646
    ;;
 
12647
  *)
 
12648
    case $LD in # libtool.m4 will add one of these switches to LD
 
12649
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
12650
      libsuff= shlibsuff= libmagic=32-bit;;
 
12651
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
12652
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
12653
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
12654
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
12655
    *) libsuff= shlibsuff= libmagic=never-match;;
 
12656
    esac
 
12657
    ;;
 
12658
  esac
 
12659
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
12660
  shlibpath_overrides_runpath=no
 
12661
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
12662
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
12663
  hardcode_into_libs=yes
 
12664
  ;;
 
12665
 
 
12666
# No shared lib support for Linux oldld, aout, or coff.
 
12667
linux*oldld* | linux*aout* | linux*coff*)
 
12668
  dynamic_linker=no
 
12669
  ;;
 
12670
 
 
12671
# This must be Linux ELF.
 
12672
linux* | k*bsd*-gnu)
 
12673
  version_type=linux
 
12674
  need_lib_prefix=no
 
12675
  need_version=no
 
12676
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12677
  soname_spec='${libname}${release}${shared_ext}$major'
 
12678
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
12679
  shlibpath_var=LD_LIBRARY_PATH
 
12680
  shlibpath_overrides_runpath=no
 
12681
  # Some binutils ld are patched to set DT_RUNPATH
 
12682
  save_LDFLAGS=$LDFLAGS
 
12683
  save_libdir=$libdir
 
12684
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
12685
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
12686
  cat >conftest.$ac_ext <<_ACEOF
 
12687
/* confdefs.h.  */
 
12688
_ACEOF
 
12689
cat confdefs.h >>conftest.$ac_ext
 
12690
cat >>conftest.$ac_ext <<_ACEOF
 
12691
/* end confdefs.h.  */
 
12692
 
 
12693
int
 
12694
main ()
 
12695
{
 
12696
 
 
12697
  ;
 
12698
  return 0;
 
12699
}
 
12700
_ACEOF
 
12701
rm -f conftest.$ac_objext conftest$ac_exeext
 
12702
if { (ac_try="$ac_link"
 
12703
case "(($ac_try" in
 
12704
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12705
  *) ac_try_echo=$ac_try;;
 
12706
esac
 
12707
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12708
$as_echo "$ac_try_echo") >&5
 
12709
  (eval "$ac_link") 2>conftest.er1
 
12710
  ac_status=$?
 
12711
  grep -v '^ *+' conftest.er1 >conftest.err
 
12712
  rm -f conftest.er1
 
12713
  cat conftest.err >&5
 
12714
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12715
  (exit $ac_status); } && {
 
12716
         test -z "$ac_c_werror_flag" ||
 
12717
         test ! -s conftest.err
 
12718
       } && test -s conftest$ac_exeext && {
 
12719
         test "$cross_compiling" = yes ||
 
12720
         $as_test_x conftest$ac_exeext
 
12721
       }; then
 
12722
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
12723
  shlibpath_overrides_runpath=yes
 
12724
fi
 
12725
 
 
12726
else
 
12727
  $as_echo "$as_me: failed program was:" >&5
 
12728
sed 's/^/| /' conftest.$ac_ext >&5
 
12729
 
 
12730
 
 
12731
fi
 
12732
 
 
12733
rm -rf conftest.dSYM
 
12734
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
12735
      conftest$ac_exeext conftest.$ac_ext
 
12736
  LDFLAGS=$save_LDFLAGS
 
12737
  libdir=$save_libdir
 
12738
 
 
12739
  # This implies no fast_install, which is unacceptable.
 
12740
  # Some rework will be needed to allow for fast_install
 
12741
  # before this can be enabled.
 
12742
  hardcode_into_libs=yes
 
12743
 
 
12744
  # Append ld.so.conf contents to the search path
 
12745
  if test -f /etc/ld.so.conf; then
 
12746
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
12747
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
12748
  fi
 
12749
 
 
12750
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
12751
  # powerpc, because MkLinux only supported shared libraries with the
 
12752
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
12753
  # most powerpc-linux boxes support dynamic linking these days and
 
12754
  # people can always --disable-shared, the test was removed, and we
 
12755
  # assume the GNU/Linux dynamic linker is in use.
 
12756
  dynamic_linker='GNU/Linux ld.so'
 
12757
  ;;
 
12758
 
 
12759
netbsdelf*-gnu)
 
12760
  version_type=linux
 
12761
  need_lib_prefix=no
 
12762
  need_version=no
 
12763
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12764
  soname_spec='${libname}${release}${shared_ext}$major'
 
12765
  shlibpath_var=LD_LIBRARY_PATH
 
12766
  shlibpath_overrides_runpath=no
 
12767
  hardcode_into_libs=yes
 
12768
  dynamic_linker='NetBSD ld.elf_so'
 
12769
  ;;
 
12770
 
 
12771
netbsd*)
 
12772
  version_type=sunos
 
12773
  need_lib_prefix=no
 
12774
  need_version=no
 
12775
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
12776
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12777
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
12778
    dynamic_linker='NetBSD (a.out) ld.so'
 
12779
  else
 
12780
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12781
    soname_spec='${libname}${release}${shared_ext}$major'
 
12782
    dynamic_linker='NetBSD ld.elf_so'
 
12783
  fi
 
12784
  shlibpath_var=LD_LIBRARY_PATH
 
12785
  shlibpath_overrides_runpath=yes
 
12786
  hardcode_into_libs=yes
 
12787
  ;;
 
12788
 
 
12789
newsos6)
 
12790
  version_type=linux
 
12791
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12792
  shlibpath_var=LD_LIBRARY_PATH
 
12793
  shlibpath_overrides_runpath=yes
 
12794
  ;;
 
12795
 
 
12796
*nto* | *qnx*)
 
12797
  version_type=qnx
 
12798
  need_lib_prefix=no
 
12799
  need_version=no
 
12800
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12801
  soname_spec='${libname}${release}${shared_ext}$major'
 
12802
  shlibpath_var=LD_LIBRARY_PATH
 
12803
  shlibpath_overrides_runpath=no
 
12804
  hardcode_into_libs=yes
 
12805
  dynamic_linker='ldqnx.so'
 
12806
  ;;
 
12807
 
 
12808
openbsd*)
 
12809
  version_type=sunos
 
12810
  sys_lib_dlsearch_path_spec="/usr/lib"
 
12811
  need_lib_prefix=no
 
12812
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
12813
  case $host_os in
 
12814
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
12815
    *)                          need_version=no  ;;
 
12816
  esac
 
12817
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12818
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
12819
  shlibpath_var=LD_LIBRARY_PATH
 
12820
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12821
    case $host_os in
 
12822
      openbsd2.[89] | openbsd2.[89].*)
 
12823
        shlibpath_overrides_runpath=no
 
12824
        ;;
 
12825
      *)
 
12826
        shlibpath_overrides_runpath=yes
 
12827
        ;;
 
12828
      esac
 
12829
  else
 
12830
    shlibpath_overrides_runpath=yes
 
12831
  fi
 
12832
  ;;
 
12833
 
 
12834
os2*)
 
12835
  libname_spec='$name'
 
12836
  shrext_cmds=".dll"
 
12837
  need_lib_prefix=no
 
12838
  library_names_spec='$libname${shared_ext} $libname.a'
 
12839
  dynamic_linker='OS/2 ld.exe'
 
12840
  shlibpath_var=LIBPATH
 
12841
  ;;
 
12842
 
 
12843
osf3* | osf4* | osf5*)
 
12844
  version_type=osf
 
12845
  need_lib_prefix=no
 
12846
  need_version=no
 
12847
  soname_spec='${libname}${release}${shared_ext}$major'
 
12848
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12849
  shlibpath_var=LD_LIBRARY_PATH
 
12850
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
12851
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
12852
  ;;
 
12853
 
 
12854
rdos*)
 
12855
  dynamic_linker=no
 
12856
  ;;
 
12857
 
 
12858
solaris*)
 
12859
  version_type=linux
 
12860
  need_lib_prefix=no
 
12861
  need_version=no
 
12862
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12863
  soname_spec='${libname}${release}${shared_ext}$major'
 
12864
  shlibpath_var=LD_LIBRARY_PATH
 
12865
  shlibpath_overrides_runpath=yes
 
12866
  hardcode_into_libs=yes
 
12867
  # ldd complains unless libraries are executable
 
12868
  postinstall_cmds='chmod +x $lib'
 
12869
  ;;
 
12870
 
 
12871
sunos4*)
 
12872
  version_type=sunos
 
12873
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12874
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
12875
  shlibpath_var=LD_LIBRARY_PATH
 
12876
  shlibpath_overrides_runpath=yes
 
12877
  if test "$with_gnu_ld" = yes; then
 
12878
    need_lib_prefix=no
 
12879
  fi
 
12880
  need_version=yes
 
12881
  ;;
 
12882
 
 
12883
sysv4 | sysv4.3*)
 
12884
  version_type=linux
 
12885
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12886
  soname_spec='${libname}${release}${shared_ext}$major'
 
12887
  shlibpath_var=LD_LIBRARY_PATH
 
12888
  case $host_vendor in
 
12889
    sni)
 
12890
      shlibpath_overrides_runpath=no
 
12891
      need_lib_prefix=no
 
12892
      runpath_var=LD_RUN_PATH
 
12893
      ;;
 
12894
    siemens)
 
12895
      need_lib_prefix=no
 
12896
      ;;
 
12897
    motorola)
 
12898
      need_lib_prefix=no
 
12899
      need_version=no
 
12900
      shlibpath_overrides_runpath=no
 
12901
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
12902
      ;;
 
12903
  esac
 
12904
  ;;
 
12905
 
 
12906
sysv4*MP*)
 
12907
  if test -d /usr/nec ;then
 
12908
    version_type=linux
 
12909
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
12910
    soname_spec='$libname${shared_ext}.$major'
 
12911
    shlibpath_var=LD_LIBRARY_PATH
 
12912
  fi
 
12913
  ;;
 
12914
 
 
12915
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
12916
  version_type=freebsd-elf
 
12917
  need_lib_prefix=no
 
12918
  need_version=no
 
12919
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12920
  soname_spec='${libname}${release}${shared_ext}$major'
 
12921
  shlibpath_var=LD_LIBRARY_PATH
 
12922
  shlibpath_overrides_runpath=yes
 
12923
  hardcode_into_libs=yes
 
12924
  if test "$with_gnu_ld" = yes; then
 
12925
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
12926
  else
 
12927
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
12928
    case $host_os in
 
12929
      sco3.2v5*)
 
12930
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
12931
        ;;
 
12932
    esac
 
12933
  fi
 
12934
  sys_lib_dlsearch_path_spec='/usr/lib'
 
12935
  ;;
 
12936
 
 
12937
tpf*)
 
12938
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
12939
  version_type=linux
 
12940
  need_lib_prefix=no
 
12941
  need_version=no
 
12942
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12943
  shlibpath_var=LD_LIBRARY_PATH
 
12944
  shlibpath_overrides_runpath=no
 
12945
  hardcode_into_libs=yes
 
12946
  ;;
 
12947
 
 
12948
uts4*)
 
12949
  version_type=linux
 
12950
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12951
  soname_spec='${libname}${release}${shared_ext}$major'
 
12952
  shlibpath_var=LD_LIBRARY_PATH
 
12953
  ;;
 
12954
 
 
12955
*)
 
12956
  dynamic_linker=no
 
12957
  ;;
 
12958
esac
 
12959
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
12960
$as_echo "$dynamic_linker" >&6; }
 
12961
test "$dynamic_linker" = no && can_build_shared=no
 
12962
 
 
12963
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
12964
if test "$GCC" = yes; then
 
12965
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
12966
fi
 
12967
 
 
12968
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
12969
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
12970
fi
 
12971
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
12972
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
12973
fi
 
12974
 
 
12975
 
 
12976
 
 
12977
 
 
12978
 
 
12979
 
 
12980
 
 
12981
 
 
12982
 
 
12983
 
 
12984
 
 
12985
 
 
12986
 
 
12987
 
 
12988
 
 
12989
 
 
12990
 
 
12991
 
 
12992
 
 
12993
 
 
12994
 
 
12995
 
 
12996
 
 
12997
 
 
12998
 
 
12999
 
 
13000
 
 
13001
 
 
13002
 
 
13003
 
 
13004
 
 
13005
 
 
13006
 
 
13007
 
 
13008
 
 
13009
 
 
13010
 
 
13011
 
 
13012
 
 
13013
 
 
13014
 
 
13015
 
 
13016
 
 
13017
 
 
13018
 
 
13019
 
 
13020
 
 
13021
 
 
13022
 
 
13023
 
 
13024
 
 
13025
 
 
13026
 
 
13027
 
 
13028
 
 
13029
 
 
13030
 
 
13031
 
 
13032
 
 
13033
 
 
13034
 
 
13035
 
 
13036
 
 
13037
 
 
13038
 
 
13039
 
 
13040
 
 
13041
 
 
13042
 
 
13043
 
 
13044
 
 
13045
 
 
13046
 
 
13047
 
 
13048
 
 
13049
 
 
13050
 
 
13051
 
 
13052
 
 
13053
 
 
13054
 
 
13055
 
 
13056
 
 
13057
 
 
13058
 
 
13059
 
 
13060
 
 
13061
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
13062
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
13063
hardcode_action=
 
13064
if test -n "$hardcode_libdir_flag_spec" ||
 
13065
   test -n "$runpath_var" ||
 
13066
   test "X$hardcode_automatic" = "Xyes" ; then
 
13067
 
 
13068
  # We can hardcode non-existent directories.
 
13069
  if test "$hardcode_direct" != no &&
 
13070
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
13071
     # have to relink, otherwise we might link with an installed library
 
13072
     # when we should be linking with a yet-to-be-installed one
 
13073
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
13074
     test "$hardcode_minus_L" != no; then
 
13075
    # Linking always hardcodes the temporary library directory.
 
13076
    hardcode_action=relink
 
13077
  else
 
13078
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
13079
    hardcode_action=immediate
 
13080
  fi
 
13081
else
 
13082
  # We cannot hardcode anything, or else we can only hardcode existing
 
13083
  # directories.
 
13084
  hardcode_action=unsupported
 
13085
fi
 
13086
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
13087
$as_echo "$hardcode_action" >&6; }
 
13088
 
 
13089
if test "$hardcode_action" = relink ||
 
13090
   test "$inherit_rpath" = yes; then
 
13091
  # Fast installation is not supported
 
13092
  enable_fast_install=no
 
13093
elif test "$shlibpath_overrides_runpath" = yes ||
 
13094
     test "$enable_shared" = no; then
 
13095
  # Fast installation is not necessary
 
13096
  enable_fast_install=needless
 
13097
fi
 
13098
 
 
13099
 
 
13100
 
 
13101
 
 
13102
 
 
13103
 
 
13104
  if test "x$enable_dlopen" != xyes; then
 
13105
  enable_dlopen=unknown
 
13106
  enable_dlopen_self=unknown
 
13107
  enable_dlopen_self_static=unknown
 
13108
else
 
13109
  lt_cv_dlopen=no
 
13110
  lt_cv_dlopen_libs=
 
13111
 
 
13112
  case $host_os in
 
13113
  beos*)
 
13114
    lt_cv_dlopen="load_add_on"
 
13115
    lt_cv_dlopen_libs=
 
13116
    lt_cv_dlopen_self=yes
 
13117
    ;;
 
13118
 
 
13119
  mingw* | pw32* | cegcc*)
 
13120
    lt_cv_dlopen="LoadLibrary"
 
13121
    lt_cv_dlopen_libs=
 
13122
    ;;
 
13123
 
 
13124
  cygwin*)
 
13125
    lt_cv_dlopen="dlopen"
 
13126
    lt_cv_dlopen_libs=
 
13127
    ;;
 
13128
 
 
13129
  darwin*)
 
13130
  # if libdl is installed we need to link against it
 
13131
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
13132
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
13133
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
13134
  $as_echo_n "(cached) " >&6
 
13135
else
 
13136
  ac_check_lib_save_LIBS=$LIBS
 
13137
LIBS="-ldl  $LIBS"
 
13138
cat >conftest.$ac_ext <<_ACEOF
 
13139
/* confdefs.h.  */
 
13140
_ACEOF
 
13141
cat confdefs.h >>conftest.$ac_ext
 
13142
cat >>conftest.$ac_ext <<_ACEOF
 
13143
/* end confdefs.h.  */
 
13144
 
 
13145
/* Override any GCC internal prototype to avoid an error.
 
13146
   Use char because int might match the return type of a GCC
 
13147
   builtin and then its argument prototype would still apply.  */
 
13148
#ifdef __cplusplus
 
13149
extern "C"
 
13150
#endif
 
13151
char dlopen ();
 
13152
int
 
13153
main ()
 
13154
{
 
13155
return dlopen ();
 
13156
  ;
 
13157
  return 0;
 
13158
}
 
13159
_ACEOF
 
13160
rm -f conftest.$ac_objext conftest$ac_exeext
 
13161
if { (ac_try="$ac_link"
 
13162
case "(($ac_try" in
 
13163
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13164
  *) ac_try_echo=$ac_try;;
 
13165
esac
 
13166
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13167
$as_echo "$ac_try_echo") >&5
 
13168
  (eval "$ac_link") 2>conftest.er1
 
13169
  ac_status=$?
 
13170
  grep -v '^ *+' conftest.er1 >conftest.err
 
13171
  rm -f conftest.er1
 
13172
  cat conftest.err >&5
 
13173
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13174
  (exit $ac_status); } && {
 
13175
         test -z "$ac_c_werror_flag" ||
 
13176
         test ! -s conftest.err
 
13177
       } && test -s conftest$ac_exeext && {
 
13178
         test "$cross_compiling" = yes ||
 
13179
         $as_test_x conftest$ac_exeext
 
13180
       }; then
 
13181
  ac_cv_lib_dl_dlopen=yes
 
13182
else
 
13183
  $as_echo "$as_me: failed program was:" >&5
 
13184
sed 's/^/| /' conftest.$ac_ext >&5
 
13185
 
 
13186
        ac_cv_lib_dl_dlopen=no
 
13187
fi
 
13188
 
 
13189
rm -rf conftest.dSYM
 
13190
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13191
      conftest$ac_exeext conftest.$ac_ext
 
13192
LIBS=$ac_check_lib_save_LIBS
 
13193
fi
 
13194
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
13195
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
13196
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
13197
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
13198
else
 
13199
 
 
13200
    lt_cv_dlopen="dyld"
 
13201
    lt_cv_dlopen_libs=
 
13202
    lt_cv_dlopen_self=yes
 
13203
 
 
13204
fi
 
13205
 
 
13206
    ;;
 
13207
 
 
13208
  *)
 
13209
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 
13210
$as_echo_n "checking for shl_load... " >&6; }
 
13211
if test "${ac_cv_func_shl_load+set}" = set; then
 
13212
  $as_echo_n "(cached) " >&6
 
13213
else
 
13214
  cat >conftest.$ac_ext <<_ACEOF
 
13215
/* confdefs.h.  */
 
13216
_ACEOF
 
13217
cat confdefs.h >>conftest.$ac_ext
 
13218
cat >>conftest.$ac_ext <<_ACEOF
 
13219
/* end confdefs.h.  */
 
13220
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
 
13221
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
13222
#define shl_load innocuous_shl_load
 
13223
 
 
13224
/* System header to define __stub macros and hopefully few prototypes,
 
13225
    which can conflict with char shl_load (); below.
 
13226
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
13227
    <limits.h> exists even on freestanding compilers.  */
 
13228
 
 
13229
#ifdef __STDC__
 
13230
# include <limits.h>
 
13231
#else
 
13232
# include <assert.h>
 
13233
#endif
 
13234
 
 
13235
#undef shl_load
 
13236
 
 
13237
/* Override any GCC internal prototype to avoid an error.
 
13238
   Use char because int might match the return type of a GCC
 
13239
   builtin and then its argument prototype would still apply.  */
 
13240
#ifdef __cplusplus
 
13241
extern "C"
 
13242
#endif
 
13243
char shl_load ();
 
13244
/* The GNU C library defines this for functions which it implements
 
13245
    to always fail with ENOSYS.  Some functions are actually named
 
13246
    something starting with __ and the normal name is an alias.  */
 
13247
#if defined __stub_shl_load || defined __stub___shl_load
 
13248
choke me
 
13249
#endif
 
13250
 
 
13251
int
 
13252
main ()
 
13253
{
 
13254
return shl_load ();
 
13255
  ;
 
13256
  return 0;
 
13257
}
 
13258
_ACEOF
 
13259
rm -f conftest.$ac_objext conftest$ac_exeext
 
13260
if { (ac_try="$ac_link"
 
13261
case "(($ac_try" in
 
13262
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13263
  *) ac_try_echo=$ac_try;;
 
13264
esac
 
13265
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13266
$as_echo "$ac_try_echo") >&5
 
13267
  (eval "$ac_link") 2>conftest.er1
 
13268
  ac_status=$?
 
13269
  grep -v '^ *+' conftest.er1 >conftest.err
 
13270
  rm -f conftest.er1
 
13271
  cat conftest.err >&5
 
13272
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13273
  (exit $ac_status); } && {
 
13274
         test -z "$ac_c_werror_flag" ||
 
13275
         test ! -s conftest.err
 
13276
       } && test -s conftest$ac_exeext && {
 
13277
         test "$cross_compiling" = yes ||
 
13278
         $as_test_x conftest$ac_exeext
 
13279
       }; then
 
13280
  ac_cv_func_shl_load=yes
 
13281
else
 
13282
  $as_echo "$as_me: failed program was:" >&5
 
13283
sed 's/^/| /' conftest.$ac_ext >&5
 
13284
 
 
13285
        ac_cv_func_shl_load=no
 
13286
fi
 
13287
 
 
13288
rm -rf conftest.dSYM
 
13289
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13290
      conftest$ac_exeext conftest.$ac_ext
 
13291
fi
 
13292
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
13293
$as_echo "$ac_cv_func_shl_load" >&6; }
 
13294
if test "x$ac_cv_func_shl_load" = x""yes; then
 
13295
  lt_cv_dlopen="shl_load"
 
13296
else
 
13297
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
13298
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
13299
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
13300
  $as_echo_n "(cached) " >&6
 
13301
else
 
13302
  ac_check_lib_save_LIBS=$LIBS
 
13303
LIBS="-ldld  $LIBS"
 
13304
cat >conftest.$ac_ext <<_ACEOF
 
13305
/* confdefs.h.  */
 
13306
_ACEOF
 
13307
cat confdefs.h >>conftest.$ac_ext
 
13308
cat >>conftest.$ac_ext <<_ACEOF
 
13309
/* end confdefs.h.  */
 
13310
 
 
13311
/* Override any GCC internal prototype to avoid an error.
 
13312
   Use char because int might match the return type of a GCC
 
13313
   builtin and then its argument prototype would still apply.  */
 
13314
#ifdef __cplusplus
 
13315
extern "C"
 
13316
#endif
 
13317
char shl_load ();
 
13318
int
 
13319
main ()
 
13320
{
 
13321
return shl_load ();
 
13322
  ;
 
13323
  return 0;
 
13324
}
 
13325
_ACEOF
 
13326
rm -f conftest.$ac_objext conftest$ac_exeext
 
13327
if { (ac_try="$ac_link"
 
13328
case "(($ac_try" in
 
13329
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13330
  *) ac_try_echo=$ac_try;;
 
13331
esac
 
13332
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13333
$as_echo "$ac_try_echo") >&5
 
13334
  (eval "$ac_link") 2>conftest.er1
 
13335
  ac_status=$?
 
13336
  grep -v '^ *+' conftest.er1 >conftest.err
 
13337
  rm -f conftest.er1
 
13338
  cat conftest.err >&5
 
13339
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13340
  (exit $ac_status); } && {
 
13341
         test -z "$ac_c_werror_flag" ||
 
13342
         test ! -s conftest.err
 
13343
       } && test -s conftest$ac_exeext && {
 
13344
         test "$cross_compiling" = yes ||
 
13345
         $as_test_x conftest$ac_exeext
 
13346
       }; then
 
13347
  ac_cv_lib_dld_shl_load=yes
 
13348
else
 
13349
  $as_echo "$as_me: failed program was:" >&5
 
13350
sed 's/^/| /' conftest.$ac_ext >&5
 
13351
 
 
13352
        ac_cv_lib_dld_shl_load=no
 
13353
fi
 
13354
 
 
13355
rm -rf conftest.dSYM
 
13356
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13357
      conftest$ac_exeext conftest.$ac_ext
 
13358
LIBS=$ac_check_lib_save_LIBS
 
13359
fi
 
13360
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
13361
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
13362
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
13363
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
13364
else
 
13365
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 
13366
$as_echo_n "checking for dlopen... " >&6; }
 
13367
if test "${ac_cv_func_dlopen+set}" = set; then
 
13368
  $as_echo_n "(cached) " >&6
 
13369
else
 
13370
  cat >conftest.$ac_ext <<_ACEOF
 
13371
/* confdefs.h.  */
 
13372
_ACEOF
 
13373
cat confdefs.h >>conftest.$ac_ext
 
13374
cat >>conftest.$ac_ext <<_ACEOF
 
13375
/* end confdefs.h.  */
 
13376
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 
13377
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
13378
#define dlopen innocuous_dlopen
 
13379
 
 
13380
/* System header to define __stub macros and hopefully few prototypes,
 
13381
    which can conflict with char dlopen (); below.
 
13382
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
13383
    <limits.h> exists even on freestanding compilers.  */
 
13384
 
 
13385
#ifdef __STDC__
 
13386
# include <limits.h>
 
13387
#else
 
13388
# include <assert.h>
 
13389
#endif
 
13390
 
 
13391
#undef dlopen
 
13392
 
 
13393
/* Override any GCC internal prototype to avoid an error.
 
13394
   Use char because int might match the return type of a GCC
 
13395
   builtin and then its argument prototype would still apply.  */
 
13396
#ifdef __cplusplus
 
13397
extern "C"
 
13398
#endif
 
13399
char dlopen ();
 
13400
/* The GNU C library defines this for functions which it implements
 
13401
    to always fail with ENOSYS.  Some functions are actually named
 
13402
    something starting with __ and the normal name is an alias.  */
 
13403
#if defined __stub_dlopen || defined __stub___dlopen
 
13404
choke me
 
13405
#endif
 
13406
 
 
13407
int
 
13408
main ()
 
13409
{
 
13410
return dlopen ();
 
13411
  ;
 
13412
  return 0;
 
13413
}
 
13414
_ACEOF
 
13415
rm -f conftest.$ac_objext conftest$ac_exeext
 
13416
if { (ac_try="$ac_link"
 
13417
case "(($ac_try" in
 
13418
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13419
  *) ac_try_echo=$ac_try;;
 
13420
esac
 
13421
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13422
$as_echo "$ac_try_echo") >&5
 
13423
  (eval "$ac_link") 2>conftest.er1
 
13424
  ac_status=$?
 
13425
  grep -v '^ *+' conftest.er1 >conftest.err
 
13426
  rm -f conftest.er1
 
13427
  cat conftest.err >&5
 
13428
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13429
  (exit $ac_status); } && {
 
13430
         test -z "$ac_c_werror_flag" ||
 
13431
         test ! -s conftest.err
 
13432
       } && test -s conftest$ac_exeext && {
 
13433
         test "$cross_compiling" = yes ||
 
13434
         $as_test_x conftest$ac_exeext
 
13435
       }; then
 
13436
  ac_cv_func_dlopen=yes
 
13437
else
 
13438
  $as_echo "$as_me: failed program was:" >&5
 
13439
sed 's/^/| /' conftest.$ac_ext >&5
 
13440
 
 
13441
        ac_cv_func_dlopen=no
 
13442
fi
 
13443
 
 
13444
rm -rf conftest.dSYM
 
13445
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13446
      conftest$ac_exeext conftest.$ac_ext
 
13447
fi
 
13448
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
13449
$as_echo "$ac_cv_func_dlopen" >&6; }
 
13450
if test "x$ac_cv_func_dlopen" = x""yes; then
 
13451
  lt_cv_dlopen="dlopen"
 
13452
else
 
13453
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
13454
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
13455
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
13456
  $as_echo_n "(cached) " >&6
 
13457
else
 
13458
  ac_check_lib_save_LIBS=$LIBS
 
13459
LIBS="-ldl  $LIBS"
 
13460
cat >conftest.$ac_ext <<_ACEOF
 
13461
/* confdefs.h.  */
 
13462
_ACEOF
 
13463
cat confdefs.h >>conftest.$ac_ext
 
13464
cat >>conftest.$ac_ext <<_ACEOF
 
13465
/* end confdefs.h.  */
 
13466
 
 
13467
/* Override any GCC internal prototype to avoid an error.
 
13468
   Use char because int might match the return type of a GCC
 
13469
   builtin and then its argument prototype would still apply.  */
 
13470
#ifdef __cplusplus
 
13471
extern "C"
 
13472
#endif
 
13473
char dlopen ();
 
13474
int
 
13475
main ()
 
13476
{
 
13477
return dlopen ();
 
13478
  ;
 
13479
  return 0;
 
13480
}
 
13481
_ACEOF
 
13482
rm -f conftest.$ac_objext conftest$ac_exeext
 
13483
if { (ac_try="$ac_link"
 
13484
case "(($ac_try" in
 
13485
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13486
  *) ac_try_echo=$ac_try;;
 
13487
esac
 
13488
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13489
$as_echo "$ac_try_echo") >&5
 
13490
  (eval "$ac_link") 2>conftest.er1
 
13491
  ac_status=$?
 
13492
  grep -v '^ *+' conftest.er1 >conftest.err
 
13493
  rm -f conftest.er1
 
13494
  cat conftest.err >&5
 
13495
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13496
  (exit $ac_status); } && {
 
13497
         test -z "$ac_c_werror_flag" ||
 
13498
         test ! -s conftest.err
 
13499
       } && test -s conftest$ac_exeext && {
 
13500
         test "$cross_compiling" = yes ||
 
13501
         $as_test_x conftest$ac_exeext
 
13502
       }; then
 
13503
  ac_cv_lib_dl_dlopen=yes
 
13504
else
 
13505
  $as_echo "$as_me: failed program was:" >&5
 
13506
sed 's/^/| /' conftest.$ac_ext >&5
 
13507
 
 
13508
        ac_cv_lib_dl_dlopen=no
 
13509
fi
 
13510
 
 
13511
rm -rf conftest.dSYM
 
13512
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13513
      conftest$ac_exeext conftest.$ac_ext
 
13514
LIBS=$ac_check_lib_save_LIBS
 
13515
fi
 
13516
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
13517
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
13518
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
13519
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
13520
else
 
13521
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
13522
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
13523
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
13524
  $as_echo_n "(cached) " >&6
 
13525
else
 
13526
  ac_check_lib_save_LIBS=$LIBS
 
13527
LIBS="-lsvld  $LIBS"
 
13528
cat >conftest.$ac_ext <<_ACEOF
 
13529
/* confdefs.h.  */
 
13530
_ACEOF
 
13531
cat confdefs.h >>conftest.$ac_ext
 
13532
cat >>conftest.$ac_ext <<_ACEOF
 
13533
/* end confdefs.h.  */
 
13534
 
 
13535
/* Override any GCC internal prototype to avoid an error.
 
13536
   Use char because int might match the return type of a GCC
 
13537
   builtin and then its argument prototype would still apply.  */
 
13538
#ifdef __cplusplus
 
13539
extern "C"
 
13540
#endif
 
13541
char dlopen ();
 
13542
int
 
13543
main ()
 
13544
{
 
13545
return dlopen ();
 
13546
  ;
 
13547
  return 0;
 
13548
}
 
13549
_ACEOF
 
13550
rm -f conftest.$ac_objext conftest$ac_exeext
 
13551
if { (ac_try="$ac_link"
 
13552
case "(($ac_try" in
 
13553
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13554
  *) ac_try_echo=$ac_try;;
 
13555
esac
 
13556
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13557
$as_echo "$ac_try_echo") >&5
 
13558
  (eval "$ac_link") 2>conftest.er1
 
13559
  ac_status=$?
 
13560
  grep -v '^ *+' conftest.er1 >conftest.err
 
13561
  rm -f conftest.er1
 
13562
  cat conftest.err >&5
 
13563
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13564
  (exit $ac_status); } && {
 
13565
         test -z "$ac_c_werror_flag" ||
 
13566
         test ! -s conftest.err
 
13567
       } && test -s conftest$ac_exeext && {
 
13568
         test "$cross_compiling" = yes ||
 
13569
         $as_test_x conftest$ac_exeext
 
13570
       }; then
 
13571
  ac_cv_lib_svld_dlopen=yes
 
13572
else
 
13573
  $as_echo "$as_me: failed program was:" >&5
 
13574
sed 's/^/| /' conftest.$ac_ext >&5
 
13575
 
 
13576
        ac_cv_lib_svld_dlopen=no
 
13577
fi
 
13578
 
 
13579
rm -rf conftest.dSYM
 
13580
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13581
      conftest$ac_exeext conftest.$ac_ext
 
13582
LIBS=$ac_check_lib_save_LIBS
 
13583
fi
 
13584
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
13585
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
13586
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
13587
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
13588
else
 
13589
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
13590
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
13591
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
13592
  $as_echo_n "(cached) " >&6
 
13593
else
 
13594
  ac_check_lib_save_LIBS=$LIBS
 
13595
LIBS="-ldld  $LIBS"
 
13596
cat >conftest.$ac_ext <<_ACEOF
 
13597
/* confdefs.h.  */
 
13598
_ACEOF
 
13599
cat confdefs.h >>conftest.$ac_ext
 
13600
cat >>conftest.$ac_ext <<_ACEOF
 
13601
/* end confdefs.h.  */
 
13602
 
 
13603
/* Override any GCC internal prototype to avoid an error.
 
13604
   Use char because int might match the return type of a GCC
 
13605
   builtin and then its argument prototype would still apply.  */
 
13606
#ifdef __cplusplus
 
13607
extern "C"
 
13608
#endif
 
13609
char dld_link ();
 
13610
int
 
13611
main ()
 
13612
{
 
13613
return dld_link ();
 
13614
  ;
 
13615
  return 0;
 
13616
}
 
13617
_ACEOF
 
13618
rm -f conftest.$ac_objext conftest$ac_exeext
 
13619
if { (ac_try="$ac_link"
 
13620
case "(($ac_try" in
 
13621
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13622
  *) ac_try_echo=$ac_try;;
 
13623
esac
 
13624
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13625
$as_echo "$ac_try_echo") >&5
 
13626
  (eval "$ac_link") 2>conftest.er1
 
13627
  ac_status=$?
 
13628
  grep -v '^ *+' conftest.er1 >conftest.err
 
13629
  rm -f conftest.er1
 
13630
  cat conftest.err >&5
 
13631
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13632
  (exit $ac_status); } && {
 
13633
         test -z "$ac_c_werror_flag" ||
 
13634
         test ! -s conftest.err
 
13635
       } && test -s conftest$ac_exeext && {
 
13636
         test "$cross_compiling" = yes ||
 
13637
         $as_test_x conftest$ac_exeext
 
13638
       }; then
 
13639
  ac_cv_lib_dld_dld_link=yes
 
13640
else
 
13641
  $as_echo "$as_me: failed program was:" >&5
 
13642
sed 's/^/| /' conftest.$ac_ext >&5
 
13643
 
 
13644
        ac_cv_lib_dld_dld_link=no
 
13645
fi
 
13646
 
 
13647
rm -rf conftest.dSYM
 
13648
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13649
      conftest$ac_exeext conftest.$ac_ext
 
13650
LIBS=$ac_check_lib_save_LIBS
 
13651
fi
 
13652
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
13653
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
13654
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
13655
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
13656
fi
 
13657
 
 
13658
 
 
13659
fi
 
13660
 
 
13661
 
 
13662
fi
 
13663
 
 
13664
 
 
13665
fi
 
13666
 
 
13667
 
 
13668
fi
 
13669
 
 
13670
 
 
13671
fi
 
13672
 
 
13673
    ;;
 
13674
  esac
 
13675
 
 
13676
  if test "x$lt_cv_dlopen" != xno; then
 
13677
    enable_dlopen=yes
 
13678
  else
 
13679
    enable_dlopen=no
 
13680
  fi
 
13681
 
 
13682
  case $lt_cv_dlopen in
 
13683
  dlopen)
 
13684
    save_CPPFLAGS="$CPPFLAGS"
 
13685
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
13686
 
 
13687
    save_LDFLAGS="$LDFLAGS"
 
13688
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
13689
 
 
13690
    save_LIBS="$LIBS"
 
13691
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
13692
 
 
13693
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
13694
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
13695
if test "${lt_cv_dlopen_self+set}" = set; then
 
13696
  $as_echo_n "(cached) " >&6
 
13697
else
 
13698
          if test "$cross_compiling" = yes; then :
 
13699
  lt_cv_dlopen_self=cross
 
13700
else
 
13701
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
13702
  lt_status=$lt_dlunknown
 
13703
  cat > conftest.$ac_ext <<_LT_EOF
 
13704
#line 13704 "configure"
 
13705
#include "confdefs.h"
 
13706
 
 
13707
#if HAVE_DLFCN_H
 
13708
#include <dlfcn.h>
 
13709
#endif
 
13710
 
 
13711
#include <stdio.h>
 
13712
 
 
13713
#ifdef RTLD_GLOBAL
 
13714
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
13715
#else
 
13716
#  ifdef DL_GLOBAL
 
13717
#    define LT_DLGLOBAL         DL_GLOBAL
 
13718
#  else
 
13719
#    define LT_DLGLOBAL         0
 
13720
#  endif
 
13721
#endif
 
13722
 
 
13723
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
13724
   find out it does not work in some platform. */
 
13725
#ifndef LT_DLLAZY_OR_NOW
 
13726
#  ifdef RTLD_LAZY
 
13727
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
13728
#  else
 
13729
#    ifdef DL_LAZY
 
13730
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
13731
#    else
 
13732
#      ifdef RTLD_NOW
 
13733
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
13734
#      else
 
13735
#        ifdef DL_NOW
 
13736
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
13737
#        else
 
13738
#          define LT_DLLAZY_OR_NOW      0
 
13739
#        endif
 
13740
#      endif
 
13741
#    endif
 
13742
#  endif
 
13743
#endif
 
13744
 
 
13745
void fnord() { int i=42;}
 
13746
int main ()
 
13747
{
 
13748
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
13749
  int status = $lt_dlunknown;
 
13750
 
 
13751
  if (self)
 
13752
    {
 
13753
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
13754
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
13755
      /* dlclose (self); */
 
13756
    }
 
13757
  else
 
13758
    puts (dlerror ());
 
13759
 
 
13760
  return status;
 
13761
}
 
13762
_LT_EOF
 
13763
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
13764
  (eval $ac_link) 2>&5
 
13765
  ac_status=$?
 
13766
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13767
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
13768
    (./conftest; exit; ) >&5 2>/dev/null
 
13769
    lt_status=$?
 
13770
    case x$lt_status in
 
13771
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
13772
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
13773
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
13774
    esac
 
13775
  else :
 
13776
    # compilation failed
 
13777
    lt_cv_dlopen_self=no
 
13778
  fi
 
13779
fi
 
13780
rm -fr conftest*
 
13781
 
 
13782
 
 
13783
fi
 
13784
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
13785
$as_echo "$lt_cv_dlopen_self" >&6; }
 
13786
 
 
13787
    if test "x$lt_cv_dlopen_self" = xyes; then
 
13788
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
13789
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
13790
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
13791
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
13792
  $as_echo_n "(cached) " >&6
 
13793
else
 
13794
          if test "$cross_compiling" = yes; then :
 
13795
  lt_cv_dlopen_self_static=cross
 
13796
else
 
13797
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
13798
  lt_status=$lt_dlunknown
 
13799
  cat > conftest.$ac_ext <<_LT_EOF
 
13800
#line 13800 "configure"
 
13801
#include "confdefs.h"
 
13802
 
 
13803
#if HAVE_DLFCN_H
 
13804
#include <dlfcn.h>
 
13805
#endif
 
13806
 
 
13807
#include <stdio.h>
 
13808
 
 
13809
#ifdef RTLD_GLOBAL
 
13810
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
13811
#else
 
13812
#  ifdef DL_GLOBAL
 
13813
#    define LT_DLGLOBAL         DL_GLOBAL
 
13814
#  else
 
13815
#    define LT_DLGLOBAL         0
 
13816
#  endif
 
13817
#endif
 
13818
 
 
13819
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
13820
   find out it does not work in some platform. */
 
13821
#ifndef LT_DLLAZY_OR_NOW
 
13822
#  ifdef RTLD_LAZY
 
13823
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
13824
#  else
 
13825
#    ifdef DL_LAZY
 
13826
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
13827
#    else
 
13828
#      ifdef RTLD_NOW
 
13829
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
13830
#      else
 
13831
#        ifdef DL_NOW
 
13832
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
13833
#        else
 
13834
#          define LT_DLLAZY_OR_NOW      0
 
13835
#        endif
 
13836
#      endif
 
13837
#    endif
 
13838
#  endif
 
13839
#endif
 
13840
 
 
13841
void fnord() { int i=42;}
 
13842
int main ()
 
13843
{
 
13844
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
13845
  int status = $lt_dlunknown;
 
13846
 
 
13847
  if (self)
 
13848
    {
 
13849
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
13850
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
13851
      /* dlclose (self); */
 
13852
    }
 
13853
  else
 
13854
    puts (dlerror ());
 
13855
 
 
13856
  return status;
 
13857
}
 
13858
_LT_EOF
 
13859
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
13860
  (eval $ac_link) 2>&5
 
13861
  ac_status=$?
 
13862
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13863
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
13864
    (./conftest; exit; ) >&5 2>/dev/null
 
13865
    lt_status=$?
 
13866
    case x$lt_status in
 
13867
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
13868
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
13869
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
13870
    esac
 
13871
  else :
 
13872
    # compilation failed
 
13873
    lt_cv_dlopen_self_static=no
 
13874
  fi
 
13875
fi
 
13876
rm -fr conftest*
 
13877
 
 
13878
 
 
13879
fi
 
13880
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
13881
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
13882
    fi
 
13883
 
 
13884
    CPPFLAGS="$save_CPPFLAGS"
 
13885
    LDFLAGS="$save_LDFLAGS"
 
13886
    LIBS="$save_LIBS"
 
13887
    ;;
 
13888
  esac
 
13889
 
 
13890
  case $lt_cv_dlopen_self in
 
13891
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
13892
  *) enable_dlopen_self=unknown ;;
 
13893
  esac
 
13894
 
 
13895
  case $lt_cv_dlopen_self_static in
 
13896
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
13897
  *) enable_dlopen_self_static=unknown ;;
 
13898
  esac
 
13899
fi
 
13900
 
 
13901
 
 
13902
 
 
13903
 
 
13904
 
 
13905
 
 
13906
 
 
13907
 
 
13908
 
 
13909
 
 
13910
 
 
13911
 
 
13912
 
 
13913
 
 
13914
 
 
13915
 
 
13916
 
 
13917
striplib=
 
13918
old_striplib=
 
13919
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
13920
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
13921
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
13922
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
13923
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
13924
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13925
$as_echo "yes" >&6; }
 
13926
else
 
13927
# FIXME - insert some real tests, host_os isn't really good enough
 
13928
  case $host_os in
 
13929
  darwin*)
 
13930
    if test -n "$STRIP" ; then
 
13931
      striplib="$STRIP -x"
 
13932
      old_striplib="$STRIP -S"
 
13933
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13934
$as_echo "yes" >&6; }
 
13935
    else
 
13936
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
13937
$as_echo "no" >&6; }
 
13938
    fi
 
13939
    ;;
 
13940
  *)
 
13941
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
13942
$as_echo "no" >&6; }
 
13943
    ;;
 
13944
  esac
 
13945
fi
 
13946
 
 
13947
 
 
13948
 
 
13949
 
 
13950
 
 
13951
 
 
13952
 
 
13953
 
 
13954
 
 
13955
 
 
13956
 
 
13957
 
 
13958
  # Report which library types will actually be built
 
13959
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
13960
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
13961
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
13962
$as_echo "$can_build_shared" >&6; }
 
13963
 
 
13964
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
13965
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
13966
  test "$can_build_shared" = "no" && enable_shared=no
 
13967
 
 
13968
  # On AIX, shared libraries and static libraries use the same namespace, and
 
13969
  # are all built from PIC.
 
13970
  case $host_os in
 
13971
  aix3*)
 
13972
    test "$enable_shared" = yes && enable_static=no
 
13973
    if test -n "$RANLIB"; then
 
13974
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
13975
      postinstall_cmds='$RANLIB $lib'
 
13976
    fi
 
13977
    ;;
 
13978
 
 
13979
  aix[4-9]*)
 
13980
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
13981
      test "$enable_shared" = yes && enable_static=no
 
13982
    fi
 
13983
    ;;
 
13984
  esac
 
13985
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
13986
$as_echo "$enable_shared" >&6; }
 
13987
 
 
13988
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
13989
$as_echo_n "checking whether to build static libraries... " >&6; }
 
13990
  # Make sure either enable_shared or enable_static is yes.
 
13991
  test "$enable_shared" = yes || enable_static=yes
 
13992
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
13993
$as_echo "$enable_static" >&6; }
 
13994
 
 
13995
 
 
13996
 
 
13997
 
 
13998
fi
 
13999
ac_ext=c
 
14000
ac_cpp='$CPP $CPPFLAGS'
 
14001
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14002
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14003
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
14004
 
 
14005
CC="$lt_save_CC"
 
14006
 
 
14007
 
 
14008
 
 
14009
 
 
14010
 
 
14011
 
 
14012
 
 
14013
 
 
14014
 
 
14015
 
 
14016
 
 
14017
 
 
14018
 
 
14019
        ac_config_commands="$ac_config_commands libtool"
 
14020
 
 
14021
 
 
14022
 
 
14023
 
 
14024
# Only expand once:
 
14025
 
 
14026
 
 
14027
 
 
14028
# Extract the first word of "perl", so it can be a program name with args.
 
14029
set dummy perl; ac_word=$2
 
14030
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14031
$as_echo_n "checking for $ac_word... " >&6; }
 
14032
if test "${ac_cv_path_PERL_PATH+set}" = set; then
 
14033
  $as_echo_n "(cached) " >&6
 
14034
else
 
14035
  case $PERL_PATH in
 
14036
  [\\/]* | ?:[\\/]*)
 
14037
  ac_cv_path_PERL_PATH="$PERL_PATH" # Let the user override the test with a path.
 
14038
  ;;
 
14039
  *)
 
14040
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14041
for as_dir in $PATH
 
14042
do
 
14043
  IFS=$as_save_IFS
 
14044
  test -z "$as_dir" && as_dir=.
 
14045
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14046
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14047
    ac_cv_path_PERL_PATH="$as_dir/$ac_word$ac_exec_ext"
 
14048
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14049
    break 2
 
14050
  fi
 
14051
done
 
14052
done
 
14053
IFS=$as_save_IFS
 
14054
 
 
14055
  test -z "$ac_cv_path_PERL_PATH" && ac_cv_path_PERL_PATH="no"
 
14056
  ;;
 
14057
esac
 
14058
fi
 
14059
PERL_PATH=$ac_cv_path_PERL_PATH
 
14060
if test -n "$PERL_PATH"; then
 
14061
  { $as_echo "$as_me:$LINENO: result: $PERL_PATH" >&5
 
14062
$as_echo "$PERL_PATH" >&6; }
 
14063
else
 
14064
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14065
$as_echo "no" >&6; }
 
14066
fi
 
14067
 
 
14068
 
 
14069
if test x$PERL_PATH = xno; then
 
14070
  { { $as_echo "$as_me:$LINENO: error: Could not find perl" >&5
 
14071
$as_echo "$as_me: error: Could not find perl" >&2;}
 
14072
   { (exit 1); exit 1; }; }
 
14073
fi
 
14074
 
 
14075
 
 
14076
    if test "x$PACKAGE_TARNAME" = "x"
 
14077
  then
 
14078
    { { $as_echo "$as_me:$LINENO: error: Internal error - PACKAGE_TARNAME not set" >&5
 
14079
$as_echo "$as_me: error: Internal error - PACKAGE_TARNAME not set" >&2;}
 
14080
   { (exit 1); exit 1; }; }
 
14081
  fi
 
14082
  docdir="\$(datadir)/doc/$PACKAGE_TARNAME-$GST_MAJORMINOR"
 
14083
 
 
14084
    # Check whether --enable-docbook was given.
 
14085
if test "${enable_docbook+set}" = set; then
 
14086
  enableval=$enable_docbook;
 
14087
else
 
14088
  enable_docbook=no
 
14089
fi
 
14090
 
 
14091
 
 
14092
  have_docbook=no
 
14093
 
 
14094
  if test x$enable_docbook = xyes; then
 
14095
 
 
14096
        # Extract the first word of "docbook2ps", so it can be a program name with args.
 
14097
set dummy docbook2ps; ac_word=$2
 
14098
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14099
$as_echo_n "checking for $ac_word... " >&6; }
 
14100
if test "${ac_cv_prog_HAVE_DOCBOOK2PS+set}" = set; then
 
14101
  $as_echo_n "(cached) " >&6
 
14102
else
 
14103
  if test -n "$HAVE_DOCBOOK2PS"; then
 
14104
  ac_cv_prog_HAVE_DOCBOOK2PS="$HAVE_DOCBOOK2PS" # Let the user override the test.
 
14105
else
 
14106
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14107
for as_dir in $PATH
 
14108
do
 
14109
  IFS=$as_save_IFS
 
14110
  test -z "$as_dir" && as_dir=.
 
14111
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14112
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14113
    ac_cv_prog_HAVE_DOCBOOK2PS="yes"
 
14114
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14115
    break 2
 
14116
  fi
 
14117
done
 
14118
done
 
14119
IFS=$as_save_IFS
 
14120
 
 
14121
  test -z "$ac_cv_prog_HAVE_DOCBOOK2PS" && ac_cv_prog_HAVE_DOCBOOK2PS="no"
 
14122
fi
 
14123
fi
 
14124
HAVE_DOCBOOK2PS=$ac_cv_prog_HAVE_DOCBOOK2PS
 
14125
if test -n "$HAVE_DOCBOOK2PS"; then
 
14126
  { $as_echo "$as_me:$LINENO: result: $HAVE_DOCBOOK2PS" >&5
 
14127
$as_echo "$HAVE_DOCBOOK2PS" >&6; }
 
14128
else
 
14129
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14130
$as_echo "no" >&6; }
 
14131
fi
 
14132
 
 
14133
 
 
14134
    # Extract the first word of "docbook2html", so it can be a program name with args.
 
14135
set dummy docbook2html; ac_word=$2
 
14136
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14137
$as_echo_n "checking for $ac_word... " >&6; }
 
14138
if test "${ac_cv_prog_HAVE_DOCBOOK2HTML+set}" = set; then
 
14139
  $as_echo_n "(cached) " >&6
 
14140
else
 
14141
  if test -n "$HAVE_DOCBOOK2HTML"; then
 
14142
  ac_cv_prog_HAVE_DOCBOOK2HTML="$HAVE_DOCBOOK2HTML" # Let the user override the test.
 
14143
else
 
14144
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14145
for as_dir in $PATH
 
14146
do
 
14147
  IFS=$as_save_IFS
 
14148
  test -z "$as_dir" && as_dir=.
 
14149
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14150
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14151
    ac_cv_prog_HAVE_DOCBOOK2HTML="yes"
 
14152
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14153
    break 2
 
14154
  fi
 
14155
done
 
14156
done
 
14157
IFS=$as_save_IFS
 
14158
 
 
14159
  test -z "$ac_cv_prog_HAVE_DOCBOOK2HTML" && ac_cv_prog_HAVE_DOCBOOK2HTML="no"
 
14160
fi
 
14161
fi
 
14162
HAVE_DOCBOOK2HTML=$ac_cv_prog_HAVE_DOCBOOK2HTML
 
14163
if test -n "$HAVE_DOCBOOK2HTML"; then
 
14164
  { $as_echo "$as_me:$LINENO: result: $HAVE_DOCBOOK2HTML" >&5
 
14165
$as_echo "$HAVE_DOCBOOK2HTML" >&6; }
 
14166
else
 
14167
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14168
$as_echo "no" >&6; }
 
14169
fi
 
14170
 
 
14171
 
 
14172
    # Extract the first word of "jadetex", so it can be a program name with args.
 
14173
set dummy jadetex; ac_word=$2
 
14174
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14175
$as_echo_n "checking for $ac_word... " >&6; }
 
14176
if test "${ac_cv_prog_HAVE_JADETEX+set}" = set; then
 
14177
  $as_echo_n "(cached) " >&6
 
14178
else
 
14179
  if test -n "$HAVE_JADETEX"; then
 
14180
  ac_cv_prog_HAVE_JADETEX="$HAVE_JADETEX" # Let the user override the test.
 
14181
else
 
14182
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14183
for as_dir in $PATH
 
14184
do
 
14185
  IFS=$as_save_IFS
 
14186
  test -z "$as_dir" && as_dir=.
 
14187
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14188
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14189
    ac_cv_prog_HAVE_JADETEX="yes"
 
14190
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14191
    break 2
 
14192
  fi
 
14193
done
 
14194
done
 
14195
IFS=$as_save_IFS
 
14196
 
 
14197
  test -z "$ac_cv_prog_HAVE_JADETEX" && ac_cv_prog_HAVE_JADETEX="no"
 
14198
fi
 
14199
fi
 
14200
HAVE_JADETEX=$ac_cv_prog_HAVE_JADETEX
 
14201
if test -n "$HAVE_JADETEX"; then
 
14202
  { $as_echo "$as_me:$LINENO: result: $HAVE_JADETEX" >&5
 
14203
$as_echo "$HAVE_JADETEX" >&6; }
 
14204
else
 
14205
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14206
$as_echo "no" >&6; }
 
14207
fi
 
14208
 
 
14209
 
 
14210
    # Extract the first word of "ps2pdf", so it can be a program name with args.
 
14211
set dummy ps2pdf; ac_word=$2
 
14212
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14213
$as_echo_n "checking for $ac_word... " >&6; }
 
14214
if test "${ac_cv_prog_HAVE_PS2PDF+set}" = set; then
 
14215
  $as_echo_n "(cached) " >&6
 
14216
else
 
14217
  if test -n "$HAVE_PS2PDF"; then
 
14218
  ac_cv_prog_HAVE_PS2PDF="$HAVE_PS2PDF" # Let the user override the test.
 
14219
else
 
14220
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14221
for as_dir in $PATH
 
14222
do
 
14223
  IFS=$as_save_IFS
 
14224
  test -z "$as_dir" && as_dir=.
 
14225
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14226
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14227
    ac_cv_prog_HAVE_PS2PDF="yes"
 
14228
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14229
    break 2
 
14230
  fi
 
14231
done
 
14232
done
 
14233
IFS=$as_save_IFS
 
14234
 
 
14235
  test -z "$ac_cv_prog_HAVE_PS2PDF" && ac_cv_prog_HAVE_PS2PDF="no"
 
14236
fi
 
14237
fi
 
14238
HAVE_PS2PDF=$ac_cv_prog_HAVE_PS2PDF
 
14239
if test -n "$HAVE_PS2PDF"; then
 
14240
  { $as_echo "$as_me:$LINENO: result: $HAVE_PS2PDF" >&5
 
14241
$as_echo "$HAVE_PS2PDF" >&6; }
 
14242
else
 
14243
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14244
$as_echo "no" >&6; }
 
14245
fi
 
14246
 
 
14247
 
 
14248
 
 
14249
    # -V option appeared in 0.6.10
 
14250
    docbook2html_min_version=0.6.10
 
14251
    if test "x$HAVE_DOCBOOK2HTML" != "xno"; then
 
14252
      docbook2html_version=`docbook2html --version`
 
14253
      { $as_echo "$as_me:$LINENO: checking docbook2html version ($docbook2html_version) >= $docbook2html_min_version" >&5
 
14254
$as_echo_n "checking docbook2html version ($docbook2html_version) >= $docbook2html_min_version... " >&6; }
 
14255
      if perl -w <<EOF
 
14256
        (\$min_version_major, \$min_version_minor, \$min_version_micro ) = "$docbook2html_min_version" =~ /(\d+)\.(\d+)\.(\d+)/;
 
14257
        (\$docbook2html_version_major, \$docbook2html_version_minor, \$docbook2html_version_micro ) = "$docbook2html_version" =~ /(\d+)\.(\d+)\.(\d+)/;
 
14258
        exit (((\$docbook2html_version_major > \$min_version_major) ||
 
14259
             ((\$docbook2html_version_major == \$min_version_major) &&
 
14260
              (\$docbook2html_version_minor >= \$min_version_minor)) ||
 
14261
             ((\$docbook2html_version_major == \$min_version_major) &&
 
14262
              (\$docbook2html_version_minor >= \$min_version_minor) &&
 
14263
              (\$docbook2html_version_micro >= \$min_version_micro)))
 
14264
             ? 0 : 1);
 
14265
EOF
 
14266
      then
 
14267
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14268
$as_echo "yes" >&6; }
 
14269
      else
 
14270
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
14271
$as_echo "no" >&6; }
 
14272
        HAVE_DOCBOOK2HTML=no
 
14273
      fi
 
14274
    fi
 
14275
 
 
14276
 
 
14277
  XSLTPROC_FLAGS=--nonet
 
14278
  DOCBOOK_ROOT=
 
14279
  TYPE_LC=xml
 
14280
  TYPE_UC=XML
 
14281
  DOCBOOK_VERSION=4.1.2
 
14282
 
 
14283
  if test ! -f /etc/xml/catalog; then
 
14284
    for i in /usr/share/sgml/docbook/stylesheet/xsl/nwalsh /usr/share/sgml/docbook/xsl-stylesheets/;
 
14285
    do
 
14286
      if test -d "$i"; then
 
14287
        DOCBOOK_ROOT=$i
 
14288
      fi
 
14289
    done
 
14290
  else
 
14291
    XML_CATALOG=/etc/xml/catalog
 
14292
    CAT_ENTRY_START='<!--'
 
14293
    CAT_ENTRY_END='-->'
 
14294
  fi
 
14295
 
 
14296
    # Extract the first word of "xsltproc", so it can be a program name with args.
 
14297
set dummy xsltproc; ac_word=$2
 
14298
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14299
$as_echo_n "checking for $ac_word... " >&6; }
 
14300
if test "${ac_cv_prog_XSLTPROC+set}" = set; then
 
14301
  $as_echo_n "(cached) " >&6
 
14302
else
 
14303
  if test -n "$XSLTPROC"; then
 
14304
  ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
 
14305
else
 
14306
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14307
for as_dir in $PATH
 
14308
do
 
14309
  IFS=$as_save_IFS
 
14310
  test -z "$as_dir" && as_dir=.
 
14311
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14312
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14313
    ac_cv_prog_XSLTPROC="xsltproc"
 
14314
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14315
    break 2
 
14316
  fi
 
14317
done
 
14318
done
 
14319
IFS=$as_save_IFS
 
14320
 
 
14321
fi
 
14322
fi
 
14323
XSLTPROC=$ac_cv_prog_XSLTPROC
 
14324
if test -n "$XSLTPROC"; then
 
14325
  { $as_echo "$as_me:$LINENO: result: $XSLTPROC" >&5
 
14326
$as_echo "$XSLTPROC" >&6; }
 
14327
else
 
14328
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14329
$as_echo "no" >&6; }
 
14330
fi
 
14331
 
 
14332
 
 
14333
  XSLTPROC_WORKS=no
 
14334
  if test -n "$XSLTPROC"; then
 
14335
    { $as_echo "$as_me:$LINENO: checking whether xsltproc docbook processing works" >&5
 
14336
$as_echo_n "checking whether xsltproc docbook processing works... " >&6; }
 
14337
 
 
14338
    if test -n "$XML_CATALOG"; then
 
14339
      DB_FILE="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"
 
14340
    else
 
14341
      DB_FILE="$DOCBOOK_ROOT/docbook.xsl"
 
14342
    fi
 
14343
    $XSLTPROC $XSLTPROC_FLAGS $DB_FILE >/dev/null 2>&1 << END
 
14344
<?xml version="1.0" encoding='ISO-8859-1'?>
 
14345
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook $TYPE_UC V$DOCBOOK_VERSION//EN" "http://www.oasis-open.org/docbook/$TYPE_LC/$DOCBOOK_VERSION/docbookx.dtd">
 
14346
<book id="test">
 
14347
</book>
 
14348
END
 
14349
    if test "$?" = 0; then
 
14350
      XSLTPROC_WORKS=yes
 
14351
    fi
 
14352
    { $as_echo "$as_me:$LINENO: result: $XSLTPROC_WORKS" >&5
 
14353
$as_echo "$XSLTPROC_WORKS" >&6; }
 
14354
  fi
 
14355
 
 
14356
  if test "x$XSLTPROC_WORKS" = "xyes"; then
 
14357
        have_docbook=yes
 
14358
  else
 
14359
        have_docbook=no
 
14360
  fi
 
14361
 
 
14362
 
 
14363
 
 
14364
 
 
14365
 
 
14366
 
 
14367
 
 
14368
 
 
14369
        # Extract the first word of "dvips", so it can be a program name with args.
 
14370
set dummy dvips; ac_word=$2
 
14371
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14372
$as_echo_n "checking for $ac_word... " >&6; }
 
14373
if test "${ac_cv_prog_HAVE_DVIPS+set}" = set; then
 
14374
  $as_echo_n "(cached) " >&6
 
14375
else
 
14376
  if test -n "$HAVE_DVIPS"; then
 
14377
  ac_cv_prog_HAVE_DVIPS="$HAVE_DVIPS" # Let the user override the test.
 
14378
else
 
14379
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14380
for as_dir in $PATH
 
14381
do
 
14382
  IFS=$as_save_IFS
 
14383
  test -z "$as_dir" && as_dir=.
 
14384
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14385
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14386
    ac_cv_prog_HAVE_DVIPS="yes"
 
14387
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14388
    break 2
 
14389
  fi
 
14390
done
 
14391
done
 
14392
IFS=$as_save_IFS
 
14393
 
 
14394
  test -z "$ac_cv_prog_HAVE_DVIPS" && ac_cv_prog_HAVE_DVIPS="no"
 
14395
fi
 
14396
fi
 
14397
HAVE_DVIPS=$ac_cv_prog_HAVE_DVIPS
 
14398
if test -n "$HAVE_DVIPS"; then
 
14399
  { $as_echo "$as_me:$LINENO: result: $HAVE_DVIPS" >&5
 
14400
$as_echo "$HAVE_DVIPS" >&6; }
 
14401
else
 
14402
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14403
$as_echo "no" >&6; }
 
14404
fi
 
14405
 
 
14406
 
 
14407
    # Extract the first word of "xmllint", so it can be a program name with args.
 
14408
set dummy xmllint; ac_word=$2
 
14409
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14410
$as_echo_n "checking for $ac_word... " >&6; }
 
14411
if test "${ac_cv_prog_HAVE_XMLLINT+set}" = set; then
 
14412
  $as_echo_n "(cached) " >&6
 
14413
else
 
14414
  if test -n "$HAVE_XMLLINT"; then
 
14415
  ac_cv_prog_HAVE_XMLLINT="$HAVE_XMLLINT" # Let the user override the test.
 
14416
else
 
14417
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14418
for as_dir in $PATH
 
14419
do
 
14420
  IFS=$as_save_IFS
 
14421
  test -z "$as_dir" && as_dir=.
 
14422
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14423
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14424
    ac_cv_prog_HAVE_XMLLINT="yes"
 
14425
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14426
    break 2
 
14427
  fi
 
14428
done
 
14429
done
 
14430
IFS=$as_save_IFS
 
14431
 
 
14432
  test -z "$ac_cv_prog_HAVE_XMLLINT" && ac_cv_prog_HAVE_XMLLINT="no"
 
14433
fi
 
14434
fi
 
14435
HAVE_XMLLINT=$ac_cv_prog_HAVE_XMLLINT
 
14436
if test -n "$HAVE_XMLLINT"; then
 
14437
  { $as_echo "$as_me:$LINENO: result: $HAVE_XMLLINT" >&5
 
14438
$as_echo "$HAVE_XMLLINT" >&6; }
 
14439
else
 
14440
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14441
$as_echo "no" >&6; }
 
14442
fi
 
14443
 
 
14444
 
 
14445
 
 
14446
        # Extract the first word of "fig2dev", so it can be a program name with args.
 
14447
set dummy fig2dev; ac_word=$2
 
14448
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14449
$as_echo_n "checking for $ac_word... " >&6; }
 
14450
if test "${ac_cv_prog_HAVE_FIG2DEV+set}" = set; then
 
14451
  $as_echo_n "(cached) " >&6
 
14452
else
 
14453
  if test -n "$HAVE_FIG2DEV"; then
 
14454
  ac_cv_prog_HAVE_FIG2DEV="$HAVE_FIG2DEV" # Let the user override the test.
 
14455
else
 
14456
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14457
for as_dir in $PATH
 
14458
do
 
14459
  IFS=$as_save_IFS
 
14460
  test -z "$as_dir" && as_dir=.
 
14461
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14462
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14463
    ac_cv_prog_HAVE_FIG2DEV="yes"
 
14464
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14465
    break 2
 
14466
  fi
 
14467
done
 
14468
done
 
14469
IFS=$as_save_IFS
 
14470
 
 
14471
  test -z "$ac_cv_prog_HAVE_FIG2DEV" && ac_cv_prog_HAVE_FIG2DEV="no"
 
14472
fi
 
14473
fi
 
14474
HAVE_FIG2DEV=$ac_cv_prog_HAVE_FIG2DEV
 
14475
if test -n "$HAVE_FIG2DEV"; then
 
14476
  { $as_echo "$as_me:$LINENO: result: $HAVE_FIG2DEV" >&5
 
14477
$as_echo "$HAVE_FIG2DEV" >&6; }
 
14478
else
 
14479
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14480
$as_echo "no" >&6; }
 
14481
fi
 
14482
 
 
14483
 
 
14484
    if test "x$HAVE_FIG2DEV" = "xno" ; then
 
14485
      { $as_echo "$as_me:$LINENO: WARNING: Did not find fig2dev (from xfig), images will not be generated." >&5
 
14486
$as_echo "$as_me: WARNING: Did not find fig2dev (from xfig), images will not be generated." >&2;}
 
14487
    fi
 
14488
 
 
14489
            HAVE_FIG2DEV_EPS=no
 
14490
    if test "x$HAVE_FIG2DEV" = "xyes" ; then
 
14491
      fig2dev_quiet=`fig2dev -L eps </dev/null 2>&1 >/dev/null`
 
14492
      if test "x$fig2dev_quiet" = "x" ; then
 
14493
        HAVE_FIG2DEV_EPS=yes
 
14494
      fi
 
14495
    fi
 
14496
    HAVE_FIG2DEV_PNG=no
 
14497
    if test "x$HAVE_FIG2DEV" = "xyes" ; then
 
14498
      fig2dev_quiet=`fig2dev -L png </dev/null 2>&1 >/dev/null`
 
14499
      if test "x$fig2dev_quiet" = "x" ; then
 
14500
        HAVE_FIG2DEV_PNG=yes
 
14501
      fi
 
14502
    fi
 
14503
    HAVE_FIG2DEV_PDF=no
 
14504
    if test "x$HAVE_FIG2DEV" = "xyes" ; then
 
14505
      fig2dev_quiet=`fig2dev -L pdf </dev/null 2>&1 >/dev/null`
 
14506
      if test "x$fig2dev_quiet" = "x" ; then
 
14507
        HAVE_FIG2DEV_PDF=yes
 
14508
      fi
 
14509
    fi
 
14510
 
 
14511
    # Extract the first word of "pngtopnm", so it can be a program name with args.
 
14512
set dummy pngtopnm; ac_word=$2
 
14513
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14514
$as_echo_n "checking for $ac_word... " >&6; }
 
14515
if test "${ac_cv_prog_HAVE_PNGTOPNM+set}" = set; then
 
14516
  $as_echo_n "(cached) " >&6
 
14517
else
 
14518
  if test -n "$HAVE_PNGTOPNM"; then
 
14519
  ac_cv_prog_HAVE_PNGTOPNM="$HAVE_PNGTOPNM" # Let the user override the test.
 
14520
else
 
14521
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14522
for as_dir in $PATH
 
14523
do
 
14524
  IFS=$as_save_IFS
 
14525
  test -z "$as_dir" && as_dir=.
 
14526
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14527
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14528
    ac_cv_prog_HAVE_PNGTOPNM="yes"
 
14529
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14530
    break 2
 
14531
  fi
 
14532
done
 
14533
done
 
14534
IFS=$as_save_IFS
 
14535
 
 
14536
  test -z "$ac_cv_prog_HAVE_PNGTOPNM" && ac_cv_prog_HAVE_PNGTOPNM="no"
 
14537
fi
 
14538
fi
 
14539
HAVE_PNGTOPNM=$ac_cv_prog_HAVE_PNGTOPNM
 
14540
if test -n "$HAVE_PNGTOPNM"; then
 
14541
  { $as_echo "$as_me:$LINENO: result: $HAVE_PNGTOPNM" >&5
 
14542
$as_echo "$HAVE_PNGTOPNM" >&6; }
 
14543
else
 
14544
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14545
$as_echo "no" >&6; }
 
14546
fi
 
14547
 
 
14548
 
 
14549
    # Extract the first word of "pnmtops", so it can be a program name with args.
 
14550
set dummy pnmtops; ac_word=$2
 
14551
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14552
$as_echo_n "checking for $ac_word... " >&6; }
 
14553
if test "${ac_cv_prog_HAVE_PNMTOPS+set}" = set; then
 
14554
  $as_echo_n "(cached) " >&6
 
14555
else
 
14556
  if test -n "$HAVE_PNMTOPS"; then
 
14557
  ac_cv_prog_HAVE_PNMTOPS="$HAVE_PNMTOPS" # Let the user override the test.
 
14558
else
 
14559
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14560
for as_dir in $PATH
 
14561
do
 
14562
  IFS=$as_save_IFS
 
14563
  test -z "$as_dir" && as_dir=.
 
14564
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14565
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14566
    ac_cv_prog_HAVE_PNMTOPS="yes"
 
14567
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14568
    break 2
 
14569
  fi
 
14570
done
 
14571
done
 
14572
IFS=$as_save_IFS
 
14573
 
 
14574
  test -z "$ac_cv_prog_HAVE_PNMTOPS" && ac_cv_prog_HAVE_PNMTOPS="no"
 
14575
fi
 
14576
fi
 
14577
HAVE_PNMTOPS=$ac_cv_prog_HAVE_PNMTOPS
 
14578
if test -n "$HAVE_PNMTOPS"; then
 
14579
  { $as_echo "$as_me:$LINENO: result: $HAVE_PNMTOPS" >&5
 
14580
$as_echo "$HAVE_PNMTOPS" >&6; }
 
14581
else
 
14582
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14583
$as_echo "no" >&6; }
 
14584
fi
 
14585
 
 
14586
 
 
14587
    # Extract the first word of "epstopdf", so it can be a program name with args.
 
14588
set dummy epstopdf; ac_word=$2
 
14589
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14590
$as_echo_n "checking for $ac_word... " >&6; }
 
14591
if test "${ac_cv_prog_HAVE_EPSTOPDF+set}" = set; then
 
14592
  $as_echo_n "(cached) " >&6
 
14593
else
 
14594
  if test -n "$HAVE_EPSTOPDF"; then
 
14595
  ac_cv_prog_HAVE_EPSTOPDF="$HAVE_EPSTOPDF" # Let the user override the test.
 
14596
else
 
14597
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14598
for as_dir in $PATH
 
14599
do
 
14600
  IFS=$as_save_IFS
 
14601
  test -z "$as_dir" && as_dir=.
 
14602
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14603
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14604
    ac_cv_prog_HAVE_EPSTOPDF="yes"
 
14605
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14606
    break 2
 
14607
  fi
 
14608
done
 
14609
done
 
14610
IFS=$as_save_IFS
 
14611
 
 
14612
  test -z "$ac_cv_prog_HAVE_EPSTOPDF" && ac_cv_prog_HAVE_EPSTOPDF="no"
 
14613
fi
 
14614
fi
 
14615
HAVE_EPSTOPDF=$ac_cv_prog_HAVE_EPSTOPDF
 
14616
if test -n "$HAVE_EPSTOPDF"; then
 
14617
  { $as_echo "$as_me:$LINENO: result: $HAVE_EPSTOPDF" >&5
 
14618
$as_echo "$HAVE_EPSTOPDF" >&6; }
 
14619
else
 
14620
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14621
$as_echo "no" >&6; }
 
14622
fi
 
14623
 
 
14624
 
 
14625
 
 
14626
        if test "x$HAVE_DOCBOOK2HTML" = "xyes" && \
 
14627
       test "x$enable_docbook" = "xyes" && \
 
14628
       test "x$HAVE_XMLLINT" = "xyes" && \
 
14629
       test "x$HAVE_FIG2DEV_PNG" = "xyes"; then
 
14630
      DOC_HTML=yes
 
14631
      { $as_echo "$as_me:$LINENO: Will output HTML documentation" >&5
 
14632
$as_echo "$as_me: Will output HTML documentation" >&6;}
 
14633
     else
 
14634
      DOC_HTML=no
 
14635
      { $as_echo "$as_me:$LINENO: Will not output HTML documentation" >&5
 
14636
$as_echo "$as_me: Will not output HTML documentation" >&6;}
 
14637
    fi
 
14638
 
 
14639
        if test "x$HAVE_DOCBOOK2PS" = "xyes" && \
 
14640
       test "x$enable_docbook" = "xyes" && \
 
14641
       test "x$HAVE_XMLLINT" = "xyes" && \
 
14642
       test "x$HAVE_JADETEX" = "xyes" && \
 
14643
       test "x$HAVE_FIG2DEV_EPS" = "xyes" && \
 
14644
       test "x$HAVE_DVIPS" = "xyes" && \
 
14645
       test "x$HAVE_PNGTOPNM" = "xyes" && \
 
14646
       test "x$HAVE_PNMTOPS" = "xyes"; then
 
14647
      DOC_PS=yes
 
14648
      { $as_echo "$as_me:$LINENO: Will output PS documentation" >&5
 
14649
$as_echo "$as_me: Will output PS documentation" >&6;}
 
14650
    else
 
14651
      DOC_PS=no
 
14652
      { $as_echo "$as_me:$LINENO: Will not output PS documentation" >&5
 
14653
$as_echo "$as_me: Will not output PS documentation" >&6;}
 
14654
    fi
 
14655
 
 
14656
        if test "x$DOC_PS" = "xyes" && \
 
14657
       test "x$enable_docbook" = "xyes" && \
 
14658
       test "x$HAVE_XMLLINT" = "xyes" && \
 
14659
       test "x$HAVE_PS2PDF" = "xyes"; then
 
14660
      DOC_PDF=yes
 
14661
      { $as_echo "$as_me:$LINENO: Will output PDF documentation" >&5
 
14662
$as_echo "$as_me: Will output PDF documentation" >&6;}
 
14663
    else
 
14664
      DOC_PDF=no
 
14665
      { $as_echo "$as_me:$LINENO: Will not output PDF documentation" >&5
 
14666
$as_echo "$as_me: Will not output PDF documentation" >&6;}
 
14667
    fi
 
14668
 
 
14669
        if test "x$have_docbook" != "xyes"; then
 
14670
      enable_docbook=no
 
14671
    fi
 
14672
  fi
 
14673
 
 
14674
    if test "x$have_docbook" = "xyes"; then
 
14675
    { $as_echo "$as_me:$LINENO: Installing documentation in $docdir" >&5
 
14676
$as_echo "$as_me: Installing documentation in $docdir" >&6;}
 
14677
 
 
14678
  fi
 
14679
 
 
14680
   if test x$enable_docbook = xyes; then
 
14681
  ENABLE_DOCBOOK_TRUE=
 
14682
  ENABLE_DOCBOOK_FALSE='#'
 
14683
else
 
14684
  ENABLE_DOCBOOK_TRUE='#'
 
14685
  ENABLE_DOCBOOK_FALSE=
 
14686
fi
 
14687
 
 
14688
   if test x$DOC_HTML = xyes; then
 
14689
  DOC_HTML_TRUE=
 
14690
  DOC_HTML_FALSE='#'
 
14691
else
 
14692
  DOC_HTML_TRUE='#'
 
14693
  DOC_HTML_FALSE=
 
14694
fi
 
14695
 
 
14696
   if test x$DOC_PDF = xyes; then
 
14697
  DOC_PDF_TRUE=
 
14698
  DOC_PDF_FALSE='#'
 
14699
else
 
14700
  DOC_PDF_TRUE='#'
 
14701
  DOC_PDF_FALSE=
 
14702
fi
 
14703
 
 
14704
   if test x$DOC_PS = xyes; then
 
14705
  DOC_PS_TRUE=
 
14706
  DOC_PS_FALSE='#'
 
14707
else
 
14708
  DOC_PS_TRUE='#'
 
14709
  DOC_PS_FALSE=
 
14710
fi
 
14711
 
 
14712
 
 
14713
 
 
14714
    # Check whether --enable-docbook2x was given.
 
14715
if test "${enable_docbook2x+set}" = set; then
 
14716
  enableval=$enable_docbook2x;
 
14717
else
 
14718
  enable_docbook2x=no
 
14719
fi
 
14720
 
 
14721
 
 
14722
  docbook2x_PROGRAM=false
 
14723
 
 
14724
  if test x$enable_docbook2x = xyes; then
 
14725
 
 
14726
        # Extract the first word of "docbook2x-man", so it can be a program name with args.
 
14727
set dummy docbook2x-man; ac_word=$2
 
14728
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14729
$as_echo_n "checking for $ac_word... " >&6; }
 
14730
if test "${ac_cv_prog_HAVE_DOCBOOK2X+set}" = set; then
 
14731
  $as_echo_n "(cached) " >&6
 
14732
else
 
14733
  if test -n "$HAVE_DOCBOOK2X"; then
 
14734
  ac_cv_prog_HAVE_DOCBOOK2X="$HAVE_DOCBOOK2X" # Let the user override the test.
 
14735
else
 
14736
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14737
for as_dir in $PATH
 
14738
do
 
14739
  IFS=$as_save_IFS
 
14740
  test -z "$as_dir" && as_dir=.
 
14741
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14742
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14743
    ac_cv_prog_HAVE_DOCBOOK2X="yes"
 
14744
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14745
    break 2
 
14746
  fi
 
14747
done
 
14748
done
 
14749
IFS=$as_save_IFS
 
14750
 
 
14751
  test -z "$ac_cv_prog_HAVE_DOCBOOK2X" && ac_cv_prog_HAVE_DOCBOOK2X="no"
 
14752
fi
 
14753
fi
 
14754
HAVE_DOCBOOK2X=$ac_cv_prog_HAVE_DOCBOOK2X
 
14755
if test -n "$HAVE_DOCBOOK2X"; then
 
14756
  { $as_echo "$as_me:$LINENO: result: $HAVE_DOCBOOK2X" >&5
 
14757
$as_echo "$HAVE_DOCBOOK2X" >&6; }
 
14758
else
 
14759
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14760
$as_echo "no" >&6; }
 
14761
fi
 
14762
 
 
14763
 
 
14764
    # Extract the first word of "docbook-to-man", so it can be a program name with args.
 
14765
set dummy docbook-to-man; ac_word=$2
 
14766
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14767
$as_echo_n "checking for $ac_word... " >&6; }
 
14768
if test "${ac_cv_prog_HAVE_DOCBOOK2MAN+set}" = set; then
 
14769
  $as_echo_n "(cached) " >&6
 
14770
else
 
14771
  if test -n "$HAVE_DOCBOOK2MAN"; then
 
14772
  ac_cv_prog_HAVE_DOCBOOK2MAN="$HAVE_DOCBOOK2MAN" # Let the user override the test.
 
14773
else
 
14774
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14775
for as_dir in $PATH
 
14776
do
 
14777
  IFS=$as_save_IFS
 
14778
  test -z "$as_dir" && as_dir=.
 
14779
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14780
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14781
    ac_cv_prog_HAVE_DOCBOOK2MAN="yes"
 
14782
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14783
    break 2
 
14784
  fi
 
14785
done
 
14786
done
 
14787
IFS=$as_save_IFS
 
14788
 
 
14789
  test -z "$ac_cv_prog_HAVE_DOCBOOK2MAN" && ac_cv_prog_HAVE_DOCBOOK2MAN="no"
 
14790
fi
 
14791
fi
 
14792
HAVE_DOCBOOK2MAN=$ac_cv_prog_HAVE_DOCBOOK2MAN
 
14793
if test -n "$HAVE_DOCBOOK2MAN"; then
 
14794
  { $as_echo "$as_me:$LINENO: result: $HAVE_DOCBOOK2MAN" >&5
 
14795
$as_echo "$HAVE_DOCBOOK2MAN" >&6; }
 
14796
else
 
14797
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14798
$as_echo "no" >&6; }
 
14799
fi
 
14800
 
 
14801
 
 
14802
 
 
14803
        docbook2x_PROGRAM=""
 
14804
    if test "x$HAVE_DOCBOOK2X" != "xno"; then
 
14805
      docbook2x_PROGRAM="docbook2x-man"
 
14806
    elif test "x$HAVE_DOCBOOK2MAN" != "xno"; then
 
14807
      docbook2x_PROGRAM="docbook-to-man"
 
14808
    fi
 
14809
    { $as_echo "$as_me:$LINENO: checking whether docbook2x is valid" >&5
 
14810
$as_echo_n "checking whether docbook2x is valid... " >&6; }
 
14811
    if ($docbook2x_PROGRAM --version | grep docbook2x) >/dev/null 2>&1; then
 
14812
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14813
$as_echo "yes" >&6; }
 
14814
    else
 
14815
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
14816
$as_echo "no" >&6; }
 
14817
      enable_docbook2x=no
 
14818
      docbook2x_PROGRAM=false
 
14819
    fi
 
14820
  fi
 
14821
 
 
14822
   if test x$enable_docbook2x = xyes; then
 
14823
  ENABLE_DOCBOOK2X_TRUE=
 
14824
  ENABLE_DOCBOOK2X_FALSE='#'
 
14825
else
 
14826
  ENABLE_DOCBOOK2X_TRUE='#'
 
14827
  ENABLE_DOCBOOK2X_FALSE=
 
14828
fi
 
14829
 
 
14830
 
 
14831
 
 
14832
 
 
14833
 
 
14834
# Check whether --with-html-dir was given.
 
14835
if test "${with_html_dir+set}" = set; then
 
14836
  withval=$with_html_dir;
 
14837
else
 
14838
  with_html_dir='${datadir}/gtk-doc/html'
 
14839
fi
 
14840
 
 
14841
  HTML_DIR="$with_html_dir"
 
14842
 
 
14843
 
 
14844
    # Check whether --enable-gtk-doc was given.
 
14845
if test "${enable_gtk_doc+set}" = set; then
 
14846
  enableval=$enable_gtk_doc;
 
14847
else
 
14848
  enable_gtk_doc=no
 
14849
fi
 
14850
 
 
14851
 
 
14852
  have_gtk_doc=no
 
14853
  if test x$enable_gtk_doc = xyes; then
 
14854
    if test -z "$PKG_CONFIG"; then
 
14855
      # Extract the first word of "pkg-config", so it can be a program name with args.
 
14856
set dummy pkg-config; ac_word=$2
 
14857
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14858
$as_echo_n "checking for $ac_word... " >&6; }
 
14859
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
14860
  $as_echo_n "(cached) " >&6
 
14861
else
 
14862
  case $PKG_CONFIG in
 
14863
  [\\/]* | ?:[\\/]*)
 
14864
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
14865
  ;;
 
14866
  *)
 
14867
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14868
for as_dir in $PATH
 
14869
do
 
14870
  IFS=$as_save_IFS
 
14871
  test -z "$as_dir" && as_dir=.
 
14872
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14873
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14874
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
14875
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14876
    break 2
 
14877
  fi
 
14878
done
 
14879
done
 
14880
IFS=$as_save_IFS
 
14881
 
 
14882
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
 
14883
  ;;
 
14884
esac
 
14885
fi
 
14886
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
14887
if test -n "$PKG_CONFIG"; then
 
14888
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
14889
$as_echo "$PKG_CONFIG" >&6; }
 
14890
else
 
14891
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14892
$as_echo "no" >&6; }
 
14893
fi
 
14894
 
 
14895
 
 
14896
    fi
 
14897
    if test "$PKG_CONFIG" != "no" && $PKG_CONFIG --exists gtk-doc; then
 
14898
      have_gtk_doc=yes
 
14899
    fi
 
14900
 
 
14901
  gtk_doc_min_version=1.3
 
14902
    if test "$have_gtk_doc" = yes; then
 
14903
      { $as_echo "$as_me:$LINENO: checking gtk-doc version >= $gtk_doc_min_version" >&5
 
14904
$as_echo_n "checking gtk-doc version >= $gtk_doc_min_version... " >&6; }
 
14905
      if $PKG_CONFIG --atleast-version $gtk_doc_min_version gtk-doc; then
 
14906
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14907
$as_echo "yes" >&6; }
 
14908
      else
 
14909
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
14910
$as_echo "no" >&6; }
 
14911
        have_gtk_doc=no
 
14912
      fi
 
14913
    fi
 
14914
 
 
14915
    if test "$have_gtk_doc" != yes; then
 
14916
      enable_gtk_doc=no
 
14917
    fi
 
14918
  fi
 
14919
 
 
14920
   if test x$enable_gtk_doc = xyes; then
 
14921
  ENABLE_GTK_DOC_TRUE=
 
14922
  ENABLE_GTK_DOC_FALSE='#'
 
14923
else
 
14924
  ENABLE_GTK_DOC_TRUE='#'
 
14925
  ENABLE_GTK_DOC_FALSE=
 
14926
fi
 
14927
 
 
14928
   if test -n "$LIBTOOL"; then
 
14929
  GTK_DOC_USE_LIBTOOL_TRUE=
 
14930
  GTK_DOC_USE_LIBTOOL_FALSE='#'
 
14931
else
 
14932
  GTK_DOC_USE_LIBTOOL_TRUE='#'
 
14933
  GTK_DOC_USE_LIBTOOL_FALSE=
 
14934
fi
 
14935
 
 
14936
 
 
14937
 
 
14938
 
 
14939
    PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \
 
14940
                     python1.6 python1.5"
 
14941
 
 
14942
     { $as_echo "$as_me:$LINENO: Looking for Python version >= 2.1" >&5
 
14943
$as_echo "$as_me: Looking for Python version >= 2.1" >&6;}
 
14944
        prog="
 
14945
import sys, string
 
14946
minver = '2.1'
 
14947
# split string by '.' and convert to numeric
 
14948
minver_info = map(string.atoi, string.split(minver, '.'))
 
14949
# we can now do comparisons on the two lists:
 
14950
if sys.version_info >= tuple(minver_info):
 
14951
        sys.exit(0)
 
14952
else:
 
14953
        sys.exit(1)"
 
14954
 
 
14955
    python_good=false
 
14956
    for python_candidate in $PYTHON_CANDIDATES; do
 
14957
      unset PYTHON
 
14958
      # Extract the first word of "$python_candidate", so it can be a program name with args.
 
14959
set dummy $python_candidate; ac_word=$2
 
14960
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14961
$as_echo_n "checking for $ac_word... " >&6; }
 
14962
if test "${ac_cv_path_PYTHON+set}" = set; then
 
14963
  $as_echo_n "(cached) " >&6
 
14964
else
 
14965
  case $PYTHON in
 
14966
  [\\/]* | ?:[\\/]*)
 
14967
  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
 
14968
  ;;
 
14969
  *)
 
14970
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14971
for as_dir in $PATH
 
14972
do
 
14973
  IFS=$as_save_IFS
 
14974
  test -z "$as_dir" && as_dir=.
 
14975
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14976
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14977
    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
 
14978
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14979
    break 2
 
14980
  fi
 
14981
done
 
14982
done
 
14983
IFS=$as_save_IFS
 
14984
 
 
14985
  ;;
 
14986
esac
 
14987
fi
 
14988
PYTHON=$ac_cv_path_PYTHON
 
14989
if test -n "$PYTHON"; then
 
14990
  { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
 
14991
$as_echo "$PYTHON" >&6; }
 
14992
else
 
14993
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14994
$as_echo "no" >&6; }
 
14995
fi
 
14996
 
 
14997
 1> /dev/null 2> /dev/null
 
14998
 
 
14999
      if test "x$PYTHON" = "x"; then continue; fi
 
15000
 
 
15001
      if $PYTHON -c "$prog" 1>&5 2>&5; then
 
15002
        { $as_echo "$as_me:$LINENO: checking \"$PYTHON\":" >&5
 
15003
$as_echo_n "checking \"$PYTHON\":... " >&6; }
 
15004
        { $as_echo "$as_me:$LINENO: result: okay" >&5
 
15005
$as_echo "okay" >&6; }
 
15006
        python_good=true
 
15007
        break;
 
15008
      else
 
15009
                unset ac_cv_path_PYTHON
 
15010
      fi
 
15011
    done
 
15012
 
 
15013
 
 
15014
  if test "$python_good" != "true"; then
 
15015
    { $as_echo "$as_me:$LINENO: WARNING: No suitable version of python found" >&5
 
15016
$as_echo "$as_me: WARNING: No suitable version of python found" >&2;}
 
15017
    PYTHON=
 
15018
  else
 
15019
 
 
15020
  { $as_echo "$as_me:$LINENO: checking local Python configuration" >&5
 
15021
$as_echo_n "checking local Python configuration... " >&6; }
 
15022
 
 
15023
 
 
15024
 
 
15025
    PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"`
 
15026
 
 
15027
 
 
15028
 
 
15029
 
 
15030
  PYTHON_PREFIX='${prefix}'
 
15031
 
 
15032
 
 
15033
  PYTHON_EXEC_PREFIX='${exec_prefix}'
 
15034
 
 
15035
 
 
15036
 
 
15037
  PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"`
 
15038
 
 
15039
 
 
15040
 
 
15041
 
 
15042
 
 
15043
  pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
 
15044
 
 
15045
 
 
15046
 
 
15047
  pkgpythondir=\${pythondir}/$PACKAGE
 
15048
 
 
15049
 
 
15050
 
 
15051
  pyexecdir=$PYTHON_EXEC_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
 
15052
 
 
15053
 
 
15054
 
 
15055
  pkgpyexecdir=\${pyexecdir}/$PACKAGE
 
15056
 
 
15057
  { $as_echo "$as_me:$LINENO: result: looks good" >&5
 
15058
$as_echo "looks good" >&6; }
 
15059
 
 
15060
  fi
 
15061
 
 
15062
 
 
15063
 
 
15064
  build_plugin_docs=no
 
15065
  { $as_echo "$as_me:$LINENO: checking whether to build plugin documentation" >&5
 
15066
$as_echo_n "checking whether to build plugin documentation... " >&6; }
 
15067
  if test x$enable_gtk_doc = xyes -a x$have_gtk_doc = xyes; then
 
15068
    build_plugin_docs=yes
 
15069
    { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15070
$as_echo "yes" >&6; }
 
15071
  else
 
15072
    { $as_echo "$as_me:$LINENO: result: no (gtk-doc disabled or not available)" >&5
 
15073
$as_echo "no (gtk-doc disabled or not available)" >&6; }
 
15074
  fi
 
15075
 
 
15076
   if test x$build_plugin_docs = xyes; then
 
15077
  ENABLE_PLUGIN_DOCS_TRUE=
 
15078
  ENABLE_PLUGIN_DOCS_FALSE='#'
 
15079
else
 
15080
  ENABLE_PLUGIN_DOCS_TRUE='#'
 
15081
  ENABLE_PLUGIN_DOCS_FALSE=
 
15082
fi
 
15083
 
 
15084
 
 
15085
 
 
15086
 
 
15087
  { $as_echo "$as_me:$LINENO: checking to see if compiler understands -Wall" >&5
 
15088
$as_echo_n "checking to see if compiler understands -Wall... " >&6; }
 
15089
 
 
15090
  save_CFLAGS="$CFLAGS"
 
15091
  CFLAGS="$CFLAGS -Wall"
 
15092
 
 
15093
  cat >conftest.$ac_ext <<_ACEOF
 
15094
/* confdefs.h.  */
 
15095
_ACEOF
 
15096
cat confdefs.h >>conftest.$ac_ext
 
15097
cat >>conftest.$ac_ext <<_ACEOF
 
15098
/* end confdefs.h.  */
 
15099
 
 
15100
int
 
15101
main ()
 
15102
{
 
15103
 
 
15104
  ;
 
15105
  return 0;
 
15106
}
 
15107
_ACEOF
 
15108
rm -f conftest.$ac_objext
 
15109
if { (ac_try="$ac_compile"
 
15110
case "(($ac_try" in
 
15111
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15112
  *) ac_try_echo=$ac_try;;
 
15113
esac
 
15114
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15115
$as_echo "$ac_try_echo") >&5
 
15116
  (eval "$ac_compile") 2>conftest.er1
 
15117
  ac_status=$?
 
15118
  grep -v '^ *+' conftest.er1 >conftest.err
 
15119
  rm -f conftest.er1
 
15120
  cat conftest.err >&5
 
15121
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15122
  (exit $ac_status); } && {
 
15123
         test -z "$ac_c_werror_flag" ||
 
15124
         test ! -s conftest.err
 
15125
       } && test -s conftest.$ac_objext; then
 
15126
  flag_ok=yes
 
15127
else
 
15128
  $as_echo "$as_me: failed program was:" >&5
 
15129
sed 's/^/| /' conftest.$ac_ext >&5
 
15130
 
 
15131
        flag_ok=no
 
15132
fi
 
15133
 
 
15134
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15135
  CFLAGS="$save_CFLAGS"
 
15136
 
 
15137
  if test "X$flag_ok" = Xyes ; then
 
15138
    GST_WALL="yes"
 
15139
    true
 
15140
  else
 
15141
    GST_WALL="no"
 
15142
    true
 
15143
  fi
 
15144
  { $as_echo "$as_me:$LINENO: result: $flag_ok" >&5
 
15145
$as_echo "$flag_ok" >&6; }
 
15146
 
 
15147
if test "x$GST_WALL" = "xyes"; then
 
15148
   GST_ERROR="$GST_ERROR -Wall"
 
15149
   if test "x$GST_CVS" = "xyes"; then
 
15150
 
 
15151
  { $as_echo "$as_me:$LINENO: checking to see if compiler understands -Werror" >&5
 
15152
$as_echo_n "checking to see if compiler understands -Werror... " >&6; }
 
15153
 
 
15154
  save_CFLAGS="$CFLAGS"
 
15155
  CFLAGS="$CFLAGS -Werror"
 
15156
 
 
15157
  cat >conftest.$ac_ext <<_ACEOF
 
15158
/* confdefs.h.  */
 
15159
_ACEOF
 
15160
cat confdefs.h >>conftest.$ac_ext
 
15161
cat >>conftest.$ac_ext <<_ACEOF
 
15162
/* end confdefs.h.  */
 
15163
 
 
15164
int
 
15165
main ()
 
15166
{
 
15167
 
 
15168
  ;
 
15169
  return 0;
 
15170
}
 
15171
_ACEOF
 
15172
rm -f conftest.$ac_objext
 
15173
if { (ac_try="$ac_compile"
 
15174
case "(($ac_try" in
 
15175
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15176
  *) ac_try_echo=$ac_try;;
 
15177
esac
 
15178
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15179
$as_echo "$ac_try_echo") >&5
 
15180
  (eval "$ac_compile") 2>conftest.er1
 
15181
  ac_status=$?
 
15182
  grep -v '^ *+' conftest.er1 >conftest.err
 
15183
  rm -f conftest.er1
 
15184
  cat conftest.err >&5
 
15185
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15186
  (exit $ac_status); } && {
 
15187
         test -z "$ac_c_werror_flag" ||
 
15188
         test ! -s conftest.err
 
15189
       } && test -s conftest.$ac_objext; then
 
15190
  flag_ok=yes
 
15191
else
 
15192
  $as_echo "$as_me: failed program was:" >&5
 
15193
sed 's/^/| /' conftest.$ac_ext >&5
 
15194
 
 
15195
        flag_ok=no
 
15196
fi
 
15197
 
 
15198
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15199
  CFLAGS="$save_CFLAGS"
 
15200
 
 
15201
  if test "X$flag_ok" = Xyes ; then
 
15202
    GST_ERROR="$GST_ERROR -Werror"
 
15203
    true
 
15204
  else
 
15205
    GST_ERROR="$GST_ERROR"
 
15206
    true
 
15207
  fi
 
15208
  { $as_echo "$as_me:$LINENO: result: $flag_ok" >&5
 
15209
$as_echo "$flag_ok" >&6; }
 
15210
 
 
15211
   fi
 
15212
fi
 
15213
 
 
15214
# Extract the first word of "pkg-config", so it can be a program name with args.
 
15215
set dummy pkg-config; ac_word=$2
 
15216
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15217
$as_echo_n "checking for $ac_word... " >&6; }
 
15218
if test "${ac_cv_prog_HAVE_PKGCONFIG+set}" = set; then
 
15219
  $as_echo_n "(cached) " >&6
 
15220
else
 
15221
  if test -n "$HAVE_PKGCONFIG"; then
 
15222
  ac_cv_prog_HAVE_PKGCONFIG="$HAVE_PKGCONFIG" # Let the user override the test.
 
15223
else
 
15224
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15225
for as_dir in $PATH
 
15226
do
 
15227
  IFS=$as_save_IFS
 
15228
  test -z "$as_dir" && as_dir=.
 
15229
  for ac_exec_ext in '' $ac_executable_extensions; do
 
15230
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15231
    ac_cv_prog_HAVE_PKGCONFIG="yes"
 
15232
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15233
    break 2
 
15234
  fi
 
15235
done
 
15236
done
 
15237
IFS=$as_save_IFS
 
15238
 
 
15239
  test -z "$ac_cv_prog_HAVE_PKGCONFIG" && ac_cv_prog_HAVE_PKGCONFIG="no"
 
15240
fi
 
15241
fi
 
15242
HAVE_PKGCONFIG=$ac_cv_prog_HAVE_PKGCONFIG
 
15243
if test -n "$HAVE_PKGCONFIG"; then
 
15244
  { $as_echo "$as_me:$LINENO: result: $HAVE_PKGCONFIG" >&5
 
15245
$as_echo "$HAVE_PKGCONFIG" >&6; }
 
15246
else
 
15247
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15248
$as_echo "no" >&6; }
 
15249
fi
 
15250
 
 
15251
 
 
15252
 
 
15253
if test "x$HAVE_PKGCONFIG" = "xno"; then
 
15254
  { { $as_echo "$as_me:$LINENO: error: you need to have pkgconfig installed !" >&5
 
15255
$as_echo "$as_me: error: you need to have pkgconfig installed !" >&2;}
 
15256
   { (exit 1); exit 1; }; }
 
15257
fi
 
15258
 
 
15259
 
 
15260
 
 
15261
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
15262
        if test -n "$ac_tool_prefix"; then
 
15263
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
15264
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
15265
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15266
$as_echo_n "checking for $ac_word... " >&6; }
 
15267
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
15268
  $as_echo_n "(cached) " >&6
 
15269
else
 
15270
  case $PKG_CONFIG in
 
15271
  [\\/]* | ?:[\\/]*)
 
15272
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
15273
  ;;
 
15274
  *)
 
15275
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15276
for as_dir in $PATH
 
15277
do
 
15278
  IFS=$as_save_IFS
 
15279
  test -z "$as_dir" && as_dir=.
 
15280
  for ac_exec_ext in '' $ac_executable_extensions; do
 
15281
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15282
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
15283
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15284
    break 2
 
15285
  fi
 
15286
done
 
15287
done
 
15288
IFS=$as_save_IFS
 
15289
 
 
15290
  ;;
 
15291
esac
 
15292
fi
 
15293
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
15294
if test -n "$PKG_CONFIG"; then
 
15295
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
15296
$as_echo "$PKG_CONFIG" >&6; }
 
15297
else
 
15298
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15299
$as_echo "no" >&6; }
 
15300
fi
 
15301
 
 
15302
 
 
15303
fi
 
15304
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
15305
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
15306
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
15307
set dummy pkg-config; ac_word=$2
 
15308
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15309
$as_echo_n "checking for $ac_word... " >&6; }
 
15310
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
15311
  $as_echo_n "(cached) " >&6
 
15312
else
 
15313
  case $ac_pt_PKG_CONFIG in
 
15314
  [\\/]* | ?:[\\/]*)
 
15315
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
15316
  ;;
 
15317
  *)
 
15318
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15319
for as_dir in $PATH
 
15320
do
 
15321
  IFS=$as_save_IFS
 
15322
  test -z "$as_dir" && as_dir=.
 
15323
  for ac_exec_ext in '' $ac_executable_extensions; do
 
15324
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15325
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
15326
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15327
    break 2
 
15328
  fi
 
15329
done
 
15330
done
 
15331
IFS=$as_save_IFS
 
15332
 
 
15333
  ;;
 
15334
esac
 
15335
fi
 
15336
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
15337
if test -n "$ac_pt_PKG_CONFIG"; then
 
15338
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
15339
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
15340
else
 
15341
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15342
$as_echo "no" >&6; }
 
15343
fi
 
15344
 
 
15345
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
15346
    PKG_CONFIG=""
 
15347
  else
 
15348
    case $cross_compiling:$ac_tool_warned in
 
15349
yes:)
 
15350
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
15351
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
15352
ac_tool_warned=yes ;;
 
15353
esac
 
15354
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
15355
  fi
 
15356
else
 
15357
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
15358
fi
 
15359
 
 
15360
fi
 
15361
if test -n "$PKG_CONFIG"; then
 
15362
        _pkg_min_version=0.9.0
 
15363
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
15364
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
15365
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
15366
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15367
$as_echo "yes" >&6; }
 
15368
        else
 
15369
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
15370
$as_echo "no" >&6; }
 
15371
                PKG_CONFIG=""
 
15372
        fi
 
15373
 
 
15374
fi
 
15375
 
 
15376
pkg_failed=no
 
15377
{ $as_echo "$as_me:$LINENO: checking for LIBOIL" >&5
 
15378
$as_echo_n "checking for LIBOIL... " >&6; }
 
15379
 
 
15380
if test -n "$PKG_CONFIG"; then
 
15381
        if test -n "$PKG_CONFIG" && \
 
15382
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liboil-0.3 >= 0.3.6\"") >&5
 
15383
  ($PKG_CONFIG --exists --print-errors "liboil-0.3 >= 0.3.6") 2>&5
 
15384
  ac_status=$?
 
15385
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15386
  (exit $ac_status); }; then
 
15387
  pkg_cv_LIBOIL_CFLAGS=`$PKG_CONFIG --cflags "liboil-0.3 >= 0.3.6" 2>/dev/null`
 
15388
else
 
15389
  pkg_failed=yes
 
15390
fi
 
15391
else
 
15392
        pkg_failed=untried
 
15393
fi
 
15394
if test -n "$PKG_CONFIG"; then
 
15395
        if test -n "$PKG_CONFIG" && \
 
15396
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liboil-0.3 >= 0.3.6\"") >&5
 
15397
  ($PKG_CONFIG --exists --print-errors "liboil-0.3 >= 0.3.6") 2>&5
 
15398
  ac_status=$?
 
15399
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15400
  (exit $ac_status); }; then
 
15401
  pkg_cv_LIBOIL_LIBS=`$PKG_CONFIG --libs "liboil-0.3 >= 0.3.6" 2>/dev/null`
 
15402
else
 
15403
  pkg_failed=yes
 
15404
fi
 
15405
else
 
15406
        pkg_failed=untried
 
15407
fi
 
15408
 
 
15409
if test $pkg_failed = yes; then
 
15410
        LIBOIL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "liboil-0.3 >= 0.3.6"`
 
15411
        # Put the nasty error message in config.log where it belongs
 
15412
        echo "$LIBOIL_PKG_ERRORS" 1>&5
 
15413
 
 
15414
        HAVE_LIBOIL=no
 
15415
elif test $pkg_failed = untried; then
 
15416
        HAVE_LIBOIL=no
 
15417
else
 
15418
        LIBOIL_CFLAGS=$pkg_cv_LIBOIL_CFLAGS
 
15419
        LIBOIL_LIBS=$pkg_cv_LIBOIL_LIBS
 
15420
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15421
$as_echo "yes" >&6; }
 
15422
        HAVE_LIBOIL=yes
 
15423
fi
 
15424
if test "x$HAVE_LIBOIL" != "xyes"
 
15425
then
 
15426
  { { $as_echo "$as_me:$LINENO: error: liboil-0.3.6 or later is required" >&5
 
15427
$as_echo "$as_me: error: liboil-0.3.6 or later is required" >&2;}
 
15428
   { (exit 1); exit 1; }; }
 
15429
fi
 
15430
 
 
15431
 
 
15432
 
 
15433
pkg_failed=no
 
15434
{ $as_echo "$as_me:$LINENO: checking for GST" >&5
 
15435
$as_echo_n "checking for GST... " >&6; }
 
15436
 
 
15437
if test -n "$PKG_CONFIG"; then
 
15438
        if test -n "$PKG_CONFIG" && \
 
15439
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\\
 
15440
  gstreamer-\$GST_MAJORMINOR >= \$GST_REQUIRED\"") >&5
 
15441
  ($PKG_CONFIG --exists --print-errors "\
 
15442
  gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
 
15443
  ac_status=$?
 
15444
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15445
  (exit $ac_status); }; then
 
15446
  pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "\
 
15447
  gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
 
15448
else
 
15449
  pkg_failed=yes
 
15450
fi
 
15451
else
 
15452
        pkg_failed=untried
 
15453
fi
 
15454
if test -n "$PKG_CONFIG"; then
 
15455
        if test -n "$PKG_CONFIG" && \
 
15456
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\\
 
15457
  gstreamer-\$GST_MAJORMINOR >= \$GST_REQUIRED\"") >&5
 
15458
  ($PKG_CONFIG --exists --print-errors "\
 
15459
  gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
 
15460
  ac_status=$?
 
15461
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15462
  (exit $ac_status); }; then
 
15463
  pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "\
 
15464
  gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
 
15465
else
 
15466
  pkg_failed=yes
 
15467
fi
 
15468
else
 
15469
        pkg_failed=untried
 
15470
fi
 
15471
 
 
15472
if test $pkg_failed = yes; then
 
15473
        GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
 
15474
  gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
 
15475
        # Put the nasty error message in config.log where it belongs
 
15476
        echo "$GST_PKG_ERRORS" 1>&5
 
15477
 
 
15478
        HAVE_GST=no
 
15479
elif test $pkg_failed = untried; then
 
15480
        HAVE_GST=no
 
15481
else
 
15482
        GST_CFLAGS=$pkg_cv_GST_CFLAGS
 
15483
        GST_LIBS=$pkg_cv_GST_LIBS
 
15484
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15485
$as_echo "yes" >&6; }
 
15486
        HAVE_GST=yes
 
15487
fi
 
15488
 
 
15489
if test "x$HAVE_GST" = "xno"; then
 
15490
  { { $as_echo "$as_me:$LINENO: error: you need gstreamer development packages installed !" >&5
 
15491
$as_echo "$as_me: error: you need gstreamer development packages installed !" >&2;}
 
15492
   { (exit 1); exit 1; }; }
 
15493
fi
 
15494
 
 
15495
if test "x$USE_DEBUG" = xyes; then
 
15496
   PROFILE_CFLAGS="-g"
 
15497
fi
 
15498
 
 
15499
 
 
15500
DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
 
15501
 
 
15502
 
 
15503
GST_OPTION_CFLAGS="\$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(DEPRECATED_CFLAGS)"
 
15504
 
 
15505
 
 
15506
GST_CFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS $GST_ERROR \$(GST_OPTION_CFLAGS)"
 
15507
 
 
15508
 
 
15509
 
 
15510
 
 
15511
 
 
15512
 
 
15513
 
 
15514
pkg_failed=no
 
15515
{ $as_echo "$as_me:$LINENO: checking for GST_BASE" >&5
 
15516
$as_echo_n "checking for GST_BASE... " >&6; }
 
15517
 
 
15518
if test -n "$PKG_CONFIG"; then
 
15519
        if test -n "$PKG_CONFIG" && \
 
15520
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\"") >&5
 
15521
  ($PKG_CONFIG --exists --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
 
15522
  ac_status=$?
 
15523
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15524
  (exit $ac_status); }; then
 
15525
  pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
 
15526
else
 
15527
  pkg_failed=yes
 
15528
fi
 
15529
else
 
15530
        pkg_failed=untried
 
15531
fi
 
15532
if test -n "$PKG_CONFIG"; then
 
15533
        if test -n "$PKG_CONFIG" && \
 
15534
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\"") >&5
 
15535
  ($PKG_CONFIG --exists --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
 
15536
  ac_status=$?
 
15537
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15538
  (exit $ac_status); }; then
 
15539
  pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
 
15540
else
 
15541
  pkg_failed=yes
 
15542
fi
 
15543
else
 
15544
        pkg_failed=untried
 
15545
fi
 
15546
 
 
15547
if test $pkg_failed = yes; then
 
15548
        GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
 
15549
        # Put the nasty error message in config.log where it belongs
 
15550
        echo "$GST_BASE_PKG_ERRORS" 1>&5
 
15551
 
 
15552
        HAVE_GST_BASE=no
 
15553
elif test $pkg_failed = untried; then
 
15554
        HAVE_GST_BASE=no
 
15555
else
 
15556
        GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
 
15557
        GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
 
15558
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15559
$as_echo "yes" >&6; }
 
15560
        HAVE_GST_BASE=yes
 
15561
fi
 
15562
 
 
15563
if test "x$HAVE_GST_BASE" = "xno"; then
 
15564
  { { $as_echo "$as_me:$LINENO: error: no GStreamer base class libraries found (gstreamer-base-$GST_MAJORMINOR)" >&5
 
15565
$as_echo "$as_me: error: no GStreamer base class libraries found (gstreamer-base-$GST_MAJORMINOR)" >&2;}
 
15566
   { (exit 1); exit 1; }; }
 
15567
fi
 
15568
 
 
15569
 
 
15570
pkg_failed=no
 
15571
{ $as_echo "$as_me:$LINENO: checking for GST_CONTROLLER" >&5
 
15572
$as_echo_n "checking for GST_CONTROLLER... " >&6; }
 
15573
 
 
15574
if test -n "$PKG_CONFIG"; then
 
15575
        if test -n "$PKG_CONFIG" && \
 
15576
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-controller-\$GST_MAJORMINOR >= \$GST_REQUIRED\"") >&5
 
15577
  ($PKG_CONFIG --exists --print-errors "gstreamer-controller-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
 
15578
  ac_status=$?
 
15579
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15580
  (exit $ac_status); }; then
 
15581
  pkg_cv_GST_CONTROLLER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-controller-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
 
15582
else
 
15583
  pkg_failed=yes
 
15584
fi
 
15585
else
 
15586
        pkg_failed=untried
 
15587
fi
 
15588
if test -n "$PKG_CONFIG"; then
 
15589
        if test -n "$PKG_CONFIG" && \
 
15590
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-controller-\$GST_MAJORMINOR >= \$GST_REQUIRED\"") >&5
 
15591
  ($PKG_CONFIG --exists --print-errors "gstreamer-controller-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
 
15592
  ac_status=$?
 
15593
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15594
  (exit $ac_status); }; then
 
15595
  pkg_cv_GST_CONTROLLER_LIBS=`$PKG_CONFIG --libs "gstreamer-controller-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
 
15596
else
 
15597
  pkg_failed=yes
 
15598
fi
 
15599
else
 
15600
        pkg_failed=untried
 
15601
fi
 
15602
 
 
15603
if test $pkg_failed = yes; then
 
15604
        GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-controller-$GST_MAJORMINOR >= $GST_REQUIRED"`
 
15605
        # Put the nasty error message in config.log where it belongs
 
15606
        echo "$GST_CONTROLLER_PKG_ERRORS" 1>&5
 
15607
 
 
15608
        HAVE_GST_CONTROLLER=no
 
15609
elif test $pkg_failed = untried; then
 
15610
        HAVE_GST_CONTROLLER=no
 
15611
else
 
15612
        GST_CONTROLLER_CFLAGS=$pkg_cv_GST_CONTROLLER_CFLAGS
 
15613
        GST_CONTROLLER_LIBS=$pkg_cv_GST_CONTROLLER_LIBS
 
15614
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15615
$as_echo "yes" >&6; }
 
15616
        HAVE_GST_CONTROLLER=yes
 
15617
fi
 
15618
 
 
15619
if test "x$HAVE_GST_CONTROLLER" = "xno"; then
 
15620
  { { $as_echo "$as_me:$LINENO: error: no GStreamer controller class libraries found (gstreamer-controller-$GST_MAJORMINOR)" >&5
 
15621
$as_echo "$as_me: error: no GStreamer controller class libraries found (gstreamer-controller-$GST_MAJORMINOR)" >&2;}
 
15622
   { (exit 1); exit 1; }; }
 
15623
fi
 
15624
 
 
15625
 
 
15626
pkg_failed=no
 
15627
{ $as_echo "$as_me:$LINENO: checking for GST_CHECK" >&5
 
15628
$as_echo_n "checking for GST_CHECK... " >&6; }
 
15629
 
 
15630
if test -n "$PKG_CONFIG"; then
 
15631
        if test -n "$PKG_CONFIG" && \
 
15632
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-check-\$GST_MAJORMINOR >= \$GST_REQUIRED\"") >&5
 
15633
  ($PKG_CONFIG --exists --print-errors "gstreamer-check-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
 
15634
  ac_status=$?
 
15635
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15636
  (exit $ac_status); }; then
 
15637
  pkg_cv_GST_CHECK_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-check-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
 
15638
else
 
15639
  pkg_failed=yes
 
15640
fi
 
15641
else
 
15642
        pkg_failed=untried
 
15643
fi
 
15644
if test -n "$PKG_CONFIG"; then
 
15645
        if test -n "$PKG_CONFIG" && \
 
15646
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-check-\$GST_MAJORMINOR >= \$GST_REQUIRED\"") >&5
 
15647
  ($PKG_CONFIG --exists --print-errors "gstreamer-check-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
 
15648
  ac_status=$?
 
15649
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15650
  (exit $ac_status); }; then
 
15651
  pkg_cv_GST_CHECK_LIBS=`$PKG_CONFIG --libs "gstreamer-check-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
 
15652
else
 
15653
  pkg_failed=yes
 
15654
fi
 
15655
else
 
15656
        pkg_failed=untried
 
15657
fi
 
15658
 
 
15659
if test $pkg_failed = yes; then
 
15660
        GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-check-$GST_MAJORMINOR >= $GST_REQUIRED"`
 
15661
        # Put the nasty error message in config.log where it belongs
 
15662
        echo "$GST_CHECK_PKG_ERRORS" 1>&5
 
15663
 
 
15664
        HAVE_GST_CHECK=no
 
15665
elif test $pkg_failed = untried; then
 
15666
        HAVE_GST_CHECK=no
 
15667
else
 
15668
        GST_CHECK_CFLAGS=$pkg_cv_GST_CHECK_CFLAGS
 
15669
        GST_CHECK_LIBS=$pkg_cv_GST_CHECK_LIBS
 
15670
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15671
$as_echo "yes" >&6; }
 
15672
        HAVE_GST_CHECK=yes
 
15673
fi
 
15674
 
 
15675
 
 
15676
 
 
15677
# Check whether --with-check was given.
 
15678
if test "${with_check+set}" = set; then
 
15679
  withval=$with_check;
 
15680
fi
 
15681
 
 
15682
 
 
15683
 
 
15684
# Check whether --with-checklibname was given.
 
15685
if test "${with_checklibname+set}" = set; then
 
15686
  withval=$with_checklibname;
 
15687
fi
 
15688
 
 
15689
 
 
15690
  min_check_version=0.9.2
 
15691
 
 
15692
  if test x$with_check = xno; then
 
15693
    { $as_echo "$as_me:$LINENO: result: disabled" >&5
 
15694
$as_echo "disabled" >&6; }
 
15695
    HAVE_CHECK=no
 
15696
  else
 
15697
    if test "x$with_check" != x; then
 
15698
      CHECK_EXTRA_CFLAGS="-I$with_check/include"
 
15699
      CHECK_EXTRA_LIBS="-L$with_check/lib"
 
15700
    else
 
15701
      CHECK_EXTRA_CFLAGS=""
 
15702
      CHECK_EXTRA_LIBS=""
 
15703
    fi
 
15704
 
 
15705
    if test x$with_checklibname = x; then
 
15706
 
 
15707
  min_check_version=$min_check_version
 
15708
  extra_cflags=$CHECK_EXTRA_CFLAGS
 
15709
  extra_libs=$CHECK_EXTRA_LIBS
 
15710
  check_lib_name=check_pic
 
15711
 
 
15712
  CHECK_CFLAGS="$extra_cflags"
 
15713
  CHECK_LIBS="$extra_libs -l$check_lib_name"
 
15714
 
 
15715
  ac_save_CFLAGS="$CFLAGS"
 
15716
  ac_save_LIBS="$LIBS"
 
15717
 
 
15718
  CFLAGS="$CFLAGS $CHECK_CFLAGS"
 
15719
  LIBS="$CHECK_LIBS $LIBS"
 
15720
 
 
15721
  { $as_echo "$as_me:$LINENO: checking for check named $check_lib_name  - version >= $min_check_version" >&5
 
15722
$as_echo_n "checking for check named $check_lib_name  - version >= $min_check_version... " >&6; }
 
15723
 
 
15724
  rm -f conf.check-test
 
15725
      no_check=
 
15726
  if test "$cross_compiling" = yes; then
 
15727
  echo $ac_n "cross compiling; assumed OK... $ac_c"
 
15728
else
 
15729
  cat >conftest.$ac_ext <<_ACEOF
 
15730
/* confdefs.h.  */
 
15731
_ACEOF
 
15732
cat confdefs.h >>conftest.$ac_ext
 
15733
cat >>conftest.$ac_ext <<_ACEOF
 
15734
/* end confdefs.h.  */
 
15735
 
 
15736
#include <stdio.h>
 
15737
#include <stdlib.h>
 
15738
 
 
15739
#include <check.h>
 
15740
 
 
15741
int main ()
 
15742
{
 
15743
  int major, minor, micro;
 
15744
  char *tmp_version;
 
15745
 
 
15746
  system ("touch conf.check-test");
 
15747
 
 
15748
  /* HP/UX 9 (%@#!) writes to sscanf strings */
 
15749
  tmp_version = strdup("$min_check_version");
 
15750
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
 
15751
     printf("%s, bad version string\n", "$min_check_version");
 
15752
     return 1;
 
15753
   }
 
15754
 
 
15755
  if ((CHECK_MAJOR_VERSION != check_major_version) ||
 
15756
      (CHECK_MINOR_VERSION != check_minor_version) ||
 
15757
      (CHECK_MICRO_VERSION != check_micro_version))
 
15758
    {
 
15759
      printf("\n*** The check header file (version %d.%d.%d) does not match\n",
 
15760
             CHECK_MAJOR_VERSION, CHECK_MINOR_VERSION, CHECK_MICRO_VERSION);
 
15761
      printf("*** the check library (version %d.%d.%d).\n",
 
15762
             check_major_version, check_minor_version, check_micro_version);
 
15763
      return 1;
 
15764
    }
 
15765
 
 
15766
  if ((check_major_version > major) ||
 
15767
      ((check_major_version == major) && (check_minor_version > minor)) ||
 
15768
      ((check_major_version == major) && (check_minor_version == minor) && (check_micro_version >= micro)))
 
15769
    {
 
15770
      return 0;
 
15771
    }
 
15772
  else
 
15773
    {
 
15774
      printf("\n*** An old version of check (%d.%d.%d) was found.\n",
 
15775
             check_major_version, check_minor_version, check_micro_version);
 
15776
      printf("*** You need a version of check being at least %d.%d.%d.\n", major, minor, micro);
 
15777
      printf("***\n");
 
15778
      printf("*** If you have already installed a sufficiently new version, this error\n");
 
15779
      printf("*** probably means that the wrong copy of the check library and header\n");
 
15780
      printf("*** file is being found. Rerun configure with the --with-check=PATH option\n");
 
15781
      printf("*** to specify the prefix where the correct version was installed.\n");
 
15782
    }
 
15783
 
 
15784
  return 1;
 
15785
}
 
15786
 
 
15787
_ACEOF
 
15788
rm -f conftest$ac_exeext
 
15789
if { (ac_try="$ac_link"
 
15790
case "(($ac_try" in
 
15791
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15792
  *) ac_try_echo=$ac_try;;
 
15793
esac
 
15794
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15795
$as_echo "$ac_try_echo") >&5
 
15796
  (eval "$ac_link") 2>&5
 
15797
  ac_status=$?
 
15798
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15799
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
15800
  { (case "(($ac_try" in
 
15801
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15802
  *) ac_try_echo=$ac_try;;
 
15803
esac
 
15804
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15805
$as_echo "$ac_try_echo") >&5
 
15806
  (eval "$ac_try") 2>&5
 
15807
  ac_status=$?
 
15808
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15809
  (exit $ac_status); }; }; then
 
15810
  :
 
15811
else
 
15812
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
15813
$as_echo "$as_me: failed program was:" >&5
 
15814
sed 's/^/| /' conftest.$ac_ext >&5
 
15815
 
 
15816
( exit $ac_status )
 
15817
no_check=yes
 
15818
fi
 
15819
rm -rf conftest.dSYM
 
15820
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
15821
fi
 
15822
 
 
15823
 
 
15824
 
 
15825
  CFLAGS="$ac_save_CFLAGS"
 
15826
  LIBS="$ac_save_LIBS"
 
15827
 
 
15828
  if test "x$no_check" = x ; then
 
15829
    { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15830
$as_echo "yes" >&6; }
 
15831
    have_check=true
 
15832
  else
 
15833
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
15834
$as_echo "no" >&6; }
 
15835
    if test -f conf.check-test ; then
 
15836
      :
 
15837
    else
 
15838
      echo "*** Could not run check test program, checking why..."
 
15839
      CFLAGS="$CFLAGS $CHECK_CFLAGS"
 
15840
      LIBS="$CHECK_LIBS $LIBS"
 
15841
      cat >conftest.$ac_ext <<_ACEOF
 
15842
/* confdefs.h.  */
 
15843
_ACEOF
 
15844
cat confdefs.h >>conftest.$ac_ext
 
15845
cat >>conftest.$ac_ext <<_ACEOF
 
15846
/* end confdefs.h.  */
 
15847
 
 
15848
#include <stdio.h>
 
15849
#include <stdlib.h>
 
15850
 
 
15851
#include <check.h>
 
15852
 
 
15853
int
 
15854
main ()
 
15855
{
 
15856
 
 
15857
  ;
 
15858
  return 0;
 
15859
}
 
15860
_ACEOF
 
15861
rm -f conftest.$ac_objext conftest$ac_exeext
 
15862
if { (ac_try="$ac_link"
 
15863
case "(($ac_try" in
 
15864
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15865
  *) ac_try_echo=$ac_try;;
 
15866
esac
 
15867
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15868
$as_echo "$ac_try_echo") >&5
 
15869
  (eval "$ac_link") 2>conftest.er1
 
15870
  ac_status=$?
 
15871
  grep -v '^ *+' conftest.er1 >conftest.err
 
15872
  rm -f conftest.er1
 
15873
  cat conftest.err >&5
 
15874
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15875
  (exit $ac_status); } && {
 
15876
         test -z "$ac_c_werror_flag" ||
 
15877
         test ! -s conftest.err
 
15878
       } && test -s conftest$ac_exeext && {
 
15879
         test "$cross_compiling" = yes ||
 
15880
         $as_test_x conftest$ac_exeext
 
15881
       }; then
 
15882
   echo "*** The test program compiled, but did not run. This usually means"
 
15883
        echo "*** that the run-time linker is not finding check. You'll need to set your"
 
15884
        echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
 
15885
        echo "*** to the installed location  Also, make sure you have run ldconfig if that"
 
15886
        echo "*** is required on your system"
 
15887
        echo "***"
 
15888
        echo "*** If you have an old version installed, it is best to remove it, although"
 
15889
        echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
 
15890
else
 
15891
  $as_echo "$as_me: failed program was:" >&5
 
15892
sed 's/^/| /' conftest.$ac_ext >&5
 
15893
 
 
15894
         echo "*** The test program failed to compile or link. See the file config.log for"
 
15895
        echo "*** the exact error that occured."
 
15896
fi
 
15897
 
 
15898
rm -rf conftest.dSYM
 
15899
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
15900
      conftest$ac_exeext conftest.$ac_ext
 
15901
 
 
15902
      CFLAGS="$ac_save_CFLAGS"
 
15903
      LIBS="$ac_save_LIBS"
 
15904
    fi
 
15905
 
 
15906
    CHECK_CFLAGS=""
 
15907
    CHECK_LIBS=""
 
15908
 
 
15909
    rm -f conf.check-test
 
15910
    have_check=false
 
15911
  fi
 
15912
 
 
15913
      if test x$have_check = xtrue; then
 
15914
        HAVE_CHECK=yes
 
15915
      else
 
15916
 
 
15917
  min_check_version=$min_check_version
 
15918
  extra_cflags=$CHECK_EXTRA_CFLAGS
 
15919
  extra_libs=$CHECK_EXTRA_LIBS
 
15920
  check_lib_name=check
 
15921
 
 
15922
  CHECK_CFLAGS="$extra_cflags"
 
15923
  CHECK_LIBS="$extra_libs -l$check_lib_name"
 
15924
 
 
15925
  ac_save_CFLAGS="$CFLAGS"
 
15926
  ac_save_LIBS="$LIBS"
 
15927
 
 
15928
  CFLAGS="$CFLAGS $CHECK_CFLAGS"
 
15929
  LIBS="$CHECK_LIBS $LIBS"
 
15930
 
 
15931
  { $as_echo "$as_me:$LINENO: checking for check named $check_lib_name  - version >= $min_check_version" >&5
 
15932
$as_echo_n "checking for check named $check_lib_name  - version >= $min_check_version... " >&6; }
 
15933
 
 
15934
  rm -f conf.check-test
 
15935
      no_check=
 
15936
  if test "$cross_compiling" = yes; then
 
15937
  echo $ac_n "cross compiling; assumed OK... $ac_c"
 
15938
else
 
15939
  cat >conftest.$ac_ext <<_ACEOF
 
15940
/* confdefs.h.  */
 
15941
_ACEOF
 
15942
cat confdefs.h >>conftest.$ac_ext
 
15943
cat >>conftest.$ac_ext <<_ACEOF
 
15944
/* end confdefs.h.  */
 
15945
 
 
15946
#include <stdio.h>
 
15947
#include <stdlib.h>
 
15948
 
 
15949
#include <check.h>
 
15950
 
 
15951
int main ()
 
15952
{
 
15953
  int major, minor, micro;
 
15954
  char *tmp_version;
 
15955
 
 
15956
  system ("touch conf.check-test");
 
15957
 
 
15958
  /* HP/UX 9 (%@#!) writes to sscanf strings */
 
15959
  tmp_version = strdup("$min_check_version");
 
15960
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
 
15961
     printf("%s, bad version string\n", "$min_check_version");
 
15962
     return 1;
 
15963
   }
 
15964
 
 
15965
  if ((CHECK_MAJOR_VERSION != check_major_version) ||
 
15966
      (CHECK_MINOR_VERSION != check_minor_version) ||
 
15967
      (CHECK_MICRO_VERSION != check_micro_version))
 
15968
    {
 
15969
      printf("\n*** The check header file (version %d.%d.%d) does not match\n",
 
15970
             CHECK_MAJOR_VERSION, CHECK_MINOR_VERSION, CHECK_MICRO_VERSION);
 
15971
      printf("*** the check library (version %d.%d.%d).\n",
 
15972
             check_major_version, check_minor_version, check_micro_version);
 
15973
      return 1;
 
15974
    }
 
15975
 
 
15976
  if ((check_major_version > major) ||
 
15977
      ((check_major_version == major) && (check_minor_version > minor)) ||
 
15978
      ((check_major_version == major) && (check_minor_version == minor) && (check_micro_version >= micro)))
 
15979
    {
 
15980
      return 0;
 
15981
    }
 
15982
  else
 
15983
    {
 
15984
      printf("\n*** An old version of check (%d.%d.%d) was found.\n",
 
15985
             check_major_version, check_minor_version, check_micro_version);
 
15986
      printf("*** You need a version of check being at least %d.%d.%d.\n", major, minor, micro);
 
15987
      printf("***\n");
 
15988
      printf("*** If you have already installed a sufficiently new version, this error\n");
 
15989
      printf("*** probably means that the wrong copy of the check library and header\n");
 
15990
      printf("*** file is being found. Rerun configure with the --with-check=PATH option\n");
 
15991
      printf("*** to specify the prefix where the correct version was installed.\n");
 
15992
    }
 
15993
 
 
15994
  return 1;
 
15995
}
 
15996
 
 
15997
_ACEOF
 
15998
rm -f conftest$ac_exeext
 
15999
if { (ac_try="$ac_link"
 
16000
case "(($ac_try" in
 
16001
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16002
  *) ac_try_echo=$ac_try;;
 
16003
esac
 
16004
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16005
$as_echo "$ac_try_echo") >&5
 
16006
  (eval "$ac_link") 2>&5
 
16007
  ac_status=$?
 
16008
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16009
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
16010
  { (case "(($ac_try" in
 
16011
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16012
  *) ac_try_echo=$ac_try;;
 
16013
esac
 
16014
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16015
$as_echo "$ac_try_echo") >&5
 
16016
  (eval "$ac_try") 2>&5
 
16017
  ac_status=$?
 
16018
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16019
  (exit $ac_status); }; }; then
 
16020
  :
 
16021
else
 
16022
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
16023
$as_echo "$as_me: failed program was:" >&5
 
16024
sed 's/^/| /' conftest.$ac_ext >&5
 
16025
 
 
16026
( exit $ac_status )
 
16027
no_check=yes
 
16028
fi
 
16029
rm -rf conftest.dSYM
 
16030
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
16031
fi
 
16032
 
 
16033
 
 
16034
 
 
16035
  CFLAGS="$ac_save_CFLAGS"
 
16036
  LIBS="$ac_save_LIBS"
 
16037
 
 
16038
  if test "x$no_check" = x ; then
 
16039
    { $as_echo "$as_me:$LINENO: result: yes" >&5
 
16040
$as_echo "yes" >&6; }
 
16041
    have_check=true
 
16042
  else
 
16043
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
16044
$as_echo "no" >&6; }
 
16045
    if test -f conf.check-test ; then
 
16046
      :
 
16047
    else
 
16048
      echo "*** Could not run check test program, checking why..."
 
16049
      CFLAGS="$CFLAGS $CHECK_CFLAGS"
 
16050
      LIBS="$CHECK_LIBS $LIBS"
 
16051
      cat >conftest.$ac_ext <<_ACEOF
 
16052
/* confdefs.h.  */
 
16053
_ACEOF
 
16054
cat confdefs.h >>conftest.$ac_ext
 
16055
cat >>conftest.$ac_ext <<_ACEOF
 
16056
/* end confdefs.h.  */
 
16057
 
 
16058
#include <stdio.h>
 
16059
#include <stdlib.h>
 
16060
 
 
16061
#include <check.h>
 
16062
 
 
16063
int
 
16064
main ()
 
16065
{
 
16066
 
 
16067
  ;
 
16068
  return 0;
 
16069
}
 
16070
_ACEOF
 
16071
rm -f conftest.$ac_objext conftest$ac_exeext
 
16072
if { (ac_try="$ac_link"
 
16073
case "(($ac_try" in
 
16074
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16075
  *) ac_try_echo=$ac_try;;
 
16076
esac
 
16077
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16078
$as_echo "$ac_try_echo") >&5
 
16079
  (eval "$ac_link") 2>conftest.er1
 
16080
  ac_status=$?
 
16081
  grep -v '^ *+' conftest.er1 >conftest.err
 
16082
  rm -f conftest.er1
 
16083
  cat conftest.err >&5
 
16084
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16085
  (exit $ac_status); } && {
 
16086
         test -z "$ac_c_werror_flag" ||
 
16087
         test ! -s conftest.err
 
16088
       } && test -s conftest$ac_exeext && {
 
16089
         test "$cross_compiling" = yes ||
 
16090
         $as_test_x conftest$ac_exeext
 
16091
       }; then
 
16092
   echo "*** The test program compiled, but did not run. This usually means"
 
16093
        echo "*** that the run-time linker is not finding check. You'll need to set your"
 
16094
        echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
 
16095
        echo "*** to the installed location  Also, make sure you have run ldconfig if that"
 
16096
        echo "*** is required on your system"
 
16097
        echo "***"
 
16098
        echo "*** If you have an old version installed, it is best to remove it, although"
 
16099
        echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
 
16100
else
 
16101
  $as_echo "$as_me: failed program was:" >&5
 
16102
sed 's/^/| /' conftest.$ac_ext >&5
 
16103
 
 
16104
         echo "*** The test program failed to compile or link. See the file config.log for"
 
16105
        echo "*** the exact error that occured."
 
16106
fi
 
16107
 
 
16108
rm -rf conftest.dSYM
 
16109
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
16110
      conftest$ac_exeext conftest.$ac_ext
 
16111
 
 
16112
      CFLAGS="$ac_save_CFLAGS"
 
16113
      LIBS="$ac_save_LIBS"
 
16114
    fi
 
16115
 
 
16116
    CHECK_CFLAGS=""
 
16117
    CHECK_LIBS=""
 
16118
 
 
16119
    rm -f conf.check-test
 
16120
    have_check=false
 
16121
  fi
 
16122
 
 
16123
        if test x$have_check = xtrue; then
 
16124
          HAVE_CHECK=yes
 
16125
        else
 
16126
          HAVE_CHECK=no
 
16127
        fi
 
16128
      fi
 
16129
    else
 
16130
 
 
16131
  min_check_version=$min_check_version
 
16132
  extra_cflags=$CHECK_EXTRA_CFLAGS
 
16133
  extra_libs=$CHECK_EXTRA_LIBS
 
16134
  check_lib_name=$with_checklibname
 
16135
 
 
16136
  CHECK_CFLAGS="$extra_cflags"
 
16137
  CHECK_LIBS="$extra_libs -l$check_lib_name"
 
16138
 
 
16139
  ac_save_CFLAGS="$CFLAGS"
 
16140
  ac_save_LIBS="$LIBS"
 
16141
 
 
16142
  CFLAGS="$CFLAGS $CHECK_CFLAGS"
 
16143
  LIBS="$CHECK_LIBS $LIBS"
 
16144
 
 
16145
  { $as_echo "$as_me:$LINENO: checking for check named $check_lib_name  - version >= $min_check_version" >&5
 
16146
$as_echo_n "checking for check named $check_lib_name  - version >= $min_check_version... " >&6; }
 
16147
 
 
16148
  rm -f conf.check-test
 
16149
      no_check=
 
16150
  if test "$cross_compiling" = yes; then
 
16151
  echo $ac_n "cross compiling; assumed OK... $ac_c"
 
16152
else
 
16153
  cat >conftest.$ac_ext <<_ACEOF
 
16154
/* confdefs.h.  */
 
16155
_ACEOF
 
16156
cat confdefs.h >>conftest.$ac_ext
 
16157
cat >>conftest.$ac_ext <<_ACEOF
 
16158
/* end confdefs.h.  */
 
16159
 
 
16160
#include <stdio.h>
 
16161
#include <stdlib.h>
 
16162
 
 
16163
#include <check.h>
 
16164
 
 
16165
int main ()
 
16166
{
 
16167
  int major, minor, micro;
 
16168
  char *tmp_version;
 
16169
 
 
16170
  system ("touch conf.check-test");
 
16171
 
 
16172
  /* HP/UX 9 (%@#!) writes to sscanf strings */
 
16173
  tmp_version = strdup("$min_check_version");
 
16174
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
 
16175
     printf("%s, bad version string\n", "$min_check_version");
 
16176
     return 1;
 
16177
   }
 
16178
 
 
16179
  if ((CHECK_MAJOR_VERSION != check_major_version) ||
 
16180
      (CHECK_MINOR_VERSION != check_minor_version) ||
 
16181
      (CHECK_MICRO_VERSION != check_micro_version))
 
16182
    {
 
16183
      printf("\n*** The check header file (version %d.%d.%d) does not match\n",
 
16184
             CHECK_MAJOR_VERSION, CHECK_MINOR_VERSION, CHECK_MICRO_VERSION);
 
16185
      printf("*** the check library (version %d.%d.%d).\n",
 
16186
             check_major_version, check_minor_version, check_micro_version);
 
16187
      return 1;
 
16188
    }
 
16189
 
 
16190
  if ((check_major_version > major) ||
 
16191
      ((check_major_version == major) && (check_minor_version > minor)) ||
 
16192
      ((check_major_version == major) && (check_minor_version == minor) && (check_micro_version >= micro)))
 
16193
    {
 
16194
      return 0;
 
16195
    }
 
16196
  else
 
16197
    {
 
16198
      printf("\n*** An old version of check (%d.%d.%d) was found.\n",
 
16199
             check_major_version, check_minor_version, check_micro_version);
 
16200
      printf("*** You need a version of check being at least %d.%d.%d.\n", major, minor, micro);
 
16201
      printf("***\n");
 
16202
      printf("*** If you have already installed a sufficiently new version, this error\n");
 
16203
      printf("*** probably means that the wrong copy of the check library and header\n");
 
16204
      printf("*** file is being found. Rerun configure with the --with-check=PATH option\n");
 
16205
      printf("*** to specify the prefix where the correct version was installed.\n");
 
16206
    }
 
16207
 
 
16208
  return 1;
 
16209
}
 
16210
 
 
16211
_ACEOF
 
16212
rm -f conftest$ac_exeext
 
16213
if { (ac_try="$ac_link"
 
16214
case "(($ac_try" in
 
16215
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16216
  *) ac_try_echo=$ac_try;;
 
16217
esac
 
16218
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16219
$as_echo "$ac_try_echo") >&5
 
16220
  (eval "$ac_link") 2>&5
 
16221
  ac_status=$?
 
16222
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16223
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
16224
  { (case "(($ac_try" in
 
16225
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16226
  *) ac_try_echo=$ac_try;;
 
16227
esac
 
16228
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16229
$as_echo "$ac_try_echo") >&5
 
16230
  (eval "$ac_try") 2>&5
 
16231
  ac_status=$?
 
16232
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16233
  (exit $ac_status); }; }; then
 
16234
  :
 
16235
else
 
16236
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
16237
$as_echo "$as_me: failed program was:" >&5
 
16238
sed 's/^/| /' conftest.$ac_ext >&5
 
16239
 
 
16240
( exit $ac_status )
 
16241
no_check=yes
 
16242
fi
 
16243
rm -rf conftest.dSYM
 
16244
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
16245
fi
 
16246
 
 
16247
 
 
16248
 
 
16249
  CFLAGS="$ac_save_CFLAGS"
 
16250
  LIBS="$ac_save_LIBS"
 
16251
 
 
16252
  if test "x$no_check" = x ; then
 
16253
    { $as_echo "$as_me:$LINENO: result: yes" >&5
 
16254
$as_echo "yes" >&6; }
 
16255
    have_check=true
 
16256
  else
 
16257
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
16258
$as_echo "no" >&6; }
 
16259
    if test -f conf.check-test ; then
 
16260
      :
 
16261
    else
 
16262
      echo "*** Could not run check test program, checking why..."
 
16263
      CFLAGS="$CFLAGS $CHECK_CFLAGS"
 
16264
      LIBS="$CHECK_LIBS $LIBS"
 
16265
      cat >conftest.$ac_ext <<_ACEOF
 
16266
/* confdefs.h.  */
 
16267
_ACEOF
 
16268
cat confdefs.h >>conftest.$ac_ext
 
16269
cat >>conftest.$ac_ext <<_ACEOF
 
16270
/* end confdefs.h.  */
 
16271
 
 
16272
#include <stdio.h>
 
16273
#include <stdlib.h>
 
16274
 
 
16275
#include <check.h>
 
16276
 
 
16277
int
 
16278
main ()
 
16279
{
 
16280
 
 
16281
  ;
 
16282
  return 0;
 
16283
}
 
16284
_ACEOF
 
16285
rm -f conftest.$ac_objext conftest$ac_exeext
 
16286
if { (ac_try="$ac_link"
 
16287
case "(($ac_try" in
 
16288
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16289
  *) ac_try_echo=$ac_try;;
 
16290
esac
 
16291
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16292
$as_echo "$ac_try_echo") >&5
 
16293
  (eval "$ac_link") 2>conftest.er1
 
16294
  ac_status=$?
 
16295
  grep -v '^ *+' conftest.er1 >conftest.err
 
16296
  rm -f conftest.er1
 
16297
  cat conftest.err >&5
 
16298
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16299
  (exit $ac_status); } && {
 
16300
         test -z "$ac_c_werror_flag" ||
 
16301
         test ! -s conftest.err
 
16302
       } && test -s conftest$ac_exeext && {
 
16303
         test "$cross_compiling" = yes ||
 
16304
         $as_test_x conftest$ac_exeext
 
16305
       }; then
 
16306
   echo "*** The test program compiled, but did not run. This usually means"
 
16307
        echo "*** that the run-time linker is not finding check. You'll need to set your"
 
16308
        echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
 
16309
        echo "*** to the installed location  Also, make sure you have run ldconfig if that"
 
16310
        echo "*** is required on your system"
 
16311
        echo "***"
 
16312
        echo "*** If you have an old version installed, it is best to remove it, although"
 
16313
        echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
 
16314
else
 
16315
  $as_echo "$as_me: failed program was:" >&5
 
16316
sed 's/^/| /' conftest.$ac_ext >&5
 
16317
 
 
16318
         echo "*** The test program failed to compile or link. See the file config.log for"
 
16319
        echo "*** the exact error that occured."
 
16320
fi
 
16321
 
 
16322
rm -rf conftest.dSYM
 
16323
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
16324
      conftest$ac_exeext conftest.$ac_ext
 
16325
 
 
16326
      CFLAGS="$ac_save_CFLAGS"
 
16327
      LIBS="$ac_save_LIBS"
 
16328
    fi
 
16329
 
 
16330
    CHECK_CFLAGS=""
 
16331
    CHECK_LIBS=""
 
16332
 
 
16333
    rm -f conf.check-test
 
16334
    have_check=false
 
16335
  fi
 
16336
 
 
16337
      if test x$have_check = xtrue; then
 
16338
        HAVE_CHECK=yes
 
16339
      else
 
16340
        HAVE_CHECK=no
 
16341
      fi
 
16342
    fi
 
16343
 
 
16344
 
 
16345
 
 
16346
    rm -f conf.check-test
 
16347
  fi
 
16348
 
 
16349
 if test "x$HAVE_CHECK" = "xyes"; then
 
16350
  HAVE_CHECK_TRUE=
 
16351
  HAVE_CHECK_FALSE='#'
 
16352
else
 
16353
  HAVE_CHECK_TRUE='#'
 
16354
  HAVE_CHECK_FALSE=
 
16355
fi
 
16356
 
 
16357
 
 
16358
# Extract the first word of "valgrind", so it can be a program name with args.
 
16359
set dummy valgrind; ac_word=$2
 
16360
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16361
$as_echo_n "checking for $ac_word... " >&6; }
 
16362
if test "${ac_cv_path_VALGRIND_PATH+set}" = set; then
 
16363
  $as_echo_n "(cached) " >&6
 
16364
else
 
16365
  case $VALGRIND_PATH in
 
16366
  [\\/]* | ?:[\\/]*)
 
16367
  ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
 
16368
  ;;
 
16369
  *)
 
16370
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16371
for as_dir in $PATH
 
16372
do
 
16373
  IFS=$as_save_IFS
 
16374
  test -z "$as_dir" && as_dir=.
 
16375
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16376
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
16377
    ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
 
16378
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16379
    break 2
 
16380
  fi
 
16381
done
 
16382
done
 
16383
IFS=$as_save_IFS
 
16384
 
 
16385
  test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
 
16386
  ;;
 
16387
esac
 
16388
fi
 
16389
VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
 
16390
if test -n "$VALGRIND_PATH"; then
 
16391
  { $as_echo "$as_me:$LINENO: result: $VALGRIND_PATH" >&5
 
16392
$as_echo "$VALGRIND_PATH" >&6; }
 
16393
else
 
16394
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16395
$as_echo "no" >&6; }
 
16396
fi
 
16397
 
 
16398
 
 
16399
 if test ! "x$VALGRIND_PATH" = "xno"; then
 
16400
  HAVE_VALGRIND_TRUE=
 
16401
  HAVE_VALGRIND_FALSE='#'
 
16402
else
 
16403
  HAVE_VALGRIND_TRUE='#'
 
16404
  HAVE_VALGRIND_FALSE=
 
16405
fi
 
16406
 
 
16407
 
 
16408
 
 
16409
 
 
16410
 
 
16411
 
 
16412
pkg_failed=no
 
16413
{ $as_echo "$as_me:$LINENO: checking for GSTPB_BASE" >&5
 
16414
$as_echo_n "checking for GSTPB_BASE... " >&6; }
 
16415
 
 
16416
if test -n "$PKG_CONFIG"; then
 
16417
        if test -n "$PKG_CONFIG" && \
 
16418
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GSTPB_REQUIRED\"") >&5
 
16419
  ($PKG_CONFIG --exists --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQUIRED") 2>&5
 
16420
  ac_status=$?
 
16421
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16422
  (exit $ac_status); }; then
 
16423
  pkg_cv_GSTPB_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQUIRED" 2>/dev/null`
 
16424
else
 
16425
  pkg_failed=yes
 
16426
fi
 
16427
else
 
16428
        pkg_failed=untried
 
16429
fi
 
16430
if test -n "$PKG_CONFIG"; then
 
16431
        if test -n "$PKG_CONFIG" && \
 
16432
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GSTPB_REQUIRED\"") >&5
 
16433
  ($PKG_CONFIG --exists --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQUIRED") 2>&5
 
16434
  ac_status=$?
 
16435
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16436
  (exit $ac_status); }; then
 
16437
  pkg_cv_GSTPB_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQUIRED" 2>/dev/null`
 
16438
else
 
16439
  pkg_failed=yes
 
16440
fi
 
16441
else
 
16442
        pkg_failed=untried
 
16443
fi
 
16444
 
 
16445
if test $pkg_failed = yes; then
 
16446
        GSTPB_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQUIRED"`
 
16447
        # Put the nasty error message in config.log where it belongs
 
16448
        echo "$GSTPB_BASE_PKG_ERRORS" 1>&5
 
16449
 
 
16450
        HAVE_GSTPB_BASE=no
 
16451
elif test $pkg_failed = untried; then
 
16452
        HAVE_GSTPB_BASE=no
 
16453
else
 
16454
        GSTPB_BASE_CFLAGS=$pkg_cv_GSTPB_BASE_CFLAGS
 
16455
        GSTPB_BASE_LIBS=$pkg_cv_GSTPB_BASE_LIBS
 
16456
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
16457
$as_echo "yes" >&6; }
 
16458
        HAVE_GSTPB_BASE=yes
 
16459
fi
 
16460
 
 
16461
if test "x$HAVE_GSTPB_BASE" = "xno"; then
 
16462
  { { $as_echo "$as_me:$LINENO: error: no GStreamer Plugins Base libraries found (gstreamer-plugins-base-$GST_MAJORMINOR)" >&5
 
16463
$as_echo "$as_me: error: no GStreamer Plugins Base libraries found (gstreamer-plugins-base-$GST_MAJORMINOR)" >&2;}
 
16464
   { (exit 1); exit 1; }; }
 
16465
fi
 
16466
 
 
16467
 
 
16468
 
 
16469
 
 
16470
plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
 
16471
 
 
16472
 
 
16473
GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex _*\(gst_\|Gst\|GST_\).* -no-undefined'
 
16474
 
 
16475
 
 
16476
ac_config_files="$ac_config_files Makefile common/Makefile common/m4/Makefile docs/Makefile docs/version.entities docs/manual/Makefile docs/plugins/Makefile gst/Makefile gst/avidemux/Makefile gst/entrans/Makefile gst/mencoder/Makefile gst/transcode/Makefile gst/virtualdub/Makefile gst/y4m/Makefile gst-libs/Makefile gst-libs/gst/Makefile gst-libs/gst/video/Makefile ext/Makefile po/Makefile.in tests/Makefile tests/check/Makefile tests/visual/Makefile tools/Makefile tools/entrans:tools/entrans.py gst-entrans.spec"
 
16477
 
 
16478
cat >confcache <<\_ACEOF
 
16479
# This file is a shell script that caches the results of configure
 
16480
# tests run on this system so they can be shared between configure
 
16481
# scripts and configure runs, see configure's option --config-cache.
 
16482
# It is not useful on other systems.  If it contains results you don't
 
16483
# want to keep, you may remove or edit it.
 
16484
#
 
16485
# config.status only pays attention to the cache file if you give it
 
16486
# the --recheck option to rerun configure.
 
16487
#
 
16488
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
16489
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
16490
# following values.
 
16491
 
 
16492
_ACEOF
 
16493
 
 
16494
# The following way of writing the cache mishandles newlines in values,
 
16495
# but we know of no workaround that is simple, portable, and efficient.
 
16496
# So, we kill variables containing newlines.
 
16497
# Ultrix sh set writes to stderr and can't be redirected directly,
 
16498
# and sets the high bit in the cache file unless we assign to the vars.
 
16499
(
 
16500
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
16501
    eval ac_val=\$$ac_var
 
16502
    case $ac_val in #(
 
16503
    *${as_nl}*)
 
16504
      case $ac_var in #(
 
16505
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
16506
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
16507
      esac
 
16508
      case $ac_var in #(
 
16509
      _ | IFS | as_nl) ;; #(
 
16510
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
16511
      *) $as_unset $ac_var ;;
 
16512
      esac ;;
 
16513
    esac
 
16514
  done
 
16515
 
 
16516
  (set) 2>&1 |
 
16517
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
16518
    *${as_nl}ac_space=\ *)
 
16519
      # `set' does not quote correctly, so add quotes (double-quote
 
16520
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
16521
      sed -n \
 
16522
        "s/'/'\\\\''/g;
 
16523
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
16524
      ;; #(
 
16525
    *)
 
16526
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
16527
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
16528
      ;;
 
16529
    esac |
 
16530
    sort
 
16531
) |
 
16532
  sed '
 
16533
     /^ac_cv_env_/b end
 
16534
     t clear
 
16535
     :clear
 
16536
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
16537
     t end
 
16538
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
16539
     :end' >>confcache
 
16540
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
16541
  if test -w "$cache_file"; then
 
16542
    test "x$cache_file" != "x/dev/null" &&
 
16543
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
16544
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
16545
    cat confcache >$cache_file
 
16546
  else
 
16547
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
16548
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
16549
  fi
 
16550
fi
 
16551
rm -f confcache
 
16552
 
 
16553
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
16554
# Let make expand exec_prefix.
 
16555
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
16556
 
 
16557
DEFS=-DHAVE_CONFIG_H
 
16558
 
 
16559
ac_libobjs=
 
16560
ac_ltlibobjs=
 
16561
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
16562
  # 1. Remove the extension, and $U if already installed.
 
16563
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
16564
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
16565
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
16566
  #    will be set to the directory where LIBOBJS objects are built.
 
16567
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
16568
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
16569
done
 
16570
LIBOBJS=$ac_libobjs
 
16571
 
 
16572
LTLIBOBJS=$ac_ltlibobjs
 
16573
 
 
16574
 
 
16575
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 
16576
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 
16577
Usually this means the macro was only invoked conditionally." >&5
 
16578
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 
16579
Usually this means the macro was only invoked conditionally." >&2;}
 
16580
   { (exit 1); exit 1; }; }
 
16581
fi
 
16582
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
16583
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
16584
Usually this means the macro was only invoked conditionally." >&5
 
16585
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
16586
Usually this means the macro was only invoked conditionally." >&2;}
 
16587
   { (exit 1); exit 1; }; }
 
16588
fi
 
16589
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
16590
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
16591
Usually this means the macro was only invoked conditionally." >&5
 
16592
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
16593
Usually this means the macro was only invoked conditionally." >&2;}
 
16594
   { (exit 1); exit 1; }; }
 
16595
fi
 
16596
if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then
 
16597
  { { $as_echo "$as_me:$LINENO: error: conditional \"GST_GCOV_ENABLED\" was never defined.
 
16598
Usually this means the macro was only invoked conditionally." >&5
 
16599
$as_echo "$as_me: error: conditional \"GST_GCOV_ENABLED\" was never defined.
 
16600
Usually this means the macro was only invoked conditionally." >&2;}
 
16601
   { (exit 1); exit 1; }; }
 
16602
fi
 
16603
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
16604
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
16605
Usually this means the macro was only invoked conditionally." >&5
 
16606
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
16607
Usually this means the macro was only invoked conditionally." >&2;}
 
16608
   { (exit 1); exit 1; }; }
 
16609
fi
 
16610
if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
 
16611
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCCAS\" was never defined.
 
16612
Usually this means the macro was only invoked conditionally." >&5
 
16613
$as_echo "$as_me: error: conditional \"am__fastdepCCAS\" was never defined.
 
16614
Usually this means the macro was only invoked conditionally." >&2;}
 
16615
   { (exit 1); exit 1; }; }
 
16616
fi
 
16617
if test -z "${ENABLE_DOCBOOK_TRUE}" && test -z "${ENABLE_DOCBOOK_FALSE}"; then
 
16618
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_DOCBOOK\" was never defined.
 
16619
Usually this means the macro was only invoked conditionally." >&5
 
16620
$as_echo "$as_me: error: conditional \"ENABLE_DOCBOOK\" was never defined.
 
16621
Usually this means the macro was only invoked conditionally." >&2;}
 
16622
   { (exit 1); exit 1; }; }
 
16623
fi
 
16624
if test -z "${DOC_HTML_TRUE}" && test -z "${DOC_HTML_FALSE}"; then
 
16625
  { { $as_echo "$as_me:$LINENO: error: conditional \"DOC_HTML\" was never defined.
 
16626
Usually this means the macro was only invoked conditionally." >&5
 
16627
$as_echo "$as_me: error: conditional \"DOC_HTML\" was never defined.
 
16628
Usually this means the macro was only invoked conditionally." >&2;}
 
16629
   { (exit 1); exit 1; }; }
 
16630
fi
 
16631
if test -z "${DOC_PDF_TRUE}" && test -z "${DOC_PDF_FALSE}"; then
 
16632
  { { $as_echo "$as_me:$LINENO: error: conditional \"DOC_PDF\" was never defined.
 
16633
Usually this means the macro was only invoked conditionally." >&5
 
16634
$as_echo "$as_me: error: conditional \"DOC_PDF\" was never defined.
 
16635
Usually this means the macro was only invoked conditionally." >&2;}
 
16636
   { (exit 1); exit 1; }; }
 
16637
fi
 
16638
if test -z "${DOC_PS_TRUE}" && test -z "${DOC_PS_FALSE}"; then
 
16639
  { { $as_echo "$as_me:$LINENO: error: conditional \"DOC_PS\" was never defined.
 
16640
Usually this means the macro was only invoked conditionally." >&5
 
16641
$as_echo "$as_me: error: conditional \"DOC_PS\" was never defined.
 
16642
Usually this means the macro was only invoked conditionally." >&2;}
 
16643
   { (exit 1); exit 1; }; }
 
16644
fi
 
16645
if test -z "${ENABLE_DOCBOOK2X_TRUE}" && test -z "${ENABLE_DOCBOOK2X_FALSE}"; then
 
16646
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_DOCBOOK2X\" was never defined.
 
16647
Usually this means the macro was only invoked conditionally." >&5
 
16648
$as_echo "$as_me: error: conditional \"ENABLE_DOCBOOK2X\" was never defined.
 
16649
Usually this means the macro was only invoked conditionally." >&2;}
 
16650
   { (exit 1); exit 1; }; }
 
16651
fi
 
16652
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
 
16653
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_GTK_DOC\" was never defined.
 
16654
Usually this means the macro was only invoked conditionally." >&5
 
16655
$as_echo "$as_me: error: conditional \"ENABLE_GTK_DOC\" was never defined.
 
16656
Usually this means the macro was only invoked conditionally." >&2;}
 
16657
   { (exit 1); exit 1; }; }
 
16658
fi
 
16659
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
 
16660
  { { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
 
16661
Usually this means the macro was only invoked conditionally." >&5
 
16662
$as_echo "$as_me: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
 
16663
Usually this means the macro was only invoked conditionally." >&2;}
 
16664
   { (exit 1); exit 1; }; }
 
16665
fi
 
16666
if test -z "${ENABLE_PLUGIN_DOCS_TRUE}" && test -z "${ENABLE_PLUGIN_DOCS_FALSE}"; then
 
16667
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_PLUGIN_DOCS\" was never defined.
 
16668
Usually this means the macro was only invoked conditionally." >&5
 
16669
$as_echo "$as_me: error: conditional \"ENABLE_PLUGIN_DOCS\" was never defined.
 
16670
Usually this means the macro was only invoked conditionally." >&2;}
 
16671
   { (exit 1); exit 1; }; }
 
16672
fi
 
16673
if test -z "${HAVE_CHECK_TRUE}" && test -z "${HAVE_CHECK_FALSE}"; then
 
16674
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_CHECK\" was never defined.
 
16675
Usually this means the macro was only invoked conditionally." >&5
 
16676
$as_echo "$as_me: error: conditional \"HAVE_CHECK\" was never defined.
 
16677
Usually this means the macro was only invoked conditionally." >&2;}
 
16678
   { (exit 1); exit 1; }; }
 
16679
fi
 
16680
if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
 
16681
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_VALGRIND\" was never defined.
 
16682
Usually this means the macro was only invoked conditionally." >&5
 
16683
$as_echo "$as_me: error: conditional \"HAVE_VALGRIND\" was never defined.
 
16684
Usually this means the macro was only invoked conditionally." >&2;}
 
16685
   { (exit 1); exit 1; }; }
 
16686
fi
 
16687
 
 
16688
: ${CONFIG_STATUS=./config.status}
 
16689
ac_write_fail=0
 
16690
ac_clean_files_save=$ac_clean_files
 
16691
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
16692
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
16693
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
16694
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16695
#! $SHELL
 
16696
# Generated by $as_me.
 
16697
# Run this file to recreate the current configuration.
 
16698
# Compiler output produced by configure, useful for debugging
 
16699
# configure, is in config.log if it exists.
 
16700
 
 
16701
debug=false
 
16702
ac_cs_recheck=false
 
16703
ac_cs_silent=false
 
16704
SHELL=\${CONFIG_SHELL-$SHELL}
 
16705
_ACEOF
 
16706
 
 
16707
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16708
## --------------------- ##
 
16709
## M4sh Initialization.  ##
 
16710
## --------------------- ##
 
16711
 
 
16712
# Be more Bourne compatible
 
16713
DUALCASE=1; export DUALCASE # for MKS sh
 
16714
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
16715
  emulate sh
 
16716
  NULLCMD=:
 
16717
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
16718
  # is contrary to our usage.  Disable this feature.
 
16719
  alias -g '${1+"$@"}'='"$@"'
 
16720
  setopt NO_GLOB_SUBST
 
16721
else
 
16722
  case `(set -o) 2>/dev/null` in
 
16723
  *posix*) set -o posix ;;
 
16724
esac
 
16725
 
 
16726
fi
 
16727
 
 
16728
 
 
16729
 
 
16730
 
 
16731
# PATH needs CR
 
16732
# Avoid depending upon Character Ranges.
 
16733
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
16734
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
16735
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
16736
as_cr_digits='0123456789'
 
16737
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
16738
 
 
16739
as_nl='
 
16740
'
 
16741
export as_nl
 
16742
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
16743
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
16744
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
16745
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
16746
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
16747
  as_echo='printf %s\n'
 
16748
  as_echo_n='printf %s'
 
16749
else
 
16750
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
16751
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
16752
    as_echo_n='/usr/ucb/echo -n'
 
16753
  else
 
16754
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
16755
    as_echo_n_body='eval
 
16756
      arg=$1;
 
16757
      case $arg in
 
16758
      *"$as_nl"*)
 
16759
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
16760
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
16761
      esac;
 
16762
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
16763
    '
 
16764
    export as_echo_n_body
 
16765
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
16766
  fi
 
16767
  export as_echo_body
 
16768
  as_echo='sh -c $as_echo_body as_echo'
 
16769
fi
 
16770
 
 
16771
# The user is always right.
 
16772
if test "${PATH_SEPARATOR+set}" != set; then
 
16773
  PATH_SEPARATOR=:
 
16774
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
16775
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
16776
      PATH_SEPARATOR=';'
 
16777
  }
 
16778
fi
 
16779
 
 
16780
# Support unset when possible.
 
16781
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
16782
  as_unset=unset
 
16783
else
 
16784
  as_unset=false
 
16785
fi
 
16786
 
 
16787
 
 
16788
# IFS
 
16789
# We need space, tab and new line, in precisely that order.  Quoting is
 
16790
# there to prevent editors from complaining about space-tab.
 
16791
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
16792
# splitting by setting IFS to empty value.)
 
16793
IFS=" ""        $as_nl"
 
16794
 
 
16795
# Find who we are.  Look in the path if we contain no directory separator.
 
16796
case $0 in
 
16797
  *[\\/]* ) as_myself=$0 ;;
 
16798
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16799
for as_dir in $PATH
 
16800
do
 
16801
  IFS=$as_save_IFS
 
16802
  test -z "$as_dir" && as_dir=.
 
16803
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
16804
done
 
16805
IFS=$as_save_IFS
 
16806
 
 
16807
     ;;
 
16808
esac
 
16809
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
16810
# in which case we are not to be found in the path.
 
16811
if test "x$as_myself" = x; then
 
16812
  as_myself=$0
 
16813
fi
 
16814
if test ! -f "$as_myself"; then
 
16815
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
16816
  { (exit 1); exit 1; }
 
16817
fi
 
16818
 
 
16819
# Work around bugs in pre-3.0 UWIN ksh.
 
16820
for as_var in ENV MAIL MAILPATH
 
16821
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
16822
done
 
16823
PS1='$ '
 
16824
PS2='> '
 
16825
PS4='+ '
 
16826
 
 
16827
# NLS nuisances.
 
16828
LC_ALL=C
 
16829
export LC_ALL
 
16830
LANGUAGE=C
 
16831
export LANGUAGE
 
16832
 
 
16833
# Required to use basename.
 
16834
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
16835
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
16836
  as_expr=expr
 
16837
else
 
16838
  as_expr=false
 
16839
fi
 
16840
 
 
16841
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
16842
  as_basename=basename
 
16843
else
 
16844
  as_basename=false
 
16845
fi
 
16846
 
 
16847
 
 
16848
# Name of the executable.
 
16849
as_me=`$as_basename -- "$0" ||
 
16850
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
16851
         X"$0" : 'X\(//\)$' \| \
 
16852
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
16853
$as_echo X/"$0" |
 
16854
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
16855
            s//\1/
 
16856
            q
 
16857
          }
 
16858
          /^X\/\(\/\/\)$/{
 
16859
            s//\1/
 
16860
            q
 
16861
          }
 
16862
          /^X\/\(\/\).*/{
 
16863
            s//\1/
 
16864
            q
 
16865
          }
 
16866
          s/.*/./; q'`
 
16867
 
 
16868
# CDPATH.
 
16869
$as_unset CDPATH
 
16870
 
 
16871
 
 
16872
 
 
16873
  as_lineno_1=$LINENO
 
16874
  as_lineno_2=$LINENO
 
16875
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
16876
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
16877
 
 
16878
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
16879
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
16880
  # line-number line after each line using $LINENO; the second 'sed'
 
16881
  # does the real work.  The second script uses 'N' to pair each
 
16882
  # line-number line with the line containing $LINENO, and appends
 
16883
  # trailing '-' during substitution so that $LINENO is not a special
 
16884
  # case at line end.
 
16885
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
16886
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
16887
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
16888
  sed -n '
 
16889
    p
 
16890
    /[$]LINENO/=
 
16891
  ' <$as_myself |
 
16892
    sed '
 
16893
      s/[$]LINENO.*/&-/
 
16894
      t lineno
 
16895
      b
 
16896
      :lineno
 
16897
      N
 
16898
      :loop
 
16899
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
16900
      t loop
 
16901
      s/-\n.*//
 
16902
    ' >$as_me.lineno &&
 
16903
  chmod +x "$as_me.lineno" ||
 
16904
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
16905
   { (exit 1); exit 1; }; }
 
16906
 
 
16907
  # Don't try to exec as it changes $[0], causing all sort of problems
 
16908
  # (the dirname of $[0] is not the place where we might find the
 
16909
  # original and so on.  Autoconf is especially sensitive to this).
 
16910
  . "./$as_me.lineno"
 
16911
  # Exit status is that of the last command.
 
16912
  exit
 
16913
}
 
16914
 
 
16915
 
 
16916
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
16917
  as_dirname=dirname
 
16918
else
 
16919
  as_dirname=false
 
16920
fi
 
16921
 
 
16922
ECHO_C= ECHO_N= ECHO_T=
 
16923
case `echo -n x` in
 
16924
-n*)
 
16925
  case `echo 'x\c'` in
 
16926
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
16927
  *)   ECHO_C='\c';;
 
16928
  esac;;
 
16929
*)
 
16930
  ECHO_N='-n';;
 
16931
esac
 
16932
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
16933
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
16934
  as_expr=expr
 
16935
else
 
16936
  as_expr=false
 
16937
fi
 
16938
 
 
16939
rm -f conf$$ conf$$.exe conf$$.file
 
16940
if test -d conf$$.dir; then
 
16941
  rm -f conf$$.dir/conf$$.file
 
16942
else
 
16943
  rm -f conf$$.dir
 
16944
  mkdir conf$$.dir 2>/dev/null
 
16945
fi
 
16946
if (echo >conf$$.file) 2>/dev/null; then
 
16947
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
16948
    as_ln_s='ln -s'
 
16949
    # ... but there are two gotchas:
 
16950
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
16951
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
16952
    # In both cases, we have to default to `cp -p'.
 
16953
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
16954
      as_ln_s='cp -p'
 
16955
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
16956
    as_ln_s=ln
 
16957
  else
 
16958
    as_ln_s='cp -p'
 
16959
  fi
 
16960
else
 
16961
  as_ln_s='cp -p'
 
16962
fi
 
16963
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
16964
rmdir conf$$.dir 2>/dev/null
 
16965
 
 
16966
if mkdir -p . 2>/dev/null; then
 
16967
  as_mkdir_p=:
 
16968
else
 
16969
  test -d ./-p && rmdir ./-p
 
16970
  as_mkdir_p=false
 
16971
fi
 
16972
 
 
16973
if test -x / >/dev/null 2>&1; then
 
16974
  as_test_x='test -x'
 
16975
else
 
16976
  if ls -dL / >/dev/null 2>&1; then
 
16977
    as_ls_L_option=L
 
16978
  else
 
16979
    as_ls_L_option=
 
16980
  fi
 
16981
  as_test_x='
 
16982
    eval sh -c '\''
 
16983
      if test -d "$1"; then
 
16984
        test -d "$1/.";
 
16985
      else
 
16986
        case $1 in
 
16987
        -*)set "./$1";;
 
16988
        esac;
 
16989
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
16990
        ???[sx]*):;;*)false;;esac;fi
 
16991
    '\'' sh
 
16992
  '
 
16993
fi
 
16994
as_executable_p=$as_test_x
 
16995
 
 
16996
# Sed expression to map a string onto a valid CPP name.
 
16997
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
16998
 
 
16999
# Sed expression to map a string onto a valid variable name.
 
17000
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
17001
 
 
17002
 
 
17003
exec 6>&1
 
17004
 
 
17005
# Save the log message, to keep $[0] and so on meaningful, and to
 
17006
# report actual input values of CONFIG_FILES etc. instead of their
 
17007
# values after options handling.
 
17008
ac_log="
 
17009
This file was extended by GStreamer Entrans $as_me 0.10.2, which was
 
17010
generated by GNU Autoconf 2.63.  Invocation command line was
 
17011
 
 
17012
  CONFIG_FILES    = $CONFIG_FILES
 
17013
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
17014
  CONFIG_LINKS    = $CONFIG_LINKS
 
17015
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
17016
  $ $0 $@
 
17017
 
 
17018
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
17019
"
 
17020
 
 
17021
_ACEOF
 
17022
 
 
17023
case $ac_config_files in *"
 
17024
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
17025
esac
 
17026
 
 
17027
case $ac_config_headers in *"
 
17028
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
17029
esac
 
17030
 
 
17031
 
 
17032
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17033
# Files that config.status was made for.
 
17034
config_files="$ac_config_files"
 
17035
config_headers="$ac_config_headers"
 
17036
config_commands="$ac_config_commands"
 
17037
 
 
17038
_ACEOF
 
17039
 
 
17040
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17041
ac_cs_usage="\
 
17042
\`$as_me' instantiates files from templates according to the
 
17043
current configuration.
 
17044
 
 
17045
Usage: $0 [OPTION]... [FILE]...
 
17046
 
 
17047
  -h, --help       print this help, then exit
 
17048
  -V, --version    print version number and configuration settings, then exit
 
17049
  -q, --quiet, --silent
 
17050
                   do not print progress messages
 
17051
  -d, --debug      don't remove temporary files
 
17052
      --recheck    update $as_me by reconfiguring in the same conditions
 
17053
      --file=FILE[:TEMPLATE]
 
17054
                   instantiate the configuration file FILE
 
17055
      --header=FILE[:TEMPLATE]
 
17056
                   instantiate the configuration header FILE
 
17057
 
 
17058
Configuration files:
 
17059
$config_files
 
17060
 
 
17061
Configuration headers:
 
17062
$config_headers
 
17063
 
 
17064
Configuration commands:
 
17065
$config_commands
 
17066
 
 
17067
Report bugs to <bug-autoconf@gnu.org>."
 
17068
 
 
17069
_ACEOF
 
17070
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17071
ac_cs_version="\\
 
17072
GStreamer Entrans config.status 0.10.2
 
17073
configured by $0, generated by GNU Autoconf 2.63,
 
17074
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
17075
 
 
17076
Copyright (C) 2008 Free Software Foundation, Inc.
 
17077
This config.status script is free software; the Free Software Foundation
 
17078
gives unlimited permission to copy, distribute and modify it."
 
17079
 
 
17080
ac_pwd='$ac_pwd'
 
17081
srcdir='$srcdir'
 
17082
INSTALL='$INSTALL'
 
17083
MKDIR_P='$MKDIR_P'
 
17084
AWK='$AWK'
 
17085
test -n "\$AWK" || AWK=awk
 
17086
_ACEOF
 
17087
 
 
17088
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17089
# The default lists apply if the user does not specify any file.
 
17090
ac_need_defaults=:
 
17091
while test $# != 0
 
17092
do
 
17093
  case $1 in
 
17094
  --*=*)
 
17095
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
17096
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
17097
    ac_shift=:
 
17098
    ;;
 
17099
  *)
 
17100
    ac_option=$1
 
17101
    ac_optarg=$2
 
17102
    ac_shift=shift
 
17103
    ;;
 
17104
  esac
 
17105
 
 
17106
  case $ac_option in
 
17107
  # Handling of the options.
 
17108
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
17109
    ac_cs_recheck=: ;;
 
17110
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
17111
    $as_echo "$ac_cs_version"; exit ;;
 
17112
  --debug | --debu | --deb | --de | --d | -d )
 
17113
    debug=: ;;
 
17114
  --file | --fil | --fi | --f )
 
17115
    $ac_shift
 
17116
    case $ac_optarg in
 
17117
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
17118
    esac
 
17119
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
17120
    ac_need_defaults=false;;
 
17121
  --header | --heade | --head | --hea )
 
17122
    $ac_shift
 
17123
    case $ac_optarg in
 
17124
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
17125
    esac
 
17126
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
17127
    ac_need_defaults=false;;
 
17128
  --he | --h)
 
17129
    # Conflict between --help and --header
 
17130
    { $as_echo "$as_me: error: ambiguous option: $1
 
17131
Try \`$0 --help' for more information." >&2
 
17132
   { (exit 1); exit 1; }; };;
 
17133
  --help | --hel | -h )
 
17134
    $as_echo "$ac_cs_usage"; exit ;;
 
17135
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
17136
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
17137
    ac_cs_silent=: ;;
 
17138
 
 
17139
  # This is an error.
 
17140
  -*) { $as_echo "$as_me: error: unrecognized option: $1
 
17141
Try \`$0 --help' for more information." >&2
 
17142
   { (exit 1); exit 1; }; } ;;
 
17143
 
 
17144
  *) ac_config_targets="$ac_config_targets $1"
 
17145
     ac_need_defaults=false ;;
 
17146
 
 
17147
  esac
 
17148
  shift
 
17149
done
 
17150
 
 
17151
ac_configure_extra_args=
 
17152
 
 
17153
if $ac_cs_silent; then
 
17154
  exec 6>/dev/null
 
17155
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
17156
fi
 
17157
 
 
17158
_ACEOF
 
17159
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17160
if \$ac_cs_recheck; then
 
17161
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
17162
  shift
 
17163
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
17164
  CONFIG_SHELL='$SHELL'
 
17165
  export CONFIG_SHELL
 
17166
  exec "\$@"
 
17167
fi
 
17168
 
 
17169
_ACEOF
 
17170
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17171
exec 5>>config.log
 
17172
{
 
17173
  echo
 
17174
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
17175
## Running $as_me. ##
 
17176
_ASBOX
 
17177
  $as_echo "$ac_log"
 
17178
} >&5
 
17179
 
 
17180
_ACEOF
 
17181
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17182
#
 
17183
# INIT-COMMANDS
 
17184
#
 
17185
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
 
17186
    # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
 
17187
    # from automake.
 
17188
    eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
 
17189
    # Capture the value of LINGUAS because we need it to compute CATALOGS.
 
17190
    LINGUAS="${LINGUAS-%UNSET%}"
 
17191
 
 
17192
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
17193
 
 
17194
 
 
17195
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
17196
# if CDPATH is set.
 
17197
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
17198
 
 
17199
sed_quote_subst='$sed_quote_subst'
 
17200
double_quote_subst='$double_quote_subst'
 
17201
delay_variable_subst='$delay_variable_subst'
 
17202
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
17203
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
17204
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
17205
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
17206
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
17207
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
17208
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
17209
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
17210
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
17211
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
17212
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
17213
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
17214
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
17215
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
17216
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
17217
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
17218
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
17219
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
17220
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
17221
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
17222
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
17223
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
17224
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
17225
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
17226
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
17227
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
17228
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
17229
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17230
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
17231
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
17232
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
17233
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
17234
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
17235
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
17236
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
17237
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17238
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17239
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17240
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
17241
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
17242
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
17243
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
17244
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
17245
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
17246
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
 
17247
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
17248
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
17249
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
17250
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
17251
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
17252
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
17253
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
17254
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
17255
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
17256
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
17257
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
17258
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
17259
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
17260
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
17261
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
17262
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
17263
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
17264
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17265
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17266
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
17267
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
17268
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
17269
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
17270
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
17271
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17272
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17273
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17274
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17275
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17276
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17277
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
17278
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
17279
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
17280
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
17281
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
17282
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
17283
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
17284
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
17285
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
17286
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
17287
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
17288
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
17289
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
17290
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
17291
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
17292
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17293
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
17294
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
17295
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17296
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
17297
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
17298
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
17299
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
17300
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
17301
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
17302
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
17303
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
17304
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
17305
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
17306
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
17307
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17308
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17309
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17310
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
17311
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
17312
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
17313
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
17314
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
17315
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
17316
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
17317
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
17318
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
17319
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
17320
 
 
17321
LTCC='$LTCC'
 
17322
LTCFLAGS='$LTCFLAGS'
 
17323
compiler='$compiler_DEFAULT'
 
17324
 
 
17325
# Quote evaled strings.
 
17326
for var in SED \
 
17327
GREP \
 
17328
EGREP \
 
17329
FGREP \
 
17330
LD \
 
17331
NM \
 
17332
LN_S \
 
17333
lt_SP2NL \
 
17334
lt_NL2SP \
 
17335
reload_flag \
 
17336
OBJDUMP \
 
17337
deplibs_check_method \
 
17338
file_magic_cmd \
 
17339
AR \
 
17340
AR_FLAGS \
 
17341
STRIP \
 
17342
RANLIB \
 
17343
CC \
 
17344
CFLAGS \
 
17345
compiler \
 
17346
lt_cv_sys_global_symbol_pipe \
 
17347
lt_cv_sys_global_symbol_to_cdecl \
 
17348
lt_cv_sys_global_symbol_to_c_name_address \
 
17349
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
17350
SHELL \
 
17351
ECHO \
 
17352
lt_prog_compiler_no_builtin_flag \
 
17353
lt_prog_compiler_wl \
 
17354
lt_prog_compiler_pic \
 
17355
lt_prog_compiler_static \
 
17356
lt_cv_prog_compiler_c_o \
 
17357
need_locks \
 
17358
DSYMUTIL \
 
17359
NMEDIT \
 
17360
LIPO \
 
17361
OTOOL \
 
17362
OTOOL64 \
 
17363
shrext_cmds \
 
17364
export_dynamic_flag_spec \
 
17365
whole_archive_flag_spec \
 
17366
compiler_needs_object \
 
17367
with_gnu_ld \
 
17368
allow_undefined_flag \
 
17369
no_undefined_flag \
 
17370
hardcode_libdir_flag_spec \
 
17371
hardcode_libdir_flag_spec_ld \
 
17372
hardcode_libdir_separator \
 
17373
fix_srcfile_path \
 
17374
exclude_expsyms \
 
17375
include_expsyms \
 
17376
file_list_spec \
 
17377
variables_saved_for_relink \
 
17378
libname_spec \
 
17379
library_names_spec \
 
17380
soname_spec \
 
17381
finish_eval \
 
17382
old_striplib \
 
17383
striplib; do
 
17384
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
17385
    *[\\\\\\\`\\"\\\$]*)
 
17386
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
17387
      ;;
 
17388
    *)
 
17389
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
17390
      ;;
 
17391
    esac
 
17392
done
 
17393
 
 
17394
# Double-quote double-evaled strings.
 
17395
for var in reload_cmds \
 
17396
old_postinstall_cmds \
 
17397
old_postuninstall_cmds \
 
17398
old_archive_cmds \
 
17399
extract_expsyms_cmds \
 
17400
old_archive_from_new_cmds \
 
17401
old_archive_from_expsyms_cmds \
 
17402
archive_cmds \
 
17403
archive_expsym_cmds \
 
17404
module_cmds \
 
17405
module_expsym_cmds \
 
17406
export_symbols_cmds \
 
17407
prelink_cmds \
 
17408
postinstall_cmds \
 
17409
postuninstall_cmds \
 
17410
finish_cmds \
 
17411
sys_lib_search_path_spec \
 
17412
sys_lib_dlsearch_path_spec; do
 
17413
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
17414
    *[\\\\\\\`\\"\\\$]*)
 
17415
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
17416
      ;;
 
17417
    *)
 
17418
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
17419
      ;;
 
17420
    esac
 
17421
done
 
17422
 
 
17423
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
17424
case \$lt_ECHO in
 
17425
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
17426
  ;;
 
17427
esac
 
17428
 
 
17429
ac_aux_dir='$ac_aux_dir'
 
17430
xsi_shell='$xsi_shell'
 
17431
lt_shell_append='$lt_shell_append'
 
17432
 
 
17433
# See if we are running on zsh, and set the options which allow our
 
17434
# commands through without removal of \ escapes INIT.
 
17435
if test -n "\${ZSH_VERSION+set}" ; then
 
17436
   setopt NO_GLOB_SUBST
 
17437
fi
 
17438
 
 
17439
 
 
17440
    PACKAGE='$PACKAGE'
 
17441
    VERSION='$VERSION'
 
17442
    TIMESTAMP='$TIMESTAMP'
 
17443
    RM='$RM'
 
17444
    ofile='$ofile'
 
17445
 
 
17446
 
 
17447
 
 
17448
 
 
17449
_ACEOF
 
17450
 
 
17451
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17452
 
 
17453
# Handling of arguments.
 
17454
for ac_config_target in $ac_config_targets
 
17455
do
 
17456
  case $ac_config_target in
 
17457
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
17458
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
17459
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
17460
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
17461
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
17462
    "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
 
17463
    "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
 
17464
    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
 
17465
    "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;;
 
17466
    "docs/manual/Makefile") CONFIG_FILES="$CONFIG_FILES docs/manual/Makefile" ;;
 
17467
    "docs/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES docs/plugins/Makefile" ;;
 
17468
    "gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst/Makefile" ;;
 
17469
    "gst/avidemux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/avidemux/Makefile" ;;
 
17470
    "gst/entrans/Makefile") CONFIG_FILES="$CONFIG_FILES gst/entrans/Makefile" ;;
 
17471
    "gst/mencoder/Makefile") CONFIG_FILES="$CONFIG_FILES gst/mencoder/Makefile" ;;
 
17472
    "gst/transcode/Makefile") CONFIG_FILES="$CONFIG_FILES gst/transcode/Makefile" ;;
 
17473
    "gst/virtualdub/Makefile") CONFIG_FILES="$CONFIG_FILES gst/virtualdub/Makefile" ;;
 
17474
    "gst/y4m/Makefile") CONFIG_FILES="$CONFIG_FILES gst/y4m/Makefile" ;;
 
17475
    "gst-libs/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/Makefile" ;;
 
17476
    "gst-libs/gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/Makefile" ;;
 
17477
    "gst-libs/gst/video/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/video/Makefile" ;;
 
17478
    "ext/Makefile") CONFIG_FILES="$CONFIG_FILES ext/Makefile" ;;
 
17479
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
17480
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
 
17481
    "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;;
 
17482
    "tests/visual/Makefile") CONFIG_FILES="$CONFIG_FILES tests/visual/Makefile" ;;
 
17483
    "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
 
17484
    "tools/entrans") CONFIG_FILES="$CONFIG_FILES tools/entrans:tools/entrans.py" ;;
 
17485
    "gst-entrans.spec") CONFIG_FILES="$CONFIG_FILES gst-entrans.spec" ;;
 
17486
 
 
17487
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
17488
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
17489
   { (exit 1); exit 1; }; };;
 
17490
  esac
 
17491
done
 
17492
 
 
17493
 
 
17494
# If the user did not use the arguments to specify the items to instantiate,
 
17495
# then the envvar interface is used.  Set only those that are not.
 
17496
# We use the long form for the default assignment because of an extremely
 
17497
# bizarre bug on SunOS 4.1.3.
 
17498
if $ac_need_defaults; then
 
17499
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
17500
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
17501
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
17502
fi
 
17503
 
 
17504
# Have a temporary directory for convenience.  Make it in the build tree
 
17505
# simply because there is no reason against having it here, and in addition,
 
17506
# creating and moving files from /tmp can sometimes cause problems.
 
17507
# Hook for its removal unless debugging.
 
17508
# Note that there is a small window in which the directory will not be cleaned:
 
17509
# after its creation but before its name has been assigned to `$tmp'.
 
17510
$debug ||
 
17511
{
 
17512
  tmp=
 
17513
  trap 'exit_status=$?
 
17514
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
17515
' 0
 
17516
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
17517
}
 
17518
# Create a (secure) tmp directory for tmp files.
 
17519
 
 
17520
{
 
17521
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
17522
  test -n "$tmp" && test -d "$tmp"
 
17523
}  ||
 
17524
{
 
17525
  tmp=./conf$$-$RANDOM
 
17526
  (umask 077 && mkdir "$tmp")
 
17527
} ||
 
17528
{
 
17529
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
 
17530
   { (exit 1); exit 1; }
 
17531
}
 
17532
 
 
17533
# Set up the scripts for CONFIG_FILES section.
 
17534
# No need to generate them if there are no CONFIG_FILES.
 
17535
# This happens for instance with `./config.status config.h'.
 
17536
if test -n "$CONFIG_FILES"; then
 
17537
 
 
17538
 
 
17539
ac_cr='
 
 
b"'"
 
17540
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
17541
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
17542
  ac_cs_awk_cr='\\r'
 
17543
else
 
17544
  ac_cs_awk_cr=$ac_cr
 
17545
fi
 
17546
 
 
17547
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
17548
_ACEOF
 
17549
 
 
17550
 
 
17551
{
 
17552
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
17553
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
17554
  echo "_ACEOF"
 
17555
} >conf$$subs.sh ||
 
17556
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
17557
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
17558
   { (exit 1); exit 1; }; }
 
17559
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
17560
ac_delim='%!_!# '
 
17561
for ac_last_try in false false false false false :; do
 
17562
  . ./conf$$subs.sh ||
 
17563
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
17564
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
17565
   { (exit 1); exit 1; }; }
 
17566
 
 
17567
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
17568
  if test $ac_delim_n = $ac_delim_num; then
 
17569
    break
 
17570
  elif $ac_last_try; then
 
17571
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
17572
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
17573
   { (exit 1); exit 1; }; }
 
17574
  else
 
17575
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
17576
  fi
 
17577
done
 
17578
rm -f conf$$subs.sh
 
17579
 
 
17580
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17581
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
17582
_ACEOF
 
17583
sed -n '
 
17584
h
 
17585
s/^/S["/; s/!.*/"]=/
 
17586
p
 
17587
g
 
17588
s/^[^!]*!//
 
17589
:repl
 
17590
t repl
 
17591
s/'"$ac_delim"'$//
 
17592
t delim
 
17593
:nl
 
17594
h
 
17595
s/\(.\{148\}\).*/\1/
 
17596
t more1
 
17597
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
17598
p
 
17599
n
 
17600
b repl
 
17601
:more1
 
17602
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
17603
p
 
17604
g
 
17605
s/.\{148\}//
 
17606
t nl
 
17607
:delim
 
17608
h
 
17609
s/\(.\{148\}\).*/\1/
 
17610
t more2
 
17611
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
17612
p
 
17613
b
 
17614
:more2
 
17615
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
17616
p
 
17617
g
 
17618
s/.\{148\}//
 
17619
t delim
 
17620
' <conf$$subs.awk | sed '
 
17621
/^[^""]/{
 
17622
  N
 
17623
  s/\n//
 
17624
}
 
17625
' >>$CONFIG_STATUS || ac_write_fail=1
 
17626
rm -f conf$$subs.awk
 
17627
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17628
_ACAWK
 
17629
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
17630
  for (key in S) S_is_set[key] = 1
 
17631
  FS = ""
 
17632
 
 
17633
}
 
17634
{
 
17635
  line = $ 0
 
17636
  nfields = split(line, field, "@")
 
17637
  substed = 0
 
17638
  len = length(field[1])
 
17639
  for (i = 2; i < nfields; i++) {
 
17640
    key = field[i]
 
17641
    keylen = length(key)
 
17642
    if (S_is_set[key]) {
 
17643
      value = S[key]
 
17644
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
17645
      len += length(value) + length(field[++i])
 
17646
      substed = 1
 
17647
    } else
 
17648
      len += 1 + keylen
 
17649
  }
 
17650
 
 
17651
  print line
 
17652
}
 
17653
 
 
17654
_ACAWK
 
17655
_ACEOF
 
17656
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17657
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
17658
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
17659
else
 
17660
  cat
 
17661
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
17662
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
17663
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
17664
   { (exit 1); exit 1; }; }
 
17665
_ACEOF
 
17666
 
 
17667
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
17668
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
17669
# trailing colons and then remove the whole line if VPATH becomes empty
 
17670
# (actually we leave an empty line to preserve line numbers).
 
17671
if test "x$srcdir" = x.; then
 
17672
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
17673
s/:*\$(srcdir):*/:/
 
17674
s/:*\${srcdir}:*/:/
 
17675
s/:*@srcdir@:*/:/
 
17676
s/^\([^=]*=[     ]*\):*/\1/
 
17677
s/:*$//
 
17678
s/^[^=]*=[       ]*$//
 
17679
}'
 
17680
fi
 
17681
 
 
17682
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17683
fi # test -n "$CONFIG_FILES"
 
17684
 
 
17685
# Set up the scripts for CONFIG_HEADERS section.
 
17686
# No need to generate them if there are no CONFIG_HEADERS.
 
17687
# This happens for instance with `./config.status Makefile'.
 
17688
if test -n "$CONFIG_HEADERS"; then
 
17689
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
17690
BEGIN {
 
17691
_ACEOF
 
17692
 
 
17693
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
17694
# here-document in config.status, that substitutes the proper values into
 
17695
# config.h.in to produce config.h.
 
17696
 
 
17697
# Create a delimiter string that does not exist in confdefs.h, to ease
 
17698
# handling of long lines.
 
17699
ac_delim='%!_!# '
 
17700
for ac_last_try in false false :; do
 
17701
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
17702
  if test -z "$ac_t"; then
 
17703
    break
 
17704
  elif $ac_last_try; then
 
17705
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
17706
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
17707
   { (exit 1); exit 1; }; }
 
17708
  else
 
17709
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
17710
  fi
 
17711
done
 
17712
 
 
17713
# For the awk script, D is an array of macro values keyed by name,
 
17714
# likewise P contains macro parameters if any.  Preserve backslash
 
17715
# newline sequences.
 
17716
 
 
17717
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
17718
sed -n '
 
17719
s/.\{148\}/&'"$ac_delim"'/g
 
17720
t rset
 
17721
:rset
 
17722
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
17723
t def
 
17724
d
 
17725
:def
 
17726
s/\\$//
 
17727
t bsnl
 
17728
s/["\\]/\\&/g
 
17729
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
17730
D["\1"]=" \3"/p
 
17731
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
17732
d
 
17733
:bsnl
 
17734
s/["\\]/\\&/g
 
17735
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
17736
D["\1"]=" \3\\\\\\n"\\/p
 
17737
t cont
 
17738
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
17739
t cont
 
17740
d
 
17741
:cont
 
17742
n
 
17743
s/.\{148\}/&'"$ac_delim"'/g
 
17744
t clear
 
17745
:clear
 
17746
s/\\$//
 
17747
t bsnlc
 
17748
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
17749
d
 
17750
:bsnlc
 
17751
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
17752
b cont
 
17753
' <confdefs.h | sed '
 
17754
s/'"$ac_delim"'/"\\\
 
17755
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
17756
 
 
17757
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17758
  for (key in D) D_is_set[key] = 1
 
17759
  FS = ""
 
17760
}
 
17761
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
17762
  line = \$ 0
 
17763
  split(line, arg, " ")
 
17764
  if (arg[1] == "#") {
 
17765
    defundef = arg[2]
 
17766
    mac1 = arg[3]
 
17767
  } else {
 
17768
    defundef = substr(arg[1], 2)
 
17769
    mac1 = arg[2]
 
17770
  }
 
17771
  split(mac1, mac2, "(") #)
 
17772
  macro = mac2[1]
 
17773
  prefix = substr(line, 1, index(line, defundef) - 1)
 
17774
  if (D_is_set[macro]) {
 
17775
    # Preserve the white space surrounding the "#".
 
17776
    print prefix "define", macro P[macro] D[macro]
 
17777
    next
 
17778
  } else {
 
17779
    # Replace #undef with comments.  This is necessary, for example,
 
17780
    # in the case of _POSIX_SOURCE, which is predefined and required
 
17781
    # on some systems where configure will not decide to define it.
 
17782
    if (defundef == "undef") {
 
17783
      print "/*", prefix defundef, macro, "*/"
 
17784
      next
 
17785
    }
 
17786
  }
 
17787
}
 
17788
{ print }
 
17789
_ACAWK
 
17790
_ACEOF
 
17791
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17792
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
17793
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
17794
   { (exit 1); exit 1; }; }
 
17795
fi # test -n "$CONFIG_HEADERS"
 
17796
 
 
17797
 
 
17798
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
17799
shift
 
17800
for ac_tag
 
17801
do
 
17802
  case $ac_tag in
 
17803
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
17804
  esac
 
17805
  case $ac_mode$ac_tag in
 
17806
  :[FHL]*:*);;
 
17807
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
17808
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
 
17809
   { (exit 1); exit 1; }; };;
 
17810
  :[FH]-) ac_tag=-:-;;
 
17811
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
17812
  esac
 
17813
  ac_save_IFS=$IFS
 
17814
  IFS=:
 
17815
  set x $ac_tag
 
17816
  IFS=$ac_save_IFS
 
17817
  shift
 
17818
  ac_file=$1
 
17819
  shift
 
17820
 
 
17821
  case $ac_mode in
 
17822
  :L) ac_source=$1;;
 
17823
  :[FH])
 
17824
    ac_file_inputs=
 
17825
    for ac_f
 
17826
    do
 
17827
      case $ac_f in
 
17828
      -) ac_f="$tmp/stdin";;
 
17829
      *) # Look for the file first in the build tree, then in the source tree
 
17830
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
17831
         # because $ac_f cannot contain `:'.
 
17832
         test -f "$ac_f" ||
 
17833
           case $ac_f in
 
17834
           [\\/$]*) false;;
 
17835
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
17836
           esac ||
 
17837
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
17838
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
17839
   { (exit 1); exit 1; }; };;
 
17840
      esac
 
17841
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
17842
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
17843
    done
 
17844
 
 
17845
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
17846
    # use $as_me), people would be surprised to read:
 
17847
    #    /* config.h.  Generated by config.status.  */
 
17848
    configure_input='Generated from '`
 
17849
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
17850
        `' by configure.'
 
17851
    if test x"$ac_file" != x-; then
 
17852
      configure_input="$ac_file.  $configure_input"
 
17853
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
17854
$as_echo "$as_me: creating $ac_file" >&6;}
 
17855
    fi
 
17856
    # Neutralize special characters interpreted by sed in replacement strings.
 
17857
    case $configure_input in #(
 
17858
    *\&* | *\|* | *\\* )
 
17859
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
17860
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
17861
    *) ac_sed_conf_input=$configure_input;;
 
17862
    esac
 
17863
 
 
17864
    case $ac_tag in
 
17865
    *:-:* | *:-) cat >"$tmp/stdin" \
 
17866
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
17867
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
17868
   { (exit 1); exit 1; }; } ;;
 
17869
    esac
 
17870
    ;;
 
17871
  esac
 
17872
 
 
17873
  ac_dir=`$as_dirname -- "$ac_file" ||
 
17874
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
17875
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
17876
         X"$ac_file" : 'X\(//\)$' \| \
 
17877
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
17878
$as_echo X"$ac_file" |
 
17879
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
17880
            s//\1/
 
17881
            q
 
17882
          }
 
17883
          /^X\(\/\/\)[^/].*/{
 
17884
            s//\1/
 
17885
            q
 
17886
          }
 
17887
          /^X\(\/\/\)$/{
 
17888
            s//\1/
 
17889
            q
 
17890
          }
 
17891
          /^X\(\/\).*/{
 
17892
            s//\1/
 
17893
            q
 
17894
          }
 
17895
          s/.*/./; q'`
 
17896
  { as_dir="$ac_dir"
 
17897
  case $as_dir in #(
 
17898
  -*) as_dir=./$as_dir;;
 
17899
  esac
 
17900
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
17901
    as_dirs=
 
17902
    while :; do
 
17903
      case $as_dir in #(
 
17904
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
17905
      *) as_qdir=$as_dir;;
 
17906
      esac
 
17907
      as_dirs="'$as_qdir' $as_dirs"
 
17908
      as_dir=`$as_dirname -- "$as_dir" ||
 
17909
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
17910
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
17911
         X"$as_dir" : 'X\(//\)$' \| \
 
17912
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
17913
$as_echo X"$as_dir" |
 
17914
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
17915
            s//\1/
 
17916
            q
 
17917
          }
 
17918
          /^X\(\/\/\)[^/].*/{
 
17919
            s//\1/
 
17920
            q
 
17921
          }
 
17922
          /^X\(\/\/\)$/{
 
17923
            s//\1/
 
17924
            q
 
17925
          }
 
17926
          /^X\(\/\).*/{
 
17927
            s//\1/
 
17928
            q
 
17929
          }
 
17930
          s/.*/./; q'`
 
17931
      test -d "$as_dir" && break
 
17932
    done
 
17933
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
17934
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
17935
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
17936
   { (exit 1); exit 1; }; }; }
 
17937
  ac_builddir=.
 
17938
 
 
17939
case "$ac_dir" in
 
17940
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
17941
*)
 
17942
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
17943
  # A ".." for each directory in $ac_dir_suffix.
 
17944
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
17945
  case $ac_top_builddir_sub in
 
17946
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
17947
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
17948
  esac ;;
 
17949
esac
 
17950
ac_abs_top_builddir=$ac_pwd
 
17951
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
17952
# for backward compatibility:
 
17953
ac_top_builddir=$ac_top_build_prefix
 
17954
 
 
17955
case $srcdir in
 
17956
  .)  # We are building in place.
 
17957
    ac_srcdir=.
 
17958
    ac_top_srcdir=$ac_top_builddir_sub
 
17959
    ac_abs_top_srcdir=$ac_pwd ;;
 
17960
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
17961
    ac_srcdir=$srcdir$ac_dir_suffix;
 
17962
    ac_top_srcdir=$srcdir
 
17963
    ac_abs_top_srcdir=$srcdir ;;
 
17964
  *) # Relative name.
 
17965
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
17966
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
17967
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
17968
esac
 
17969
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
17970
 
 
17971
 
 
17972
  case $ac_mode in
 
17973
  :F)
 
17974
  #
 
17975
  # CONFIG_FILE
 
17976
  #
 
17977
 
 
17978
  case $INSTALL in
 
17979
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
17980
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
17981
  esac
 
17982
  ac_MKDIR_P=$MKDIR_P
 
17983
  case $MKDIR_P in
 
17984
  [\\/$]* | ?:[\\/]* ) ;;
 
17985
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
17986
  esac
 
17987
_ACEOF
 
17988
 
 
17989
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17990
# If the template does not know about datarootdir, expand it.
 
17991
# FIXME: This hack should be removed a few years after 2.60.
 
17992
ac_datarootdir_hack=; ac_datarootdir_seen=
 
17993
 
 
17994
ac_sed_dataroot='
 
17995
/datarootdir/ {
 
17996
  p
 
17997
  q
 
17998
}
 
17999
/@datadir@/p
 
18000
/@docdir@/p
 
18001
/@infodir@/p
 
18002
/@localedir@/p
 
18003
/@mandir@/p
 
18004
'
 
18005
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
18006
*datarootdir*) ac_datarootdir_seen=yes;;
 
18007
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
18008
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
18009
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
18010
_ACEOF
 
18011
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18012
  ac_datarootdir_hack='
 
18013
  s&@datadir@&$datadir&g
 
18014
  s&@docdir@&$docdir&g
 
18015
  s&@infodir@&$infodir&g
 
18016
  s&@localedir@&$localedir&g
 
18017
  s&@mandir@&$mandir&g
 
18018
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
18019
esac
 
18020
_ACEOF
 
18021
 
 
18022
# Neutralize VPATH when `$srcdir' = `.'.
 
18023
# Shell code in configure.ac might set extrasub.
 
18024
# FIXME: do we really want to maintain this feature?
 
18025
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18026
ac_sed_extra="$ac_vpsub
 
18027
$extrasub
 
18028
_ACEOF
 
18029
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18030
:t
 
18031
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
18032
s|@configure_input@|$ac_sed_conf_input|;t t
 
18033
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
18034
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
18035
s&@srcdir@&$ac_srcdir&;t t
 
18036
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
18037
s&@top_srcdir@&$ac_top_srcdir&;t t
 
18038
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
18039
s&@builddir@&$ac_builddir&;t t
 
18040
s&@abs_builddir@&$ac_abs_builddir&;t t
 
18041
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
18042
s&@INSTALL@&$ac_INSTALL&;t t
 
18043
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
18044
$ac_datarootdir_hack
 
18045
"
 
18046
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
18047
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
18048
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
18049
   { (exit 1); exit 1; }; }
 
18050
 
 
18051
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
18052
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
18053
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
18054
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
18055
which seems to be undefined.  Please make sure it is defined." >&5
 
18056
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
18057
which seems to be undefined.  Please make sure it is defined." >&2;}
 
18058
 
 
18059
  rm -f "$tmp/stdin"
 
18060
  case $ac_file in
 
18061
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
18062
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
18063
  esac \
 
18064
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
18065
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
18066
   { (exit 1); exit 1; }; }
 
18067
 ;;
 
18068
  :H)
 
18069
  #
 
18070
  # CONFIG_HEADER
 
18071
  #
 
18072
  if test x"$ac_file" != x-; then
 
18073
    {
 
18074
      $as_echo "/* $configure_input  */" \
 
18075
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
18076
    } >"$tmp/config.h" \
 
18077
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
18078
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
18079
   { (exit 1); exit 1; }; }
 
18080
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
18081
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
18082
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
18083
    else
 
18084
      rm -f "$ac_file"
 
18085
      mv "$tmp/config.h" "$ac_file" \
 
18086
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
18087
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
18088
   { (exit 1); exit 1; }; }
 
18089
    fi
 
18090
  else
 
18091
    $as_echo "/* $configure_input  */" \
 
18092
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
18093
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
18094
$as_echo "$as_me: error: could not create -" >&2;}
 
18095
   { (exit 1); exit 1; }; }
 
18096
  fi
 
18097
# Compute "$ac_file"'s index in $config_headers.
 
18098
_am_arg="$ac_file"
 
18099
_am_stamp_count=1
 
18100
for _am_header in $config_headers :; do
 
18101
  case $_am_header in
 
18102
    $_am_arg | $_am_arg:* )
 
18103
      break ;;
 
18104
    * )
 
18105
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
18106
  esac
 
18107
done
 
18108
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
18109
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
18110
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
18111
         X"$_am_arg" : 'X\(//\)$' \| \
 
18112
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
18113
$as_echo X"$_am_arg" |
 
18114
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
18115
            s//\1/
 
18116
            q
 
18117
          }
 
18118
          /^X\(\/\/\)[^/].*/{
 
18119
            s//\1/
 
18120
            q
 
18121
          }
 
18122
          /^X\(\/\/\)$/{
 
18123
            s//\1/
 
18124
            q
 
18125
          }
 
18126
          /^X\(\/\).*/{
 
18127
            s//\1/
 
18128
            q
 
18129
          }
 
18130
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
18131
 ;;
 
18132
 
 
18133
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
18134
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
18135
 ;;
 
18136
  esac
 
18137
 
 
18138
 
 
18139
  case $ac_file$ac_mode in
 
18140
    "default-1":C)
 
18141
    for ac_file in $CONFIG_FILES; do
 
18142
      # Support "outfile[:infile[:infile...]]"
 
18143
      case "$ac_file" in
 
18144
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
 
18145
      esac
 
18146
      # PO directories have a Makefile.in generated from Makefile.in.in.
 
18147
      case "$ac_file" in */Makefile.in)
 
18148
        # Adjust a relative srcdir.
 
18149
        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
 
18150
        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
 
18151
        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
 
18152
        # In autoconf-2.13 it is called $ac_given_srcdir.
 
18153
        # In autoconf-2.50 it is called $srcdir.
 
18154
        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
 
18155
        case "$ac_given_srcdir" in
 
18156
          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
 
18157
          /*) top_srcdir="$ac_given_srcdir" ;;
 
18158
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
 
18159
        esac
 
18160
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
 
18161
          rm -f "$ac_dir/POTFILES"
 
18162
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
 
18163
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
 
18164
          # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
 
18165
          # on $ac_dir but don't depend on user-specified configuration
 
18166
          # parameters.
 
18167
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
 
18168
            # The LINGUAS file contains the set of available languages.
 
18169
            if test -n "$ALL_LINGUAS"; then
 
18170
              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
 
18171
            fi
 
18172
            ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
 
18173
            # Hide the ALL_LINGUAS assigment from automake.
 
18174
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
 
18175
          fi
 
18176
          case "$ac_given_srcdir" in
 
18177
            .) srcdirpre= ;;
 
18178
            *) srcdirpre='$(srcdir)/' ;;
 
18179
          esac
 
18180
          POFILES=
 
18181
          GMOFILES=
 
18182
          UPDATEPOFILES=
 
18183
          DUMMYPOFILES=
 
18184
          for lang in $ALL_LINGUAS; do
 
18185
            POFILES="$POFILES $srcdirpre$lang.po"
 
18186
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
 
18187
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
 
18188
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
 
18189
          done
 
18190
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
 
18191
          # environment variable.
 
18192
          INST_LINGUAS=
 
18193
          if test -n "$ALL_LINGUAS"; then
 
18194
            for presentlang in $ALL_LINGUAS; do
 
18195
              useit=no
 
18196
              if test "%UNSET%" != "$LINGUAS"; then
 
18197
                desiredlanguages="$LINGUAS"
 
18198
              else
 
18199
                desiredlanguages="$ALL_LINGUAS"
 
18200
              fi
 
18201
              for desiredlang in $desiredlanguages; do
 
18202
                # Use the presentlang catalog if desiredlang is
 
18203
                #   a. equal to presentlang, or
 
18204
                #   b. a variant of presentlang (because in this case,
 
18205
                #      presentlang can be used as a fallback for messages
 
18206
                #      which are not translated in the desiredlang catalog).
 
18207
                case "$desiredlang" in
 
18208
                  "$presentlang"*) useit=yes;;
 
18209
                esac
 
18210
              done
 
18211
              if test $useit = yes; then
 
18212
                INST_LINGUAS="$INST_LINGUAS $presentlang"
 
18213
              fi
 
18214
            done
 
18215
          fi
 
18216
          CATALOGS=
 
18217
          if test -n "$INST_LINGUAS"; then
 
18218
            for lang in $INST_LINGUAS; do
 
18219
              CATALOGS="$CATALOGS $lang.gmo"
 
18220
            done
 
18221
          fi
 
18222
          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
 
18223
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
 
18224
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
 
18225
            if test -f "$f"; then
 
18226
              case "$f" in
 
18227
                *.orig | *.bak | *~) ;;
 
18228
                *) cat "$f" >> "$ac_dir/Makefile" ;;
 
18229
              esac
 
18230
            fi
 
18231
          done
 
18232
        fi
 
18233
        ;;
 
18234
      esac
 
18235
    done ;;
 
18236
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
18237
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
18238
  # are listed without --file.  Let's play safe and only enable the eval
 
18239
  # if we detect the quoting.
 
18240
  case $CONFIG_FILES in
 
18241
  *\'*) eval set x "$CONFIG_FILES" ;;
 
18242
  *)   set x $CONFIG_FILES ;;
 
18243
  esac
 
18244
  shift
 
18245
  for mf
 
18246
  do
 
18247
    # Strip MF so we end up with the name of the file.
 
18248
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
18249
    # Check whether this is an Automake generated Makefile or not.
 
18250
    # We used to match only the files named `Makefile.in', but
 
18251
    # some people rename them; so instead we look at the file content.
 
18252
    # Grep'ing the first line is not enough: some people post-process
 
18253
    # each Makefile.in and add a new line on top of each file to say so.
 
18254
    # Grep'ing the whole file is not good either: AIX grep has a line
 
18255
    # limit of 2048, but all sed's we know have understand at least 4000.
 
18256
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
18257
      dirpart=`$as_dirname -- "$mf" ||
 
18258
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
18259
         X"$mf" : 'X\(//\)[^/]' \| \
 
18260
         X"$mf" : 'X\(//\)$' \| \
 
18261
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
18262
$as_echo X"$mf" |
 
18263
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
18264
            s//\1/
 
18265
            q
 
18266
          }
 
18267
          /^X\(\/\/\)[^/].*/{
 
18268
            s//\1/
 
18269
            q
 
18270
          }
 
18271
          /^X\(\/\/\)$/{
 
18272
            s//\1/
 
18273
            q
 
18274
          }
 
18275
          /^X\(\/\).*/{
 
18276
            s//\1/
 
18277
            q
 
18278
          }
 
18279
          s/.*/./; q'`
 
18280
    else
 
18281
      continue
 
18282
    fi
 
18283
    # Extract the definition of DEPDIR, am__include, and am__quote
 
18284
    # from the Makefile without running `make'.
 
18285
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
18286
    test -z "$DEPDIR" && continue
 
18287
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
18288
    test -z "am__include" && continue
 
18289
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
18290
    # When using ansi2knr, U may be empty or an underscore; expand it
 
18291
    U=`sed -n 's/^U = //p' < "$mf"`
 
18292
    # Find all dependency output files, they are included files with
 
18293
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
18294
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
18295
    # expansion.
 
18296
    for file in `sed -n "
 
18297
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
18298
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
18299
      # Make sure the directory exists.
 
18300
      test -f "$dirpart/$file" && continue
 
18301
      fdir=`$as_dirname -- "$file" ||
 
18302
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
18303
         X"$file" : 'X\(//\)[^/]' \| \
 
18304
         X"$file" : 'X\(//\)$' \| \
 
18305
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
18306
$as_echo X"$file" |
 
18307
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
18308
            s//\1/
 
18309
            q
 
18310
          }
 
18311
          /^X\(\/\/\)[^/].*/{
 
18312
            s//\1/
 
18313
            q
 
18314
          }
 
18315
          /^X\(\/\/\)$/{
 
18316
            s//\1/
 
18317
            q
 
18318
          }
 
18319
          /^X\(\/\).*/{
 
18320
            s//\1/
 
18321
            q
 
18322
          }
 
18323
          s/.*/./; q'`
 
18324
      { as_dir=$dirpart/$fdir
 
18325
  case $as_dir in #(
 
18326
  -*) as_dir=./$as_dir;;
 
18327
  esac
 
18328
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
18329
    as_dirs=
 
18330
    while :; do
 
18331
      case $as_dir in #(
 
18332
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
18333
      *) as_qdir=$as_dir;;
 
18334
      esac
 
18335
      as_dirs="'$as_qdir' $as_dirs"
 
18336
      as_dir=`$as_dirname -- "$as_dir" ||
 
18337
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
18338
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
18339
         X"$as_dir" : 'X\(//\)$' \| \
 
18340
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
18341
$as_echo X"$as_dir" |
 
18342
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
18343
            s//\1/
 
18344
            q
 
18345
          }
 
18346
          /^X\(\/\/\)[^/].*/{
 
18347
            s//\1/
 
18348
            q
 
18349
          }
 
18350
          /^X\(\/\/\)$/{
 
18351
            s//\1/
 
18352
            q
 
18353
          }
 
18354
          /^X\(\/\).*/{
 
18355
            s//\1/
 
18356
            q
 
18357
          }
 
18358
          s/.*/./; q'`
 
18359
      test -d "$as_dir" && break
 
18360
    done
 
18361
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
18362
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
18363
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
18364
   { (exit 1); exit 1; }; }; }
 
18365
      # echo "creating $dirpart/$file"
 
18366
      echo '# dummy' > "$dirpart/$file"
 
18367
    done
 
18368
  done
 
18369
}
 
18370
 ;;
 
18371
    "libtool":C)
 
18372
 
 
18373
    # See if we are running on zsh, and set the options which allow our
 
18374
    # commands through without removal of \ escapes.
 
18375
    if test -n "${ZSH_VERSION+set}" ; then
 
18376
      setopt NO_GLOB_SUBST
 
18377
    fi
 
18378
 
 
18379
    cfgfile="${ofile}T"
 
18380
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
18381
    $RM "$cfgfile"
 
18382
 
 
18383
    cat <<_LT_EOF >> "$cfgfile"
 
18384
#! $SHELL
 
18385
 
 
18386
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
18387
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
18388
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
18389
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
18390
#
 
18391
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
18392
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
18393
#   Written by Gordon Matzigkeit, 1996
 
18394
#
 
18395
#   This file is part of GNU Libtool.
 
18396
#
 
18397
# GNU Libtool is free software; you can redistribute it and/or
 
18398
# modify it under the terms of the GNU General Public License as
 
18399
# published by the Free Software Foundation; either version 2 of
 
18400
# the License, or (at your option) any later version.
 
18401
#
 
18402
# As a special exception to the GNU General Public License,
 
18403
# if you distribute this file as part of a program or library that
 
18404
# is built using GNU Libtool, you may include this file under the
 
18405
# same distribution terms that you use for the rest of that program.
 
18406
#
 
18407
# GNU Libtool is distributed in the hope that it will be useful,
 
18408
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
18409
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
18410
# GNU General Public License for more details.
 
18411
#
 
18412
# You should have received a copy of the GNU General Public License
 
18413
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
18414
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
18415
# obtained by writing to the Free Software Foundation, Inc.,
 
18416
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
18417
 
 
18418
 
 
18419
# The names of the tagged configurations supported by this script.
 
18420
available_tags=""
 
18421
 
 
18422
# ### BEGIN LIBTOOL CONFIG
 
18423
 
 
18424
# Which release of libtool.m4 was used?
 
18425
macro_version=$macro_version
 
18426
macro_revision=$macro_revision
 
18427
 
 
18428
# Whether or not to build shared libraries.
 
18429
build_libtool_libs=$enable_shared
 
18430
 
 
18431
# Whether or not to build static libraries.
 
18432
build_old_libs=$enable_static
 
18433
 
 
18434
# What type of objects to build.
 
18435
pic_mode=$pic_mode
 
18436
 
 
18437
# Whether or not to optimize for fast installation.
 
18438
fast_install=$enable_fast_install
 
18439
 
 
18440
# The host system.
 
18441
host_alias=$host_alias
 
18442
host=$host
 
18443
host_os=$host_os
 
18444
 
 
18445
# The build system.
 
18446
build_alias=$build_alias
 
18447
build=$build
 
18448
build_os=$build_os
 
18449
 
 
18450
# A sed program that does not truncate output.
 
18451
SED=$lt_SED
 
18452
 
 
18453
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
18454
Xsed="\$SED -e 1s/^X//"
 
18455
 
 
18456
# A grep program that handles long lines.
 
18457
GREP=$lt_GREP
 
18458
 
 
18459
# An ERE matcher.
 
18460
EGREP=$lt_EGREP
 
18461
 
 
18462
# A literal string matcher.
 
18463
FGREP=$lt_FGREP
 
18464
 
 
18465
# A BSD- or MS-compatible name lister.
 
18466
NM=$lt_NM
 
18467
 
 
18468
# Whether we need soft or hard links.
 
18469
LN_S=$lt_LN_S
 
18470
 
 
18471
# What is the maximum length of a command?
 
18472
max_cmd_len=$max_cmd_len
 
18473
 
 
18474
# Object file suffix (normally "o").
 
18475
objext=$ac_objext
 
18476
 
 
18477
# Executable file suffix (normally "").
 
18478
exeext=$exeext
 
18479
 
 
18480
# whether the shell understands "unset".
 
18481
lt_unset=$lt_unset
 
18482
 
 
18483
# turn spaces into newlines.
 
18484
SP2NL=$lt_lt_SP2NL
 
18485
 
 
18486
# turn newlines into spaces.
 
18487
NL2SP=$lt_lt_NL2SP
 
18488
 
 
18489
# How to create reloadable object files.
 
18490
reload_flag=$lt_reload_flag
 
18491
reload_cmds=$lt_reload_cmds
 
18492
 
 
18493
# An object symbol dumper.
 
18494
OBJDUMP=$lt_OBJDUMP
 
18495
 
 
18496
# Method to check whether dependent libraries are shared objects.
 
18497
deplibs_check_method=$lt_deplibs_check_method
 
18498
 
 
18499
# Command to use when deplibs_check_method == "file_magic".
 
18500
file_magic_cmd=$lt_file_magic_cmd
 
18501
 
 
18502
# The archiver.
 
18503
AR=$lt_AR
 
18504
AR_FLAGS=$lt_AR_FLAGS
 
18505
 
 
18506
# A symbol stripping program.
 
18507
STRIP=$lt_STRIP
 
18508
 
 
18509
# Commands used to install an old-style archive.
 
18510
RANLIB=$lt_RANLIB
 
18511
old_postinstall_cmds=$lt_old_postinstall_cmds
 
18512
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
18513
 
 
18514
# A C compiler.
 
18515
LTCC=$lt_CC
 
18516
 
 
18517
# LTCC compiler flags.
 
18518
LTCFLAGS=$lt_CFLAGS
 
18519
 
 
18520
# Take the output of nm and produce a listing of raw symbols and C names.
 
18521
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
18522
 
 
18523
# Transform the output of nm in a proper C declaration.
 
18524
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
18525
 
 
18526
# Transform the output of nm in a C name address pair.
 
18527
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
18528
 
 
18529
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
18530
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
18531
 
 
18532
# The name of the directory that contains temporary libtool files.
 
18533
objdir=$objdir
 
18534
 
 
18535
# Shell to use when invoking shell scripts.
 
18536
SHELL=$lt_SHELL
 
18537
 
 
18538
# An echo program that does not interpret backslashes.
 
18539
ECHO=$lt_ECHO
 
18540
 
 
18541
# Used to examine libraries when file_magic_cmd begins with "file".
 
18542
MAGIC_CMD=$MAGIC_CMD
 
18543
 
 
18544
# Must we lock files when doing compilation?
 
18545
need_locks=$lt_need_locks
 
18546
 
 
18547
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
18548
DSYMUTIL=$lt_DSYMUTIL
 
18549
 
 
18550
# Tool to change global to local symbols on Mac OS X.
 
18551
NMEDIT=$lt_NMEDIT
 
18552
 
 
18553
# Tool to manipulate fat objects and archives on Mac OS X.
 
18554
LIPO=$lt_LIPO
 
18555
 
 
18556
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
18557
OTOOL=$lt_OTOOL
 
18558
 
 
18559
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
18560
OTOOL64=$lt_OTOOL64
 
18561
 
 
18562
# Old archive suffix (normally "a").
 
18563
libext=$libext
 
18564
 
 
18565
# Shared library suffix (normally ".so").
 
18566
shrext_cmds=$lt_shrext_cmds
 
18567
 
 
18568
# The commands to extract the exported symbol list from a shared archive.
 
18569
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
18570
 
 
18571
# Variables whose values should be saved in libtool wrapper scripts and
 
18572
# restored at link time.
 
18573
variables_saved_for_relink=$lt_variables_saved_for_relink
 
18574
 
 
18575
# Do we need the "lib" prefix for modules?
 
18576
need_lib_prefix=$need_lib_prefix
 
18577
 
 
18578
# Do we need a version for libraries?
 
18579
need_version=$need_version
 
18580
 
 
18581
# Library versioning type.
 
18582
version_type=$version_type
 
18583
 
 
18584
# Shared library runtime path variable.
 
18585
runpath_var=$runpath_var
 
18586
 
 
18587
# Shared library path variable.
 
18588
shlibpath_var=$shlibpath_var
 
18589
 
 
18590
# Is shlibpath searched before the hard-coded library search path?
 
18591
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
18592
 
 
18593
# Format of library name prefix.
 
18594
libname_spec=$lt_libname_spec
 
18595
 
 
18596
# List of archive names.  First name is the real one, the rest are links.
 
18597
# The last name is the one that the linker finds with -lNAME
 
18598
library_names_spec=$lt_library_names_spec
 
18599
 
 
18600
# The coded name of the library, if different from the real name.
 
18601
soname_spec=$lt_soname_spec
 
18602
 
 
18603
# Command to use after installation of a shared archive.
 
18604
postinstall_cmds=$lt_postinstall_cmds
 
18605
 
 
18606
# Command to use after uninstallation of a shared archive.
 
18607
postuninstall_cmds=$lt_postuninstall_cmds
 
18608
 
 
18609
# Commands used to finish a libtool library installation in a directory.
 
18610
finish_cmds=$lt_finish_cmds
 
18611
 
 
18612
# As "finish_cmds", except a single script fragment to be evaled but
 
18613
# not shown.
 
18614
finish_eval=$lt_finish_eval
 
18615
 
 
18616
# Whether we should hardcode library paths into libraries.
 
18617
hardcode_into_libs=$hardcode_into_libs
 
18618
 
 
18619
# Compile-time system search path for libraries.
 
18620
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
18621
 
 
18622
# Run-time system search path for libraries.
 
18623
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
18624
 
 
18625
# Whether dlopen is supported.
 
18626
dlopen_support=$enable_dlopen
 
18627
 
 
18628
# Whether dlopen of programs is supported.
 
18629
dlopen_self=$enable_dlopen_self
 
18630
 
 
18631
# Whether dlopen of statically linked programs is supported.
 
18632
dlopen_self_static=$enable_dlopen_self_static
 
18633
 
 
18634
# Commands to strip libraries.
 
18635
old_striplib=$lt_old_striplib
 
18636
striplib=$lt_striplib
 
18637
 
 
18638
 
 
18639
# The linker used to build libraries.
 
18640
LD=$lt_LD
 
18641
 
 
18642
# Commands used to build an old-style archive.
 
18643
old_archive_cmds=$lt_old_archive_cmds
 
18644
 
 
18645
# A language specific compiler.
 
18646
CC=$lt_compiler
 
18647
 
 
18648
# Is the compiler the GNU compiler?
 
18649
with_gcc=$GCC
 
18650
 
 
18651
# Compiler flag to turn off builtin functions.
 
18652
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
18653
 
 
18654
# How to pass a linker flag through the compiler.
 
18655
wl=$lt_lt_prog_compiler_wl
 
18656
 
 
18657
# Additional compiler flags for building library objects.
 
18658
pic_flag=$lt_lt_prog_compiler_pic
 
18659
 
 
18660
# Compiler flag to prevent dynamic linking.
 
18661
link_static_flag=$lt_lt_prog_compiler_static
 
18662
 
 
18663
# Does compiler simultaneously support -c and -o options?
 
18664
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
18665
 
 
18666
# Whether or not to add -lc for building shared libraries.
 
18667
build_libtool_need_lc=$archive_cmds_need_lc
 
18668
 
 
18669
# Whether or not to disallow shared libs when runtime libs are static.
 
18670
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
18671
 
 
18672
# Compiler flag to allow reflexive dlopens.
 
18673
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
18674
 
 
18675
# Compiler flag to generate shared objects directly from archives.
 
18676
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
18677
 
 
18678
# Whether the compiler copes with passing no objects directly.
 
18679
compiler_needs_object=$lt_compiler_needs_object
 
18680
 
 
18681
# Create an old-style archive from a shared archive.
 
18682
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
18683
 
 
18684
# Create a temporary old-style archive to link instead of a shared archive.
 
18685
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
18686
 
 
18687
# Commands used to build a shared archive.
 
18688
archive_cmds=$lt_archive_cmds
 
18689
archive_expsym_cmds=$lt_archive_expsym_cmds
 
18690
 
 
18691
# Commands used to build a loadable module if different from building
 
18692
# a shared archive.
 
18693
module_cmds=$lt_module_cmds
 
18694
module_expsym_cmds=$lt_module_expsym_cmds
 
18695
 
 
18696
# Whether we are building with GNU ld or not.
 
18697
with_gnu_ld=$lt_with_gnu_ld
 
18698
 
 
18699
# Flag that allows shared libraries with undefined symbols to be built.
 
18700
allow_undefined_flag=$lt_allow_undefined_flag
 
18701
 
 
18702
# Flag that enforces no undefined symbols.
 
18703
no_undefined_flag=$lt_no_undefined_flag
 
18704
 
 
18705
# Flag to hardcode \$libdir into a binary during linking.
 
18706
# This must work even if \$libdir does not exist
 
18707
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
18708
 
 
18709
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
18710
# during linking.  This must work even if \$libdir does not exist.
 
18711
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
18712
 
 
18713
# Whether we need a single "-rpath" flag with a separated argument.
 
18714
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
18715
 
 
18716
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
18717
# DIR into the resulting binary.
 
18718
hardcode_direct=$hardcode_direct
 
18719
 
 
18720
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
18721
# DIR into the resulting binary and the resulting library dependency is
 
18722
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
18723
# library is relocated.
 
18724
hardcode_direct_absolute=$hardcode_direct_absolute
 
18725
 
 
18726
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
18727
# into the resulting binary.
 
18728
hardcode_minus_L=$hardcode_minus_L
 
18729
 
 
18730
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
18731
# into the resulting binary.
 
18732
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
18733
 
 
18734
# Set to "yes" if building a shared library automatically hardcodes DIR
 
18735
# into the library and all subsequent libraries and executables linked
 
18736
# against it.
 
18737
hardcode_automatic=$hardcode_automatic
 
18738
 
 
18739
# Set to yes if linker adds runtime paths of dependent libraries
 
18740
# to runtime path list.
 
18741
inherit_rpath=$inherit_rpath
 
18742
 
 
18743
# Whether libtool must link a program against all its dependency libraries.
 
18744
link_all_deplibs=$link_all_deplibs
 
18745
 
 
18746
# Fix the shell variable \$srcfile for the compiler.
 
18747
fix_srcfile_path=$lt_fix_srcfile_path
 
18748
 
 
18749
# Set to "yes" if exported symbols are required.
 
18750
always_export_symbols=$always_export_symbols
 
18751
 
 
18752
# The commands to list exported symbols.
 
18753
export_symbols_cmds=$lt_export_symbols_cmds
 
18754
 
 
18755
# Symbols that should not be listed in the preloaded symbols.
 
18756
exclude_expsyms=$lt_exclude_expsyms
 
18757
 
 
18758
# Symbols that must always be exported.
 
18759
include_expsyms=$lt_include_expsyms
 
18760
 
 
18761
# Commands necessary for linking programs (against libraries) with templates.
 
18762
prelink_cmds=$lt_prelink_cmds
 
18763
 
 
18764
# Specify filename containing input files.
 
18765
file_list_spec=$lt_file_list_spec
 
18766
 
 
18767
# How to hardcode a shared library path into an executable.
 
18768
hardcode_action=$hardcode_action
 
18769
 
 
18770
# ### END LIBTOOL CONFIG
 
18771
 
 
18772
_LT_EOF
 
18773
 
 
18774
  case $host_os in
 
18775
  aix3*)
 
18776
    cat <<\_LT_EOF >> "$cfgfile"
 
18777
# AIX sometimes has problems with the GCC collect2 program.  For some
 
18778
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
18779
# vanish in a puff of smoke.
 
18780
if test "X${COLLECT_NAMES+set}" != Xset; then
 
18781
  COLLECT_NAMES=
 
18782
  export COLLECT_NAMES
 
18783
fi
 
18784
_LT_EOF
 
18785
    ;;
 
18786
  esac
 
18787
 
 
18788
 
 
18789
ltmain="$ac_aux_dir/ltmain.sh"
 
18790
 
 
18791
 
 
18792
  # We use sed instead of cat because bash on DJGPP gets confused if
 
18793
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
18794
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
18795
  # is reportedly fixed, but why not run on old versions too?
 
18796
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
18797
    || (rm -f "$cfgfile"; exit 1)
 
18798
 
 
18799
  case $xsi_shell in
 
18800
  yes)
 
18801
    cat << \_LT_EOF >> "$cfgfile"
 
18802
 
 
18803
# func_dirname file append nondir_replacement
 
18804
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
18805
# otherwise set result to NONDIR_REPLACEMENT.
 
18806
func_dirname ()
 
18807
{
 
18808
  case ${1} in
 
18809
    */*) func_dirname_result="${1%/*}${2}" ;;
 
18810
    *  ) func_dirname_result="${3}" ;;
 
18811
  esac
 
18812
}
 
18813
 
 
18814
# func_basename file
 
18815
func_basename ()
 
18816
{
 
18817
  func_basename_result="${1##*/}"
 
18818
}
 
18819
 
 
18820
# func_dirname_and_basename file append nondir_replacement
 
18821
# perform func_basename and func_dirname in a single function
 
18822
# call:
 
18823
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
18824
#             add APPEND to the result, otherwise set result
 
18825
#             to NONDIR_REPLACEMENT.
 
18826
#             value returned in "$func_dirname_result"
 
18827
#   basename: Compute filename of FILE.
 
18828
#             value retuned in "$func_basename_result"
 
18829
# Implementation must be kept synchronized with func_dirname
 
18830
# and func_basename. For efficiency, we do not delegate to
 
18831
# those functions but instead duplicate the functionality here.
 
18832
func_dirname_and_basename ()
 
18833
{
 
18834
  case ${1} in
 
18835
    */*) func_dirname_result="${1%/*}${2}" ;;
 
18836
    *  ) func_dirname_result="${3}" ;;
 
18837
  esac
 
18838
  func_basename_result="${1##*/}"
 
18839
}
 
18840
 
 
18841
# func_stripname prefix suffix name
 
18842
# strip PREFIX and SUFFIX off of NAME.
 
18843
# PREFIX and SUFFIX must not contain globbing or regex special
 
18844
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
18845
# dot (in which case that matches only a dot).
 
18846
func_stripname ()
 
18847
{
 
18848
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
18849
  # positional parameters, so assign one to ordinary parameter first.
 
18850
  func_stripname_result=${3}
 
18851
  func_stripname_result=${func_stripname_result#"${1}"}
 
18852
  func_stripname_result=${func_stripname_result%"${2}"}
 
18853
}
 
18854
 
 
18855
# func_opt_split
 
18856
func_opt_split ()
 
18857
{
 
18858
  func_opt_split_opt=${1%%=*}
 
18859
  func_opt_split_arg=${1#*=}
 
18860
}
 
18861
 
 
18862
# func_lo2o object
 
18863
func_lo2o ()
 
18864
{
 
18865
  case ${1} in
 
18866
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
18867
    *)    func_lo2o_result=${1} ;;
 
18868
  esac
 
18869
}
 
18870
 
 
18871
# func_xform libobj-or-source
 
18872
func_xform ()
 
18873
{
 
18874
  func_xform_result=${1%.*}.lo
 
18875
}
 
18876
 
 
18877
# func_arith arithmetic-term...
 
18878
func_arith ()
 
18879
{
 
18880
  func_arith_result=$(( $* ))
 
18881
}
 
18882
 
 
18883
# func_len string
 
18884
# STRING may not start with a hyphen.
 
18885
func_len ()
 
18886
{
 
18887
  func_len_result=${#1}
 
18888
}
 
18889
 
 
18890
_LT_EOF
 
18891
    ;;
 
18892
  *) # Bourne compatible functions.
 
18893
    cat << \_LT_EOF >> "$cfgfile"
 
18894
 
 
18895
# func_dirname file append nondir_replacement
 
18896
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
18897
# otherwise set result to NONDIR_REPLACEMENT.
 
18898
func_dirname ()
 
18899
{
 
18900
  # Extract subdirectory from the argument.
 
18901
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
18902
  if test "X$func_dirname_result" = "X${1}"; then
 
18903
    func_dirname_result="${3}"
 
18904
  else
 
18905
    func_dirname_result="$func_dirname_result${2}"
 
18906
  fi
 
18907
}
 
18908
 
 
18909
# func_basename file
 
18910
func_basename ()
 
18911
{
 
18912
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
18913
}
 
18914
 
 
18915
 
 
18916
# func_stripname prefix suffix name
 
18917
# strip PREFIX and SUFFIX off of NAME.
 
18918
# PREFIX and SUFFIX must not contain globbing or regex special
 
18919
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
18920
# dot (in which case that matches only a dot).
 
18921
# func_strip_suffix prefix name
 
18922
func_stripname ()
 
18923
{
 
18924
  case ${2} in
 
18925
    .*) func_stripname_result=`$ECHO "X${3}" \
 
18926
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
18927
    *)  func_stripname_result=`$ECHO "X${3}" \
 
18928
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
18929
  esac
 
18930
}
 
18931
 
 
18932
# sed scripts:
 
18933
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
18934
my_sed_long_arg='1s/^-[^=]*=//'
 
18935
 
 
18936
# func_opt_split
 
18937
func_opt_split ()
 
18938
{
 
18939
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
18940
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
18941
}
 
18942
 
 
18943
# func_lo2o object
 
18944
func_lo2o ()
 
18945
{
 
18946
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
18947
}
 
18948
 
 
18949
# func_xform libobj-or-source
 
18950
func_xform ()
 
18951
{
 
18952
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
18953
}
 
18954
 
 
18955
# func_arith arithmetic-term...
 
18956
func_arith ()
 
18957
{
 
18958
  func_arith_result=`expr "$@"`
 
18959
}
 
18960
 
 
18961
# func_len string
 
18962
# STRING may not start with a hyphen.
 
18963
func_len ()
 
18964
{
 
18965
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
18966
}
 
18967
 
 
18968
_LT_EOF
 
18969
esac
 
18970
 
 
18971
case $lt_shell_append in
 
18972
  yes)
 
18973
    cat << \_LT_EOF >> "$cfgfile"
 
18974
 
 
18975
# func_append var value
 
18976
# Append VALUE to the end of shell variable VAR.
 
18977
func_append ()
 
18978
{
 
18979
  eval "$1+=\$2"
 
18980
}
 
18981
_LT_EOF
 
18982
    ;;
 
18983
  *)
 
18984
    cat << \_LT_EOF >> "$cfgfile"
 
18985
 
 
18986
# func_append var value
 
18987
# Append VALUE to the end of shell variable VAR.
 
18988
func_append ()
 
18989
{
 
18990
  eval "$1=\$$1\$2"
 
18991
}
 
18992
 
 
18993
_LT_EOF
 
18994
    ;;
 
18995
  esac
 
18996
 
 
18997
 
 
18998
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
18999
    || (rm -f "$cfgfile"; exit 1)
 
19000
 
 
19001
  mv -f "$cfgfile" "$ofile" ||
 
19002
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
19003
  chmod +x "$ofile"
 
19004
 
 
19005
 ;;
 
19006
 
 
19007
  esac
 
19008
done # for ac_tag
 
19009
 
 
19010
 
 
19011
{ (exit 0); exit 0; }
 
19012
_ACEOF
 
19013
chmod +x $CONFIG_STATUS
 
19014
ac_clean_files=$ac_clean_files_save
 
19015
 
 
19016
test $ac_write_fail = 0 ||
 
19017
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
19018
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
19019
   { (exit 1); exit 1; }; }
 
19020
 
 
19021
 
 
19022
# configure is writing to config.log, and then calls config.status.
 
19023
# config.status does its own redirection, appending to config.log.
 
19024
# Unfortunately, on DOS this fails, as config.log is still kept open
 
19025
# by configure, so config.status won't be able to write to it; its
 
19026
# output is simply discarded.  So we exec the FD to /dev/null,
 
19027
# effectively closing config.log, so it can be properly (re)opened and
 
19028
# appended to by config.status.  When coming back to configure, we
 
19029
# need to make the FD available again.
 
19030
if test "$no_create" != yes; then
 
19031
  ac_cs_success=:
 
19032
  ac_config_status_args=
 
19033
  test "$silent" = yes &&
 
19034
    ac_config_status_args="$ac_config_status_args --quiet"
 
19035
  exec 5>/dev/null
 
19036
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
19037
  exec 5>>config.log
 
19038
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
19039
  # would make configure fail if this is the last instruction.
 
19040
  $ac_cs_success || { (exit 1); exit 1; }
 
19041
fi
 
19042
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
19043
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
19044
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
19045
fi
 
19046