~rmcbride/ubuntu/lucid/ubuntuone-client/fixucg

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Rodney Dawes
  • Date: 2009-06-30 12:00:00 UTC
  • Revision ID: james.westby@ubuntu.com-20090630120000-by806ovmw3193qe8
Tags: upstream-0.90.3
ImportĀ upstreamĀ versionĀ 0.90.3

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 ubuntuone-client 0.90.3.
 
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='ubuntuone-client'
 
745
PACKAGE_TARNAME='ubuntuone-client'
 
746
PACKAGE_VERSION='0.90.3'
 
747
PACKAGE_STRING='ubuntuone-client 0.90.3'
 
748
PACKAGE_BUGREPORT=''
 
749
 
 
750
ac_unique_file="config.h.in"
 
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
DBUS_SERVICES_DIR
 
790
DBUS_LIBS
 
791
DBUS_CFLAGS
 
792
NAUTILUS_LIBS
 
793
NAUTILUS_CFLAGS
 
794
USP_PATH
 
795
pkgpyexecdir
 
796
pyexecdir
 
797
pkgpythondir
 
798
pythondir
 
799
PYTHON_PLATFORM
 
800
PYTHON_EXEC_PREFIX
 
801
PYTHON_PREFIX
 
802
PYTHON_VERSION
 
803
PYTHON
 
804
ENABLE_RENDERING_FALSE
 
805
ENABLE_RENDERING_TRUE
 
806
ICONTOOL_RENDER
 
807
render_sizes
 
808
LNDIR
 
809
ACLOCAL_AMFLAGS
 
810
GETTEXT_PACKAGE
 
811
DATADIRNAME
 
812
ALL_LINGUAS
 
813
INTLTOOL_PERL
 
814
GMSGFMT
 
815
MSGFMT
 
816
MSGMERGE
 
817
XGETTEXT
 
818
INTLTOOL_POLICY_RULE
 
819
INTLTOOL_SERVICE_RULE
 
820
INTLTOOL_THEME_RULE
 
821
INTLTOOL_SCHEMAS_RULE
 
822
INTLTOOL_CAVES_RULE
 
823
INTLTOOL_XML_NOMERGE_RULE
 
824
INTLTOOL_XML_RULE
 
825
INTLTOOL_KBD_RULE
 
826
INTLTOOL_XAM_RULE
 
827
INTLTOOL_UI_RULE
 
828
INTLTOOL_SOUNDLIST_RULE
 
829
INTLTOOL_SHEET_RULE
 
830
INTLTOOL_SERVER_RULE
 
831
INTLTOOL_PONG_RULE
 
832
INTLTOOL_OAF_RULE
 
833
INTLTOOL_PROP_RULE
 
834
INTLTOOL_KEYS_RULE
 
835
INTLTOOL_DIRECTORY_RULE
 
836
INTLTOOL_DESKTOP_RULE
 
837
INTLTOOL_EXTRACT
 
838
INTLTOOL_MERGE
 
839
INTLTOOL_UPDATE
 
840
USE_NLS
 
841
PKG_CONFIG
 
842
CPP
 
843
OTOOL64
 
844
OTOOL
 
845
LIPO
 
846
NMEDIT
 
847
DSYMUTIL
 
848
lt_ECHO
 
849
RANLIB
 
850
AR
 
851
OBJDUMP
 
852
LN_S
 
853
NM
 
854
ac_ct_DUMPBIN
 
855
DUMPBIN
 
856
LD
 
857
FGREP
 
858
EGREP
 
859
GREP
 
860
SED
 
861
host_os
 
862
host_vendor
 
863
host_cpu
 
864
host
 
865
build_os
 
866
build_vendor
 
867
build_cpu
 
868
build
 
869
LIBTOOL
 
870
am__fastdepCC_FALSE
 
871
am__fastdepCC_TRUE
 
872
CCDEPMODE
 
873
AMDEPBACKSLASH
 
874
AMDEP_FALSE
 
875
AMDEP_TRUE
 
876
am__quote
 
877
am__include
 
878
DEPDIR
 
879
OBJEXT
 
880
EXEEXT
 
881
ac_ct_CC
 
882
CPPFLAGS
 
883
LDFLAGS
 
884
CFLAGS
 
885
CC
 
886
am__untar
 
887
am__tar
 
888
AMTAR
 
889
am__leading_dot
 
890
SET_MAKE
 
891
AWK
 
892
mkdir_p
 
893
MKDIR_P
 
894
INSTALL_STRIP_PROGRAM
 
895
STRIP
 
896
install_sh
 
897
MAKEINFO
 
898
AUTOHEADER
 
899
AUTOMAKE
 
900
AUTOCONF
 
901
ACLOCAL
 
902
VERSION
 
903
PACKAGE
 
904
CYGPATH_W
 
905
am__isrc
 
906
INSTALL_DATA
 
907
INSTALL_SCRIPT
 
908
INSTALL_PROGRAM
 
909
target_alias
 
910
host_alias
 
911
build_alias
 
912
LIBS
 
913
ECHO_T
 
914
ECHO_N
 
915
ECHO_C
 
916
DEFS
 
917
mandir
 
918
localedir
 
919
libdir
 
920
psdir
 
921
pdfdir
 
922
dvidir
 
923
htmldir
 
924
infodir
 
925
docdir
 
926
oldincludedir
 
927
includedir
 
928
localstatedir
 
929
sharedstatedir
 
930
sysconfdir
 
931
datadir
 
932
datarootdir
 
933
libexecdir
 
934
sbindir
 
935
bindir
 
936
program_transform_name
 
937
prefix
 
938
exec_prefix
 
939
PACKAGE_BUGREPORT
 
940
PACKAGE_STRING
 
941
PACKAGE_VERSION
 
942
PACKAGE_TARNAME
 
943
PACKAGE_NAME
 
944
PATH_SEPARATOR
 
945
SHELL'
 
946
ac_subst_files=''
 
947
ac_user_opts='
 
948
enable_option_checking
 
949
enable_dependency_tracking
 
950
enable_shared
 
951
enable_static
 
952
with_pic
 
953
enable_fast_install
 
954
with_gnu_ld
 
955
enable_libtool_lock
 
956
enable_nls
 
957
enable_rendering
 
958
with_protocol
 
959
with_dbus_services
 
960
'
 
961
      ac_precious_vars='build_alias
 
962
host_alias
 
963
target_alias
 
964
CC
 
965
CFLAGS
 
966
LDFLAGS
 
967
LIBS
 
968
CPPFLAGS
 
969
CPP
 
970
PKG_CONFIG
 
971
NAUTILUS_CFLAGS
 
972
NAUTILUS_LIBS
 
973
DBUS_CFLAGS
 
974
DBUS_LIBS'
 
975
 
 
976
 
 
977
# Initialize some variables set by options.
 
978
ac_init_help=
 
979
ac_init_version=false
 
980
ac_unrecognized_opts=
 
981
ac_unrecognized_sep=
 
982
# The variables have the same names as the options, with
 
983
# dashes changed to underlines.
 
984
cache_file=/dev/null
 
985
exec_prefix=NONE
 
986
no_create=
 
987
no_recursion=
 
988
prefix=NONE
 
989
program_prefix=NONE
 
990
program_suffix=NONE
 
991
program_transform_name=s,x,x,
 
992
silent=
 
993
site=
 
994
srcdir=
 
995
verbose=
 
996
x_includes=NONE
 
997
x_libraries=NONE
 
998
 
 
999
# Installation directory options.
 
1000
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
1001
# and all the variables that are supposed to be based on exec_prefix
 
1002
# by default will actually change.
 
1003
# Use braces instead of parens because sh, perl, etc. also accept them.
 
1004
# (The list follows the same order as the GNU Coding Standards.)
 
1005
bindir='${exec_prefix}/bin'
 
1006
sbindir='${exec_prefix}/sbin'
 
1007
libexecdir='${exec_prefix}/libexec'
 
1008
datarootdir='${prefix}/share'
 
1009
datadir='${datarootdir}'
 
1010
sysconfdir='${prefix}/etc'
 
1011
sharedstatedir='${prefix}/com'
 
1012
localstatedir='${prefix}/var'
 
1013
includedir='${prefix}/include'
 
1014
oldincludedir='/usr/include'
 
1015
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
1016
infodir='${datarootdir}/info'
 
1017
htmldir='${docdir}'
 
1018
dvidir='${docdir}'
 
1019
pdfdir='${docdir}'
 
1020
psdir='${docdir}'
 
1021
libdir='${exec_prefix}/lib'
 
1022
localedir='${datarootdir}/locale'
 
1023
mandir='${datarootdir}/man'
 
1024
 
 
1025
ac_prev=
 
1026
ac_dashdash=
 
1027
for ac_option
 
1028
do
 
1029
  # If the previous option needs an argument, assign it.
 
1030
  if test -n "$ac_prev"; then
 
1031
    eval $ac_prev=\$ac_option
 
1032
    ac_prev=
 
1033
    continue
 
1034
  fi
 
1035
 
 
1036
  case $ac_option in
 
1037
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1038
  *)    ac_optarg=yes ;;
 
1039
  esac
 
1040
 
 
1041
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
1042
 
 
1043
  case $ac_dashdash$ac_option in
 
1044
  --)
 
1045
    ac_dashdash=yes ;;
 
1046
 
 
1047
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
1048
    ac_prev=bindir ;;
 
1049
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
1050
    bindir=$ac_optarg ;;
 
1051
 
 
1052
  -build | --build | --buil | --bui | --bu)
 
1053
    ac_prev=build_alias ;;
 
1054
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
1055
    build_alias=$ac_optarg ;;
 
1056
 
 
1057
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
1058
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
1059
    ac_prev=cache_file ;;
 
1060
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
1061
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
1062
    cache_file=$ac_optarg ;;
 
1063
 
 
1064
  --config-cache | -C)
 
1065
    cache_file=config.cache ;;
 
1066
 
 
1067
  -datadir | --datadir | --datadi | --datad)
 
1068
    ac_prev=datadir ;;
 
1069
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
1070
    datadir=$ac_optarg ;;
 
1071
 
 
1072
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1073
  | --dataroo | --dataro | --datar)
 
1074
    ac_prev=datarootdir ;;
 
1075
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1076
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1077
    datarootdir=$ac_optarg ;;
 
1078
 
 
1079
  -disable-* | --disable-*)
 
1080
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1081
    # Reject names that are not valid shell variable names.
 
1082
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1083
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
 
1084
   { (exit 1); exit 1; }; }
 
1085
    ac_useropt_orig=$ac_useropt
 
1086
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1087
    case $ac_user_opts in
 
1088
      *"
 
1089
"enable_$ac_useropt"
 
1090
"*) ;;
 
1091
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1092
         ac_unrecognized_sep=', ';;
 
1093
    esac
 
1094
    eval enable_$ac_useropt=no ;;
 
1095
 
 
1096
  -docdir | --docdir | --docdi | --doc | --do)
 
1097
    ac_prev=docdir ;;
 
1098
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1099
    docdir=$ac_optarg ;;
 
1100
 
 
1101
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1102
    ac_prev=dvidir ;;
 
1103
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1104
    dvidir=$ac_optarg ;;
 
1105
 
 
1106
  -enable-* | --enable-*)
 
1107
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1108
    # Reject names that are not valid shell variable names.
 
1109
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1110
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
 
1111
   { (exit 1); exit 1; }; }
 
1112
    ac_useropt_orig=$ac_useropt
 
1113
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1114
    case $ac_user_opts in
 
1115
      *"
 
1116
"enable_$ac_useropt"
 
1117
"*) ;;
 
1118
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1119
         ac_unrecognized_sep=', ';;
 
1120
    esac
 
1121
    eval enable_$ac_useropt=\$ac_optarg ;;
 
1122
 
 
1123
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
1124
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
1125
  | --exec | --exe | --ex)
 
1126
    ac_prev=exec_prefix ;;
 
1127
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
1128
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
1129
  | --exec=* | --exe=* | --ex=*)
 
1130
    exec_prefix=$ac_optarg ;;
 
1131
 
 
1132
  -gas | --gas | --ga | --g)
 
1133
    # Obsolete; use --with-gas.
 
1134
    with_gas=yes ;;
 
1135
 
 
1136
  -help | --help | --hel | --he | -h)
 
1137
    ac_init_help=long ;;
 
1138
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
1139
    ac_init_help=recursive ;;
 
1140
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
1141
    ac_init_help=short ;;
 
1142
 
 
1143
  -host | --host | --hos | --ho)
 
1144
    ac_prev=host_alias ;;
 
1145
  -host=* | --host=* | --hos=* | --ho=*)
 
1146
    host_alias=$ac_optarg ;;
 
1147
 
 
1148
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1149
    ac_prev=htmldir ;;
 
1150
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1151
  | --ht=*)
 
1152
    htmldir=$ac_optarg ;;
 
1153
 
 
1154
  -includedir | --includedir | --includedi | --included | --include \
 
1155
  | --includ | --inclu | --incl | --inc)
 
1156
    ac_prev=includedir ;;
 
1157
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
1158
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
1159
    includedir=$ac_optarg ;;
 
1160
 
 
1161
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
1162
    ac_prev=infodir ;;
 
1163
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
1164
    infodir=$ac_optarg ;;
 
1165
 
 
1166
  -libdir | --libdir | --libdi | --libd)
 
1167
    ac_prev=libdir ;;
 
1168
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
1169
    libdir=$ac_optarg ;;
 
1170
 
 
1171
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1172
  | --libexe | --libex | --libe)
 
1173
    ac_prev=libexecdir ;;
 
1174
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1175
  | --libexe=* | --libex=* | --libe=*)
 
1176
    libexecdir=$ac_optarg ;;
 
1177
 
 
1178
  -localedir | --localedir | --localedi | --localed | --locale)
 
1179
    ac_prev=localedir ;;
 
1180
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1181
    localedir=$ac_optarg ;;
 
1182
 
 
1183
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1184
  | --localstate | --localstat | --localsta | --localst | --locals)
 
1185
    ac_prev=localstatedir ;;
 
1186
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1187
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1188
    localstatedir=$ac_optarg ;;
 
1189
 
 
1190
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1191
    ac_prev=mandir ;;
 
1192
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1193
    mandir=$ac_optarg ;;
 
1194
 
 
1195
  -nfp | --nfp | --nf)
 
1196
    # Obsolete; use --without-fp.
 
1197
    with_fp=no ;;
 
1198
 
 
1199
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1200
  | --no-cr | --no-c | -n)
 
1201
    no_create=yes ;;
 
1202
 
 
1203
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1204
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1205
    no_recursion=yes ;;
 
1206
 
 
1207
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1208
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1209
  | --oldin | --oldi | --old | --ol | --o)
 
1210
    ac_prev=oldincludedir ;;
 
1211
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1212
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1213
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1214
    oldincludedir=$ac_optarg ;;
 
1215
 
 
1216
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1217
    ac_prev=prefix ;;
 
1218
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1219
    prefix=$ac_optarg ;;
 
1220
 
 
1221
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1222
  | --program-pre | --program-pr | --program-p)
 
1223
    ac_prev=program_prefix ;;
 
1224
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1225
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1226
    program_prefix=$ac_optarg ;;
 
1227
 
 
1228
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1229
  | --program-suf | --program-su | --program-s)
 
1230
    ac_prev=program_suffix ;;
 
1231
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1232
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1233
    program_suffix=$ac_optarg ;;
 
1234
 
 
1235
  -program-transform-name | --program-transform-name \
 
1236
  | --program-transform-nam | --program-transform-na \
 
1237
  | --program-transform-n | --program-transform- \
 
1238
  | --program-transform | --program-transfor \
 
1239
  | --program-transfo | --program-transf \
 
1240
  | --program-trans | --program-tran \
 
1241
  | --progr-tra | --program-tr | --program-t)
 
1242
    ac_prev=program_transform_name ;;
 
1243
  -program-transform-name=* | --program-transform-name=* \
 
1244
  | --program-transform-nam=* | --program-transform-na=* \
 
1245
  | --program-transform-n=* | --program-transform-=* \
 
1246
  | --program-transform=* | --program-transfor=* \
 
1247
  | --program-transfo=* | --program-transf=* \
 
1248
  | --program-trans=* | --program-tran=* \
 
1249
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1250
    program_transform_name=$ac_optarg ;;
 
1251
 
 
1252
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1253
    ac_prev=pdfdir ;;
 
1254
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1255
    pdfdir=$ac_optarg ;;
 
1256
 
 
1257
  -psdir | --psdir | --psdi | --psd | --ps)
 
1258
    ac_prev=psdir ;;
 
1259
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1260
    psdir=$ac_optarg ;;
 
1261
 
 
1262
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1263
  | -silent | --silent | --silen | --sile | --sil)
 
1264
    silent=yes ;;
 
1265
 
 
1266
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1267
    ac_prev=sbindir ;;
 
1268
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1269
  | --sbi=* | --sb=*)
 
1270
    sbindir=$ac_optarg ;;
 
1271
 
 
1272
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1273
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1274
  | --sharedst | --shareds | --shared | --share | --shar \
 
1275
  | --sha | --sh)
 
1276
    ac_prev=sharedstatedir ;;
 
1277
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1278
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1279
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1280
  | --sha=* | --sh=*)
 
1281
    sharedstatedir=$ac_optarg ;;
 
1282
 
 
1283
  -site | --site | --sit)
 
1284
    ac_prev=site ;;
 
1285
  -site=* | --site=* | --sit=*)
 
1286
    site=$ac_optarg ;;
 
1287
 
 
1288
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1289
    ac_prev=srcdir ;;
 
1290
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1291
    srcdir=$ac_optarg ;;
 
1292
 
 
1293
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1294
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1295
    ac_prev=sysconfdir ;;
 
1296
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1297
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1298
    sysconfdir=$ac_optarg ;;
 
1299
 
 
1300
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1301
    ac_prev=target_alias ;;
 
1302
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1303
    target_alias=$ac_optarg ;;
 
1304
 
 
1305
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1306
    verbose=yes ;;
 
1307
 
 
1308
  -version | --version | --versio | --versi | --vers | -V)
 
1309
    ac_init_version=: ;;
 
1310
 
 
1311
  -with-* | --with-*)
 
1312
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1313
    # Reject names that are not valid shell variable names.
 
1314
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1315
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
 
1316
   { (exit 1); exit 1; }; }
 
1317
    ac_useropt_orig=$ac_useropt
 
1318
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1319
    case $ac_user_opts in
 
1320
      *"
 
1321
"with_$ac_useropt"
 
1322
"*) ;;
 
1323
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1324
         ac_unrecognized_sep=', ';;
 
1325
    esac
 
1326
    eval with_$ac_useropt=\$ac_optarg ;;
 
1327
 
 
1328
  -without-* | --without-*)
 
1329
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1330
    # Reject names that are not valid shell variable names.
 
1331
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1332
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
 
1333
   { (exit 1); exit 1; }; }
 
1334
    ac_useropt_orig=$ac_useropt
 
1335
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1336
    case $ac_user_opts in
 
1337
      *"
 
1338
"with_$ac_useropt"
 
1339
"*) ;;
 
1340
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1341
         ac_unrecognized_sep=', ';;
 
1342
    esac
 
1343
    eval with_$ac_useropt=no ;;
 
1344
 
 
1345
  --x)
 
1346
    # Obsolete; use --with-x.
 
1347
    with_x=yes ;;
 
1348
 
 
1349
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1350
  | --x-incl | --x-inc | --x-in | --x-i)
 
1351
    ac_prev=x_includes ;;
 
1352
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1353
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1354
    x_includes=$ac_optarg ;;
 
1355
 
 
1356
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1357
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1358
    ac_prev=x_libraries ;;
 
1359
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1360
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1361
    x_libraries=$ac_optarg ;;
 
1362
 
 
1363
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
 
1364
Try \`$0 --help' for more information." >&2
 
1365
   { (exit 1); exit 1; }; }
 
1366
    ;;
 
1367
 
 
1368
  *=*)
 
1369
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1370
    # Reject names that are not valid shell variable names.
 
1371
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 
1372
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1373
   { (exit 1); exit 1; }; }
 
1374
    eval $ac_envvar=\$ac_optarg
 
1375
    export $ac_envvar ;;
 
1376
 
 
1377
  *)
 
1378
    # FIXME: should be removed in autoconf 3.0.
 
1379
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1380
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1381
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1382
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1383
    ;;
 
1384
 
 
1385
  esac
 
1386
done
 
1387
 
 
1388
if test -n "$ac_prev"; then
 
1389
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1390
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
 
1391
   { (exit 1); exit 1; }; }
 
1392
fi
 
1393
 
 
1394
if test -n "$ac_unrecognized_opts"; then
 
1395
  case $enable_option_checking in
 
1396
    no) ;;
 
1397
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1398
   { (exit 1); exit 1; }; } ;;
 
1399
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1400
  esac
 
1401
fi
 
1402
 
 
1403
# Check all directory arguments for consistency.
 
1404
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1405
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1406
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1407
                libdir localedir mandir
 
1408
do
 
1409
  eval ac_val=\$$ac_var
 
1410
  # Remove trailing slashes.
 
1411
  case $ac_val in
 
1412
    */ )
 
1413
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1414
      eval $ac_var=\$ac_val;;
 
1415
  esac
 
1416
  # Be sure to have absolute directory names.
 
1417
  case $ac_val in
 
1418
    [\\/$]* | ?:[\\/]* )  continue;;
 
1419
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1420
  esac
 
1421
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1422
   { (exit 1); exit 1; }; }
 
1423
done
 
1424
 
 
1425
# There might be people who depend on the old broken behavior: `$host'
 
1426
# used to hold the argument of --host etc.
 
1427
# FIXME: To remove some day.
 
1428
build=$build_alias
 
1429
host=$host_alias
 
1430
target=$target_alias
 
1431
 
 
1432
# FIXME: To remove some day.
 
1433
if test "x$host_alias" != x; then
 
1434
  if test "x$build_alias" = x; then
 
1435
    cross_compiling=maybe
 
1436
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1437
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1438
  elif test "x$build_alias" != "x$host_alias"; then
 
1439
    cross_compiling=yes
 
1440
  fi
 
1441
fi
 
1442
 
 
1443
ac_tool_prefix=
 
1444
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1445
 
 
1446
test "$silent" = yes && exec 6>/dev/null
 
1447
 
 
1448
 
 
1449
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1450
ac_ls_di=`ls -di .` &&
 
1451
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1452
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
 
1453
   { (exit 1); exit 1; }; }
 
1454
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1455
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
 
1456
   { (exit 1); exit 1; }; }
 
1457
 
 
1458
 
 
1459
# Find the source files, if location was not specified.
 
1460
if test -z "$srcdir"; then
 
1461
  ac_srcdir_defaulted=yes
 
1462
  # Try the directory containing this script, then the parent directory.
 
1463
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1464
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1465
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1466
         X"$as_myself" : 'X\(//\)$' \| \
 
1467
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1468
$as_echo X"$as_myself" |
 
1469
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1470
            s//\1/
 
1471
            q
 
1472
          }
 
1473
          /^X\(\/\/\)[^/].*/{
 
1474
            s//\1/
 
1475
            q
 
1476
          }
 
1477
          /^X\(\/\/\)$/{
 
1478
            s//\1/
 
1479
            q
 
1480
          }
 
1481
          /^X\(\/\).*/{
 
1482
            s//\1/
 
1483
            q
 
1484
          }
 
1485
          s/.*/./; q'`
 
1486
  srcdir=$ac_confdir
 
1487
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1488
    srcdir=..
 
1489
  fi
 
1490
else
 
1491
  ac_srcdir_defaulted=no
 
1492
fi
 
1493
if test ! -r "$srcdir/$ac_unique_file"; then
 
1494
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1495
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1496
   { (exit 1); exit 1; }; }
 
1497
fi
 
1498
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1499
ac_abs_confdir=`(
 
1500
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
 
1501
   { (exit 1); exit 1; }; }
 
1502
        pwd)`
 
1503
# When building in place, set srcdir=.
 
1504
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1505
  srcdir=.
 
1506
fi
 
1507
# Remove unnecessary trailing slashes from srcdir.
 
1508
# Double slashes in file names in object file debugging info
 
1509
# mess up M-x gdb in Emacs.
 
1510
case $srcdir in
 
1511
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1512
esac
 
1513
for ac_var in $ac_precious_vars; do
 
1514
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1515
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1516
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1517
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1518
done
 
1519
 
 
1520
#
 
1521
# Report the --help message.
 
1522
#
 
1523
if test "$ac_init_help" = "long"; then
 
1524
  # Omit some internal or obsolete options to make the list less imposing.
 
1525
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1526
  cat <<_ACEOF
 
1527
\`configure' configures ubuntuone-client 0.90.3 to adapt to many kinds of systems.
 
1528
 
 
1529
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1530
 
 
1531
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1532
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1533
 
 
1534
Defaults for the options are specified in brackets.
 
1535
 
 
1536
Configuration:
 
1537
  -h, --help              display this help and exit
 
1538
      --help=short        display options specific to this package
 
1539
      --help=recursive    display the short help of all the included packages
 
1540
  -V, --version           display version information and exit
 
1541
  -q, --quiet, --silent   do not print \`checking...' messages
 
1542
      --cache-file=FILE   cache test results in FILE [disabled]
 
1543
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1544
  -n, --no-create         do not create output files
 
1545
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1546
 
 
1547
Installation directories:
 
1548
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1549
                          [$ac_default_prefix]
 
1550
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1551
                          [PREFIX]
 
1552
 
 
1553
By default, \`make install' will install all the files in
 
1554
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1555
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1556
for instance \`--prefix=\$HOME'.
 
1557
 
 
1558
For better control, use the options below.
 
1559
 
 
1560
Fine tuning of the installation directories:
 
1561
  --bindir=DIR            user executables [EPREFIX/bin]
 
1562
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1563
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1564
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1565
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1566
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1567
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1568
  --includedir=DIR        C header files [PREFIX/include]
 
1569
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1570
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1571
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1572
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1573
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1574
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1575
  --docdir=DIR            documentation root
 
1576
                          [DATAROOTDIR/doc/ubuntuone-client]
 
1577
  --htmldir=DIR           html documentation [DOCDIR]
 
1578
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1579
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1580
  --psdir=DIR             ps documentation [DOCDIR]
 
1581
_ACEOF
 
1582
 
 
1583
  cat <<\_ACEOF
 
1584
 
 
1585
Program names:
 
1586
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1587
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1588
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1589
 
 
1590
System types:
 
1591
  --build=BUILD     configure for building on BUILD [guessed]
 
1592
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1593
_ACEOF
 
1594
fi
 
1595
 
 
1596
if test -n "$ac_init_help"; then
 
1597
  case $ac_init_help in
 
1598
     short | recursive ) echo "Configuration of ubuntuone-client 0.90.3:";;
 
1599
   esac
 
1600
  cat <<\_ACEOF
 
1601
 
 
1602
Optional Features:
 
1603
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1604
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1605
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1606
  --disable-dependency-tracking  speeds up one-time build
 
1607
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1608
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1609
  --enable-static[=PKGS]  build static libraries [default=yes]
 
1610
  --enable-fast-install[=PKGS]
 
1611
                          optimize for fast installation [default=yes]
 
1612
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1613
  --disable-nls           do not use Native Language Support
 
1614
  --enable-rendering      Enable icon rendering default=auto
 
1615
 
 
1616
Optional Packages:
 
1617
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1618
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1619
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1620
                          both]
 
1621
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1622
  --with-protocol         Specify path to storage protocol default=auto
 
1623
  --with-dbus-services=<dir>
 
1624
                          where D-BUS services directory is
 
1625
 
 
1626
Some influential environment variables:
 
1627
  CC          C compiler command
 
1628
  CFLAGS      C compiler flags
 
1629
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1630
              nonstandard directory <lib dir>
 
1631
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1632
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1633
              you have headers in a nonstandard directory <include dir>
 
1634
  CPP         C preprocessor
 
1635
  PKG_CONFIG  path to pkg-config utility
 
1636
  NAUTILUS_CFLAGS
 
1637
              C compiler flags for NAUTILUS, overriding pkg-config
 
1638
  NAUTILUS_LIBS
 
1639
              linker flags for NAUTILUS, overriding pkg-config
 
1640
  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
 
1641
  DBUS_LIBS   linker flags for DBUS, overriding pkg-config
 
1642
 
 
1643
Use these variables to override the choices made by `configure' or to help
 
1644
it to find libraries and programs with nonstandard names/locations.
 
1645
 
 
1646
_ACEOF
 
1647
ac_status=$?
 
1648
fi
 
1649
 
 
1650
if test "$ac_init_help" = "recursive"; then
 
1651
  # If there are subdirs, report their specific --help.
 
1652
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1653
    test -d "$ac_dir" ||
 
1654
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1655
      continue
 
1656
    ac_builddir=.
 
1657
 
 
1658
case "$ac_dir" in
 
1659
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1660
*)
 
1661
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1662
  # A ".." for each directory in $ac_dir_suffix.
 
1663
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1664
  case $ac_top_builddir_sub in
 
1665
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1666
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1667
  esac ;;
 
1668
esac
 
1669
ac_abs_top_builddir=$ac_pwd
 
1670
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1671
# for backward compatibility:
 
1672
ac_top_builddir=$ac_top_build_prefix
 
1673
 
 
1674
case $srcdir in
 
1675
  .)  # We are building in place.
 
1676
    ac_srcdir=.
 
1677
    ac_top_srcdir=$ac_top_builddir_sub
 
1678
    ac_abs_top_srcdir=$ac_pwd ;;
 
1679
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1680
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1681
    ac_top_srcdir=$srcdir
 
1682
    ac_abs_top_srcdir=$srcdir ;;
 
1683
  *) # Relative name.
 
1684
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1685
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1686
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1687
esac
 
1688
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1689
 
 
1690
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1691
    # Check for guested configure.
 
1692
    if test -f "$ac_srcdir/configure.gnu"; then
 
1693
      echo &&
 
1694
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1695
    elif test -f "$ac_srcdir/configure"; then
 
1696
      echo &&
 
1697
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1698
    else
 
1699
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1700
    fi || ac_status=$?
 
1701
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1702
  done
 
1703
fi
 
1704
 
 
1705
test -n "$ac_init_help" && exit $ac_status
 
1706
if $ac_init_version; then
 
1707
  cat <<\_ACEOF
 
1708
ubuntuone-client configure 0.90.3
 
1709
generated by GNU Autoconf 2.63
 
1710
 
 
1711
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1712
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1713
This configure script is free software; the Free Software Foundation
 
1714
gives unlimited permission to copy, distribute and modify it.
 
1715
_ACEOF
 
1716
  exit
 
1717
fi
 
1718
cat >config.log <<_ACEOF
 
1719
This file contains any messages produced by compilers while
 
1720
running configure, to aid debugging if configure makes a mistake.
 
1721
 
 
1722
It was created by ubuntuone-client $as_me 0.90.3, which was
 
1723
generated by GNU Autoconf 2.63.  Invocation command line was
 
1724
 
 
1725
  $ $0 $@
 
1726
 
 
1727
_ACEOF
 
1728
exec 5>>config.log
 
1729
{
 
1730
cat <<_ASUNAME
 
1731
## --------- ##
 
1732
## Platform. ##
 
1733
## --------- ##
 
1734
 
 
1735
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
1736
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
1737
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
1738
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
1739
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
1740
 
 
1741
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
1742
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
1743
 
 
1744
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
1745
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
1746
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
1747
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
1748
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
1749
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
1750
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
1751
 
 
1752
_ASUNAME
 
1753
 
 
1754
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1755
for as_dir in $PATH
 
1756
do
 
1757
  IFS=$as_save_IFS
 
1758
  test -z "$as_dir" && as_dir=.
 
1759
  $as_echo "PATH: $as_dir"
 
1760
done
 
1761
IFS=$as_save_IFS
 
1762
 
 
1763
} >&5
 
1764
 
 
1765
cat >&5 <<_ACEOF
 
1766
 
 
1767
 
 
1768
## ----------- ##
 
1769
## Core tests. ##
 
1770
## ----------- ##
 
1771
 
 
1772
_ACEOF
 
1773
 
 
1774
 
 
1775
# Keep a trace of the command line.
 
1776
# Strip out --no-create and --no-recursion so they do not pile up.
 
1777
# Strip out --silent because we don't want to record it for future runs.
 
1778
# Also quote any args containing shell meta-characters.
 
1779
# Make two passes to allow for proper duplicate-argument suppression.
 
1780
ac_configure_args=
 
1781
ac_configure_args0=
 
1782
ac_configure_args1=
 
1783
ac_must_keep_next=false
 
1784
for ac_pass in 1 2
 
1785
do
 
1786
  for ac_arg
 
1787
  do
 
1788
    case $ac_arg in
 
1789
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
1790
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1791
    | -silent | --silent | --silen | --sile | --sil)
 
1792
      continue ;;
 
1793
    *\'*)
 
1794
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1795
    esac
 
1796
    case $ac_pass in
 
1797
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1798
    2)
 
1799
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1800
      if test $ac_must_keep_next = true; then
 
1801
        ac_must_keep_next=false # Got value, back to normal.
 
1802
      else
 
1803
        case $ac_arg in
 
1804
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1805
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1806
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1807
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1808
            case "$ac_configure_args0 " in
 
1809
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1810
            esac
 
1811
            ;;
 
1812
          -* ) ac_must_keep_next=true ;;
 
1813
        esac
 
1814
      fi
 
1815
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1816
      ;;
 
1817
    esac
 
1818
  done
 
1819
done
 
1820
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
1821
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1822
 
 
1823
# When interrupted or exit'd, cleanup temporary files, and complete
 
1824
# config.log.  We remove comments because anyway the quotes in there
 
1825
# would cause problems or look ugly.
 
1826
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1827
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
1828
trap 'exit_status=$?
 
1829
  # Save into config.log some information that might help in debugging.
 
1830
  {
 
1831
    echo
 
1832
 
 
1833
    cat <<\_ASBOX
 
1834
## ---------------- ##
 
1835
## Cache variables. ##
 
1836
## ---------------- ##
 
1837
_ASBOX
 
1838
    echo
 
1839
    # The following way of writing the cache mishandles newlines in values,
 
1840
(
 
1841
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1842
    eval ac_val=\$$ac_var
 
1843
    case $ac_val in #(
 
1844
    *${as_nl}*)
 
1845
      case $ac_var in #(
 
1846
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1847
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
1848
      esac
 
1849
      case $ac_var in #(
 
1850
      _ | IFS | as_nl) ;; #(
 
1851
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
1852
      *) $as_unset $ac_var ;;
 
1853
      esac ;;
 
1854
    esac
 
1855
  done
 
1856
  (set) 2>&1 |
 
1857
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1858
    *${as_nl}ac_space=\ *)
 
1859
      sed -n \
 
1860
        "s/'\''/'\''\\\\'\'''\''/g;
 
1861
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1862
      ;; #(
 
1863
    *)
 
1864
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
1865
      ;;
 
1866
    esac |
 
1867
    sort
 
1868
)
 
1869
    echo
 
1870
 
 
1871
    cat <<\_ASBOX
 
1872
## ----------------- ##
 
1873
## Output variables. ##
 
1874
## ----------------- ##
 
1875
_ASBOX
 
1876
    echo
 
1877
    for ac_var in $ac_subst_vars
 
1878
    do
 
1879
      eval ac_val=\$$ac_var
 
1880
      case $ac_val in
 
1881
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1882
      esac
 
1883
      $as_echo "$ac_var='\''$ac_val'\''"
 
1884
    done | sort
 
1885
    echo
 
1886
 
 
1887
    if test -n "$ac_subst_files"; then
 
1888
      cat <<\_ASBOX
 
1889
## ------------------- ##
 
1890
## File substitutions. ##
 
1891
## ------------------- ##
 
1892
_ASBOX
 
1893
      echo
 
1894
      for ac_var in $ac_subst_files
 
1895
      do
 
1896
        eval ac_val=\$$ac_var
 
1897
        case $ac_val in
 
1898
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1899
        esac
 
1900
        $as_echo "$ac_var='\''$ac_val'\''"
 
1901
      done | sort
 
1902
      echo
 
1903
    fi
 
1904
 
 
1905
    if test -s confdefs.h; then
 
1906
      cat <<\_ASBOX
 
1907
## ----------- ##
 
1908
## confdefs.h. ##
 
1909
## ----------- ##
 
1910
_ASBOX
 
1911
      echo
 
1912
      cat confdefs.h
 
1913
      echo
 
1914
    fi
 
1915
    test "$ac_signal" != 0 &&
 
1916
      $as_echo "$as_me: caught signal $ac_signal"
 
1917
    $as_echo "$as_me: exit $exit_status"
 
1918
  } >&5
 
1919
  rm -f core *.core core.conftest.* &&
 
1920
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
1921
    exit $exit_status
 
1922
' 0
 
1923
for ac_signal in 1 2 13 15; do
 
1924
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1925
done
 
1926
ac_signal=0
 
1927
 
 
1928
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
1929
rm -f -r conftest* confdefs.h
 
1930
 
 
1931
# Predefined preprocessor variables.
 
1932
 
 
1933
cat >>confdefs.h <<_ACEOF
 
1934
#define PACKAGE_NAME "$PACKAGE_NAME"
 
1935
_ACEOF
 
1936
 
 
1937
 
 
1938
cat >>confdefs.h <<_ACEOF
 
1939
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
1940
_ACEOF
 
1941
 
 
1942
 
 
1943
cat >>confdefs.h <<_ACEOF
 
1944
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
1945
_ACEOF
 
1946
 
 
1947
 
 
1948
cat >>confdefs.h <<_ACEOF
 
1949
#define PACKAGE_STRING "$PACKAGE_STRING"
 
1950
_ACEOF
 
1951
 
 
1952
 
 
1953
cat >>confdefs.h <<_ACEOF
 
1954
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
1955
_ACEOF
 
1956
 
 
1957
 
 
1958
# Let the site file select an alternate cache file if it wants to.
 
1959
# Prefer an explicitly selected file to automatically selected ones.
 
1960
ac_site_file1=NONE
 
1961
ac_site_file2=NONE
 
1962
if test -n "$CONFIG_SITE"; then
 
1963
  ac_site_file1=$CONFIG_SITE
 
1964
elif test "x$prefix" != xNONE; then
 
1965
  ac_site_file1=$prefix/share/config.site
 
1966
  ac_site_file2=$prefix/etc/config.site
 
1967
else
 
1968
  ac_site_file1=$ac_default_prefix/share/config.site
 
1969
  ac_site_file2=$ac_default_prefix/etc/config.site
 
1970
fi
 
1971
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
1972
do
 
1973
  test "x$ac_site_file" = xNONE && continue
 
1974
  if test -r "$ac_site_file"; then
 
1975
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1976
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
1977
    sed 's/^/| /' "$ac_site_file" >&5
 
1978
    . "$ac_site_file"
 
1979
  fi
 
1980
done
 
1981
 
 
1982
if test -r "$cache_file"; then
 
1983
  # Some versions of bash will fail to source /dev/null (special
 
1984
  # files actually), so we avoid doing that.
 
1985
  if test -f "$cache_file"; then
 
1986
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1987
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
1988
    case $cache_file in
 
1989
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1990
      *)                      . "./$cache_file";;
 
1991
    esac
 
1992
  fi
 
1993
else
 
1994
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1995
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
1996
  >$cache_file
 
1997
fi
 
1998
 
 
1999
# Check that the precious variables saved in the cache have kept the same
 
2000
# value.
 
2001
ac_cache_corrupted=false
 
2002
for ac_var in $ac_precious_vars; do
 
2003
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
2004
  eval ac_new_set=\$ac_env_${ac_var}_set
 
2005
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2006
  eval ac_new_val=\$ac_env_${ac_var}_value
 
2007
  case $ac_old_set,$ac_new_set in
 
2008
    set,)
 
2009
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2010
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2011
      ac_cache_corrupted=: ;;
 
2012
    ,set)
 
2013
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2014
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2015
      ac_cache_corrupted=: ;;
 
2016
    ,);;
 
2017
    *)
 
2018
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
2019
        # differences in whitespace do not lead to failure.
 
2020
        ac_old_val_w=`echo x $ac_old_val`
 
2021
        ac_new_val_w=`echo x $ac_new_val`
 
2022
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2023
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2024
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2025
          ac_cache_corrupted=:
 
2026
        else
 
2027
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2028
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2029
          eval $ac_var=\$ac_old_val
 
2030
        fi
 
2031
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2032
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2033
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2034
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2035
      fi;;
 
2036
  esac
 
2037
  # Pass precious variables to config.status.
 
2038
  if test "$ac_new_set" = set; then
 
2039
    case $ac_new_val in
 
2040
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2041
    *) ac_arg=$ac_var=$ac_new_val ;;
 
2042
    esac
 
2043
    case " $ac_configure_args " in
 
2044
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
2045
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2046
    esac
 
2047
  fi
 
2048
done
 
2049
if $ac_cache_corrupted; then
 
2050
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2051
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2052
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2053
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2054
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
2055
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
2056
   { (exit 1); exit 1; }; }
 
2057
fi
 
2058
 
 
2059
 
 
2060
 
 
2061
 
 
2062
 
 
2063
 
 
2064
 
 
2065
 
 
2066
 
 
2067
 
 
2068
 
 
2069
 
 
2070
 
 
2071
 
 
2072
 
 
2073
 
 
2074
 
 
2075
 
 
2076
 
 
2077
 
 
2078
 
 
2079
 
 
2080
 
 
2081
 
 
2082
 
 
2083
ac_ext=c
 
2084
ac_cpp='$CPP $CPPFLAGS'
 
2085
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2086
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2087
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2088
 
 
2089
 
 
2090
 
 
2091
 
 
2092
am__api_version='1.10'
 
2093
 
 
2094
ac_aux_dir=
 
2095
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2096
  if test -f "$ac_dir/install-sh"; then
 
2097
    ac_aux_dir=$ac_dir
 
2098
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2099
    break
 
2100
  elif test -f "$ac_dir/install.sh"; then
 
2101
    ac_aux_dir=$ac_dir
 
2102
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2103
    break
 
2104
  elif test -f "$ac_dir/shtool"; then
 
2105
    ac_aux_dir=$ac_dir
 
2106
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2107
    break
 
2108
  fi
 
2109
done
 
2110
if test -z "$ac_aux_dir"; then
 
2111
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2112
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
2113
   { (exit 1); exit 1; }; }
 
2114
fi
 
2115
 
 
2116
# These three variables are undocumented and unsupported,
 
2117
# and are intended to be withdrawn in a future Autoconf release.
 
2118
# They can cause serious problems if a builder's source tree is in a directory
 
2119
# whose full name contains unusual characters.
 
2120
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2121
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2122
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2123
 
 
2124
 
 
2125
# Find a good install program.  We prefer a C program (faster),
 
2126
# so one script is as good as another.  But avoid the broken or
 
2127
# incompatible versions:
 
2128
# SysV /etc/install, /usr/sbin/install
 
2129
# SunOS /usr/etc/install
 
2130
# IRIX /sbin/install
 
2131
# AIX /bin/install
 
2132
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2133
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2134
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2135
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2136
# OS/2's system install, which has a completely different semantic
 
2137
# ./install, which can be erroneously created by make from ./install.sh.
 
2138
# Reject install programs that cannot install multiple files.
 
2139
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2140
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
2141
if test -z "$INSTALL"; then
 
2142
if test "${ac_cv_path_install+set}" = set; then
 
2143
  $as_echo_n "(cached) " >&6
 
2144
else
 
2145
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2146
for as_dir in $PATH
 
2147
do
 
2148
  IFS=$as_save_IFS
 
2149
  test -z "$as_dir" && as_dir=.
 
2150
  # Account for people who put trailing slashes in PATH elements.
 
2151
case $as_dir/ in
 
2152
  ./ | .// | /cC/* | \
 
2153
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2154
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2155
  /usr/ucb/* ) ;;
 
2156
  *)
 
2157
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
2158
    # Don't use installbsd from OSF since it installs stuff as root
 
2159
    # by default.
 
2160
    for ac_prog in ginstall scoinst install; do
 
2161
      for ac_exec_ext in '' $ac_executable_extensions; do
 
2162
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2163
          if test $ac_prog = install &&
 
2164
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2165
            # AIX install.  It has an incompatible calling convention.
 
2166
            :
 
2167
          elif test $ac_prog = install &&
 
2168
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2169
            # program-specific install script used by HP pwplus--don't use.
 
2170
            :
 
2171
          else
 
2172
            rm -rf conftest.one conftest.two conftest.dir
 
2173
            echo one > conftest.one
 
2174
            echo two > conftest.two
 
2175
            mkdir conftest.dir
 
2176
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2177
              test -s conftest.one && test -s conftest.two &&
 
2178
              test -s conftest.dir/conftest.one &&
 
2179
              test -s conftest.dir/conftest.two
 
2180
            then
 
2181
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2182
              break 3
 
2183
            fi
 
2184
          fi
 
2185
        fi
 
2186
      done
 
2187
    done
 
2188
    ;;
 
2189
esac
 
2190
 
 
2191
done
 
2192
IFS=$as_save_IFS
 
2193
 
 
2194
rm -rf conftest.one conftest.two conftest.dir
 
2195
 
 
2196
fi
 
2197
  if test "${ac_cv_path_install+set}" = set; then
 
2198
    INSTALL=$ac_cv_path_install
 
2199
  else
 
2200
    # As a last resort, use the slow shell script.  Don't cache a
 
2201
    # value for INSTALL within a source directory, because that will
 
2202
    # break other packages using the cache if that directory is
 
2203
    # removed, or if the value is a relative name.
 
2204
    INSTALL=$ac_install_sh
 
2205
  fi
 
2206
fi
 
2207
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2208
$as_echo "$INSTALL" >&6; }
 
2209
 
 
2210
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2211
# It thinks the first close brace ends the variable substitution.
 
2212
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2213
 
 
2214
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2215
 
 
2216
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2217
 
 
2218
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2219
$as_echo_n "checking whether build environment is sane... " >&6; }
 
2220
# Just in case
 
2221
sleep 1
 
2222
echo timestamp > conftest.file
 
2223
# Do `set' in a subshell so we don't clobber the current shell's
 
2224
# arguments.  Must try -L first in case configure is actually a
 
2225
# symlink; some systems play weird games with the mod time of symlinks
 
2226
# (eg FreeBSD returns the mod time of the symlink's containing
 
2227
# directory).
 
2228
if (
 
2229
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2230
   if test "$*" = "X"; then
 
2231
      # -L didn't work.
 
2232
      set X `ls -t $srcdir/configure conftest.file`
 
2233
   fi
 
2234
   rm -f conftest.file
 
2235
   if test "$*" != "X $srcdir/configure conftest.file" \
 
2236
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
2237
 
 
2238
      # If neither matched, then we have a broken ls.  This can happen
 
2239
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2240
      # broken ls alias from the environment.  This has actually
 
2241
      # happened.  Such a system could not be considered "sane".
 
2242
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2243
alias in your environment" >&5
 
2244
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2245
alias in your environment" >&2;}
 
2246
   { (exit 1); exit 1; }; }
 
2247
   fi
 
2248
 
 
2249
   test "$2" = conftest.file
 
2250
   )
 
2251
then
 
2252
   # Ok.
 
2253
   :
 
2254
else
 
2255
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2256
Check your system clock" >&5
 
2257
$as_echo "$as_me: error: newly created file is older than distributed files!
 
2258
Check your system clock" >&2;}
 
2259
   { (exit 1); exit 1; }; }
 
2260
fi
 
2261
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2262
$as_echo "yes" >&6; }
 
2263
test "$program_prefix" != NONE &&
 
2264
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
2265
# Use a double $ so make ignores it.
 
2266
test "$program_suffix" != NONE &&
 
2267
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2268
# Double any \ or $.
 
2269
# By default was `s,x,x', remove it if useless.
 
2270
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2271
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
2272
 
 
2273
# expand $ac_aux_dir to an absolute path
 
2274
am_aux_dir=`cd $ac_aux_dir && pwd`
 
2275
 
 
2276
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2277
# Use eval to expand $SHELL
 
2278
if eval "$MISSING --run true"; then
 
2279
  am_missing_run="$MISSING --run "
 
2280
else
 
2281
  am_missing_run=
 
2282
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2283
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2284
fi
 
2285
 
 
2286
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2287
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2288
if test -z "$MKDIR_P"; then
 
2289
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2290
  $as_echo_n "(cached) " >&6
 
2291
else
 
2292
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2293
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2294
do
 
2295
  IFS=$as_save_IFS
 
2296
  test -z "$as_dir" && as_dir=.
 
2297
  for ac_prog in mkdir gmkdir; do
 
2298
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2299
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2300
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2301
             'mkdir (GNU coreutils) '* | \
 
2302
             'mkdir (coreutils) '* | \
 
2303
             'mkdir (fileutils) '4.1*)
 
2304
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2305
               break 3;;
 
2306
           esac
 
2307
         done
 
2308
       done
 
2309
done
 
2310
IFS=$as_save_IFS
 
2311
 
 
2312
fi
 
2313
 
 
2314
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2315
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2316
  else
 
2317
    # As a last resort, use the slow shell script.  Don't cache a
 
2318
    # value for MKDIR_P within a source directory, because that will
 
2319
    # break other packages using the cache if that directory is
 
2320
    # removed, or if the value is a relative name.
 
2321
    test -d ./--version && rmdir ./--version
 
2322
    MKDIR_P="$ac_install_sh -d"
 
2323
  fi
 
2324
fi
 
2325
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2326
$as_echo "$MKDIR_P" >&6; }
 
2327
 
 
2328
mkdir_p="$MKDIR_P"
 
2329
case $mkdir_p in
 
2330
  [\\/$]* | ?:[\\/]*) ;;
 
2331
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2332
esac
 
2333
 
 
2334
for ac_prog in gawk mawk nawk awk
 
2335
do
 
2336
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2337
set dummy $ac_prog; ac_word=$2
 
2338
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2339
$as_echo_n "checking for $ac_word... " >&6; }
 
2340
if test "${ac_cv_prog_AWK+set}" = set; then
 
2341
  $as_echo_n "(cached) " >&6
 
2342
else
 
2343
  if test -n "$AWK"; then
 
2344
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
2345
else
 
2346
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2347
for as_dir in $PATH
 
2348
do
 
2349
  IFS=$as_save_IFS
 
2350
  test -z "$as_dir" && as_dir=.
 
2351
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2352
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2353
    ac_cv_prog_AWK="$ac_prog"
 
2354
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2355
    break 2
 
2356
  fi
 
2357
done
 
2358
done
 
2359
IFS=$as_save_IFS
 
2360
 
 
2361
fi
 
2362
fi
 
2363
AWK=$ac_cv_prog_AWK
 
2364
if test -n "$AWK"; then
 
2365
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2366
$as_echo "$AWK" >&6; }
 
2367
else
 
2368
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2369
$as_echo "no" >&6; }
 
2370
fi
 
2371
 
 
2372
 
 
2373
  test -n "$AWK" && break
 
2374
done
 
2375
 
 
2376
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2377
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2378
set x ${MAKE-make}
 
2379
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2380
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2381
  $as_echo_n "(cached) " >&6
 
2382
else
 
2383
  cat >conftest.make <<\_ACEOF
 
2384
SHELL = /bin/sh
 
2385
all:
 
2386
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
2387
_ACEOF
 
2388
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2389
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2390
  *@@@%%%=?*=@@@%%%*)
 
2391
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2392
  *)
 
2393
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2394
esac
 
2395
rm -f conftest.make
 
2396
fi
 
2397
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2398
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2399
$as_echo "yes" >&6; }
 
2400
  SET_MAKE=
 
2401
else
 
2402
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2403
$as_echo "no" >&6; }
 
2404
  SET_MAKE="MAKE=${MAKE-make}"
 
2405
fi
 
2406
 
 
2407
rm -rf .tst 2>/dev/null
 
2408
mkdir .tst 2>/dev/null
 
2409
if test -d .tst; then
 
2410
  am__leading_dot=.
 
2411
else
 
2412
  am__leading_dot=_
 
2413
fi
 
2414
rmdir .tst 2>/dev/null
 
2415
 
 
2416
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2417
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2418
  # is not polluted with repeated "-I."
 
2419
  am__isrc=' -I$(srcdir)'
 
2420
  # test to see if srcdir already configured
 
2421
  if test -f $srcdir/config.status; then
 
2422
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2423
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2424
   { (exit 1); exit 1; }; }
 
2425
  fi
 
2426
fi
 
2427
 
 
2428
# test whether we have cygpath
 
2429
if test -z "$CYGPATH_W"; then
 
2430
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2431
    CYGPATH_W='cygpath -w'
 
2432
  else
 
2433
    CYGPATH_W=echo
 
2434
  fi
 
2435
fi
 
2436
 
 
2437
 
 
2438
# Define the identity of the package.
 
2439
 PACKAGE='ubuntuone-client'
 
2440
 VERSION='0.90.3'
 
2441
 
 
2442
 
 
2443
cat >>confdefs.h <<_ACEOF
 
2444
#define PACKAGE "$PACKAGE"
 
2445
_ACEOF
 
2446
 
 
2447
 
 
2448
cat >>confdefs.h <<_ACEOF
 
2449
#define VERSION "$VERSION"
 
2450
_ACEOF
 
2451
 
 
2452
# Some tools Automake needs.
 
2453
 
 
2454
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
2455
 
 
2456
 
 
2457
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
2458
 
 
2459
 
 
2460
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
2461
 
 
2462
 
 
2463
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
2464
 
 
2465
 
 
2466
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
2467
 
 
2468
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
2469
 
 
2470
# Installed binaries are usually stripped using `strip' when the user
 
2471
# run `make install-strip'.  However `strip' might not be the right
 
2472
# tool to use in cross-compilation environments, therefore Automake
 
2473
# will honor the `STRIP' environment variable to overrule this program.
 
2474
if test "$cross_compiling" != no; then
 
2475
  if test -n "$ac_tool_prefix"; then
 
2476
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2477
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2478
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2479
$as_echo_n "checking for $ac_word... " >&6; }
 
2480
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2481
  $as_echo_n "(cached) " >&6
 
2482
else
 
2483
  if test -n "$STRIP"; then
 
2484
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2485
else
 
2486
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2487
for as_dir in $PATH
 
2488
do
 
2489
  IFS=$as_save_IFS
 
2490
  test -z "$as_dir" && as_dir=.
 
2491
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2492
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2493
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2494
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2495
    break 2
 
2496
  fi
 
2497
done
 
2498
done
 
2499
IFS=$as_save_IFS
 
2500
 
 
2501
fi
 
2502
fi
 
2503
STRIP=$ac_cv_prog_STRIP
 
2504
if test -n "$STRIP"; then
 
2505
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2506
$as_echo "$STRIP" >&6; }
 
2507
else
 
2508
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2509
$as_echo "no" >&6; }
 
2510
fi
 
2511
 
 
2512
 
 
2513
fi
 
2514
if test -z "$ac_cv_prog_STRIP"; then
 
2515
  ac_ct_STRIP=$STRIP
 
2516
  # Extract the first word of "strip", so it can be a program name with args.
 
2517
set dummy strip; ac_word=$2
 
2518
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2519
$as_echo_n "checking for $ac_word... " >&6; }
 
2520
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2521
  $as_echo_n "(cached) " >&6
 
2522
else
 
2523
  if test -n "$ac_ct_STRIP"; then
 
2524
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2525
else
 
2526
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2527
for as_dir in $PATH
 
2528
do
 
2529
  IFS=$as_save_IFS
 
2530
  test -z "$as_dir" && as_dir=.
 
2531
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2532
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2533
    ac_cv_prog_ac_ct_STRIP="strip"
 
2534
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2535
    break 2
 
2536
  fi
 
2537
done
 
2538
done
 
2539
IFS=$as_save_IFS
 
2540
 
 
2541
fi
 
2542
fi
 
2543
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2544
if test -n "$ac_ct_STRIP"; then
 
2545
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2546
$as_echo "$ac_ct_STRIP" >&6; }
 
2547
else
 
2548
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2549
$as_echo "no" >&6; }
 
2550
fi
 
2551
 
 
2552
  if test "x$ac_ct_STRIP" = x; then
 
2553
    STRIP=":"
 
2554
  else
 
2555
    case $cross_compiling:$ac_tool_warned in
 
2556
yes:)
 
2557
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2558
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2559
ac_tool_warned=yes ;;
 
2560
esac
 
2561
    STRIP=$ac_ct_STRIP
 
2562
  fi
 
2563
else
 
2564
  STRIP="$ac_cv_prog_STRIP"
 
2565
fi
 
2566
 
 
2567
fi
 
2568
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2569
 
 
2570
# We need awk for the "check" target.  The system "awk" is bad on
 
2571
# some platforms.
 
2572
# Always define AMTAR for backward compatibility.
 
2573
 
 
2574
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2575
 
 
2576
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2577
 
 
2578
 
 
2579
 
 
2580
 
 
2581
 
 
2582
ac_config_headers="$ac_config_headers config.h"
 
2583
 
 
2584
 
 
2585
DEPDIR="${am__leading_dot}deps"
 
2586
 
 
2587
ac_config_commands="$ac_config_commands depfiles"
 
2588
 
 
2589
 
 
2590
am_make=${MAKE-make}
 
2591
cat > confinc << 'END'
 
2592
am__doit:
 
2593
        @echo done
 
2594
.PHONY: am__doit
 
2595
END
 
2596
# If we don't find an include directive, just comment out the code.
 
2597
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2598
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
2599
am__include="#"
 
2600
am__quote=
 
2601
_am_result=none
 
2602
# First try GNU make style include.
 
2603
echo "include confinc" > confmf
 
2604
# We grep out `Entering directory' and `Leaving directory'
 
2605
# messages which can occur if `w' ends up in MAKEFLAGS.
 
2606
# In particular we don't look at `^make:' because GNU make might
 
2607
# be invoked under some other name (usually "gmake"), in which
 
2608
# case it prints its new name instead of `make'.
 
2609
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
2610
   am__include=include
 
2611
   am__quote=
 
2612
   _am_result=GNU
 
2613
fi
 
2614
# Now try BSD make style include.
 
2615
if test "$am__include" = "#"; then
 
2616
   echo '.include "confinc"' > confmf
 
2617
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
2618
      am__include=.include
 
2619
      am__quote="\""
 
2620
      _am_result=BSD
 
2621
   fi
 
2622
fi
 
2623
 
 
2624
 
 
2625
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
2626
$as_echo "$_am_result" >&6; }
 
2627
rm -f confinc confmf
 
2628
 
 
2629
# Check whether --enable-dependency-tracking was given.
 
2630
if test "${enable_dependency_tracking+set}" = set; then
 
2631
  enableval=$enable_dependency_tracking;
 
2632
fi
 
2633
 
 
2634
if test "x$enable_dependency_tracking" != xno; then
 
2635
  am_depcomp="$ac_aux_dir/depcomp"
 
2636
  AMDEPBACKSLASH='\'
 
2637
fi
 
2638
 if test "x$enable_dependency_tracking" != xno; then
 
2639
  AMDEP_TRUE=
 
2640
  AMDEP_FALSE='#'
 
2641
else
 
2642
  AMDEP_TRUE='#'
 
2643
  AMDEP_FALSE=
 
2644
fi
 
2645
 
 
2646
 
 
2647
ac_ext=c
 
2648
ac_cpp='$CPP $CPPFLAGS'
 
2649
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2650
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2651
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2652
if test -n "$ac_tool_prefix"; then
 
2653
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
2654
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
2655
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2656
$as_echo_n "checking for $ac_word... " >&6; }
 
2657
if test "${ac_cv_prog_CC+set}" = set; then
 
2658
  $as_echo_n "(cached) " >&6
 
2659
else
 
2660
  if test -n "$CC"; then
 
2661
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2662
else
 
2663
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2664
for as_dir in $PATH
 
2665
do
 
2666
  IFS=$as_save_IFS
 
2667
  test -z "$as_dir" && as_dir=.
 
2668
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2669
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2670
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
2671
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2672
    break 2
 
2673
  fi
 
2674
done
 
2675
done
 
2676
IFS=$as_save_IFS
 
2677
 
 
2678
fi
 
2679
fi
 
2680
CC=$ac_cv_prog_CC
 
2681
if test -n "$CC"; then
 
2682
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2683
$as_echo "$CC" >&6; }
 
2684
else
 
2685
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2686
$as_echo "no" >&6; }
 
2687
fi
 
2688
 
 
2689
 
 
2690
fi
 
2691
if test -z "$ac_cv_prog_CC"; then
 
2692
  ac_ct_CC=$CC
 
2693
  # Extract the first word of "gcc", so it can be a program name with args.
 
2694
set dummy gcc; ac_word=$2
 
2695
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2696
$as_echo_n "checking for $ac_word... " >&6; }
 
2697
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2698
  $as_echo_n "(cached) " >&6
 
2699
else
 
2700
  if test -n "$ac_ct_CC"; then
 
2701
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2702
else
 
2703
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2704
for as_dir in $PATH
 
2705
do
 
2706
  IFS=$as_save_IFS
 
2707
  test -z "$as_dir" && as_dir=.
 
2708
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2709
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2710
    ac_cv_prog_ac_ct_CC="gcc"
 
2711
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2712
    break 2
 
2713
  fi
 
2714
done
 
2715
done
 
2716
IFS=$as_save_IFS
 
2717
 
 
2718
fi
 
2719
fi
 
2720
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2721
if test -n "$ac_ct_CC"; then
 
2722
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2723
$as_echo "$ac_ct_CC" >&6; }
 
2724
else
 
2725
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2726
$as_echo "no" >&6; }
 
2727
fi
 
2728
 
 
2729
  if test "x$ac_ct_CC" = x; then
 
2730
    CC=""
 
2731
  else
 
2732
    case $cross_compiling:$ac_tool_warned in
 
2733
yes:)
 
2734
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2735
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2736
ac_tool_warned=yes ;;
 
2737
esac
 
2738
    CC=$ac_ct_CC
 
2739
  fi
 
2740
else
 
2741
  CC="$ac_cv_prog_CC"
 
2742
fi
 
2743
 
 
2744
if test -z "$CC"; then
 
2745
          if test -n "$ac_tool_prefix"; then
 
2746
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2747
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
2748
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2749
$as_echo_n "checking for $ac_word... " >&6; }
 
2750
if test "${ac_cv_prog_CC+set}" = set; then
 
2751
  $as_echo_n "(cached) " >&6
 
2752
else
 
2753
  if test -n "$CC"; then
 
2754
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2755
else
 
2756
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2757
for as_dir in $PATH
 
2758
do
 
2759
  IFS=$as_save_IFS
 
2760
  test -z "$as_dir" && as_dir=.
 
2761
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2762
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2763
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
2764
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2765
    break 2
 
2766
  fi
 
2767
done
 
2768
done
 
2769
IFS=$as_save_IFS
 
2770
 
 
2771
fi
 
2772
fi
 
2773
CC=$ac_cv_prog_CC
 
2774
if test -n "$CC"; then
 
2775
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2776
$as_echo "$CC" >&6; }
 
2777
else
 
2778
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2779
$as_echo "no" >&6; }
 
2780
fi
 
2781
 
 
2782
 
 
2783
  fi
 
2784
fi
 
2785
if test -z "$CC"; then
 
2786
  # Extract the first word of "cc", so it can be a program name with args.
 
2787
set dummy cc; ac_word=$2
 
2788
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2789
$as_echo_n "checking for $ac_word... " >&6; }
 
2790
if test "${ac_cv_prog_CC+set}" = set; then
 
2791
  $as_echo_n "(cached) " >&6
 
2792
else
 
2793
  if test -n "$CC"; then
 
2794
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2795
else
 
2796
  ac_prog_rejected=no
 
2797
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2798
for as_dir in $PATH
 
2799
do
 
2800
  IFS=$as_save_IFS
 
2801
  test -z "$as_dir" && as_dir=.
 
2802
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2803
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2804
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
2805
       ac_prog_rejected=yes
 
2806
       continue
 
2807
     fi
 
2808
    ac_cv_prog_CC="cc"
 
2809
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2810
    break 2
 
2811
  fi
 
2812
done
 
2813
done
 
2814
IFS=$as_save_IFS
 
2815
 
 
2816
if test $ac_prog_rejected = yes; then
 
2817
  # We found a bogon in the path, so make sure we never use it.
 
2818
  set dummy $ac_cv_prog_CC
 
2819
  shift
 
2820
  if test $# != 0; then
 
2821
    # We chose a different compiler from the bogus one.
 
2822
    # However, it has the same basename, so the bogon will be chosen
 
2823
    # first if we set CC to just the basename; use the full file name.
 
2824
    shift
 
2825
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
2826
  fi
 
2827
fi
 
2828
fi
 
2829
fi
 
2830
CC=$ac_cv_prog_CC
 
2831
if test -n "$CC"; then
 
2832
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2833
$as_echo "$CC" >&6; }
 
2834
else
 
2835
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2836
$as_echo "no" >&6; }
 
2837
fi
 
2838
 
 
2839
 
 
2840
fi
 
2841
if test -z "$CC"; then
 
2842
  if test -n "$ac_tool_prefix"; then
 
2843
  for ac_prog in cl.exe
 
2844
  do
 
2845
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
2846
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
2847
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2848
$as_echo_n "checking for $ac_word... " >&6; }
 
2849
if test "${ac_cv_prog_CC+set}" = set; then
 
2850
  $as_echo_n "(cached) " >&6
 
2851
else
 
2852
  if test -n "$CC"; then
 
2853
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2854
else
 
2855
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2856
for as_dir in $PATH
 
2857
do
 
2858
  IFS=$as_save_IFS
 
2859
  test -z "$as_dir" && as_dir=.
 
2860
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2861
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2862
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
2863
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2864
    break 2
 
2865
  fi
 
2866
done
 
2867
done
 
2868
IFS=$as_save_IFS
 
2869
 
 
2870
fi
 
2871
fi
 
2872
CC=$ac_cv_prog_CC
 
2873
if test -n "$CC"; then
 
2874
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2875
$as_echo "$CC" >&6; }
 
2876
else
 
2877
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2878
$as_echo "no" >&6; }
 
2879
fi
 
2880
 
 
2881
 
 
2882
    test -n "$CC" && break
 
2883
  done
 
2884
fi
 
2885
if test -z "$CC"; then
 
2886
  ac_ct_CC=$CC
 
2887
  for ac_prog in cl.exe
 
2888
do
 
2889
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2890
set dummy $ac_prog; ac_word=$2
 
2891
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2892
$as_echo_n "checking for $ac_word... " >&6; }
 
2893
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2894
  $as_echo_n "(cached) " >&6
 
2895
else
 
2896
  if test -n "$ac_ct_CC"; then
 
2897
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2898
else
 
2899
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2900
for as_dir in $PATH
 
2901
do
 
2902
  IFS=$as_save_IFS
 
2903
  test -z "$as_dir" && as_dir=.
 
2904
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2905
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2906
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
2907
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2908
    break 2
 
2909
  fi
 
2910
done
 
2911
done
 
2912
IFS=$as_save_IFS
 
2913
 
 
2914
fi
 
2915
fi
 
2916
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2917
if test -n "$ac_ct_CC"; then
 
2918
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2919
$as_echo "$ac_ct_CC" >&6; }
 
2920
else
 
2921
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2922
$as_echo "no" >&6; }
 
2923
fi
 
2924
 
 
2925
 
 
2926
  test -n "$ac_ct_CC" && break
 
2927
done
 
2928
 
 
2929
  if test "x$ac_ct_CC" = x; then
 
2930
    CC=""
 
2931
  else
 
2932
    case $cross_compiling:$ac_tool_warned in
 
2933
yes:)
 
2934
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2935
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2936
ac_tool_warned=yes ;;
 
2937
esac
 
2938
    CC=$ac_ct_CC
 
2939
  fi
 
2940
fi
 
2941
 
 
2942
fi
 
2943
 
 
2944
 
 
2945
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2946
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2947
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
2948
See \`config.log' for more details." >&5
 
2949
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
 
2950
See \`config.log' for more details." >&2;}
 
2951
   { (exit 1); exit 1; }; }; }
 
2952
 
 
2953
# Provide some information about the compiler.
 
2954
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2955
set X $ac_compile
 
2956
ac_compiler=$2
 
2957
{ (ac_try="$ac_compiler --version >&5"
 
2958
case "(($ac_try" in
 
2959
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2960
  *) ac_try_echo=$ac_try;;
 
2961
esac
 
2962
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2963
$as_echo "$ac_try_echo") >&5
 
2964
  (eval "$ac_compiler --version >&5") 2>&5
 
2965
  ac_status=$?
 
2966
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2967
  (exit $ac_status); }
 
2968
{ (ac_try="$ac_compiler -v >&5"
 
2969
case "(($ac_try" in
 
2970
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2971
  *) ac_try_echo=$ac_try;;
 
2972
esac
 
2973
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2974
$as_echo "$ac_try_echo") >&5
 
2975
  (eval "$ac_compiler -v >&5") 2>&5
 
2976
  ac_status=$?
 
2977
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2978
  (exit $ac_status); }
 
2979
{ (ac_try="$ac_compiler -V >&5"
 
2980
case "(($ac_try" in
 
2981
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2982
  *) ac_try_echo=$ac_try;;
 
2983
esac
 
2984
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2985
$as_echo "$ac_try_echo") >&5
 
2986
  (eval "$ac_compiler -V >&5") 2>&5
 
2987
  ac_status=$?
 
2988
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2989
  (exit $ac_status); }
 
2990
 
 
2991
cat >conftest.$ac_ext <<_ACEOF
 
2992
/* confdefs.h.  */
 
2993
_ACEOF
 
2994
cat confdefs.h >>conftest.$ac_ext
 
2995
cat >>conftest.$ac_ext <<_ACEOF
 
2996
/* end confdefs.h.  */
 
2997
 
 
2998
int
 
2999
main ()
 
3000
{
 
3001
 
 
3002
  ;
 
3003
  return 0;
 
3004
}
 
3005
_ACEOF
 
3006
ac_clean_files_save=$ac_clean_files
 
3007
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3008
# Try to create an executable without -o first, disregard a.out.
 
3009
# It will help us diagnose broken compilers, and finding out an intuition
 
3010
# of exeext.
 
3011
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3012
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3013
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3014
 
 
3015
# The possible output files:
 
3016
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3017
 
 
3018
ac_rmfiles=
 
3019
for ac_file in $ac_files
 
3020
do
 
3021
  case $ac_file in
 
3022
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3023
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3024
  esac
 
3025
done
 
3026
rm -f $ac_rmfiles
 
3027
 
 
3028
if { (ac_try="$ac_link_default"
 
3029
case "(($ac_try" in
 
3030
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3031
  *) ac_try_echo=$ac_try;;
 
3032
esac
 
3033
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3034
$as_echo "$ac_try_echo") >&5
 
3035
  (eval "$ac_link_default") 2>&5
 
3036
  ac_status=$?
 
3037
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3038
  (exit $ac_status); }; then
 
3039
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3040
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3041
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3042
# so that the user can short-circuit this test for compilers unknown to
 
3043
# Autoconf.
 
3044
for ac_file in $ac_files ''
 
3045
do
 
3046
  test -f "$ac_file" || continue
 
3047
  case $ac_file in
 
3048
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
3049
        ;;
 
3050
    [ab].out )
 
3051
        # We found the default executable, but exeext='' is most
 
3052
        # certainly right.
 
3053
        break;;
 
3054
    *.* )
 
3055
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3056
        then :; else
 
3057
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3058
        fi
 
3059
        # We set ac_cv_exeext here because the later test for it is not
 
3060
        # safe: cross compilers may not add the suffix if given an `-o'
 
3061
        # argument, so we may need to know it at that point already.
 
3062
        # Even if this section looks crufty: it has the advantage of
 
3063
        # actually working.
 
3064
        break;;
 
3065
    * )
 
3066
        break;;
 
3067
  esac
 
3068
done
 
3069
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3070
 
 
3071
else
 
3072
  ac_file=''
 
3073
fi
 
3074
 
 
3075
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3076
$as_echo "$ac_file" >&6; }
 
3077
if test -z "$ac_file"; then
 
3078
  $as_echo "$as_me: failed program was:" >&5
 
3079
sed 's/^/| /' conftest.$ac_ext >&5
 
3080
 
 
3081
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3082
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3083
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
 
3084
See \`config.log' for more details." >&5
 
3085
$as_echo "$as_me: error: C compiler cannot create executables
 
3086
See \`config.log' for more details." >&2;}
 
3087
   { (exit 77); exit 77; }; }; }
 
3088
fi
 
3089
 
 
3090
ac_exeext=$ac_cv_exeext
 
3091
 
 
3092
# Check that the compiler produces executables we can run.  If not, either
 
3093
# the compiler is broken, or we cross compile.
 
3094
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3095
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3096
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 
3097
# If not cross compiling, check that we can run a simple program.
 
3098
if test "$cross_compiling" != yes; then
 
3099
  if { ac_try='./$ac_file'
 
3100
  { (case "(($ac_try" in
 
3101
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3102
  *) ac_try_echo=$ac_try;;
 
3103
esac
 
3104
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3105
$as_echo "$ac_try_echo") >&5
 
3106
  (eval "$ac_try") 2>&5
 
3107
  ac_status=$?
 
3108
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3109
  (exit $ac_status); }; }; then
 
3110
    cross_compiling=no
 
3111
  else
 
3112
    if test "$cross_compiling" = maybe; then
 
3113
        cross_compiling=yes
 
3114
    else
 
3115
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3116
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3117
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3118
If you meant to cross compile, use \`--host'.
 
3119
See \`config.log' for more details." >&5
 
3120
$as_echo "$as_me: error: cannot run C compiled programs.
 
3121
If you meant to cross compile, use \`--host'.
 
3122
See \`config.log' for more details." >&2;}
 
3123
   { (exit 1); exit 1; }; }; }
 
3124
    fi
 
3125
  fi
 
3126
fi
 
3127
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3128
$as_echo "yes" >&6; }
 
3129
 
 
3130
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3131
ac_clean_files=$ac_clean_files_save
 
3132
# Check that the compiler produces executables we can run.  If not, either
 
3133
# the compiler is broken, or we cross compile.
 
3134
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3135
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3136
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3137
$as_echo "$cross_compiling" >&6; }
 
3138
 
 
3139
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3140
$as_echo_n "checking for suffix of executables... " >&6; }
 
3141
if { (ac_try="$ac_link"
 
3142
case "(($ac_try" in
 
3143
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3144
  *) ac_try_echo=$ac_try;;
 
3145
esac
 
3146
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3147
$as_echo "$ac_try_echo") >&5
 
3148
  (eval "$ac_link") 2>&5
 
3149
  ac_status=$?
 
3150
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3151
  (exit $ac_status); }; then
 
3152
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
3153
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
3154
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
3155
# `rm'.
 
3156
for ac_file in conftest.exe conftest conftest.*; do
 
3157
  test -f "$ac_file" || continue
 
3158
  case $ac_file in
 
3159
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3160
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3161
          break;;
 
3162
    * ) break;;
 
3163
  esac
 
3164
done
 
3165
else
 
3166
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3167
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3168
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3169
See \`config.log' for more details." >&5
 
3170
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3171
See \`config.log' for more details." >&2;}
 
3172
   { (exit 1); exit 1; }; }; }
 
3173
fi
 
3174
 
 
3175
rm -f conftest$ac_cv_exeext
 
3176
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3177
$as_echo "$ac_cv_exeext" >&6; }
 
3178
 
 
3179
rm -f conftest.$ac_ext
 
3180
EXEEXT=$ac_cv_exeext
 
3181
ac_exeext=$EXEEXT
 
3182
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3183
$as_echo_n "checking for suffix of object files... " >&6; }
 
3184
if test "${ac_cv_objext+set}" = set; then
 
3185
  $as_echo_n "(cached) " >&6
 
3186
else
 
3187
  cat >conftest.$ac_ext <<_ACEOF
 
3188
/* confdefs.h.  */
 
3189
_ACEOF
 
3190
cat confdefs.h >>conftest.$ac_ext
 
3191
cat >>conftest.$ac_ext <<_ACEOF
 
3192
/* end confdefs.h.  */
 
3193
 
 
3194
int
 
3195
main ()
 
3196
{
 
3197
 
 
3198
  ;
 
3199
  return 0;
 
3200
}
 
3201
_ACEOF
 
3202
rm -f conftest.o conftest.obj
 
3203
if { (ac_try="$ac_compile"
 
3204
case "(($ac_try" in
 
3205
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3206
  *) ac_try_echo=$ac_try;;
 
3207
esac
 
3208
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3209
$as_echo "$ac_try_echo") >&5
 
3210
  (eval "$ac_compile") 2>&5
 
3211
  ac_status=$?
 
3212
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3213
  (exit $ac_status); }; then
 
3214
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3215
  test -f "$ac_file" || continue;
 
3216
  case $ac_file in
 
3217
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
3218
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3219
       break;;
 
3220
  esac
 
3221
done
 
3222
else
 
3223
  $as_echo "$as_me: failed program was:" >&5
 
3224
sed 's/^/| /' conftest.$ac_ext >&5
 
3225
 
 
3226
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3227
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3228
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3229
See \`config.log' for more details." >&5
 
3230
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3231
See \`config.log' for more details." >&2;}
 
3232
   { (exit 1); exit 1; }; }; }
 
3233
fi
 
3234
 
 
3235
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3236
fi
 
3237
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3238
$as_echo "$ac_cv_objext" >&6; }
 
3239
OBJEXT=$ac_cv_objext
 
3240
ac_objext=$OBJEXT
 
3241
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3242
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3243
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3244
  $as_echo_n "(cached) " >&6
 
3245
else
 
3246
  cat >conftest.$ac_ext <<_ACEOF
 
3247
/* confdefs.h.  */
 
3248
_ACEOF
 
3249
cat confdefs.h >>conftest.$ac_ext
 
3250
cat >>conftest.$ac_ext <<_ACEOF
 
3251
/* end confdefs.h.  */
 
3252
 
 
3253
int
 
3254
main ()
 
3255
{
 
3256
#ifndef __GNUC__
 
3257
       choke me
 
3258
#endif
 
3259
 
 
3260
  ;
 
3261
  return 0;
 
3262
}
 
3263
_ACEOF
 
3264
rm -f conftest.$ac_objext
 
3265
if { (ac_try="$ac_compile"
 
3266
case "(($ac_try" in
 
3267
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3268
  *) ac_try_echo=$ac_try;;
 
3269
esac
 
3270
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3271
$as_echo "$ac_try_echo") >&5
 
3272
  (eval "$ac_compile") 2>conftest.er1
 
3273
  ac_status=$?
 
3274
  grep -v '^ *+' conftest.er1 >conftest.err
 
3275
  rm -f conftest.er1
 
3276
  cat conftest.err >&5
 
3277
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3278
  (exit $ac_status); } && {
 
3279
         test -z "$ac_c_werror_flag" ||
 
3280
         test ! -s conftest.err
 
3281
       } && test -s conftest.$ac_objext; then
 
3282
  ac_compiler_gnu=yes
 
3283
else
 
3284
  $as_echo "$as_me: failed program was:" >&5
 
3285
sed 's/^/| /' conftest.$ac_ext >&5
 
3286
 
 
3287
        ac_compiler_gnu=no
 
3288
fi
 
3289
 
 
3290
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3291
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
3292
 
 
3293
fi
 
3294
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3295
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3296
if test $ac_compiler_gnu = yes; then
 
3297
  GCC=yes
 
3298
else
 
3299
  GCC=
 
3300
fi
 
3301
ac_test_CFLAGS=${CFLAGS+set}
 
3302
ac_save_CFLAGS=$CFLAGS
 
3303
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3304
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3305
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3306
  $as_echo_n "(cached) " >&6
 
3307
else
 
3308
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3309
   ac_c_werror_flag=yes
 
3310
   ac_cv_prog_cc_g=no
 
3311
   CFLAGS="-g"
 
3312
   cat >conftest.$ac_ext <<_ACEOF
 
3313
/* confdefs.h.  */
 
3314
_ACEOF
 
3315
cat confdefs.h >>conftest.$ac_ext
 
3316
cat >>conftest.$ac_ext <<_ACEOF
 
3317
/* end confdefs.h.  */
 
3318
 
 
3319
int
 
3320
main ()
 
3321
{
 
3322
 
 
3323
  ;
 
3324
  return 0;
 
3325
}
 
3326
_ACEOF
 
3327
rm -f conftest.$ac_objext
 
3328
if { (ac_try="$ac_compile"
 
3329
case "(($ac_try" in
 
3330
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3331
  *) ac_try_echo=$ac_try;;
 
3332
esac
 
3333
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3334
$as_echo "$ac_try_echo") >&5
 
3335
  (eval "$ac_compile") 2>conftest.er1
 
3336
  ac_status=$?
 
3337
  grep -v '^ *+' conftest.er1 >conftest.err
 
3338
  rm -f conftest.er1
 
3339
  cat conftest.err >&5
 
3340
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3341
  (exit $ac_status); } && {
 
3342
         test -z "$ac_c_werror_flag" ||
 
3343
         test ! -s conftest.err
 
3344
       } && test -s conftest.$ac_objext; then
 
3345
  ac_cv_prog_cc_g=yes
 
3346
else
 
3347
  $as_echo "$as_me: failed program was:" >&5
 
3348
sed 's/^/| /' conftest.$ac_ext >&5
 
3349
 
 
3350
        CFLAGS=""
 
3351
      cat >conftest.$ac_ext <<_ACEOF
 
3352
/* confdefs.h.  */
 
3353
_ACEOF
 
3354
cat confdefs.h >>conftest.$ac_ext
 
3355
cat >>conftest.$ac_ext <<_ACEOF
 
3356
/* end confdefs.h.  */
 
3357
 
 
3358
int
 
3359
main ()
 
3360
{
 
3361
 
 
3362
  ;
 
3363
  return 0;
 
3364
}
 
3365
_ACEOF
 
3366
rm -f conftest.$ac_objext
 
3367
if { (ac_try="$ac_compile"
 
3368
case "(($ac_try" in
 
3369
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3370
  *) ac_try_echo=$ac_try;;
 
3371
esac
 
3372
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3373
$as_echo "$ac_try_echo") >&5
 
3374
  (eval "$ac_compile") 2>conftest.er1
 
3375
  ac_status=$?
 
3376
  grep -v '^ *+' conftest.er1 >conftest.err
 
3377
  rm -f conftest.er1
 
3378
  cat conftest.err >&5
 
3379
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3380
  (exit $ac_status); } && {
 
3381
         test -z "$ac_c_werror_flag" ||
 
3382
         test ! -s conftest.err
 
3383
       } && test -s conftest.$ac_objext; then
 
3384
  :
 
3385
else
 
3386
  $as_echo "$as_me: failed program was:" >&5
 
3387
sed 's/^/| /' conftest.$ac_ext >&5
 
3388
 
 
3389
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3390
         CFLAGS="-g"
 
3391
         cat >conftest.$ac_ext <<_ACEOF
 
3392
/* confdefs.h.  */
 
3393
_ACEOF
 
3394
cat confdefs.h >>conftest.$ac_ext
 
3395
cat >>conftest.$ac_ext <<_ACEOF
 
3396
/* end confdefs.h.  */
 
3397
 
 
3398
int
 
3399
main ()
 
3400
{
 
3401
 
 
3402
  ;
 
3403
  return 0;
 
3404
}
 
3405
_ACEOF
 
3406
rm -f conftest.$ac_objext
 
3407
if { (ac_try="$ac_compile"
 
3408
case "(($ac_try" in
 
3409
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3410
  *) ac_try_echo=$ac_try;;
 
3411
esac
 
3412
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3413
$as_echo "$ac_try_echo") >&5
 
3414
  (eval "$ac_compile") 2>conftest.er1
 
3415
  ac_status=$?
 
3416
  grep -v '^ *+' conftest.er1 >conftest.err
 
3417
  rm -f conftest.er1
 
3418
  cat conftest.err >&5
 
3419
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3420
  (exit $ac_status); } && {
 
3421
         test -z "$ac_c_werror_flag" ||
 
3422
         test ! -s conftest.err
 
3423
       } && test -s conftest.$ac_objext; then
 
3424
  ac_cv_prog_cc_g=yes
 
3425
else
 
3426
  $as_echo "$as_me: failed program was:" >&5
 
3427
sed 's/^/| /' conftest.$ac_ext >&5
 
3428
 
 
3429
 
 
3430
fi
 
3431
 
 
3432
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3433
fi
 
3434
 
 
3435
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3436
fi
 
3437
 
 
3438
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3439
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3440
fi
 
3441
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3442
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
3443
if test "$ac_test_CFLAGS" = set; then
 
3444
  CFLAGS=$ac_save_CFLAGS
 
3445
elif test $ac_cv_prog_cc_g = yes; then
 
3446
  if test "$GCC" = yes; then
 
3447
    CFLAGS="-g -O2"
 
3448
  else
 
3449
    CFLAGS="-g"
 
3450
  fi
 
3451
else
 
3452
  if test "$GCC" = yes; then
 
3453
    CFLAGS="-O2"
 
3454
  else
 
3455
    CFLAGS=
 
3456
  fi
 
3457
fi
 
3458
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3459
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3460
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3461
  $as_echo_n "(cached) " >&6
 
3462
else
 
3463
  ac_cv_prog_cc_c89=no
 
3464
ac_save_CC=$CC
 
3465
cat >conftest.$ac_ext <<_ACEOF
 
3466
/* confdefs.h.  */
 
3467
_ACEOF
 
3468
cat confdefs.h >>conftest.$ac_ext
 
3469
cat >>conftest.$ac_ext <<_ACEOF
 
3470
/* end confdefs.h.  */
 
3471
#include <stdarg.h>
 
3472
#include <stdio.h>
 
3473
#include <sys/types.h>
 
3474
#include <sys/stat.h>
 
3475
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3476
struct buf { int x; };
 
3477
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3478
static char *e (p, i)
 
3479
     char **p;
 
3480
     int i;
 
3481
{
 
3482
  return p[i];
 
3483
}
 
3484
static char *f (char * (*g) (char **, int), char **p, ...)
 
3485
{
 
3486
  char *s;
 
3487
  va_list v;
 
3488
  va_start (v,p);
 
3489
  s = g (p, va_arg (v,int));
 
3490
  va_end (v);
 
3491
  return s;
 
3492
}
 
3493
 
 
3494
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3495
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3496
   These don't provoke an error unfortunately, instead are silently treated
 
3497
   as 'x'.  The following induces an error, until -std is added to get
 
3498
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3499
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3500
   that's true only with -std.  */
 
3501
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3502
 
 
3503
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3504
   inside strings and character constants.  */
 
3505
#define FOO(x) 'x'
 
3506
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3507
 
 
3508
int test (int i, double x);
 
3509
struct s1 {int (*f) (int a);};
 
3510
struct s2 {int (*f) (double a);};
 
3511
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3512
int argc;
 
3513
char **argv;
 
3514
int
 
3515
main ()
 
3516
{
 
3517
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3518
  ;
 
3519
  return 0;
 
3520
}
 
3521
_ACEOF
 
3522
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3523
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3524
do
 
3525
  CC="$ac_save_CC $ac_arg"
 
3526
  rm -f conftest.$ac_objext
 
3527
if { (ac_try="$ac_compile"
 
3528
case "(($ac_try" in
 
3529
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3530
  *) ac_try_echo=$ac_try;;
 
3531
esac
 
3532
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3533
$as_echo "$ac_try_echo") >&5
 
3534
  (eval "$ac_compile") 2>conftest.er1
 
3535
  ac_status=$?
 
3536
  grep -v '^ *+' conftest.er1 >conftest.err
 
3537
  rm -f conftest.er1
 
3538
  cat conftest.err >&5
 
3539
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3540
  (exit $ac_status); } && {
 
3541
         test -z "$ac_c_werror_flag" ||
 
3542
         test ! -s conftest.err
 
3543
       } && test -s conftest.$ac_objext; then
 
3544
  ac_cv_prog_cc_c89=$ac_arg
 
3545
else
 
3546
  $as_echo "$as_me: failed program was:" >&5
 
3547
sed 's/^/| /' conftest.$ac_ext >&5
 
3548
 
 
3549
 
 
3550
fi
 
3551
 
 
3552
rm -f core conftest.err conftest.$ac_objext
 
3553
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3554
done
 
3555
rm -f conftest.$ac_ext
 
3556
CC=$ac_save_CC
 
3557
 
 
3558
fi
 
3559
# AC_CACHE_VAL
 
3560
case "x$ac_cv_prog_cc_c89" in
 
3561
  x)
 
3562
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3563
$as_echo "none needed" >&6; } ;;
 
3564
  xno)
 
3565
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3566
$as_echo "unsupported" >&6; } ;;
 
3567
  *)
 
3568
    CC="$CC $ac_cv_prog_cc_c89"
 
3569
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3570
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
3571
esac
 
3572
 
 
3573
 
 
3574
ac_ext=c
 
3575
ac_cpp='$CPP $CPPFLAGS'
 
3576
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3577
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3578
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3579
 
 
3580
depcc="$CC"   am_compiler_list=
 
3581
 
 
3582
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3583
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3584
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3585
  $as_echo_n "(cached) " >&6
 
3586
else
 
3587
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3588
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3589
  # making bogus files that we don't know about and never remove.  For
 
3590
  # instance it was reported that on HP-UX the gcc test will end up
 
3591
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3592
  # in D'.
 
3593
  mkdir conftest.dir
 
3594
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3595
  # using a relative directory.
 
3596
  cp "$am_depcomp" conftest.dir
 
3597
  cd conftest.dir
 
3598
  # We will build objects and dependencies in a subdirectory because
 
3599
  # it helps to detect inapplicable dependency modes.  For instance
 
3600
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3601
  # side effect of compilation, but ICC will put the dependencies in
 
3602
  # the current directory while Tru64 will put them in the object
 
3603
  # directory.
 
3604
  mkdir sub
 
3605
 
 
3606
  am_cv_CC_dependencies_compiler_type=none
 
3607
  if test "$am_compiler_list" = ""; then
 
3608
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3609
  fi
 
3610
  for depmode in $am_compiler_list; do
 
3611
    # Setup a source with many dependencies, because some compilers
 
3612
    # like to wrap large dependency lists on column 80 (with \), and
 
3613
    # we should not choose a depcomp mode which is confused by this.
 
3614
    #
 
3615
    # We need to recreate these files for each test, as the compiler may
 
3616
    # overwrite some of them when testing with obscure command lines.
 
3617
    # This happens at least with the AIX C compiler.
 
3618
    : > sub/conftest.c
 
3619
    for i in 1 2 3 4 5 6; do
 
3620
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3621
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3622
      # Solaris 8's {/usr,}/bin/sh.
 
3623
      touch sub/conftst$i.h
 
3624
    done
 
3625
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3626
 
 
3627
    case $depmode in
 
3628
    nosideeffect)
 
3629
      # after this tag, mechanisms are not by side-effect, so they'll
 
3630
      # only be used when explicitly requested
 
3631
      if test "x$enable_dependency_tracking" = xyes; then
 
3632
        continue
 
3633
      else
 
3634
        break
 
3635
      fi
 
3636
      ;;
 
3637
    none) break ;;
 
3638
    esac
 
3639
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3640
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3641
    # handle `-M -o', and we need to detect this.
 
3642
    if depmode=$depmode \
 
3643
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3644
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3645
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3646
         >/dev/null 2>conftest.err &&
 
3647
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
3648
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3649
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3650
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3651
      # icc doesn't choke on unknown options, it will just issue warnings
 
3652
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3653
      # that says an option was ignored or not supported.
 
3654
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3655
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3656
      # The diagnosis changed in icc 8.0:
 
3657
      #   icc: Command line remark: option '-MP' not supported
 
3658
      if (grep 'ignoring option' conftest.err ||
 
3659
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3660
        am_cv_CC_dependencies_compiler_type=$depmode
 
3661
        break
 
3662
      fi
 
3663
    fi
 
3664
  done
 
3665
 
 
3666
  cd ..
 
3667
  rm -rf conftest.dir
 
3668
else
 
3669
  am_cv_CC_dependencies_compiler_type=none
 
3670
fi
 
3671
 
 
3672
fi
 
3673
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3674
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
3675
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
3676
 
 
3677
 if
 
3678
  test "x$enable_dependency_tracking" != xno \
 
3679
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
3680
  am__fastdepCC_TRUE=
 
3681
  am__fastdepCC_FALSE='#'
 
3682
else
 
3683
  am__fastdepCC_TRUE='#'
 
3684
  am__fastdepCC_FALSE=
 
3685
fi
 
3686
 
 
3687
 
 
3688
 
 
3689
{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
3690
$as_echo_n "checking for library containing strerror... " >&6; }
 
3691
if test "${ac_cv_search_strerror+set}" = set; then
 
3692
  $as_echo_n "(cached) " >&6
 
3693
else
 
3694
  ac_func_search_save_LIBS=$LIBS
 
3695
cat >conftest.$ac_ext <<_ACEOF
 
3696
/* confdefs.h.  */
 
3697
_ACEOF
 
3698
cat confdefs.h >>conftest.$ac_ext
 
3699
cat >>conftest.$ac_ext <<_ACEOF
 
3700
/* end confdefs.h.  */
 
3701
 
 
3702
/* Override any GCC internal prototype to avoid an error.
 
3703
   Use char because int might match the return type of a GCC
 
3704
   builtin and then its argument prototype would still apply.  */
 
3705
#ifdef __cplusplus
 
3706
extern "C"
 
3707
#endif
 
3708
char strerror ();
 
3709
int
 
3710
main ()
 
3711
{
 
3712
return strerror ();
 
3713
  ;
 
3714
  return 0;
 
3715
}
 
3716
_ACEOF
 
3717
for ac_lib in '' cposix; do
 
3718
  if test -z "$ac_lib"; then
 
3719
    ac_res="none required"
 
3720
  else
 
3721
    ac_res=-l$ac_lib
 
3722
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
3723
  fi
 
3724
  rm -f conftest.$ac_objext conftest$ac_exeext
 
3725
if { (ac_try="$ac_link"
 
3726
case "(($ac_try" in
 
3727
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3728
  *) ac_try_echo=$ac_try;;
 
3729
esac
 
3730
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3731
$as_echo "$ac_try_echo") >&5
 
3732
  (eval "$ac_link") 2>conftest.er1
 
3733
  ac_status=$?
 
3734
  grep -v '^ *+' conftest.er1 >conftest.err
 
3735
  rm -f conftest.er1
 
3736
  cat conftest.err >&5
 
3737
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3738
  (exit $ac_status); } && {
 
3739
         test -z "$ac_c_werror_flag" ||
 
3740
         test ! -s conftest.err
 
3741
       } && test -s conftest$ac_exeext && {
 
3742
         test "$cross_compiling" = yes ||
 
3743
         $as_test_x conftest$ac_exeext
 
3744
       }; then
 
3745
  ac_cv_search_strerror=$ac_res
 
3746
else
 
3747
  $as_echo "$as_me: failed program was:" >&5
 
3748
sed 's/^/| /' conftest.$ac_ext >&5
 
3749
 
 
3750
 
 
3751
fi
 
3752
 
 
3753
rm -rf conftest.dSYM
 
3754
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
3755
      conftest$ac_exeext
 
3756
  if test "${ac_cv_search_strerror+set}" = set; then
 
3757
  break
 
3758
fi
 
3759
done
 
3760
if test "${ac_cv_search_strerror+set}" = set; then
 
3761
  :
 
3762
else
 
3763
  ac_cv_search_strerror=no
 
3764
fi
 
3765
rm conftest.$ac_ext
 
3766
LIBS=$ac_func_search_save_LIBS
 
3767
fi
 
3768
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
3769
$as_echo "$ac_cv_search_strerror" >&6; }
 
3770
ac_res=$ac_cv_search_strerror
 
3771
if test "$ac_res" != no; then
 
3772
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
3773
 
 
3774
fi
 
3775
 
 
3776
ac_ext=c
 
3777
ac_cpp='$CPP $CPPFLAGS'
 
3778
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3779
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3780
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3781
if test -n "$ac_tool_prefix"; then
 
3782
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
3783
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
3784
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3785
$as_echo_n "checking for $ac_word... " >&6; }
 
3786
if test "${ac_cv_prog_CC+set}" = set; then
 
3787
  $as_echo_n "(cached) " >&6
 
3788
else
 
3789
  if test -n "$CC"; then
 
3790
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3791
else
 
3792
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3793
for as_dir in $PATH
 
3794
do
 
3795
  IFS=$as_save_IFS
 
3796
  test -z "$as_dir" && as_dir=.
 
3797
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3798
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3799
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
3800
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3801
    break 2
 
3802
  fi
 
3803
done
 
3804
done
 
3805
IFS=$as_save_IFS
 
3806
 
 
3807
fi
 
3808
fi
 
3809
CC=$ac_cv_prog_CC
 
3810
if test -n "$CC"; then
 
3811
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3812
$as_echo "$CC" >&6; }
 
3813
else
 
3814
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3815
$as_echo "no" >&6; }
 
3816
fi
 
3817
 
 
3818
 
 
3819
fi
 
3820
if test -z "$ac_cv_prog_CC"; then
 
3821
  ac_ct_CC=$CC
 
3822
  # Extract the first word of "gcc", so it can be a program name with args.
 
3823
set dummy gcc; ac_word=$2
 
3824
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3825
$as_echo_n "checking for $ac_word... " >&6; }
 
3826
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3827
  $as_echo_n "(cached) " >&6
 
3828
else
 
3829
  if test -n "$ac_ct_CC"; then
 
3830
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3831
else
 
3832
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3833
for as_dir in $PATH
 
3834
do
 
3835
  IFS=$as_save_IFS
 
3836
  test -z "$as_dir" && as_dir=.
 
3837
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3838
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3839
    ac_cv_prog_ac_ct_CC="gcc"
 
3840
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3841
    break 2
 
3842
  fi
 
3843
done
 
3844
done
 
3845
IFS=$as_save_IFS
 
3846
 
 
3847
fi
 
3848
fi
 
3849
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3850
if test -n "$ac_ct_CC"; then
 
3851
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3852
$as_echo "$ac_ct_CC" >&6; }
 
3853
else
 
3854
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3855
$as_echo "no" >&6; }
 
3856
fi
 
3857
 
 
3858
  if test "x$ac_ct_CC" = x; then
 
3859
    CC=""
 
3860
  else
 
3861
    case $cross_compiling:$ac_tool_warned in
 
3862
yes:)
 
3863
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3864
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3865
ac_tool_warned=yes ;;
 
3866
esac
 
3867
    CC=$ac_ct_CC
 
3868
  fi
 
3869
else
 
3870
  CC="$ac_cv_prog_CC"
 
3871
fi
 
3872
 
 
3873
if test -z "$CC"; then
 
3874
          if test -n "$ac_tool_prefix"; then
 
3875
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3876
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
3877
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3878
$as_echo_n "checking for $ac_word... " >&6; }
 
3879
if test "${ac_cv_prog_CC+set}" = set; then
 
3880
  $as_echo_n "(cached) " >&6
 
3881
else
 
3882
  if test -n "$CC"; then
 
3883
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3884
else
 
3885
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3886
for as_dir in $PATH
 
3887
do
 
3888
  IFS=$as_save_IFS
 
3889
  test -z "$as_dir" && as_dir=.
 
3890
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3891
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3892
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
3893
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3894
    break 2
 
3895
  fi
 
3896
done
 
3897
done
 
3898
IFS=$as_save_IFS
 
3899
 
 
3900
fi
 
3901
fi
 
3902
CC=$ac_cv_prog_CC
 
3903
if test -n "$CC"; then
 
3904
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3905
$as_echo "$CC" >&6; }
 
3906
else
 
3907
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3908
$as_echo "no" >&6; }
 
3909
fi
 
3910
 
 
3911
 
 
3912
  fi
 
3913
fi
 
3914
if test -z "$CC"; then
 
3915
  # Extract the first word of "cc", so it can be a program name with args.
 
3916
set dummy cc; ac_word=$2
 
3917
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3918
$as_echo_n "checking for $ac_word... " >&6; }
 
3919
if test "${ac_cv_prog_CC+set}" = set; then
 
3920
  $as_echo_n "(cached) " >&6
 
3921
else
 
3922
  if test -n "$CC"; then
 
3923
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3924
else
 
3925
  ac_prog_rejected=no
 
3926
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3927
for as_dir in $PATH
 
3928
do
 
3929
  IFS=$as_save_IFS
 
3930
  test -z "$as_dir" && as_dir=.
 
3931
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3932
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3933
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
3934
       ac_prog_rejected=yes
 
3935
       continue
 
3936
     fi
 
3937
    ac_cv_prog_CC="cc"
 
3938
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3939
    break 2
 
3940
  fi
 
3941
done
 
3942
done
 
3943
IFS=$as_save_IFS
 
3944
 
 
3945
if test $ac_prog_rejected = yes; then
 
3946
  # We found a bogon in the path, so make sure we never use it.
 
3947
  set dummy $ac_cv_prog_CC
 
3948
  shift
 
3949
  if test $# != 0; then
 
3950
    # We chose a different compiler from the bogus one.
 
3951
    # However, it has the same basename, so the bogon will be chosen
 
3952
    # first if we set CC to just the basename; use the full file name.
 
3953
    shift
 
3954
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
3955
  fi
 
3956
fi
 
3957
fi
 
3958
fi
 
3959
CC=$ac_cv_prog_CC
 
3960
if test -n "$CC"; then
 
3961
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3962
$as_echo "$CC" >&6; }
 
3963
else
 
3964
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3965
$as_echo "no" >&6; }
 
3966
fi
 
3967
 
 
3968
 
 
3969
fi
 
3970
if test -z "$CC"; then
 
3971
  if test -n "$ac_tool_prefix"; then
 
3972
  for ac_prog in cl.exe
 
3973
  do
 
3974
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3975
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3976
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3977
$as_echo_n "checking for $ac_word... " >&6; }
 
3978
if test "${ac_cv_prog_CC+set}" = set; then
 
3979
  $as_echo_n "(cached) " >&6
 
3980
else
 
3981
  if test -n "$CC"; then
 
3982
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3983
else
 
3984
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3985
for as_dir in $PATH
 
3986
do
 
3987
  IFS=$as_save_IFS
 
3988
  test -z "$as_dir" && as_dir=.
 
3989
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3990
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3991
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
3992
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3993
    break 2
 
3994
  fi
 
3995
done
 
3996
done
 
3997
IFS=$as_save_IFS
 
3998
 
 
3999
fi
 
4000
fi
 
4001
CC=$ac_cv_prog_CC
 
4002
if test -n "$CC"; then
 
4003
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4004
$as_echo "$CC" >&6; }
 
4005
else
 
4006
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4007
$as_echo "no" >&6; }
 
4008
fi
 
4009
 
 
4010
 
 
4011
    test -n "$CC" && break
 
4012
  done
 
4013
fi
 
4014
if test -z "$CC"; then
 
4015
  ac_ct_CC=$CC
 
4016
  for ac_prog in cl.exe
 
4017
do
 
4018
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4019
set dummy $ac_prog; ac_word=$2
 
4020
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4021
$as_echo_n "checking for $ac_word... " >&6; }
 
4022
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
4023
  $as_echo_n "(cached) " >&6
 
4024
else
 
4025
  if test -n "$ac_ct_CC"; then
 
4026
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4027
else
 
4028
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4029
for as_dir in $PATH
 
4030
do
 
4031
  IFS=$as_save_IFS
 
4032
  test -z "$as_dir" && as_dir=.
 
4033
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4034
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4035
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
4036
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4037
    break 2
 
4038
  fi
 
4039
done
 
4040
done
 
4041
IFS=$as_save_IFS
 
4042
 
 
4043
fi
 
4044
fi
 
4045
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4046
if test -n "$ac_ct_CC"; then
 
4047
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4048
$as_echo "$ac_ct_CC" >&6; }
 
4049
else
 
4050
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4051
$as_echo "no" >&6; }
 
4052
fi
 
4053
 
 
4054
 
 
4055
  test -n "$ac_ct_CC" && break
 
4056
done
 
4057
 
 
4058
  if test "x$ac_ct_CC" = x; then
 
4059
    CC=""
 
4060
  else
 
4061
    case $cross_compiling:$ac_tool_warned in
 
4062
yes:)
 
4063
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4064
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4065
ac_tool_warned=yes ;;
 
4066
esac
 
4067
    CC=$ac_ct_CC
 
4068
  fi
 
4069
fi
 
4070
 
 
4071
fi
 
4072
 
 
4073
 
 
4074
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4075
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4076
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
4077
See \`config.log' for more details." >&5
 
4078
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
 
4079
See \`config.log' for more details." >&2;}
 
4080
   { (exit 1); exit 1; }; }; }
 
4081
 
 
4082
# Provide some information about the compiler.
 
4083
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
4084
set X $ac_compile
 
4085
ac_compiler=$2
 
4086
{ (ac_try="$ac_compiler --version >&5"
 
4087
case "(($ac_try" in
 
4088
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4089
  *) ac_try_echo=$ac_try;;
 
4090
esac
 
4091
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4092
$as_echo "$ac_try_echo") >&5
 
4093
  (eval "$ac_compiler --version >&5") 2>&5
 
4094
  ac_status=$?
 
4095
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4096
  (exit $ac_status); }
 
4097
{ (ac_try="$ac_compiler -v >&5"
 
4098
case "(($ac_try" in
 
4099
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4100
  *) ac_try_echo=$ac_try;;
 
4101
esac
 
4102
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4103
$as_echo "$ac_try_echo") >&5
 
4104
  (eval "$ac_compiler -v >&5") 2>&5
 
4105
  ac_status=$?
 
4106
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4107
  (exit $ac_status); }
 
4108
{ (ac_try="$ac_compiler -V >&5"
 
4109
case "(($ac_try" in
 
4110
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4111
  *) ac_try_echo=$ac_try;;
 
4112
esac
 
4113
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4114
$as_echo "$ac_try_echo") >&5
 
4115
  (eval "$ac_compiler -V >&5") 2>&5
 
4116
  ac_status=$?
 
4117
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4118
  (exit $ac_status); }
 
4119
 
 
4120
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
4121
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
4122
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
4123
  $as_echo_n "(cached) " >&6
 
4124
else
 
4125
  cat >conftest.$ac_ext <<_ACEOF
 
4126
/* confdefs.h.  */
 
4127
_ACEOF
 
4128
cat confdefs.h >>conftest.$ac_ext
 
4129
cat >>conftest.$ac_ext <<_ACEOF
 
4130
/* end confdefs.h.  */
 
4131
 
 
4132
int
 
4133
main ()
 
4134
{
 
4135
#ifndef __GNUC__
 
4136
       choke me
 
4137
#endif
 
4138
 
 
4139
  ;
 
4140
  return 0;
 
4141
}
 
4142
_ACEOF
 
4143
rm -f conftest.$ac_objext
 
4144
if { (ac_try="$ac_compile"
 
4145
case "(($ac_try" in
 
4146
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4147
  *) ac_try_echo=$ac_try;;
 
4148
esac
 
4149
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4150
$as_echo "$ac_try_echo") >&5
 
4151
  (eval "$ac_compile") 2>conftest.er1
 
4152
  ac_status=$?
 
4153
  grep -v '^ *+' conftest.er1 >conftest.err
 
4154
  rm -f conftest.er1
 
4155
  cat conftest.err >&5
 
4156
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4157
  (exit $ac_status); } && {
 
4158
         test -z "$ac_c_werror_flag" ||
 
4159
         test ! -s conftest.err
 
4160
       } && test -s conftest.$ac_objext; then
 
4161
  ac_compiler_gnu=yes
 
4162
else
 
4163
  $as_echo "$as_me: failed program was:" >&5
 
4164
sed 's/^/| /' conftest.$ac_ext >&5
 
4165
 
 
4166
        ac_compiler_gnu=no
 
4167
fi
 
4168
 
 
4169
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4170
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
4171
 
 
4172
fi
 
4173
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
4174
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4175
if test $ac_compiler_gnu = yes; then
 
4176
  GCC=yes
 
4177
else
 
4178
  GCC=
 
4179
fi
 
4180
ac_test_CFLAGS=${CFLAGS+set}
 
4181
ac_save_CFLAGS=$CFLAGS
 
4182
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
4183
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
4184
if test "${ac_cv_prog_cc_g+set}" = set; then
 
4185
  $as_echo_n "(cached) " >&6
 
4186
else
 
4187
  ac_save_c_werror_flag=$ac_c_werror_flag
 
4188
   ac_c_werror_flag=yes
 
4189
   ac_cv_prog_cc_g=no
 
4190
   CFLAGS="-g"
 
4191
   cat >conftest.$ac_ext <<_ACEOF
 
4192
/* confdefs.h.  */
 
4193
_ACEOF
 
4194
cat confdefs.h >>conftest.$ac_ext
 
4195
cat >>conftest.$ac_ext <<_ACEOF
 
4196
/* end confdefs.h.  */
 
4197
 
 
4198
int
 
4199
main ()
 
4200
{
 
4201
 
 
4202
  ;
 
4203
  return 0;
 
4204
}
 
4205
_ACEOF
 
4206
rm -f conftest.$ac_objext
 
4207
if { (ac_try="$ac_compile"
 
4208
case "(($ac_try" in
 
4209
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4210
  *) ac_try_echo=$ac_try;;
 
4211
esac
 
4212
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4213
$as_echo "$ac_try_echo") >&5
 
4214
  (eval "$ac_compile") 2>conftest.er1
 
4215
  ac_status=$?
 
4216
  grep -v '^ *+' conftest.er1 >conftest.err
 
4217
  rm -f conftest.er1
 
4218
  cat conftest.err >&5
 
4219
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4220
  (exit $ac_status); } && {
 
4221
         test -z "$ac_c_werror_flag" ||
 
4222
         test ! -s conftest.err
 
4223
       } && test -s conftest.$ac_objext; then
 
4224
  ac_cv_prog_cc_g=yes
 
4225
else
 
4226
  $as_echo "$as_me: failed program was:" >&5
 
4227
sed 's/^/| /' conftest.$ac_ext >&5
 
4228
 
 
4229
        CFLAGS=""
 
4230
      cat >conftest.$ac_ext <<_ACEOF
 
4231
/* confdefs.h.  */
 
4232
_ACEOF
 
4233
cat confdefs.h >>conftest.$ac_ext
 
4234
cat >>conftest.$ac_ext <<_ACEOF
 
4235
/* end confdefs.h.  */
 
4236
 
 
4237
int
 
4238
main ()
 
4239
{
 
4240
 
 
4241
  ;
 
4242
  return 0;
 
4243
}
 
4244
_ACEOF
 
4245
rm -f conftest.$ac_objext
 
4246
if { (ac_try="$ac_compile"
 
4247
case "(($ac_try" in
 
4248
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4249
  *) ac_try_echo=$ac_try;;
 
4250
esac
 
4251
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4252
$as_echo "$ac_try_echo") >&5
 
4253
  (eval "$ac_compile") 2>conftest.er1
 
4254
  ac_status=$?
 
4255
  grep -v '^ *+' conftest.er1 >conftest.err
 
4256
  rm -f conftest.er1
 
4257
  cat conftest.err >&5
 
4258
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4259
  (exit $ac_status); } && {
 
4260
         test -z "$ac_c_werror_flag" ||
 
4261
         test ! -s conftest.err
 
4262
       } && test -s conftest.$ac_objext; then
 
4263
  :
 
4264
else
 
4265
  $as_echo "$as_me: failed program was:" >&5
 
4266
sed 's/^/| /' conftest.$ac_ext >&5
 
4267
 
 
4268
        ac_c_werror_flag=$ac_save_c_werror_flag
 
4269
         CFLAGS="-g"
 
4270
         cat >conftest.$ac_ext <<_ACEOF
 
4271
/* confdefs.h.  */
 
4272
_ACEOF
 
4273
cat confdefs.h >>conftest.$ac_ext
 
4274
cat >>conftest.$ac_ext <<_ACEOF
 
4275
/* end confdefs.h.  */
 
4276
 
 
4277
int
 
4278
main ()
 
4279
{
 
4280
 
 
4281
  ;
 
4282
  return 0;
 
4283
}
 
4284
_ACEOF
 
4285
rm -f conftest.$ac_objext
 
4286
if { (ac_try="$ac_compile"
 
4287
case "(($ac_try" in
 
4288
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4289
  *) ac_try_echo=$ac_try;;
 
4290
esac
 
4291
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4292
$as_echo "$ac_try_echo") >&5
 
4293
  (eval "$ac_compile") 2>conftest.er1
 
4294
  ac_status=$?
 
4295
  grep -v '^ *+' conftest.er1 >conftest.err
 
4296
  rm -f conftest.er1
 
4297
  cat conftest.err >&5
 
4298
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4299
  (exit $ac_status); } && {
 
4300
         test -z "$ac_c_werror_flag" ||
 
4301
         test ! -s conftest.err
 
4302
       } && test -s conftest.$ac_objext; then
 
4303
  ac_cv_prog_cc_g=yes
 
4304
else
 
4305
  $as_echo "$as_me: failed program was:" >&5
 
4306
sed 's/^/| /' conftest.$ac_ext >&5
 
4307
 
 
4308
 
 
4309
fi
 
4310
 
 
4311
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4312
fi
 
4313
 
 
4314
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4315
fi
 
4316
 
 
4317
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4318
   ac_c_werror_flag=$ac_save_c_werror_flag
 
4319
fi
 
4320
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
4321
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
4322
if test "$ac_test_CFLAGS" = set; then
 
4323
  CFLAGS=$ac_save_CFLAGS
 
4324
elif test $ac_cv_prog_cc_g = yes; then
 
4325
  if test "$GCC" = yes; then
 
4326
    CFLAGS="-g -O2"
 
4327
  else
 
4328
    CFLAGS="-g"
 
4329
  fi
 
4330
else
 
4331
  if test "$GCC" = yes; then
 
4332
    CFLAGS="-O2"
 
4333
  else
 
4334
    CFLAGS=
 
4335
  fi
 
4336
fi
 
4337
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
4338
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
4339
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
4340
  $as_echo_n "(cached) " >&6
 
4341
else
 
4342
  ac_cv_prog_cc_c89=no
 
4343
ac_save_CC=$CC
 
4344
cat >conftest.$ac_ext <<_ACEOF
 
4345
/* confdefs.h.  */
 
4346
_ACEOF
 
4347
cat confdefs.h >>conftest.$ac_ext
 
4348
cat >>conftest.$ac_ext <<_ACEOF
 
4349
/* end confdefs.h.  */
 
4350
#include <stdarg.h>
 
4351
#include <stdio.h>
 
4352
#include <sys/types.h>
 
4353
#include <sys/stat.h>
 
4354
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
4355
struct buf { int x; };
 
4356
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
4357
static char *e (p, i)
 
4358
     char **p;
 
4359
     int i;
 
4360
{
 
4361
  return p[i];
 
4362
}
 
4363
static char *f (char * (*g) (char **, int), char **p, ...)
 
4364
{
 
4365
  char *s;
 
4366
  va_list v;
 
4367
  va_start (v,p);
 
4368
  s = g (p, va_arg (v,int));
 
4369
  va_end (v);
 
4370
  return s;
 
4371
}
 
4372
 
 
4373
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
4374
   function prototypes and stuff, but not '\xHH' hex character constants.
 
4375
   These don't provoke an error unfortunately, instead are silently treated
 
4376
   as 'x'.  The following induces an error, until -std is added to get
 
4377
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
4378
   array size at least.  It's necessary to write '\x00'==0 to get something
 
4379
   that's true only with -std.  */
 
4380
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
4381
 
 
4382
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
4383
   inside strings and character constants.  */
 
4384
#define FOO(x) 'x'
 
4385
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
4386
 
 
4387
int test (int i, double x);
 
4388
struct s1 {int (*f) (int a);};
 
4389
struct s2 {int (*f) (double a);};
 
4390
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
4391
int argc;
 
4392
char **argv;
 
4393
int
 
4394
main ()
 
4395
{
 
4396
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
4397
  ;
 
4398
  return 0;
 
4399
}
 
4400
_ACEOF
 
4401
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
4402
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
4403
do
 
4404
  CC="$ac_save_CC $ac_arg"
 
4405
  rm -f conftest.$ac_objext
 
4406
if { (ac_try="$ac_compile"
 
4407
case "(($ac_try" in
 
4408
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4409
  *) ac_try_echo=$ac_try;;
 
4410
esac
 
4411
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4412
$as_echo "$ac_try_echo") >&5
 
4413
  (eval "$ac_compile") 2>conftest.er1
 
4414
  ac_status=$?
 
4415
  grep -v '^ *+' conftest.er1 >conftest.err
 
4416
  rm -f conftest.er1
 
4417
  cat conftest.err >&5
 
4418
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4419
  (exit $ac_status); } && {
 
4420
         test -z "$ac_c_werror_flag" ||
 
4421
         test ! -s conftest.err
 
4422
       } && test -s conftest.$ac_objext; then
 
4423
  ac_cv_prog_cc_c89=$ac_arg
 
4424
else
 
4425
  $as_echo "$as_me: failed program was:" >&5
 
4426
sed 's/^/| /' conftest.$ac_ext >&5
 
4427
 
 
4428
 
 
4429
fi
 
4430
 
 
4431
rm -f core conftest.err conftest.$ac_objext
 
4432
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
4433
done
 
4434
rm -f conftest.$ac_ext
 
4435
CC=$ac_save_CC
 
4436
 
 
4437
fi
 
4438
# AC_CACHE_VAL
 
4439
case "x$ac_cv_prog_cc_c89" in
 
4440
  x)
 
4441
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
4442
$as_echo "none needed" >&6; } ;;
 
4443
  xno)
 
4444
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
4445
$as_echo "unsupported" >&6; } ;;
 
4446
  *)
 
4447
    CC="$CC $ac_cv_prog_cc_c89"
 
4448
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
4449
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
4450
esac
 
4451
 
 
4452
 
 
4453
ac_ext=c
 
4454
ac_cpp='$CPP $CPPFLAGS'
 
4455
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4456
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4457
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4458
 
 
4459
depcc="$CC"   am_compiler_list=
 
4460
 
 
4461
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4462
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4463
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
4464
  $as_echo_n "(cached) " >&6
 
4465
else
 
4466
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
4467
  # We make a subdir and do the tests there.  Otherwise we can end up
 
4468
  # making bogus files that we don't know about and never remove.  For
 
4469
  # instance it was reported that on HP-UX the gcc test will end up
 
4470
  # making a dummy file named `D' -- because `-MD' means `put the output
 
4471
  # in D'.
 
4472
  mkdir conftest.dir
 
4473
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
4474
  # using a relative directory.
 
4475
  cp "$am_depcomp" conftest.dir
 
4476
  cd conftest.dir
 
4477
  # We will build objects and dependencies in a subdirectory because
 
4478
  # it helps to detect inapplicable dependency modes.  For instance
 
4479
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
4480
  # side effect of compilation, but ICC will put the dependencies in
 
4481
  # the current directory while Tru64 will put them in the object
 
4482
  # directory.
 
4483
  mkdir sub
 
4484
 
 
4485
  am_cv_CC_dependencies_compiler_type=none
 
4486
  if test "$am_compiler_list" = ""; then
 
4487
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
4488
  fi
 
4489
  for depmode in $am_compiler_list; do
 
4490
    # Setup a source with many dependencies, because some compilers
 
4491
    # like to wrap large dependency lists on column 80 (with \), and
 
4492
    # we should not choose a depcomp mode which is confused by this.
 
4493
    #
 
4494
    # We need to recreate these files for each test, as the compiler may
 
4495
    # overwrite some of them when testing with obscure command lines.
 
4496
    # This happens at least with the AIX C compiler.
 
4497
    : > sub/conftest.c
 
4498
    for i in 1 2 3 4 5 6; do
 
4499
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
4500
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
4501
      # Solaris 8's {/usr,}/bin/sh.
 
4502
      touch sub/conftst$i.h
 
4503
    done
 
4504
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
4505
 
 
4506
    case $depmode in
 
4507
    nosideeffect)
 
4508
      # after this tag, mechanisms are not by side-effect, so they'll
 
4509
      # only be used when explicitly requested
 
4510
      if test "x$enable_dependency_tracking" = xyes; then
 
4511
        continue
 
4512
      else
 
4513
        break
 
4514
      fi
 
4515
      ;;
 
4516
    none) break ;;
 
4517
    esac
 
4518
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4519
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4520
    # handle `-M -o', and we need to detect this.
 
4521
    if depmode=$depmode \
 
4522
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4523
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
4524
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4525
         >/dev/null 2>conftest.err &&
 
4526
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
4527
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
4528
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4529
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
4530
      # icc doesn't choke on unknown options, it will just issue warnings
 
4531
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4532
      # that says an option was ignored or not supported.
 
4533
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4534
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4535
      # The diagnosis changed in icc 8.0:
 
4536
      #   icc: Command line remark: option '-MP' not supported
 
4537
      if (grep 'ignoring option' conftest.err ||
 
4538
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
4539
        am_cv_CC_dependencies_compiler_type=$depmode
 
4540
        break
 
4541
      fi
 
4542
    fi
 
4543
  done
 
4544
 
 
4545
  cd ..
 
4546
  rm -rf conftest.dir
 
4547
else
 
4548
  am_cv_CC_dependencies_compiler_type=none
 
4549
fi
 
4550
 
 
4551
fi
 
4552
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4553
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
4554
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
4555
 
 
4556
 if
 
4557
  test "x$enable_dependency_tracking" != xno \
 
4558
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
4559
  am__fastdepCC_TRUE=
 
4560
  am__fastdepCC_FALSE='#'
 
4561
else
 
4562
  am__fastdepCC_TRUE='#'
 
4563
  am__fastdepCC_FALSE=
 
4564
fi
 
4565
 
 
4566
 
 
4567
case `pwd` in
 
4568
  *\ * | *\     *)
 
4569
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
4570
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
4571
esac
 
4572
 
 
4573
 
 
4574
 
 
4575
macro_version='2.2.6'
 
4576
macro_revision='1.3012'
 
4577
 
 
4578
 
 
4579
 
 
4580
 
 
4581
 
 
4582
 
 
4583
 
 
4584
 
 
4585
 
 
4586
 
 
4587
 
 
4588
 
 
4589
 
 
4590
ltmain="$ac_aux_dir/ltmain.sh"
 
4591
 
 
4592
# Make sure we can run config.sub.
 
4593
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
4594
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
4595
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
4596
   { (exit 1); exit 1; }; }
 
4597
 
 
4598
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
4599
$as_echo_n "checking build system type... " >&6; }
 
4600
if test "${ac_cv_build+set}" = set; then
 
4601
  $as_echo_n "(cached) " >&6
 
4602
else
 
4603
  ac_build_alias=$build_alias
 
4604
test "x$ac_build_alias" = x &&
 
4605
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
4606
test "x$ac_build_alias" = x &&
 
4607
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
4608
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
4609
   { (exit 1); exit 1; }; }
 
4610
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
4611
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
4612
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
4613
   { (exit 1); exit 1; }; }
 
4614
 
 
4615
fi
 
4616
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4617
$as_echo "$ac_cv_build" >&6; }
 
4618
case $ac_cv_build in
 
4619
*-*-*) ;;
 
4620
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
4621
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
 
4622
   { (exit 1); exit 1; }; };;
 
4623
esac
 
4624
build=$ac_cv_build
 
4625
ac_save_IFS=$IFS; IFS='-'
 
4626
set x $ac_cv_build
 
4627
shift
 
4628
build_cpu=$1
 
4629
build_vendor=$2
 
4630
shift; shift
 
4631
# Remember, the first character of IFS is used to create $*,
 
4632
# except with old shells:
 
4633
build_os=$*
 
4634
IFS=$ac_save_IFS
 
4635
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
4636
 
 
4637
 
 
4638
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
4639
$as_echo_n "checking host system type... " >&6; }
 
4640
if test "${ac_cv_host+set}" = set; then
 
4641
  $as_echo_n "(cached) " >&6
 
4642
else
 
4643
  if test "x$host_alias" = x; then
 
4644
  ac_cv_host=$ac_cv_build
 
4645
else
 
4646
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
4647
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
4648
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
4649
   { (exit 1); exit 1; }; }
 
4650
fi
 
4651
 
 
4652
fi
 
4653
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4654
$as_echo "$ac_cv_host" >&6; }
 
4655
case $ac_cv_host in
 
4656
*-*-*) ;;
 
4657
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
4658
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
 
4659
   { (exit 1); exit 1; }; };;
 
4660
esac
 
4661
host=$ac_cv_host
 
4662
ac_save_IFS=$IFS; IFS='-'
 
4663
set x $ac_cv_host
 
4664
shift
 
4665
host_cpu=$1
 
4666
host_vendor=$2
 
4667
shift; shift
 
4668
# Remember, the first character of IFS is used to create $*,
 
4669
# except with old shells:
 
4670
host_os=$*
 
4671
IFS=$ac_save_IFS
 
4672
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
4673
 
 
4674
 
 
4675
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4676
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4677
if test "${ac_cv_path_SED+set}" = set; then
 
4678
  $as_echo_n "(cached) " >&6
 
4679
else
 
4680
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4681
     for ac_i in 1 2 3 4 5 6 7; do
 
4682
       ac_script="$ac_script$as_nl$ac_script"
 
4683
     done
 
4684
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4685
     $as_unset ac_script || ac_script=
 
4686
     if test -z "$SED"; then
 
4687
  ac_path_SED_found=false
 
4688
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4689
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4690
for as_dir in $PATH
 
4691
do
 
4692
  IFS=$as_save_IFS
 
4693
  test -z "$as_dir" && as_dir=.
 
4694
  for ac_prog in sed gsed; do
 
4695
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4696
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4697
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4698
# Check for GNU ac_path_SED and select it if it is found.
 
4699
  # Check for GNU $ac_path_SED
 
4700
case `"$ac_path_SED" --version 2>&1` in
 
4701
*GNU*)
 
4702
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4703
*)
 
4704
  ac_count=0
 
4705
  $as_echo_n 0123456789 >"conftest.in"
 
4706
  while :
 
4707
  do
 
4708
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4709
    mv "conftest.tmp" "conftest.in"
 
4710
    cp "conftest.in" "conftest.nl"
 
4711
    $as_echo '' >> "conftest.nl"
 
4712
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4713
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4714
    ac_count=`expr $ac_count + 1`
 
4715
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4716
      # Best one so far, save it but keep looking for a better one
 
4717
      ac_cv_path_SED="$ac_path_SED"
 
4718
      ac_path_SED_max=$ac_count
 
4719
    fi
 
4720
    # 10*(2^10) chars as input seems more than enough
 
4721
    test $ac_count -gt 10 && break
 
4722
  done
 
4723
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4724
esac
 
4725
 
 
4726
      $ac_path_SED_found && break 3
 
4727
    done
 
4728
  done
 
4729
done
 
4730
IFS=$as_save_IFS
 
4731
  if test -z "$ac_cv_path_SED"; then
 
4732
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
 
4733
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
 
4734
   { (exit 1); exit 1; }; }
 
4735
  fi
 
4736
else
 
4737
  ac_cv_path_SED=$SED
 
4738
fi
 
4739
 
 
4740
fi
 
4741
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
4742
$as_echo "$ac_cv_path_SED" >&6; }
 
4743
 SED="$ac_cv_path_SED"
 
4744
  rm -f conftest.sed
 
4745
 
 
4746
test -z "$SED" && SED=sed
 
4747
Xsed="$SED -e 1s/^X//"
 
4748
 
 
4749
 
 
4750
 
 
4751
 
 
4752
 
 
4753
 
 
4754
 
 
4755
 
 
4756
 
 
4757
 
 
4758
 
 
4759
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4760
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4761
if test "${ac_cv_path_GREP+set}" = set; then
 
4762
  $as_echo_n "(cached) " >&6
 
4763
else
 
4764
  if test -z "$GREP"; then
 
4765
  ac_path_GREP_found=false
 
4766
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4767
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4768
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4769
do
 
4770
  IFS=$as_save_IFS
 
4771
  test -z "$as_dir" && as_dir=.
 
4772
  for ac_prog in grep ggrep; do
 
4773
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4774
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4775
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4776
# Check for GNU ac_path_GREP and select it if it is found.
 
4777
  # Check for GNU $ac_path_GREP
 
4778
case `"$ac_path_GREP" --version 2>&1` in
 
4779
*GNU*)
 
4780
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4781
*)
 
4782
  ac_count=0
 
4783
  $as_echo_n 0123456789 >"conftest.in"
 
4784
  while :
 
4785
  do
 
4786
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4787
    mv "conftest.tmp" "conftest.in"
 
4788
    cp "conftest.in" "conftest.nl"
 
4789
    $as_echo 'GREP' >> "conftest.nl"
 
4790
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4791
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4792
    ac_count=`expr $ac_count + 1`
 
4793
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4794
      # Best one so far, save it but keep looking for a better one
 
4795
      ac_cv_path_GREP="$ac_path_GREP"
 
4796
      ac_path_GREP_max=$ac_count
 
4797
    fi
 
4798
    # 10*(2^10) chars as input seems more than enough
 
4799
    test $ac_count -gt 10 && break
 
4800
  done
 
4801
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4802
esac
 
4803
 
 
4804
      $ac_path_GREP_found && break 3
 
4805
    done
 
4806
  done
 
4807
done
 
4808
IFS=$as_save_IFS
 
4809
  if test -z "$ac_cv_path_GREP"; then
 
4810
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4811
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4812
   { (exit 1); exit 1; }; }
 
4813
  fi
 
4814
else
 
4815
  ac_cv_path_GREP=$GREP
 
4816
fi
 
4817
 
 
4818
fi
 
4819
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4820
$as_echo "$ac_cv_path_GREP" >&6; }
 
4821
 GREP="$ac_cv_path_GREP"
 
4822
 
 
4823
 
 
4824
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4825
$as_echo_n "checking for egrep... " >&6; }
 
4826
if test "${ac_cv_path_EGREP+set}" = set; then
 
4827
  $as_echo_n "(cached) " >&6
 
4828
else
 
4829
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4830
   then ac_cv_path_EGREP="$GREP -E"
 
4831
   else
 
4832
     if test -z "$EGREP"; then
 
4833
  ac_path_EGREP_found=false
 
4834
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4835
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4836
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4837
do
 
4838
  IFS=$as_save_IFS
 
4839
  test -z "$as_dir" && as_dir=.
 
4840
  for ac_prog in egrep; do
 
4841
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4842
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4843
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4844
# Check for GNU ac_path_EGREP and select it if it is found.
 
4845
  # Check for GNU $ac_path_EGREP
 
4846
case `"$ac_path_EGREP" --version 2>&1` in
 
4847
*GNU*)
 
4848
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4849
*)
 
4850
  ac_count=0
 
4851
  $as_echo_n 0123456789 >"conftest.in"
 
4852
  while :
 
4853
  do
 
4854
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4855
    mv "conftest.tmp" "conftest.in"
 
4856
    cp "conftest.in" "conftest.nl"
 
4857
    $as_echo 'EGREP' >> "conftest.nl"
 
4858
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4859
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4860
    ac_count=`expr $ac_count + 1`
 
4861
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4862
      # Best one so far, save it but keep looking for a better one
 
4863
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4864
      ac_path_EGREP_max=$ac_count
 
4865
    fi
 
4866
    # 10*(2^10) chars as input seems more than enough
 
4867
    test $ac_count -gt 10 && break
 
4868
  done
 
4869
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4870
esac
 
4871
 
 
4872
      $ac_path_EGREP_found && break 3
 
4873
    done
 
4874
  done
 
4875
done
 
4876
IFS=$as_save_IFS
 
4877
  if test -z "$ac_cv_path_EGREP"; then
 
4878
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4879
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4880
   { (exit 1); exit 1; }; }
 
4881
  fi
 
4882
else
 
4883
  ac_cv_path_EGREP=$EGREP
 
4884
fi
 
4885
 
 
4886
   fi
 
4887
fi
 
4888
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4889
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4890
 EGREP="$ac_cv_path_EGREP"
 
4891
 
 
4892
 
 
4893
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
4894
$as_echo_n "checking for fgrep... " >&6; }
 
4895
if test "${ac_cv_path_FGREP+set}" = set; then
 
4896
  $as_echo_n "(cached) " >&6
 
4897
else
 
4898
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
4899
   then ac_cv_path_FGREP="$GREP -F"
 
4900
   else
 
4901
     if test -z "$FGREP"; then
 
4902
  ac_path_FGREP_found=false
 
4903
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4904
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4905
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4906
do
 
4907
  IFS=$as_save_IFS
 
4908
  test -z "$as_dir" && as_dir=.
 
4909
  for ac_prog in fgrep; do
 
4910
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4911
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4912
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
4913
# Check for GNU ac_path_FGREP and select it if it is found.
 
4914
  # Check for GNU $ac_path_FGREP
 
4915
case `"$ac_path_FGREP" --version 2>&1` in
 
4916
*GNU*)
 
4917
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
4918
*)
 
4919
  ac_count=0
 
4920
  $as_echo_n 0123456789 >"conftest.in"
 
4921
  while :
 
4922
  do
 
4923
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4924
    mv "conftest.tmp" "conftest.in"
 
4925
    cp "conftest.in" "conftest.nl"
 
4926
    $as_echo 'FGREP' >> "conftest.nl"
 
4927
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4928
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4929
    ac_count=`expr $ac_count + 1`
 
4930
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
4931
      # Best one so far, save it but keep looking for a better one
 
4932
      ac_cv_path_FGREP="$ac_path_FGREP"
 
4933
      ac_path_FGREP_max=$ac_count
 
4934
    fi
 
4935
    # 10*(2^10) chars as input seems more than enough
 
4936
    test $ac_count -gt 10 && break
 
4937
  done
 
4938
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4939
esac
 
4940
 
 
4941
      $ac_path_FGREP_found && break 3
 
4942
    done
 
4943
  done
 
4944
done
 
4945
IFS=$as_save_IFS
 
4946
  if test -z "$ac_cv_path_FGREP"; then
 
4947
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4948
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4949
   { (exit 1); exit 1; }; }
 
4950
  fi
 
4951
else
 
4952
  ac_cv_path_FGREP=$FGREP
 
4953
fi
 
4954
 
 
4955
   fi
 
4956
fi
 
4957
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
4958
$as_echo "$ac_cv_path_FGREP" >&6; }
 
4959
 FGREP="$ac_cv_path_FGREP"
 
4960
 
 
4961
 
 
4962
test -z "$GREP" && GREP=grep
 
4963
 
 
4964
 
 
4965
 
 
4966
 
 
4967
 
 
4968
 
 
4969
 
 
4970
 
 
4971
 
 
4972
 
 
4973
 
 
4974
 
 
4975
 
 
4976
 
 
4977
 
 
4978
 
 
4979
 
 
4980
 
 
4981
 
 
4982
# Check whether --with-gnu-ld was given.
 
4983
if test "${with_gnu_ld+set}" = set; then
 
4984
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
4985
else
 
4986
  with_gnu_ld=no
 
4987
fi
 
4988
 
 
4989
ac_prog=ld
 
4990
if test "$GCC" = yes; then
 
4991
  # Check if gcc -print-prog-name=ld gives a path.
 
4992
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4993
$as_echo_n "checking for ld used by $CC... " >&6; }
 
4994
  case $host in
 
4995
  *-*-mingw*)
 
4996
    # gcc leaves a trailing carriage return which upsets mingw
 
4997
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
4998
  *)
 
4999
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
5000
  esac
 
5001
  case $ac_prog in
 
5002
    # Accept absolute paths.
 
5003
    [\\/]* | ?:[\\/]*)
 
5004
      re_direlt='/[^/][^/]*/\.\./'
 
5005
      # Canonicalize the pathname of ld
 
5006
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
5007
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
5008
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
5009
      done
 
5010
      test -z "$LD" && LD="$ac_prog"
 
5011
      ;;
 
5012
  "")
 
5013
    # If it fails, then pretend we aren't using GCC.
 
5014
    ac_prog=ld
 
5015
    ;;
 
5016
  *)
 
5017
    # If it is relative, then search for the first ld in PATH.
 
5018
    with_gnu_ld=unknown
 
5019
    ;;
 
5020
  esac
 
5021
elif test "$with_gnu_ld" = yes; then
 
5022
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
5023
$as_echo_n "checking for GNU ld... " >&6; }
 
5024
else
 
5025
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
5026
$as_echo_n "checking for non-GNU ld... " >&6; }
 
5027
fi
 
5028
if test "${lt_cv_path_LD+set}" = set; then
 
5029
  $as_echo_n "(cached) " >&6
 
5030
else
 
5031
  if test -z "$LD"; then
 
5032
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
5033
  for ac_dir in $PATH; do
 
5034
    IFS="$lt_save_ifs"
 
5035
    test -z "$ac_dir" && ac_dir=.
 
5036
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
5037
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
5038
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
5039
      # but apparently some variants of GNU ld only accept -v.
 
5040
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
5041
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
5042
      *GNU* | *'with BFD'*)
 
5043
        test "$with_gnu_ld" != no && break
 
5044
        ;;
 
5045
      *)
 
5046
        test "$with_gnu_ld" != yes && break
 
5047
        ;;
 
5048
      esac
 
5049
    fi
 
5050
  done
 
5051
  IFS="$lt_save_ifs"
 
5052
else
 
5053
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
5054
fi
 
5055
fi
 
5056
 
 
5057
LD="$lt_cv_path_LD"
 
5058
if test -n "$LD"; then
 
5059
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
5060
$as_echo "$LD" >&6; }
 
5061
else
 
5062
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5063
$as_echo "no" >&6; }
 
5064
fi
 
5065
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
5066
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
5067
   { (exit 1); exit 1; }; }
 
5068
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
5069
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
5070
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
5071
  $as_echo_n "(cached) " >&6
 
5072
else
 
5073
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
5074
case `$LD -v 2>&1 </dev/null` in
 
5075
*GNU* | *'with BFD'*)
 
5076
  lt_cv_prog_gnu_ld=yes
 
5077
  ;;
 
5078
*)
 
5079
  lt_cv_prog_gnu_ld=no
 
5080
  ;;
 
5081
esac
 
5082
fi
 
5083
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
5084
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
5085
with_gnu_ld=$lt_cv_prog_gnu_ld
 
5086
 
 
5087
 
 
5088
 
 
5089
 
 
5090
 
 
5091
 
 
5092
 
 
5093
 
 
5094
 
 
5095
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5096
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
5097
if test "${lt_cv_path_NM+set}" = set; then
 
5098
  $as_echo_n "(cached) " >&6
 
5099
else
 
5100
  if test -n "$NM"; then
 
5101
  # Let the user override the test.
 
5102
  lt_cv_path_NM="$NM"
 
5103
else
 
5104
  lt_nm_to_check="${ac_tool_prefix}nm"
 
5105
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
5106
    lt_nm_to_check="$lt_nm_to_check nm"
 
5107
  fi
 
5108
  for lt_tmp_nm in $lt_nm_to_check; do
 
5109
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
5110
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
5111
      IFS="$lt_save_ifs"
 
5112
      test -z "$ac_dir" && ac_dir=.
 
5113
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
5114
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
5115
        # Check to see if the nm accepts a BSD-compat flag.
 
5116
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
5117
        #   nm: unknown option "B" ignored
 
5118
        # Tru64's nm complains that /dev/null is an invalid object file
 
5119
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
5120
        */dev/null* | *'Invalid file or object type'*)
 
5121
          lt_cv_path_NM="$tmp_nm -B"
 
5122
          break
 
5123
          ;;
 
5124
        *)
 
5125
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
5126
          */dev/null*)
 
5127
            lt_cv_path_NM="$tmp_nm -p"
 
5128
            break
 
5129
            ;;
 
5130
          *)
 
5131
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
5132
            continue # so that we can try to find one that supports BSD flags
 
5133
            ;;
 
5134
          esac
 
5135
          ;;
 
5136
        esac
 
5137
      fi
 
5138
    done
 
5139
    IFS="$lt_save_ifs"
 
5140
  done
 
5141
  : ${lt_cv_path_NM=no}
 
5142
fi
 
5143
fi
 
5144
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
5145
$as_echo "$lt_cv_path_NM" >&6; }
 
5146
if test "$lt_cv_path_NM" != "no"; then
 
5147
  NM="$lt_cv_path_NM"
 
5148
else
 
5149
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
5150
  if test -n "$ac_tool_prefix"; then
 
5151
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5152
  do
 
5153
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5154
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5155
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5156
$as_echo_n "checking for $ac_word... " >&6; }
 
5157
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
5158
  $as_echo_n "(cached) " >&6
 
5159
else
 
5160
  if test -n "$DUMPBIN"; then
 
5161
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
5162
else
 
5163
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5164
for as_dir in $PATH
 
5165
do
 
5166
  IFS=$as_save_IFS
 
5167
  test -z "$as_dir" && as_dir=.
 
5168
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5169
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5170
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
5171
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5172
    break 2
 
5173
  fi
 
5174
done
 
5175
done
 
5176
IFS=$as_save_IFS
 
5177
 
 
5178
fi
 
5179
fi
 
5180
DUMPBIN=$ac_cv_prog_DUMPBIN
 
5181
if test -n "$DUMPBIN"; then
 
5182
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
5183
$as_echo "$DUMPBIN" >&6; }
 
5184
else
 
5185
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5186
$as_echo "no" >&6; }
 
5187
fi
 
5188
 
 
5189
 
 
5190
    test -n "$DUMPBIN" && break
 
5191
  done
 
5192
fi
 
5193
if test -z "$DUMPBIN"; then
 
5194
  ac_ct_DUMPBIN=$DUMPBIN
 
5195
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5196
do
 
5197
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5198
set dummy $ac_prog; ac_word=$2
 
5199
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5200
$as_echo_n "checking for $ac_word... " >&6; }
 
5201
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
5202
  $as_echo_n "(cached) " >&6
 
5203
else
 
5204
  if test -n "$ac_ct_DUMPBIN"; then
 
5205
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
5206
else
 
5207
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5208
for as_dir in $PATH
 
5209
do
 
5210
  IFS=$as_save_IFS
 
5211
  test -z "$as_dir" && as_dir=.
 
5212
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5213
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5214
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
5215
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5216
    break 2
 
5217
  fi
 
5218
done
 
5219
done
 
5220
IFS=$as_save_IFS
 
5221
 
 
5222
fi
 
5223
fi
 
5224
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
5225
if test -n "$ac_ct_DUMPBIN"; then
 
5226
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
5227
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
5228
else
 
5229
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5230
$as_echo "no" >&6; }
 
5231
fi
 
5232
 
 
5233
 
 
5234
  test -n "$ac_ct_DUMPBIN" && break
 
5235
done
 
5236
 
 
5237
  if test "x$ac_ct_DUMPBIN" = x; then
 
5238
    DUMPBIN=":"
 
5239
  else
 
5240
    case $cross_compiling:$ac_tool_warned in
 
5241
yes:)
 
5242
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5243
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5244
ac_tool_warned=yes ;;
 
5245
esac
 
5246
    DUMPBIN=$ac_ct_DUMPBIN
 
5247
  fi
 
5248
fi
 
5249
 
 
5250
 
 
5251
  if test "$DUMPBIN" != ":"; then
 
5252
    NM="$DUMPBIN"
 
5253
  fi
 
5254
fi
 
5255
test -z "$NM" && NM=nm
 
5256
 
 
5257
 
 
5258
 
 
5259
 
 
5260
 
 
5261
 
 
5262
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
5263
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
5264
if test "${lt_cv_nm_interface+set}" = set; then
 
5265
  $as_echo_n "(cached) " >&6
 
5266
else
 
5267
  lt_cv_nm_interface="BSD nm"
 
5268
  echo "int some_variable = 0;" > conftest.$ac_ext
 
5269
  (eval echo "\"\$as_me:5269: $ac_compile\"" >&5)
 
5270
  (eval "$ac_compile" 2>conftest.err)
 
5271
  cat conftest.err >&5
 
5272
  (eval echo "\"\$as_me:5272: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5273
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
5274
  cat conftest.err >&5
 
5275
  (eval echo "\"\$as_me:5275: output\"" >&5)
 
5276
  cat conftest.out >&5
 
5277
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
5278
    lt_cv_nm_interface="MS dumpbin"
 
5279
  fi
 
5280
  rm -f conftest*
 
5281
fi
 
5282
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
5283
$as_echo "$lt_cv_nm_interface" >&6; }
 
5284
 
 
5285
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
5286
$as_echo_n "checking whether ln -s works... " >&6; }
 
5287
LN_S=$as_ln_s
 
5288
if test "$LN_S" = "ln -s"; then
 
5289
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5290
$as_echo "yes" >&6; }
 
5291
else
 
5292
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
5293
$as_echo "no, using $LN_S" >&6; }
 
5294
fi
 
5295
 
 
5296
# find the maximum length of command line arguments
 
5297
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
5298
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
5299
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
5300
  $as_echo_n "(cached) " >&6
 
5301
else
 
5302
    i=0
 
5303
  teststring="ABCD"
 
5304
 
 
5305
  case $build_os in
 
5306
  msdosdjgpp*)
 
5307
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
5308
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
5309
    # during glob expansion).  Even if it were fixed, the result of this
 
5310
    # check would be larger than it should be.
 
5311
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
5312
    ;;
 
5313
 
 
5314
  gnu*)
 
5315
    # Under GNU Hurd, this test is not required because there is
 
5316
    # no limit to the length of command line arguments.
 
5317
    # Libtool will interpret -1 as no limit whatsoever
 
5318
    lt_cv_sys_max_cmd_len=-1;
 
5319
    ;;
 
5320
 
 
5321
  cygwin* | mingw* | cegcc*)
 
5322
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
5323
    # about 5 minutes as the teststring grows exponentially.
 
5324
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
5325
    # you end up with a "frozen" computer, even though with patience
 
5326
    # the test eventually succeeds (with a max line length of 256k).
 
5327
    # Instead, let's just punt: use the minimum linelength reported by
 
5328
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
5329
    lt_cv_sys_max_cmd_len=8192;
 
5330
    ;;
 
5331
 
 
5332
  amigaos*)
 
5333
    # On AmigaOS with pdksh, this test takes hours, literally.
 
5334
    # So we just punt and use a minimum line length of 8192.
 
5335
    lt_cv_sys_max_cmd_len=8192;
 
5336
    ;;
 
5337
 
 
5338
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
5339
    # This has been around since 386BSD, at least.  Likely further.
 
5340
    if test -x /sbin/sysctl; then
 
5341
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
5342
    elif test -x /usr/sbin/sysctl; then
 
5343
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
5344
    else
 
5345
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
5346
    fi
 
5347
    # And add a safety zone
 
5348
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5349
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5350
    ;;
 
5351
 
 
5352
  interix*)
 
5353
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
5354
    lt_cv_sys_max_cmd_len=196608
 
5355
    ;;
 
5356
 
 
5357
  osf*)
 
5358
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
5359
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
5360
    # nice to cause kernel panics so lets avoid the loop below.
 
5361
    # First set a reasonable default.
 
5362
    lt_cv_sys_max_cmd_len=16384
 
5363
    #
 
5364
    if test -x /sbin/sysconfig; then
 
5365
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
5366
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
5367
      esac
 
5368
    fi
 
5369
    ;;
 
5370
  sco3.2v5*)
 
5371
    lt_cv_sys_max_cmd_len=102400
 
5372
    ;;
 
5373
  sysv5* | sco5v6* | sysv4.2uw2*)
 
5374
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
5375
    if test -n "$kargmax"; then
 
5376
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
5377
    else
 
5378
      lt_cv_sys_max_cmd_len=32768
 
5379
    fi
 
5380
    ;;
 
5381
  *)
 
5382
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
5383
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
5384
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5385
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5386
    else
 
5387
      # Make teststring a little bigger before we do anything with it.
 
5388
      # a 1K string should be a reasonable start.
 
5389
      for i in 1 2 3 4 5 6 7 8 ; do
 
5390
        teststring=$teststring$teststring
 
5391
      done
 
5392
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
5393
      # If test is not a shell built-in, we'll probably end up computing a
 
5394
      # maximum length that is only half of the actual maximum length, but
 
5395
      # we can't tell.
 
5396
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
5397
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
5398
              test $i != 17 # 1/2 MB should be enough
 
5399
      do
 
5400
        i=`expr $i + 1`
 
5401
        teststring=$teststring$teststring
 
5402
      done
 
5403
      # Only check the string length outside the loop.
 
5404
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
5405
      teststring=
 
5406
      # Add a significant safety factor because C++ compilers can tack on
 
5407
      # massive amounts of additional arguments before passing them to the
 
5408
      # linker.  It appears as though 1/2 is a usable value.
 
5409
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
5410
    fi
 
5411
    ;;
 
5412
  esac
 
5413
 
 
5414
fi
 
5415
 
 
5416
if test -n $lt_cv_sys_max_cmd_len ; then
 
5417
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
5418
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
5419
else
 
5420
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
5421
$as_echo "none" >&6; }
 
5422
fi
 
5423
max_cmd_len=$lt_cv_sys_max_cmd_len
 
5424
 
 
5425
 
 
5426
 
 
5427
 
 
5428
 
 
5429
 
 
5430
: ${CP="cp -f"}
 
5431
: ${MV="mv -f"}
 
5432
: ${RM="rm -f"}
 
5433
 
 
5434
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
5435
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
5436
# Try some XSI features
 
5437
xsi_shell=no
 
5438
( _lt_dummy="a/b/c"
 
5439
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
5440
      = c,a/b,, \
 
5441
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
5442
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
5443
  && xsi_shell=yes
 
5444
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
5445
$as_echo "$xsi_shell" >&6; }
 
5446
 
 
5447
 
 
5448
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
5449
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
5450
lt_shell_append=no
 
5451
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
5452
    >/dev/null 2>&1 \
 
5453
  && lt_shell_append=yes
 
5454
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
5455
$as_echo "$lt_shell_append" >&6; }
 
5456
 
 
5457
 
 
5458
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
5459
  lt_unset=unset
 
5460
else
 
5461
  lt_unset=false
 
5462
fi
 
5463
 
 
5464
 
 
5465
 
 
5466
 
 
5467
 
 
5468
# test EBCDIC or ASCII
 
5469
case `echo X|tr X '\101'` in
 
5470
 A) # ASCII based system
 
5471
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
5472
  lt_SP2NL='tr \040 \012'
 
5473
  lt_NL2SP='tr \015\012 \040\040'
 
5474
  ;;
 
5475
 *) # EBCDIC based system
 
5476
  lt_SP2NL='tr \100 \n'
 
5477
  lt_NL2SP='tr \r\n \100\100'
 
5478
  ;;
 
5479
esac
 
5480
 
 
5481
 
 
5482
 
 
5483
 
 
5484
 
 
5485
 
 
5486
 
 
5487
 
 
5488
 
 
5489
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
5490
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
5491
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
5492
  $as_echo_n "(cached) " >&6
 
5493
else
 
5494
  lt_cv_ld_reload_flag='-r'
 
5495
fi
 
5496
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
5497
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
5498
reload_flag=$lt_cv_ld_reload_flag
 
5499
case $reload_flag in
 
5500
"" | " "*) ;;
 
5501
*) reload_flag=" $reload_flag" ;;
 
5502
esac
 
5503
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5504
case $host_os in
 
5505
  darwin*)
 
5506
    if test "$GCC" = yes; then
 
5507
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
5508
    else
 
5509
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5510
    fi
 
5511
    ;;
 
5512
esac
 
5513
 
 
5514
 
 
5515
 
 
5516
 
 
5517
 
 
5518
 
 
5519
 
 
5520
 
 
5521
 
 
5522
if test -n "$ac_tool_prefix"; then
 
5523
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
5524
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
5525
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5526
$as_echo_n "checking for $ac_word... " >&6; }
 
5527
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
5528
  $as_echo_n "(cached) " >&6
 
5529
else
 
5530
  if test -n "$OBJDUMP"; then
 
5531
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
5532
else
 
5533
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5534
for as_dir in $PATH
 
5535
do
 
5536
  IFS=$as_save_IFS
 
5537
  test -z "$as_dir" && as_dir=.
 
5538
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5539
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5540
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
5541
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5542
    break 2
 
5543
  fi
 
5544
done
 
5545
done
 
5546
IFS=$as_save_IFS
 
5547
 
 
5548
fi
 
5549
fi
 
5550
OBJDUMP=$ac_cv_prog_OBJDUMP
 
5551
if test -n "$OBJDUMP"; then
 
5552
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
5553
$as_echo "$OBJDUMP" >&6; }
 
5554
else
 
5555
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5556
$as_echo "no" >&6; }
 
5557
fi
 
5558
 
 
5559
 
 
5560
fi
 
5561
if test -z "$ac_cv_prog_OBJDUMP"; then
 
5562
  ac_ct_OBJDUMP=$OBJDUMP
 
5563
  # Extract the first word of "objdump", so it can be a program name with args.
 
5564
set dummy objdump; ac_word=$2
 
5565
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5566
$as_echo_n "checking for $ac_word... " >&6; }
 
5567
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
5568
  $as_echo_n "(cached) " >&6
 
5569
else
 
5570
  if test -n "$ac_ct_OBJDUMP"; then
 
5571
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
5572
else
 
5573
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5574
for as_dir in $PATH
 
5575
do
 
5576
  IFS=$as_save_IFS
 
5577
  test -z "$as_dir" && as_dir=.
 
5578
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5579
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5580
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
5581
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5582
    break 2
 
5583
  fi
 
5584
done
 
5585
done
 
5586
IFS=$as_save_IFS
 
5587
 
 
5588
fi
 
5589
fi
 
5590
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
5591
if test -n "$ac_ct_OBJDUMP"; then
 
5592
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
5593
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
5594
else
 
5595
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5596
$as_echo "no" >&6; }
 
5597
fi
 
5598
 
 
5599
  if test "x$ac_ct_OBJDUMP" = x; then
 
5600
    OBJDUMP="false"
 
5601
  else
 
5602
    case $cross_compiling:$ac_tool_warned in
 
5603
yes:)
 
5604
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5605
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5606
ac_tool_warned=yes ;;
 
5607
esac
 
5608
    OBJDUMP=$ac_ct_OBJDUMP
 
5609
  fi
 
5610
else
 
5611
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
5612
fi
 
5613
 
 
5614
test -z "$OBJDUMP" && OBJDUMP=objdump
 
5615
 
 
5616
 
 
5617
 
 
5618
 
 
5619
 
 
5620
 
 
5621
 
 
5622
 
 
5623
 
 
5624
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
5625
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
5626
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
5627
  $as_echo_n "(cached) " >&6
 
5628
else
 
5629
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
5630
lt_cv_file_magic_test_file=
 
5631
lt_cv_deplibs_check_method='unknown'
 
5632
# Need to set the preceding variable on all platforms that support
 
5633
# interlibrary dependencies.
 
5634
# 'none' -- dependencies not supported.
 
5635
# `unknown' -- same as none, but documents that we really don't know.
 
5636
# 'pass_all' -- all dependencies passed with no checks.
 
5637
# 'test_compile' -- check by making test program.
 
5638
# 'file_magic [[regex]]' -- check by looking for files in library path
 
5639
# which responds to the $file_magic_cmd with a given extended regex.
 
5640
# If you have `file' or equivalent on your system and you're not sure
 
5641
# whether `pass_all' will *always* work, you probably want this one.
 
5642
 
 
5643
case $host_os in
 
5644
aix[4-9]*)
 
5645
  lt_cv_deplibs_check_method=pass_all
 
5646
  ;;
 
5647
 
 
5648
beos*)
 
5649
  lt_cv_deplibs_check_method=pass_all
 
5650
  ;;
 
5651
 
 
5652
bsdi[45]*)
 
5653
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
5654
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
5655
  lt_cv_file_magic_test_file=/shlib/libc.so
 
5656
  ;;
 
5657
 
 
5658
cygwin*)
 
5659
  # func_win32_libid is a shell function defined in ltmain.sh
 
5660
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5661
  lt_cv_file_magic_cmd='func_win32_libid'
 
5662
  ;;
 
5663
 
 
5664
mingw* | pw32*)
 
5665
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
5666
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
5667
  # unless we find 'file', for example because we are cross-compiling.
 
5668
  if ( file / ) >/dev/null 2>&1; then
 
5669
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5670
    lt_cv_file_magic_cmd='func_win32_libid'
 
5671
  else
 
5672
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5673
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5674
  fi
 
5675
  ;;
 
5676
 
 
5677
cegcc)
 
5678
  # use the weaker test based on 'objdump'. See mingw*.
 
5679
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
5680
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5681
  ;;
 
5682
 
 
5683
darwin* | rhapsody*)
 
5684
  lt_cv_deplibs_check_method=pass_all
 
5685
  ;;
 
5686
 
 
5687
freebsd* | dragonfly*)
 
5688
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
5689
    case $host_cpu in
 
5690
    i*86 )
 
5691
      # Not sure whether the presence of OpenBSD here was a mistake.
 
5692
      # Let's accept both of them until this is cleared up.
 
5693
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
5694
      lt_cv_file_magic_cmd=/usr/bin/file
 
5695
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
5696
      ;;
 
5697
    esac
 
5698
  else
 
5699
    lt_cv_deplibs_check_method=pass_all
 
5700
  fi
 
5701
  ;;
 
5702
 
 
5703
gnu*)
 
5704
  lt_cv_deplibs_check_method=pass_all
 
5705
  ;;
 
5706
 
 
5707
hpux10.20* | hpux11*)
 
5708
  lt_cv_file_magic_cmd=/usr/bin/file
 
5709
  case $host_cpu in
 
5710
  ia64*)
 
5711
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
5712
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
5713
    ;;
 
5714
  hppa*64*)
 
5715
    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]'
 
5716
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
5717
    ;;
 
5718
  *)
 
5719
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5720
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
5721
    ;;
 
5722
  esac
 
5723
  ;;
 
5724
 
 
5725
interix[3-9]*)
 
5726
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
5727
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
5728
  ;;
 
5729
 
 
5730
irix5* | irix6* | nonstopux*)
 
5731
  case $LD in
 
5732
  *-32|*"-32 ") libmagic=32-bit;;
 
5733
  *-n32|*"-n32 ") libmagic=N32;;
 
5734
  *-64|*"-64 ") libmagic=64-bit;;
 
5735
  *) libmagic=never-match;;
 
5736
  esac
 
5737
  lt_cv_deplibs_check_method=pass_all
 
5738
  ;;
 
5739
 
 
5740
# This must be Linux ELF.
 
5741
linux* | k*bsd*-gnu)
 
5742
  lt_cv_deplibs_check_method=pass_all
 
5743
  ;;
 
5744
 
 
5745
netbsd* | netbsdelf*-gnu)
 
5746
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
5747
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
5748
  else
 
5749
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
5750
  fi
 
5751
  ;;
 
5752
 
 
5753
newos6*)
 
5754
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
5755
  lt_cv_file_magic_cmd=/usr/bin/file
 
5756
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
5757
  ;;
 
5758
 
 
5759
*nto* | *qnx*)
 
5760
  lt_cv_deplibs_check_method=pass_all
 
5761
  ;;
 
5762
 
 
5763
openbsd*)
 
5764
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
5765
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
5766
  else
 
5767
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
5768
  fi
 
5769
  ;;
 
5770
 
 
5771
osf3* | osf4* | osf5*)
 
5772
  lt_cv_deplibs_check_method=pass_all
 
5773
  ;;
 
5774
 
 
5775
rdos*)
 
5776
  lt_cv_deplibs_check_method=pass_all
 
5777
  ;;
 
5778
 
 
5779
solaris*)
 
5780
  lt_cv_deplibs_check_method=pass_all
 
5781
  ;;
 
5782
 
 
5783
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5784
  lt_cv_deplibs_check_method=pass_all
 
5785
  ;;
 
5786
 
 
5787
sysv4 | sysv4.3*)
 
5788
  case $host_vendor in
 
5789
  motorola)
 
5790
    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]'
 
5791
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
5792
    ;;
 
5793
  ncr)
 
5794
    lt_cv_deplibs_check_method=pass_all
 
5795
    ;;
 
5796
  sequent)
 
5797
    lt_cv_file_magic_cmd='/bin/file'
 
5798
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
5799
    ;;
 
5800
  sni)
 
5801
    lt_cv_file_magic_cmd='/bin/file'
 
5802
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
5803
    lt_cv_file_magic_test_file=/lib/libc.so
 
5804
    ;;
 
5805
  siemens)
 
5806
    lt_cv_deplibs_check_method=pass_all
 
5807
    ;;
 
5808
  pc)
 
5809
    lt_cv_deplibs_check_method=pass_all
 
5810
    ;;
 
5811
  esac
 
5812
  ;;
 
5813
 
 
5814
tpf*)
 
5815
  lt_cv_deplibs_check_method=pass_all
 
5816
  ;;
 
5817
esac
 
5818
 
 
5819
fi
 
5820
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
5821
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5822
file_magic_cmd=$lt_cv_file_magic_cmd
 
5823
deplibs_check_method=$lt_cv_deplibs_check_method
 
5824
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
5825
 
 
5826
 
 
5827
 
 
5828
 
 
5829
 
 
5830
 
 
5831
 
 
5832
 
 
5833
 
 
5834
 
 
5835
 
 
5836
 
 
5837
if test -n "$ac_tool_prefix"; then
 
5838
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
5839
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
5840
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5841
$as_echo_n "checking for $ac_word... " >&6; }
 
5842
if test "${ac_cv_prog_AR+set}" = set; then
 
5843
  $as_echo_n "(cached) " >&6
 
5844
else
 
5845
  if test -n "$AR"; then
 
5846
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
5847
else
 
5848
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5849
for as_dir in $PATH
 
5850
do
 
5851
  IFS=$as_save_IFS
 
5852
  test -z "$as_dir" && as_dir=.
 
5853
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5854
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5855
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5856
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5857
    break 2
 
5858
  fi
 
5859
done
 
5860
done
 
5861
IFS=$as_save_IFS
 
5862
 
 
5863
fi
 
5864
fi
 
5865
AR=$ac_cv_prog_AR
 
5866
if test -n "$AR"; then
 
5867
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
5868
$as_echo "$AR" >&6; }
 
5869
else
 
5870
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5871
$as_echo "no" >&6; }
 
5872
fi
 
5873
 
 
5874
 
 
5875
fi
 
5876
if test -z "$ac_cv_prog_AR"; then
 
5877
  ac_ct_AR=$AR
 
5878
  # Extract the first word of "ar", so it can be a program name with args.
 
5879
set dummy ar; ac_word=$2
 
5880
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5881
$as_echo_n "checking for $ac_word... " >&6; }
 
5882
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
5883
  $as_echo_n "(cached) " >&6
 
5884
else
 
5885
  if test -n "$ac_ct_AR"; then
 
5886
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
5887
else
 
5888
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5889
for as_dir in $PATH
 
5890
do
 
5891
  IFS=$as_save_IFS
 
5892
  test -z "$as_dir" && as_dir=.
 
5893
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5894
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5895
    ac_cv_prog_ac_ct_AR="ar"
 
5896
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5897
    break 2
 
5898
  fi
 
5899
done
 
5900
done
 
5901
IFS=$as_save_IFS
 
5902
 
 
5903
fi
 
5904
fi
 
5905
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
5906
if test -n "$ac_ct_AR"; then
 
5907
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
5908
$as_echo "$ac_ct_AR" >&6; }
 
5909
else
 
5910
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5911
$as_echo "no" >&6; }
 
5912
fi
 
5913
 
 
5914
  if test "x$ac_ct_AR" = x; then
 
5915
    AR="false"
 
5916
  else
 
5917
    case $cross_compiling:$ac_tool_warned in
 
5918
yes:)
 
5919
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5920
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5921
ac_tool_warned=yes ;;
 
5922
esac
 
5923
    AR=$ac_ct_AR
 
5924
  fi
 
5925
else
 
5926
  AR="$ac_cv_prog_AR"
 
5927
fi
 
5928
 
 
5929
test -z "$AR" && AR=ar
 
5930
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
5931
 
 
5932
 
 
5933
 
 
5934
 
 
5935
 
 
5936
 
 
5937
 
 
5938
 
 
5939
 
 
5940
 
 
5941
 
 
5942
if test -n "$ac_tool_prefix"; then
 
5943
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
5944
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
5945
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5946
$as_echo_n "checking for $ac_word... " >&6; }
 
5947
if test "${ac_cv_prog_STRIP+set}" = set; then
 
5948
  $as_echo_n "(cached) " >&6
 
5949
else
 
5950
  if test -n "$STRIP"; then
 
5951
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
5952
else
 
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
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
5961
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5962
    break 2
 
5963
  fi
 
5964
done
 
5965
done
 
5966
IFS=$as_save_IFS
 
5967
 
 
5968
fi
 
5969
fi
 
5970
STRIP=$ac_cv_prog_STRIP
 
5971
if test -n "$STRIP"; then
 
5972
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
5973
$as_echo "$STRIP" >&6; }
 
5974
else
 
5975
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5976
$as_echo "no" >&6; }
 
5977
fi
 
5978
 
 
5979
 
 
5980
fi
 
5981
if test -z "$ac_cv_prog_STRIP"; then
 
5982
  ac_ct_STRIP=$STRIP
 
5983
  # Extract the first word of "strip", so it can be a program name with args.
 
5984
set dummy strip; ac_word=$2
 
5985
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5986
$as_echo_n "checking for $ac_word... " >&6; }
 
5987
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
5988
  $as_echo_n "(cached) " >&6
 
5989
else
 
5990
  if test -n "$ac_ct_STRIP"; then
 
5991
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
5992
else
 
5993
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5994
for as_dir in $PATH
 
5995
do
 
5996
  IFS=$as_save_IFS
 
5997
  test -z "$as_dir" && as_dir=.
 
5998
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5999
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6000
    ac_cv_prog_ac_ct_STRIP="strip"
 
6001
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6002
    break 2
 
6003
  fi
 
6004
done
 
6005
done
 
6006
IFS=$as_save_IFS
 
6007
 
 
6008
fi
 
6009
fi
 
6010
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
6011
if test -n "$ac_ct_STRIP"; then
 
6012
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6013
$as_echo "$ac_ct_STRIP" >&6; }
 
6014
else
 
6015
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6016
$as_echo "no" >&6; }
 
6017
fi
 
6018
 
 
6019
  if test "x$ac_ct_STRIP" = x; then
 
6020
    STRIP=":"
 
6021
  else
 
6022
    case $cross_compiling:$ac_tool_warned in
 
6023
yes:)
 
6024
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6025
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6026
ac_tool_warned=yes ;;
 
6027
esac
 
6028
    STRIP=$ac_ct_STRIP
 
6029
  fi
 
6030
else
 
6031
  STRIP="$ac_cv_prog_STRIP"
 
6032
fi
 
6033
 
 
6034
test -z "$STRIP" && STRIP=:
 
6035
 
 
6036
 
 
6037
 
 
6038
 
 
6039
 
 
6040
 
 
6041
if test -n "$ac_tool_prefix"; then
 
6042
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
6043
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
6044
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6045
$as_echo_n "checking for $ac_word... " >&6; }
 
6046
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
6047
  $as_echo_n "(cached) " >&6
 
6048
else
 
6049
  if test -n "$RANLIB"; then
 
6050
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
6051
else
 
6052
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6053
for as_dir in $PATH
 
6054
do
 
6055
  IFS=$as_save_IFS
 
6056
  test -z "$as_dir" && as_dir=.
 
6057
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6058
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6059
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
6060
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6061
    break 2
 
6062
  fi
 
6063
done
 
6064
done
 
6065
IFS=$as_save_IFS
 
6066
 
 
6067
fi
 
6068
fi
 
6069
RANLIB=$ac_cv_prog_RANLIB
 
6070
if test -n "$RANLIB"; then
 
6071
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6072
$as_echo "$RANLIB" >&6; }
 
6073
else
 
6074
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6075
$as_echo "no" >&6; }
 
6076
fi
 
6077
 
 
6078
 
 
6079
fi
 
6080
if test -z "$ac_cv_prog_RANLIB"; then
 
6081
  ac_ct_RANLIB=$RANLIB
 
6082
  # Extract the first word of "ranlib", so it can be a program name with args.
 
6083
set dummy ranlib; ac_word=$2
 
6084
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6085
$as_echo_n "checking for $ac_word... " >&6; }
 
6086
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
6087
  $as_echo_n "(cached) " >&6
 
6088
else
 
6089
  if test -n "$ac_ct_RANLIB"; then
 
6090
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
6091
else
 
6092
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6093
for as_dir in $PATH
 
6094
do
 
6095
  IFS=$as_save_IFS
 
6096
  test -z "$as_dir" && as_dir=.
 
6097
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6098
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6099
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
6100
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6101
    break 2
 
6102
  fi
 
6103
done
 
6104
done
 
6105
IFS=$as_save_IFS
 
6106
 
 
6107
fi
 
6108
fi
 
6109
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
6110
if test -n "$ac_ct_RANLIB"; then
 
6111
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6112
$as_echo "$ac_ct_RANLIB" >&6; }
 
6113
else
 
6114
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6115
$as_echo "no" >&6; }
 
6116
fi
 
6117
 
 
6118
  if test "x$ac_ct_RANLIB" = x; then
 
6119
    RANLIB=":"
 
6120
  else
 
6121
    case $cross_compiling:$ac_tool_warned in
 
6122
yes:)
 
6123
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6124
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6125
ac_tool_warned=yes ;;
 
6126
esac
 
6127
    RANLIB=$ac_ct_RANLIB
 
6128
  fi
 
6129
else
 
6130
  RANLIB="$ac_cv_prog_RANLIB"
 
6131
fi
 
6132
 
 
6133
test -z "$RANLIB" && RANLIB=:
 
6134
 
 
6135
 
 
6136
 
 
6137
 
 
6138
 
 
6139
 
 
6140
# Determine commands to create old-style static archives.
 
6141
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
6142
old_postinstall_cmds='chmod 644 $oldlib'
 
6143
old_postuninstall_cmds=
 
6144
 
 
6145
if test -n "$RANLIB"; then
 
6146
  case $host_os in
 
6147
  openbsd*)
 
6148
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
6149
    ;;
 
6150
  *)
 
6151
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
6152
    ;;
 
6153
  esac
 
6154
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
6155
fi
 
6156
 
 
6157
 
 
6158
 
 
6159
 
 
6160
 
 
6161
 
 
6162
 
 
6163
 
 
6164
 
 
6165
 
 
6166
 
 
6167
 
 
6168
 
 
6169
 
 
6170
 
 
6171
 
 
6172
 
 
6173
 
 
6174
 
 
6175
 
 
6176
 
 
6177
 
 
6178
 
 
6179
 
 
6180
 
 
6181
 
 
6182
 
 
6183
 
 
6184
 
 
6185
 
 
6186
 
 
6187
 
 
6188
 
 
6189
 
 
6190
# If no C compiler was specified, use CC.
 
6191
LTCC=${LTCC-"$CC"}
 
6192
 
 
6193
# If no C compiler flags were specified, use CFLAGS.
 
6194
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
6195
 
 
6196
# Allow CC to be a program name with arguments.
 
6197
compiler=$CC
 
6198
 
 
6199
 
 
6200
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
6201
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6202
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
6203
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
6204
  $as_echo_n "(cached) " >&6
 
6205
else
 
6206
 
 
6207
# These are sane defaults that work on at least a few old systems.
 
6208
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
6209
 
 
6210
# Character class describing NM global symbol codes.
 
6211
symcode='[BCDEGRST]'
 
6212
 
 
6213
# Regexp to match symbols that can be accessed directly from C.
 
6214
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
6215
 
 
6216
# Define system-specific variables.
 
6217
case $host_os in
 
6218
aix*)
 
6219
  symcode='[BCDT]'
 
6220
  ;;
 
6221
cygwin* | mingw* | pw32* | cegcc*)
 
6222
  symcode='[ABCDGISTW]'
 
6223
  ;;
 
6224
hpux*)
 
6225
  if test "$host_cpu" = ia64; then
 
6226
    symcode='[ABCDEGRST]'
 
6227
  fi
 
6228
  ;;
 
6229
irix* | nonstopux*)
 
6230
  symcode='[BCDEGRST]'
 
6231
  ;;
 
6232
osf*)
 
6233
  symcode='[BCDEGQRST]'
 
6234
  ;;
 
6235
solaris*)
 
6236
  symcode='[BDRT]'
 
6237
  ;;
 
6238
sco3.2v5*)
 
6239
  symcode='[DT]'
 
6240
  ;;
 
6241
sysv4.2uw2*)
 
6242
  symcode='[DT]'
 
6243
  ;;
 
6244
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
6245
  symcode='[ABDT]'
 
6246
  ;;
 
6247
sysv4)
 
6248
  symcode='[DFNSTU]'
 
6249
  ;;
 
6250
esac
 
6251
 
 
6252
# If we're using GNU nm, then use its standard symbol codes.
 
6253
case `$NM -V 2>&1` in
 
6254
*GNU* | *'with BFD'*)
 
6255
  symcode='[ABCDGIRSTW]' ;;
 
6256
esac
 
6257
 
 
6258
# Transform an extracted symbol line into a proper C declaration.
 
6259
# Some systems (esp. on ia64) link data and code symbols differently,
 
6260
# so use this general approach.
 
6261
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
6262
 
 
6263
# Transform an extracted symbol line into symbol name and symbol address
 
6264
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6265
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'"
 
6266
 
 
6267
# Handle CRLF in mingw tool chain
 
6268
opt_cr=
 
6269
case $build_os in
 
6270
mingw*)
 
6271
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
6272
  ;;
 
6273
esac
 
6274
 
 
6275
# Try without a prefix underscore, then with it.
 
6276
for ac_symprfx in "" "_"; do
 
6277
 
 
6278
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
6279
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
6280
 
 
6281
  # Write the raw and C identifiers.
 
6282
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6283
    # Fake it for dumpbin and say T for any non-static function
 
6284
    # and D for any global variable.
 
6285
    # Also find C++ and __fastcall symbols from MSVC++,
 
6286
    # which start with @ or ?.
 
6287
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
6288
"     {last_section=section; section=\$ 3};"\
 
6289
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
6290
"     \$ 0!~/External *\|/{next};"\
 
6291
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
6292
"     {if(hide[section]) next};"\
 
6293
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
6294
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
6295
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
6296
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
6297
"     ' prfx=^$ac_symprfx"
 
6298
  else
 
6299
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
6300
  fi
 
6301
 
 
6302
  # Check to see that the pipe works correctly.
 
6303
  pipe_works=no
 
6304
 
 
6305
  rm -f conftest*
 
6306
  cat > conftest.$ac_ext <<_LT_EOF
 
6307
#ifdef __cplusplus
 
6308
extern "C" {
 
6309
#endif
 
6310
char nm_test_var;
 
6311
void nm_test_func(void);
 
6312
void nm_test_func(void){}
 
6313
#ifdef __cplusplus
 
6314
}
 
6315
#endif
 
6316
int main(){nm_test_var='a';nm_test_func();return(0);}
 
6317
_LT_EOF
 
6318
 
 
6319
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6320
  (eval $ac_compile) 2>&5
 
6321
  ac_status=$?
 
6322
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6323
  (exit $ac_status); }; then
 
6324
    # Now try to grab the symbols.
 
6325
    nlist=conftest.nm
 
6326
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
6327
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
6328
  ac_status=$?
 
6329
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6330
  (exit $ac_status); } && test -s "$nlist"; then
 
6331
      # Try sorting and uniquifying the output.
 
6332
      if sort "$nlist" | uniq > "$nlist"T; then
 
6333
        mv -f "$nlist"T "$nlist"
 
6334
      else
 
6335
        rm -f "$nlist"T
 
6336
      fi
 
6337
 
 
6338
      # Make sure that we snagged all the symbols we need.
 
6339
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
6340
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
6341
          cat <<_LT_EOF > conftest.$ac_ext
 
6342
#ifdef __cplusplus
 
6343
extern "C" {
 
6344
#endif
 
6345
 
 
6346
_LT_EOF
 
6347
          # Now generate the symbol file.
 
6348
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
6349
 
 
6350
          cat <<_LT_EOF >> conftest.$ac_ext
 
6351
 
 
6352
/* The mapping between symbol names and symbols.  */
 
6353
const struct {
 
6354
  const char *name;
 
6355
  void       *address;
 
6356
}
 
6357
lt__PROGRAM__LTX_preloaded_symbols[] =
 
6358
{
 
6359
  { "@PROGRAM@", (void *) 0 },
 
6360
_LT_EOF
 
6361
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
6362
          cat <<\_LT_EOF >> conftest.$ac_ext
 
6363
  {0, (void *) 0}
 
6364
};
 
6365
 
 
6366
/* This works around a problem in FreeBSD linker */
 
6367
#ifdef FREEBSD_WORKAROUND
 
6368
static const void *lt_preloaded_setup() {
 
6369
  return lt__PROGRAM__LTX_preloaded_symbols;
 
6370
}
 
6371
#endif
 
6372
 
 
6373
#ifdef __cplusplus
 
6374
}
 
6375
#endif
 
6376
_LT_EOF
 
6377
          # Now try linking the two files.
 
6378
          mv conftest.$ac_objext conftstm.$ac_objext
 
6379
          lt_save_LIBS="$LIBS"
 
6380
          lt_save_CFLAGS="$CFLAGS"
 
6381
          LIBS="conftstm.$ac_objext"
 
6382
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
6383
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6384
  (eval $ac_link) 2>&5
 
6385
  ac_status=$?
 
6386
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6387
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
6388
            pipe_works=yes
 
6389
          fi
 
6390
          LIBS="$lt_save_LIBS"
 
6391
          CFLAGS="$lt_save_CFLAGS"
 
6392
        else
 
6393
          echo "cannot find nm_test_func in $nlist" >&5
 
6394
        fi
 
6395
      else
 
6396
        echo "cannot find nm_test_var in $nlist" >&5
 
6397
      fi
 
6398
    else
 
6399
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
6400
    fi
 
6401
  else
 
6402
    echo "$progname: failed program was:" >&5
 
6403
    cat conftest.$ac_ext >&5
 
6404
  fi
 
6405
  rm -rf conftest* conftst*
 
6406
 
 
6407
  # Do not use the global_symbol_pipe unless it works.
 
6408
  if test "$pipe_works" = yes; then
 
6409
    break
 
6410
  else
 
6411
    lt_cv_sys_global_symbol_pipe=
 
6412
  fi
 
6413
done
 
6414
 
 
6415
fi
 
6416
 
 
6417
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
6418
  lt_cv_sys_global_symbol_to_cdecl=
 
6419
fi
 
6420
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
6421
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
6422
$as_echo "failed" >&6; }
 
6423
else
 
6424
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
6425
$as_echo "ok" >&6; }
 
6426
fi
 
6427
 
 
6428
 
 
6429
 
 
6430
 
 
6431
 
 
6432
 
 
6433
 
 
6434
 
 
6435
 
 
6436
 
 
6437
 
 
6438
 
 
6439
 
 
6440
 
 
6441
 
 
6442
 
 
6443
 
 
6444
 
 
6445
 
 
6446
 
 
6447
 
 
6448
 
 
6449
# Check whether --enable-libtool-lock was given.
 
6450
if test "${enable_libtool_lock+set}" = set; then
 
6451
  enableval=$enable_libtool_lock;
 
6452
fi
 
6453
 
 
6454
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
6455
 
 
6456
# Some flags need to be propagated to the compiler or linker for good
 
6457
# libtool support.
 
6458
case $host in
 
6459
ia64-*-hpux*)
 
6460
  # Find out which ABI we are using.
 
6461
  echo 'int i;' > conftest.$ac_ext
 
6462
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6463
  (eval $ac_compile) 2>&5
 
6464
  ac_status=$?
 
6465
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6466
  (exit $ac_status); }; then
 
6467
    case `/usr/bin/file conftest.$ac_objext` in
 
6468
      *ELF-32*)
 
6469
        HPUX_IA64_MODE="32"
 
6470
        ;;
 
6471
      *ELF-64*)
 
6472
        HPUX_IA64_MODE="64"
 
6473
        ;;
 
6474
    esac
 
6475
  fi
 
6476
  rm -rf conftest*
 
6477
  ;;
 
6478
*-*-irix6*)
 
6479
  # Find out which ABI we are using.
 
6480
  echo '#line 6480 "configure"' > conftest.$ac_ext
 
6481
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6482
  (eval $ac_compile) 2>&5
 
6483
  ac_status=$?
 
6484
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6485
  (exit $ac_status); }; then
 
6486
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
6487
      case `/usr/bin/file conftest.$ac_objext` in
 
6488
        *32-bit*)
 
6489
          LD="${LD-ld} -melf32bsmip"
 
6490
          ;;
 
6491
        *N32*)
 
6492
          LD="${LD-ld} -melf32bmipn32"
 
6493
          ;;
 
6494
        *64-bit*)
 
6495
          LD="${LD-ld} -melf64bmip"
 
6496
        ;;
 
6497
      esac
 
6498
    else
 
6499
      case `/usr/bin/file conftest.$ac_objext` in
 
6500
        *32-bit*)
 
6501
          LD="${LD-ld} -32"
 
6502
          ;;
 
6503
        *N32*)
 
6504
          LD="${LD-ld} -n32"
 
6505
          ;;
 
6506
        *64-bit*)
 
6507
          LD="${LD-ld} -64"
 
6508
          ;;
 
6509
      esac
 
6510
    fi
 
6511
  fi
 
6512
  rm -rf conftest*
 
6513
  ;;
 
6514
 
 
6515
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
6516
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
6517
  # Find out which ABI we are using.
 
6518
  echo 'int i;' > conftest.$ac_ext
 
6519
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6520
  (eval $ac_compile) 2>&5
 
6521
  ac_status=$?
 
6522
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6523
  (exit $ac_status); }; then
 
6524
    case `/usr/bin/file conftest.o` in
 
6525
      *32-bit*)
 
6526
        case $host in
 
6527
          x86_64-*kfreebsd*-gnu)
 
6528
            LD="${LD-ld} -m elf_i386_fbsd"
 
6529
            ;;
 
6530
          x86_64-*linux*)
 
6531
            LD="${LD-ld} -m elf_i386"
 
6532
            ;;
 
6533
          ppc64-*linux*|powerpc64-*linux*)
 
6534
            LD="${LD-ld} -m elf32ppclinux"
 
6535
            ;;
 
6536
          s390x-*linux*)
 
6537
            LD="${LD-ld} -m elf_s390"
 
6538
            ;;
 
6539
          sparc64-*linux*)
 
6540
            LD="${LD-ld} -m elf32_sparc"
 
6541
            ;;
 
6542
        esac
 
6543
        ;;
 
6544
      *64-bit*)
 
6545
        case $host in
 
6546
          x86_64-*kfreebsd*-gnu)
 
6547
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
6548
            ;;
 
6549
          x86_64-*linux*)
 
6550
            LD="${LD-ld} -m elf_x86_64"
 
6551
            ;;
 
6552
          ppc*-*linux*|powerpc*-*linux*)
 
6553
            LD="${LD-ld} -m elf64ppc"
 
6554
            ;;
 
6555
          s390*-*linux*|s390*-*tpf*)
 
6556
            LD="${LD-ld} -m elf64_s390"
 
6557
            ;;
 
6558
          sparc*-*linux*)
 
6559
            LD="${LD-ld} -m elf64_sparc"
 
6560
            ;;
 
6561
        esac
 
6562
        ;;
 
6563
    esac
 
6564
  fi
 
6565
  rm -rf conftest*
 
6566
  ;;
 
6567
 
 
6568
*-*-sco3.2v5*)
 
6569
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
6570
  SAVE_CFLAGS="$CFLAGS"
 
6571
  CFLAGS="$CFLAGS -belf"
 
6572
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
6573
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
6574
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
6575
  $as_echo_n "(cached) " >&6
 
6576
else
 
6577
  ac_ext=c
 
6578
ac_cpp='$CPP $CPPFLAGS'
 
6579
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6580
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6581
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6582
 
 
6583
     cat >conftest.$ac_ext <<_ACEOF
 
6584
/* confdefs.h.  */
 
6585
_ACEOF
 
6586
cat confdefs.h >>conftest.$ac_ext
 
6587
cat >>conftest.$ac_ext <<_ACEOF
 
6588
/* end confdefs.h.  */
 
6589
 
 
6590
int
 
6591
main ()
 
6592
{
 
6593
 
 
6594
  ;
 
6595
  return 0;
 
6596
}
 
6597
_ACEOF
 
6598
rm -f conftest.$ac_objext conftest$ac_exeext
 
6599
if { (ac_try="$ac_link"
 
6600
case "(($ac_try" in
 
6601
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6602
  *) ac_try_echo=$ac_try;;
 
6603
esac
 
6604
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6605
$as_echo "$ac_try_echo") >&5
 
6606
  (eval "$ac_link") 2>conftest.er1
 
6607
  ac_status=$?
 
6608
  grep -v '^ *+' conftest.er1 >conftest.err
 
6609
  rm -f conftest.er1
 
6610
  cat conftest.err >&5
 
6611
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6612
  (exit $ac_status); } && {
 
6613
         test -z "$ac_c_werror_flag" ||
 
6614
         test ! -s conftest.err
 
6615
       } && test -s conftest$ac_exeext && {
 
6616
         test "$cross_compiling" = yes ||
 
6617
         $as_test_x conftest$ac_exeext
 
6618
       }; then
 
6619
  lt_cv_cc_needs_belf=yes
 
6620
else
 
6621
  $as_echo "$as_me: failed program was:" >&5
 
6622
sed 's/^/| /' conftest.$ac_ext >&5
 
6623
 
 
6624
        lt_cv_cc_needs_belf=no
 
6625
fi
 
6626
 
 
6627
rm -rf conftest.dSYM
 
6628
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6629
      conftest$ac_exeext conftest.$ac_ext
 
6630
     ac_ext=c
 
6631
ac_cpp='$CPP $CPPFLAGS'
 
6632
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6633
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6634
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6635
 
 
6636
fi
 
6637
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
6638
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
6639
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
6640
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
6641
    CFLAGS="$SAVE_CFLAGS"
 
6642
  fi
 
6643
  ;;
 
6644
sparc*-*solaris*)
 
6645
  # Find out which ABI we are using.
 
6646
  echo 'int i;' > conftest.$ac_ext
 
6647
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6648
  (eval $ac_compile) 2>&5
 
6649
  ac_status=$?
 
6650
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6651
  (exit $ac_status); }; then
 
6652
    case `/usr/bin/file conftest.o` in
 
6653
    *64-bit*)
 
6654
      case $lt_cv_prog_gnu_ld in
 
6655
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6656
      *)
 
6657
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6658
          LD="${LD-ld} -64"
 
6659
        fi
 
6660
        ;;
 
6661
      esac
 
6662
      ;;
 
6663
    esac
 
6664
  fi
 
6665
  rm -rf conftest*
 
6666
  ;;
 
6667
esac
 
6668
 
 
6669
need_locks="$enable_libtool_lock"
 
6670
 
 
6671
 
 
6672
  case $host_os in
 
6673
    rhapsody* | darwin*)
 
6674
    if test -n "$ac_tool_prefix"; then
 
6675
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
6676
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
6677
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6678
$as_echo_n "checking for $ac_word... " >&6; }
 
6679
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
6680
  $as_echo_n "(cached) " >&6
 
6681
else
 
6682
  if test -n "$DSYMUTIL"; then
 
6683
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
6684
else
 
6685
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6686
for as_dir in $PATH
 
6687
do
 
6688
  IFS=$as_save_IFS
 
6689
  test -z "$as_dir" && as_dir=.
 
6690
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6691
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6692
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
6693
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6694
    break 2
 
6695
  fi
 
6696
done
 
6697
done
 
6698
IFS=$as_save_IFS
 
6699
 
 
6700
fi
 
6701
fi
 
6702
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
6703
if test -n "$DSYMUTIL"; then
 
6704
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
6705
$as_echo "$DSYMUTIL" >&6; }
 
6706
else
 
6707
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6708
$as_echo "no" >&6; }
 
6709
fi
 
6710
 
 
6711
 
 
6712
fi
 
6713
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
6714
  ac_ct_DSYMUTIL=$DSYMUTIL
 
6715
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
6716
set dummy dsymutil; ac_word=$2
 
6717
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6718
$as_echo_n "checking for $ac_word... " >&6; }
 
6719
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
6720
  $as_echo_n "(cached) " >&6
 
6721
else
 
6722
  if test -n "$ac_ct_DSYMUTIL"; then
 
6723
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
6724
else
 
6725
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6726
for as_dir in $PATH
 
6727
do
 
6728
  IFS=$as_save_IFS
 
6729
  test -z "$as_dir" && as_dir=.
 
6730
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6731
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6732
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
6733
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6734
    break 2
 
6735
  fi
 
6736
done
 
6737
done
 
6738
IFS=$as_save_IFS
 
6739
 
 
6740
fi
 
6741
fi
 
6742
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
6743
if test -n "$ac_ct_DSYMUTIL"; then
 
6744
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
6745
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
6746
else
 
6747
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6748
$as_echo "no" >&6; }
 
6749
fi
 
6750
 
 
6751
  if test "x$ac_ct_DSYMUTIL" = x; then
 
6752
    DSYMUTIL=":"
 
6753
  else
 
6754
    case $cross_compiling:$ac_tool_warned in
 
6755
yes:)
 
6756
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6757
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6758
ac_tool_warned=yes ;;
 
6759
esac
 
6760
    DSYMUTIL=$ac_ct_DSYMUTIL
 
6761
  fi
 
6762
else
 
6763
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
6764
fi
 
6765
 
 
6766
    if test -n "$ac_tool_prefix"; then
 
6767
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
6768
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
6769
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6770
$as_echo_n "checking for $ac_word... " >&6; }
 
6771
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
6772
  $as_echo_n "(cached) " >&6
 
6773
else
 
6774
  if test -n "$NMEDIT"; then
 
6775
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
6776
else
 
6777
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6778
for as_dir in $PATH
 
6779
do
 
6780
  IFS=$as_save_IFS
 
6781
  test -z "$as_dir" && as_dir=.
 
6782
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6783
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6784
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
6785
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6786
    break 2
 
6787
  fi
 
6788
done
 
6789
done
 
6790
IFS=$as_save_IFS
 
6791
 
 
6792
fi
 
6793
fi
 
6794
NMEDIT=$ac_cv_prog_NMEDIT
 
6795
if test -n "$NMEDIT"; then
 
6796
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
6797
$as_echo "$NMEDIT" >&6; }
 
6798
else
 
6799
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6800
$as_echo "no" >&6; }
 
6801
fi
 
6802
 
 
6803
 
 
6804
fi
 
6805
if test -z "$ac_cv_prog_NMEDIT"; then
 
6806
  ac_ct_NMEDIT=$NMEDIT
 
6807
  # Extract the first word of "nmedit", so it can be a program name with args.
 
6808
set dummy nmedit; ac_word=$2
 
6809
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6810
$as_echo_n "checking for $ac_word... " >&6; }
 
6811
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
6812
  $as_echo_n "(cached) " >&6
 
6813
else
 
6814
  if test -n "$ac_ct_NMEDIT"; then
 
6815
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
6816
else
 
6817
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6818
for as_dir in $PATH
 
6819
do
 
6820
  IFS=$as_save_IFS
 
6821
  test -z "$as_dir" && as_dir=.
 
6822
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6823
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6824
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
6825
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6826
    break 2
 
6827
  fi
 
6828
done
 
6829
done
 
6830
IFS=$as_save_IFS
 
6831
 
 
6832
fi
 
6833
fi
 
6834
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
6835
if test -n "$ac_ct_NMEDIT"; then
 
6836
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
6837
$as_echo "$ac_ct_NMEDIT" >&6; }
 
6838
else
 
6839
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6840
$as_echo "no" >&6; }
 
6841
fi
 
6842
 
 
6843
  if test "x$ac_ct_NMEDIT" = x; then
 
6844
    NMEDIT=":"
 
6845
  else
 
6846
    case $cross_compiling:$ac_tool_warned in
 
6847
yes:)
 
6848
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6849
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6850
ac_tool_warned=yes ;;
 
6851
esac
 
6852
    NMEDIT=$ac_ct_NMEDIT
 
6853
  fi
 
6854
else
 
6855
  NMEDIT="$ac_cv_prog_NMEDIT"
 
6856
fi
 
6857
 
 
6858
    if test -n "$ac_tool_prefix"; then
 
6859
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
6860
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
6861
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6862
$as_echo_n "checking for $ac_word... " >&6; }
 
6863
if test "${ac_cv_prog_LIPO+set}" = set; then
 
6864
  $as_echo_n "(cached) " >&6
 
6865
else
 
6866
  if test -n "$LIPO"; then
 
6867
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
6868
else
 
6869
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6870
for as_dir in $PATH
 
6871
do
 
6872
  IFS=$as_save_IFS
 
6873
  test -z "$as_dir" && as_dir=.
 
6874
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6875
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6876
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
6877
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6878
    break 2
 
6879
  fi
 
6880
done
 
6881
done
 
6882
IFS=$as_save_IFS
 
6883
 
 
6884
fi
 
6885
fi
 
6886
LIPO=$ac_cv_prog_LIPO
 
6887
if test -n "$LIPO"; then
 
6888
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
6889
$as_echo "$LIPO" >&6; }
 
6890
else
 
6891
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6892
$as_echo "no" >&6; }
 
6893
fi
 
6894
 
 
6895
 
 
6896
fi
 
6897
if test -z "$ac_cv_prog_LIPO"; then
 
6898
  ac_ct_LIPO=$LIPO
 
6899
  # Extract the first word of "lipo", so it can be a program name with args.
 
6900
set dummy lipo; ac_word=$2
 
6901
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6902
$as_echo_n "checking for $ac_word... " >&6; }
 
6903
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
6904
  $as_echo_n "(cached) " >&6
 
6905
else
 
6906
  if test -n "$ac_ct_LIPO"; then
 
6907
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
6908
else
 
6909
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6910
for as_dir in $PATH
 
6911
do
 
6912
  IFS=$as_save_IFS
 
6913
  test -z "$as_dir" && as_dir=.
 
6914
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6915
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6916
    ac_cv_prog_ac_ct_LIPO="lipo"
 
6917
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6918
    break 2
 
6919
  fi
 
6920
done
 
6921
done
 
6922
IFS=$as_save_IFS
 
6923
 
 
6924
fi
 
6925
fi
 
6926
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
6927
if test -n "$ac_ct_LIPO"; then
 
6928
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
6929
$as_echo "$ac_ct_LIPO" >&6; }
 
6930
else
 
6931
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6932
$as_echo "no" >&6; }
 
6933
fi
 
6934
 
 
6935
  if test "x$ac_ct_LIPO" = x; then
 
6936
    LIPO=":"
 
6937
  else
 
6938
    case $cross_compiling:$ac_tool_warned in
 
6939
yes:)
 
6940
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6941
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6942
ac_tool_warned=yes ;;
 
6943
esac
 
6944
    LIPO=$ac_ct_LIPO
 
6945
  fi
 
6946
else
 
6947
  LIPO="$ac_cv_prog_LIPO"
 
6948
fi
 
6949
 
 
6950
    if test -n "$ac_tool_prefix"; then
 
6951
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
6952
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
6953
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6954
$as_echo_n "checking for $ac_word... " >&6; }
 
6955
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
6956
  $as_echo_n "(cached) " >&6
 
6957
else
 
6958
  if test -n "$OTOOL"; then
 
6959
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
6960
else
 
6961
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6962
for as_dir in $PATH
 
6963
do
 
6964
  IFS=$as_save_IFS
 
6965
  test -z "$as_dir" && as_dir=.
 
6966
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6967
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6968
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
6969
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6970
    break 2
 
6971
  fi
 
6972
done
 
6973
done
 
6974
IFS=$as_save_IFS
 
6975
 
 
6976
fi
 
6977
fi
 
6978
OTOOL=$ac_cv_prog_OTOOL
 
6979
if test -n "$OTOOL"; then
 
6980
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
6981
$as_echo "$OTOOL" >&6; }
 
6982
else
 
6983
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6984
$as_echo "no" >&6; }
 
6985
fi
 
6986
 
 
6987
 
 
6988
fi
 
6989
if test -z "$ac_cv_prog_OTOOL"; then
 
6990
  ac_ct_OTOOL=$OTOOL
 
6991
  # Extract the first word of "otool", so it can be a program name with args.
 
6992
set dummy otool; ac_word=$2
 
6993
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6994
$as_echo_n "checking for $ac_word... " >&6; }
 
6995
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
6996
  $as_echo_n "(cached) " >&6
 
6997
else
 
6998
  if test -n "$ac_ct_OTOOL"; then
 
6999
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
7000
else
 
7001
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7002
for as_dir in $PATH
 
7003
do
 
7004
  IFS=$as_save_IFS
 
7005
  test -z "$as_dir" && as_dir=.
 
7006
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7007
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7008
    ac_cv_prog_ac_ct_OTOOL="otool"
 
7009
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7010
    break 2
 
7011
  fi
 
7012
done
 
7013
done
 
7014
IFS=$as_save_IFS
 
7015
 
 
7016
fi
 
7017
fi
 
7018
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
7019
if test -n "$ac_ct_OTOOL"; then
 
7020
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
7021
$as_echo "$ac_ct_OTOOL" >&6; }
 
7022
else
 
7023
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7024
$as_echo "no" >&6; }
 
7025
fi
 
7026
 
 
7027
  if test "x$ac_ct_OTOOL" = x; then
 
7028
    OTOOL=":"
 
7029
  else
 
7030
    case $cross_compiling:$ac_tool_warned in
 
7031
yes:)
 
7032
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7033
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7034
ac_tool_warned=yes ;;
 
7035
esac
 
7036
    OTOOL=$ac_ct_OTOOL
 
7037
  fi
 
7038
else
 
7039
  OTOOL="$ac_cv_prog_OTOOL"
 
7040
fi
 
7041
 
 
7042
    if test -n "$ac_tool_prefix"; then
 
7043
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
7044
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
7045
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7046
$as_echo_n "checking for $ac_word... " >&6; }
 
7047
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
7048
  $as_echo_n "(cached) " >&6
 
7049
else
 
7050
  if test -n "$OTOOL64"; then
 
7051
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
7052
else
 
7053
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7054
for as_dir in $PATH
 
7055
do
 
7056
  IFS=$as_save_IFS
 
7057
  test -z "$as_dir" && as_dir=.
 
7058
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7059
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7060
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
7061
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7062
    break 2
 
7063
  fi
 
7064
done
 
7065
done
 
7066
IFS=$as_save_IFS
 
7067
 
 
7068
fi
 
7069
fi
 
7070
OTOOL64=$ac_cv_prog_OTOOL64
 
7071
if test -n "$OTOOL64"; then
 
7072
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
7073
$as_echo "$OTOOL64" >&6; }
 
7074
else
 
7075
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7076
$as_echo "no" >&6; }
 
7077
fi
 
7078
 
 
7079
 
 
7080
fi
 
7081
if test -z "$ac_cv_prog_OTOOL64"; then
 
7082
  ac_ct_OTOOL64=$OTOOL64
 
7083
  # Extract the first word of "otool64", so it can be a program name with args.
 
7084
set dummy otool64; ac_word=$2
 
7085
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7086
$as_echo_n "checking for $ac_word... " >&6; }
 
7087
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
7088
  $as_echo_n "(cached) " >&6
 
7089
else
 
7090
  if test -n "$ac_ct_OTOOL64"; then
 
7091
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
7092
else
 
7093
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7094
for as_dir in $PATH
 
7095
do
 
7096
  IFS=$as_save_IFS
 
7097
  test -z "$as_dir" && as_dir=.
 
7098
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7099
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7100
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
7101
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7102
    break 2
 
7103
  fi
 
7104
done
 
7105
done
 
7106
IFS=$as_save_IFS
 
7107
 
 
7108
fi
 
7109
fi
 
7110
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
7111
if test -n "$ac_ct_OTOOL64"; then
 
7112
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
7113
$as_echo "$ac_ct_OTOOL64" >&6; }
 
7114
else
 
7115
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7116
$as_echo "no" >&6; }
 
7117
fi
 
7118
 
 
7119
  if test "x$ac_ct_OTOOL64" = x; then
 
7120
    OTOOL64=":"
 
7121
  else
 
7122
    case $cross_compiling:$ac_tool_warned in
 
7123
yes:)
 
7124
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7125
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7126
ac_tool_warned=yes ;;
 
7127
esac
 
7128
    OTOOL64=$ac_ct_OTOOL64
 
7129
  fi
 
7130
else
 
7131
  OTOOL64="$ac_cv_prog_OTOOL64"
 
7132
fi
 
7133
 
 
7134
 
 
7135
 
 
7136
 
 
7137
 
 
7138
 
 
7139
 
 
7140
 
 
7141
 
 
7142
 
 
7143
 
 
7144
 
 
7145
 
 
7146
 
 
7147
 
 
7148
 
 
7149
 
 
7150
 
 
7151
 
 
7152
 
 
7153
 
 
7154
 
 
7155
 
 
7156
 
 
7157
 
 
7158
 
 
7159
 
 
7160
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7161
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
7162
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
7163
  $as_echo_n "(cached) " >&6
 
7164
else
 
7165
  lt_cv_apple_cc_single_mod=no
 
7166
      if test -z "${LT_MULTI_MODULE}"; then
 
7167
        # By default we will add the -single_module flag. You can override
 
7168
        # by either setting the environment variable LT_MULTI_MODULE
 
7169
        # non-empty at configure time, or by adding -multi_module to the
 
7170
        # link flags.
 
7171
        rm -rf libconftest.dylib*
 
7172
        echo "int foo(void){return 1;}" > conftest.c
 
7173
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7174
-dynamiclib -Wl,-single_module conftest.c" >&5
 
7175
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7176
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
7177
        _lt_result=$?
 
7178
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
7179
          lt_cv_apple_cc_single_mod=yes
 
7180
        else
 
7181
          cat conftest.err >&5
 
7182
        fi
 
7183
        rm -rf libconftest.dylib*
 
7184
        rm -f conftest.*
 
7185
      fi
 
7186
fi
 
7187
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7188
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7189
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7190
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
7191
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
7192
  $as_echo_n "(cached) " >&6
 
7193
else
 
7194
  lt_cv_ld_exported_symbols_list=no
 
7195
      save_LDFLAGS=$LDFLAGS
 
7196
      echo "_main" > conftest.sym
 
7197
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
7198
      cat >conftest.$ac_ext <<_ACEOF
 
7199
/* confdefs.h.  */
 
7200
_ACEOF
 
7201
cat confdefs.h >>conftest.$ac_ext
 
7202
cat >>conftest.$ac_ext <<_ACEOF
 
7203
/* end confdefs.h.  */
 
7204
 
 
7205
int
 
7206
main ()
 
7207
{
 
7208
 
 
7209
  ;
 
7210
  return 0;
 
7211
}
 
7212
_ACEOF
 
7213
rm -f conftest.$ac_objext conftest$ac_exeext
 
7214
if { (ac_try="$ac_link"
 
7215
case "(($ac_try" in
 
7216
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7217
  *) ac_try_echo=$ac_try;;
 
7218
esac
 
7219
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7220
$as_echo "$ac_try_echo") >&5
 
7221
  (eval "$ac_link") 2>conftest.er1
 
7222
  ac_status=$?
 
7223
  grep -v '^ *+' conftest.er1 >conftest.err
 
7224
  rm -f conftest.er1
 
7225
  cat conftest.err >&5
 
7226
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7227
  (exit $ac_status); } && {
 
7228
         test -z "$ac_c_werror_flag" ||
 
7229
         test ! -s conftest.err
 
7230
       } && test -s conftest$ac_exeext && {
 
7231
         test "$cross_compiling" = yes ||
 
7232
         $as_test_x conftest$ac_exeext
 
7233
       }; then
 
7234
  lt_cv_ld_exported_symbols_list=yes
 
7235
else
 
7236
  $as_echo "$as_me: failed program was:" >&5
 
7237
sed 's/^/| /' conftest.$ac_ext >&5
 
7238
 
 
7239
        lt_cv_ld_exported_symbols_list=no
 
7240
fi
 
7241
 
 
7242
rm -rf conftest.dSYM
 
7243
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7244
      conftest$ac_exeext conftest.$ac_ext
 
7245
        LDFLAGS="$save_LDFLAGS"
 
7246
 
 
7247
fi
 
7248
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7249
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7250
    case $host_os in
 
7251
    rhapsody* | darwin1.[012])
 
7252
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
7253
    darwin1.*)
 
7254
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7255
    darwin*) # darwin 5.x on
 
7256
      # if running on 10.5 or later, the deployment target defaults
 
7257
      # to the OS version, if on x86, and 10.4, the deployment
 
7258
      # target defaults to 10.4. Don't you love it?
 
7259
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
7260
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7261
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7262
        10.[012]*)
 
7263
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7264
        10.*)
 
7265
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7266
      esac
 
7267
    ;;
 
7268
  esac
 
7269
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
7270
      _lt_dar_single_mod='$single_module'
 
7271
    fi
 
7272
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
7273
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
7274
    else
 
7275
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
7276
    fi
 
7277
    if test "$DSYMUTIL" != ":"; then
 
7278
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
7279
    else
 
7280
      _lt_dsymutil=
 
7281
    fi
 
7282
    ;;
 
7283
  esac
 
7284
 
 
7285
ac_ext=c
 
7286
ac_cpp='$CPP $CPPFLAGS'
 
7287
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7288
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7289
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7290
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
7291
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
7292
# On Suns, sometimes $CPP names a directory.
 
7293
if test -n "$CPP" && test -d "$CPP"; then
 
7294
  CPP=
 
7295
fi
 
7296
if test -z "$CPP"; then
 
7297
  if test "${ac_cv_prog_CPP+set}" = set; then
 
7298
  $as_echo_n "(cached) " >&6
 
7299
else
 
7300
      # Double quotes because CPP needs to be expanded
 
7301
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
7302
    do
 
7303
      ac_preproc_ok=false
 
7304
for ac_c_preproc_warn_flag in '' yes
 
7305
do
 
7306
  # Use a header file that comes with gcc, so configuring glibc
 
7307
  # with a fresh cross-compiler works.
 
7308
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7309
  # <limits.h> exists even on freestanding compilers.
 
7310
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7311
  # not just through cpp. "Syntax error" is here to catch this case.
 
7312
  cat >conftest.$ac_ext <<_ACEOF
 
7313
/* confdefs.h.  */
 
7314
_ACEOF
 
7315
cat confdefs.h >>conftest.$ac_ext
 
7316
cat >>conftest.$ac_ext <<_ACEOF
 
7317
/* end confdefs.h.  */
 
7318
#ifdef __STDC__
 
7319
# include <limits.h>
 
7320
#else
 
7321
# include <assert.h>
 
7322
#endif
 
7323
                     Syntax error
 
7324
_ACEOF
 
7325
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7326
case "(($ac_try" in
 
7327
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7328
  *) ac_try_echo=$ac_try;;
 
7329
esac
 
7330
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7331
$as_echo "$ac_try_echo") >&5
 
7332
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
7333
  ac_status=$?
 
7334
  grep -v '^ *+' conftest.er1 >conftest.err
 
7335
  rm -f conftest.er1
 
7336
  cat conftest.err >&5
 
7337
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7338
  (exit $ac_status); } >/dev/null && {
 
7339
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
7340
         test ! -s conftest.err
 
7341
       }; then
 
7342
  :
 
7343
else
 
7344
  $as_echo "$as_me: failed program was:" >&5
 
7345
sed 's/^/| /' conftest.$ac_ext >&5
 
7346
 
 
7347
  # Broken: fails on valid input.
 
7348
continue
 
7349
fi
 
7350
 
 
7351
rm -f conftest.err conftest.$ac_ext
 
7352
 
 
7353
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7354
  # can be detected and how.
 
7355
  cat >conftest.$ac_ext <<_ACEOF
 
7356
/* confdefs.h.  */
 
7357
_ACEOF
 
7358
cat confdefs.h >>conftest.$ac_ext
 
7359
cat >>conftest.$ac_ext <<_ACEOF
 
7360
/* end confdefs.h.  */
 
7361
#include <ac_nonexistent.h>
 
7362
_ACEOF
 
7363
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7364
case "(($ac_try" in
 
7365
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7366
  *) ac_try_echo=$ac_try;;
 
7367
esac
 
7368
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7369
$as_echo "$ac_try_echo") >&5
 
7370
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
7371
  ac_status=$?
 
7372
  grep -v '^ *+' conftest.er1 >conftest.err
 
7373
  rm -f conftest.er1
 
7374
  cat conftest.err >&5
 
7375
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7376
  (exit $ac_status); } >/dev/null && {
 
7377
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
7378
         test ! -s conftest.err
 
7379
       }; then
 
7380
  # Broken: success on invalid input.
 
7381
continue
 
7382
else
 
7383
  $as_echo "$as_me: failed program was:" >&5
 
7384
sed 's/^/| /' conftest.$ac_ext >&5
 
7385
 
 
7386
  # Passes both tests.
 
7387
ac_preproc_ok=:
 
7388
break
 
7389
fi
 
7390
 
 
7391
rm -f conftest.err conftest.$ac_ext
 
7392
 
 
7393
done
 
7394
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7395
rm -f conftest.err conftest.$ac_ext
 
7396
if $ac_preproc_ok; then
 
7397
  break
 
7398
fi
 
7399
 
 
7400
    done
 
7401
    ac_cv_prog_CPP=$CPP
 
7402
 
 
7403
fi
 
7404
  CPP=$ac_cv_prog_CPP
 
7405
else
 
7406
  ac_cv_prog_CPP=$CPP
 
7407
fi
 
7408
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
7409
$as_echo "$CPP" >&6; }
 
7410
ac_preproc_ok=false
 
7411
for ac_c_preproc_warn_flag in '' yes
 
7412
do
 
7413
  # Use a header file that comes with gcc, so configuring glibc
 
7414
  # with a fresh cross-compiler works.
 
7415
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7416
  # <limits.h> exists even on freestanding compilers.
 
7417
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7418
  # not just through cpp. "Syntax error" is here to catch this case.
 
7419
  cat >conftest.$ac_ext <<_ACEOF
 
7420
/* confdefs.h.  */
 
7421
_ACEOF
 
7422
cat confdefs.h >>conftest.$ac_ext
 
7423
cat >>conftest.$ac_ext <<_ACEOF
 
7424
/* end confdefs.h.  */
 
7425
#ifdef __STDC__
 
7426
# include <limits.h>
 
7427
#else
 
7428
# include <assert.h>
 
7429
#endif
 
7430
                     Syntax error
 
7431
_ACEOF
 
7432
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7433
case "(($ac_try" in
 
7434
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7435
  *) ac_try_echo=$ac_try;;
 
7436
esac
 
7437
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7438
$as_echo "$ac_try_echo") >&5
 
7439
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
7440
  ac_status=$?
 
7441
  grep -v '^ *+' conftest.er1 >conftest.err
 
7442
  rm -f conftest.er1
 
7443
  cat conftest.err >&5
 
7444
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7445
  (exit $ac_status); } >/dev/null && {
 
7446
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
7447
         test ! -s conftest.err
 
7448
       }; then
 
7449
  :
 
7450
else
 
7451
  $as_echo "$as_me: failed program was:" >&5
 
7452
sed 's/^/| /' conftest.$ac_ext >&5
 
7453
 
 
7454
  # Broken: fails on valid input.
 
7455
continue
 
7456
fi
 
7457
 
 
7458
rm -f conftest.err conftest.$ac_ext
 
7459
 
 
7460
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7461
  # can be detected and how.
 
7462
  cat >conftest.$ac_ext <<_ACEOF
 
7463
/* confdefs.h.  */
 
7464
_ACEOF
 
7465
cat confdefs.h >>conftest.$ac_ext
 
7466
cat >>conftest.$ac_ext <<_ACEOF
 
7467
/* end confdefs.h.  */
 
7468
#include <ac_nonexistent.h>
 
7469
_ACEOF
 
7470
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7471
case "(($ac_try" in
 
7472
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7473
  *) ac_try_echo=$ac_try;;
 
7474
esac
 
7475
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7476
$as_echo "$ac_try_echo") >&5
 
7477
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
7478
  ac_status=$?
 
7479
  grep -v '^ *+' conftest.er1 >conftest.err
 
7480
  rm -f conftest.er1
 
7481
  cat conftest.err >&5
 
7482
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7483
  (exit $ac_status); } >/dev/null && {
 
7484
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
7485
         test ! -s conftest.err
 
7486
       }; then
 
7487
  # Broken: success on invalid input.
 
7488
continue
 
7489
else
 
7490
  $as_echo "$as_me: failed program was:" >&5
 
7491
sed 's/^/| /' conftest.$ac_ext >&5
 
7492
 
 
7493
  # Passes both tests.
 
7494
ac_preproc_ok=:
 
7495
break
 
7496
fi
 
7497
 
 
7498
rm -f conftest.err conftest.$ac_ext
 
7499
 
 
7500
done
 
7501
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7502
rm -f conftest.err conftest.$ac_ext
 
7503
if $ac_preproc_ok; then
 
7504
  :
 
7505
else
 
7506
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
7507
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
7508
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
7509
See \`config.log' for more details." >&5
 
7510
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
7511
See \`config.log' for more details." >&2;}
 
7512
   { (exit 1); exit 1; }; }; }
 
7513
fi
 
7514
 
 
7515
ac_ext=c
 
7516
ac_cpp='$CPP $CPPFLAGS'
 
7517
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7518
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7519
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7520
 
 
7521
 
 
7522
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
7523
$as_echo_n "checking for ANSI C header files... " >&6; }
 
7524
if test "${ac_cv_header_stdc+set}" = set; then
 
7525
  $as_echo_n "(cached) " >&6
 
7526
else
 
7527
  cat >conftest.$ac_ext <<_ACEOF
 
7528
/* confdefs.h.  */
 
7529
_ACEOF
 
7530
cat confdefs.h >>conftest.$ac_ext
 
7531
cat >>conftest.$ac_ext <<_ACEOF
 
7532
/* end confdefs.h.  */
 
7533
#include <stdlib.h>
 
7534
#include <stdarg.h>
 
7535
#include <string.h>
 
7536
#include <float.h>
 
7537
 
 
7538
int
 
7539
main ()
 
7540
{
 
7541
 
 
7542
  ;
 
7543
  return 0;
 
7544
}
 
7545
_ACEOF
 
7546
rm -f conftest.$ac_objext
 
7547
if { (ac_try="$ac_compile"
 
7548
case "(($ac_try" in
 
7549
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7550
  *) ac_try_echo=$ac_try;;
 
7551
esac
 
7552
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7553
$as_echo "$ac_try_echo") >&5
 
7554
  (eval "$ac_compile") 2>conftest.er1
 
7555
  ac_status=$?
 
7556
  grep -v '^ *+' conftest.er1 >conftest.err
 
7557
  rm -f conftest.er1
 
7558
  cat conftest.err >&5
 
7559
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7560
  (exit $ac_status); } && {
 
7561
         test -z "$ac_c_werror_flag" ||
 
7562
         test ! -s conftest.err
 
7563
       } && test -s conftest.$ac_objext; then
 
7564
  ac_cv_header_stdc=yes
 
7565
else
 
7566
  $as_echo "$as_me: failed program was:" >&5
 
7567
sed 's/^/| /' conftest.$ac_ext >&5
 
7568
 
 
7569
        ac_cv_header_stdc=no
 
7570
fi
 
7571
 
 
7572
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7573
 
 
7574
if test $ac_cv_header_stdc = yes; then
 
7575
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
7576
  cat >conftest.$ac_ext <<_ACEOF
 
7577
/* confdefs.h.  */
 
7578
_ACEOF
 
7579
cat confdefs.h >>conftest.$ac_ext
 
7580
cat >>conftest.$ac_ext <<_ACEOF
 
7581
/* end confdefs.h.  */
 
7582
#include <string.h>
 
7583
 
 
7584
_ACEOF
 
7585
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7586
  $EGREP "memchr" >/dev/null 2>&1; then
 
7587
  :
 
7588
else
 
7589
  ac_cv_header_stdc=no
 
7590
fi
 
7591
rm -f conftest*
 
7592
 
 
7593
fi
 
7594
 
 
7595
if test $ac_cv_header_stdc = yes; then
 
7596
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
7597
  cat >conftest.$ac_ext <<_ACEOF
 
7598
/* confdefs.h.  */
 
7599
_ACEOF
 
7600
cat confdefs.h >>conftest.$ac_ext
 
7601
cat >>conftest.$ac_ext <<_ACEOF
 
7602
/* end confdefs.h.  */
 
7603
#include <stdlib.h>
 
7604
 
 
7605
_ACEOF
 
7606
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7607
  $EGREP "free" >/dev/null 2>&1; then
 
7608
  :
 
7609
else
 
7610
  ac_cv_header_stdc=no
 
7611
fi
 
7612
rm -f conftest*
 
7613
 
 
7614
fi
 
7615
 
 
7616
if test $ac_cv_header_stdc = yes; then
 
7617
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
7618
  if test "$cross_compiling" = yes; then
 
7619
  :
 
7620
else
 
7621
  cat >conftest.$ac_ext <<_ACEOF
 
7622
/* confdefs.h.  */
 
7623
_ACEOF
 
7624
cat confdefs.h >>conftest.$ac_ext
 
7625
cat >>conftest.$ac_ext <<_ACEOF
 
7626
/* end confdefs.h.  */
 
7627
#include <ctype.h>
 
7628
#include <stdlib.h>
 
7629
#if ((' ' & 0x0FF) == 0x020)
 
7630
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
7631
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
7632
#else
 
7633
# define ISLOWER(c) \
 
7634
                   (('a' <= (c) && (c) <= 'i') \
 
7635
                     || ('j' <= (c) && (c) <= 'r') \
 
7636
                     || ('s' <= (c) && (c) <= 'z'))
 
7637
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
7638
#endif
 
7639
 
 
7640
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
7641
int
 
7642
main ()
 
7643
{
 
7644
  int i;
 
7645
  for (i = 0; i < 256; i++)
 
7646
    if (XOR (islower (i), ISLOWER (i))
 
7647
        || toupper (i) != TOUPPER (i))
 
7648
      return 2;
 
7649
  return 0;
 
7650
}
 
7651
_ACEOF
 
7652
rm -f conftest$ac_exeext
 
7653
if { (ac_try="$ac_link"
 
7654
case "(($ac_try" in
 
7655
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7656
  *) ac_try_echo=$ac_try;;
 
7657
esac
 
7658
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7659
$as_echo "$ac_try_echo") >&5
 
7660
  (eval "$ac_link") 2>&5
 
7661
  ac_status=$?
 
7662
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7663
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
7664
  { (case "(($ac_try" in
 
7665
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7666
  *) ac_try_echo=$ac_try;;
 
7667
esac
 
7668
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7669
$as_echo "$ac_try_echo") >&5
 
7670
  (eval "$ac_try") 2>&5
 
7671
  ac_status=$?
 
7672
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7673
  (exit $ac_status); }; }; then
 
7674
  :
 
7675
else
 
7676
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
7677
$as_echo "$as_me: failed program was:" >&5
 
7678
sed 's/^/| /' conftest.$ac_ext >&5
 
7679
 
 
7680
( exit $ac_status )
 
7681
ac_cv_header_stdc=no
 
7682
fi
 
7683
rm -rf conftest.dSYM
 
7684
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
7685
fi
 
7686
 
 
7687
 
 
7688
fi
 
7689
fi
 
7690
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
7691
$as_echo "$ac_cv_header_stdc" >&6; }
 
7692
if test $ac_cv_header_stdc = yes; then
 
7693
 
 
7694
cat >>confdefs.h <<\_ACEOF
 
7695
#define STDC_HEADERS 1
 
7696
_ACEOF
 
7697
 
 
7698
fi
 
7699
 
 
7700
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
7701
 
 
7702
 
 
7703
 
 
7704
 
 
7705
 
 
7706
 
 
7707
 
 
7708
 
 
7709
 
 
7710
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
7711
                  inttypes.h stdint.h unistd.h
 
7712
do
 
7713
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7714
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7715
$as_echo_n "checking for $ac_header... " >&6; }
 
7716
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7717
  $as_echo_n "(cached) " >&6
 
7718
else
 
7719
  cat >conftest.$ac_ext <<_ACEOF
 
7720
/* confdefs.h.  */
 
7721
_ACEOF
 
7722
cat confdefs.h >>conftest.$ac_ext
 
7723
cat >>conftest.$ac_ext <<_ACEOF
 
7724
/* end confdefs.h.  */
 
7725
$ac_includes_default
 
7726
 
 
7727
#include <$ac_header>
 
7728
_ACEOF
 
7729
rm -f conftest.$ac_objext
 
7730
if { (ac_try="$ac_compile"
 
7731
case "(($ac_try" in
 
7732
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7733
  *) ac_try_echo=$ac_try;;
 
7734
esac
 
7735
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7736
$as_echo "$ac_try_echo") >&5
 
7737
  (eval "$ac_compile") 2>conftest.er1
 
7738
  ac_status=$?
 
7739
  grep -v '^ *+' conftest.er1 >conftest.err
 
7740
  rm -f conftest.er1
 
7741
  cat conftest.err >&5
 
7742
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7743
  (exit $ac_status); } && {
 
7744
         test -z "$ac_c_werror_flag" ||
 
7745
         test ! -s conftest.err
 
7746
       } && test -s conftest.$ac_objext; then
 
7747
  eval "$as_ac_Header=yes"
 
7748
else
 
7749
  $as_echo "$as_me: failed program was:" >&5
 
7750
sed 's/^/| /' conftest.$ac_ext >&5
 
7751
 
 
7752
        eval "$as_ac_Header=no"
 
7753
fi
 
7754
 
 
7755
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7756
fi
 
7757
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
7758
                 $as_echo "$as_val"'`
 
7759
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7760
$as_echo "$ac_res" >&6; }
 
7761
as_val=`eval 'as_val=${'$as_ac_Header'}
 
7762
                 $as_echo "$as_val"'`
 
7763
   if test "x$as_val" = x""yes; then
 
7764
  cat >>confdefs.h <<_ACEOF
 
7765
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7766
_ACEOF
 
7767
 
 
7768
fi
 
7769
 
 
7770
done
 
7771
 
 
7772
 
 
7773
 
 
7774
for ac_header in dlfcn.h
 
7775
do
 
7776
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7777
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7778
$as_echo_n "checking for $ac_header... " >&6; }
 
7779
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7780
  $as_echo_n "(cached) " >&6
 
7781
else
 
7782
  cat >conftest.$ac_ext <<_ACEOF
 
7783
/* confdefs.h.  */
 
7784
_ACEOF
 
7785
cat confdefs.h >>conftest.$ac_ext
 
7786
cat >>conftest.$ac_ext <<_ACEOF
 
7787
/* end confdefs.h.  */
 
7788
$ac_includes_default
 
7789
 
 
7790
#include <$ac_header>
 
7791
_ACEOF
 
7792
rm -f conftest.$ac_objext
 
7793
if { (ac_try="$ac_compile"
 
7794
case "(($ac_try" in
 
7795
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7796
  *) ac_try_echo=$ac_try;;
 
7797
esac
 
7798
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7799
$as_echo "$ac_try_echo") >&5
 
7800
  (eval "$ac_compile") 2>conftest.er1
 
7801
  ac_status=$?
 
7802
  grep -v '^ *+' conftest.er1 >conftest.err
 
7803
  rm -f conftest.er1
 
7804
  cat conftest.err >&5
 
7805
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7806
  (exit $ac_status); } && {
 
7807
         test -z "$ac_c_werror_flag" ||
 
7808
         test ! -s conftest.err
 
7809
       } && test -s conftest.$ac_objext; then
 
7810
  eval "$as_ac_Header=yes"
 
7811
else
 
7812
  $as_echo "$as_me: failed program was:" >&5
 
7813
sed 's/^/| /' conftest.$ac_ext >&5
 
7814
 
 
7815
        eval "$as_ac_Header=no"
 
7816
fi
 
7817
 
 
7818
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7819
fi
 
7820
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
7821
                 $as_echo "$as_val"'`
 
7822
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7823
$as_echo "$ac_res" >&6; }
 
7824
as_val=`eval 'as_val=${'$as_ac_Header'}
 
7825
                 $as_echo "$as_val"'`
 
7826
   if test "x$as_val" = x""yes; then
 
7827
  cat >>confdefs.h <<_ACEOF
 
7828
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7829
_ACEOF
 
7830
 
 
7831
fi
 
7832
 
 
7833
done
 
7834
 
 
7835
 
 
7836
 
 
7837
# Set options
 
7838
 
 
7839
 
 
7840
 
 
7841
        enable_dlopen=no
 
7842
 
 
7843
 
 
7844
  enable_win32_dll=no
 
7845
 
 
7846
 
 
7847
            # Check whether --enable-shared was given.
 
7848
if test "${enable_shared+set}" = set; then
 
7849
  enableval=$enable_shared; p=${PACKAGE-default}
 
7850
    case $enableval in
 
7851
    yes) enable_shared=yes ;;
 
7852
    no) enable_shared=no ;;
 
7853
    *)
 
7854
      enable_shared=no
 
7855
      # Look at the argument we got.  We use all the common list separators.
 
7856
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7857
      for pkg in $enableval; do
 
7858
        IFS="$lt_save_ifs"
 
7859
        if test "X$pkg" = "X$p"; then
 
7860
          enable_shared=yes
 
7861
        fi
 
7862
      done
 
7863
      IFS="$lt_save_ifs"
 
7864
      ;;
 
7865
    esac
 
7866
else
 
7867
  enable_shared=yes
 
7868
fi
 
7869
 
 
7870
 
 
7871
 
 
7872
 
 
7873
 
 
7874
 
 
7875
 
 
7876
 
 
7877
 
 
7878
  # Check whether --enable-static was given.
 
7879
if test "${enable_static+set}" = set; then
 
7880
  enableval=$enable_static; p=${PACKAGE-default}
 
7881
    case $enableval in
 
7882
    yes) enable_static=yes ;;
 
7883
    no) enable_static=no ;;
 
7884
    *)
 
7885
     enable_static=no
 
7886
      # Look at the argument we got.  We use all the common list separators.
 
7887
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7888
      for pkg in $enableval; do
 
7889
        IFS="$lt_save_ifs"
 
7890
        if test "X$pkg" = "X$p"; then
 
7891
          enable_static=yes
 
7892
        fi
 
7893
      done
 
7894
      IFS="$lt_save_ifs"
 
7895
      ;;
 
7896
    esac
 
7897
else
 
7898
  enable_static=yes
 
7899
fi
 
7900
 
 
7901
 
 
7902
 
 
7903
 
 
7904
 
 
7905
 
 
7906
 
 
7907
 
 
7908
 
 
7909
 
 
7910
# Check whether --with-pic was given.
 
7911
if test "${with_pic+set}" = set; then
 
7912
  withval=$with_pic; pic_mode="$withval"
 
7913
else
 
7914
  pic_mode=default
 
7915
fi
 
7916
 
 
7917
 
 
7918
test -z "$pic_mode" && pic_mode=default
 
7919
 
 
7920
 
 
7921
 
 
7922
 
 
7923
 
 
7924
 
 
7925
 
 
7926
  # Check whether --enable-fast-install was given.
 
7927
if test "${enable_fast_install+set}" = set; then
 
7928
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
7929
    case $enableval in
 
7930
    yes) enable_fast_install=yes ;;
 
7931
    no) enable_fast_install=no ;;
 
7932
    *)
 
7933
      enable_fast_install=no
 
7934
      # Look at the argument we got.  We use all the common list separators.
 
7935
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7936
      for pkg in $enableval; do
 
7937
        IFS="$lt_save_ifs"
 
7938
        if test "X$pkg" = "X$p"; then
 
7939
          enable_fast_install=yes
 
7940
        fi
 
7941
      done
 
7942
      IFS="$lt_save_ifs"
 
7943
      ;;
 
7944
    esac
 
7945
else
 
7946
  enable_fast_install=yes
 
7947
fi
 
7948
 
 
7949
 
 
7950
 
 
7951
 
 
7952
 
 
7953
 
 
7954
 
 
7955
 
 
7956
 
 
7957
 
 
7958
 
 
7959
# This can be used to rebuild libtool when needed
 
7960
LIBTOOL_DEPS="$ltmain"
 
7961
 
 
7962
# Always use our own libtool.
 
7963
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
7964
 
 
7965
 
 
7966
 
 
7967
 
 
7968
 
 
7969
 
 
7970
 
 
7971
 
 
7972
 
 
7973
 
 
7974
 
 
7975
 
 
7976
 
 
7977
 
 
7978
 
 
7979
 
 
7980
 
 
7981
 
 
7982
 
 
7983
 
 
7984
 
 
7985
 
 
7986
 
 
7987
 
 
7988
 
 
7989
test -z "$LN_S" && LN_S="ln -s"
 
7990
 
 
7991
 
 
7992
 
 
7993
 
 
7994
 
 
7995
 
 
7996
 
 
7997
 
 
7998
 
 
7999
 
 
8000
 
 
8001
 
 
8002
 
 
8003
 
 
8004
if test -n "${ZSH_VERSION+set}" ; then
 
8005
   setopt NO_GLOB_SUBST
 
8006
fi
 
8007
 
 
8008
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
8009
$as_echo_n "checking for objdir... " >&6; }
 
8010
if test "${lt_cv_objdir+set}" = set; then
 
8011
  $as_echo_n "(cached) " >&6
 
8012
else
 
8013
  rm -f .libs 2>/dev/null
 
8014
mkdir .libs 2>/dev/null
 
8015
if test -d .libs; then
 
8016
  lt_cv_objdir=.libs
 
8017
else
 
8018
  # MS-DOS does not allow filenames that begin with a dot.
 
8019
  lt_cv_objdir=_libs
 
8020
fi
 
8021
rmdir .libs 2>/dev/null
 
8022
fi
 
8023
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
8024
$as_echo "$lt_cv_objdir" >&6; }
 
8025
objdir=$lt_cv_objdir
 
8026
 
 
8027
 
 
8028
 
 
8029
 
 
8030
 
 
8031
cat >>confdefs.h <<_ACEOF
 
8032
#define LT_OBJDIR "$lt_cv_objdir/"
 
8033
_ACEOF
 
8034
 
 
8035
 
 
8036
 
 
8037
 
 
8038
 
 
8039
 
 
8040
 
 
8041
 
 
8042
 
 
8043
 
 
8044
 
 
8045
 
 
8046
 
 
8047
 
 
8048
 
 
8049
 
 
8050
 
 
8051
case $host_os in
 
8052
aix3*)
 
8053
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
8054
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
8055
  # vanish in a puff of smoke.
 
8056
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
8057
    COLLECT_NAMES=
 
8058
    export COLLECT_NAMES
 
8059
  fi
 
8060
  ;;
 
8061
esac
 
8062
 
 
8063
# Sed substitution that helps us do robust quoting.  It backslashifies
 
8064
# metacharacters that are still active within double-quoted strings.
 
8065
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
8066
 
 
8067
# Same as above, but do not quote variable references.
 
8068
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
8069
 
 
8070
# Sed substitution to delay expansion of an escaped shell variable in a
 
8071
# double_quote_subst'ed string.
 
8072
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
8073
 
 
8074
# Sed substitution to delay expansion of an escaped single quote.
 
8075
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
8076
 
 
8077
# Sed substitution to avoid accidental globbing in evaled expressions
 
8078
no_glob_subst='s/\*/\\\*/g'
 
8079
 
 
8080
# Global variables:
 
8081
ofile=libtool
 
8082
can_build_shared=yes
 
8083
 
 
8084
# All known linkers require a `.a' archive for static linking (except MSVC,
 
8085
# which needs '.lib').
 
8086
libext=a
 
8087
 
 
8088
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
8089
 
 
8090
old_CC="$CC"
 
8091
old_CFLAGS="$CFLAGS"
 
8092
 
 
8093
# Set sane defaults for various variables
 
8094
test -z "$CC" && CC=cc
 
8095
test -z "$LTCC" && LTCC=$CC
 
8096
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
8097
test -z "$LD" && LD=ld
 
8098
test -z "$ac_objext" && ac_objext=o
 
8099
 
 
8100
for cc_temp in $compiler""; do
 
8101
  case $cc_temp in
 
8102
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
8103
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
8104
    \-*) ;;
 
8105
    *) break;;
 
8106
  esac
 
8107
done
 
8108
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8109
 
 
8110
 
 
8111
# Only perform the check for file, if the check method requires it
 
8112
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
8113
case $deplibs_check_method in
 
8114
file_magic*)
 
8115
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
8116
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8117
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
8118
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8119
  $as_echo_n "(cached) " >&6
 
8120
else
 
8121
  case $MAGIC_CMD in
 
8122
[\\/*] |  ?:[\\/]*)
 
8123
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8124
  ;;
 
8125
*)
 
8126
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8127
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8128
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8129
  for ac_dir in $ac_dummy; do
 
8130
    IFS="$lt_save_ifs"
 
8131
    test -z "$ac_dir" && ac_dir=.
 
8132
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
8133
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
8134
      if test -n "$file_magic_test_file"; then
 
8135
        case $deplibs_check_method in
 
8136
        "file_magic "*)
 
8137
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8138
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8139
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8140
            $EGREP "$file_magic_regex" > /dev/null; then
 
8141
            :
 
8142
          else
 
8143
            cat <<_LT_EOF 1>&2
 
8144
 
 
8145
*** Warning: the command libtool uses to detect shared libraries,
 
8146
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8147
*** The result is that libtool may fail to recognize shared libraries
 
8148
*** as such.  This will affect the creation of libtool libraries that
 
8149
*** depend on shared libraries, but programs linked with such libtool
 
8150
*** libraries will work regardless of this problem.  Nevertheless, you
 
8151
*** may want to report the problem to your system manager and/or to
 
8152
*** bug-libtool@gnu.org
 
8153
 
 
8154
_LT_EOF
 
8155
          fi ;;
 
8156
        esac
 
8157
      fi
 
8158
      break
 
8159
    fi
 
8160
  done
 
8161
  IFS="$lt_save_ifs"
 
8162
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8163
  ;;
 
8164
esac
 
8165
fi
 
8166
 
 
8167
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8168
if test -n "$MAGIC_CMD"; then
 
8169
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8170
$as_echo "$MAGIC_CMD" >&6; }
 
8171
else
 
8172
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8173
$as_echo "no" >&6; }
 
8174
fi
 
8175
 
 
8176
 
 
8177
 
 
8178
 
 
8179
 
 
8180
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
8181
  if test -n "$ac_tool_prefix"; then
 
8182
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
8183
$as_echo_n "checking for file... " >&6; }
 
8184
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8185
  $as_echo_n "(cached) " >&6
 
8186
else
 
8187
  case $MAGIC_CMD in
 
8188
[\\/*] |  ?:[\\/]*)
 
8189
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8190
  ;;
 
8191
*)
 
8192
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8193
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8194
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8195
  for ac_dir in $ac_dummy; do
 
8196
    IFS="$lt_save_ifs"
 
8197
    test -z "$ac_dir" && ac_dir=.
 
8198
    if test -f $ac_dir/file; then
 
8199
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
8200
      if test -n "$file_magic_test_file"; then
 
8201
        case $deplibs_check_method in
 
8202
        "file_magic "*)
 
8203
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8204
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8205
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8206
            $EGREP "$file_magic_regex" > /dev/null; then
 
8207
            :
 
8208
          else
 
8209
            cat <<_LT_EOF 1>&2
 
8210
 
 
8211
*** Warning: the command libtool uses to detect shared libraries,
 
8212
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8213
*** The result is that libtool may fail to recognize shared libraries
 
8214
*** as such.  This will affect the creation of libtool libraries that
 
8215
*** depend on shared libraries, but programs linked with such libtool
 
8216
*** libraries will work regardless of this problem.  Nevertheless, you
 
8217
*** may want to report the problem to your system manager and/or to
 
8218
*** bug-libtool@gnu.org
 
8219
 
 
8220
_LT_EOF
 
8221
          fi ;;
 
8222
        esac
 
8223
      fi
 
8224
      break
 
8225
    fi
 
8226
  done
 
8227
  IFS="$lt_save_ifs"
 
8228
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8229
  ;;
 
8230
esac
 
8231
fi
 
8232
 
 
8233
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8234
if test -n "$MAGIC_CMD"; then
 
8235
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8236
$as_echo "$MAGIC_CMD" >&6; }
 
8237
else
 
8238
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8239
$as_echo "no" >&6; }
 
8240
fi
 
8241
 
 
8242
 
 
8243
  else
 
8244
    MAGIC_CMD=:
 
8245
  fi
 
8246
fi
 
8247
 
 
8248
  fi
 
8249
  ;;
 
8250
esac
 
8251
 
 
8252
# Use C for the default configuration in the libtool script
 
8253
 
 
8254
lt_save_CC="$CC"
 
8255
ac_ext=c
 
8256
ac_cpp='$CPP $CPPFLAGS'
 
8257
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8258
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8259
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8260
 
 
8261
 
 
8262
# Source file extension for C test sources.
 
8263
ac_ext=c
 
8264
 
 
8265
# Object file extension for compiled C test sources.
 
8266
objext=o
 
8267
objext=$objext
 
8268
 
 
8269
# Code to be used in simple compile tests
 
8270
lt_simple_compile_test_code="int some_variable = 0;"
 
8271
 
 
8272
# Code to be used in simple link tests
 
8273
lt_simple_link_test_code='int main(){return(0);}'
 
8274
 
 
8275
 
 
8276
 
 
8277
 
 
8278
 
 
8279
 
 
8280
 
 
8281
# If no C compiler was specified, use CC.
 
8282
LTCC=${LTCC-"$CC"}
 
8283
 
 
8284
# If no C compiler flags were specified, use CFLAGS.
 
8285
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
8286
 
 
8287
# Allow CC to be a program name with arguments.
 
8288
compiler=$CC
 
8289
 
 
8290
# Save the default compiler, since it gets overwritten when the other
 
8291
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
8292
compiler_DEFAULT=$CC
 
8293
 
 
8294
# save warnings/boilerplate of simple test code
 
8295
ac_outfile=conftest.$ac_objext
 
8296
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
8297
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
8298
_lt_compiler_boilerplate=`cat conftest.err`
 
8299
$RM conftest*
 
8300
 
 
8301
ac_outfile=conftest.$ac_objext
 
8302
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
8303
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
8304
_lt_linker_boilerplate=`cat conftest.err`
 
8305
$RM -r conftest*
 
8306
 
 
8307
 
 
8308
## CAVEAT EMPTOR:
 
8309
## There is no encapsulation within the following macros, do not change
 
8310
## the running order or otherwise move them around unless you know exactly
 
8311
## what you are doing...
 
8312
if test -n "$compiler"; then
 
8313
 
 
8314
lt_prog_compiler_no_builtin_flag=
 
8315
 
 
8316
if test "$GCC" = yes; then
 
8317
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
8318
 
 
8319
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8320
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
8321
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
8322
  $as_echo_n "(cached) " >&6
 
8323
else
 
8324
  lt_cv_prog_compiler_rtti_exceptions=no
 
8325
   ac_outfile=conftest.$ac_objext
 
8326
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8327
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
8328
   # Insert the option either (1) after the last *FLAGS variable, or
 
8329
   # (2) before a word containing "conftest.", or (3) at the end.
 
8330
   # Note that $ac_compile itself does not contain backslashes and begins
 
8331
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8332
   # The option is referenced via a variable to avoid confusing sed.
 
8333
   lt_compile=`echo "$ac_compile" | $SED \
 
8334
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8335
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8336
   -e 's:$: $lt_compiler_flag:'`
 
8337
   (eval echo "\"\$as_me:8337: $lt_compile\"" >&5)
 
8338
   (eval "$lt_compile" 2>conftest.err)
 
8339
   ac_status=$?
 
8340
   cat conftest.err >&5
 
8341
   echo "$as_me:8341: \$? = $ac_status" >&5
 
8342
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
8343
     # The compiler can only warn and ignore the option if not recognized
 
8344
     # So say no if there are warnings other than the usual output.
 
8345
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8346
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8347
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
8348
       lt_cv_prog_compiler_rtti_exceptions=yes
 
8349
     fi
 
8350
   fi
 
8351
   $RM conftest*
 
8352
 
 
8353
fi
 
8354
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8355
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
8356
 
 
8357
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
8358
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
8359
else
 
8360
    :
 
8361
fi
 
8362
 
 
8363
fi
 
8364
 
 
8365
 
 
8366
 
 
8367
 
 
8368
 
 
8369
 
 
8370
  lt_prog_compiler_wl=
 
8371
lt_prog_compiler_pic=
 
8372
lt_prog_compiler_static=
 
8373
 
 
8374
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
8375
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8376
 
 
8377
  if test "$GCC" = yes; then
 
8378
    lt_prog_compiler_wl='-Wl,'
 
8379
    lt_prog_compiler_static='-static'
 
8380
 
 
8381
    case $host_os in
 
8382
      aix*)
 
8383
      # All AIX code is PIC.
 
8384
      if test "$host_cpu" = ia64; then
 
8385
        # AIX 5 now supports IA64 processor
 
8386
        lt_prog_compiler_static='-Bstatic'
 
8387
      fi
 
8388
      ;;
 
8389
 
 
8390
    amigaos*)
 
8391
      case $host_cpu in
 
8392
      powerpc)
 
8393
            # see comment about AmigaOS4 .so support
 
8394
            lt_prog_compiler_pic='-fPIC'
 
8395
        ;;
 
8396
      m68k)
 
8397
            # FIXME: we need at least 68020 code to build shared libraries, but
 
8398
            # adding the `-m68020' flag to GCC prevents building anything better,
 
8399
            # like `-m68040'.
 
8400
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8401
        ;;
 
8402
      esac
 
8403
      ;;
 
8404
 
 
8405
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
8406
      # PIC is the default for these OSes.
 
8407
      ;;
 
8408
 
 
8409
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
8410
      # This hack is so that the source file can tell whether it is being
 
8411
      # built for inclusion in a dll (and should export symbols for example).
 
8412
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
8413
      # (--disable-auto-import) libraries
 
8414
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
8415
      ;;
 
8416
 
 
8417
    darwin* | rhapsody*)
 
8418
      # PIC is the default on this platform
 
8419
      # Common symbols not allowed in MH_DYLIB files
 
8420
      lt_prog_compiler_pic='-fno-common'
 
8421
      ;;
 
8422
 
 
8423
    hpux*)
 
8424
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
8425
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
8426
      # sets the default TLS model and affects inlining.
 
8427
      case $host_cpu in
 
8428
      hppa*64*)
 
8429
        # +Z the default
 
8430
        ;;
 
8431
      *)
 
8432
        lt_prog_compiler_pic='-fPIC'
 
8433
        ;;
 
8434
      esac
 
8435
      ;;
 
8436
 
 
8437
    interix[3-9]*)
 
8438
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
8439
      # Instead, we relocate shared libraries at runtime.
 
8440
      ;;
 
8441
 
 
8442
    msdosdjgpp*)
 
8443
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
8444
      # on systems that don't support them.
 
8445
      lt_prog_compiler_can_build_shared=no
 
8446
      enable_shared=no
 
8447
      ;;
 
8448
 
 
8449
    *nto* | *qnx*)
 
8450
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8451
      # it will coredump.
 
8452
      lt_prog_compiler_pic='-fPIC -shared'
 
8453
      ;;
 
8454
 
 
8455
    sysv4*MP*)
 
8456
      if test -d /usr/nec; then
 
8457
        lt_prog_compiler_pic=-Kconform_pic
 
8458
      fi
 
8459
      ;;
 
8460
 
 
8461
    *)
 
8462
      lt_prog_compiler_pic='-fPIC'
 
8463
      ;;
 
8464
    esac
 
8465
  else
 
8466
    # PORTME Check for flag to pass linker flags through the system compiler.
 
8467
    case $host_os in
 
8468
    aix*)
 
8469
      lt_prog_compiler_wl='-Wl,'
 
8470
      if test "$host_cpu" = ia64; then
 
8471
        # AIX 5 now supports IA64 processor
 
8472
        lt_prog_compiler_static='-Bstatic'
 
8473
      else
 
8474
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
8475
      fi
 
8476
      ;;
 
8477
 
 
8478
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
8479
      # This hack is so that the source file can tell whether it is being
 
8480
      # built for inclusion in a dll (and should export symbols for example).
 
8481
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
8482
      ;;
 
8483
 
 
8484
    hpux9* | hpux10* | hpux11*)
 
8485
      lt_prog_compiler_wl='-Wl,'
 
8486
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
8487
      # not for PA HP-UX.
 
8488
      case $host_cpu in
 
8489
      hppa*64*|ia64*)
 
8490
        # +Z the default
 
8491
        ;;
 
8492
      *)
 
8493
        lt_prog_compiler_pic='+Z'
 
8494
        ;;
 
8495
      esac
 
8496
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
8497
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
8498
      ;;
 
8499
 
 
8500
    irix5* | irix6* | nonstopux*)
 
8501
      lt_prog_compiler_wl='-Wl,'
 
8502
      # PIC (with -KPIC) is the default.
 
8503
      lt_prog_compiler_static='-non_shared'
 
8504
      ;;
 
8505
 
 
8506
    linux* | k*bsd*-gnu)
 
8507
      case $cc_basename in
 
8508
      # old Intel for x86_64 which still supported -KPIC.
 
8509
      ecc*)
 
8510
        lt_prog_compiler_wl='-Wl,'
 
8511
        lt_prog_compiler_pic='-KPIC'
 
8512
        lt_prog_compiler_static='-static'
 
8513
        ;;
 
8514
      # icc used to be incompatible with GCC.
 
8515
      # ICC 10 doesn't accept -KPIC any more.
 
8516
      icc* | ifort*)
 
8517
        lt_prog_compiler_wl='-Wl,'
 
8518
        lt_prog_compiler_pic='-fPIC'
 
8519
        lt_prog_compiler_static='-static'
 
8520
        ;;
 
8521
      # Lahey Fortran 8.1.
 
8522
      lf95*)
 
8523
        lt_prog_compiler_wl='-Wl,'
 
8524
        lt_prog_compiler_pic='--shared'
 
8525
        lt_prog_compiler_static='--static'
 
8526
        ;;
 
8527
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8528
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
8529
        # which looks to be a dead project)
 
8530
        lt_prog_compiler_wl='-Wl,'
 
8531
        lt_prog_compiler_pic='-fpic'
 
8532
        lt_prog_compiler_static='-Bstatic'
 
8533
        ;;
 
8534
      ccc*)
 
8535
        lt_prog_compiler_wl='-Wl,'
 
8536
        # All Alpha code is PIC.
 
8537
        lt_prog_compiler_static='-non_shared'
 
8538
        ;;
 
8539
      xl*)
 
8540
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8541
        lt_prog_compiler_wl='-Wl,'
 
8542
        lt_prog_compiler_pic='-qpic'
 
8543
        lt_prog_compiler_static='-qstaticlink'
 
8544
        ;;
 
8545
      *)
 
8546
        case `$CC -V 2>&1 | sed 5q` in
 
8547
        *Sun\ C*)
 
8548
          # Sun C 5.9
 
8549
          lt_prog_compiler_pic='-KPIC'
 
8550
          lt_prog_compiler_static='-Bstatic'
 
8551
          lt_prog_compiler_wl='-Wl,'
 
8552
          ;;
 
8553
        *Sun\ F*)
 
8554
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8555
          lt_prog_compiler_pic='-KPIC'
 
8556
          lt_prog_compiler_static='-Bstatic'
 
8557
          lt_prog_compiler_wl=''
 
8558
          ;;
 
8559
        esac
 
8560
        ;;
 
8561
      esac
 
8562
      ;;
 
8563
 
 
8564
    newsos6)
 
8565
      lt_prog_compiler_pic='-KPIC'
 
8566
      lt_prog_compiler_static='-Bstatic'
 
8567
      ;;
 
8568
 
 
8569
    *nto* | *qnx*)
 
8570
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8571
      # it will coredump.
 
8572
      lt_prog_compiler_pic='-fPIC -shared'
 
8573
      ;;
 
8574
 
 
8575
    osf3* | osf4* | osf5*)
 
8576
      lt_prog_compiler_wl='-Wl,'
 
8577
      # All OSF/1 code is PIC.
 
8578
      lt_prog_compiler_static='-non_shared'
 
8579
      ;;
 
8580
 
 
8581
    rdos*)
 
8582
      lt_prog_compiler_static='-non_shared'
 
8583
      ;;
 
8584
 
 
8585
    solaris*)
 
8586
      lt_prog_compiler_pic='-KPIC'
 
8587
      lt_prog_compiler_static='-Bstatic'
 
8588
      case $cc_basename in
 
8589
      f77* | f90* | f95*)
 
8590
        lt_prog_compiler_wl='-Qoption ld ';;
 
8591
      *)
 
8592
        lt_prog_compiler_wl='-Wl,';;
 
8593
      esac
 
8594
      ;;
 
8595
 
 
8596
    sunos4*)
 
8597
      lt_prog_compiler_wl='-Qoption ld '
 
8598
      lt_prog_compiler_pic='-PIC'
 
8599
      lt_prog_compiler_static='-Bstatic'
 
8600
      ;;
 
8601
 
 
8602
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
8603
      lt_prog_compiler_wl='-Wl,'
 
8604
      lt_prog_compiler_pic='-KPIC'
 
8605
      lt_prog_compiler_static='-Bstatic'
 
8606
      ;;
 
8607
 
 
8608
    sysv4*MP*)
 
8609
      if test -d /usr/nec ;then
 
8610
        lt_prog_compiler_pic='-Kconform_pic'
 
8611
        lt_prog_compiler_static='-Bstatic'
 
8612
      fi
 
8613
      ;;
 
8614
 
 
8615
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
8616
      lt_prog_compiler_wl='-Wl,'
 
8617
      lt_prog_compiler_pic='-KPIC'
 
8618
      lt_prog_compiler_static='-Bstatic'
 
8619
      ;;
 
8620
 
 
8621
    unicos*)
 
8622
      lt_prog_compiler_wl='-Wl,'
 
8623
      lt_prog_compiler_can_build_shared=no
 
8624
      ;;
 
8625
 
 
8626
    uts4*)
 
8627
      lt_prog_compiler_pic='-pic'
 
8628
      lt_prog_compiler_static='-Bstatic'
 
8629
      ;;
 
8630
 
 
8631
    *)
 
8632
      lt_prog_compiler_can_build_shared=no
 
8633
      ;;
 
8634
    esac
 
8635
  fi
 
8636
 
 
8637
case $host_os in
 
8638
  # For platforms which do not support PIC, -DPIC is meaningless:
 
8639
  *djgpp*)
 
8640
    lt_prog_compiler_pic=
 
8641
    ;;
 
8642
  *)
 
8643
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
8644
    ;;
 
8645
esac
 
8646
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
8647
$as_echo "$lt_prog_compiler_pic" >&6; }
 
8648
 
 
8649
 
 
8650
 
 
8651
 
 
8652
 
 
8653
 
 
8654
#
 
8655
# Check to make sure the PIC flag actually works.
 
8656
#
 
8657
if test -n "$lt_prog_compiler_pic"; then
 
8658
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8659
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
8660
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
8661
  $as_echo_n "(cached) " >&6
 
8662
else
 
8663
  lt_cv_prog_compiler_pic_works=no
 
8664
   ac_outfile=conftest.$ac_objext
 
8665
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8666
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
8667
   # Insert the option either (1) after the last *FLAGS variable, or
 
8668
   # (2) before a word containing "conftest.", or (3) at the end.
 
8669
   # Note that $ac_compile itself does not contain backslashes and begins
 
8670
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8671
   # The option is referenced via a variable to avoid confusing sed.
 
8672
   lt_compile=`echo "$ac_compile" | $SED \
 
8673
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8674
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8675
   -e 's:$: $lt_compiler_flag:'`
 
8676
   (eval echo "\"\$as_me:8676: $lt_compile\"" >&5)
 
8677
   (eval "$lt_compile" 2>conftest.err)
 
8678
   ac_status=$?
 
8679
   cat conftest.err >&5
 
8680
   echo "$as_me:8680: \$? = $ac_status" >&5
 
8681
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
8682
     # The compiler can only warn and ignore the option if not recognized
 
8683
     # So say no if there are warnings other than the usual output.
 
8684
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8685
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8686
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
8687
       lt_cv_prog_compiler_pic_works=yes
 
8688
     fi
 
8689
   fi
 
8690
   $RM conftest*
 
8691
 
 
8692
fi
 
8693
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
8694
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
8695
 
 
8696
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
8697
    case $lt_prog_compiler_pic in
 
8698
     "" | " "*) ;;
 
8699
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
8700
     esac
 
8701
else
 
8702
    lt_prog_compiler_pic=
 
8703
     lt_prog_compiler_can_build_shared=no
 
8704
fi
 
8705
 
 
8706
fi
 
8707
 
 
8708
 
 
8709
 
 
8710
 
 
8711
 
 
8712
 
 
8713
#
 
8714
# Check to make sure the static flag actually works.
 
8715
#
 
8716
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
8717
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8718
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
8719
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
8720
  $as_echo_n "(cached) " >&6
 
8721
else
 
8722
  lt_cv_prog_compiler_static_works=no
 
8723
   save_LDFLAGS="$LDFLAGS"
 
8724
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
8725
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
8726
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
8727
     # The linker can only warn and ignore the option if not recognized
 
8728
     # So say no if there are warnings
 
8729
     if test -s conftest.err; then
 
8730
       # Append any errors to the config.log.
 
8731
       cat conftest.err 1>&5
 
8732
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8733
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8734
       if diff conftest.exp conftest.er2 >/dev/null; then
 
8735
         lt_cv_prog_compiler_static_works=yes
 
8736
       fi
 
8737
     else
 
8738
       lt_cv_prog_compiler_static_works=yes
 
8739
     fi
 
8740
   fi
 
8741
   $RM -r conftest*
 
8742
   LDFLAGS="$save_LDFLAGS"
 
8743
 
 
8744
fi
 
8745
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
8746
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
8747
 
 
8748
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
8749
    :
 
8750
else
 
8751
    lt_prog_compiler_static=
 
8752
fi
 
8753
 
 
8754
 
 
8755
 
 
8756
 
 
8757
 
 
8758
 
 
8759
 
 
8760
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8761
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8762
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8763
  $as_echo_n "(cached) " >&6
 
8764
else
 
8765
  lt_cv_prog_compiler_c_o=no
 
8766
   $RM -r conftest 2>/dev/null
 
8767
   mkdir conftest
 
8768
   cd conftest
 
8769
   mkdir out
 
8770
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8771
 
 
8772
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8773
   # Insert the option either (1) after the last *FLAGS variable, or
 
8774
   # (2) before a word containing "conftest.", or (3) at the end.
 
8775
   # Note that $ac_compile itself does not contain backslashes and begins
 
8776
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8777
   lt_compile=`echo "$ac_compile" | $SED \
 
8778
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8779
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8780
   -e 's:$: $lt_compiler_flag:'`
 
8781
   (eval echo "\"\$as_me:8781: $lt_compile\"" >&5)
 
8782
   (eval "$lt_compile" 2>out/conftest.err)
 
8783
   ac_status=$?
 
8784
   cat out/conftest.err >&5
 
8785
   echo "$as_me:8785: \$? = $ac_status" >&5
 
8786
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8787
   then
 
8788
     # The compiler can only warn and ignore the option if not recognized
 
8789
     # So say no if there are warnings
 
8790
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8791
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8792
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8793
       lt_cv_prog_compiler_c_o=yes
 
8794
     fi
 
8795
   fi
 
8796
   chmod u+w . 2>&5
 
8797
   $RM conftest*
 
8798
   # SGI C++ compiler will create directory out/ii_files/ for
 
8799
   # template instantiation
 
8800
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8801
   $RM out/* && rmdir out
 
8802
   cd ..
 
8803
   $RM -r conftest
 
8804
   $RM conftest*
 
8805
 
 
8806
fi
 
8807
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8808
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8809
 
 
8810
 
 
8811
 
 
8812
 
 
8813
 
 
8814
 
 
8815
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8816
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8817
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8818
  $as_echo_n "(cached) " >&6
 
8819
else
 
8820
  lt_cv_prog_compiler_c_o=no
 
8821
   $RM -r conftest 2>/dev/null
 
8822
   mkdir conftest
 
8823
   cd conftest
 
8824
   mkdir out
 
8825
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8826
 
 
8827
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8828
   # Insert the option either (1) after the last *FLAGS variable, or
 
8829
   # (2) before a word containing "conftest.", or (3) at the end.
 
8830
   # Note that $ac_compile itself does not contain backslashes and begins
 
8831
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8832
   lt_compile=`echo "$ac_compile" | $SED \
 
8833
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8834
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8835
   -e 's:$: $lt_compiler_flag:'`
 
8836
   (eval echo "\"\$as_me:8836: $lt_compile\"" >&5)
 
8837
   (eval "$lt_compile" 2>out/conftest.err)
 
8838
   ac_status=$?
 
8839
   cat out/conftest.err >&5
 
8840
   echo "$as_me:8840: \$? = $ac_status" >&5
 
8841
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8842
   then
 
8843
     # The compiler can only warn and ignore the option if not recognized
 
8844
     # So say no if there are warnings
 
8845
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8846
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8847
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8848
       lt_cv_prog_compiler_c_o=yes
 
8849
     fi
 
8850
   fi
 
8851
   chmod u+w . 2>&5
 
8852
   $RM conftest*
 
8853
   # SGI C++ compiler will create directory out/ii_files/ for
 
8854
   # template instantiation
 
8855
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8856
   $RM out/* && rmdir out
 
8857
   cd ..
 
8858
   $RM -r conftest
 
8859
   $RM conftest*
 
8860
 
 
8861
fi
 
8862
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8863
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8864
 
 
8865
 
 
8866
 
 
8867
 
 
8868
hard_links="nottested"
 
8869
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
8870
  # do not overwrite the value of need_locks provided by the user
 
8871
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8872
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
8873
  hard_links=yes
 
8874
  $RM conftest*
 
8875
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
8876
  touch conftest.a
 
8877
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
8878
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
8879
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
8880
$as_echo "$hard_links" >&6; }
 
8881
  if test "$hard_links" = no; then
 
8882
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8883
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
8884
    need_locks=warn
 
8885
  fi
 
8886
else
 
8887
  need_locks=no
 
8888
fi
 
8889
 
 
8890
 
 
8891
 
 
8892
 
 
8893
 
 
8894
 
 
8895
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8896
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
8897
 
 
8898
  runpath_var=
 
8899
  allow_undefined_flag=
 
8900
  always_export_symbols=no
 
8901
  archive_cmds=
 
8902
  archive_expsym_cmds=
 
8903
  compiler_needs_object=no
 
8904
  enable_shared_with_static_runtimes=no
 
8905
  export_dynamic_flag_spec=
 
8906
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
8907
  hardcode_automatic=no
 
8908
  hardcode_direct=no
 
8909
  hardcode_direct_absolute=no
 
8910
  hardcode_libdir_flag_spec=
 
8911
  hardcode_libdir_flag_spec_ld=
 
8912
  hardcode_libdir_separator=
 
8913
  hardcode_minus_L=no
 
8914
  hardcode_shlibpath_var=unsupported
 
8915
  inherit_rpath=no
 
8916
  link_all_deplibs=unknown
 
8917
  module_cmds=
 
8918
  module_expsym_cmds=
 
8919
  old_archive_from_new_cmds=
 
8920
  old_archive_from_expsyms_cmds=
 
8921
  thread_safe_flag_spec=
 
8922
  whole_archive_flag_spec=
 
8923
  # include_expsyms should be a list of space-separated symbols to be *always*
 
8924
  # included in the symbol list
 
8925
  include_expsyms=
 
8926
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
8927
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
8928
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
8929
  # as well as any symbol that contains `d'.
 
8930
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
8931
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
8932
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
8933
  # the symbol is explicitly referenced.  Since portable code cannot
 
8934
  # rely on this symbol name, it's probably fine to never include it in
 
8935
  # preloaded symbol tables.
 
8936
  # Exclude shared library initialization/finalization symbols.
 
8937
  extract_expsyms_cmds=
 
8938
 
 
8939
  case $host_os in
 
8940
  cygwin* | mingw* | pw32* | cegcc*)
 
8941
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
8942
    # When not using gcc, we currently assume that we are using
 
8943
    # Microsoft Visual C++.
 
8944
    if test "$GCC" != yes; then
 
8945
      with_gnu_ld=no
 
8946
    fi
 
8947
    ;;
 
8948
  interix*)
 
8949
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
8950
    with_gnu_ld=yes
 
8951
    ;;
 
8952
  openbsd*)
 
8953
    with_gnu_ld=no
 
8954
    ;;
 
8955
  esac
 
8956
 
 
8957
  ld_shlibs=yes
 
8958
  if test "$with_gnu_ld" = yes; then
 
8959
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
8960
    wlarc='${wl}'
 
8961
 
 
8962
    # Set some defaults for GNU ld with shared library support. These
 
8963
    # are reset later if shared libraries are not supported. Putting them
 
8964
    # here allows them to be overridden if necessary.
 
8965
    runpath_var=LD_RUN_PATH
 
8966
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8967
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
8968
    # ancient GNU ld didn't support --whole-archive et. al.
 
8969
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
8970
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
8971
    else
 
8972
      whole_archive_flag_spec=
 
8973
    fi
 
8974
    supports_anon_versioning=no
 
8975
    case `$LD -v 2>&1` in
 
8976
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
8977
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
8978
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
8979
      *\ 2.11.*) ;; # other 2.11 versions
 
8980
      *) supports_anon_versioning=yes ;;
 
8981
    esac
 
8982
 
 
8983
    # See if GNU ld supports shared libraries.
 
8984
    case $host_os in
 
8985
    aix[3-9]*)
 
8986
      # On AIX/PPC, the GNU linker is very broken
 
8987
      if test "$host_cpu" != ia64; then
 
8988
        ld_shlibs=no
 
8989
        cat <<_LT_EOF 1>&2
 
8990
 
 
8991
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
8992
*** to be unable to reliably create shared libraries on AIX.
 
8993
*** Therefore, libtool is disabling shared libraries support.  If you
 
8994
*** really care for shared libraries, you may want to modify your PATH
 
8995
*** so that a non-GNU linker is found, and then restart.
 
8996
 
 
8997
_LT_EOF
 
8998
      fi
 
8999
      ;;
 
9000
 
 
9001
    amigaos*)
 
9002
      case $host_cpu in
 
9003
      powerpc)
 
9004
            # see comment about AmigaOS4 .so support
 
9005
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9006
            archive_expsym_cmds=''
 
9007
        ;;
 
9008
      m68k)
 
9009
            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)'
 
9010
            hardcode_libdir_flag_spec='-L$libdir'
 
9011
            hardcode_minus_L=yes
 
9012
        ;;
 
9013
      esac
 
9014
      ;;
 
9015
 
 
9016
    beos*)
 
9017
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9018
        allow_undefined_flag=unsupported
 
9019
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
9020
        # support --undefined.  This deserves some investigation.  FIXME
 
9021
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9022
      else
 
9023
        ld_shlibs=no
 
9024
      fi
 
9025
      ;;
 
9026
 
 
9027
    cygwin* | mingw* | pw32* | cegcc*)
 
9028
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
9029
      # as there is no search path for DLLs.
 
9030
      hardcode_libdir_flag_spec='-L$libdir'
 
9031
      allow_undefined_flag=unsupported
 
9032
      always_export_symbols=no
 
9033
      enable_shared_with_static_runtimes=yes
 
9034
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9035
 
 
9036
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
9037
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
9038
        # If the export-symbols file already is a .def file (1st line
 
9039
        # is EXPORTS), use it as is; otherwise, prepend...
 
9040
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9041
          cp $export_symbols $output_objdir/$soname.def;
 
9042
        else
 
9043
          echo EXPORTS > $output_objdir/$soname.def;
 
9044
          cat $export_symbols >> $output_objdir/$soname.def;
 
9045
        fi~
 
9046
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
9047
      else
 
9048
        ld_shlibs=no
 
9049
      fi
 
9050
      ;;
 
9051
 
 
9052
    interix[3-9]*)
 
9053
      hardcode_direct=no
 
9054
      hardcode_shlibpath_var=no
 
9055
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9056
      export_dynamic_flag_spec='${wl}-E'
 
9057
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
9058
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
9059
      # default) and relocated if they conflict, which is a slow very memory
 
9060
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
9061
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
9062
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
9063
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
9064
      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'
 
9065
      ;;
 
9066
 
 
9067
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9068
      tmp_diet=no
 
9069
      if test "$host_os" = linux-dietlibc; then
 
9070
        case $cc_basename in
 
9071
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
9072
        esac
 
9073
      fi
 
9074
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
9075
         && test "$tmp_diet" = no
 
9076
      then
 
9077
        tmp_addflag=
 
9078
        tmp_sharedflag='-shared'
 
9079
        case $cc_basename,$host_cpu in
 
9080
        pgcc*)                          # Portland Group C compiler
 
9081
          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'
 
9082
          tmp_addflag=' $pic_flag'
 
9083
          ;;
 
9084
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
9085
          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'
 
9086
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
9087
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
9088
          tmp_addflag=' -i_dynamic' ;;
 
9089
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
9090
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
9091
        ifc* | ifort*)                  # Intel Fortran compiler
 
9092
          tmp_addflag=' -nofor_main' ;;
 
9093
        lf95*)                          # Lahey Fortran 8.1
 
9094
          whole_archive_flag_spec=
 
9095
          tmp_sharedflag='--shared' ;;
 
9096
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9097
          tmp_sharedflag='-qmkshrobj'
 
9098
          tmp_addflag= ;;
 
9099
        esac
 
9100
        case `$CC -V 2>&1 | sed 5q` in
 
9101
        *Sun\ C*)                       # Sun C 5.9
 
9102
          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'
 
9103
          compiler_needs_object=yes
 
9104
          tmp_sharedflag='-G' ;;
 
9105
        *Sun\ F*)                       # Sun Fortran 8.3
 
9106
          tmp_sharedflag='-G' ;;
 
9107
        esac
 
9108
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9109
 
 
9110
        if test "x$supports_anon_versioning" = xyes; then
 
9111
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9112
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9113
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
9114
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9115
        fi
 
9116
 
 
9117
        case $cc_basename in
 
9118
        xlf*)
 
9119
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
9120
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
9121
          hardcode_libdir_flag_spec=
 
9122
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9123
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9124
          if test "x$supports_anon_versioning" = xyes; then
 
9125
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9126
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9127
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
9128
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9129
          fi
 
9130
          ;;
 
9131
        esac
 
9132
      else
 
9133
        ld_shlibs=no
 
9134
      fi
 
9135
      ;;
 
9136
 
 
9137
    netbsd* | netbsdelf*-gnu)
 
9138
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
9139
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
9140
        wlarc=
 
9141
      else
 
9142
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9143
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9144
      fi
 
9145
      ;;
 
9146
 
 
9147
    solaris*)
 
9148
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
9149
        ld_shlibs=no
 
9150
        cat <<_LT_EOF 1>&2
 
9151
 
 
9152
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
9153
*** create shared libraries on Solaris systems.  Therefore, libtool
 
9154
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
9155
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
9156
*** your PATH or compiler configuration so that the native linker is
 
9157
*** used, and then restart.
 
9158
 
 
9159
_LT_EOF
 
9160
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9161
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9162
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9163
      else
 
9164
        ld_shlibs=no
 
9165
      fi
 
9166
      ;;
 
9167
 
 
9168
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
9169
      case `$LD -v 2>&1` in
 
9170
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
9171
        ld_shlibs=no
 
9172
        cat <<_LT_EOF 1>&2
 
9173
 
 
9174
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
9175
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
9176
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
9177
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
9178
*** your PATH or compiler configuration so that the native linker is
 
9179
*** used, and then restart.
 
9180
 
 
9181
_LT_EOF
 
9182
        ;;
 
9183
        *)
 
9184
          # For security reasons, it is highly recommended that you always
 
9185
          # use absolute paths for naming shared libraries, and exclude the
 
9186
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
9187
          # requires that you compile everything twice, which is a pain.
 
9188
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9189
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9190
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9191
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9192
          else
 
9193
            ld_shlibs=no
 
9194
          fi
 
9195
        ;;
 
9196
      esac
 
9197
      ;;
 
9198
 
 
9199
    sunos4*)
 
9200
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9201
      wlarc=
 
9202
      hardcode_direct=yes
 
9203
      hardcode_shlibpath_var=no
 
9204
      ;;
 
9205
 
 
9206
    *)
 
9207
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9208
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9209
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9210
      else
 
9211
        ld_shlibs=no
 
9212
      fi
 
9213
      ;;
 
9214
    esac
 
9215
 
 
9216
    if test "$ld_shlibs" = no; then
 
9217
      runpath_var=
 
9218
      hardcode_libdir_flag_spec=
 
9219
      export_dynamic_flag_spec=
 
9220
      whole_archive_flag_spec=
 
9221
    fi
 
9222
  else
 
9223
    # PORTME fill in a description of your system's linker (not GNU ld)
 
9224
    case $host_os in
 
9225
    aix3*)
 
9226
      allow_undefined_flag=unsupported
 
9227
      always_export_symbols=yes
 
9228
      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'
 
9229
      # Note: this linker hardcodes the directories in LIBPATH if there
 
9230
      # are no directories specified by -L.
 
9231
      hardcode_minus_L=yes
 
9232
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
9233
        # Neither direct hardcoding nor static linking is supported with a
 
9234
        # broken collect2.
 
9235
        hardcode_direct=unsupported
 
9236
      fi
 
9237
      ;;
 
9238
 
 
9239
    aix[4-9]*)
 
9240
      if test "$host_cpu" = ia64; then
 
9241
        # On IA64, the linker does run time linking by default, so we don't
 
9242
        # have to do anything special.
 
9243
        aix_use_runtimelinking=no
 
9244
        exp_sym_flag='-Bexport'
 
9245
        no_entry_flag=""
 
9246
      else
 
9247
        # If we're using GNU nm, then we don't want the "-C" option.
 
9248
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9249
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
9250
          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'
 
9251
        else
 
9252
          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'
 
9253
        fi
 
9254
        aix_use_runtimelinking=no
 
9255
 
 
9256
        # Test if we are trying to use run time linking or normal
 
9257
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
9258
        # need to do runtime linking.
 
9259
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
9260
          for ld_flag in $LDFLAGS; do
 
9261
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
9262
            aix_use_runtimelinking=yes
 
9263
            break
 
9264
          fi
 
9265
          done
 
9266
          ;;
 
9267
        esac
 
9268
 
 
9269
        exp_sym_flag='-bexport'
 
9270
        no_entry_flag='-bnoentry'
 
9271
      fi
 
9272
 
 
9273
      # When large executables or shared objects are built, AIX ld can
 
9274
      # have problems creating the table of contents.  If linking a library
 
9275
      # or program results in "error TOC overflow" add -mminimal-toc to
 
9276
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
9277
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
9278
 
 
9279
      archive_cmds=''
 
9280
      hardcode_direct=yes
 
9281
      hardcode_direct_absolute=yes
 
9282
      hardcode_libdir_separator=':'
 
9283
      link_all_deplibs=yes
 
9284
      file_list_spec='${wl}-f,'
 
9285
 
 
9286
      if test "$GCC" = yes; then
 
9287
        case $host_os in aix4.[012]|aix4.[012].*)
 
9288
        # We only want to do this on AIX 4.2 and lower, the check
 
9289
        # below for broken collect2 doesn't work under 4.3+
 
9290
          collect2name=`${CC} -print-prog-name=collect2`
 
9291
          if test -f "$collect2name" &&
 
9292
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
9293
          then
 
9294
          # We have reworked collect2
 
9295
          :
 
9296
          else
 
9297
          # We have old collect2
 
9298
          hardcode_direct=unsupported
 
9299
          # It fails to find uninstalled libraries when the uninstalled
 
9300
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
9301
          # to unsupported forces relinking
 
9302
          hardcode_minus_L=yes
 
9303
          hardcode_libdir_flag_spec='-L$libdir'
 
9304
          hardcode_libdir_separator=
 
9305
          fi
 
9306
          ;;
 
9307
        esac
 
9308
        shared_flag='-shared'
 
9309
        if test "$aix_use_runtimelinking" = yes; then
 
9310
          shared_flag="$shared_flag "'${wl}-G'
 
9311
        fi
 
9312
        link_all_deplibs=no
 
9313
      else
 
9314
        # not using gcc
 
9315
        if test "$host_cpu" = ia64; then
 
9316
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
9317
        # chokes on -Wl,-G. The following line is correct:
 
9318
          shared_flag='-G'
 
9319
        else
 
9320
          if test "$aix_use_runtimelinking" = yes; then
 
9321
            shared_flag='${wl}-G'
 
9322
          else
 
9323
            shared_flag='${wl}-bM:SRE'
 
9324
          fi
 
9325
        fi
 
9326
      fi
 
9327
 
 
9328
      export_dynamic_flag_spec='${wl}-bexpall'
 
9329
      # It seems that -bexpall does not export symbols beginning with
 
9330
      # underscore (_), so it is better to generate a list of symbols to export.
 
9331
      always_export_symbols=yes
 
9332
      if test "$aix_use_runtimelinking" = yes; then
 
9333
        # Warning - without using the other runtime loading flags (-brtl),
 
9334
        # -berok will link without error, but may produce a broken library.
 
9335
        allow_undefined_flag='-berok'
 
9336
        # Determine the default libpath from the value encoded in an
 
9337
        # empty executable.
 
9338
        cat >conftest.$ac_ext <<_ACEOF
 
9339
/* confdefs.h.  */
 
9340
_ACEOF
 
9341
cat confdefs.h >>conftest.$ac_ext
 
9342
cat >>conftest.$ac_ext <<_ACEOF
 
9343
/* end confdefs.h.  */
 
9344
 
 
9345
int
 
9346
main ()
 
9347
{
 
9348
 
 
9349
  ;
 
9350
  return 0;
 
9351
}
 
9352
_ACEOF
 
9353
rm -f conftest.$ac_objext conftest$ac_exeext
 
9354
if { (ac_try="$ac_link"
 
9355
case "(($ac_try" in
 
9356
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9357
  *) ac_try_echo=$ac_try;;
 
9358
esac
 
9359
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9360
$as_echo "$ac_try_echo") >&5
 
9361
  (eval "$ac_link") 2>conftest.er1
 
9362
  ac_status=$?
 
9363
  grep -v '^ *+' conftest.er1 >conftest.err
 
9364
  rm -f conftest.er1
 
9365
  cat conftest.err >&5
 
9366
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9367
  (exit $ac_status); } && {
 
9368
         test -z "$ac_c_werror_flag" ||
 
9369
         test ! -s conftest.err
 
9370
       } && test -s conftest$ac_exeext && {
 
9371
         test "$cross_compiling" = yes ||
 
9372
         $as_test_x conftest$ac_exeext
 
9373
       }; then
 
9374
 
 
9375
lt_aix_libpath_sed='
 
9376
    /Import File Strings/,/^$/ {
 
9377
        /^0/ {
 
9378
            s/^0  *\(.*\)$/\1/
 
9379
            p
 
9380
        }
 
9381
    }'
 
9382
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9383
# Check for a 64-bit object if we didn't find anything.
 
9384
if test -z "$aix_libpath"; then
 
9385
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9386
fi
 
9387
else
 
9388
  $as_echo "$as_me: failed program was:" >&5
 
9389
sed 's/^/| /' conftest.$ac_ext >&5
 
9390
 
 
9391
 
 
9392
fi
 
9393
 
 
9394
rm -rf conftest.dSYM
 
9395
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9396
      conftest$ac_exeext conftest.$ac_ext
 
9397
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9398
 
 
9399
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9400
        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"
 
9401
      else
 
9402
        if test "$host_cpu" = ia64; then
 
9403
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
9404
          allow_undefined_flag="-z nodefs"
 
9405
          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"
 
9406
        else
 
9407
         # Determine the default libpath from the value encoded in an
 
9408
         # empty executable.
 
9409
         cat >conftest.$ac_ext <<_ACEOF
 
9410
/* confdefs.h.  */
 
9411
_ACEOF
 
9412
cat confdefs.h >>conftest.$ac_ext
 
9413
cat >>conftest.$ac_ext <<_ACEOF
 
9414
/* end confdefs.h.  */
 
9415
 
 
9416
int
 
9417
main ()
 
9418
{
 
9419
 
 
9420
  ;
 
9421
  return 0;
 
9422
}
 
9423
_ACEOF
 
9424
rm -f conftest.$ac_objext conftest$ac_exeext
 
9425
if { (ac_try="$ac_link"
 
9426
case "(($ac_try" in
 
9427
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9428
  *) ac_try_echo=$ac_try;;
 
9429
esac
 
9430
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9431
$as_echo "$ac_try_echo") >&5
 
9432
  (eval "$ac_link") 2>conftest.er1
 
9433
  ac_status=$?
 
9434
  grep -v '^ *+' conftest.er1 >conftest.err
 
9435
  rm -f conftest.er1
 
9436
  cat conftest.err >&5
 
9437
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9438
  (exit $ac_status); } && {
 
9439
         test -z "$ac_c_werror_flag" ||
 
9440
         test ! -s conftest.err
 
9441
       } && test -s conftest$ac_exeext && {
 
9442
         test "$cross_compiling" = yes ||
 
9443
         $as_test_x conftest$ac_exeext
 
9444
       }; then
 
9445
 
 
9446
lt_aix_libpath_sed='
 
9447
    /Import File Strings/,/^$/ {
 
9448
        /^0/ {
 
9449
            s/^0  *\(.*\)$/\1/
 
9450
            p
 
9451
        }
 
9452
    }'
 
9453
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9454
# Check for a 64-bit object if we didn't find anything.
 
9455
if test -z "$aix_libpath"; then
 
9456
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9457
fi
 
9458
else
 
9459
  $as_echo "$as_me: failed program was:" >&5
 
9460
sed 's/^/| /' conftest.$ac_ext >&5
 
9461
 
 
9462
 
 
9463
fi
 
9464
 
 
9465
rm -rf conftest.dSYM
 
9466
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9467
      conftest$ac_exeext conftest.$ac_ext
 
9468
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9469
 
 
9470
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9471
          # Warning - without using the other run time loading flags,
 
9472
          # -berok will link without error, but may produce a broken library.
 
9473
          no_undefined_flag=' ${wl}-bernotok'
 
9474
          allow_undefined_flag=' ${wl}-berok'
 
9475
          # Exported symbols can be pulled into shared objects from archives
 
9476
          whole_archive_flag_spec='$convenience'
 
9477
          archive_cmds_need_lc=yes
 
9478
          # This is similar to how AIX traditionally builds its shared libraries.
 
9479
          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'
 
9480
        fi
 
9481
      fi
 
9482
      ;;
 
9483
 
 
9484
    amigaos*)
 
9485
      case $host_cpu in
 
9486
      powerpc)
 
9487
            # see comment about AmigaOS4 .so support
 
9488
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9489
            archive_expsym_cmds=''
 
9490
        ;;
 
9491
      m68k)
 
9492
            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)'
 
9493
            hardcode_libdir_flag_spec='-L$libdir'
 
9494
            hardcode_minus_L=yes
 
9495
        ;;
 
9496
      esac
 
9497
      ;;
 
9498
 
 
9499
    bsdi[45]*)
 
9500
      export_dynamic_flag_spec=-rdynamic
 
9501
      ;;
 
9502
 
 
9503
    cygwin* | mingw* | pw32* | cegcc*)
 
9504
      # When not using gcc, we currently assume that we are using
 
9505
      # Microsoft Visual C++.
 
9506
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
9507
      # no search path for DLLs.
 
9508
      hardcode_libdir_flag_spec=' '
 
9509
      allow_undefined_flag=unsupported
 
9510
      # Tell ltmain to make .lib files, not .a files.
 
9511
      libext=lib
 
9512
      # Tell ltmain to make .dll files, not .so files.
 
9513
      shrext_cmds=".dll"
 
9514
      # FIXME: Setting linknames here is a bad hack.
 
9515
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
9516
      # The linker will automatically build a .lib file if we build a DLL.
 
9517
      old_archive_from_new_cmds='true'
 
9518
      # FIXME: Should let the user specify the lib program.
 
9519
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9520
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
9521
      enable_shared_with_static_runtimes=yes
 
9522
      ;;
 
9523
 
 
9524
    darwin* | rhapsody*)
 
9525
 
 
9526
 
 
9527
  archive_cmds_need_lc=no
 
9528
  hardcode_direct=no
 
9529
  hardcode_automatic=yes
 
9530
  hardcode_shlibpath_var=unsupported
 
9531
  whole_archive_flag_spec=''
 
9532
  link_all_deplibs=yes
 
9533
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
9534
  case $cc_basename in
 
9535
     ifort*) _lt_dar_can_shared=yes ;;
 
9536
     *) _lt_dar_can_shared=$GCC ;;
 
9537
  esac
 
9538
  if test "$_lt_dar_can_shared" = "yes"; then
 
9539
    output_verbose_link_cmd=echo
 
9540
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
9541
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
9542
    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}"
 
9543
    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}"
 
9544
 
 
9545
  else
 
9546
  ld_shlibs=no
 
9547
  fi
 
9548
 
 
9549
      ;;
 
9550
 
 
9551
    dgux*)
 
9552
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9553
      hardcode_libdir_flag_spec='-L$libdir'
 
9554
      hardcode_shlibpath_var=no
 
9555
      ;;
 
9556
 
 
9557
    freebsd1*)
 
9558
      ld_shlibs=no
 
9559
      ;;
 
9560
 
 
9561
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
9562
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
9563
    # does not break anything, and helps significantly (at the cost of a little
 
9564
    # extra space).
 
9565
    freebsd2.2*)
 
9566
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
9567
      hardcode_libdir_flag_spec='-R$libdir'
 
9568
      hardcode_direct=yes
 
9569
      hardcode_shlibpath_var=no
 
9570
      ;;
 
9571
 
 
9572
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
9573
    freebsd2*)
 
9574
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9575
      hardcode_direct=yes
 
9576
      hardcode_minus_L=yes
 
9577
      hardcode_shlibpath_var=no
 
9578
      ;;
 
9579
 
 
9580
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
9581
    freebsd* | dragonfly*)
 
9582
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
9583
      hardcode_libdir_flag_spec='-R$libdir'
 
9584
      hardcode_direct=yes
 
9585
      hardcode_shlibpath_var=no
 
9586
      ;;
 
9587
 
 
9588
    hpux9*)
 
9589
      if test "$GCC" = yes; then
 
9590
        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'
 
9591
      else
 
9592
        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'
 
9593
      fi
 
9594
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9595
      hardcode_libdir_separator=:
 
9596
      hardcode_direct=yes
 
9597
 
 
9598
      # hardcode_minus_L: Not really in the search PATH,
 
9599
      # but as the default location of the library.
 
9600
      hardcode_minus_L=yes
 
9601
      export_dynamic_flag_spec='${wl}-E'
 
9602
      ;;
 
9603
 
 
9604
    hpux10*)
 
9605
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9606
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9607
      else
 
9608
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9609
      fi
 
9610
      if test "$with_gnu_ld" = no; then
 
9611
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9612
        hardcode_libdir_flag_spec_ld='+b $libdir'
 
9613
        hardcode_libdir_separator=:
 
9614
        hardcode_direct=yes
 
9615
        hardcode_direct_absolute=yes
 
9616
        export_dynamic_flag_spec='${wl}-E'
 
9617
        # hardcode_minus_L: Not really in the search PATH,
 
9618
        # but as the default location of the library.
 
9619
        hardcode_minus_L=yes
 
9620
      fi
 
9621
      ;;
 
9622
 
 
9623
    hpux11*)
 
9624
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9625
        case $host_cpu in
 
9626
        hppa*64*)
 
9627
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9628
          ;;
 
9629
        ia64*)
 
9630
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9631
          ;;
 
9632
        *)
 
9633
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9634
          ;;
 
9635
        esac
 
9636
      else
 
9637
        case $host_cpu in
 
9638
        hppa*64*)
 
9639
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9640
          ;;
 
9641
        ia64*)
 
9642
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9643
          ;;
 
9644
        *)
 
9645
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9646
          ;;
 
9647
        esac
 
9648
      fi
 
9649
      if test "$with_gnu_ld" = no; then
 
9650
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9651
        hardcode_libdir_separator=:
 
9652
 
 
9653
        case $host_cpu in
 
9654
        hppa*64*|ia64*)
 
9655
          hardcode_direct=no
 
9656
          hardcode_shlibpath_var=no
 
9657
          ;;
 
9658
        *)
 
9659
          hardcode_direct=yes
 
9660
          hardcode_direct_absolute=yes
 
9661
          export_dynamic_flag_spec='${wl}-E'
 
9662
 
 
9663
          # hardcode_minus_L: Not really in the search PATH,
 
9664
          # but as the default location of the library.
 
9665
          hardcode_minus_L=yes
 
9666
          ;;
 
9667
        esac
 
9668
      fi
 
9669
      ;;
 
9670
 
 
9671
    irix5* | irix6* | nonstopux*)
 
9672
      if test "$GCC" = yes; then
 
9673
        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'
 
9674
        # Try to use the -exported_symbol ld option, if it does not
 
9675
        # work, assume that -exports_file does not work either and
 
9676
        # implicitly export all symbols.
 
9677
        save_LDFLAGS="$LDFLAGS"
 
9678
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9679
        cat >conftest.$ac_ext <<_ACEOF
 
9680
int foo(void) {}
 
9681
_ACEOF
 
9682
rm -f conftest.$ac_objext conftest$ac_exeext
 
9683
if { (ac_try="$ac_link"
 
9684
case "(($ac_try" in
 
9685
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9686
  *) ac_try_echo=$ac_try;;
 
9687
esac
 
9688
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9689
$as_echo "$ac_try_echo") >&5
 
9690
  (eval "$ac_link") 2>conftest.er1
 
9691
  ac_status=$?
 
9692
  grep -v '^ *+' conftest.er1 >conftest.err
 
9693
  rm -f conftest.er1
 
9694
  cat conftest.err >&5
 
9695
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9696
  (exit $ac_status); } && {
 
9697
         test -z "$ac_c_werror_flag" ||
 
9698
         test ! -s conftest.err
 
9699
       } && test -s conftest$ac_exeext && {
 
9700
         test "$cross_compiling" = yes ||
 
9701
         $as_test_x conftest$ac_exeext
 
9702
       }; then
 
9703
  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'
 
9704
 
 
9705
else
 
9706
  $as_echo "$as_me: failed program was:" >&5
 
9707
sed 's/^/| /' conftest.$ac_ext >&5
 
9708
 
 
9709
 
 
9710
fi
 
9711
 
 
9712
rm -rf conftest.dSYM
 
9713
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9714
      conftest$ac_exeext conftest.$ac_ext
 
9715
        LDFLAGS="$save_LDFLAGS"
 
9716
      else
 
9717
        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'
 
9718
        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'
 
9719
      fi
 
9720
      archive_cmds_need_lc='no'
 
9721
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9722
      hardcode_libdir_separator=:
 
9723
      inherit_rpath=yes
 
9724
      link_all_deplibs=yes
 
9725
      ;;
 
9726
 
 
9727
    netbsd* | netbsdelf*-gnu)
 
9728
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
9729
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
9730
      else
 
9731
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
9732
      fi
 
9733
      hardcode_libdir_flag_spec='-R$libdir'
 
9734
      hardcode_direct=yes
 
9735
      hardcode_shlibpath_var=no
 
9736
      ;;
 
9737
 
 
9738
    newsos6)
 
9739
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9740
      hardcode_direct=yes
 
9741
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9742
      hardcode_libdir_separator=:
 
9743
      hardcode_shlibpath_var=no
 
9744
      ;;
 
9745
 
 
9746
    *nto* | *qnx*)
 
9747
      ;;
 
9748
 
 
9749
    openbsd*)
 
9750
      if test -f /usr/libexec/ld.so; then
 
9751
        hardcode_direct=yes
 
9752
        hardcode_shlibpath_var=no
 
9753
        hardcode_direct_absolute=yes
 
9754
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9755
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9756
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
9757
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9758
          export_dynamic_flag_spec='${wl}-E'
 
9759
        else
 
9760
          case $host_os in
 
9761
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
9762
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9763
             hardcode_libdir_flag_spec='-R$libdir'
 
9764
             ;;
 
9765
           *)
 
9766
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9767
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9768
             ;;
 
9769
          esac
 
9770
        fi
 
9771
      else
 
9772
        ld_shlibs=no
 
9773
      fi
 
9774
      ;;
 
9775
 
 
9776
    os2*)
 
9777
      hardcode_libdir_flag_spec='-L$libdir'
 
9778
      hardcode_minus_L=yes
 
9779
      allow_undefined_flag=unsupported
 
9780
      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'
 
9781
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
9782
      ;;
 
9783
 
 
9784
    osf3*)
 
9785
      if test "$GCC" = yes; then
 
9786
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
9787
        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'
 
9788
      else
 
9789
        allow_undefined_flag=' -expect_unresolved \*'
 
9790
        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'
 
9791
      fi
 
9792
      archive_cmds_need_lc='no'
 
9793
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9794
      hardcode_libdir_separator=:
 
9795
      ;;
 
9796
 
 
9797
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
9798
      if test "$GCC" = yes; then
 
9799
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
9800
        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'
 
9801
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9802
      else
 
9803
        allow_undefined_flag=' -expect_unresolved \*'
 
9804
        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'
 
9805
        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~
 
9806
        $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'
 
9807
 
 
9808
        # Both c and cxx compiler support -rpath directly
 
9809
        hardcode_libdir_flag_spec='-rpath $libdir'
 
9810
      fi
 
9811
      archive_cmds_need_lc='no'
 
9812
      hardcode_libdir_separator=:
 
9813
      ;;
 
9814
 
 
9815
    solaris*)
 
9816
      no_undefined_flag=' -z defs'
 
9817
      if test "$GCC" = yes; then
 
9818
        wlarc='${wl}'
 
9819
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9820
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9821
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9822
      else
 
9823
        case `$CC -V 2>&1` in
 
9824
        *"Compilers 5.0"*)
 
9825
          wlarc=''
 
9826
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9827
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9828
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
9829
          ;;
 
9830
        *)
 
9831
          wlarc='${wl}'
 
9832
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9833
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9834
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9835
          ;;
 
9836
        esac
 
9837
      fi
 
9838
      hardcode_libdir_flag_spec='-R$libdir'
 
9839
      hardcode_shlibpath_var=no
 
9840
      case $host_os in
 
9841
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
9842
      *)
 
9843
        # The compiler driver will combine and reorder linker options,
 
9844
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
9845
        # but is careful enough not to reorder.
 
9846
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
9847
        if test "$GCC" = yes; then
 
9848
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
9849
        else
 
9850
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
9851
        fi
 
9852
        ;;
 
9853
      esac
 
9854
      link_all_deplibs=yes
 
9855
      ;;
 
9856
 
 
9857
    sunos4*)
 
9858
      if test "x$host_vendor" = xsequent; then
 
9859
        # Use $CC to link under sequent, because it throws in some extra .o
 
9860
        # files that make .init and .fini sections work.
 
9861
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9862
      else
 
9863
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
9864
      fi
 
9865
      hardcode_libdir_flag_spec='-L$libdir'
 
9866
      hardcode_direct=yes
 
9867
      hardcode_minus_L=yes
 
9868
      hardcode_shlibpath_var=no
 
9869
      ;;
 
9870
 
 
9871
    sysv4)
 
9872
      case $host_vendor in
 
9873
        sni)
 
9874
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9875
          hardcode_direct=yes # is this really true???
 
9876
        ;;
 
9877
        siemens)
 
9878
          ## LD is ld it makes a PLAMLIB
 
9879
          ## CC just makes a GrossModule.
 
9880
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
9881
          reload_cmds='$CC -r -o $output$reload_objs'
 
9882
          hardcode_direct=no
 
9883
        ;;
 
9884
        motorola)
 
9885
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9886
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
9887
        ;;
 
9888
      esac
 
9889
      runpath_var='LD_RUN_PATH'
 
9890
      hardcode_shlibpath_var=no
 
9891
      ;;
 
9892
 
 
9893
    sysv4.3*)
 
9894
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9895
      hardcode_shlibpath_var=no
 
9896
      export_dynamic_flag_spec='-Bexport'
 
9897
      ;;
 
9898
 
 
9899
    sysv4*MP*)
 
9900
      if test -d /usr/nec; then
 
9901
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9902
        hardcode_shlibpath_var=no
 
9903
        runpath_var=LD_RUN_PATH
 
9904
        hardcode_runpath_var=yes
 
9905
        ld_shlibs=yes
 
9906
      fi
 
9907
      ;;
 
9908
 
 
9909
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
9910
      no_undefined_flag='${wl}-z,text'
 
9911
      archive_cmds_need_lc=no
 
9912
      hardcode_shlibpath_var=no
 
9913
      runpath_var='LD_RUN_PATH'
 
9914
 
 
9915
      if test "$GCC" = yes; then
 
9916
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9917
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9918
      else
 
9919
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9920
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9921
      fi
 
9922
      ;;
 
9923
 
 
9924
    sysv5* | sco3.2v5* | sco5v6*)
 
9925
      # Note: We can NOT use -z defs as we might desire, because we do not
 
9926
      # link with -lc, and that would cause any symbols used from libc to
 
9927
      # always be unresolved, which means just about no library would
 
9928
      # ever link correctly.  If we're not using GNU ld we use -z text
 
9929
      # though, which does catch some bad symbols but isn't as heavy-handed
 
9930
      # as -z defs.
 
9931
      no_undefined_flag='${wl}-z,text'
 
9932
      allow_undefined_flag='${wl}-z,nodefs'
 
9933
      archive_cmds_need_lc=no
 
9934
      hardcode_shlibpath_var=no
 
9935
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
9936
      hardcode_libdir_separator=':'
 
9937
      link_all_deplibs=yes
 
9938
      export_dynamic_flag_spec='${wl}-Bexport'
 
9939
      runpath_var='LD_RUN_PATH'
 
9940
 
 
9941
      if test "$GCC" = yes; then
 
9942
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9943
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9944
      else
 
9945
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9946
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9947
      fi
 
9948
      ;;
 
9949
 
 
9950
    uts4*)
 
9951
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9952
      hardcode_libdir_flag_spec='-L$libdir'
 
9953
      hardcode_shlibpath_var=no
 
9954
      ;;
 
9955
 
 
9956
    *)
 
9957
      ld_shlibs=no
 
9958
      ;;
 
9959
    esac
 
9960
 
 
9961
    if test x$host_vendor = xsni; then
 
9962
      case $host in
 
9963
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
9964
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
9965
        ;;
 
9966
      esac
 
9967
    fi
 
9968
  fi
 
9969
 
 
9970
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9971
$as_echo "$ld_shlibs" >&6; }
 
9972
test "$ld_shlibs" = no && can_build_shared=no
 
9973
 
 
9974
with_gnu_ld=$with_gnu_ld
 
9975
 
 
9976
 
 
9977
 
 
9978
 
 
9979
 
 
9980
 
 
9981
 
 
9982
 
 
9983
 
 
9984
 
 
9985
 
 
9986
 
 
9987
 
 
9988
 
 
9989
 
 
9990
#
 
9991
# Do we need to explicitly link libc?
 
9992
#
 
9993
case "x$archive_cmds_need_lc" in
 
9994
x|xyes)
 
9995
  # Assume -lc should be added
 
9996
  archive_cmds_need_lc=yes
 
9997
 
 
9998
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
9999
    case $archive_cmds in
 
10000
    *'~'*)
 
10001
      # FIXME: we may have to deal with multi-command sequences.
 
10002
      ;;
 
10003
    '$CC '*)
 
10004
      # Test whether the compiler implicitly links with -lc since on some
 
10005
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
10006
      # to ld, don't add -lc before -lgcc.
 
10007
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
10008
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
10009
      $RM conftest*
 
10010
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10011
 
 
10012
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10013
  (eval $ac_compile) 2>&5
 
10014
  ac_status=$?
 
10015
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10016
  (exit $ac_status); } 2>conftest.err; then
 
10017
        soname=conftest
 
10018
        lib=conftest
 
10019
        libobjs=conftest.$ac_objext
 
10020
        deplibs=
 
10021
        wl=$lt_prog_compiler_wl
 
10022
        pic_flag=$lt_prog_compiler_pic
 
10023
        compiler_flags=-v
 
10024
        linker_flags=-v
 
10025
        verstring=
 
10026
        output_objdir=.
 
10027
        libname=conftest
 
10028
        lt_save_allow_undefined_flag=$allow_undefined_flag
 
10029
        allow_undefined_flag=
 
10030
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
10031
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
10032
  ac_status=$?
 
10033
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10034
  (exit $ac_status); }
 
10035
        then
 
10036
          archive_cmds_need_lc=no
 
10037
        else
 
10038
          archive_cmds_need_lc=yes
 
10039
        fi
 
10040
        allow_undefined_flag=$lt_save_allow_undefined_flag
 
10041
      else
 
10042
        cat conftest.err 1>&5
 
10043
      fi
 
10044
      $RM conftest*
 
10045
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
10046
$as_echo "$archive_cmds_need_lc" >&6; }
 
10047
      ;;
 
10048
    esac
 
10049
  fi
 
10050
  ;;
 
10051
esac
 
10052
 
 
10053
 
 
10054
 
 
10055
 
 
10056
 
 
10057
 
 
10058
 
 
10059
 
 
10060
 
 
10061
 
 
10062
 
 
10063
 
 
10064
 
 
10065
 
 
10066
 
 
10067
 
 
10068
 
 
10069
 
 
10070
 
 
10071
 
 
10072
 
 
10073
 
 
10074
 
 
10075
 
 
10076
 
 
10077
 
 
10078
 
 
10079
 
 
10080
 
 
10081
 
 
10082
 
 
10083
 
 
10084
 
 
10085
 
 
10086
 
 
10087
 
 
10088
 
 
10089
 
 
10090
 
 
10091
 
 
10092
 
 
10093
 
 
10094
 
 
10095
 
 
10096
 
 
10097
 
 
10098
 
 
10099
 
 
10100
 
 
10101
 
 
10102
 
 
10103
 
 
10104
 
 
10105
 
 
10106
 
 
10107
 
 
10108
 
 
10109
 
 
10110
 
 
10111
 
 
10112
 
 
10113
 
 
10114
 
 
10115
 
 
10116
 
 
10117
 
 
10118
 
 
10119
 
 
10120
 
 
10121
 
 
10122
 
 
10123
 
 
10124
 
 
10125
 
 
10126
 
 
10127
 
 
10128
 
 
10129
 
 
10130
 
 
10131
 
 
10132
 
 
10133
 
 
10134
 
 
10135
 
 
10136
 
 
10137
 
 
10138
 
 
10139
 
 
10140
 
 
10141
 
 
10142
 
 
10143
 
 
10144
 
 
10145
 
 
10146
 
 
10147
 
 
10148
 
 
10149
 
 
10150
 
 
10151
 
 
10152
 
 
10153
 
 
10154
 
 
10155
 
 
10156
 
 
10157
 
 
10158
 
 
10159
 
 
10160
 
 
10161
 
 
10162
 
 
10163
 
 
10164
 
 
10165
 
 
10166
 
 
10167
 
 
10168
 
 
10169
 
 
10170
 
 
10171
 
 
10172
 
 
10173
 
 
10174
 
 
10175
 
 
10176
 
 
10177
 
 
10178
 
 
10179
 
 
10180
 
 
10181
 
 
10182
 
 
10183
 
 
10184
 
 
10185
 
 
10186
 
 
10187
 
 
10188
 
 
10189
 
 
10190
 
 
10191
 
 
10192
 
 
10193
 
 
10194
 
 
10195
 
 
10196
 
 
10197
 
 
10198
 
 
10199
 
 
10200
 
 
10201
 
 
10202
 
 
10203
 
 
10204
 
 
10205
 
 
10206
 
 
10207
 
 
10208
 
 
10209
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10210
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
10211
 
 
10212
if test "$GCC" = yes; then
 
10213
  case $host_os in
 
10214
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
10215
    *) lt_awk_arg="/^libraries:/" ;;
 
10216
  esac
 
10217
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10218
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10219
    # if the path contains ";" then we assume it to be the separator
 
10220
    # otherwise default to the standard path separator (i.e. ":") - it is
 
10221
    # assumed that no part of a normal pathname contains ";" but that should
 
10222
    # okay in the real world where ";" in dirpaths is itself problematic.
 
10223
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
10224
  else
 
10225
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10226
  fi
 
10227
  # Ok, now we have the path, separated by spaces, we can step through it
 
10228
  # and add multilib dir if necessary.
 
10229
  lt_tmp_lt_search_path_spec=
 
10230
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
10231
  for lt_sys_path in $lt_search_path_spec; do
 
10232
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
10233
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
10234
    else
 
10235
      test -d "$lt_sys_path" && \
 
10236
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
10237
    fi
 
10238
  done
 
10239
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10240
BEGIN {RS=" "; FS="/|\n";} {
 
10241
  lt_foo="";
 
10242
  lt_count=0;
 
10243
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
10244
    if ($lt_i != "" && $lt_i != ".") {
 
10245
      if ($lt_i == "..") {
 
10246
        lt_count++;
 
10247
      } else {
 
10248
        if (lt_count == 0) {
 
10249
          lt_foo="/" $lt_i lt_foo;
 
10250
        } else {
 
10251
          lt_count--;
 
10252
        }
 
10253
      }
 
10254
    }
 
10255
  }
 
10256
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
10257
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
10258
}'`
 
10259
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10260
else
 
10261
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
10262
fi
 
10263
library_names_spec=
 
10264
libname_spec='lib$name'
 
10265
soname_spec=
 
10266
shrext_cmds=".so"
 
10267
postinstall_cmds=
 
10268
postuninstall_cmds=
 
10269
finish_cmds=
 
10270
finish_eval=
 
10271
shlibpath_var=
 
10272
shlibpath_overrides_runpath=unknown
 
10273
version_type=none
 
10274
dynamic_linker="$host_os ld.so"
 
10275
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
10276
need_lib_prefix=unknown
 
10277
hardcode_into_libs=no
 
10278
 
 
10279
# when you set need_version to no, make sure it does not cause -set_version
 
10280
# flags to be left without arguments
 
10281
need_version=unknown
 
10282
 
 
10283
case $host_os in
 
10284
aix3*)
 
10285
  version_type=linux
 
10286
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
10287
  shlibpath_var=LIBPATH
 
10288
 
 
10289
  # AIX 3 has no versioning support, so we append a major version to the name.
 
10290
  soname_spec='${libname}${release}${shared_ext}$major'
 
10291
  ;;
 
10292
 
 
10293
aix[4-9]*)
 
10294
  version_type=linux
 
10295
  need_lib_prefix=no
 
10296
  need_version=no
 
10297
  hardcode_into_libs=yes
 
10298
  if test "$host_cpu" = ia64; then
 
10299
    # AIX 5 supports IA64
 
10300
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
10301
    shlibpath_var=LD_LIBRARY_PATH
 
10302
  else
 
10303
    # With GCC up to 2.95.x, collect2 would create an import file
 
10304
    # for dependence libraries.  The import file would start with
 
10305
    # the line `#! .'.  This would cause the generated library to
 
10306
    # depend on `.', always an invalid library.  This was fixed in
 
10307
    # development snapshots of GCC prior to 3.0.
 
10308
    case $host_os in
 
10309
      aix4 | aix4.[01] | aix4.[01].*)
 
10310
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
10311
           echo ' yes '
 
10312
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
10313
        :
 
10314
      else
 
10315
        can_build_shared=no
 
10316
      fi
 
10317
      ;;
 
10318
    esac
 
10319
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
10320
    # soname into executable. Probably we can add versioning support to
 
10321
    # collect2, so additional links can be useful in future.
 
10322
    if test "$aix_use_runtimelinking" = yes; then
 
10323
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
10324
      # instead of lib<name>.a to let people know that these are not
 
10325
      # typical AIX shared libraries.
 
10326
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10327
    else
 
10328
      # We preserve .a as extension for shared libraries through AIX4.2
 
10329
      # and later when we are not doing run time linking.
 
10330
      library_names_spec='${libname}${release}.a $libname.a'
 
10331
      soname_spec='${libname}${release}${shared_ext}$major'
 
10332
    fi
 
10333
    shlibpath_var=LIBPATH
 
10334
  fi
 
10335
  ;;
 
10336
 
 
10337
amigaos*)
 
10338
  case $host_cpu in
 
10339
  powerpc)
 
10340
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
10341
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
10342
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10343
    ;;
 
10344
  m68k)
 
10345
    library_names_spec='$libname.ixlibrary $libname.a'
 
10346
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
10347
    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'
 
10348
    ;;
 
10349
  esac
 
10350
  ;;
 
10351
 
 
10352
beos*)
 
10353
  library_names_spec='${libname}${shared_ext}'
 
10354
  dynamic_linker="$host_os ld.so"
 
10355
  shlibpath_var=LIBRARY_PATH
 
10356
  ;;
 
10357
 
 
10358
bsdi[45]*)
 
10359
  version_type=linux
 
10360
  need_version=no
 
10361
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10362
  soname_spec='${libname}${release}${shared_ext}$major'
 
10363
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
10364
  shlibpath_var=LD_LIBRARY_PATH
 
10365
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
10366
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
10367
  # the default ld.so.conf also contains /usr/contrib/lib and
 
10368
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
10369
  # libtool to hard-code these into programs
 
10370
  ;;
 
10371
 
 
10372
cygwin* | mingw* | pw32* | cegcc*)
 
10373
  version_type=windows
 
10374
  shrext_cmds=".dll"
 
10375
  need_version=no
 
10376
  need_lib_prefix=no
 
10377
 
 
10378
  case $GCC,$host_os in
 
10379
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
10380
    library_names_spec='$libname.dll.a'
 
10381
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10382
    postinstall_cmds='base_file=`basename \${file}`~
 
10383
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10384
      dldir=$destdir/`dirname \$dlpath`~
 
10385
      test -d \$dldir || mkdir -p \$dldir~
 
10386
      $install_prog $dir/$dlname \$dldir/$dlname~
 
10387
      chmod a+x \$dldir/$dlname~
 
10388
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
10389
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
10390
      fi'
 
10391
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10392
      dlpath=$dir/\$dldll~
 
10393
       $RM \$dlpath'
 
10394
    shlibpath_overrides_runpath=yes
 
10395
 
 
10396
    case $host_os in
 
10397
    cygwin*)
 
10398
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
10399
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10400
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
10401
      ;;
 
10402
    mingw* | cegcc*)
 
10403
      # MinGW DLLs use traditional 'lib' prefix
 
10404
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10405
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10406
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10407
        # It is most probably a Windows format PATH printed by
 
10408
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
10409
        # path with ; separators, and with drive letters. We can handle the
 
10410
        # drive letters (cygwin fileutils understands them), so leave them,
 
10411
        # especially as we might pass files found there to a mingw objdump,
 
10412
        # which wouldn't understand a cygwinified path. Ahh.
 
10413
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10414
      else
 
10415
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10416
      fi
 
10417
      ;;
 
10418
    pw32*)
 
10419
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
10420
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10421
      ;;
 
10422
    esac
 
10423
    ;;
 
10424
 
 
10425
  *)
 
10426
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10427
    ;;
 
10428
  esac
 
10429
  dynamic_linker='Win32 ld.exe'
 
10430
  # FIXME: first we should search . and the directory the executable is in
 
10431
  shlibpath_var=PATH
 
10432
  ;;
 
10433
 
 
10434
darwin* | rhapsody*)
 
10435
  dynamic_linker="$host_os dyld"
 
10436
  version_type=darwin
 
10437
  need_lib_prefix=no
 
10438
  need_version=no
 
10439
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
10440
  soname_spec='${libname}${release}${major}$shared_ext'
 
10441
  shlibpath_overrides_runpath=yes
 
10442
  shlibpath_var=DYLD_LIBRARY_PATH
 
10443
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
10444
 
 
10445
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
10446
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
10447
  ;;
 
10448
 
 
10449
dgux*)
 
10450
  version_type=linux
 
10451
  need_lib_prefix=no
 
10452
  need_version=no
 
10453
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
10454
  soname_spec='${libname}${release}${shared_ext}$major'
 
10455
  shlibpath_var=LD_LIBRARY_PATH
 
10456
  ;;
 
10457
 
 
10458
freebsd1*)
 
10459
  dynamic_linker=no
 
10460
  ;;
 
10461
 
 
10462
freebsd* | dragonfly*)
 
10463
  # DragonFly does not have aout.  When/if they implement a new
 
10464
  # versioning mechanism, adjust this.
 
10465
  if test -x /usr/bin/objformat; then
 
10466
    objformat=`/usr/bin/objformat`
 
10467
  else
 
10468
    case $host_os in
 
10469
    freebsd[123]*) objformat=aout ;;
 
10470
    *) objformat=elf ;;
 
10471
    esac
 
10472
  fi
 
10473
  version_type=freebsd-$objformat
 
10474
  case $version_type in
 
10475
    freebsd-elf*)
 
10476
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10477
      need_version=no
 
10478
      need_lib_prefix=no
 
10479
      ;;
 
10480
    freebsd-*)
 
10481
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
10482
      need_version=yes
 
10483
      ;;
 
10484
  esac
 
10485
  shlibpath_var=LD_LIBRARY_PATH
 
10486
  case $host_os in
 
10487
  freebsd2*)
 
10488
    shlibpath_overrides_runpath=yes
 
10489
    ;;
 
10490
  freebsd3.[01]* | freebsdelf3.[01]*)
 
10491
    shlibpath_overrides_runpath=yes
 
10492
    hardcode_into_libs=yes
 
10493
    ;;
 
10494
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
10495
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
10496
    shlibpath_overrides_runpath=no
 
10497
    hardcode_into_libs=yes
 
10498
    ;;
 
10499
  *) # from 4.6 on, and DragonFly
 
10500
    shlibpath_overrides_runpath=yes
 
10501
    hardcode_into_libs=yes
 
10502
    ;;
 
10503
  esac
 
10504
  ;;
 
10505
 
 
10506
gnu*)
 
10507
  version_type=linux
 
10508
  need_lib_prefix=no
 
10509
  need_version=no
 
10510
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10511
  soname_spec='${libname}${release}${shared_ext}$major'
 
10512
  shlibpath_var=LD_LIBRARY_PATH
 
10513
  hardcode_into_libs=yes
 
10514
  ;;
 
10515
 
 
10516
hpux9* | hpux10* | hpux11*)
 
10517
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
10518
  # link against other versions.
 
10519
  version_type=sunos
 
10520
  need_lib_prefix=no
 
10521
  need_version=no
 
10522
  case $host_cpu in
 
10523
  ia64*)
 
10524
    shrext_cmds='.so'
 
10525
    hardcode_into_libs=yes
 
10526
    dynamic_linker="$host_os dld.so"
 
10527
    shlibpath_var=LD_LIBRARY_PATH
 
10528
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10529
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10530
    soname_spec='${libname}${release}${shared_ext}$major'
 
10531
    if test "X$HPUX_IA64_MODE" = X32; then
 
10532
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
10533
    else
 
10534
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
10535
    fi
 
10536
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10537
    ;;
 
10538
  hppa*64*)
 
10539
    shrext_cmds='.sl'
 
10540
    hardcode_into_libs=yes
 
10541
    dynamic_linker="$host_os dld.sl"
 
10542
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
10543
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10544
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10545
    soname_spec='${libname}${release}${shared_ext}$major'
 
10546
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
10547
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10548
    ;;
 
10549
  *)
 
10550
    shrext_cmds='.sl'
 
10551
    dynamic_linker="$host_os dld.sl"
 
10552
    shlibpath_var=SHLIB_PATH
 
10553
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
10554
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10555
    soname_spec='${libname}${release}${shared_ext}$major'
 
10556
    ;;
 
10557
  esac
 
10558
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
10559
  postinstall_cmds='chmod 555 $lib'
 
10560
  ;;
 
10561
 
 
10562
interix[3-9]*)
 
10563
  version_type=linux
 
10564
  need_lib_prefix=no
 
10565
  need_version=no
 
10566
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10567
  soname_spec='${libname}${release}${shared_ext}$major'
 
10568
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
10569
  shlibpath_var=LD_LIBRARY_PATH
 
10570
  shlibpath_overrides_runpath=no
 
10571
  hardcode_into_libs=yes
 
10572
  ;;
 
10573
 
 
10574
irix5* | irix6* | nonstopux*)
 
10575
  case $host_os in
 
10576
    nonstopux*) version_type=nonstopux ;;
 
10577
    *)
 
10578
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
10579
                version_type=linux
 
10580
        else
 
10581
                version_type=irix
 
10582
        fi ;;
 
10583
  esac
 
10584
  need_lib_prefix=no
 
10585
  need_version=no
 
10586
  soname_spec='${libname}${release}${shared_ext}$major'
 
10587
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10588
  case $host_os in
 
10589
  irix5* | nonstopux*)
 
10590
    libsuff= shlibsuff=
 
10591
    ;;
 
10592
  *)
 
10593
    case $LD in # libtool.m4 will add one of these switches to LD
 
10594
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
10595
      libsuff= shlibsuff= libmagic=32-bit;;
 
10596
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
10597
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
10598
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
10599
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
10600
    *) libsuff= shlibsuff= libmagic=never-match;;
 
10601
    esac
 
10602
    ;;
 
10603
  esac
 
10604
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
10605
  shlibpath_overrides_runpath=no
 
10606
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
10607
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
10608
  hardcode_into_libs=yes
 
10609
  ;;
 
10610
 
 
10611
# No shared lib support for Linux oldld, aout, or coff.
 
10612
linux*oldld* | linux*aout* | linux*coff*)
 
10613
  dynamic_linker=no
 
10614
  ;;
 
10615
 
 
10616
# This must be Linux ELF.
 
10617
linux* | k*bsd*-gnu)
 
10618
  version_type=linux
 
10619
  need_lib_prefix=no
 
10620
  need_version=no
 
10621
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10622
  soname_spec='${libname}${release}${shared_ext}$major'
 
10623
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
10624
  shlibpath_var=LD_LIBRARY_PATH
 
10625
  shlibpath_overrides_runpath=no
 
10626
  # Some binutils ld are patched to set DT_RUNPATH
 
10627
  save_LDFLAGS=$LDFLAGS
 
10628
  save_libdir=$libdir
 
10629
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10630
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10631
  cat >conftest.$ac_ext <<_ACEOF
 
10632
/* confdefs.h.  */
 
10633
_ACEOF
 
10634
cat confdefs.h >>conftest.$ac_ext
 
10635
cat >>conftest.$ac_ext <<_ACEOF
 
10636
/* end confdefs.h.  */
 
10637
 
 
10638
int
 
10639
main ()
 
10640
{
 
10641
 
 
10642
  ;
 
10643
  return 0;
 
10644
}
 
10645
_ACEOF
 
10646
rm -f conftest.$ac_objext conftest$ac_exeext
 
10647
if { (ac_try="$ac_link"
 
10648
case "(($ac_try" in
 
10649
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10650
  *) ac_try_echo=$ac_try;;
 
10651
esac
 
10652
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10653
$as_echo "$ac_try_echo") >&5
 
10654
  (eval "$ac_link") 2>conftest.er1
 
10655
  ac_status=$?
 
10656
  grep -v '^ *+' conftest.er1 >conftest.err
 
10657
  rm -f conftest.er1
 
10658
  cat conftest.err >&5
 
10659
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10660
  (exit $ac_status); } && {
 
10661
         test -z "$ac_c_werror_flag" ||
 
10662
         test ! -s conftest.err
 
10663
       } && test -s conftest$ac_exeext && {
 
10664
         test "$cross_compiling" = yes ||
 
10665
         $as_test_x conftest$ac_exeext
 
10666
       }; then
 
10667
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
10668
  shlibpath_overrides_runpath=yes
 
10669
fi
 
10670
 
 
10671
else
 
10672
  $as_echo "$as_me: failed program was:" >&5
 
10673
sed 's/^/| /' conftest.$ac_ext >&5
 
10674
 
 
10675
 
 
10676
fi
 
10677
 
 
10678
rm -rf conftest.dSYM
 
10679
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10680
      conftest$ac_exeext conftest.$ac_ext
 
10681
  LDFLAGS=$save_LDFLAGS
 
10682
  libdir=$save_libdir
 
10683
 
 
10684
  # This implies no fast_install, which is unacceptable.
 
10685
  # Some rework will be needed to allow for fast_install
 
10686
  # before this can be enabled.
 
10687
  hardcode_into_libs=yes
 
10688
 
 
10689
  # Append ld.so.conf contents to the search path
 
10690
  if test -f /etc/ld.so.conf; then
 
10691
    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' ' '`
 
10692
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
10693
  fi
 
10694
 
 
10695
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
10696
  # powerpc, because MkLinux only supported shared libraries with the
 
10697
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
10698
  # most powerpc-linux boxes support dynamic linking these days and
 
10699
  # people can always --disable-shared, the test was removed, and we
 
10700
  # assume the GNU/Linux dynamic linker is in use.
 
10701
  dynamic_linker='GNU/Linux ld.so'
 
10702
  ;;
 
10703
 
 
10704
netbsdelf*-gnu)
 
10705
  version_type=linux
 
10706
  need_lib_prefix=no
 
10707
  need_version=no
 
10708
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10709
  soname_spec='${libname}${release}${shared_ext}$major'
 
10710
  shlibpath_var=LD_LIBRARY_PATH
 
10711
  shlibpath_overrides_runpath=no
 
10712
  hardcode_into_libs=yes
 
10713
  dynamic_linker='NetBSD ld.elf_so'
 
10714
  ;;
 
10715
 
 
10716
netbsd*)
 
10717
  version_type=sunos
 
10718
  need_lib_prefix=no
 
10719
  need_version=no
 
10720
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
10721
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10722
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
10723
    dynamic_linker='NetBSD (a.out) ld.so'
 
10724
  else
 
10725
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10726
    soname_spec='${libname}${release}${shared_ext}$major'
 
10727
    dynamic_linker='NetBSD ld.elf_so'
 
10728
  fi
 
10729
  shlibpath_var=LD_LIBRARY_PATH
 
10730
  shlibpath_overrides_runpath=yes
 
10731
  hardcode_into_libs=yes
 
10732
  ;;
 
10733
 
 
10734
newsos6)
 
10735
  version_type=linux
 
10736
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10737
  shlibpath_var=LD_LIBRARY_PATH
 
10738
  shlibpath_overrides_runpath=yes
 
10739
  ;;
 
10740
 
 
10741
*nto* | *qnx*)
 
10742
  version_type=qnx
 
10743
  need_lib_prefix=no
 
10744
  need_version=no
 
10745
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10746
  soname_spec='${libname}${release}${shared_ext}$major'
 
10747
  shlibpath_var=LD_LIBRARY_PATH
 
10748
  shlibpath_overrides_runpath=no
 
10749
  hardcode_into_libs=yes
 
10750
  dynamic_linker='ldqnx.so'
 
10751
  ;;
 
10752
 
 
10753
openbsd*)
 
10754
  version_type=sunos
 
10755
  sys_lib_dlsearch_path_spec="/usr/lib"
 
10756
  need_lib_prefix=no
 
10757
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
10758
  case $host_os in
 
10759
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
10760
    *)                          need_version=no  ;;
 
10761
  esac
 
10762
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10763
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
10764
  shlibpath_var=LD_LIBRARY_PATH
 
10765
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10766
    case $host_os in
 
10767
      openbsd2.[89] | openbsd2.[89].*)
 
10768
        shlibpath_overrides_runpath=no
 
10769
        ;;
 
10770
      *)
 
10771
        shlibpath_overrides_runpath=yes
 
10772
        ;;
 
10773
      esac
 
10774
  else
 
10775
    shlibpath_overrides_runpath=yes
 
10776
  fi
 
10777
  ;;
 
10778
 
 
10779
os2*)
 
10780
  libname_spec='$name'
 
10781
  shrext_cmds=".dll"
 
10782
  need_lib_prefix=no
 
10783
  library_names_spec='$libname${shared_ext} $libname.a'
 
10784
  dynamic_linker='OS/2 ld.exe'
 
10785
  shlibpath_var=LIBPATH
 
10786
  ;;
 
10787
 
 
10788
osf3* | osf4* | osf5*)
 
10789
  version_type=osf
 
10790
  need_lib_prefix=no
 
10791
  need_version=no
 
10792
  soname_spec='${libname}${release}${shared_ext}$major'
 
10793
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10794
  shlibpath_var=LD_LIBRARY_PATH
 
10795
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
10796
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
10797
  ;;
 
10798
 
 
10799
rdos*)
 
10800
  dynamic_linker=no
 
10801
  ;;
 
10802
 
 
10803
solaris*)
 
10804
  version_type=linux
 
10805
  need_lib_prefix=no
 
10806
  need_version=no
 
10807
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10808
  soname_spec='${libname}${release}${shared_ext}$major'
 
10809
  shlibpath_var=LD_LIBRARY_PATH
 
10810
  shlibpath_overrides_runpath=yes
 
10811
  hardcode_into_libs=yes
 
10812
  # ldd complains unless libraries are executable
 
10813
  postinstall_cmds='chmod +x $lib'
 
10814
  ;;
 
10815
 
 
10816
sunos4*)
 
10817
  version_type=sunos
 
10818
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10819
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
10820
  shlibpath_var=LD_LIBRARY_PATH
 
10821
  shlibpath_overrides_runpath=yes
 
10822
  if test "$with_gnu_ld" = yes; then
 
10823
    need_lib_prefix=no
 
10824
  fi
 
10825
  need_version=yes
 
10826
  ;;
 
10827
 
 
10828
sysv4 | sysv4.3*)
 
10829
  version_type=linux
 
10830
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10831
  soname_spec='${libname}${release}${shared_ext}$major'
 
10832
  shlibpath_var=LD_LIBRARY_PATH
 
10833
  case $host_vendor in
 
10834
    sni)
 
10835
      shlibpath_overrides_runpath=no
 
10836
      need_lib_prefix=no
 
10837
      runpath_var=LD_RUN_PATH
 
10838
      ;;
 
10839
    siemens)
 
10840
      need_lib_prefix=no
 
10841
      ;;
 
10842
    motorola)
 
10843
      need_lib_prefix=no
 
10844
      need_version=no
 
10845
      shlibpath_overrides_runpath=no
 
10846
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
10847
      ;;
 
10848
  esac
 
10849
  ;;
 
10850
 
 
10851
sysv4*MP*)
 
10852
  if test -d /usr/nec ;then
 
10853
    version_type=linux
 
10854
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
10855
    soname_spec='$libname${shared_ext}.$major'
 
10856
    shlibpath_var=LD_LIBRARY_PATH
 
10857
  fi
 
10858
  ;;
 
10859
 
 
10860
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
10861
  version_type=freebsd-elf
 
10862
  need_lib_prefix=no
 
10863
  need_version=no
 
10864
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10865
  soname_spec='${libname}${release}${shared_ext}$major'
 
10866
  shlibpath_var=LD_LIBRARY_PATH
 
10867
  shlibpath_overrides_runpath=yes
 
10868
  hardcode_into_libs=yes
 
10869
  if test "$with_gnu_ld" = yes; then
 
10870
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
10871
  else
 
10872
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
10873
    case $host_os in
 
10874
      sco3.2v5*)
 
10875
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
10876
        ;;
 
10877
    esac
 
10878
  fi
 
10879
  sys_lib_dlsearch_path_spec='/usr/lib'
 
10880
  ;;
 
10881
 
 
10882
tpf*)
 
10883
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
10884
  version_type=linux
 
10885
  need_lib_prefix=no
 
10886
  need_version=no
 
10887
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10888
  shlibpath_var=LD_LIBRARY_PATH
 
10889
  shlibpath_overrides_runpath=no
 
10890
  hardcode_into_libs=yes
 
10891
  ;;
 
10892
 
 
10893
uts4*)
 
10894
  version_type=linux
 
10895
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10896
  soname_spec='${libname}${release}${shared_ext}$major'
 
10897
  shlibpath_var=LD_LIBRARY_PATH
 
10898
  ;;
 
10899
 
 
10900
*)
 
10901
  dynamic_linker=no
 
10902
  ;;
 
10903
esac
 
10904
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
10905
$as_echo "$dynamic_linker" >&6; }
 
10906
test "$dynamic_linker" = no && can_build_shared=no
 
10907
 
 
10908
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
10909
if test "$GCC" = yes; then
 
10910
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
10911
fi
 
10912
 
 
10913
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
10914
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
10915
fi
 
10916
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
10917
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
10918
fi
 
10919
 
 
10920
 
 
10921
 
 
10922
 
 
10923
 
 
10924
 
 
10925
 
 
10926
 
 
10927
 
 
10928
 
 
10929
 
 
10930
 
 
10931
 
 
10932
 
 
10933
 
 
10934
 
 
10935
 
 
10936
 
 
10937
 
 
10938
 
 
10939
 
 
10940
 
 
10941
 
 
10942
 
 
10943
 
 
10944
 
 
10945
 
 
10946
 
 
10947
 
 
10948
 
 
10949
 
 
10950
 
 
10951
 
 
10952
 
 
10953
 
 
10954
 
 
10955
 
 
10956
 
 
10957
 
 
10958
 
 
10959
 
 
10960
 
 
10961
 
 
10962
 
 
10963
 
 
10964
 
 
10965
 
 
10966
 
 
10967
 
 
10968
 
 
10969
 
 
10970
 
 
10971
 
 
10972
 
 
10973
 
 
10974
 
 
10975
 
 
10976
 
 
10977
 
 
10978
 
 
10979
 
 
10980
 
 
10981
 
 
10982
 
 
10983
 
 
10984
 
 
10985
 
 
10986
 
 
10987
 
 
10988
 
 
10989
 
 
10990
 
 
10991
 
 
10992
 
 
10993
 
 
10994
 
 
10995
 
 
10996
 
 
10997
 
 
10998
 
 
10999
 
 
11000
 
 
11001
 
 
11002
 
 
11003
 
 
11004
 
 
11005
 
 
11006
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
11007
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
11008
hardcode_action=
 
11009
if test -n "$hardcode_libdir_flag_spec" ||
 
11010
   test -n "$runpath_var" ||
 
11011
   test "X$hardcode_automatic" = "Xyes" ; then
 
11012
 
 
11013
  # We can hardcode non-existent directories.
 
11014
  if test "$hardcode_direct" != no &&
 
11015
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
11016
     # have to relink, otherwise we might link with an installed library
 
11017
     # when we should be linking with a yet-to-be-installed one
 
11018
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
11019
     test "$hardcode_minus_L" != no; then
 
11020
    # Linking always hardcodes the temporary library directory.
 
11021
    hardcode_action=relink
 
11022
  else
 
11023
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
11024
    hardcode_action=immediate
 
11025
  fi
 
11026
else
 
11027
  # We cannot hardcode anything, or else we can only hardcode existing
 
11028
  # directories.
 
11029
  hardcode_action=unsupported
 
11030
fi
 
11031
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
11032
$as_echo "$hardcode_action" >&6; }
 
11033
 
 
11034
if test "$hardcode_action" = relink ||
 
11035
   test "$inherit_rpath" = yes; then
 
11036
  # Fast installation is not supported
 
11037
  enable_fast_install=no
 
11038
elif test "$shlibpath_overrides_runpath" = yes ||
 
11039
     test "$enable_shared" = no; then
 
11040
  # Fast installation is not necessary
 
11041
  enable_fast_install=needless
 
11042
fi
 
11043
 
 
11044
 
 
11045
 
 
11046
 
 
11047
 
 
11048
 
 
11049
  if test "x$enable_dlopen" != xyes; then
 
11050
  enable_dlopen=unknown
 
11051
  enable_dlopen_self=unknown
 
11052
  enable_dlopen_self_static=unknown
 
11053
else
 
11054
  lt_cv_dlopen=no
 
11055
  lt_cv_dlopen_libs=
 
11056
 
 
11057
  case $host_os in
 
11058
  beos*)
 
11059
    lt_cv_dlopen="load_add_on"
 
11060
    lt_cv_dlopen_libs=
 
11061
    lt_cv_dlopen_self=yes
 
11062
    ;;
 
11063
 
 
11064
  mingw* | pw32* | cegcc*)
 
11065
    lt_cv_dlopen="LoadLibrary"
 
11066
    lt_cv_dlopen_libs=
 
11067
    ;;
 
11068
 
 
11069
  cygwin*)
 
11070
    lt_cv_dlopen="dlopen"
 
11071
    lt_cv_dlopen_libs=
 
11072
    ;;
 
11073
 
 
11074
  darwin*)
 
11075
  # if libdl is installed we need to link against it
 
11076
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11077
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11078
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
11079
  $as_echo_n "(cached) " >&6
 
11080
else
 
11081
  ac_check_lib_save_LIBS=$LIBS
 
11082
LIBS="-ldl  $LIBS"
 
11083
cat >conftest.$ac_ext <<_ACEOF
 
11084
/* confdefs.h.  */
 
11085
_ACEOF
 
11086
cat confdefs.h >>conftest.$ac_ext
 
11087
cat >>conftest.$ac_ext <<_ACEOF
 
11088
/* end confdefs.h.  */
 
11089
 
 
11090
/* Override any GCC internal prototype to avoid an error.
 
11091
   Use char because int might match the return type of a GCC
 
11092
   builtin and then its argument prototype would still apply.  */
 
11093
#ifdef __cplusplus
 
11094
extern "C"
 
11095
#endif
 
11096
char dlopen ();
 
11097
int
 
11098
main ()
 
11099
{
 
11100
return dlopen ();
 
11101
  ;
 
11102
  return 0;
 
11103
}
 
11104
_ACEOF
 
11105
rm -f conftest.$ac_objext conftest$ac_exeext
 
11106
if { (ac_try="$ac_link"
 
11107
case "(($ac_try" in
 
11108
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11109
  *) ac_try_echo=$ac_try;;
 
11110
esac
 
11111
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11112
$as_echo "$ac_try_echo") >&5
 
11113
  (eval "$ac_link") 2>conftest.er1
 
11114
  ac_status=$?
 
11115
  grep -v '^ *+' conftest.er1 >conftest.err
 
11116
  rm -f conftest.er1
 
11117
  cat conftest.err >&5
 
11118
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11119
  (exit $ac_status); } && {
 
11120
         test -z "$ac_c_werror_flag" ||
 
11121
         test ! -s conftest.err
 
11122
       } && test -s conftest$ac_exeext && {
 
11123
         test "$cross_compiling" = yes ||
 
11124
         $as_test_x conftest$ac_exeext
 
11125
       }; then
 
11126
  ac_cv_lib_dl_dlopen=yes
 
11127
else
 
11128
  $as_echo "$as_me: failed program was:" >&5
 
11129
sed 's/^/| /' conftest.$ac_ext >&5
 
11130
 
 
11131
        ac_cv_lib_dl_dlopen=no
 
11132
fi
 
11133
 
 
11134
rm -rf conftest.dSYM
 
11135
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11136
      conftest$ac_exeext conftest.$ac_ext
 
11137
LIBS=$ac_check_lib_save_LIBS
 
11138
fi
 
11139
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11140
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11141
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11142
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
11143
else
 
11144
 
 
11145
    lt_cv_dlopen="dyld"
 
11146
    lt_cv_dlopen_libs=
 
11147
    lt_cv_dlopen_self=yes
 
11148
 
 
11149
fi
 
11150
 
 
11151
    ;;
 
11152
 
 
11153
  *)
 
11154
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 
11155
$as_echo_n "checking for shl_load... " >&6; }
 
11156
if test "${ac_cv_func_shl_load+set}" = set; then
 
11157
  $as_echo_n "(cached) " >&6
 
11158
else
 
11159
  cat >conftest.$ac_ext <<_ACEOF
 
11160
/* confdefs.h.  */
 
11161
_ACEOF
 
11162
cat confdefs.h >>conftest.$ac_ext
 
11163
cat >>conftest.$ac_ext <<_ACEOF
 
11164
/* end confdefs.h.  */
 
11165
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
 
11166
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
11167
#define shl_load innocuous_shl_load
 
11168
 
 
11169
/* System header to define __stub macros and hopefully few prototypes,
 
11170
    which can conflict with char shl_load (); below.
 
11171
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
11172
    <limits.h> exists even on freestanding compilers.  */
 
11173
 
 
11174
#ifdef __STDC__
 
11175
# include <limits.h>
 
11176
#else
 
11177
# include <assert.h>
 
11178
#endif
 
11179
 
 
11180
#undef shl_load
 
11181
 
 
11182
/* Override any GCC internal prototype to avoid an error.
 
11183
   Use char because int might match the return type of a GCC
 
11184
   builtin and then its argument prototype would still apply.  */
 
11185
#ifdef __cplusplus
 
11186
extern "C"
 
11187
#endif
 
11188
char shl_load ();
 
11189
/* The GNU C library defines this for functions which it implements
 
11190
    to always fail with ENOSYS.  Some functions are actually named
 
11191
    something starting with __ and the normal name is an alias.  */
 
11192
#if defined __stub_shl_load || defined __stub___shl_load
 
11193
choke me
 
11194
#endif
 
11195
 
 
11196
int
 
11197
main ()
 
11198
{
 
11199
return shl_load ();
 
11200
  ;
 
11201
  return 0;
 
11202
}
 
11203
_ACEOF
 
11204
rm -f conftest.$ac_objext conftest$ac_exeext
 
11205
if { (ac_try="$ac_link"
 
11206
case "(($ac_try" in
 
11207
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11208
  *) ac_try_echo=$ac_try;;
 
11209
esac
 
11210
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11211
$as_echo "$ac_try_echo") >&5
 
11212
  (eval "$ac_link") 2>conftest.er1
 
11213
  ac_status=$?
 
11214
  grep -v '^ *+' conftest.er1 >conftest.err
 
11215
  rm -f conftest.er1
 
11216
  cat conftest.err >&5
 
11217
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11218
  (exit $ac_status); } && {
 
11219
         test -z "$ac_c_werror_flag" ||
 
11220
         test ! -s conftest.err
 
11221
       } && test -s conftest$ac_exeext && {
 
11222
         test "$cross_compiling" = yes ||
 
11223
         $as_test_x conftest$ac_exeext
 
11224
       }; then
 
11225
  ac_cv_func_shl_load=yes
 
11226
else
 
11227
  $as_echo "$as_me: failed program was:" >&5
 
11228
sed 's/^/| /' conftest.$ac_ext >&5
 
11229
 
 
11230
        ac_cv_func_shl_load=no
 
11231
fi
 
11232
 
 
11233
rm -rf conftest.dSYM
 
11234
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11235
      conftest$ac_exeext conftest.$ac_ext
 
11236
fi
 
11237
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
11238
$as_echo "$ac_cv_func_shl_load" >&6; }
 
11239
if test "x$ac_cv_func_shl_load" = x""yes; then
 
11240
  lt_cv_dlopen="shl_load"
 
11241
else
 
11242
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
11243
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
11244
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
11245
  $as_echo_n "(cached) " >&6
 
11246
else
 
11247
  ac_check_lib_save_LIBS=$LIBS
 
11248
LIBS="-ldld  $LIBS"
 
11249
cat >conftest.$ac_ext <<_ACEOF
 
11250
/* confdefs.h.  */
 
11251
_ACEOF
 
11252
cat confdefs.h >>conftest.$ac_ext
 
11253
cat >>conftest.$ac_ext <<_ACEOF
 
11254
/* end confdefs.h.  */
 
11255
 
 
11256
/* Override any GCC internal prototype to avoid an error.
 
11257
   Use char because int might match the return type of a GCC
 
11258
   builtin and then its argument prototype would still apply.  */
 
11259
#ifdef __cplusplus
 
11260
extern "C"
 
11261
#endif
 
11262
char shl_load ();
 
11263
int
 
11264
main ()
 
11265
{
 
11266
return shl_load ();
 
11267
  ;
 
11268
  return 0;
 
11269
}
 
11270
_ACEOF
 
11271
rm -f conftest.$ac_objext conftest$ac_exeext
 
11272
if { (ac_try="$ac_link"
 
11273
case "(($ac_try" in
 
11274
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11275
  *) ac_try_echo=$ac_try;;
 
11276
esac
 
11277
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11278
$as_echo "$ac_try_echo") >&5
 
11279
  (eval "$ac_link") 2>conftest.er1
 
11280
  ac_status=$?
 
11281
  grep -v '^ *+' conftest.er1 >conftest.err
 
11282
  rm -f conftest.er1
 
11283
  cat conftest.err >&5
 
11284
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11285
  (exit $ac_status); } && {
 
11286
         test -z "$ac_c_werror_flag" ||
 
11287
         test ! -s conftest.err
 
11288
       } && test -s conftest$ac_exeext && {
 
11289
         test "$cross_compiling" = yes ||
 
11290
         $as_test_x conftest$ac_exeext
 
11291
       }; then
 
11292
  ac_cv_lib_dld_shl_load=yes
 
11293
else
 
11294
  $as_echo "$as_me: failed program was:" >&5
 
11295
sed 's/^/| /' conftest.$ac_ext >&5
 
11296
 
 
11297
        ac_cv_lib_dld_shl_load=no
 
11298
fi
 
11299
 
 
11300
rm -rf conftest.dSYM
 
11301
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11302
      conftest$ac_exeext conftest.$ac_ext
 
11303
LIBS=$ac_check_lib_save_LIBS
 
11304
fi
 
11305
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
11306
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
11307
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
11308
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
11309
else
 
11310
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 
11311
$as_echo_n "checking for dlopen... " >&6; }
 
11312
if test "${ac_cv_func_dlopen+set}" = set; then
 
11313
  $as_echo_n "(cached) " >&6
 
11314
else
 
11315
  cat >conftest.$ac_ext <<_ACEOF
 
11316
/* confdefs.h.  */
 
11317
_ACEOF
 
11318
cat confdefs.h >>conftest.$ac_ext
 
11319
cat >>conftest.$ac_ext <<_ACEOF
 
11320
/* end confdefs.h.  */
 
11321
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 
11322
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
11323
#define dlopen innocuous_dlopen
 
11324
 
 
11325
/* System header to define __stub macros and hopefully few prototypes,
 
11326
    which can conflict with char dlopen (); below.
 
11327
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
11328
    <limits.h> exists even on freestanding compilers.  */
 
11329
 
 
11330
#ifdef __STDC__
 
11331
# include <limits.h>
 
11332
#else
 
11333
# include <assert.h>
 
11334
#endif
 
11335
 
 
11336
#undef dlopen
 
11337
 
 
11338
/* Override any GCC internal prototype to avoid an error.
 
11339
   Use char because int might match the return type of a GCC
 
11340
   builtin and then its argument prototype would still apply.  */
 
11341
#ifdef __cplusplus
 
11342
extern "C"
 
11343
#endif
 
11344
char dlopen ();
 
11345
/* The GNU C library defines this for functions which it implements
 
11346
    to always fail with ENOSYS.  Some functions are actually named
 
11347
    something starting with __ and the normal name is an alias.  */
 
11348
#if defined __stub_dlopen || defined __stub___dlopen
 
11349
choke me
 
11350
#endif
 
11351
 
 
11352
int
 
11353
main ()
 
11354
{
 
11355
return dlopen ();
 
11356
  ;
 
11357
  return 0;
 
11358
}
 
11359
_ACEOF
 
11360
rm -f conftest.$ac_objext conftest$ac_exeext
 
11361
if { (ac_try="$ac_link"
 
11362
case "(($ac_try" in
 
11363
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11364
  *) ac_try_echo=$ac_try;;
 
11365
esac
 
11366
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11367
$as_echo "$ac_try_echo") >&5
 
11368
  (eval "$ac_link") 2>conftest.er1
 
11369
  ac_status=$?
 
11370
  grep -v '^ *+' conftest.er1 >conftest.err
 
11371
  rm -f conftest.er1
 
11372
  cat conftest.err >&5
 
11373
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11374
  (exit $ac_status); } && {
 
11375
         test -z "$ac_c_werror_flag" ||
 
11376
         test ! -s conftest.err
 
11377
       } && test -s conftest$ac_exeext && {
 
11378
         test "$cross_compiling" = yes ||
 
11379
         $as_test_x conftest$ac_exeext
 
11380
       }; then
 
11381
  ac_cv_func_dlopen=yes
 
11382
else
 
11383
  $as_echo "$as_me: failed program was:" >&5
 
11384
sed 's/^/| /' conftest.$ac_ext >&5
 
11385
 
 
11386
        ac_cv_func_dlopen=no
 
11387
fi
 
11388
 
 
11389
rm -rf conftest.dSYM
 
11390
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11391
      conftest$ac_exeext conftest.$ac_ext
 
11392
fi
 
11393
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
11394
$as_echo "$ac_cv_func_dlopen" >&6; }
 
11395
if test "x$ac_cv_func_dlopen" = x""yes; then
 
11396
  lt_cv_dlopen="dlopen"
 
11397
else
 
11398
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11399
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11400
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
11401
  $as_echo_n "(cached) " >&6
 
11402
else
 
11403
  ac_check_lib_save_LIBS=$LIBS
 
11404
LIBS="-ldl  $LIBS"
 
11405
cat >conftest.$ac_ext <<_ACEOF
 
11406
/* confdefs.h.  */
 
11407
_ACEOF
 
11408
cat confdefs.h >>conftest.$ac_ext
 
11409
cat >>conftest.$ac_ext <<_ACEOF
 
11410
/* end confdefs.h.  */
 
11411
 
 
11412
/* Override any GCC internal prototype to avoid an error.
 
11413
   Use char because int might match the return type of a GCC
 
11414
   builtin and then its argument prototype would still apply.  */
 
11415
#ifdef __cplusplus
 
11416
extern "C"
 
11417
#endif
 
11418
char dlopen ();
 
11419
int
 
11420
main ()
 
11421
{
 
11422
return dlopen ();
 
11423
  ;
 
11424
  return 0;
 
11425
}
 
11426
_ACEOF
 
11427
rm -f conftest.$ac_objext conftest$ac_exeext
 
11428
if { (ac_try="$ac_link"
 
11429
case "(($ac_try" in
 
11430
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11431
  *) ac_try_echo=$ac_try;;
 
11432
esac
 
11433
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11434
$as_echo "$ac_try_echo") >&5
 
11435
  (eval "$ac_link") 2>conftest.er1
 
11436
  ac_status=$?
 
11437
  grep -v '^ *+' conftest.er1 >conftest.err
 
11438
  rm -f conftest.er1
 
11439
  cat conftest.err >&5
 
11440
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11441
  (exit $ac_status); } && {
 
11442
         test -z "$ac_c_werror_flag" ||
 
11443
         test ! -s conftest.err
 
11444
       } && test -s conftest$ac_exeext && {
 
11445
         test "$cross_compiling" = yes ||
 
11446
         $as_test_x conftest$ac_exeext
 
11447
       }; then
 
11448
  ac_cv_lib_dl_dlopen=yes
 
11449
else
 
11450
  $as_echo "$as_me: failed program was:" >&5
 
11451
sed 's/^/| /' conftest.$ac_ext >&5
 
11452
 
 
11453
        ac_cv_lib_dl_dlopen=no
 
11454
fi
 
11455
 
 
11456
rm -rf conftest.dSYM
 
11457
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11458
      conftest$ac_exeext conftest.$ac_ext
 
11459
LIBS=$ac_check_lib_save_LIBS
 
11460
fi
 
11461
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11462
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11463
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11464
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
11465
else
 
11466
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
11467
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
11468
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
11469
  $as_echo_n "(cached) " >&6
 
11470
else
 
11471
  ac_check_lib_save_LIBS=$LIBS
 
11472
LIBS="-lsvld  $LIBS"
 
11473
cat >conftest.$ac_ext <<_ACEOF
 
11474
/* confdefs.h.  */
 
11475
_ACEOF
 
11476
cat confdefs.h >>conftest.$ac_ext
 
11477
cat >>conftest.$ac_ext <<_ACEOF
 
11478
/* end confdefs.h.  */
 
11479
 
 
11480
/* Override any GCC internal prototype to avoid an error.
 
11481
   Use char because int might match the return type of a GCC
 
11482
   builtin and then its argument prototype would still apply.  */
 
11483
#ifdef __cplusplus
 
11484
extern "C"
 
11485
#endif
 
11486
char dlopen ();
 
11487
int
 
11488
main ()
 
11489
{
 
11490
return dlopen ();
 
11491
  ;
 
11492
  return 0;
 
11493
}
 
11494
_ACEOF
 
11495
rm -f conftest.$ac_objext conftest$ac_exeext
 
11496
if { (ac_try="$ac_link"
 
11497
case "(($ac_try" in
 
11498
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11499
  *) ac_try_echo=$ac_try;;
 
11500
esac
 
11501
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11502
$as_echo "$ac_try_echo") >&5
 
11503
  (eval "$ac_link") 2>conftest.er1
 
11504
  ac_status=$?
 
11505
  grep -v '^ *+' conftest.er1 >conftest.err
 
11506
  rm -f conftest.er1
 
11507
  cat conftest.err >&5
 
11508
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11509
  (exit $ac_status); } && {
 
11510
         test -z "$ac_c_werror_flag" ||
 
11511
         test ! -s conftest.err
 
11512
       } && test -s conftest$ac_exeext && {
 
11513
         test "$cross_compiling" = yes ||
 
11514
         $as_test_x conftest$ac_exeext
 
11515
       }; then
 
11516
  ac_cv_lib_svld_dlopen=yes
 
11517
else
 
11518
  $as_echo "$as_me: failed program was:" >&5
 
11519
sed 's/^/| /' conftest.$ac_ext >&5
 
11520
 
 
11521
        ac_cv_lib_svld_dlopen=no
 
11522
fi
 
11523
 
 
11524
rm -rf conftest.dSYM
 
11525
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11526
      conftest$ac_exeext conftest.$ac_ext
 
11527
LIBS=$ac_check_lib_save_LIBS
 
11528
fi
 
11529
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
11530
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
11531
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
11532
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
11533
else
 
11534
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
11535
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
11536
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
11537
  $as_echo_n "(cached) " >&6
 
11538
else
 
11539
  ac_check_lib_save_LIBS=$LIBS
 
11540
LIBS="-ldld  $LIBS"
 
11541
cat >conftest.$ac_ext <<_ACEOF
 
11542
/* confdefs.h.  */
 
11543
_ACEOF
 
11544
cat confdefs.h >>conftest.$ac_ext
 
11545
cat >>conftest.$ac_ext <<_ACEOF
 
11546
/* end confdefs.h.  */
 
11547
 
 
11548
/* Override any GCC internal prototype to avoid an error.
 
11549
   Use char because int might match the return type of a GCC
 
11550
   builtin and then its argument prototype would still apply.  */
 
11551
#ifdef __cplusplus
 
11552
extern "C"
 
11553
#endif
 
11554
char dld_link ();
 
11555
int
 
11556
main ()
 
11557
{
 
11558
return dld_link ();
 
11559
  ;
 
11560
  return 0;
 
11561
}
 
11562
_ACEOF
 
11563
rm -f conftest.$ac_objext conftest$ac_exeext
 
11564
if { (ac_try="$ac_link"
 
11565
case "(($ac_try" in
 
11566
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11567
  *) ac_try_echo=$ac_try;;
 
11568
esac
 
11569
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11570
$as_echo "$ac_try_echo") >&5
 
11571
  (eval "$ac_link") 2>conftest.er1
 
11572
  ac_status=$?
 
11573
  grep -v '^ *+' conftest.er1 >conftest.err
 
11574
  rm -f conftest.er1
 
11575
  cat conftest.err >&5
 
11576
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11577
  (exit $ac_status); } && {
 
11578
         test -z "$ac_c_werror_flag" ||
 
11579
         test ! -s conftest.err
 
11580
       } && test -s conftest$ac_exeext && {
 
11581
         test "$cross_compiling" = yes ||
 
11582
         $as_test_x conftest$ac_exeext
 
11583
       }; then
 
11584
  ac_cv_lib_dld_dld_link=yes
 
11585
else
 
11586
  $as_echo "$as_me: failed program was:" >&5
 
11587
sed 's/^/| /' conftest.$ac_ext >&5
 
11588
 
 
11589
        ac_cv_lib_dld_dld_link=no
 
11590
fi
 
11591
 
 
11592
rm -rf conftest.dSYM
 
11593
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11594
      conftest$ac_exeext conftest.$ac_ext
 
11595
LIBS=$ac_check_lib_save_LIBS
 
11596
fi
 
11597
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
11598
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
11599
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
11600
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
11601
fi
 
11602
 
 
11603
 
 
11604
fi
 
11605
 
 
11606
 
 
11607
fi
 
11608
 
 
11609
 
 
11610
fi
 
11611
 
 
11612
 
 
11613
fi
 
11614
 
 
11615
 
 
11616
fi
 
11617
 
 
11618
    ;;
 
11619
  esac
 
11620
 
 
11621
  if test "x$lt_cv_dlopen" != xno; then
 
11622
    enable_dlopen=yes
 
11623
  else
 
11624
    enable_dlopen=no
 
11625
  fi
 
11626
 
 
11627
  case $lt_cv_dlopen in
 
11628
  dlopen)
 
11629
    save_CPPFLAGS="$CPPFLAGS"
 
11630
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
11631
 
 
11632
    save_LDFLAGS="$LDFLAGS"
 
11633
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
11634
 
 
11635
    save_LIBS="$LIBS"
 
11636
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
11637
 
 
11638
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
11639
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
11640
if test "${lt_cv_dlopen_self+set}" = set; then
 
11641
  $as_echo_n "(cached) " >&6
 
11642
else
 
11643
          if test "$cross_compiling" = yes; then :
 
11644
  lt_cv_dlopen_self=cross
 
11645
else
 
11646
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
11647
  lt_status=$lt_dlunknown
 
11648
  cat > conftest.$ac_ext <<_LT_EOF
 
11649
#line 11649 "configure"
 
11650
#include "confdefs.h"
 
11651
 
 
11652
#if HAVE_DLFCN_H
 
11653
#include <dlfcn.h>
 
11654
#endif
 
11655
 
 
11656
#include <stdio.h>
 
11657
 
 
11658
#ifdef RTLD_GLOBAL
 
11659
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
11660
#else
 
11661
#  ifdef DL_GLOBAL
 
11662
#    define LT_DLGLOBAL         DL_GLOBAL
 
11663
#  else
 
11664
#    define LT_DLGLOBAL         0
 
11665
#  endif
 
11666
#endif
 
11667
 
 
11668
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
11669
   find out it does not work in some platform. */
 
11670
#ifndef LT_DLLAZY_OR_NOW
 
11671
#  ifdef RTLD_LAZY
 
11672
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
11673
#  else
 
11674
#    ifdef DL_LAZY
 
11675
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
11676
#    else
 
11677
#      ifdef RTLD_NOW
 
11678
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
11679
#      else
 
11680
#        ifdef DL_NOW
 
11681
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
11682
#        else
 
11683
#          define LT_DLLAZY_OR_NOW      0
 
11684
#        endif
 
11685
#      endif
 
11686
#    endif
 
11687
#  endif
 
11688
#endif
 
11689
 
 
11690
void fnord() { int i=42;}
 
11691
int main ()
 
11692
{
 
11693
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
11694
  int status = $lt_dlunknown;
 
11695
 
 
11696
  if (self)
 
11697
    {
 
11698
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
11699
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11700
      /* dlclose (self); */
 
11701
    }
 
11702
  else
 
11703
    puts (dlerror ());
 
11704
 
 
11705
  return status;
 
11706
}
 
11707
_LT_EOF
 
11708
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11709
  (eval $ac_link) 2>&5
 
11710
  ac_status=$?
 
11711
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11712
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11713
    (./conftest; exit; ) >&5 2>/dev/null
 
11714
    lt_status=$?
 
11715
    case x$lt_status in
 
11716
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
11717
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
11718
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
11719
    esac
 
11720
  else :
 
11721
    # compilation failed
 
11722
    lt_cv_dlopen_self=no
 
11723
  fi
 
11724
fi
 
11725
rm -fr conftest*
 
11726
 
 
11727
 
 
11728
fi
 
11729
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
11730
$as_echo "$lt_cv_dlopen_self" >&6; }
 
11731
 
 
11732
    if test "x$lt_cv_dlopen_self" = xyes; then
 
11733
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
11734
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
11735
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
11736
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
11737
  $as_echo_n "(cached) " >&6
 
11738
else
 
11739
          if test "$cross_compiling" = yes; then :
 
11740
  lt_cv_dlopen_self_static=cross
 
11741
else
 
11742
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
11743
  lt_status=$lt_dlunknown
 
11744
  cat > conftest.$ac_ext <<_LT_EOF
 
11745
#line 11745 "configure"
 
11746
#include "confdefs.h"
 
11747
 
 
11748
#if HAVE_DLFCN_H
 
11749
#include <dlfcn.h>
 
11750
#endif
 
11751
 
 
11752
#include <stdio.h>
 
11753
 
 
11754
#ifdef RTLD_GLOBAL
 
11755
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
11756
#else
 
11757
#  ifdef DL_GLOBAL
 
11758
#    define LT_DLGLOBAL         DL_GLOBAL
 
11759
#  else
 
11760
#    define LT_DLGLOBAL         0
 
11761
#  endif
 
11762
#endif
 
11763
 
 
11764
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
11765
   find out it does not work in some platform. */
 
11766
#ifndef LT_DLLAZY_OR_NOW
 
11767
#  ifdef RTLD_LAZY
 
11768
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
11769
#  else
 
11770
#    ifdef DL_LAZY
 
11771
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
11772
#    else
 
11773
#      ifdef RTLD_NOW
 
11774
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
11775
#      else
 
11776
#        ifdef DL_NOW
 
11777
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
11778
#        else
 
11779
#          define LT_DLLAZY_OR_NOW      0
 
11780
#        endif
 
11781
#      endif
 
11782
#    endif
 
11783
#  endif
 
11784
#endif
 
11785
 
 
11786
void fnord() { int i=42;}
 
11787
int main ()
 
11788
{
 
11789
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
11790
  int status = $lt_dlunknown;
 
11791
 
 
11792
  if (self)
 
11793
    {
 
11794
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
11795
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11796
      /* dlclose (self); */
 
11797
    }
 
11798
  else
 
11799
    puts (dlerror ());
 
11800
 
 
11801
  return status;
 
11802
}
 
11803
_LT_EOF
 
11804
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11805
  (eval $ac_link) 2>&5
 
11806
  ac_status=$?
 
11807
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11808
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11809
    (./conftest; exit; ) >&5 2>/dev/null
 
11810
    lt_status=$?
 
11811
    case x$lt_status in
 
11812
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
11813
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
11814
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
11815
    esac
 
11816
  else :
 
11817
    # compilation failed
 
11818
    lt_cv_dlopen_self_static=no
 
11819
  fi
 
11820
fi
 
11821
rm -fr conftest*
 
11822
 
 
11823
 
 
11824
fi
 
11825
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
11826
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
11827
    fi
 
11828
 
 
11829
    CPPFLAGS="$save_CPPFLAGS"
 
11830
    LDFLAGS="$save_LDFLAGS"
 
11831
    LIBS="$save_LIBS"
 
11832
    ;;
 
11833
  esac
 
11834
 
 
11835
  case $lt_cv_dlopen_self in
 
11836
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
11837
  *) enable_dlopen_self=unknown ;;
 
11838
  esac
 
11839
 
 
11840
  case $lt_cv_dlopen_self_static in
 
11841
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
11842
  *) enable_dlopen_self_static=unknown ;;
 
11843
  esac
 
11844
fi
 
11845
 
 
11846
 
 
11847
 
 
11848
 
 
11849
 
 
11850
 
 
11851
 
 
11852
 
 
11853
 
 
11854
 
 
11855
 
 
11856
 
 
11857
 
 
11858
 
 
11859
 
 
11860
 
 
11861
 
 
11862
striplib=
 
11863
old_striplib=
 
11864
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
11865
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
11866
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
11867
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
11868
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
11869
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11870
$as_echo "yes" >&6; }
 
11871
else
 
11872
# FIXME - insert some real tests, host_os isn't really good enough
 
11873
  case $host_os in
 
11874
  darwin*)
 
11875
    if test -n "$STRIP" ; then
 
11876
      striplib="$STRIP -x"
 
11877
      old_striplib="$STRIP -S"
 
11878
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11879
$as_echo "yes" >&6; }
 
11880
    else
 
11881
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
11882
$as_echo "no" >&6; }
 
11883
    fi
 
11884
    ;;
 
11885
  *)
 
11886
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
11887
$as_echo "no" >&6; }
 
11888
    ;;
 
11889
  esac
 
11890
fi
 
11891
 
 
11892
 
 
11893
 
 
11894
 
 
11895
 
 
11896
 
 
11897
 
 
11898
 
 
11899
 
 
11900
 
 
11901
 
 
11902
 
 
11903
  # Report which library types will actually be built
 
11904
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
11905
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
11906
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
11907
$as_echo "$can_build_shared" >&6; }
 
11908
 
 
11909
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
11910
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
11911
  test "$can_build_shared" = "no" && enable_shared=no
 
11912
 
 
11913
  # On AIX, shared libraries and static libraries use the same namespace, and
 
11914
  # are all built from PIC.
 
11915
  case $host_os in
 
11916
  aix3*)
 
11917
    test "$enable_shared" = yes && enable_static=no
 
11918
    if test -n "$RANLIB"; then
 
11919
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
11920
      postinstall_cmds='$RANLIB $lib'
 
11921
    fi
 
11922
    ;;
 
11923
 
 
11924
  aix[4-9]*)
 
11925
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
11926
      test "$enable_shared" = yes && enable_static=no
 
11927
    fi
 
11928
    ;;
 
11929
  esac
 
11930
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
11931
$as_echo "$enable_shared" >&6; }
 
11932
 
 
11933
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
11934
$as_echo_n "checking whether to build static libraries... " >&6; }
 
11935
  # Make sure either enable_shared or enable_static is yes.
 
11936
  test "$enable_shared" = yes || enable_static=yes
 
11937
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
11938
$as_echo "$enable_static" >&6; }
 
11939
 
 
11940
 
 
11941
 
 
11942
 
 
11943
fi
 
11944
ac_ext=c
 
11945
ac_cpp='$CPP $CPPFLAGS'
 
11946
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11947
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11948
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11949
 
 
11950
CC="$lt_save_CC"
 
11951
 
 
11952
 
 
11953
 
 
11954
 
 
11955
 
 
11956
 
 
11957
 
 
11958
 
 
11959
 
 
11960
 
 
11961
 
 
11962
 
 
11963
 
 
11964
        ac_config_commands="$ac_config_commands libtool"
 
11965
 
 
11966
 
 
11967
 
 
11968
 
 
11969
# Only expand once:
 
11970
 
 
11971
 
 
11972
 
 
11973
 
 
11974
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
11975
        if test -n "$ac_tool_prefix"; then
 
11976
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
11977
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
11978
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11979
$as_echo_n "checking for $ac_word... " >&6; }
 
11980
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
11981
  $as_echo_n "(cached) " >&6
 
11982
else
 
11983
  case $PKG_CONFIG in
 
11984
  [\\/]* | ?:[\\/]*)
 
11985
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
11986
  ;;
 
11987
  *)
 
11988
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11989
for as_dir in $PATH
 
11990
do
 
11991
  IFS=$as_save_IFS
 
11992
  test -z "$as_dir" && as_dir=.
 
11993
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11994
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11995
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
11996
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11997
    break 2
 
11998
  fi
 
11999
done
 
12000
done
 
12001
IFS=$as_save_IFS
 
12002
 
 
12003
  ;;
 
12004
esac
 
12005
fi
 
12006
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
12007
if test -n "$PKG_CONFIG"; then
 
12008
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
12009
$as_echo "$PKG_CONFIG" >&6; }
 
12010
else
 
12011
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12012
$as_echo "no" >&6; }
 
12013
fi
 
12014
 
 
12015
 
 
12016
fi
 
12017
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
12018
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
12019
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
12020
set dummy pkg-config; ac_word=$2
 
12021
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12022
$as_echo_n "checking for $ac_word... " >&6; }
 
12023
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
12024
  $as_echo_n "(cached) " >&6
 
12025
else
 
12026
  case $ac_pt_PKG_CONFIG in
 
12027
  [\\/]* | ?:[\\/]*)
 
12028
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
12029
  ;;
 
12030
  *)
 
12031
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12032
for as_dir in $PATH
 
12033
do
 
12034
  IFS=$as_save_IFS
 
12035
  test -z "$as_dir" && as_dir=.
 
12036
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12037
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12038
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
12039
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12040
    break 2
 
12041
  fi
 
12042
done
 
12043
done
 
12044
IFS=$as_save_IFS
 
12045
 
 
12046
  ;;
 
12047
esac
 
12048
fi
 
12049
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
12050
if test -n "$ac_pt_PKG_CONFIG"; then
 
12051
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
12052
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
12053
else
 
12054
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12055
$as_echo "no" >&6; }
 
12056
fi
 
12057
 
 
12058
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
12059
    PKG_CONFIG=""
 
12060
  else
 
12061
    case $cross_compiling:$ac_tool_warned in
 
12062
yes:)
 
12063
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
12064
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
12065
ac_tool_warned=yes ;;
 
12066
esac
 
12067
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
12068
  fi
 
12069
else
 
12070
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
12071
fi
 
12072
 
 
12073
fi
 
12074
if test -n "$PKG_CONFIG"; then
 
12075
        _pkg_min_version=0.19
 
12076
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
12077
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
12078
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
12079
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12080
$as_echo "yes" >&6; }
 
12081
        else
 
12082
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
12083
$as_echo "no" >&6; }
 
12084
                PKG_CONFIG=""
 
12085
        fi
 
12086
 
 
12087
fi
 
12088
 
 
12089
  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
12090
$as_echo_n "checking whether NLS is requested... " >&6; }
 
12091
    # Check whether --enable-nls was given.
 
12092
if test "${enable_nls+set}" = set; then
 
12093
  enableval=$enable_nls; USE_NLS=$enableval
 
12094
else
 
12095
  USE_NLS=yes
 
12096
fi
 
12097
 
 
12098
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
12099
$as_echo "$USE_NLS" >&6; }
 
12100
 
 
12101
 
 
12102
 
 
12103
 
 
12104
case "$am__api_version" in
 
12105
    1.01234)
 
12106
        { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
 
12107
$as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
 
12108
   { (exit 1); exit 1; }; }
 
12109
    ;;
 
12110
    *)
 
12111
    ;;
 
12112
esac
 
12113
 
 
12114
if test -n "0.40.0"; then
 
12115
    { $as_echo "$as_me:$LINENO: checking for intltool >= 0.40.0" >&5
 
12116
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
 
12117
 
 
12118
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
12119
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
12120
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
12121
 
 
12122
    { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
12123
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
 
12124
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
12125
        { { $as_echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.40.0 or later." >&5
 
12126
$as_echo "$as_me: error: Your intltool is too old.  You need intltool 0.40.0 or later." >&2;}
 
12127
   { (exit 1); exit 1; }; }
 
12128
fi
 
12129
 
 
12130
# Extract the first word of "intltool-update", so it can be a program name with args.
 
12131
set dummy intltool-update; ac_word=$2
 
12132
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12133
$as_echo_n "checking for $ac_word... " >&6; }
 
12134
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
 
12135
  $as_echo_n "(cached) " >&6
 
12136
else
 
12137
  case $INTLTOOL_UPDATE in
 
12138
  [\\/]* | ?:[\\/]*)
 
12139
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
 
12140
  ;;
 
12141
  *)
 
12142
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12143
for as_dir in $PATH
 
12144
do
 
12145
  IFS=$as_save_IFS
 
12146
  test -z "$as_dir" && as_dir=.
 
12147
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12148
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12149
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
 
12150
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12151
    break 2
 
12152
  fi
 
12153
done
 
12154
done
 
12155
IFS=$as_save_IFS
 
12156
 
 
12157
  ;;
 
12158
esac
 
12159
fi
 
12160
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
 
12161
if test -n "$INTLTOOL_UPDATE"; then
 
12162
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
 
12163
$as_echo "$INTLTOOL_UPDATE" >&6; }
 
12164
else
 
12165
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12166
$as_echo "no" >&6; }
 
12167
fi
 
12168
 
 
12169
 
 
12170
# Extract the first word of "intltool-merge", so it can be a program name with args.
 
12171
set dummy intltool-merge; ac_word=$2
 
12172
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12173
$as_echo_n "checking for $ac_word... " >&6; }
 
12174
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
 
12175
  $as_echo_n "(cached) " >&6
 
12176
else
 
12177
  case $INTLTOOL_MERGE in
 
12178
  [\\/]* | ?:[\\/]*)
 
12179
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
 
12180
  ;;
 
12181
  *)
 
12182
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12183
for as_dir in $PATH
 
12184
do
 
12185
  IFS=$as_save_IFS
 
12186
  test -z "$as_dir" && as_dir=.
 
12187
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12188
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12189
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
 
12190
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12191
    break 2
 
12192
  fi
 
12193
done
 
12194
done
 
12195
IFS=$as_save_IFS
 
12196
 
 
12197
  ;;
 
12198
esac
 
12199
fi
 
12200
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
 
12201
if test -n "$INTLTOOL_MERGE"; then
 
12202
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
 
12203
$as_echo "$INTLTOOL_MERGE" >&6; }
 
12204
else
 
12205
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12206
$as_echo "no" >&6; }
 
12207
fi
 
12208
 
 
12209
 
 
12210
# Extract the first word of "intltool-extract", so it can be a program name with args.
 
12211
set dummy intltool-extract; ac_word=$2
 
12212
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12213
$as_echo_n "checking for $ac_word... " >&6; }
 
12214
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
 
12215
  $as_echo_n "(cached) " >&6
 
12216
else
 
12217
  case $INTLTOOL_EXTRACT in
 
12218
  [\\/]* | ?:[\\/]*)
 
12219
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
 
12220
  ;;
 
12221
  *)
 
12222
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12223
for as_dir in $PATH
 
12224
do
 
12225
  IFS=$as_save_IFS
 
12226
  test -z "$as_dir" && as_dir=.
 
12227
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12228
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12229
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
 
12230
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12231
    break 2
 
12232
  fi
 
12233
done
 
12234
done
 
12235
IFS=$as_save_IFS
 
12236
 
 
12237
  ;;
 
12238
esac
 
12239
fi
 
12240
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
 
12241
if test -n "$INTLTOOL_EXTRACT"; then
 
12242
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
 
12243
$as_echo "$INTLTOOL_EXTRACT" >&6; }
 
12244
else
 
12245
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12246
$as_echo "no" >&6; }
 
12247
fi
 
12248
 
 
12249
 
 
12250
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
 
12251
    { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
 
12252
$as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
 
12253
   { (exit 1); exit 1; }; }
 
12254
fi
 
12255
 
 
12256
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12257
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12258
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12259
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12260
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
 
12261
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12262
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12263
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12264
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12265
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12266
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12267
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
 
12268
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12269
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12270
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12271
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12272
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12273
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12274
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12275
 
 
12276
 
 
12277
 
 
12278
 
 
12279
 
 
12280
 
 
12281
 
 
12282
 
 
12283
 
 
12284
 
 
12285
 
 
12286
 
 
12287
 
 
12288
 
 
12289
 
 
12290
 
 
12291
 
 
12292
 
 
12293
 
 
12294
 
 
12295
 
 
12296
 
 
12297
 
 
12298
 
 
12299
 
 
12300
 
 
12301
 
 
12302
 
 
12303
 
 
12304
 
 
12305
 
 
12306
 
 
12307
 
 
12308
 
 
12309
 
 
12310
 
 
12311
 
 
12312
 
 
12313
 
 
12314
 
 
12315
 
 
12316
 
 
12317
 
 
12318
 
 
12319
 
 
12320
 
 
12321
 
 
12322
 
 
12323
 
 
12324
 
 
12325
 
 
12326
 
 
12327
 
 
12328
 
 
12329
 
 
12330
 
 
12331
 
 
12332
 
 
12333
 
 
12334
 
 
12335
 
 
12336
 
 
12337
 
 
12338
 
 
12339
 
 
12340
 
 
12341
 
 
12342
 
 
12343
 
 
12344
 
 
12345
 
 
12346
 
 
12347
 
 
12348
 
 
12349
 
 
12350
 
 
12351
 
 
12352
 
 
12353
 
 
12354
 
 
12355
 
 
12356
 
 
12357
 
 
12358
 
 
12359
 
 
12360
 
 
12361
 
 
12362
 
 
12363
 
 
12364
 
 
12365
 
 
12366
 
 
12367
 
 
12368
 
 
12369
 
 
12370
 
 
12371
 
 
12372
# Check the gettext tools to make sure they are GNU
 
12373
# Extract the first word of "xgettext", so it can be a program name with args.
 
12374
set dummy xgettext; ac_word=$2
 
12375
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12376
$as_echo_n "checking for $ac_word... " >&6; }
 
12377
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
12378
  $as_echo_n "(cached) " >&6
 
12379
else
 
12380
  case $XGETTEXT in
 
12381
  [\\/]* | ?:[\\/]*)
 
12382
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
12383
  ;;
 
12384
  *)
 
12385
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12386
for as_dir in $PATH
 
12387
do
 
12388
  IFS=$as_save_IFS
 
12389
  test -z "$as_dir" && as_dir=.
 
12390
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12391
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12392
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
12393
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12394
    break 2
 
12395
  fi
 
12396
done
 
12397
done
 
12398
IFS=$as_save_IFS
 
12399
 
 
12400
  ;;
 
12401
esac
 
12402
fi
 
12403
XGETTEXT=$ac_cv_path_XGETTEXT
 
12404
if test -n "$XGETTEXT"; then
 
12405
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
12406
$as_echo "$XGETTEXT" >&6; }
 
12407
else
 
12408
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12409
$as_echo "no" >&6; }
 
12410
fi
 
12411
 
 
12412
 
 
12413
# Extract the first word of "msgmerge", so it can be a program name with args.
 
12414
set dummy msgmerge; ac_word=$2
 
12415
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12416
$as_echo_n "checking for $ac_word... " >&6; }
 
12417
if test "${ac_cv_path_MSGMERGE+set}" = set; then
 
12418
  $as_echo_n "(cached) " >&6
 
12419
else
 
12420
  case $MSGMERGE in
 
12421
  [\\/]* | ?:[\\/]*)
 
12422
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
12423
  ;;
 
12424
  *)
 
12425
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12426
for as_dir in $PATH
 
12427
do
 
12428
  IFS=$as_save_IFS
 
12429
  test -z "$as_dir" && as_dir=.
 
12430
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12431
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12432
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
12433
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12434
    break 2
 
12435
  fi
 
12436
done
 
12437
done
 
12438
IFS=$as_save_IFS
 
12439
 
 
12440
  ;;
 
12441
esac
 
12442
fi
 
12443
MSGMERGE=$ac_cv_path_MSGMERGE
 
12444
if test -n "$MSGMERGE"; then
 
12445
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
12446
$as_echo "$MSGMERGE" >&6; }
 
12447
else
 
12448
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12449
$as_echo "no" >&6; }
 
12450
fi
 
12451
 
 
12452
 
 
12453
# Extract the first word of "msgfmt", so it can be a program name with args.
 
12454
set dummy msgfmt; ac_word=$2
 
12455
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12456
$as_echo_n "checking for $ac_word... " >&6; }
 
12457
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
12458
  $as_echo_n "(cached) " >&6
 
12459
else
 
12460
  case $MSGFMT in
 
12461
  [\\/]* | ?:[\\/]*)
 
12462
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
12463
  ;;
 
12464
  *)
 
12465
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12466
for as_dir in $PATH
 
12467
do
 
12468
  IFS=$as_save_IFS
 
12469
  test -z "$as_dir" && as_dir=.
 
12470
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12471
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12472
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
12473
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12474
    break 2
 
12475
  fi
 
12476
done
 
12477
done
 
12478
IFS=$as_save_IFS
 
12479
 
 
12480
  ;;
 
12481
esac
 
12482
fi
 
12483
MSGFMT=$ac_cv_path_MSGFMT
 
12484
if test -n "$MSGFMT"; then
 
12485
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
12486
$as_echo "$MSGFMT" >&6; }
 
12487
else
 
12488
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12489
$as_echo "no" >&6; }
 
12490
fi
 
12491
 
 
12492
 
 
12493
# Extract the first word of "gmsgfmt", so it can be a program name with args.
 
12494
set dummy gmsgfmt; ac_word=$2
 
12495
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12496
$as_echo_n "checking for $ac_word... " >&6; }
 
12497
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
12498
  $as_echo_n "(cached) " >&6
 
12499
else
 
12500
  case $GMSGFMT in
 
12501
  [\\/]* | ?:[\\/]*)
 
12502
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
12503
  ;;
 
12504
  *)
 
12505
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12506
for as_dir in $PATH
 
12507
do
 
12508
  IFS=$as_save_IFS
 
12509
  test -z "$as_dir" && as_dir=.
 
12510
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12511
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12512
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
12513
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12514
    break 2
 
12515
  fi
 
12516
done
 
12517
done
 
12518
IFS=$as_save_IFS
 
12519
 
 
12520
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
12521
  ;;
 
12522
esac
 
12523
fi
 
12524
GMSGFMT=$ac_cv_path_GMSGFMT
 
12525
if test -n "$GMSGFMT"; then
 
12526
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
12527
$as_echo "$GMSGFMT" >&6; }
 
12528
else
 
12529
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12530
$as_echo "no" >&6; }
 
12531
fi
 
12532
 
 
12533
 
 
12534
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
12535
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
 
12536
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
 
12537
   { (exit 1); exit 1; }; }
 
12538
fi
 
12539
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
12540
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
12541
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
12542
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
12543
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
 
12544
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
 
12545
   { (exit 1); exit 1; }; }
 
12546
fi
 
12547
 
 
12548
# Extract the first word of "perl", so it can be a program name with args.
 
12549
set dummy perl; ac_word=$2
 
12550
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12551
$as_echo_n "checking for $ac_word... " >&6; }
 
12552
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
 
12553
  $as_echo_n "(cached) " >&6
 
12554
else
 
12555
  case $INTLTOOL_PERL in
 
12556
  [\\/]* | ?:[\\/]*)
 
12557
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
 
12558
  ;;
 
12559
  *)
 
12560
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12561
for as_dir in $PATH
 
12562
do
 
12563
  IFS=$as_save_IFS
 
12564
  test -z "$as_dir" && as_dir=.
 
12565
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12566
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12567
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
 
12568
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12569
    break 2
 
12570
  fi
 
12571
done
 
12572
done
 
12573
IFS=$as_save_IFS
 
12574
 
 
12575
  ;;
 
12576
esac
 
12577
fi
 
12578
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
 
12579
if test -n "$INTLTOOL_PERL"; then
 
12580
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
 
12581
$as_echo "$INTLTOOL_PERL" >&6; }
 
12582
else
 
12583
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12584
$as_echo "no" >&6; }
 
12585
fi
 
12586
 
 
12587
 
 
12588
if test -z "$INTLTOOL_PERL"; then
 
12589
   { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
 
12590
$as_echo "$as_me: error: perl not found" >&2;}
 
12591
   { (exit 1); exit 1; }; }
 
12592
fi
 
12593
{ $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
 
12594
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
 
12595
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
12596
if test $? -ne 0; then
 
12597
   { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
 
12598
$as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
 
12599
   { (exit 1); exit 1; }; }
 
12600
else
 
12601
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
12602
   { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
 
12603
$as_echo "$IT_PERL_VERSION" >&6; }
 
12604
fi
 
12605
if test "x" != "xno-xml"; then
 
12606
   { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
 
12607
$as_echo_n "checking for XML::Parser... " >&6; }
 
12608
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
 
12609
       { $as_echo "$as_me:$LINENO: result: ok" >&5
 
12610
$as_echo "ok" >&6; }
 
12611
   else
 
12612
       { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
 
12613
$as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
 
12614
   { (exit 1); exit 1; }; }
 
12615
   fi
 
12616
fi
 
12617
 
 
12618
# Substitute ALL_LINGUAS so we can use it in po/Makefile
 
12619
 
 
12620
 
 
12621
# Set DATADIRNAME correctly if it is not set yet
 
12622
# (copied from glib-gettext.m4)
 
12623
if test -z "$DATADIRNAME"; then
 
12624
  cat >conftest.$ac_ext <<_ACEOF
 
12625
/* confdefs.h.  */
 
12626
_ACEOF
 
12627
cat confdefs.h >>conftest.$ac_ext
 
12628
cat >>conftest.$ac_ext <<_ACEOF
 
12629
/* end confdefs.h.  */
 
12630
 
 
12631
int
 
12632
main ()
 
12633
{
 
12634
extern int _nl_msg_cat_cntr;
 
12635
                       return _nl_msg_cat_cntr
 
12636
  ;
 
12637
  return 0;
 
12638
}
 
12639
_ACEOF
 
12640
rm -f conftest.$ac_objext conftest$ac_exeext
 
12641
if { (ac_try="$ac_link"
 
12642
case "(($ac_try" in
 
12643
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12644
  *) ac_try_echo=$ac_try;;
 
12645
esac
 
12646
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12647
$as_echo "$ac_try_echo") >&5
 
12648
  (eval "$ac_link") 2>conftest.er1
 
12649
  ac_status=$?
 
12650
  grep -v '^ *+' conftest.er1 >conftest.err
 
12651
  rm -f conftest.er1
 
12652
  cat conftest.err >&5
 
12653
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12654
  (exit $ac_status); } && {
 
12655
         test -z "$ac_c_werror_flag" ||
 
12656
         test ! -s conftest.err
 
12657
       } && test -s conftest$ac_exeext && {
 
12658
         test "$cross_compiling" = yes ||
 
12659
         $as_test_x conftest$ac_exeext
 
12660
       }; then
 
12661
  DATADIRNAME=share
 
12662
else
 
12663
  $as_echo "$as_me: failed program was:" >&5
 
12664
sed 's/^/| /' conftest.$ac_ext >&5
 
12665
 
 
12666
        case $host in
 
12667
    *-*-solaris*)
 
12668
                        { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 
12669
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
 
12670
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
 
12671
  $as_echo_n "(cached) " >&6
 
12672
else
 
12673
  cat >conftest.$ac_ext <<_ACEOF
 
12674
/* confdefs.h.  */
 
12675
_ACEOF
 
12676
cat confdefs.h >>conftest.$ac_ext
 
12677
cat >>conftest.$ac_ext <<_ACEOF
 
12678
/* end confdefs.h.  */
 
12679
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
 
12680
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
12681
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
 
12682
 
 
12683
/* System header to define __stub macros and hopefully few prototypes,
 
12684
    which can conflict with char bind_textdomain_codeset (); below.
 
12685
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
12686
    <limits.h> exists even on freestanding compilers.  */
 
12687
 
 
12688
#ifdef __STDC__
 
12689
# include <limits.h>
 
12690
#else
 
12691
# include <assert.h>
 
12692
#endif
 
12693
 
 
12694
#undef bind_textdomain_codeset
 
12695
 
 
12696
/* Override any GCC internal prototype to avoid an error.
 
12697
   Use char because int might match the return type of a GCC
 
12698
   builtin and then its argument prototype would still apply.  */
 
12699
#ifdef __cplusplus
 
12700
extern "C"
 
12701
#endif
 
12702
char bind_textdomain_codeset ();
 
12703
/* The GNU C library defines this for functions which it implements
 
12704
    to always fail with ENOSYS.  Some functions are actually named
 
12705
    something starting with __ and the normal name is an alias.  */
 
12706
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
 
12707
choke me
 
12708
#endif
 
12709
 
 
12710
int
 
12711
main ()
 
12712
{
 
12713
return bind_textdomain_codeset ();
 
12714
  ;
 
12715
  return 0;
 
12716
}
 
12717
_ACEOF
 
12718
rm -f conftest.$ac_objext conftest$ac_exeext
 
12719
if { (ac_try="$ac_link"
 
12720
case "(($ac_try" in
 
12721
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12722
  *) ac_try_echo=$ac_try;;
 
12723
esac
 
12724
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12725
$as_echo "$ac_try_echo") >&5
 
12726
  (eval "$ac_link") 2>conftest.er1
 
12727
  ac_status=$?
 
12728
  grep -v '^ *+' conftest.er1 >conftest.err
 
12729
  rm -f conftest.er1
 
12730
  cat conftest.err >&5
 
12731
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12732
  (exit $ac_status); } && {
 
12733
         test -z "$ac_c_werror_flag" ||
 
12734
         test ! -s conftest.err
 
12735
       } && test -s conftest$ac_exeext && {
 
12736
         test "$cross_compiling" = yes ||
 
12737
         $as_test_x conftest$ac_exeext
 
12738
       }; then
 
12739
  ac_cv_func_bind_textdomain_codeset=yes
 
12740
else
 
12741
  $as_echo "$as_me: failed program was:" >&5
 
12742
sed 's/^/| /' conftest.$ac_ext >&5
 
12743
 
 
12744
        ac_cv_func_bind_textdomain_codeset=no
 
12745
fi
 
12746
 
 
12747
rm -rf conftest.dSYM
 
12748
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
12749
      conftest$ac_exeext conftest.$ac_ext
 
12750
fi
 
12751
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 
12752
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
 
12753
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
12754
  DATADIRNAME=share
 
12755
else
 
12756
  DATADIRNAME=lib
 
12757
fi
 
12758
 
 
12759
    ;;
 
12760
    *)
 
12761
    DATADIRNAME=lib
 
12762
    ;;
 
12763
    esac
 
12764
fi
 
12765
 
 
12766
rm -rf conftest.dSYM
 
12767
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
12768
      conftest$ac_exeext conftest.$ac_ext
 
12769
fi
 
12770
 
 
12771
 
 
12772
 
 
12773
 
 
12774
 
 
12775
 
 
12776
GETTEXT_PACKAGE="${PACKAGE}"
 
12777
 
 
12778
cat >>confdefs.h <<_ACEOF
 
12779
#define GETTEXT_PACKAGE "$PACKAGE"
 
12780
_ACEOF
 
12781
 
 
12782
 
 
12783
localedir='${prefix}/${DATADIRNAME}/locale'
 
12784
 
 
12785
 
 
12786
# Workaround to make aclocal get the right flags
 
12787
 
 
12788
ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS} -I m4"
 
12789
 
 
12790
 
 
12791
# Need lndir for builddir != srcdir builds, because Python is not sane
 
12792
# Extract the first word of "lndir", so it can be a program name with args.
 
12793
set dummy lndir; ac_word=$2
 
12794
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12795
$as_echo_n "checking for $ac_word... " >&6; }
 
12796
if test "${ac_cv_path_LNDIR+set}" = set; then
 
12797
  $as_echo_n "(cached) " >&6
 
12798
else
 
12799
  case $LNDIR in
 
12800
  [\\/]* | ?:[\\/]*)
 
12801
  ac_cv_path_LNDIR="$LNDIR" # Let the user override the test with a path.
 
12802
  ;;
 
12803
  *)
 
12804
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12805
for as_dir in $PATH
 
12806
do
 
12807
  IFS=$as_save_IFS
 
12808
  test -z "$as_dir" && as_dir=.
 
12809
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12810
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12811
    ac_cv_path_LNDIR="$as_dir/$ac_word$ac_exec_ext"
 
12812
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12813
    break 2
 
12814
  fi
 
12815
done
 
12816
done
 
12817
IFS=$as_save_IFS
 
12818
 
 
12819
  test -z "$ac_cv_path_LNDIR" && ac_cv_path_LNDIR="false"
 
12820
  ;;
 
12821
esac
 
12822
fi
 
12823
LNDIR=$ac_cv_path_LNDIR
 
12824
if test -n "$LNDIR"; then
 
12825
  { $as_echo "$as_me:$LINENO: result: $LNDIR" >&5
 
12826
$as_echo "$LNDIR" >&6; }
 
12827
else
 
12828
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12829
$as_echo "no" >&6; }
 
12830
fi
 
12831
 
 
12832
 
 
12833
 
 
12834
# Icon sizes we want to install
 
12835
render_sizes="16x16 24x24 32x32 48x48"
 
12836
 
 
12837
 
 
12838
# Do we want to enable rendering?
 
12839
# Check whether --enable-rendering was given.
 
12840
if test "${enable_rendering+set}" = set; then
 
12841
  enableval=$enable_rendering; enable_rendering=$enableval
 
12842
else
 
12843
  enable_rendering=yes
 
12844
fi
 
12845
 
 
12846
 
 
12847
if test "x$enable_rendering" = "xyes"; then
 
12848
   # Extract the first word of "icontool-render", so it can be a program name with args.
 
12849
set dummy icontool-render; ac_word=$2
 
12850
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12851
$as_echo_n "checking for $ac_word... " >&6; }
 
12852
if test "${ac_cv_path_ICONTOOL_RENDER+set}" = set; then
 
12853
  $as_echo_n "(cached) " >&6
 
12854
else
 
12855
  case $ICONTOOL_RENDER in
 
12856
  [\\/]* | ?:[\\/]*)
 
12857
  ac_cv_path_ICONTOOL_RENDER="$ICONTOOL_RENDER" # Let the user override the test with a path.
 
12858
  ;;
 
12859
  *)
 
12860
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12861
for as_dir in $PATH
 
12862
do
 
12863
  IFS=$as_save_IFS
 
12864
  test -z "$as_dir" && as_dir=.
 
12865
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12866
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12867
    ac_cv_path_ICONTOOL_RENDER="$as_dir/$ac_word$ac_exec_ext"
 
12868
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12869
    break 2
 
12870
  fi
 
12871
done
 
12872
done
 
12873
IFS=$as_save_IFS
 
12874
 
 
12875
  test -z "$ac_cv_path_ICONTOOL_RENDER" && ac_cv_path_ICONTOOL_RENDER="false"
 
12876
  ;;
 
12877
esac
 
12878
fi
 
12879
ICONTOOL_RENDER=$ac_cv_path_ICONTOOL_RENDER
 
12880
if test -n "$ICONTOOL_RENDER"; then
 
12881
  { $as_echo "$as_me:$LINENO: result: $ICONTOOL_RENDER" >&5
 
12882
$as_echo "$ICONTOOL_RENDER" >&6; }
 
12883
else
 
12884
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12885
$as_echo "no" >&6; }
 
12886
fi
 
12887
 
 
12888
 
 
12889
   if test "x$ICONTOOL_RENDER" = "xfalse"; then
 
12890
      { $as_echo "$as_me:$LINENO: WARNING: icontool is required to generate icons" >&5
 
12891
$as_echo "$as_me: WARNING: icontool is required to generate icons" >&2;}
 
12892
      enable_rendering=no
 
12893
   fi
 
12894
fi
 
12895
 if test "x$enable_rendering" = "xyes"; then
 
12896
  ENABLE_RENDERING_TRUE=
 
12897
  ENABLE_RENDERING_FALSE='#'
 
12898
else
 
12899
  ENABLE_RENDERING_TRUE='#'
 
12900
  ENABLE_RENDERING_FALSE=
 
12901
fi
 
12902
 
 
12903
 
 
12904
# Check for python 2.5
 
12905
 
 
12906
 
 
12907
 
 
12908
 
 
12909
        if test -n "$PYTHON"; then
 
12910
      # If the user set $PYTHON, use it and don't search something else.
 
12911
      { $as_echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.5" >&5
 
12912
$as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
 
12913
      prog="import sys, string
 
12914
# split strings by '.' and convert to numeric.  Append some zeros
 
12915
# because we need at least 4 digits for the hex conversion.
 
12916
minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
 
12917
minverhex = 0
 
12918
for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
 
12919
sys.exit(sys.hexversion < minverhex)"
 
12920
  if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
 
12921
   ($PYTHON -c "$prog") >&5 2>&5
 
12922
   ac_status=$?
 
12923
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12924
   (exit $ac_status); }; then
 
12925
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12926
$as_echo "yes" >&6; }
 
12927
else
 
12928
  { { $as_echo "$as_me:$LINENO: error: too old" >&5
 
12929
$as_echo "$as_me: error: too old" >&2;}
 
12930
   { (exit 1); exit 1; }; }
 
12931
fi
 
12932
 
 
12933
      am_display_PYTHON=$PYTHON
 
12934
    else
 
12935
      # Otherwise, try each interpreter until we find one that satisfies
 
12936
      # VERSION.
 
12937
      { $as_echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.5" >&5
 
12938
$as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
 
12939
if test "${am_cv_pathless_PYTHON+set}" = set; then
 
12940
  $as_echo_n "(cached) " >&6
 
12941
else
 
12942
 
 
12943
        for am_cv_pathless_PYTHON in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do
 
12944
          test "$am_cv_pathless_PYTHON" = none && break
 
12945
          prog="import sys, string
 
12946
# split strings by '.' and convert to numeric.  Append some zeros
 
12947
# because we need at least 4 digits for the hex conversion.
 
12948
minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
 
12949
minverhex = 0
 
12950
for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
 
12951
sys.exit(sys.hexversion < minverhex)"
 
12952
  if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
 
12953
   ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
 
12954
   ac_status=$?
 
12955
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12956
   (exit $ac_status); }; then
 
12957
  break
 
12958
fi
 
12959
 
 
12960
        done
 
12961
fi
 
12962
{ $as_echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
 
12963
$as_echo "$am_cv_pathless_PYTHON" >&6; }
 
12964
      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
 
12965
      if test "$am_cv_pathless_PYTHON" = none; then
 
12966
        PYTHON=:
 
12967
      else
 
12968
        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
 
12969
set dummy $am_cv_pathless_PYTHON; ac_word=$2
 
12970
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12971
$as_echo_n "checking for $ac_word... " >&6; }
 
12972
if test "${ac_cv_path_PYTHON+set}" = set; then
 
12973
  $as_echo_n "(cached) " >&6
 
12974
else
 
12975
  case $PYTHON in
 
12976
  [\\/]* | ?:[\\/]*)
 
12977
  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
 
12978
  ;;
 
12979
  *)
 
12980
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12981
for as_dir in $PATH
 
12982
do
 
12983
  IFS=$as_save_IFS
 
12984
  test -z "$as_dir" && as_dir=.
 
12985
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12986
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12987
    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
 
12988
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12989
    break 2
 
12990
  fi
 
12991
done
 
12992
done
 
12993
IFS=$as_save_IFS
 
12994
 
 
12995
  ;;
 
12996
esac
 
12997
fi
 
12998
PYTHON=$ac_cv_path_PYTHON
 
12999
if test -n "$PYTHON"; then
 
13000
  { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
 
13001
$as_echo "$PYTHON" >&6; }
 
13002
else
 
13003
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13004
$as_echo "no" >&6; }
 
13005
fi
 
13006
 
 
13007
 
 
13008
      fi
 
13009
      am_display_PYTHON=$am_cv_pathless_PYTHON
 
13010
    fi
 
13011
 
 
13012
 
 
13013
  if test "$PYTHON" = :; then
 
13014
      { { $as_echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
 
13015
$as_echo "$as_me: error: no suitable Python interpreter found" >&2;}
 
13016
   { (exit 1); exit 1; }; }
 
13017
  else
 
13018
 
 
13019
 
 
13020
  { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
 
13021
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
 
13022
if test "${am_cv_python_version+set}" = set; then
 
13023
  $as_echo_n "(cached) " >&6
 
13024
else
 
13025
  am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
 
13026
fi
 
13027
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
 
13028
$as_echo "$am_cv_python_version" >&6; }
 
13029
  PYTHON_VERSION=$am_cv_python_version
 
13030
 
 
13031
 
 
13032
 
 
13033
  PYTHON_PREFIX='${prefix}'
 
13034
 
 
13035
  PYTHON_EXEC_PREFIX='${exec_prefix}'
 
13036
 
 
13037
 
 
13038
 
 
13039
  { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
 
13040
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
 
13041
if test "${am_cv_python_platform+set}" = set; then
 
13042
  $as_echo_n "(cached) " >&6
 
13043
else
 
13044
  am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
 
13045
fi
 
13046
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
 
13047
$as_echo "$am_cv_python_platform" >&6; }
 
13048
  PYTHON_PLATFORM=$am_cv_python_platform
 
13049
 
 
13050
 
 
13051
 
 
13052
 
 
13053
                { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
 
13054
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
 
13055
if test "${am_cv_python_pythondir+set}" = set; then
 
13056
  $as_echo_n "(cached) " >&6
 
13057
else
 
13058
  if test "x$prefix" = xNONE
 
13059
     then
 
13060
       py_prefix_arg=
 
13061
     else
 
13062
       py_prefix_arg=",prefix='$prefix'"
 
13063
     fi
 
13064
     am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0$py_prefix_arg)" -n -q install $py_prefix_arg 2>/dev/null ||
 
13065
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
13066
fi
 
13067
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
 
13068
$as_echo "$am_cv_python_pythondir" >&6; }
 
13069
  pythondir=$am_cv_python_pythondir
 
13070
 
 
13071
 
 
13072
 
 
13073
  pkgpythondir=\${pythondir}/$PACKAGE
 
13074
 
 
13075
 
 
13076
            { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
 
13077
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
 
13078
if test "${am_cv_python_pyexecdir+set}" = set; then
 
13079
  $as_echo_n "(cached) " >&6
 
13080
else
 
13081
  if test "x$exec_prefix" = xNONE
 
13082
     then
 
13083
       py_exec_prefix_arg=$py_prefix_arg
 
13084
     else
 
13085
       py_exec_prefix_arg=",prefix='$exec_prefix'"
 
13086
     fi
 
13087
     am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0$py_exec_prefix_arg)" -n -q install $py_exec_prefix_arg 2>/dev/null ||
 
13088
     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
13089
fi
 
13090
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
 
13091
$as_echo "$am_cv_python_pyexecdir" >&6; }
 
13092
  pyexecdir=$am_cv_python_pyexecdir
 
13093
 
 
13094
 
 
13095
 
 
13096
  pkgpyexecdir=\${pyexecdir}/$PACKAGE
 
13097
 
 
13098
 
 
13099
 
 
13100
  fi
 
13101
 
 
13102
 
 
13103
 
 
13104
# Specify the path for ubuntuone-storage-protocol source
 
13105
{ $as_echo "$as_me:$LINENO: checking for ubuntuone-storage-protocol" >&5
 
13106
$as_echo_n "checking for ubuntuone-storage-protocol... " >&6; }
 
13107
 
 
13108
# Check whether --with-protocol was given.
 
13109
if test "${with_protocol+set}" = set; then
 
13110
  withval=$with_protocol; with_protocol=$withval
 
13111
else
 
13112
  with_protocol=auto
 
13113
fi
 
13114
 
 
13115
USP_PATH=""
 
13116
if test "x$with_protocol" = "xauto"; then
 
13117
   USP_PATH="/usr/share/pyshared"
 
13118
else
 
13119
   USP_PATH="$with_protocol"
 
13120
fi
 
13121
if test -z "$USP_PATH"; then
 
13122
   { $as_echo "$as_me:$LINENO: result: none" >&5
 
13123
$as_echo "none" >&6; }
 
13124
   { { $as_echo "$as_me:$LINENO: error: ubuntuone-storage-protocol is required by ubuntuone-client" >&5
 
13125
$as_echo "$as_me: error: ubuntuone-storage-protocol is required by ubuntuone-client" >&2;}
 
13126
   { (exit 1); exit 1; }; }
 
13127
elif ! test -d $USP_PATH; then
 
13128
   { $as_echo "$as_me:$LINENO: result: none" >&5
 
13129
$as_echo "none" >&6; }
 
13130
   { { $as_echo "$as_me:$LINENO: error: ubuntuone-storage-protocol is required by ubuntuone-client" >&5
 
13131
$as_echo "$as_me: error: ubuntuone-storage-protocol is required by ubuntuone-client" >&2;}
 
13132
   { (exit 1); exit 1; }; }
 
13133
else
 
13134
   ending=`basename $USP_PATH`
 
13135
   if test "x$ending" != "xprotocol"; then
 
13136
      USP_PATH="$USP_PATH/ubuntuone/storageprotocol"
 
13137
   fi
 
13138
   { $as_echo "$as_me:$LINENO: result: $USP_PATH" >&5
 
13139
$as_echo "$USP_PATH" >&6; }
 
13140
fi
 
13141
 
 
13142
 
 
13143
# Stuff we need to build the extension shlib
 
13144
 
 
13145
pkg_failed=no
 
13146
{ $as_echo "$as_me:$LINENO: checking for NAUTILUS" >&5
 
13147
$as_echo_n "checking for NAUTILUS... " >&6; }
 
13148
 
 
13149
if test -n "$PKG_CONFIG"; then
 
13150
    if test -n "$NAUTILUS_CFLAGS"; then
 
13151
        pkg_cv_NAUTILUS_CFLAGS="$NAUTILUS_CFLAGS"
 
13152
    else
 
13153
        if test -n "$PKG_CONFIG" && \
 
13154
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnautilus-extension >= 2.6.0\"") >&5
 
13155
  ($PKG_CONFIG --exists --print-errors "libnautilus-extension >= 2.6.0") 2>&5
 
13156
  ac_status=$?
 
13157
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13158
  (exit $ac_status); }; then
 
13159
  pkg_cv_NAUTILUS_CFLAGS=`$PKG_CONFIG --cflags "libnautilus-extension >= 2.6.0" 2>/dev/null`
 
13160
else
 
13161
  pkg_failed=yes
 
13162
fi
 
13163
    fi
 
13164
else
 
13165
        pkg_failed=untried
 
13166
fi
 
13167
if test -n "$PKG_CONFIG"; then
 
13168
    if test -n "$NAUTILUS_LIBS"; then
 
13169
        pkg_cv_NAUTILUS_LIBS="$NAUTILUS_LIBS"
 
13170
    else
 
13171
        if test -n "$PKG_CONFIG" && \
 
13172
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnautilus-extension >= 2.6.0\"") >&5
 
13173
  ($PKG_CONFIG --exists --print-errors "libnautilus-extension >= 2.6.0") 2>&5
 
13174
  ac_status=$?
 
13175
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13176
  (exit $ac_status); }; then
 
13177
  pkg_cv_NAUTILUS_LIBS=`$PKG_CONFIG --libs "libnautilus-extension >= 2.6.0" 2>/dev/null`
 
13178
else
 
13179
  pkg_failed=yes
 
13180
fi
 
13181
    fi
 
13182
else
 
13183
        pkg_failed=untried
 
13184
fi
 
13185
 
 
13186
 
 
13187
 
 
13188
if test $pkg_failed = yes; then
 
13189
 
 
13190
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13191
        _pkg_short_errors_supported=yes
 
13192
else
 
13193
        _pkg_short_errors_supported=no
 
13194
fi
 
13195
        if test $_pkg_short_errors_supported = yes; then
 
13196
                NAUTILUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnautilus-extension >= 2.6.0"`
 
13197
        else
 
13198
                NAUTILUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnautilus-extension >= 2.6.0"`
 
13199
        fi
 
13200
        # Put the nasty error message in config.log where it belongs
 
13201
        echo "$NAUTILUS_PKG_ERRORS" >&5
 
13202
 
 
13203
        { { $as_echo "$as_me:$LINENO: error: Package requirements (libnautilus-extension >= 2.6.0) were not met:
 
13204
 
 
13205
$NAUTILUS_PKG_ERRORS
 
13206
 
 
13207
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13208
installed software in a non-standard prefix.
 
13209
 
 
13210
Alternatively, you may set the environment variables NAUTILUS_CFLAGS
 
13211
and NAUTILUS_LIBS to avoid the need to call pkg-config.
 
13212
See the pkg-config man page for more details.
 
13213
" >&5
 
13214
$as_echo "$as_me: error: Package requirements (libnautilus-extension >= 2.6.0) were not met:
 
13215
 
 
13216
$NAUTILUS_PKG_ERRORS
 
13217
 
 
13218
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13219
installed software in a non-standard prefix.
 
13220
 
 
13221
Alternatively, you may set the environment variables NAUTILUS_CFLAGS
 
13222
and NAUTILUS_LIBS to avoid the need to call pkg-config.
 
13223
See the pkg-config man page for more details.
 
13224
" >&2;}
 
13225
   { (exit 1); exit 1; }; }
 
13226
elif test $pkg_failed = untried; then
 
13227
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
13228
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
13229
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
13230
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13231
path to pkg-config.
 
13232
 
 
13233
Alternatively, you may set the environment variables NAUTILUS_CFLAGS
 
13234
and NAUTILUS_LIBS to avoid the need to call pkg-config.
 
13235
See the pkg-config man page for more details.
 
13236
 
 
13237
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13238
See \`config.log' for more details." >&5
 
13239
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
13240
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13241
path to pkg-config.
 
13242
 
 
13243
Alternatively, you may set the environment variables NAUTILUS_CFLAGS
 
13244
and NAUTILUS_LIBS to avoid the need to call pkg-config.
 
13245
See the pkg-config man page for more details.
 
13246
 
 
13247
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13248
See \`config.log' for more details." >&2;}
 
13249
   { (exit 1); exit 1; }; }; }
 
13250
else
 
13251
        NAUTILUS_CFLAGS=$pkg_cv_NAUTILUS_CFLAGS
 
13252
        NAUTILUS_LIBS=$pkg_cv_NAUTILUS_LIBS
 
13253
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13254
$as_echo "yes" >&6; }
 
13255
        :
 
13256
fi
 
13257
 
 
13258
 
 
13259
 
 
13260
 
 
13261
pkg_failed=no
 
13262
{ $as_echo "$as_me:$LINENO: checking for DBUS" >&5
 
13263
$as_echo_n "checking for DBUS... " >&6; }
 
13264
 
 
13265
if test -n "$PKG_CONFIG"; then
 
13266
    if test -n "$DBUS_CFLAGS"; then
 
13267
        pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
 
13268
    else
 
13269
        if test -n "$PKG_CONFIG" && \
 
13270
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.70\"") >&5
 
13271
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.70") 2>&5
 
13272
  ac_status=$?
 
13273
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13274
  (exit $ac_status); }; then
 
13275
  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= 0.70" 2>/dev/null`
 
13276
else
 
13277
  pkg_failed=yes
 
13278
fi
 
13279
    fi
 
13280
else
 
13281
        pkg_failed=untried
 
13282
fi
 
13283
if test -n "$PKG_CONFIG"; then
 
13284
    if test -n "$DBUS_LIBS"; then
 
13285
        pkg_cv_DBUS_LIBS="$DBUS_LIBS"
 
13286
    else
 
13287
        if test -n "$PKG_CONFIG" && \
 
13288
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.70\"") >&5
 
13289
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.70") 2>&5
 
13290
  ac_status=$?
 
13291
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13292
  (exit $ac_status); }; then
 
13293
  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= 0.70" 2>/dev/null`
 
13294
else
 
13295
  pkg_failed=yes
 
13296
fi
 
13297
    fi
 
13298
else
 
13299
        pkg_failed=untried
 
13300
fi
 
13301
 
 
13302
 
 
13303
 
 
13304
if test $pkg_failed = yes; then
 
13305
 
 
13306
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13307
        _pkg_short_errors_supported=yes
 
13308
else
 
13309
        _pkg_short_errors_supported=no
 
13310
fi
 
13311
        if test $_pkg_short_errors_supported = yes; then
 
13312
                DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-glib-1 >= 0.70"`
 
13313
        else
 
13314
                DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-glib-1 >= 0.70"`
 
13315
        fi
 
13316
        # Put the nasty error message in config.log where it belongs
 
13317
        echo "$DBUS_PKG_ERRORS" >&5
 
13318
 
 
13319
        { { $as_echo "$as_me:$LINENO: error: Package requirements (dbus-glib-1 >= 0.70) were not met:
 
13320
 
 
13321
$DBUS_PKG_ERRORS
 
13322
 
 
13323
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13324
installed software in a non-standard prefix.
 
13325
 
 
13326
Alternatively, you may set the environment variables DBUS_CFLAGS
 
13327
and DBUS_LIBS to avoid the need to call pkg-config.
 
13328
See the pkg-config man page for more details.
 
13329
" >&5
 
13330
$as_echo "$as_me: error: Package requirements (dbus-glib-1 >= 0.70) were not met:
 
13331
 
 
13332
$DBUS_PKG_ERRORS
 
13333
 
 
13334
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13335
installed software in a non-standard prefix.
 
13336
 
 
13337
Alternatively, you may set the environment variables DBUS_CFLAGS
 
13338
and DBUS_LIBS to avoid the need to call pkg-config.
 
13339
See the pkg-config man page for more details.
 
13340
" >&2;}
 
13341
   { (exit 1); exit 1; }; }
 
13342
elif test $pkg_failed = untried; then
 
13343
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
13344
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
13345
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
13346
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13347
path to pkg-config.
 
13348
 
 
13349
Alternatively, you may set the environment variables DBUS_CFLAGS
 
13350
and DBUS_LIBS to avoid the need to call pkg-config.
 
13351
See the pkg-config man page for more details.
 
13352
 
 
13353
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13354
See \`config.log' for more details." >&5
 
13355
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
13356
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13357
path to pkg-config.
 
13358
 
 
13359
Alternatively, you may set the environment variables DBUS_CFLAGS
 
13360
and DBUS_LIBS to avoid the need to call pkg-config.
 
13361
See the pkg-config man page for more details.
 
13362
 
 
13363
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13364
See \`config.log' for more details." >&2;}
 
13365
   { (exit 1); exit 1; }; }; }
 
13366
else
 
13367
        DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
 
13368
        DBUS_LIBS=$pkg_cv_DBUS_LIBS
 
13369
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13370
$as_echo "yes" >&6; }
 
13371
        :
 
13372
fi
 
13373
 
 
13374
 
 
13375
 
 
13376
 
 
13377
# Check whether --with-dbus-services was given.
 
13378
if test "${with_dbus_services+set}" = set; then
 
13379
  withval=$with_dbus_services;
 
13380
fi
 
13381
 
 
13382
if ! test -z "$with_dbus_services" ; then
 
13383
        DBUS_SERVICES_DIR="$with_dbus_services"
 
13384
else
 
13385
        # D-BUS 0.23 and higher use $prefix/share/dbus-1/services
 
13386
        DBUS_SERVICES_DIR="\${datadir}/dbus-1/services"
 
13387
fi
 
13388
 
 
13389
 
 
13390
ac_config_files="$ac_config_files Makefile data/Makefile nautilus/Makefile po/Makefile.in setup.py"
 
13391
 
 
13392
 
 
13393
cat >confcache <<\_ACEOF
 
13394
# This file is a shell script that caches the results of configure
 
13395
# tests run on this system so they can be shared between configure
 
13396
# scripts and configure runs, see configure's option --config-cache.
 
13397
# It is not useful on other systems.  If it contains results you don't
 
13398
# want to keep, you may remove or edit it.
 
13399
#
 
13400
# config.status only pays attention to the cache file if you give it
 
13401
# the --recheck option to rerun configure.
 
13402
#
 
13403
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
13404
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
13405
# following values.
 
13406
 
 
13407
_ACEOF
 
13408
 
 
13409
# The following way of writing the cache mishandles newlines in values,
 
13410
# but we know of no workaround that is simple, portable, and efficient.
 
13411
# So, we kill variables containing newlines.
 
13412
# Ultrix sh set writes to stderr and can't be redirected directly,
 
13413
# and sets the high bit in the cache file unless we assign to the vars.
 
13414
(
 
13415
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
13416
    eval ac_val=\$$ac_var
 
13417
    case $ac_val in #(
 
13418
    *${as_nl}*)
 
13419
      case $ac_var in #(
 
13420
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
13421
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
13422
      esac
 
13423
      case $ac_var in #(
 
13424
      _ | IFS | as_nl) ;; #(
 
13425
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
13426
      *) $as_unset $ac_var ;;
 
13427
      esac ;;
 
13428
    esac
 
13429
  done
 
13430
 
 
13431
  (set) 2>&1 |
 
13432
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
13433
    *${as_nl}ac_space=\ *)
 
13434
      # `set' does not quote correctly, so add quotes (double-quote
 
13435
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
13436
      sed -n \
 
13437
        "s/'/'\\\\''/g;
 
13438
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
13439
      ;; #(
 
13440
    *)
 
13441
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
13442
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
13443
      ;;
 
13444
    esac |
 
13445
    sort
 
13446
) |
 
13447
  sed '
 
13448
     /^ac_cv_env_/b end
 
13449
     t clear
 
13450
     :clear
 
13451
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
13452
     t end
 
13453
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
13454
     :end' >>confcache
 
13455
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
13456
  if test -w "$cache_file"; then
 
13457
    test "x$cache_file" != "x/dev/null" &&
 
13458
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
13459
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
13460
    cat confcache >$cache_file
 
13461
  else
 
13462
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
13463
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
13464
  fi
 
13465
fi
 
13466
rm -f confcache
 
13467
 
 
13468
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
13469
# Let make expand exec_prefix.
 
13470
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
13471
 
 
13472
DEFS=-DHAVE_CONFIG_H
 
13473
 
 
13474
ac_libobjs=
 
13475
ac_ltlibobjs=
 
13476
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
13477
  # 1. Remove the extension, and $U if already installed.
 
13478
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
13479
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
13480
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
13481
  #    will be set to the directory where LIBOBJS objects are built.
 
13482
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
13483
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
13484
done
 
13485
LIBOBJS=$ac_libobjs
 
13486
 
 
13487
LTLIBOBJS=$ac_ltlibobjs
 
13488
 
 
13489
 
 
13490
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
13491
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
13492
Usually this means the macro was only invoked conditionally." >&5
 
13493
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
13494
Usually this means the macro was only invoked conditionally." >&2;}
 
13495
   { (exit 1); exit 1; }; }
 
13496
fi
 
13497
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
13498
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
13499
Usually this means the macro was only invoked conditionally." >&5
 
13500
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
13501
Usually this means the macro was only invoked conditionally." >&2;}
 
13502
   { (exit 1); exit 1; }; }
 
13503
fi
 
13504
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
13505
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
13506
Usually this means the macro was only invoked conditionally." >&5
 
13507
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
13508
Usually this means the macro was only invoked conditionally." >&2;}
 
13509
   { (exit 1); exit 1; }; }
 
13510
fi
 
13511
 
 
13512
  ac_config_commands="$ac_config_commands po/stamp-it"
 
13513
 
 
13514
 
 
13515
if test -z "${ENABLE_RENDERING_TRUE}" && test -z "${ENABLE_RENDERING_FALSE}"; then
 
13516
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_RENDERING\" was never defined.
 
13517
Usually this means the macro was only invoked conditionally." >&5
 
13518
$as_echo "$as_me: error: conditional \"ENABLE_RENDERING\" was never defined.
 
13519
Usually this means the macro was only invoked conditionally." >&2;}
 
13520
   { (exit 1); exit 1; }; }
 
13521
fi
 
13522
 
 
13523
: ${CONFIG_STATUS=./config.status}
 
13524
ac_write_fail=0
 
13525
ac_clean_files_save=$ac_clean_files
 
13526
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
13527
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
13528
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
13529
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13530
#! $SHELL
 
13531
# Generated by $as_me.
 
13532
# Run this file to recreate the current configuration.
 
13533
# Compiler output produced by configure, useful for debugging
 
13534
# configure, is in config.log if it exists.
 
13535
 
 
13536
debug=false
 
13537
ac_cs_recheck=false
 
13538
ac_cs_silent=false
 
13539
SHELL=\${CONFIG_SHELL-$SHELL}
 
13540
_ACEOF
 
13541
 
 
13542
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13543
## --------------------- ##
 
13544
## M4sh Initialization.  ##
 
13545
## --------------------- ##
 
13546
 
 
13547
# Be more Bourne compatible
 
13548
DUALCASE=1; export DUALCASE # for MKS sh
 
13549
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
13550
  emulate sh
 
13551
  NULLCMD=:
 
13552
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
13553
  # is contrary to our usage.  Disable this feature.
 
13554
  alias -g '${1+"$@"}'='"$@"'
 
13555
  setopt NO_GLOB_SUBST
 
13556
else
 
13557
  case `(set -o) 2>/dev/null` in
 
13558
  *posix*) set -o posix ;;
 
13559
esac
 
13560
 
 
13561
fi
 
13562
 
 
13563
 
 
13564
 
 
13565
 
 
13566
# PATH needs CR
 
13567
# Avoid depending upon Character Ranges.
 
13568
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
13569
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
13570
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
13571
as_cr_digits='0123456789'
 
13572
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
13573
 
 
13574
as_nl='
 
13575
'
 
13576
export as_nl
 
13577
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
13578
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
13579
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
13580
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
13581
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
13582
  as_echo='printf %s\n'
 
13583
  as_echo_n='printf %s'
 
13584
else
 
13585
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
13586
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
13587
    as_echo_n='/usr/ucb/echo -n'
 
13588
  else
 
13589
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
13590
    as_echo_n_body='eval
 
13591
      arg=$1;
 
13592
      case $arg in
 
13593
      *"$as_nl"*)
 
13594
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
13595
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
13596
      esac;
 
13597
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
13598
    '
 
13599
    export as_echo_n_body
 
13600
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
13601
  fi
 
13602
  export as_echo_body
 
13603
  as_echo='sh -c $as_echo_body as_echo'
 
13604
fi
 
13605
 
 
13606
# The user is always right.
 
13607
if test "${PATH_SEPARATOR+set}" != set; then
 
13608
  PATH_SEPARATOR=:
 
13609
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
13610
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
13611
      PATH_SEPARATOR=';'
 
13612
  }
 
13613
fi
 
13614
 
 
13615
# Support unset when possible.
 
13616
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
13617
  as_unset=unset
 
13618
else
 
13619
  as_unset=false
 
13620
fi
 
13621
 
 
13622
 
 
13623
# IFS
 
13624
# We need space, tab and new line, in precisely that order.  Quoting is
 
13625
# there to prevent editors from complaining about space-tab.
 
13626
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
13627
# splitting by setting IFS to empty value.)
 
13628
IFS=" ""        $as_nl"
 
13629
 
 
13630
# Find who we are.  Look in the path if we contain no directory separator.
 
13631
case $0 in
 
13632
  *[\\/]* ) as_myself=$0 ;;
 
13633
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13634
for as_dir in $PATH
 
13635
do
 
13636
  IFS=$as_save_IFS
 
13637
  test -z "$as_dir" && as_dir=.
 
13638
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
13639
done
 
13640
IFS=$as_save_IFS
 
13641
 
 
13642
     ;;
 
13643
esac
 
13644
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
13645
# in which case we are not to be found in the path.
 
13646
if test "x$as_myself" = x; then
 
13647
  as_myself=$0
 
13648
fi
 
13649
if test ! -f "$as_myself"; then
 
13650
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
13651
  { (exit 1); exit 1; }
 
13652
fi
 
13653
 
 
13654
# Work around bugs in pre-3.0 UWIN ksh.
 
13655
for as_var in ENV MAIL MAILPATH
 
13656
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
13657
done
 
13658
PS1='$ '
 
13659
PS2='> '
 
13660
PS4='+ '
 
13661
 
 
13662
# NLS nuisances.
 
13663
LC_ALL=C
 
13664
export LC_ALL
 
13665
LANGUAGE=C
 
13666
export LANGUAGE
 
13667
 
 
13668
# Required to use basename.
 
13669
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
13670
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
13671
  as_expr=expr
 
13672
else
 
13673
  as_expr=false
 
13674
fi
 
13675
 
 
13676
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
13677
  as_basename=basename
 
13678
else
 
13679
  as_basename=false
 
13680
fi
 
13681
 
 
13682
 
 
13683
# Name of the executable.
 
13684
as_me=`$as_basename -- "$0" ||
 
13685
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
13686
         X"$0" : 'X\(//\)$' \| \
 
13687
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
13688
$as_echo X/"$0" |
 
13689
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
13690
            s//\1/
 
13691
            q
 
13692
          }
 
13693
          /^X\/\(\/\/\)$/{
 
13694
            s//\1/
 
13695
            q
 
13696
          }
 
13697
          /^X\/\(\/\).*/{
 
13698
            s//\1/
 
13699
            q
 
13700
          }
 
13701
          s/.*/./; q'`
 
13702
 
 
13703
# CDPATH.
 
13704
$as_unset CDPATH
 
13705
 
 
13706
 
 
13707
 
 
13708
  as_lineno_1=$LINENO
 
13709
  as_lineno_2=$LINENO
 
13710
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
13711
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
13712
 
 
13713
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
13714
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
13715
  # line-number line after each line using $LINENO; the second 'sed'
 
13716
  # does the real work.  The second script uses 'N' to pair each
 
13717
  # line-number line with the line containing $LINENO, and appends
 
13718
  # trailing '-' during substitution so that $LINENO is not a special
 
13719
  # case at line end.
 
13720
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
13721
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
13722
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
13723
  sed -n '
 
13724
    p
 
13725
    /[$]LINENO/=
 
13726
  ' <$as_myself |
 
13727
    sed '
 
13728
      s/[$]LINENO.*/&-/
 
13729
      t lineno
 
13730
      b
 
13731
      :lineno
 
13732
      N
 
13733
      :loop
 
13734
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
13735
      t loop
 
13736
      s/-\n.*//
 
13737
    ' >$as_me.lineno &&
 
13738
  chmod +x "$as_me.lineno" ||
 
13739
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
13740
   { (exit 1); exit 1; }; }
 
13741
 
 
13742
  # Don't try to exec as it changes $[0], causing all sort of problems
 
13743
  # (the dirname of $[0] is not the place where we might find the
 
13744
  # original and so on.  Autoconf is especially sensitive to this).
 
13745
  . "./$as_me.lineno"
 
13746
  # Exit status is that of the last command.
 
13747
  exit
 
13748
}
 
13749
 
 
13750
 
 
13751
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
13752
  as_dirname=dirname
 
13753
else
 
13754
  as_dirname=false
 
13755
fi
 
13756
 
 
13757
ECHO_C= ECHO_N= ECHO_T=
 
13758
case `echo -n x` in
 
13759
-n*)
 
13760
  case `echo 'x\c'` in
 
13761
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
13762
  *)   ECHO_C='\c';;
 
13763
  esac;;
 
13764
*)
 
13765
  ECHO_N='-n';;
 
13766
esac
 
13767
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
13768
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
13769
  as_expr=expr
 
13770
else
 
13771
  as_expr=false
 
13772
fi
 
13773
 
 
13774
rm -f conf$$ conf$$.exe conf$$.file
 
13775
if test -d conf$$.dir; then
 
13776
  rm -f conf$$.dir/conf$$.file
 
13777
else
 
13778
  rm -f conf$$.dir
 
13779
  mkdir conf$$.dir 2>/dev/null
 
13780
fi
 
13781
if (echo >conf$$.file) 2>/dev/null; then
 
13782
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
13783
    as_ln_s='ln -s'
 
13784
    # ... but there are two gotchas:
 
13785
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
13786
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
13787
    # In both cases, we have to default to `cp -p'.
 
13788
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
13789
      as_ln_s='cp -p'
 
13790
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
13791
    as_ln_s=ln
 
13792
  else
 
13793
    as_ln_s='cp -p'
 
13794
  fi
 
13795
else
 
13796
  as_ln_s='cp -p'
 
13797
fi
 
13798
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
13799
rmdir conf$$.dir 2>/dev/null
 
13800
 
 
13801
if mkdir -p . 2>/dev/null; then
 
13802
  as_mkdir_p=:
 
13803
else
 
13804
  test -d ./-p && rmdir ./-p
 
13805
  as_mkdir_p=false
 
13806
fi
 
13807
 
 
13808
if test -x / >/dev/null 2>&1; then
 
13809
  as_test_x='test -x'
 
13810
else
 
13811
  if ls -dL / >/dev/null 2>&1; then
 
13812
    as_ls_L_option=L
 
13813
  else
 
13814
    as_ls_L_option=
 
13815
  fi
 
13816
  as_test_x='
 
13817
    eval sh -c '\''
 
13818
      if test -d "$1"; then
 
13819
        test -d "$1/.";
 
13820
      else
 
13821
        case $1 in
 
13822
        -*)set "./$1";;
 
13823
        esac;
 
13824
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
13825
        ???[sx]*):;;*)false;;esac;fi
 
13826
    '\'' sh
 
13827
  '
 
13828
fi
 
13829
as_executable_p=$as_test_x
 
13830
 
 
13831
# Sed expression to map a string onto a valid CPP name.
 
13832
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
13833
 
 
13834
# Sed expression to map a string onto a valid variable name.
 
13835
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
13836
 
 
13837
 
 
13838
exec 6>&1
 
13839
 
 
13840
# Save the log message, to keep $[0] and so on meaningful, and to
 
13841
# report actual input values of CONFIG_FILES etc. instead of their
 
13842
# values after options handling.
 
13843
ac_log="
 
13844
This file was extended by ubuntuone-client $as_me 0.90.3, which was
 
13845
generated by GNU Autoconf 2.63.  Invocation command line was
 
13846
 
 
13847
  CONFIG_FILES    = $CONFIG_FILES
 
13848
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
13849
  CONFIG_LINKS    = $CONFIG_LINKS
 
13850
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
13851
  $ $0 $@
 
13852
 
 
13853
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
13854
"
 
13855
 
 
13856
_ACEOF
 
13857
 
 
13858
case $ac_config_files in *"
 
13859
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
13860
esac
 
13861
 
 
13862
case $ac_config_headers in *"
 
13863
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
13864
esac
 
13865
 
 
13866
 
 
13867
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13868
# Files that config.status was made for.
 
13869
config_files="$ac_config_files"
 
13870
config_headers="$ac_config_headers"
 
13871
config_commands="$ac_config_commands"
 
13872
 
 
13873
_ACEOF
 
13874
 
 
13875
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13876
ac_cs_usage="\
 
13877
\`$as_me' instantiates files from templates according to the
 
13878
current configuration.
 
13879
 
 
13880
Usage: $0 [OPTION]... [FILE]...
 
13881
 
 
13882
  -h, --help       print this help, then exit
 
13883
  -V, --version    print version number and configuration settings, then exit
 
13884
  -q, --quiet, --silent
 
13885
                   do not print progress messages
 
13886
  -d, --debug      don't remove temporary files
 
13887
      --recheck    update $as_me by reconfiguring in the same conditions
 
13888
      --file=FILE[:TEMPLATE]
 
13889
                   instantiate the configuration file FILE
 
13890
      --header=FILE[:TEMPLATE]
 
13891
                   instantiate the configuration header FILE
 
13892
 
 
13893
Configuration files:
 
13894
$config_files
 
13895
 
 
13896
Configuration headers:
 
13897
$config_headers
 
13898
 
 
13899
Configuration commands:
 
13900
$config_commands
 
13901
 
 
13902
Report bugs to <bug-autoconf@gnu.org>."
 
13903
 
 
13904
_ACEOF
 
13905
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13906
ac_cs_version="\\
 
13907
ubuntuone-client config.status 0.90.3
 
13908
configured by $0, generated by GNU Autoconf 2.63,
 
13909
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
13910
 
 
13911
Copyright (C) 2008 Free Software Foundation, Inc.
 
13912
This config.status script is free software; the Free Software Foundation
 
13913
gives unlimited permission to copy, distribute and modify it."
 
13914
 
 
13915
ac_pwd='$ac_pwd'
 
13916
srcdir='$srcdir'
 
13917
INSTALL='$INSTALL'
 
13918
MKDIR_P='$MKDIR_P'
 
13919
AWK='$AWK'
 
13920
test -n "\$AWK" || AWK=awk
 
13921
_ACEOF
 
13922
 
 
13923
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13924
# The default lists apply if the user does not specify any file.
 
13925
ac_need_defaults=:
 
13926
while test $# != 0
 
13927
do
 
13928
  case $1 in
 
13929
  --*=*)
 
13930
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
13931
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
13932
    ac_shift=:
 
13933
    ;;
 
13934
  *)
 
13935
    ac_option=$1
 
13936
    ac_optarg=$2
 
13937
    ac_shift=shift
 
13938
    ;;
 
13939
  esac
 
13940
 
 
13941
  case $ac_option in
 
13942
  # Handling of the options.
 
13943
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
13944
    ac_cs_recheck=: ;;
 
13945
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
13946
    $as_echo "$ac_cs_version"; exit ;;
 
13947
  --debug | --debu | --deb | --de | --d | -d )
 
13948
    debug=: ;;
 
13949
  --file | --fil | --fi | --f )
 
13950
    $ac_shift
 
13951
    case $ac_optarg in
 
13952
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
13953
    esac
 
13954
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
13955
    ac_need_defaults=false;;
 
13956
  --header | --heade | --head | --hea )
 
13957
    $ac_shift
 
13958
    case $ac_optarg in
 
13959
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
13960
    esac
 
13961
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
13962
    ac_need_defaults=false;;
 
13963
  --he | --h)
 
13964
    # Conflict between --help and --header
 
13965
    { $as_echo "$as_me: error: ambiguous option: $1
 
13966
Try \`$0 --help' for more information." >&2
 
13967
   { (exit 1); exit 1; }; };;
 
13968
  --help | --hel | -h )
 
13969
    $as_echo "$ac_cs_usage"; exit ;;
 
13970
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
13971
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
13972
    ac_cs_silent=: ;;
 
13973
 
 
13974
  # This is an error.
 
13975
  -*) { $as_echo "$as_me: error: unrecognized option: $1
 
13976
Try \`$0 --help' for more information." >&2
 
13977
   { (exit 1); exit 1; }; } ;;
 
13978
 
 
13979
  *) ac_config_targets="$ac_config_targets $1"
 
13980
     ac_need_defaults=false ;;
 
13981
 
 
13982
  esac
 
13983
  shift
 
13984
done
 
13985
 
 
13986
ac_configure_extra_args=
 
13987
 
 
13988
if $ac_cs_silent; then
 
13989
  exec 6>/dev/null
 
13990
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
13991
fi
 
13992
 
 
13993
_ACEOF
 
13994
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13995
if \$ac_cs_recheck; then
 
13996
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
13997
  shift
 
13998
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
13999
  CONFIG_SHELL='$SHELL'
 
14000
  export CONFIG_SHELL
 
14001
  exec "\$@"
 
14002
fi
 
14003
 
 
14004
_ACEOF
 
14005
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14006
exec 5>>config.log
 
14007
{
 
14008
  echo
 
14009
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
14010
## Running $as_me. ##
 
14011
_ASBOX
 
14012
  $as_echo "$ac_log"
 
14013
} >&5
 
14014
 
 
14015
_ACEOF
 
14016
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14017
#
 
14018
# INIT-COMMANDS
 
14019
#
 
14020
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
14021
 
 
14022
 
 
14023
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
14024
# if CDPATH is set.
 
14025
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
14026
 
 
14027
sed_quote_subst='$sed_quote_subst'
 
14028
double_quote_subst='$double_quote_subst'
 
14029
delay_variable_subst='$delay_variable_subst'
 
14030
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
14031
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
14032
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
14033
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
14034
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
14035
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
14036
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
14037
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
14038
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
14039
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
14040
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
14041
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
14042
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
14043
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
14044
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
14045
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
14046
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
14047
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
14048
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
14049
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
14050
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
14051
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
14052
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
14053
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
14054
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
14055
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
14056
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
14057
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14058
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
14059
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
14060
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
14061
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
14062
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
14063
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
14064
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
14065
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14066
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14067
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14068
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
14069
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
14070
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
14071
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
14072
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
14073
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
14074
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"`'
 
14075
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"`'
 
14076
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
14077
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
14078
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
14079
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
14080
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
14081
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
14082
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
14083
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
14084
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
14085
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
14086
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
14087
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
14088
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
14089
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
14090
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
14091
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
14092
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14093
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14094
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
14095
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
14096
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14097
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14098
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
14099
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14100
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14101
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14102
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14103
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14104
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14105
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
14106
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
14107
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
14108
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14109
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
14110
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
14111
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
14112
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
14113
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
14114
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
14115
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
14116
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
14117
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
14118
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
14119
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
14120
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14121
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
14122
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
14123
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14124
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14125
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
14126
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
14127
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
14128
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
14129
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
14130
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
14131
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
14132
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14133
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14134
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14135
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14136
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14137
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14138
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
14139
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
14140
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14141
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14142
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
14143
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
14144
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
14145
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
14146
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
14147
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
14148
 
 
14149
LTCC='$LTCC'
 
14150
LTCFLAGS='$LTCFLAGS'
 
14151
compiler='$compiler_DEFAULT'
 
14152
 
 
14153
# Quote evaled strings.
 
14154
for var in SED \
 
14155
GREP \
 
14156
EGREP \
 
14157
FGREP \
 
14158
LD \
 
14159
NM \
 
14160
LN_S \
 
14161
lt_SP2NL \
 
14162
lt_NL2SP \
 
14163
reload_flag \
 
14164
OBJDUMP \
 
14165
deplibs_check_method \
 
14166
file_magic_cmd \
 
14167
AR \
 
14168
AR_FLAGS \
 
14169
STRIP \
 
14170
RANLIB \
 
14171
CC \
 
14172
CFLAGS \
 
14173
compiler \
 
14174
lt_cv_sys_global_symbol_pipe \
 
14175
lt_cv_sys_global_symbol_to_cdecl \
 
14176
lt_cv_sys_global_symbol_to_c_name_address \
 
14177
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
14178
SHELL \
 
14179
ECHO \
 
14180
lt_prog_compiler_no_builtin_flag \
 
14181
lt_prog_compiler_wl \
 
14182
lt_prog_compiler_pic \
 
14183
lt_prog_compiler_static \
 
14184
lt_cv_prog_compiler_c_o \
 
14185
need_locks \
 
14186
DSYMUTIL \
 
14187
NMEDIT \
 
14188
LIPO \
 
14189
OTOOL \
 
14190
OTOOL64 \
 
14191
shrext_cmds \
 
14192
export_dynamic_flag_spec \
 
14193
whole_archive_flag_spec \
 
14194
compiler_needs_object \
 
14195
with_gnu_ld \
 
14196
allow_undefined_flag \
 
14197
no_undefined_flag \
 
14198
hardcode_libdir_flag_spec \
 
14199
hardcode_libdir_flag_spec_ld \
 
14200
hardcode_libdir_separator \
 
14201
fix_srcfile_path \
 
14202
exclude_expsyms \
 
14203
include_expsyms \
 
14204
file_list_spec \
 
14205
variables_saved_for_relink \
 
14206
libname_spec \
 
14207
library_names_spec \
 
14208
soname_spec \
 
14209
finish_eval \
 
14210
old_striplib \
 
14211
striplib; do
 
14212
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
14213
    *[\\\\\\\`\\"\\\$]*)
 
14214
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
14215
      ;;
 
14216
    *)
 
14217
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
14218
      ;;
 
14219
    esac
 
14220
done
 
14221
 
 
14222
# Double-quote double-evaled strings.
 
14223
for var in reload_cmds \
 
14224
old_postinstall_cmds \
 
14225
old_postuninstall_cmds \
 
14226
old_archive_cmds \
 
14227
extract_expsyms_cmds \
 
14228
old_archive_from_new_cmds \
 
14229
old_archive_from_expsyms_cmds \
 
14230
archive_cmds \
 
14231
archive_expsym_cmds \
 
14232
module_cmds \
 
14233
module_expsym_cmds \
 
14234
export_symbols_cmds \
 
14235
prelink_cmds \
 
14236
postinstall_cmds \
 
14237
postuninstall_cmds \
 
14238
finish_cmds \
 
14239
sys_lib_search_path_spec \
 
14240
sys_lib_dlsearch_path_spec; do
 
14241
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
14242
    *[\\\\\\\`\\"\\\$]*)
 
14243
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
14244
      ;;
 
14245
    *)
 
14246
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
14247
      ;;
 
14248
    esac
 
14249
done
 
14250
 
 
14251
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
14252
case \$lt_ECHO in
 
14253
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
14254
  ;;
 
14255
esac
 
14256
 
 
14257
ac_aux_dir='$ac_aux_dir'
 
14258
xsi_shell='$xsi_shell'
 
14259
lt_shell_append='$lt_shell_append'
 
14260
 
 
14261
# See if we are running on zsh, and set the options which allow our
 
14262
# commands through without removal of \ escapes INIT.
 
14263
if test -n "\${ZSH_VERSION+set}" ; then
 
14264
   setopt NO_GLOB_SUBST
 
14265
fi
 
14266
 
 
14267
 
 
14268
    PACKAGE='$PACKAGE'
 
14269
    VERSION='$VERSION'
 
14270
    TIMESTAMP='$TIMESTAMP'
 
14271
    RM='$RM'
 
14272
    ofile='$ofile'
 
14273
 
 
14274
 
 
14275
 
 
14276
 
 
14277
_ACEOF
 
14278
 
 
14279
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14280
 
 
14281
# Handling of arguments.
 
14282
for ac_config_target in $ac_config_targets
 
14283
do
 
14284
  case $ac_config_target in
 
14285
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
14286
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
14287
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
14288
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
14289
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
 
14290
    "nautilus/Makefile") CONFIG_FILES="$CONFIG_FILES nautilus/Makefile" ;;
 
14291
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
14292
    "setup.py") CONFIG_FILES="$CONFIG_FILES setup.py" ;;
 
14293
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
 
14294
 
 
14295
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
14296
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
14297
   { (exit 1); exit 1; }; };;
 
14298
  esac
 
14299
done
 
14300
 
 
14301
 
 
14302
# If the user did not use the arguments to specify the items to instantiate,
 
14303
# then the envvar interface is used.  Set only those that are not.
 
14304
# We use the long form for the default assignment because of an extremely
 
14305
# bizarre bug on SunOS 4.1.3.
 
14306
if $ac_need_defaults; then
 
14307
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
14308
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
14309
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
14310
fi
 
14311
 
 
14312
# Have a temporary directory for convenience.  Make it in the build tree
 
14313
# simply because there is no reason against having it here, and in addition,
 
14314
# creating and moving files from /tmp can sometimes cause problems.
 
14315
# Hook for its removal unless debugging.
 
14316
# Note that there is a small window in which the directory will not be cleaned:
 
14317
# after its creation but before its name has been assigned to `$tmp'.
 
14318
$debug ||
 
14319
{
 
14320
  tmp=
 
14321
  trap 'exit_status=$?
 
14322
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
14323
' 0
 
14324
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
14325
}
 
14326
# Create a (secure) tmp directory for tmp files.
 
14327
 
 
14328
{
 
14329
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
14330
  test -n "$tmp" && test -d "$tmp"
 
14331
}  ||
 
14332
{
 
14333
  tmp=./conf$$-$RANDOM
 
14334
  (umask 077 && mkdir "$tmp")
 
14335
} ||
 
14336
{
 
14337
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
 
14338
   { (exit 1); exit 1; }
 
14339
}
 
14340
 
 
14341
# Set up the scripts for CONFIG_FILES section.
 
14342
# No need to generate them if there are no CONFIG_FILES.
 
14343
# This happens for instance with `./config.status config.h'.
 
14344
if test -n "$CONFIG_FILES"; then
 
14345
 
 
14346
 
 
14347
ac_cr='
 
 
b"'"
 
14348
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
14349
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
14350
  ac_cs_awk_cr='\\r'
 
14351
else
 
14352
  ac_cs_awk_cr=$ac_cr
 
14353
fi
 
14354
 
 
14355
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
14356
_ACEOF
 
14357
 
 
14358
 
 
14359
{
 
14360
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
14361
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
14362
  echo "_ACEOF"
 
14363
} >conf$$subs.sh ||
 
14364
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
14365
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
14366
   { (exit 1); exit 1; }; }
 
14367
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
14368
ac_delim='%!_!# '
 
14369
for ac_last_try in false false false false false :; do
 
14370
  . ./conf$$subs.sh ||
 
14371
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
14372
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
14373
   { (exit 1); exit 1; }; }
 
14374
 
 
14375
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
14376
  if test $ac_delim_n = $ac_delim_num; then
 
14377
    break
 
14378
  elif $ac_last_try; then
 
14379
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
14380
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
14381
   { (exit 1); exit 1; }; }
 
14382
  else
 
14383
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
14384
  fi
 
14385
done
 
14386
rm -f conf$$subs.sh
 
14387
 
 
14388
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14389
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
14390
_ACEOF
 
14391
sed -n '
 
14392
h
 
14393
s/^/S["/; s/!.*/"]=/
 
14394
p
 
14395
g
 
14396
s/^[^!]*!//
 
14397
:repl
 
14398
t repl
 
14399
s/'"$ac_delim"'$//
 
14400
t delim
 
14401
:nl
 
14402
h
 
14403
s/\(.\{148\}\).*/\1/
 
14404
t more1
 
14405
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
14406
p
 
14407
n
 
14408
b repl
 
14409
:more1
 
14410
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
14411
p
 
14412
g
 
14413
s/.\{148\}//
 
14414
t nl
 
14415
:delim
 
14416
h
 
14417
s/\(.\{148\}\).*/\1/
 
14418
t more2
 
14419
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
14420
p
 
14421
b
 
14422
:more2
 
14423
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
14424
p
 
14425
g
 
14426
s/.\{148\}//
 
14427
t delim
 
14428
' <conf$$subs.awk | sed '
 
14429
/^[^""]/{
 
14430
  N
 
14431
  s/\n//
 
14432
}
 
14433
' >>$CONFIG_STATUS || ac_write_fail=1
 
14434
rm -f conf$$subs.awk
 
14435
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14436
_ACAWK
 
14437
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
14438
  for (key in S) S_is_set[key] = 1
 
14439
  FS = ""
 
14440
 
 
14441
}
 
14442
{
 
14443
  line = $ 0
 
14444
  nfields = split(line, field, "@")
 
14445
  substed = 0
 
14446
  len = length(field[1])
 
14447
  for (i = 2; i < nfields; i++) {
 
14448
    key = field[i]
 
14449
    keylen = length(key)
 
14450
    if (S_is_set[key]) {
 
14451
      value = S[key]
 
14452
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
14453
      len += length(value) + length(field[++i])
 
14454
      substed = 1
 
14455
    } else
 
14456
      len += 1 + keylen
 
14457
  }
 
14458
 
 
14459
  print line
 
14460
}
 
14461
 
 
14462
_ACAWK
 
14463
_ACEOF
 
14464
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14465
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
14466
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
14467
else
 
14468
  cat
 
14469
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
14470
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
14471
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
14472
   { (exit 1); exit 1; }; }
 
14473
_ACEOF
 
14474
 
 
14475
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
14476
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
14477
# trailing colons and then remove the whole line if VPATH becomes empty
 
14478
# (actually we leave an empty line to preserve line numbers).
 
14479
if test "x$srcdir" = x.; then
 
14480
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
14481
s/:*\$(srcdir):*/:/
 
14482
s/:*\${srcdir}:*/:/
 
14483
s/:*@srcdir@:*/:/
 
14484
s/^\([^=]*=[     ]*\):*/\1/
 
14485
s/:*$//
 
14486
s/^[^=]*=[       ]*$//
 
14487
}'
 
14488
fi
 
14489
 
 
14490
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14491
fi # test -n "$CONFIG_FILES"
 
14492
 
 
14493
# Set up the scripts for CONFIG_HEADERS section.
 
14494
# No need to generate them if there are no CONFIG_HEADERS.
 
14495
# This happens for instance with `./config.status Makefile'.
 
14496
if test -n "$CONFIG_HEADERS"; then
 
14497
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
14498
BEGIN {
 
14499
_ACEOF
 
14500
 
 
14501
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
14502
# here-document in config.status, that substitutes the proper values into
 
14503
# config.h.in to produce config.h.
 
14504
 
 
14505
# Create a delimiter string that does not exist in confdefs.h, to ease
 
14506
# handling of long lines.
 
14507
ac_delim='%!_!# '
 
14508
for ac_last_try in false false :; do
 
14509
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
14510
  if test -z "$ac_t"; then
 
14511
    break
 
14512
  elif $ac_last_try; then
 
14513
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
14514
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
14515
   { (exit 1); exit 1; }; }
 
14516
  else
 
14517
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
14518
  fi
 
14519
done
 
14520
 
 
14521
# For the awk script, D is an array of macro values keyed by name,
 
14522
# likewise P contains macro parameters if any.  Preserve backslash
 
14523
# newline sequences.
 
14524
 
 
14525
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
14526
sed -n '
 
14527
s/.\{148\}/&'"$ac_delim"'/g
 
14528
t rset
 
14529
:rset
 
14530
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
14531
t def
 
14532
d
 
14533
:def
 
14534
s/\\$//
 
14535
t bsnl
 
14536
s/["\\]/\\&/g
 
14537
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
14538
D["\1"]=" \3"/p
 
14539
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
14540
d
 
14541
:bsnl
 
14542
s/["\\]/\\&/g
 
14543
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
14544
D["\1"]=" \3\\\\\\n"\\/p
 
14545
t cont
 
14546
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
14547
t cont
 
14548
d
 
14549
:cont
 
14550
n
 
14551
s/.\{148\}/&'"$ac_delim"'/g
 
14552
t clear
 
14553
:clear
 
14554
s/\\$//
 
14555
t bsnlc
 
14556
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
14557
d
 
14558
:bsnlc
 
14559
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
14560
b cont
 
14561
' <confdefs.h | sed '
 
14562
s/'"$ac_delim"'/"\\\
 
14563
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
14564
 
 
14565
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14566
  for (key in D) D_is_set[key] = 1
 
14567
  FS = ""
 
14568
}
 
14569
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
14570
  line = \$ 0
 
14571
  split(line, arg, " ")
 
14572
  if (arg[1] == "#") {
 
14573
    defundef = arg[2]
 
14574
    mac1 = arg[3]
 
14575
  } else {
 
14576
    defundef = substr(arg[1], 2)
 
14577
    mac1 = arg[2]
 
14578
  }
 
14579
  split(mac1, mac2, "(") #)
 
14580
  macro = mac2[1]
 
14581
  prefix = substr(line, 1, index(line, defundef) - 1)
 
14582
  if (D_is_set[macro]) {
 
14583
    # Preserve the white space surrounding the "#".
 
14584
    print prefix "define", macro P[macro] D[macro]
 
14585
    next
 
14586
  } else {
 
14587
    # Replace #undef with comments.  This is necessary, for example,
 
14588
    # in the case of _POSIX_SOURCE, which is predefined and required
 
14589
    # on some systems where configure will not decide to define it.
 
14590
    if (defundef == "undef") {
 
14591
      print "/*", prefix defundef, macro, "*/"
 
14592
      next
 
14593
    }
 
14594
  }
 
14595
}
 
14596
{ print }
 
14597
_ACAWK
 
14598
_ACEOF
 
14599
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14600
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
14601
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
14602
   { (exit 1); exit 1; }; }
 
14603
fi # test -n "$CONFIG_HEADERS"
 
14604
 
 
14605
 
 
14606
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
14607
shift
 
14608
for ac_tag
 
14609
do
 
14610
  case $ac_tag in
 
14611
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
14612
  esac
 
14613
  case $ac_mode$ac_tag in
 
14614
  :[FHL]*:*);;
 
14615
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
14616
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
 
14617
   { (exit 1); exit 1; }; };;
 
14618
  :[FH]-) ac_tag=-:-;;
 
14619
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
14620
  esac
 
14621
  ac_save_IFS=$IFS
 
14622
  IFS=:
 
14623
  set x $ac_tag
 
14624
  IFS=$ac_save_IFS
 
14625
  shift
 
14626
  ac_file=$1
 
14627
  shift
 
14628
 
 
14629
  case $ac_mode in
 
14630
  :L) ac_source=$1;;
 
14631
  :[FH])
 
14632
    ac_file_inputs=
 
14633
    for ac_f
 
14634
    do
 
14635
      case $ac_f in
 
14636
      -) ac_f="$tmp/stdin";;
 
14637
      *) # Look for the file first in the build tree, then in the source tree
 
14638
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
14639
         # because $ac_f cannot contain `:'.
 
14640
         test -f "$ac_f" ||
 
14641
           case $ac_f in
 
14642
           [\\/$]*) false;;
 
14643
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
14644
           esac ||
 
14645
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
14646
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
14647
   { (exit 1); exit 1; }; };;
 
14648
      esac
 
14649
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
14650
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
14651
    done
 
14652
 
 
14653
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
14654
    # use $as_me), people would be surprised to read:
 
14655
    #    /* config.h.  Generated by config.status.  */
 
14656
    configure_input='Generated from '`
 
14657
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
14658
        `' by configure.'
 
14659
    if test x"$ac_file" != x-; then
 
14660
      configure_input="$ac_file.  $configure_input"
 
14661
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
14662
$as_echo "$as_me: creating $ac_file" >&6;}
 
14663
    fi
 
14664
    # Neutralize special characters interpreted by sed in replacement strings.
 
14665
    case $configure_input in #(
 
14666
    *\&* | *\|* | *\\* )
 
14667
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
14668
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
14669
    *) ac_sed_conf_input=$configure_input;;
 
14670
    esac
 
14671
 
 
14672
    case $ac_tag in
 
14673
    *:-:* | *:-) cat >"$tmp/stdin" \
 
14674
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
14675
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
14676
   { (exit 1); exit 1; }; } ;;
 
14677
    esac
 
14678
    ;;
 
14679
  esac
 
14680
 
 
14681
  ac_dir=`$as_dirname -- "$ac_file" ||
 
14682
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
14683
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
14684
         X"$ac_file" : 'X\(//\)$' \| \
 
14685
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
14686
$as_echo X"$ac_file" |
 
14687
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
14688
            s//\1/
 
14689
            q
 
14690
          }
 
14691
          /^X\(\/\/\)[^/].*/{
 
14692
            s//\1/
 
14693
            q
 
14694
          }
 
14695
          /^X\(\/\/\)$/{
 
14696
            s//\1/
 
14697
            q
 
14698
          }
 
14699
          /^X\(\/\).*/{
 
14700
            s//\1/
 
14701
            q
 
14702
          }
 
14703
          s/.*/./; q'`
 
14704
  { as_dir="$ac_dir"
 
14705
  case $as_dir in #(
 
14706
  -*) as_dir=./$as_dir;;
 
14707
  esac
 
14708
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
14709
    as_dirs=
 
14710
    while :; do
 
14711
      case $as_dir in #(
 
14712
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
14713
      *) as_qdir=$as_dir;;
 
14714
      esac
 
14715
      as_dirs="'$as_qdir' $as_dirs"
 
14716
      as_dir=`$as_dirname -- "$as_dir" ||
 
14717
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
14718
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
14719
         X"$as_dir" : 'X\(//\)$' \| \
 
14720
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
14721
$as_echo X"$as_dir" |
 
14722
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
14723
            s//\1/
 
14724
            q
 
14725
          }
 
14726
          /^X\(\/\/\)[^/].*/{
 
14727
            s//\1/
 
14728
            q
 
14729
          }
 
14730
          /^X\(\/\/\)$/{
 
14731
            s//\1/
 
14732
            q
 
14733
          }
 
14734
          /^X\(\/\).*/{
 
14735
            s//\1/
 
14736
            q
 
14737
          }
 
14738
          s/.*/./; q'`
 
14739
      test -d "$as_dir" && break
 
14740
    done
 
14741
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
14742
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
14743
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
14744
   { (exit 1); exit 1; }; }; }
 
14745
  ac_builddir=.
 
14746
 
 
14747
case "$ac_dir" in
 
14748
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
14749
*)
 
14750
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
14751
  # A ".." for each directory in $ac_dir_suffix.
 
14752
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
14753
  case $ac_top_builddir_sub in
 
14754
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
14755
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
14756
  esac ;;
 
14757
esac
 
14758
ac_abs_top_builddir=$ac_pwd
 
14759
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
14760
# for backward compatibility:
 
14761
ac_top_builddir=$ac_top_build_prefix
 
14762
 
 
14763
case $srcdir in
 
14764
  .)  # We are building in place.
 
14765
    ac_srcdir=.
 
14766
    ac_top_srcdir=$ac_top_builddir_sub
 
14767
    ac_abs_top_srcdir=$ac_pwd ;;
 
14768
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
14769
    ac_srcdir=$srcdir$ac_dir_suffix;
 
14770
    ac_top_srcdir=$srcdir
 
14771
    ac_abs_top_srcdir=$srcdir ;;
 
14772
  *) # Relative name.
 
14773
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
14774
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
14775
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
14776
esac
 
14777
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
14778
 
 
14779
 
 
14780
  case $ac_mode in
 
14781
  :F)
 
14782
  #
 
14783
  # CONFIG_FILE
 
14784
  #
 
14785
 
 
14786
  case $INSTALL in
 
14787
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
14788
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
14789
  esac
 
14790
  ac_MKDIR_P=$MKDIR_P
 
14791
  case $MKDIR_P in
 
14792
  [\\/$]* | ?:[\\/]* ) ;;
 
14793
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
14794
  esac
 
14795
_ACEOF
 
14796
 
 
14797
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14798
# If the template does not know about datarootdir, expand it.
 
14799
# FIXME: This hack should be removed a few years after 2.60.
 
14800
ac_datarootdir_hack=; ac_datarootdir_seen=
 
14801
 
 
14802
ac_sed_dataroot='
 
14803
/datarootdir/ {
 
14804
  p
 
14805
  q
 
14806
}
 
14807
/@datadir@/p
 
14808
/@docdir@/p
 
14809
/@infodir@/p
 
14810
/@localedir@/p
 
14811
/@mandir@/p
 
14812
'
 
14813
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
14814
*datarootdir*) ac_datarootdir_seen=yes;;
 
14815
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
14816
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
14817
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
14818
_ACEOF
 
14819
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14820
  ac_datarootdir_hack='
 
14821
  s&@datadir@&$datadir&g
 
14822
  s&@docdir@&$docdir&g
 
14823
  s&@infodir@&$infodir&g
 
14824
  s&@localedir@&$localedir&g
 
14825
  s&@mandir@&$mandir&g
 
14826
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
14827
esac
 
14828
_ACEOF
 
14829
 
 
14830
# Neutralize VPATH when `$srcdir' = `.'.
 
14831
# Shell code in configure.ac might set extrasub.
 
14832
# FIXME: do we really want to maintain this feature?
 
14833
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14834
ac_sed_extra="$ac_vpsub
 
14835
$extrasub
 
14836
_ACEOF
 
14837
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14838
:t
 
14839
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
14840
s|@configure_input@|$ac_sed_conf_input|;t t
 
14841
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
14842
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
14843
s&@srcdir@&$ac_srcdir&;t t
 
14844
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
14845
s&@top_srcdir@&$ac_top_srcdir&;t t
 
14846
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
14847
s&@builddir@&$ac_builddir&;t t
 
14848
s&@abs_builddir@&$ac_abs_builddir&;t t
 
14849
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
14850
s&@INSTALL@&$ac_INSTALL&;t t
 
14851
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
14852
$ac_datarootdir_hack
 
14853
"
 
14854
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
14855
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
14856
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
14857
   { (exit 1); exit 1; }; }
 
14858
 
 
14859
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
14860
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
14861
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
14862
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
14863
which seems to be undefined.  Please make sure it is defined." >&5
 
14864
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
14865
which seems to be undefined.  Please make sure it is defined." >&2;}
 
14866
 
 
14867
  rm -f "$tmp/stdin"
 
14868
  case $ac_file in
 
14869
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
14870
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
14871
  esac \
 
14872
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
14873
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
14874
   { (exit 1); exit 1; }; }
 
14875
 ;;
 
14876
  :H)
 
14877
  #
 
14878
  # CONFIG_HEADER
 
14879
  #
 
14880
  if test x"$ac_file" != x-; then
 
14881
    {
 
14882
      $as_echo "/* $configure_input  */" \
 
14883
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
14884
    } >"$tmp/config.h" \
 
14885
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
14886
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
14887
   { (exit 1); exit 1; }; }
 
14888
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
14889
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
14890
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
14891
    else
 
14892
      rm -f "$ac_file"
 
14893
      mv "$tmp/config.h" "$ac_file" \
 
14894
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
14895
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
14896
   { (exit 1); exit 1; }; }
 
14897
    fi
 
14898
  else
 
14899
    $as_echo "/* $configure_input  */" \
 
14900
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
14901
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
14902
$as_echo "$as_me: error: could not create -" >&2;}
 
14903
   { (exit 1); exit 1; }; }
 
14904
  fi
 
14905
# Compute "$ac_file"'s index in $config_headers.
 
14906
_am_arg="$ac_file"
 
14907
_am_stamp_count=1
 
14908
for _am_header in $config_headers :; do
 
14909
  case $_am_header in
 
14910
    $_am_arg | $_am_arg:* )
 
14911
      break ;;
 
14912
    * )
 
14913
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
14914
  esac
 
14915
done
 
14916
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
14917
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
14918
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
14919
         X"$_am_arg" : 'X\(//\)$' \| \
 
14920
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
14921
$as_echo X"$_am_arg" |
 
14922
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
14923
            s//\1/
 
14924
            q
 
14925
          }
 
14926
          /^X\(\/\/\)[^/].*/{
 
14927
            s//\1/
 
14928
            q
 
14929
          }
 
14930
          /^X\(\/\/\)$/{
 
14931
            s//\1/
 
14932
            q
 
14933
          }
 
14934
          /^X\(\/\).*/{
 
14935
            s//\1/
 
14936
            q
 
14937
          }
 
14938
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
14939
 ;;
 
14940
 
 
14941
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
14942
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
14943
 ;;
 
14944
  esac
 
14945
 
 
14946
 
 
14947
  case $ac_file$ac_mode in
 
14948
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
14949
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
14950
  # are listed without --file.  Let's play safe and only enable the eval
 
14951
  # if we detect the quoting.
 
14952
  case $CONFIG_FILES in
 
14953
  *\'*) eval set x "$CONFIG_FILES" ;;
 
14954
  *)   set x $CONFIG_FILES ;;
 
14955
  esac
 
14956
  shift
 
14957
  for mf
 
14958
  do
 
14959
    # Strip MF so we end up with the name of the file.
 
14960
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
14961
    # Check whether this is an Automake generated Makefile or not.
 
14962
    # We used to match only the files named `Makefile.in', but
 
14963
    # some people rename them; so instead we look at the file content.
 
14964
    # Grep'ing the first line is not enough: some people post-process
 
14965
    # each Makefile.in and add a new line on top of each file to say so.
 
14966
    # Grep'ing the whole file is not good either: AIX grep has a line
 
14967
    # limit of 2048, but all sed's we know have understand at least 4000.
 
14968
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
14969
      dirpart=`$as_dirname -- "$mf" ||
 
14970
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
14971
         X"$mf" : 'X\(//\)[^/]' \| \
 
14972
         X"$mf" : 'X\(//\)$' \| \
 
14973
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
14974
$as_echo X"$mf" |
 
14975
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
14976
            s//\1/
 
14977
            q
 
14978
          }
 
14979
          /^X\(\/\/\)[^/].*/{
 
14980
            s//\1/
 
14981
            q
 
14982
          }
 
14983
          /^X\(\/\/\)$/{
 
14984
            s//\1/
 
14985
            q
 
14986
          }
 
14987
          /^X\(\/\).*/{
 
14988
            s//\1/
 
14989
            q
 
14990
          }
 
14991
          s/.*/./; q'`
 
14992
    else
 
14993
      continue
 
14994
    fi
 
14995
    # Extract the definition of DEPDIR, am__include, and am__quote
 
14996
    # from the Makefile without running `make'.
 
14997
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
14998
    test -z "$DEPDIR" && continue
 
14999
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
15000
    test -z "am__include" && continue
 
15001
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
15002
    # When using ansi2knr, U may be empty or an underscore; expand it
 
15003
    U=`sed -n 's/^U = //p' < "$mf"`
 
15004
    # Find all dependency output files, they are included files with
 
15005
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
15006
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
15007
    # expansion.
 
15008
    for file in `sed -n "
 
15009
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
15010
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
15011
      # Make sure the directory exists.
 
15012
      test -f "$dirpart/$file" && continue
 
15013
      fdir=`$as_dirname -- "$file" ||
 
15014
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
15015
         X"$file" : 'X\(//\)[^/]' \| \
 
15016
         X"$file" : 'X\(//\)$' \| \
 
15017
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
15018
$as_echo X"$file" |
 
15019
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
15020
            s//\1/
 
15021
            q
 
15022
          }
 
15023
          /^X\(\/\/\)[^/].*/{
 
15024
            s//\1/
 
15025
            q
 
15026
          }
 
15027
          /^X\(\/\/\)$/{
 
15028
            s//\1/
 
15029
            q
 
15030
          }
 
15031
          /^X\(\/\).*/{
 
15032
            s//\1/
 
15033
            q
 
15034
          }
 
15035
          s/.*/./; q'`
 
15036
      { as_dir=$dirpart/$fdir
 
15037
  case $as_dir in #(
 
15038
  -*) as_dir=./$as_dir;;
 
15039
  esac
 
15040
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
15041
    as_dirs=
 
15042
    while :; do
 
15043
      case $as_dir in #(
 
15044
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
15045
      *) as_qdir=$as_dir;;
 
15046
      esac
 
15047
      as_dirs="'$as_qdir' $as_dirs"
 
15048
      as_dir=`$as_dirname -- "$as_dir" ||
 
15049
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
15050
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
15051
         X"$as_dir" : 'X\(//\)$' \| \
 
15052
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
15053
$as_echo X"$as_dir" |
 
15054
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
15055
            s//\1/
 
15056
            q
 
15057
          }
 
15058
          /^X\(\/\/\)[^/].*/{
 
15059
            s//\1/
 
15060
            q
 
15061
          }
 
15062
          /^X\(\/\/\)$/{
 
15063
            s//\1/
 
15064
            q
 
15065
          }
 
15066
          /^X\(\/\).*/{
 
15067
            s//\1/
 
15068
            q
 
15069
          }
 
15070
          s/.*/./; q'`
 
15071
      test -d "$as_dir" && break
 
15072
    done
 
15073
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
15074
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
15075
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
15076
   { (exit 1); exit 1; }; }; }
 
15077
      # echo "creating $dirpart/$file"
 
15078
      echo '# dummy' > "$dirpart/$file"
 
15079
    done
 
15080
  done
 
15081
}
 
15082
 ;;
 
15083
    "libtool":C)
 
15084
 
 
15085
    # See if we are running on zsh, and set the options which allow our
 
15086
    # commands through without removal of \ escapes.
 
15087
    if test -n "${ZSH_VERSION+set}" ; then
 
15088
      setopt NO_GLOB_SUBST
 
15089
    fi
 
15090
 
 
15091
    cfgfile="${ofile}T"
 
15092
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
15093
    $RM "$cfgfile"
 
15094
 
 
15095
    cat <<_LT_EOF >> "$cfgfile"
 
15096
#! $SHELL
 
15097
 
 
15098
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
15099
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
15100
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
15101
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
15102
#
 
15103
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
15104
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
15105
#   Written by Gordon Matzigkeit, 1996
 
15106
#
 
15107
#   This file is part of GNU Libtool.
 
15108
#
 
15109
# GNU Libtool is free software; you can redistribute it and/or
 
15110
# modify it under the terms of the GNU General Public License as
 
15111
# published by the Free Software Foundation; either version 2 of
 
15112
# the License, or (at your option) any later version.
 
15113
#
 
15114
# As a special exception to the GNU General Public License,
 
15115
# if you distribute this file as part of a program or library that
 
15116
# is built using GNU Libtool, you may include this file under the
 
15117
# same distribution terms that you use for the rest of that program.
 
15118
#
 
15119
# GNU Libtool is distributed in the hope that it will be useful,
 
15120
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15121
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15122
# GNU General Public License for more details.
 
15123
#
 
15124
# You should have received a copy of the GNU General Public License
 
15125
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
15126
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
15127
# obtained by writing to the Free Software Foundation, Inc.,
 
15128
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
15129
 
 
15130
 
 
15131
# The names of the tagged configurations supported by this script.
 
15132
available_tags=""
 
15133
 
 
15134
# ### BEGIN LIBTOOL CONFIG
 
15135
 
 
15136
# Which release of libtool.m4 was used?
 
15137
macro_version=$macro_version
 
15138
macro_revision=$macro_revision
 
15139
 
 
15140
# Whether or not to build shared libraries.
 
15141
build_libtool_libs=$enable_shared
 
15142
 
 
15143
# Whether or not to build static libraries.
 
15144
build_old_libs=$enable_static
 
15145
 
 
15146
# What type of objects to build.
 
15147
pic_mode=$pic_mode
 
15148
 
 
15149
# Whether or not to optimize for fast installation.
 
15150
fast_install=$enable_fast_install
 
15151
 
 
15152
# The host system.
 
15153
host_alias=$host_alias
 
15154
host=$host
 
15155
host_os=$host_os
 
15156
 
 
15157
# The build system.
 
15158
build_alias=$build_alias
 
15159
build=$build
 
15160
build_os=$build_os
 
15161
 
 
15162
# A sed program that does not truncate output.
 
15163
SED=$lt_SED
 
15164
 
 
15165
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
15166
Xsed="\$SED -e 1s/^X//"
 
15167
 
 
15168
# A grep program that handles long lines.
 
15169
GREP=$lt_GREP
 
15170
 
 
15171
# An ERE matcher.
 
15172
EGREP=$lt_EGREP
 
15173
 
 
15174
# A literal string matcher.
 
15175
FGREP=$lt_FGREP
 
15176
 
 
15177
# A BSD- or MS-compatible name lister.
 
15178
NM=$lt_NM
 
15179
 
 
15180
# Whether we need soft or hard links.
 
15181
LN_S=$lt_LN_S
 
15182
 
 
15183
# What is the maximum length of a command?
 
15184
max_cmd_len=$max_cmd_len
 
15185
 
 
15186
# Object file suffix (normally "o").
 
15187
objext=$ac_objext
 
15188
 
 
15189
# Executable file suffix (normally "").
 
15190
exeext=$exeext
 
15191
 
 
15192
# whether the shell understands "unset".
 
15193
lt_unset=$lt_unset
 
15194
 
 
15195
# turn spaces into newlines.
 
15196
SP2NL=$lt_lt_SP2NL
 
15197
 
 
15198
# turn newlines into spaces.
 
15199
NL2SP=$lt_lt_NL2SP
 
15200
 
 
15201
# How to create reloadable object files.
 
15202
reload_flag=$lt_reload_flag
 
15203
reload_cmds=$lt_reload_cmds
 
15204
 
 
15205
# An object symbol dumper.
 
15206
OBJDUMP=$lt_OBJDUMP
 
15207
 
 
15208
# Method to check whether dependent libraries are shared objects.
 
15209
deplibs_check_method=$lt_deplibs_check_method
 
15210
 
 
15211
# Command to use when deplibs_check_method == "file_magic".
 
15212
file_magic_cmd=$lt_file_magic_cmd
 
15213
 
 
15214
# The archiver.
 
15215
AR=$lt_AR
 
15216
AR_FLAGS=$lt_AR_FLAGS
 
15217
 
 
15218
# A symbol stripping program.
 
15219
STRIP=$lt_STRIP
 
15220
 
 
15221
# Commands used to install an old-style archive.
 
15222
RANLIB=$lt_RANLIB
 
15223
old_postinstall_cmds=$lt_old_postinstall_cmds
 
15224
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
15225
 
 
15226
# A C compiler.
 
15227
LTCC=$lt_CC
 
15228
 
 
15229
# LTCC compiler flags.
 
15230
LTCFLAGS=$lt_CFLAGS
 
15231
 
 
15232
# Take the output of nm and produce a listing of raw symbols and C names.
 
15233
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
15234
 
 
15235
# Transform the output of nm in a proper C declaration.
 
15236
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
15237
 
 
15238
# Transform the output of nm in a C name address pair.
 
15239
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
15240
 
 
15241
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
15242
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
15243
 
 
15244
# The name of the directory that contains temporary libtool files.
 
15245
objdir=$objdir
 
15246
 
 
15247
# Shell to use when invoking shell scripts.
 
15248
SHELL=$lt_SHELL
 
15249
 
 
15250
# An echo program that does not interpret backslashes.
 
15251
ECHO=$lt_ECHO
 
15252
 
 
15253
# Used to examine libraries when file_magic_cmd begins with "file".
 
15254
MAGIC_CMD=$MAGIC_CMD
 
15255
 
 
15256
# Must we lock files when doing compilation?
 
15257
need_locks=$lt_need_locks
 
15258
 
 
15259
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
15260
DSYMUTIL=$lt_DSYMUTIL
 
15261
 
 
15262
# Tool to change global to local symbols on Mac OS X.
 
15263
NMEDIT=$lt_NMEDIT
 
15264
 
 
15265
# Tool to manipulate fat objects and archives on Mac OS X.
 
15266
LIPO=$lt_LIPO
 
15267
 
 
15268
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
15269
OTOOL=$lt_OTOOL
 
15270
 
 
15271
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
15272
OTOOL64=$lt_OTOOL64
 
15273
 
 
15274
# Old archive suffix (normally "a").
 
15275
libext=$libext
 
15276
 
 
15277
# Shared library suffix (normally ".so").
 
15278
shrext_cmds=$lt_shrext_cmds
 
15279
 
 
15280
# The commands to extract the exported symbol list from a shared archive.
 
15281
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
15282
 
 
15283
# Variables whose values should be saved in libtool wrapper scripts and
 
15284
# restored at link time.
 
15285
variables_saved_for_relink=$lt_variables_saved_for_relink
 
15286
 
 
15287
# Do we need the "lib" prefix for modules?
 
15288
need_lib_prefix=$need_lib_prefix
 
15289
 
 
15290
# Do we need a version for libraries?
 
15291
need_version=$need_version
 
15292
 
 
15293
# Library versioning type.
 
15294
version_type=$version_type
 
15295
 
 
15296
# Shared library runtime path variable.
 
15297
runpath_var=$runpath_var
 
15298
 
 
15299
# Shared library path variable.
 
15300
shlibpath_var=$shlibpath_var
 
15301
 
 
15302
# Is shlibpath searched before the hard-coded library search path?
 
15303
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
15304
 
 
15305
# Format of library name prefix.
 
15306
libname_spec=$lt_libname_spec
 
15307
 
 
15308
# List of archive names.  First name is the real one, the rest are links.
 
15309
# The last name is the one that the linker finds with -lNAME
 
15310
library_names_spec=$lt_library_names_spec
 
15311
 
 
15312
# The coded name of the library, if different from the real name.
 
15313
soname_spec=$lt_soname_spec
 
15314
 
 
15315
# Command to use after installation of a shared archive.
 
15316
postinstall_cmds=$lt_postinstall_cmds
 
15317
 
 
15318
# Command to use after uninstallation of a shared archive.
 
15319
postuninstall_cmds=$lt_postuninstall_cmds
 
15320
 
 
15321
# Commands used to finish a libtool library installation in a directory.
 
15322
finish_cmds=$lt_finish_cmds
 
15323
 
 
15324
# As "finish_cmds", except a single script fragment to be evaled but
 
15325
# not shown.
 
15326
finish_eval=$lt_finish_eval
 
15327
 
 
15328
# Whether we should hardcode library paths into libraries.
 
15329
hardcode_into_libs=$hardcode_into_libs
 
15330
 
 
15331
# Compile-time system search path for libraries.
 
15332
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
15333
 
 
15334
# Run-time system search path for libraries.
 
15335
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
15336
 
 
15337
# Whether dlopen is supported.
 
15338
dlopen_support=$enable_dlopen
 
15339
 
 
15340
# Whether dlopen of programs is supported.
 
15341
dlopen_self=$enable_dlopen_self
 
15342
 
 
15343
# Whether dlopen of statically linked programs is supported.
 
15344
dlopen_self_static=$enable_dlopen_self_static
 
15345
 
 
15346
# Commands to strip libraries.
 
15347
old_striplib=$lt_old_striplib
 
15348
striplib=$lt_striplib
 
15349
 
 
15350
 
 
15351
# The linker used to build libraries.
 
15352
LD=$lt_LD
 
15353
 
 
15354
# Commands used to build an old-style archive.
 
15355
old_archive_cmds=$lt_old_archive_cmds
 
15356
 
 
15357
# A language specific compiler.
 
15358
CC=$lt_compiler
 
15359
 
 
15360
# Is the compiler the GNU compiler?
 
15361
with_gcc=$GCC
 
15362
 
 
15363
# Compiler flag to turn off builtin functions.
 
15364
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
15365
 
 
15366
# How to pass a linker flag through the compiler.
 
15367
wl=$lt_lt_prog_compiler_wl
 
15368
 
 
15369
# Additional compiler flags for building library objects.
 
15370
pic_flag=$lt_lt_prog_compiler_pic
 
15371
 
 
15372
# Compiler flag to prevent dynamic linking.
 
15373
link_static_flag=$lt_lt_prog_compiler_static
 
15374
 
 
15375
# Does compiler simultaneously support -c and -o options?
 
15376
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
15377
 
 
15378
# Whether or not to add -lc for building shared libraries.
 
15379
build_libtool_need_lc=$archive_cmds_need_lc
 
15380
 
 
15381
# Whether or not to disallow shared libs when runtime libs are static.
 
15382
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
15383
 
 
15384
# Compiler flag to allow reflexive dlopens.
 
15385
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
15386
 
 
15387
# Compiler flag to generate shared objects directly from archives.
 
15388
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
15389
 
 
15390
# Whether the compiler copes with passing no objects directly.
 
15391
compiler_needs_object=$lt_compiler_needs_object
 
15392
 
 
15393
# Create an old-style archive from a shared archive.
 
15394
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
15395
 
 
15396
# Create a temporary old-style archive to link instead of a shared archive.
 
15397
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
15398
 
 
15399
# Commands used to build a shared archive.
 
15400
archive_cmds=$lt_archive_cmds
 
15401
archive_expsym_cmds=$lt_archive_expsym_cmds
 
15402
 
 
15403
# Commands used to build a loadable module if different from building
 
15404
# a shared archive.
 
15405
module_cmds=$lt_module_cmds
 
15406
module_expsym_cmds=$lt_module_expsym_cmds
 
15407
 
 
15408
# Whether we are building with GNU ld or not.
 
15409
with_gnu_ld=$lt_with_gnu_ld
 
15410
 
 
15411
# Flag that allows shared libraries with undefined symbols to be built.
 
15412
allow_undefined_flag=$lt_allow_undefined_flag
 
15413
 
 
15414
# Flag that enforces no undefined symbols.
 
15415
no_undefined_flag=$lt_no_undefined_flag
 
15416
 
 
15417
# Flag to hardcode \$libdir into a binary during linking.
 
15418
# This must work even if \$libdir does not exist
 
15419
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
15420
 
 
15421
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
15422
# during linking.  This must work even if \$libdir does not exist.
 
15423
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
15424
 
 
15425
# Whether we need a single "-rpath" flag with a separated argument.
 
15426
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
15427
 
 
15428
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
15429
# DIR into the resulting binary.
 
15430
hardcode_direct=$hardcode_direct
 
15431
 
 
15432
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
15433
# DIR into the resulting binary and the resulting library dependency is
 
15434
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
15435
# library is relocated.
 
15436
hardcode_direct_absolute=$hardcode_direct_absolute
 
15437
 
 
15438
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
15439
# into the resulting binary.
 
15440
hardcode_minus_L=$hardcode_minus_L
 
15441
 
 
15442
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
15443
# into the resulting binary.
 
15444
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
15445
 
 
15446
# Set to "yes" if building a shared library automatically hardcodes DIR
 
15447
# into the library and all subsequent libraries and executables linked
 
15448
# against it.
 
15449
hardcode_automatic=$hardcode_automatic
 
15450
 
 
15451
# Set to yes if linker adds runtime paths of dependent libraries
 
15452
# to runtime path list.
 
15453
inherit_rpath=$inherit_rpath
 
15454
 
 
15455
# Whether libtool must link a program against all its dependency libraries.
 
15456
link_all_deplibs=$link_all_deplibs
 
15457
 
 
15458
# Fix the shell variable \$srcfile for the compiler.
 
15459
fix_srcfile_path=$lt_fix_srcfile_path
 
15460
 
 
15461
# Set to "yes" if exported symbols are required.
 
15462
always_export_symbols=$always_export_symbols
 
15463
 
 
15464
# The commands to list exported symbols.
 
15465
export_symbols_cmds=$lt_export_symbols_cmds
 
15466
 
 
15467
# Symbols that should not be listed in the preloaded symbols.
 
15468
exclude_expsyms=$lt_exclude_expsyms
 
15469
 
 
15470
# Symbols that must always be exported.
 
15471
include_expsyms=$lt_include_expsyms
 
15472
 
 
15473
# Commands necessary for linking programs (against libraries) with templates.
 
15474
prelink_cmds=$lt_prelink_cmds
 
15475
 
 
15476
# Specify filename containing input files.
 
15477
file_list_spec=$lt_file_list_spec
 
15478
 
 
15479
# How to hardcode a shared library path into an executable.
 
15480
hardcode_action=$hardcode_action
 
15481
 
 
15482
# ### END LIBTOOL CONFIG
 
15483
 
 
15484
_LT_EOF
 
15485
 
 
15486
  case $host_os in
 
15487
  aix3*)
 
15488
    cat <<\_LT_EOF >> "$cfgfile"
 
15489
# AIX sometimes has problems with the GCC collect2 program.  For some
 
15490
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
15491
# vanish in a puff of smoke.
 
15492
if test "X${COLLECT_NAMES+set}" != Xset; then
 
15493
  COLLECT_NAMES=
 
15494
  export COLLECT_NAMES
 
15495
fi
 
15496
_LT_EOF
 
15497
    ;;
 
15498
  esac
 
15499
 
 
15500
 
 
15501
ltmain="$ac_aux_dir/ltmain.sh"
 
15502
 
 
15503
 
 
15504
  # We use sed instead of cat because bash on DJGPP gets confused if
 
15505
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
15506
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
15507
  # is reportedly fixed, but why not run on old versions too?
 
15508
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
15509
    || (rm -f "$cfgfile"; exit 1)
 
15510
 
 
15511
  case $xsi_shell in
 
15512
  yes)
 
15513
    cat << \_LT_EOF >> "$cfgfile"
 
15514
 
 
15515
# func_dirname file append nondir_replacement
 
15516
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
15517
# otherwise set result to NONDIR_REPLACEMENT.
 
15518
func_dirname ()
 
15519
{
 
15520
  case ${1} in
 
15521
    */*) func_dirname_result="${1%/*}${2}" ;;
 
15522
    *  ) func_dirname_result="${3}" ;;
 
15523
  esac
 
15524
}
 
15525
 
 
15526
# func_basename file
 
15527
func_basename ()
 
15528
{
 
15529
  func_basename_result="${1##*/}"
 
15530
}
 
15531
 
 
15532
# func_dirname_and_basename file append nondir_replacement
 
15533
# perform func_basename and func_dirname in a single function
 
15534
# call:
 
15535
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
15536
#             add APPEND to the result, otherwise set result
 
15537
#             to NONDIR_REPLACEMENT.
 
15538
#             value returned in "$func_dirname_result"
 
15539
#   basename: Compute filename of FILE.
 
15540
#             value retuned in "$func_basename_result"
 
15541
# Implementation must be kept synchronized with func_dirname
 
15542
# and func_basename. For efficiency, we do not delegate to
 
15543
# those functions but instead duplicate the functionality here.
 
15544
func_dirname_and_basename ()
 
15545
{
 
15546
  case ${1} in
 
15547
    */*) func_dirname_result="${1%/*}${2}" ;;
 
15548
    *  ) func_dirname_result="${3}" ;;
 
15549
  esac
 
15550
  func_basename_result="${1##*/}"
 
15551
}
 
15552
 
 
15553
# func_stripname prefix suffix name
 
15554
# strip PREFIX and SUFFIX off of NAME.
 
15555
# PREFIX and SUFFIX must not contain globbing or regex special
 
15556
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
15557
# dot (in which case that matches only a dot).
 
15558
func_stripname ()
 
15559
{
 
15560
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
15561
  # positional parameters, so assign one to ordinary parameter first.
 
15562
  func_stripname_result=${3}
 
15563
  func_stripname_result=${func_stripname_result#"${1}"}
 
15564
  func_stripname_result=${func_stripname_result%"${2}"}
 
15565
}
 
15566
 
 
15567
# func_opt_split
 
15568
func_opt_split ()
 
15569
{
 
15570
  func_opt_split_opt=${1%%=*}
 
15571
  func_opt_split_arg=${1#*=}
 
15572
}
 
15573
 
 
15574
# func_lo2o object
 
15575
func_lo2o ()
 
15576
{
 
15577
  case ${1} in
 
15578
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
15579
    *)    func_lo2o_result=${1} ;;
 
15580
  esac
 
15581
}
 
15582
 
 
15583
# func_xform libobj-or-source
 
15584
func_xform ()
 
15585
{
 
15586
  func_xform_result=${1%.*}.lo
 
15587
}
 
15588
 
 
15589
# func_arith arithmetic-term...
 
15590
func_arith ()
 
15591
{
 
15592
  func_arith_result=$(( $* ))
 
15593
}
 
15594
 
 
15595
# func_len string
 
15596
# STRING may not start with a hyphen.
 
15597
func_len ()
 
15598
{
 
15599
  func_len_result=${#1}
 
15600
}
 
15601
 
 
15602
_LT_EOF
 
15603
    ;;
 
15604
  *) # Bourne compatible functions.
 
15605
    cat << \_LT_EOF >> "$cfgfile"
 
15606
 
 
15607
# func_dirname file append nondir_replacement
 
15608
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
15609
# otherwise set result to NONDIR_REPLACEMENT.
 
15610
func_dirname ()
 
15611
{
 
15612
  # Extract subdirectory from the argument.
 
15613
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
15614
  if test "X$func_dirname_result" = "X${1}"; then
 
15615
    func_dirname_result="${3}"
 
15616
  else
 
15617
    func_dirname_result="$func_dirname_result${2}"
 
15618
  fi
 
15619
}
 
15620
 
 
15621
# func_basename file
 
15622
func_basename ()
 
15623
{
 
15624
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
15625
}
 
15626
 
 
15627
 
 
15628
# func_stripname prefix suffix name
 
15629
# strip PREFIX and SUFFIX off of NAME.
 
15630
# PREFIX and SUFFIX must not contain globbing or regex special
 
15631
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
15632
# dot (in which case that matches only a dot).
 
15633
# func_strip_suffix prefix name
 
15634
func_stripname ()
 
15635
{
 
15636
  case ${2} in
 
15637
    .*) func_stripname_result=`$ECHO "X${3}" \
 
15638
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
15639
    *)  func_stripname_result=`$ECHO "X${3}" \
 
15640
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
15641
  esac
 
15642
}
 
15643
 
 
15644
# sed scripts:
 
15645
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
15646
my_sed_long_arg='1s/^-[^=]*=//'
 
15647
 
 
15648
# func_opt_split
 
15649
func_opt_split ()
 
15650
{
 
15651
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
15652
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
15653
}
 
15654
 
 
15655
# func_lo2o object
 
15656
func_lo2o ()
 
15657
{
 
15658
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
15659
}
 
15660
 
 
15661
# func_xform libobj-or-source
 
15662
func_xform ()
 
15663
{
 
15664
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
15665
}
 
15666
 
 
15667
# func_arith arithmetic-term...
 
15668
func_arith ()
 
15669
{
 
15670
  func_arith_result=`expr "$@"`
 
15671
}
 
15672
 
 
15673
# func_len string
 
15674
# STRING may not start with a hyphen.
 
15675
func_len ()
 
15676
{
 
15677
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
15678
}
 
15679
 
 
15680
_LT_EOF
 
15681
esac
 
15682
 
 
15683
case $lt_shell_append in
 
15684
  yes)
 
15685
    cat << \_LT_EOF >> "$cfgfile"
 
15686
 
 
15687
# func_append var value
 
15688
# Append VALUE to the end of shell variable VAR.
 
15689
func_append ()
 
15690
{
 
15691
  eval "$1+=\$2"
 
15692
}
 
15693
_LT_EOF
 
15694
    ;;
 
15695
  *)
 
15696
    cat << \_LT_EOF >> "$cfgfile"
 
15697
 
 
15698
# func_append var value
 
15699
# Append VALUE to the end of shell variable VAR.
 
15700
func_append ()
 
15701
{
 
15702
  eval "$1=\$$1\$2"
 
15703
}
 
15704
 
 
15705
_LT_EOF
 
15706
    ;;
 
15707
  esac
 
15708
 
 
15709
 
 
15710
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
15711
    || (rm -f "$cfgfile"; exit 1)
 
15712
 
 
15713
  mv -f "$cfgfile" "$ofile" ||
 
15714
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
15715
  chmod +x "$ofile"
 
15716
 
 
15717
 ;;
 
15718
    "po/stamp-it":C)
 
15719
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
 
15720
       { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
 
15721
$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
 
15722
   { (exit 1); exit 1; }; }
 
15723
    fi
 
15724
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
 
15725
    >"po/stamp-it.tmp"
 
15726
    sed '/^#/d
 
15727
         s/^[[].*] *//
 
15728
         /^[    ]*$/d
 
15729
        '"s|^|  $ac_top_srcdir/|" \
 
15730
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
 
15731
 
 
15732
    sed '/^POTFILES =/,/[^\\]$/ {
 
15733
                /^POTFILES =/!d
 
15734
                r po/POTFILES
 
15735
          }
 
15736
         ' "po/Makefile.in" >"po/Makefile"
 
15737
    rm -f "po/Makefile.tmp"
 
15738
    mv "po/stamp-it.tmp" "po/stamp-it"
 
15739
   ;;
 
15740
 
 
15741
  esac
 
15742
done # for ac_tag
 
15743
 
 
15744
 
 
15745
{ (exit 0); exit 0; }
 
15746
_ACEOF
 
15747
chmod +x $CONFIG_STATUS
 
15748
ac_clean_files=$ac_clean_files_save
 
15749
 
 
15750
test $ac_write_fail = 0 ||
 
15751
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
15752
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
15753
   { (exit 1); exit 1; }; }
 
15754
 
 
15755
 
 
15756
# configure is writing to config.log, and then calls config.status.
 
15757
# config.status does its own redirection, appending to config.log.
 
15758
# Unfortunately, on DOS this fails, as config.log is still kept open
 
15759
# by configure, so config.status won't be able to write to it; its
 
15760
# output is simply discarded.  So we exec the FD to /dev/null,
 
15761
# effectively closing config.log, so it can be properly (re)opened and
 
15762
# appended to by config.status.  When coming back to configure, we
 
15763
# need to make the FD available again.
 
15764
if test "$no_create" != yes; then
 
15765
  ac_cs_success=:
 
15766
  ac_config_status_args=
 
15767
  test "$silent" = yes &&
 
15768
    ac_config_status_args="$ac_config_status_args --quiet"
 
15769
  exec 5>/dev/null
 
15770
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
15771
  exec 5>>config.log
 
15772
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
15773
  # would make configure fail if this is the last instruction.
 
15774
  $ac_cs_success || { (exit 1); exit 1; }
 
15775
fi
 
15776
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
15777
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
15778
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
15779
fi
 
15780